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

 Copyright Google LLC All Rights Reserved.

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


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

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

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

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
*/
/*
 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
/*

 The MIT License

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

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

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

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

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

 Copyright Google LLC All Rights Reserved.

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

 SPDX-License-Identifier: Apache-2.0
*/
var f,aa=function(a,b){if(Error.captureStackTrace)Error.captureStackTrace(this,aa);else{var c=Error().stack;c&&(this.stack=c)}a&&(this.message=String(a));void 0!==b&&(this.cause=b);this.reportErrorToServer=!0},aaa=function(a,b){a=a.split("%s");for(var c="",d=a.length-1,e=0;e<d;e++)c+=a[e]+(e<b.length?b[e]:"%s");aa.call(this,c+a[d])},ba=function(a,b){if(a)throw Error("E");b.push(65533)},baa=function(a,b){b=String.fromCharCode.apply(null,b);return null==a?b:a+b},caa=function(a){ca.setTimeout(function(){throw a;
},0)},da=function(){var a=ca.navigator;return a&&(a=a.userAgent)?a:""},daa=function(a){return ea?fa?fa.brands.some(function(b){return(b=b.brand)&&ha(b,a)}):!1:!1},ia=function(a){return ha(da(),a)},ja=function(){return ea?!!fa&&0<fa.brands.length:!1},eaa=function(){return ja()?!1:ia("Opera")},faa=function(){return ja()?!1:ia("Trident")||ia("MSIE")},gaa=function(){return ja()?!1:ia("Edge")},haa=function(){return ja()?daa("Microsoft Edge"):ia("Edg/")},iaa=function(){return ia("Firefox")||ia("FxiOS")},
kaa=function(){return ia("Safari")&&!(jaa()||(ja()?0:ia("Coast"))||eaa()||gaa()||haa()||(ja()?daa("Opera"):ia("OPR"))||iaa()||ia("Silk")||ia("Android"))},jaa=function(){return ja()?daa("Chromium"):(ia("Chrome")||ia("CriOS"))&&!gaa()||ia("Silk")},laa=function(){return ia("Android")&&!(jaa()||iaa()||eaa()||ia("Silk"))},maa=function(a){var b={};a.forEach(function(c){b[c[0]]=c[1]});return function(c){return b[c.find(function(d){return d in b})]||""}},naa=function(a){var b=da();if("Internet Explorer"===
a){if(faa())if((a=/rv: *([\d\.]*)/.exec(b))&&a[1])b=a[1];else{a="";var c=/MSIE +([\d\.]+)/.exec(b);if(c&&c[1])if(b=/Trident\/(\d.\d)/.exec(b),"7.0"==c[1])if(b&&b[1])switch(b[1]){case "4.0":a="8.0";break;case "5.0":a="9.0";break;case "6.0":a="10.0";break;case "7.0":a="11.0"}else a="7.0";else a=c[1];b=a}else b="";return b}var d=RegExp("([A-Z][\\w ]+)/([^\\s]+)\\s*(?:\\((.*?)\\))?","g");c=[];for(var e;e=d.exec(b);)c.push([e[1],e[2],e[3]||void 0]);b=maa(c);switch(a){case "Opera":if(eaa())return b(["Version",
"Opera"]);if(ja()?daa("Opera"):ia("OPR"))return b(["OPR"]);break;case "Microsoft Edge":if(gaa())return b(["Edge"]);if(haa())return b(["Edg"]);break;case "Chromium":if(jaa())return b(["Chrome","CriOS","HeadlessChrome"])}return"Firefox"===a&&iaa()||"Safari"===a&&kaa()||"Android Browser"===a&&laa()||"Silk"===a&&ia("Silk")?(b=c[2])&&b[1]||"":""},oaa=function(a){if(ja()&&"Silk"!==a){var b=fa.brands.find(function(c){return c.brand===a});if(!b||!b.version)return NaN;b=b.version.split(".")}else{b=naa(a);
if(""===b)return NaN;b=b.split(".")}return 0===b.length?NaN:Number(b[0])},paa=function(){return ea?!!fa&&!!fa.platform:!1},qaa=function(){return paa()?"Android"===fa.platform:ia("Android")},raa=function(){return ia("iPhone")&&!ia("iPod")&&!ia("iPad")},ma=function(){return raa()||ia("iPad")||ia("iPod")},saa=function(){return paa()?"macOS"===fa.platform:ia("Macintosh")},taa=function(){return paa()?"Windows"===fa.platform:ia("Windows")},uaa=function(){return paa()?"Chrome OS"===fa.platform:ia("CrOS")},
xaa=function(){var a=da(),b="";taa()?(b=/Windows (?:NT|Phone) ([0-9.]+)/,b=(a=b.exec(a))?a[1]:"0.0"):ma()?(b=/(?:iPhone|iPod|iPad|CPU)\s+OS\s+(\S+)/,b=(a=b.exec(a))&&a[1].replace(/_/g,".")):saa()?(b=/Mac OS X ([0-9_.]+)/,b=(a=b.exec(a))?a[1].replace(/_/g,"."):"10"):vaa(da(),"KaiOS")?(b=/(?:KaiOS)\/(\S+)/i,b=(a=b.exec(a))&&a[1]):qaa()?(b=/Android\s+([^\);]+)(\)|;)/,b=(a=b.exec(a))&&a[1]):uaa()&&(b=/(?:CrOS\s+(?:i686|x86_64)\s+([0-9.]+))/,b=(a=b.exec(a))&&a[1]);return 0<=waa(b||"",12)},na=function(a){return a[a.length-
1]},yaa=function(a,b){var c=0;oa(a,function(d,e,g){b.call(void 0,d,e,g)&&++c});return c},zaa=function(a,b){for(var c="string"===typeof a?a.split(""):a,d=a.length-1;0<=d;d--)if(d in c&&b.call(void 0,c[d],d,a))return d;return-1},pa=function(a,b){return 0<=Aaa(a,b)},Baa=function(a){if(!Array.isArray(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0},qa=function(a,b){b=Aaa(a,b);var c;(c=0<=b)&&Caa(a,b);return c},Caa=function(a,b){Array.prototype.splice.call(a,b,1)},Daa=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&&Caa(a,b)},ra=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[]},Eaa=function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(sa(d)){var e=a.length||0,g=d.length||0;a.length=e+g;for(var h=0;h<g;h++)a[e+h]=d[h]}else a.push(d)}},Gaa=function(a,b,c,d){return Array.prototype.splice.apply(a,Faa(arguments,1))},Faa=function(a,b,c){return 2>=
arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)},Haa=function(a,b,c){b=b||a;var d=function(q){return ta(q)?"o"+ua(q):(typeof q).charAt(0)+q};c=c||d;for(var e=d=0,g={};e<a.length;){var h=a[e++],l=c(h);Object.prototype.hasOwnProperty.call(g,l)||(g[l]=!0,b[d++]=h)}b.length=d},Jaa=function(a,b){a.sort(b||Iaa)},Kaa=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||Iaa;Jaa(c,function(g,h){return e(g.value,h.value)||g.index-h.index});
for(b=0;b<a.length;b++)a[b]=c[b].value},Iaa=function(a,b){return a>b?1:a<b?-1:0},Laa=function(){for(var a=[],b=0;5>b;b+=1)a.push(b);return a},Maa=function(a,b,c){b=Array.prototype.splice.call(a,b,1);Array.prototype.splice.call(a,c,0,b[0])},Paa=function(a){if(!Naa)return Oaa(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)},Raa=function(a){return Qaa[a]||""},Uaa=function(a){if(!Naa)return Saa(a);
Taa.test(a)&&(a=a.replace(Taa,Raa));a=atob(a);for(var b=new Uint8Array(a.length),c=0;c<a.length;c++)b[c]=a.charCodeAt(c);return b},Waa=function(a){return Vaa&&null!=a&&a instanceof Uint8Array},Yaa=function(){return Xaa||(Xaa=new Uint8Array(0))},Zaa=function(a){return 0==a.length?va():new xa(a,ya)},aba=function(a){if("string"===typeof a)return{buffer:Uaa(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===xa)return{buffer:$aa(a)||Yaa(),isImmutable:!0};if(a instanceof Uint8Array)return{buffer:new Uint8Array(a.buffer,a.byteOffset,a.byteLength),isImmutable:!1};throw Error("K");},bba=function(a){var b=a>>>0;a=Math.floor((a-b)/4294967296)>>>0;Aa=b;Ba=a},Ca=function(a){var b=0>a;a=Math.abs(a);var c=a>>>0;a=Math.floor((a-c)/4294967296);b&&(c=k(cba(c,a)),b=c.next().value,a=c.next().value,c=b);Aa=c>>>0;Ba=a>>>
0},dba=function(a,b){return 4294967296*b+(a>>>0)},eba=function(a,b){var c=b&2147483648;c&&(a=~a+1>>>0,b=~b>>>0,0==a&&(b=b+1>>>0));a=dba(a,b);return c?-a:a},fba=function(a){var b=Aa,c=Ba,d=c>>31;c=(c<<1|b>>>31)^d;a(b<<1^d,c)},gba=function(a,b){var c=-(a&1);a=(a>>>1|b<<31)^c;return eba(a,b>>>1^c)},jba=function(a,b){b>>>=0;a>>>=0;if(2097151>=b)var c=""+(4294967296*b+a);else hba?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+iba(c)+iba(a));return c},iba=function(a){a=String(a);return"0000000".slice(a.length)+a},kba=function(a,b){b&2147483648?hba?a=""+(BigInt(b|0)<<BigInt(32)|BigInt(a>>>0)):(b=k(cba(a,b)),a=b.next().value,b=b.next().value,a="-"+jba(a,b)):a=jba(a,b);return a},lba=function(a){if(16>a.length)Ca(Number(a));else if(hba)a=BigInt(a),Aa=Number(a&BigInt(4294967295))>>>0,Ba=Number(a>>BigInt(32)&BigInt(4294967295));else{var b=
+("-"===a[0]);Ba=Aa=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)),Ba*=1E6,Aa=1E6*Aa+d,4294967296<=Aa&&(Ba+=Aa/4294967296|0,Aa%=4294967296);b&&(b=k(cba(Aa,Ba)),a=b.next().value,b=b.next().value,Aa=a,Ba=b)}},cba=function(a,b){b=~b;a?a=~a+1:b+=1;return[a,b]},nba=function(a){"string"===typeof a&&mba(a)},Fa=function(a,b){if(Ea)return a[Ea]|=b;if(void 0!==a.internalArrayState)return a.internalArrayState|=b;Object.defineProperties(a,{internalArrayState:{value:b,configurable:!0,
writable:!0,enumerable:!1}});return b},oba=function(a){var b=Ga(a);1!==(b&1)&&(Object.isFrozen(a)&&(a=Array.prototype.slice.call(a)),Ha(a,b|1));return a},pba=function(a,b){Ea?a[Ea]&&(a[Ea]&=~b):void 0!==a.internalArrayState&&(a.internalArrayState&=~b)},Ga=function(a){var b;Ea?b=a[Ea]:b=a.internalArrayState;return null==b?0:b},Ha=function(a,b){Ea?a[Ea]=b:void 0!==a.internalArrayState?a.internalArrayState=b:Object.defineProperties(a,{internalArrayState:{value:b,configurable:!0,writable:!0,enumerable:!1}});
return a},qba=function(a,b){Object.isFrozen(a)&&(a=Array.prototype.slice.call(a));Ha(a,b);return a},rba=function(a){Fa(a,1);return a},Ia=function(a){Fa(a,18);return a},sba=function(a){Fa(a,16);return a},tba=function(a,b){Ha(b,(a|0)&-51)},uba=function(a,b){Ha(b,(a|18)&-41)},Ja=function(a){return!!(Ga(a.internalArray_)&2)},vba=function(a){return null!==a&&"object"===typeof a&&!Array.isArray(a)&&a.constructor===Object},Ka=function(a,b,c){if(null!=a)if("string"===typeof a)a=a?new xa(a,ya):va();else if(a.constructor!==
xa)if(Waa(a))a=c?Zaa(a):a.length?new xa(new Uint8Array(a),ya):va();else{if(!b)throw Error();a=void 0}return a},La=function(a){wba(Ga(a.internalArray_))},wba=function(a){if(a&2)throw Error();},Ma=function(a,b){if("number"!==typeof b||0>b||b>=a.length)throw Error();},xba=function(a,b){if("number"!==typeof b||0>b||b>a.length)throw Error();},yba=function(a){return~~a},Aba=function(a){return zba(a)},zba=function(a){if("number"!==typeof a)throw Error("L`"+typeof a+"`"+a);return a},Pa=function(a){if(null!=
a&&"number"!==typeof a)throw Error("M`"+typeof a+"`"+a);return a},Bba=function(a){if(null==a)return a;if("number"===typeof a||"NaN"===a||"Infinity"===a||"-Infinity"===a)return Number(a)},Cba=function(a){return null==a?a:!!a},Dba=function(a){if(null==a)return a;switch(typeof a){case "string":return+a;case "number":return a}},Ra=function(a){if(null==a)return a;switch(typeof a){case "string":return+a;case "number":return a}},Sa=function(a){return a},Ta=function(a){return a},Eba=function(a){return a},
Fba=function(a){return a},Ua=function(a){return a},Gba=function(a){return a},Hba=function(a){return a},Iba=function(a){return a},Lba=function(a,b,c,d){var e=!1;if(null!=a&&"object"===typeof a&&!(e=Array.isArray(a))&&a.messagePrototypeMarker===Jba)return a;if(!e)return c?d&2?Kba(b):new b:void 0;e=c=Ga(a);0===e&&(e|=d&16);e|=d&2;e!==c&&Ha(a,e);return new b(a)},Kba=function(a){var b=a[Mba];if(b)return b;b=new a;Ia(b.internalArray_);return a[Mba]=b},Nba=function(a){return a},Oba=function(a,b,c){return"boolean"===
typeof a||"number"===typeof a?!!a:c?!1:void 0},Pba=function(a,b,c){b=typeof a;return"number"===b||"string"===b?yba(a):c?0:void 0},Qba=function(a,b,c){b=typeof a;a="number"===b||"string"===b?a:c?0:void 0;return"string"===typeof a&&(c=+a,Number.isSafeInteger(c))?c:a},Rba=function(a,b,c){return"string"===typeof a?a:c?"":void 0},Sba=function(a,b,c,d,e,g){a=Lba(a,d,c,g);e&&(a=Wa(a));return a},Tba=function(a){return a},Uba=function(a,b,c,d,e){var g=m(a,b,d);Array.isArray(g)||(g=Xa);var h=Ga(g);h&1||rba(g);
if(e)h&2||Ia(g),c&1||Object.freeze(g);else{e=!(c&2);var l=h&2;c&1||!l?e&&h&16&&!l&&pba(g,16):(g=rba(Array.prototype.slice.call(g)),Za(a,b,g,d))}return g},$a=function(a,b,c,d,e){var g=Ja(a),h=Uba(a,b,e||1,d,g),l=Ga(h);if(!(l&4)){Object.isFrozen(h)&&(h=rba(h.slice()),Za(a,b,h,d));for(var q=0,v=0;q<h.length;q++){var y=c(h[q]);null!=y&&(h[v++]=y)}v<q&&(h.length=v);l|=5;g&&(l|=18);Ha(h,l);l&2&&Object.freeze(h)}if(2===e)return h;!g&&(l&2||Object.isFrozen(h))&&(h=Array.prototype.slice.call(h),Fa(h,5),Za(a,
b,h,d));return h},Vba=function(a){return Ka(a,!0,!0)},Wba=function(a){return Ka(a,!0,!1)},Zba=function(){return Xba||(Xba=new ab(Ia([]),void 0,void 0,void 0,Yba))},aca=function(a,b,c,d,e,g,h,l){var q=!1;if(null==b){if(d)return;if(e)return Zba();b=[]}else if(b.constructor===ab){if(0==(b.arrayState&2)||e)return b;b=$ba(b)}else Array.isArray(b)?q=!!(Ga(b)&2):b=[];if(e){if(!b.length)return Zba();q||(q=!0,Ia(b))}else if(q)for(q=!1,b=Array.prototype.slice.call(b),e=0;e<b.length;e++)d=b[e]=Array.prototype.slice.call(b[e]),
Array.isArray(d[1])&&(d[1]=Ia(d[1]));q||(Ga(b)&32?pba(b,16):Ga(a.internalArray_)&16&&sba(b));g=new ab(b,g,h,l);Za(a,c,g,!1);return g},bca=function(a,b,c,d,e,g,h){var l=Ja(a);a=aca(a,b,c,d,l,e,g,h);if(null==a)return a;!l&&e&&(a.callToMutableOnAccess=!0);return a},cca=function(a,b,c,d){return bca(a,m(a,b),b,c,void 0,Rba,d)},bb=function(a,b,c,d){if(null==c)return n(a,b);var e=Ga(c);if(!(e&4)){if(e&2||Object.isFrozen(c))c=Array.prototype.slice.call(c);for(var g=0;g<c.length;g++)c[g]=d(c[g]);Ha(c,e|5)}return n(a,
b,c)},dca=function(a,b){Za(a,b,void 0,!1)},cb=function(a,b,c,d){La(a);c!==d?Za(a,b,c):dca(a,b);return a},eb=function(a,b,c,d){La(a);b=Uba(a,b,2,void 0,!1);void 0!=d?b.splice(d,0,c):b.push(c);return a},fb=function(a,b,c,d,e){La(a);b=e(a,b,!1,2);xba(b,c);b[c]=d;return a},eca=function(a,b,c,d,e,g){var h=!!(g&2),l=Uba(a,c,1,d,h);if(l===Xa||!(Ga(l)&4)){var q=l;l=!!(g&2);var v=!!(Ga(q)&2);h=q;!l&&v&&(q=Array.prototype.slice.call(q));var y=g|(v?2:0);g=v;for(var B=v=0;v<q.length;v++){var I=Lba(q[v],b,!1,
y);void 0!==I&&(g=g||!!(2&Ga(I.internalArray_)),q[B++]=I)}B<v&&(q.length=B);b=q;q=Ga(b);y=q|5;g=g?y&-9:y|8;q!=g&&(b=qba(b,g));q=b;h!==q&&Za(a,c,q,d);(l||1===e)&&Object.freeze(q);return q}if(3===e)return l;h||(h=Object.isFrozen(l),1===e?h||Object.freeze(l):(e=Ga(l),b=e&-19,h&&(l=Array.prototype.slice.call(l),e=0,Za(a,c,l,d)),e!==b&&Ha(l,b)));return l},gb=function(a,b,c,d,e,g,h){var l=Ga(a.internalArray_);wba(l);a=eca(a,c,b,g,2,l);c=null!=d?d:new c;h&&xba(a,e);void 0!=e?a.splice(e,h,c):a.push(c);c.isImmutable()&&
pba(a,8);return c},jb=function(a,b,c){return cb(a,b,Cba(c),!1)},kb=function(a,b,c){return cb(a,b,c,0)},lb=function(a,b,c){return cb(a,b,c,0)},mb=function(a,b,c){return cb(a,b,c,"")},ob=function(a,b){return null==a?b:a},gca=function(a,b){fca=b;a=new a(b);fca=void 0;return a},ica=function(a,b){return hca(b)},hca=function(a){switch(typeof a){case "number":return isFinite(a)?a:String(a);case "boolean":return a?1:0;case "object":if(a&&!Array.isArray(a)){if(Waa(a))return Paa(a);if(a instanceof xa)return jca(a);
if(a instanceof ab)return kca(a)}}return a},lca=function(a,b){for(var c=Array.prototype.slice.call(a.internalArray_),d=a.internalSparseObject_,e=c.length+(d?-1:0),g=0;g<e;g++)c[g]=b(c[g]);if(d){e=c[g]={};for(var h in d)e[h]=b(d[h])}b=gca(a.constructor,sba(c));a.internalUnknownFields_&&(b.internalUnknownFields_=a.internalUnknownFields_.slice());return b},nca=function(a,b,c,d,e,g){if(null!=a){if(Array.isArray(a))a=e&&0==a.length&&Ga(a)&1?void 0:g&&Ga(a)&2?a:mca(a,b,c,void 0!==d,e,g);else if(vba(a)){var h=
{},l;for(l in a)h[l]=nca(a[l],b,c,d,e,g);a=h}else a=b(a,d);return a}},mca=function(a,b,c,d,e,g){var h=d||c?Ga(a):0;d=d?!!(h&16):void 0;a=Array.prototype.slice.call(a);for(var l=0;l<a.length;l++)a[l]=nca(a[l],b,c,d,e,g);c&&c(h,a);return a},pca=function(a){return nca(a,oca,void 0,void 0,!1,!1)},oca=function(a){return a.messagePrototypeMarker===Jba?a.toJSON():a instanceof ab?kca(a,pca):hca(a)},qca=function(a){return mca(a,oca,void 0,void 0,!1,!1)},rca=function(a,b,c){c=void 0===c?uba:c;if(null!=a){if(Vaa&&
a instanceof Uint8Array)return b?a:new Uint8Array(a);if(Array.isArray(a)){var d=Ga(a);if(d&2)return a;if(b&&!(d&32)&&(d&16||0===d))return Ha(a,d|18),a;a=mca(a,rca,d&4?uba:c,!0,!1,!0);b=Ga(a);b&4&&b&2&&Object.freeze(a);return a}a.messagePrototypeMarker===Jba?Ja(a)||(a=sca(a,!0),Ia(a.internalArray_)):a instanceof ab&&(b=Ia($ba(a,rca)),a=new ab(b,a.valueCtor,a.keyToApi,a.valueToApi));return a}},sca=function(a,b){var c=a.internalArray_,d=b||a.isImmutable()?uba:tba,e=!!(Ga(c)&16);return lca(a,function(g){return rca(g,
e,d)})},Wa=function(a){if(!Ja(a))return a;var b=sca(a,!1);b.internalCachedImmutable_=a;return b},tca=function(a,b,c){var d=a?a.constructor.repeatedFields_:void 0,e=a.pivot_;if(d){if(!c){b=Array.prototype.slice.call(b);var g;if(b.length&&vba(g=b[b.length-1]))for(var h=0;h<d.length;h++)if(d[h]>=e){Object.assign(b[b.length-1]={},g);break}}e=b;c=!c;g=a.pivot_;var l;for(h=0;h<d.length;h++){var q=d[h];if(q<g){q+=a.arrayIndexOffset;var v=e[q];null==v?e[q]=c?Xa:rba([]):c&&v!==Xa&&oba(v)}else l||(v=void 0,
e.length&&vba(v=e[e.length-1])?l=v:e.push(l={})),v=l[q],null==l[q]?l[q]=c?Xa:rba([]):c&&v!==Xa&&oba(v)}}return b},vca=function(a,b,c,d,e){var g=qb.prototype.writeString;(a=d(a,b,!0))&&a.forEach(function(h,l){uca(c,b,h,function(q,v){g.call(v,1,l);e.call(v,2,h)})})},wca=function(a,b,c,d,e,g,h,l){(a=g(a,b,!0,c))&&a.forEach(function(q,v){uca(e,d,q,function(y,B){h.call(B,1,v);uca(B,2,q,l)})})},xca=function(a,b,c,d,e,g,h,l,q){if(2!==a.nextWireType_)return!1;var v=l,y=void 0;rb(a,void 0,function(B,I){for(;tb(I);){B=
I.nextField_;var N=I.nextWireType_;1===B&&N===h?v=g.call(I):2===B&&2===N?y=rb(I,new d,q):ub(I)}});e(b,c,!1,d).set(v,y||new d);return!0},yca=function(a,b,c,d,e,g,h){var l=vb.prototype.readStringRequireUtf8;if(2!==a.nextWireType_)return!1;var q="",v=h;rb(a,void 0,function(y,B){for(;tb(B);){y=B.nextField_;var I=B.nextWireType_;1===y&&2===I?q=l.call(B):2===y&&I===g?v=e.call(B):ub(B)}});d(b,c,!1).set(q,v);return!0},Dca=function(a){var b=a[zca];if(!b){var c=Aca(a),d=c.messageSetReader;b=d?function(e,g){return d(e,
g,c)}:function(e,g){for(;tb(g)&&4!=g.nextWireType_;){var h=g.nextField_,l=c[h];if(!l){var q=c.extensions;q&&(q=q[h])&&(l=c[h]=Bca(q))}l&&l(g,e,h)||Cca(g,e)}return e};a[zca]=b}return b},Eca=function(a){if(a=a.binaryFieldsInitializer)return Dca(a)},Bca=function(a){var b=Eca(a),c=a.readerWriterSelector.$$binaryReaderFn;if(b){var d=Aca(a.binaryFieldsInitializer).ctor;return function(e,g,h){return c(e,g,h,d,b)}}return function(e,g,h){return c(e,g,h)}},Hca=function(a,b){var c=a[b];"function"==typeof c&&
0===c.length&&(c=c(),a[b]=c);return Array.isArray(c)&&(Fca in c||Gca in c||0<c.length&&"function"==typeof c[0])?c:void 0},Ica=function(a,b,c,d){b.ctor=a[0];var e=1;if(a.length>e&&"number"!==typeof a[e]){var g=a[e++];if(Array.isArray(g))return b.messageSetReader=g[0],b.extensions=g[1],b;b.extensions=g}for(;e<a.length;){g=a[e++];for(var h=e+1;h<a.length&&"number"!==typeof a[h];)h++;var l=a[e++];h-=e;switch(h){case 0:b[g]=c(l);break;case 1:(h=Hca(a,e))?(e++,b[g]=d(l,h)):b[g]=c(l,a[e++]);break;case 2:h=
e++;h=Hca(a,h);b[g]=d(l,h,a[e++]);break;default:throw Error("V`"+h);}}return b},Mca=function(a){var b=a[Jca];if(!b){var c=Kca(a);b=function(d,e){return Lca(d,e,c)};a[Jca]=b}return b},Nca=function(a){return a.$$binaryWriterFn},Oca=function(a,b){var c=Mca(b),d=Kca(b).ctor,e=a.$$binaryWriterFn;return function(g,h,l){return e(g,h,l,d,c)}},Kca=function(a){var b=a[Gca];if(b)return b;b=Ica(a,a[Gca]={},Nca,Oca);Fca in a&&Gca in a&&(a.length=0);return b},Pca=function(a,b){var c=a.$$binaryReaderFn;return b?
function(d,e,g){return c(d,e,g,b)}:c},Qca=function(a,b,c){var d=a.$$binaryReaderFn,e=Dca(b),g=Aca(b).ctor;return function(h,l,q){return d(h,l,q,g,e,c)}},Aca=function(a){var b=a[Fca];if(b)return b;b=Ica(a,a[Fca]={},Pca,Qca);Fca in a&&Gca in a&&(a.length=0);return b},Rca=function(a,b){var c=a[b];if(c)return c;if(c=a.extensions)if(c=c[b]){var d=c.binaryFieldsInitializer,e=c.readerWriterSelector.$$binaryWriterFn;if(d){var g=Mca(d),h=Kca(d).ctor;c=function(l,q,v){return e(l,q,v,h,g)}}else c=e;return a[b]=
c}},Lca=function(a,b,c){for(var d=a.internalArray_,e=a.arrayIndexOffset,g=d.length,h=0===e?1:0;h<g;h++){var l=d[h];if(null!=l)if(h===g-1&&vba(l))for(var q in l){var v=+q;if(!Number.isNaN(v)&&null!=l[q]){var y=Rca(c,v);y&&y(b,a,v)}}else l=h-e,(v=Rca(c,l))&&v(b,a,l)}if(a=a.internalUnknownFields_)for(wb(b,b.encoder_.end()),c=0;c<a.length;c++)wb(b,$aa(a[c])||Yaa())},xb=function(a,b){return new Sca(a,b)},Tca=function(a,b,c){a.writeDouble(c,yb(b,c))},Uca=function(a,b,c){a.writeFloat(c,yb(b,c))},Vca=function(a,
b,c){a.writeInt64(c,m(b,c))},Xca=function(a,b,c){b=$a(b,c,Gba);if(null!=b)for(var d=0;d<b.length;d++)Wca(a,c,b[d])},Yca=function(a,b,c){b=$a(b,c,Gba);if(null!=b&&b.length){c=zb(a,c);for(var d=0;d<b.length;d++){var e=b[d];if("number"===typeof e){var g=a.encoder_;Ca(e);g.writeSplitVarint64(Aa,Ba)}else e=mba(e),a.encoder_.writeSplitVarint64(e.lo,e.hi)}Ab(a,c)}},Zca=function(a,b,c){a.writeUint64(c,m(b,c))},$ca=function(a,b,c){a.writeInt32(c,Cb(b,c))},bda=function(a,b,c){ada(a,c,m(b,c))},cda=function(a,
b,c){a.writeBool(c,Db(b,c))},dda=function(a,b,c){a.writeString(c,m(b,c))},eda=function(a,b,c,d,e){uca(a,c,Eb(b,d,c),e)},fda=function(a,b,c){a.writeBytes(c,Fb(b,c))},gda=function(a,b,c){a.writeUint32(c,Ra(m(b,c)))},hda=function(a,b,c){a.writeEnum(c,m(b,c))},jda=function(a,b,c){if(1!==a.nextWireType_&&2!==a.nextWireType_)return!1;b=Gb(b,c);if(2==a.nextWireType_){c=a.decoder_;a=Hb(a.decoder_)/8;var d=c.cursor_,e=8*a;if(d+e>c.end_)throw Error("C`"+(c.end_-d)+"`"+e);var g=c.bytes_;d+=g.byteOffset;void 0===
ida&&(ida=513==(new Uint16Array((new Uint8Array([1,2])).buffer))[0]);if(ida)for(c.cursor_+=e,c=new Float64Array(g.buffer.slice(d,d+e)),a=0;a<c.length;a++)b.push(c[a]);else for(e=0;e<a;e++)b.push(c.readDouble())}else b.push(a.readDouble());return!0},kda=function(a,b,c){if(0!==a.nextWireType_&&2!==a.nextWireType_)return!1;b=Gb(b,c);2==a.nextWireType_?Jb(a,Kb.prototype.readSignedVarint64String,b):b.push(a.readInt64String());return!0},lda=function(a,b,c){if(0!==a.nextWireType_&&2!==a.nextWireType_)return!1;
b=Gb(b,c);2==a.nextWireType_?Jb(a,Kb.prototype.readSignedVarint64,b):b.push(a.readInt64());return!0},mda=function(a,b,c){if(0!==a.nextWireType_&&2!==a.nextWireType_)return!1;b=Gb(b,c);2==a.nextWireType_?Jb(a,Kb.prototype.readUnsignedVarint64,b):b.push(a.readUint64());return!0},nda=function(a,b,c){if(0!==a.nextWireType_&&2!==a.nextWireType_)return!1;b=Gb(b,c);2==a.nextWireType_?Jb(a,Kb.prototype.readSignedVarint32,b):b.push(a.readInt32());return!0},oda=function(a,b,c){if(2!==a.nextWireType_)return!1;
a=a.readByteString();Za(b,c,a===va()?void 0:a);return!0},pda=function(a,b,c){if(0!==a.nextWireType_&&2!==a.nextWireType_)return!1;b=Gb(b,c);2==a.nextWireType_?Jb(a,Kb.prototype.readEnum,b):b.push(a.readEnum());return!0},Lb=function(a,b,c,d){return new qda(a,b,c,d)},Mb=function(a,b){for(var c=[],d=0;d<a.length;d++)c.push(b(a[d]));return c},Nb=function(a,b,c){for(var d in c){var e=c[d],g=e.isRepeated?a.getExtension(e):rda(a,e);if(null!=g){var h=void 0;for(h in e.fieldName)if(e.fieldName.hasOwnProperty(h))break;
var l=e.toObjectFn;b[h]=l?e.isRepeated?Mb(g,l):l(g):g}}},sda=function(a){null!=a&&(a=a.value_||"",a="string"===typeof a?a:new Uint8Array(a));return a},Ob=function(a,b){var c=[];a.forEach(b?function(d,e){c.push([e,b(d)])}:function(d,e){c.push([e,d])});return c},p=function(a){return null===a?void 0:a},Qb=function(a){return null==a?void 0:Array.isArray(a)?a.map(function(b){return jca(b)}):jca(a)},tda=function(a){a=m(a,2);if(null==a)return"";if("string"===typeof a)return a;if(Waa(a))return Paa(a);if(Array.isArray(a))return qca(a);
if(a instanceof xa)return jca(a);if(a instanceof r)return a.toJSON();throw Error("W`"+a);},t=function(a){if(Ja(a))throw Error("Z");},u=function(a){return function(){var b=new qb;Lca(this,b,Kca(a));wb(b,b.encoder_.end());for(var c=new Uint8Array(b.totalLength_),d=b.blocks_,e=d.length,g=0,h=0;h<e;h++){var l=d[h];c.set(l,g);g+=l.length}b.blocks_=[c];return c}},uda=function(a){return function(b){b=JSON.parse(b);if(!Array.isArray(b))throw Error("U`"+Rb(b)+"`"+b);Ia(b);return new a(b)}},Sb=function(a){return function(b){return vda(a,
b)}},Tb=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)},Ub=function(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c},wda=function(a,b){var c={},d;for(d in a)c[d]=b.call(void 0,a[d],d,a);return c},xda=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1},yda=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b},zda=function(a,b){return null!==a&&b in a},Ada=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return c},Bda=function(a,b){return(b=
Ada(a,b))&&a[b]},Cda=function(a){for(var b in a)return!1;return!0},Dda=function(a){for(var b in a)delete a[b]},Vb=function(a,b){b in a&&delete a[b]},Eda=function(a,b){return null!==a&&b in a?a[b]:void 0},Wb=function(a){var b={},c;for(c in a)b[c]=a[c];return b},Gda=function(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var g=0;g<Fda.length;g++)c=Fda[g],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}},Hda=function(a){var b=arguments.length;if(1==b&&Array.isArray(arguments[0]))return Hda.apply(null,
arguments[0]);for(var c={},d=0;d<b;d++)c[arguments[d]]=!0;return c},Pda=function(a){if(a instanceof Zb)return'url("'+$b(a).replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';if(a instanceof ac)a=Ida(a);else{a=String(a);var b=a.replace(Jda,"$1").replace(Jda,"$1").replace(Kda,"url");if(Lda.test(b)){if(b=!Mda.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&&Nda(a)}a=b?Oda(a):"zClosurez"}else a="zClosurez"}if(/[{;}]/.test(a))throw new aaa("Value does not allow [{;}], got: %s.",
[a]);return a},Nda=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},Oda=function(a){return a.replace(Kda,function(b,c,d,e){var g="";d=d.replace(/^(['"])(.*)\1$/,function(h,l,q){g=l;return q});b=(Qda(d)||Rda).getTypedStringValue();return c+g+b+g+e})},Sda=function(a,b){return Zone.current.wrap(a,b)},Tda=function(a,b){for(var c=a.length-1;0<=c;c--)"function"===
typeof a[c]&&(a[c]=Sda(a[c],b+"_"+c));return a},Wda=function(a){for(var b=["getCurrentPosition","watchPosition"],c=a.constructor.name,d={},e=0;e<b.length;d={$jscomp$loop$prop$name$2239:d.$jscomp$loop$prop$name$2239},e++){d.$jscomp$loop$prop$name$2239=b[e];var g=a[d.$jscomp$loop$prop$name$2239];if(g){var h=Uda(a,d.$jscomp$loop$prop$name$2239);Vda(h)&&(a[d.$jscomp$loop$prop$name$2239]=function(l){return function(q){var v=function(){return q.apply(this,Tda(arguments,c+"."+l.$jscomp$loop$prop$name$2239))};
bc(v,q);return v}}(d)(g))}}},Vda=function(a){return a?!1===a.writable?!1:!("function"===typeof a.get&&"undefined"===typeof a.set):!0},$da=function(a,b,c){var d=Uda(a,b);!d&&c&&Uda(c,b)&&(d={enumerable:!0,configurable:!0});if(d&&d.configurable&&(c=cc("on"+b+"patched"),!a.hasOwnProperty(c)||!a[c])){delete d.writable;delete d.value;var e=d.get,g=d.set,h=b.slice(2),l=Xda[h];l||(l=Xda[h]=cc("ON_PROPERTY"+h));d.set=function(q){var v=this;v||a!==dc||(v=dc);v&&("function"===typeof v[l]&&v.removeEventListener(h,
Yda),g&&g.call(v,null),v[l]=q,"function"===typeof q&&v.addEventListener(h,Yda,!1))};d.get=function(){var q=this;q||a!==dc||(q=dc);if(!q)return null;var v=q[l];return v?v:e&&(v=e.call(this))?(d.set.call(this,v),"function"===typeof q.removeAttribute&&q.removeAttribute(b),v):null};Zda(a,b,d);a[c]=!0}},aea=function(a,b,c){if(b)for(var d=0;d<b.length;d++)$da(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++)$da(a,b[d],c)}},bea=function(a){var b=dc[a];if(b){dc[cc(a)]=
b;dc[a]=function(){var e=Tda(arguments,a);switch(e.length){case 0:this[ec]=new b;break;case 1:this[ec]=new b(e[0]);break;case 2:this[ec]=new b(e[0],e[1]);break;case 3:this[ec]=new b(e[0],e[1],e[2]);break;case 4:this[ec]=new b(e[0],e[1],e[2],e[3]);break;default:throw Error("qa");}};bc(dc[a],b);var c=new b(function(){}),d;for(d in c)"XMLHttpRequest"===a&&"responseBlob"===d||function(e){"function"===typeof c[e]?dc[a].prototype[e]=function(){return this[ec][e].apply(this[ec],arguments)}:Zda(dc[a].prototype,
e,{set:function(g){"function"===typeof g?(this[ec][e]=Sda(g,a+"."+e),bc(this[ec][e],g)):this[ec][e]=g},get:function(){return this[ec][e]}})}(d);for(d in b)"prototype"!==d&&b.hasOwnProperty(d)&&(dc[a][d]=b[d])}},fc=function(a,b,c){for(var d=a;d&&!d.hasOwnProperty(b);)d=cea(d);!d&&a[b]&&(d=a);a=cc(b);var e=null;if(d&&(!(e=d[a])||!d.hasOwnProperty(a))){e=d[a]=d[b];var g=d&&Uda(d,b);if(Vda(g)){var h=c(e,a,b);d[b]=function(){return h(this,arguments)};bc(d[b],e)}}return e},dea=function(a,b,c){function d(g){var h=
g.data;h.args[h.cbIdx]=function(){g.invoke.apply(this,arguments)};e.apply(h.target,h.args);return g}var e=null;e=fc(a,b,function(g){return function(h,l){var q=c(h,l);return 0<=q.cbIdx&&"function"===typeof l[q.cbIdx]?Zone.current.scheduleMacroTask(q.name,l[q.cbIdx],q,d):g.apply(h,l)}})},bc=function(a,b){a[cc("OriginalDelegate")]=b},gea=function(){if(eea)return fea;eea=!0;try{var a=hc.navigator.userAgent;if(-1!==a.indexOf("MSIE ")||-1!==a.indexOf("Trident/")||-1!==a.indexOf("Edge/"))fea=!0}catch(b){}return fea},
iea=function(a,b){var c=(b?b(a):a)+"false";b=(b?b(a):a)+"true";c=hea+c;b=hea+b;ic[a]={};ic[a]["false"]=c;ic[a]["true"]=b},pea=function(a,b,c,d){function e(ka,la,Da){if(la=la||a.event){ka=ka||la.target||a;var za=ka[ic[la.type][Da?"true":"false"]];if(za){Da=[];if(1===za.length)(la=I(za[0],ka,la))&&Da.push(la);else{za=za.slice();for(var Oa=0;Oa<za.length&&(!la||!0!==la[jea]);Oa++){var Va=I(za[Oa],ka,la);Va&&Da.push(Va)}}if(1===Da.length)throw Da[0];la={};for(ka=0;ka<Da.length;la={$jscomp$loop$prop$err$1756$2241:la.$jscomp$loop$prop$err$1756$2241},
ka++)la.$jscomp$loop$prop$err$1756$2241=Da[ka],b.nativeScheduleMicroTask(function(Ya){return function(){throw Ya.$jscomp$loop$prop$err$1756$2241;}}(la))}}}function g(ka,la){if(!ka)return!1;var Da=!0;la&&void 0!==la.useG&&(Da=la.useG);var za=la&&la.vh,Oa=!0;la&&void 0!==la.chkDup&&(Oa=la.chkDup);var Va=!1;la&&void 0!==la.rt&&(Va=la.rt);for(var Ya=ka;Ya&&!Ya.hasOwnProperty(h);)Ya=cea(Ya);!Ya&&ka[h]&&(Ya=ka);if(!Ya||Ya[y])return!1;var Xb=la&&la.eventNameToString,Bb={},db=Ya[y]=Ya[h],wa=Ya[cc(l)]=Ya[l];
ka=Ya[cc(q)]=Ya[q];var Na=Ya[cc(v)]=Ya[v],Qa;la&&la.prepend&&(Qa=Ya[cc(la.prepend)]=Ya[la.prepend]);var nb=function(sb){if(!sb.isRemoved){var Yb=ic[sb.eventName],xc;Yb&&(xc=Yb[sb.capture?"true":"false"]);if(Yb=xc&&sb.target[xc])for(var Wc=0;Wc<Yb.length;Wc++)if(Yb[Wc]===sb){Yb.splice(Wc,1);sb.isRemoved=!0;0===Yb.length&&(sb.allRemoved=!0,sb.target[xc]=null);break}}if(sb.allRemoved)return wa.call(sb.target,sb.eventName,sb.capture?Q:N,sb.options)},ib=function(sb){return db.call(Bb.target,Bb.eventName,
sb.invoke,Bb.options)},hd=function(sb){return Qa.call(Bb.target,Bb.eventName,sb.invoke,Bb.options)},pb=function(sb){return wa.call(sb.target,sb.eventName,sb.invoke,sb.options)};ib=Da?function(){if(!Bb.isExisting)return db.call(Bb.target,Bb.eventName,Bb.capture?Q:N,Bb.options)}:ib;nb=Da?nb:pb;pb=function(sb,Yb){var xc=typeof Yb;return"function"===xc&&sb.callback===Yb||"object"===xc&&sb.originalDelegate===Yb};var Ib=la&&la.diff?la.diff:pb,hb=Zone[cc("UNPATCHED_EVENTS")],Pb=a[cc("PASSIVE_EVENTS")];pb=
function(sb,Yb,xc,Wc,nd,Vf){nd=void 0===nd?!1:nd;Vf=void 0===Vf?!1:Vf;return function(){var he=this||a,Ue=arguments[0];la&&la.transferEventName&&(Ue=la.transferEventName(Ue));var nk=arguments[1];if(!nk||kea&&"uncaughtException"===Ue)return sb.apply(this,arguments);var Voa=!1;if("function"!==typeof nk){if(!nk.handleEvent)return sb.apply(this,arguments);Voa=!0}if(!za||za(sb,nk,he,arguments)){var Kv=jc&&!!Pb&&-1!==Pb.indexOf(Ue);var oh=arguments[2];oh=!jc&&"object"===typeof oh&&oh?!!oh.capture:jc&&Kv?
"boolean"===typeof oh?{capture:oh,passive:!0}:oh?"object"===typeof oh&&!1!==oh.passive?Object.assign({},oh,{passive:!0}):oh:{passive:!0}:oh;if(hb)for(var t_=0;t_<hb.length;t_++)if(Ue===hb[t_])return Kv?sb.call(he,Ue,nk,oh):sb.apply(this,arguments);Kv=oh?"boolean"===typeof oh?!0:oh.capture:!1;t_=oh&&"object"===typeof oh?oh.once:!1;var pSb=Zone.current,Lv=ic[Ue];Lv||(iea(Ue,Xb),Lv=ic[Ue]);var JA=Lv[Kv?"true":"false"];Lv=he[JA];var NP=!1;if(Lv){if(NP=!0,Oa)for(JA=0;JA<Lv.length;JA++)if(Ib(Lv[JA],nk))return}else Lv=
he[JA]=[];var io;JA=he.constructor.name;var mXa=lea[JA];mXa&&(io=mXa[Ue]);io||(io=JA+Yb+(Xb?Xb(Ue):Ue));Bb.options=oh;t_&&(Bb.options.once=!1);Bb.target=he;Bb.capture=Kv;Bb.eventName=Ue;Bb.isExisting=NP;if(NP=Da?mea:void 0)NP.taskData=Bb;io=pSb.scheduleEventTask(io,nk,NP,xc,Wc);Bb.target=null;NP&&(NP.taskData=null);t_&&(oh.once=!0);if(jc||"boolean"!==typeof io.options)io.options=oh;io.target=he;io.capture=Kv;io.eventName=Ue;Voa&&(io.originalDelegate=nk);Vf?Lv.unshift(io):Lv.push(io);if(nd)return he}}};
Ya[h]=pb(db,B,ib,nb,Va);Qa&&(Ya.prependListener=pb(Qa,".prependListener:",hd,nb,Va,!0));Ya[l]=function(){var sb=this||a,Yb=arguments[0];la&&la.transferEventName&&(Yb=la.transferEventName(Yb));var xc=arguments[2],Wc=xc?"boolean"===typeof xc?!0:xc.capture:!1;xc=arguments[1];if(!xc)return wa.apply(this,arguments);if(!za||za(wa,xc,sb,arguments)){var nd=ic[Yb],Vf;nd&&(Vf=nd[Wc?"true":"false"]);if(Wc=Vf&&sb[Vf])for(nd=0;nd<Wc.length;nd++){var he=Wc[nd];if(Ib(he,xc)){Wc.splice(nd,1);he.isRemoved=!0;0===
Wc.length&&(he.allRemoved=!0,sb[Vf]=null,"string"===typeof Yb&&(sb[hea+"ON_PROPERTY"+Yb]=null));he.zone.cancelTask(he);if(Va)return sb;return}}return wa.apply(this,arguments)}};Ya[q]=function(sb){var Yb=this||a,xc=sb;la&&la.transferEventName&&(xc=la.transferEventName(xc));sb=[];Yb=nea(Yb,Xb?Xb(xc):xc);for(xc=0;xc<Yb.length;xc++){var Wc=Yb[xc];sb.push(Wc.originalDelegate?Wc.originalDelegate:Wc.callback)}return sb};Ya[v]=function(sb){var Yb=this||a;if(sb){la&&la.transferEventName&&(sb=la.transferEventName(sb));
var xc=ic[sb];if(xc){var Wc=Yb[xc["false"]];Yb=Yb[xc["true"]];if(Wc)for(Wc=Wc.slice(),xc=0;xc<Wc.length;xc++){var nd=Wc[xc];this[l].call(this,sb,nd.originalDelegate?nd.originalDelegate:nd.callback,nd.options)}if(Yb)for(Yb=Yb.slice(),Wc=0;Wc<Yb.length;Wc++)xc=Yb[Wc],this[l].call(this,sb,xc.originalDelegate?xc.originalDelegate:xc.callback,xc.options)}}else{sb=Object.keys(Yb);for(Yb=0;Yb<sb.length;Yb++)(Wc=(Wc=oea.exec(sb[Yb]))&&Wc[1])&&"removeListener"!==Wc&&this[v].call(this,Wc);this[v].call(this,
"removeListener")}if(Va)return this};bc(Ya[h],db);bc(Ya[l],wa);Na&&bc(Ya[v],Na);ka&&bc(Ya[q],ka);return!0}for(var h=d&&d.add||"addEventListener",l=d&&d.rm||"removeEventListener",q=d&&d.listeners||"eventListeners",v=d&&d.rmAll||"removeAllListeners",y=cc(h),B="."+h+":",I=function(ka,la,Da){if(!ka.isRemoved){var za=ka.callback;"object"===typeof za&&za.handleEvent&&(ka.callback=function(Ya){return za.handleEvent(Ya)},ka.originalDelegate=za);try{ka.invoke(ka,la,[Da])}catch(Ya){var Oa=Ya}var Va=ka.options;
Va&&"object"===typeof Va&&Va.once&&la[l].call(la,Da.type,ka.originalDelegate?ka.originalDelegate:ka.callback,Va);return Oa}},N=function(ka){return e(this,ka,!1)},Q=function(ka){return e(this,ka,!0)},Z=[],Y=0;Y<c.length;Y++)Z[Y]=g(c[Y],d);return Z},nea=function(a,b){if(!b){var c=[],d;for(d in a){var e=oea.exec(d);if((e=e&&e[1])&&(!b||e===b)&&(e=a[d]))for(var g=0;g<e.length;g++)c.push(e[g])}return c}c=ic[b];c||(iea(b),c=ic[b]);b=a[c["false"]];a=a[c["true"]];return b?a?b.concat(a):b.slice():a?a.slice():
[]},qea=function(a,b){(a=a.Event)&&a.prototype&&b.patchMethod(a.prototype,"stopImmediatePropagation",function(c){return function(d,e){d[jea]=!0;c&&c.apply(d,e)}})},kc=function(a,b,c,d){function e(v){var y=v.data;y.args[0]=function(){return v.invoke.apply(this,arguments)};y.handleId=h.apply(a,y.args);return v}function g(v){return l.call(a,v.data.handleId)}var h=null,l=null;b+=d;c+=d;var q={};h=fc(a,b,function(v){return function(y,B){if("function"===typeof B[0]){var I={isPeriodic:"Interval"===d,delay:"Timeout"===
d||"Interval"===d?B[1]||0:void 0,args:B},N=B[0];B[0]=function(){try{return N.apply(this,arguments)}finally{I.isPeriodic||("number"===typeof I.handleId?delete q[I.handleId]:I.handleId&&(I.handleId[rea]=null))}};y=Zone.current.scheduleMacroTask(b,B[0],I,e,g);if(!y)return y;B=y.data.handleId;"number"===typeof B?q[B]=y:B&&(B[rea]=y);B&&B.ref&&B.unref&&"function"===typeof B.ref&&"function"===typeof B.unref&&(y.ref=B.ref.bind(B),y.unref=B.unref.bind(B));return"number"===typeof B||B?B:y}return v.apply(a,
B)}});l=fc(a,c,function(v){return function(y,B){y=B[0];if("number"===typeof y)var I=q[y];else(I=y&&y[rea])||(I=y);I&&"string"===typeof I.type?"notScheduled"!==I.state&&(I.cancelFn&&I.data.isPeriodic||0===I.runCount)&&("number"===typeof y?delete q[y]:y&&(y[rea]=null),I.zone.cancelTask(I)):v.apply(a,B)}})},sea=function(a,b,c,d,e){var g=Zone.__symbol__(d);if(!b[g]){var h=b[g]=b[d];b[d]=function(l,q,v){q&&q.prototype&&e.forEach(function(y){var B=c+"."+d+"::"+y,I=q.prototype;try{if(I.hasOwnProperty(y)){var N=
a.ObjectGetOwnPropertyDescriptor(I,y);N&&N.value?(N.value=a.wrapWithCurrentZone(N.value,B),a._redefineProperty(q.prototype,y,N)):I[y]&&(I[y]=a.wrapWithCurrentZone(I[y],B))}else I[y]&&(I[y]=a.wrapWithCurrentZone(I[y],B))}catch(Q){}});return h.call(b,l,q,v)};a.attachOriginToPatched(b[d],h)}},tea=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)})},uea=
function(a){return Object.getOwnPropertyNames(a).filter(function(b){return b.startsWith("on")&&2<b.length}).map(function(b){return b.substring(2)})},Bea=function(){vea=Zone.__symbol__;wea=Object[vea("defineProperty")]=Object.defineProperty;xea=Object[vea("getOwnPropertyDescriptor")]=Object.getOwnPropertyDescriptor;yea=Object.create;lc=vea("unconfigurables");Object.defineProperty=function(a,b,c){if(a&&a[lc]&&a[lc][b])throw new TypeError("ua`"+b+"`"+a);var d=c.configurable;"prototype"!==b&&(c=zea(a,
b,c));return Aea(a,b,c,d)};Object.defineProperties=function(a,b){Object.keys(b).forEach(function(g){Object.defineProperty(a,g,b[g])});for(var c=k(Object.getOwnPropertySymbols(b)),d=c.next();!d.done;d=c.next()){d=d.value;var e=void 0;(null==(e=Object.getOwnPropertyDescriptor(b,d))?0:e.enumerable)&&Object.defineProperty(a,d,b[d])}return a};Object.create=function(a,b){"object"!==typeof b||Object.isFrozen(b)||Object.keys(b).forEach(function(c){b[c]=zea(a,c,b[c])});return yea(a,b)};Object.getOwnPropertyDescriptor=
function(a,b){var c=xea(a,b);c&&a&&a[lc]&&a[lc][b]&&(c.configurable=!1);return c}},Cea=function(a,b,c){var d=c.configurable;c=zea(a,b,c);return Aea(a,b,c,d)},zea=function(a,b,c){Object.isFrozen(c)||(c.configurable=!0);c.configurable||(a[lc]||Object.isFrozen(a)||wea(a,lc,{writable:!0,value:{}}),a[lc]&&(a[lc][b]=!0));return c},Aea=function(a,b,c,d){try{return wea(a,b,c)}catch(e){if(c.configurable){"undefined"==typeof d?delete c.configurable:c.configurable=d;try{return wea(a,b,c)}catch(g){d=!1;if("createdCallback"===
b||"attachedCallback"===b||"detachedCallback"===b||"attributeChangedCallback"===b)d=!0;if(!d)throw g;d=null;try{d=JSON.stringify(c)}catch(h){d=c.toString()}console.log("Attempting to configure '"+b+"' with descriptor '"+d+"' on object '"+a+"' and got error, giving up: "+g)}}else throw e;}},Dea=function(a,b){var c=b.getGlobalObjects(),d=c.eventNames,e=c.globalSources,g=c.zoneSymbolEventNames,h=c.TRUE_STR,l=c.FALSE_STR,q=c.ZONE_SYMBOL_PREFIX,v="ApplicationCache EventSource FileReader InputMethodContext MediaController MessagePort Node Performance SVGElementInstance SharedWorker TextTrack TextTrackCue TextTrackList WebKitNamedFlow Window Worker WorkerGlobalScope XMLHttpRequest XMLHttpRequestEventTarget XMLHttpRequestUpload IDBRequest IDBOpenDBRequest IDBDatabase IDBTransaction IDBCursor DBIndex WebSocket".split(" ");
c=[];var y="Anchor Area Audio BR Base BaseFont Body Button Canvas Content DList Directory Div Embed FieldSet Font Form Frame FrameSet HR Head Heading Html IFrame Image Input Keygen LI Label Legend Link Map Marquee Media Menu Meta Meter Mod OList Object OptGroup Option Output Paragraph Pre Progress Quote Script Select Source Span Style TableCaption TableCell TableCol Table TableRow TableSection TextArea Title Track UList Unknown Video".split(" ");a.wtf?c=y.map(function(la){return"HTML"+la+"Element"}).concat(v):
a.EventTarget?c.push("EventTarget"):c=v;var B=a.__Zone_disable_IE_check||!1,I=a.__Zone_enable_cross_context_check||!1,N=b.isIEOrEdge(),Q={MSPointerCancel:"pointercancel",MSPointerDown:"pointerdown",MSPointerEnter:"pointerenter",MSPointerHover:"pointerhover",MSPointerLeave:"pointerleave",MSPointerMove:"pointermove",MSPointerOut:"pointerout",MSPointerOver:"pointerover",MSPointerUp:"pointerup"};for(v=0;v<d.length;v++){var Z=d[v],Y=q+(Z+l),ka=q+(Z+h);g[Z]={};g[Z][l]=Y;g[Z][h]=ka}for(g=0;g<y.length;g++)for(h=
y[g],l=e[h]={},q=0;q<d.length;q++)v=d[q],l[v]=h+".addEventListener:"+v;d=[];for(e=0;e<c.length;e++)y=a[c[e]],d.push(y&&y.prototype);b.patchEventTarget(a,b,d,{vh:function(la,Da,za,Oa){if(!B&&N)if(I)try{var Va=Da.toString();if("[object FunctionWrapper]"===Va||"function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }"==Va)return la.apply(za,Oa),!1}catch(Ya){return la.apply(za,Oa),!1}else{if(Da=Da.toString(),"[object FunctionWrapper]"===Da||"function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }"==
Da)return la.apply(za,Oa),!1}else if(I)try{Da.toString()}catch(Ya){return la.apply(za,Oa),!1}return!0},transferEventName:function(la){return Q[la]||la}});Zone[b.symbol("patchEventTarget")]=!!a.EventTarget},Eea=function(a,b){var c=a.getGlobalObjects(),d=c.ADD_EVENT_LISTENER_STR,e=c.REMOVE_EVENT_LISTENER_STR,g=b.WebSocket;b.EventTarget||a.patchEventTarget(b,a,[g.prototype]);b.WebSocket=function(l,q){var v=1<arguments.length?new g(l,q):new g(l),y=a.ObjectGetOwnPropertyDescriptor(v,"onmessage");if(y&&
!1===y.configurable){var B=a.ObjectCreate(v);var I=v;[d,e,"send","close"].forEach(function(N){B[N]=function(){var Q=a.ArraySlice.call(arguments);if(N===d||N===e){var Z=0<Q.length?Q[0]:void 0;Z&&(Z=Zone.__symbol__("ON_PROPERTY"+Z),v[Z]=B[Z])}return v[N].apply(v,Q)}})}else B=v;a.patchOnProperties(B,["close","error","message","open"],I);return B};c=b.WebSocket;for(var h in g)c[h]=g[h]},Fea=function(a,b){var c=a.getGlobalObjects(),d=c.isMix;if((c.isBrowser||d)&&!a.ObjectGetOwnPropertyDescriptor(HTMLElement.prototype,
"onclick")&&"undefined"!==typeof Element){if((c=a.ObjectGetOwnPropertyDescriptor(Element.prototype,"onclick"))&&!c.configurable)return!1;if(c)return a.ObjectDefineProperty(Element.prototype,"onclick",{enumerable:!0,configurable:!0,get:function(){return!0}}),d=!!document.createElement("div").onclick,a.ObjectDefineProperty(Element.prototype,"onclick",c),d}var e=b.XMLHttpRequest;if(!e)return!1;c=e.prototype;if(d=a.ObjectGetOwnPropertyDescriptor(c,"onreadystatechange"))return a.ObjectDefineProperty(c,
"onreadystatechange",{enumerable:!0,configurable:!0,get:function(){return!0}}),e=!!(new e).onreadystatechange,a.ObjectDefineProperty(c,"onreadystatechange",d||{}),e;var g=a.symbol("fake");a.ObjectDefineProperty(c,"onreadystatechange",{enumerable:!0,configurable:!0,get:function(){return this[g]},set:function(h){this[g]=h}});a=new e;c=function(){};a.onreadystatechange=c;c=a[g]===c;a.onreadystatechange=null;return c},Hea=function(a){for(var b=a.symbol("unbound"),c={},d=0;d<Gea.length;c={$jscomp$loop$prop$onproperty$2248:c.$jscomp$loop$prop$onproperty$2248},
d++){var e=Gea[d];c.$jscomp$loop$prop$onproperty$2248="on"+e;self.addEventListener(e,function(g){return function(h){h=h.target;var l;for(l=h?h.constructor.name+"."+g.$jscomp$loop$prop$onproperty$2248:"unknown."+g.$jscomp$loop$prop$onproperty$2248;h;){if(h[g.$jscomp$loop$prop$onproperty$2248]&&!h[g.$jscomp$loop$prop$onproperty$2248][b]){var q=a.wrapWithCurrentZone(h[g.$jscomp$loop$prop$onproperty$2248],l);q[b]=h[g.$jscomp$loop$prop$onproperty$2248];h[g.$jscomp$loop$prop$onproperty$2248]=q}h=h.parentElement}}}(c),
!0)}},mc=function(a){for(var b in a)if(a[b]===mc)return b;throw Error("va");},Iea=function(a,b){for(var c in b)b.hasOwnProperty(c)&&!a.hasOwnProperty(c)&&(a[c]=b[c])},nc=function(a){return{token:a.token,providedIn:a.providedIn||null,factory:a.factory,value:void 0}},oc=function(a){return{providers:a.providers||[],imports:a.imports||[]}},Lea=function(a){var b;(b=a.hasOwnProperty(Jea)?a[Jea]:null)||(b=a.hasOwnProperty(Kea)?a[Kea]:null);return b},Mea=function(a){return(a=a&&(a[Jea]||a[Kea]))?a:null},
Pea=function(a){return a&&(a.hasOwnProperty(Nea)||a.hasOwnProperty(Oea))?a[Nea]:null},pc=function(a){return"string"===typeof a?a:null==a?"":String(a)},qc=function(a){if("string"===typeof a)return a;if(Array.isArray(a))return"["+a.map(qc).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)},Qea=function(a,b){return null==a||""===a?null===b?"":b:null==b||
""===b?a:a+" "+b},Rea=function(){throw new rc(-201,!1);},sc=function(a){var b=Sea;Sea=a;return b},Tea=function(a,b,c){var d=Lea(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;Rea(qc(a))},tc=function(a){a.__forward_ref__=tc;a.toString=function(){return qc(this())};return a},uc=function(a){return Uea(a)?a():a},Uea=function(a){return"function"===typeof a&&a.hasOwnProperty(Vea)&&a.__forward_ref__===tc},vc=function(a){var b=Wea;
Wea=a;return b},Xea=function(a,b){b=void 0===b?0:b;if(void 0===Wea)throw new rc(-203,!1);return null===Wea?Tea(a,void 0,b):Wea.get(a,b&8?null:void 0,b)},w=function(a,b){b=void 0===b?0:b;return(Sea||Xea)(uc(a),b)},wc=function(a,b){return w(a,Yea(void 0===b?0:b))},Yea=function(a){return"undefined"===typeof a||"number"===typeof a?a:0|(a.optional&&8)|(a.host&&1)|(a.self&&2)|(a.skipSelf&&4)},Zea=function(a){for(var b=[],c=0;c<a.length;c++){var d=uc(a[c]);if(Array.isArray(d)){if(0===d.length)throw new rc(900,
!1);for(var e=void 0,g=0,h=0;h<d.length;h++){var l=d[h],q=l.__NG_DI_FLAG__;"number"===typeof q?-1===q?e=l.token:g|=q:e=l}b.push(w(e,g))}else b.push(w(d))}return b},$ea=function(a,b){a.__NG_DI_FLAG__=b;a.prototype.__NG_DI_FLAG__=b;return a},afa=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}},bfa=function(a,b,c){for(var d=0;d<c.length;){var e=c[d];if("number"===typeof e){if(0!==
e)break;d++;e=c[d++];var g=c[d++],h=c[d++];a.setAttribute(b,g,h,e)}else g=c[++d],64===e.charCodeAt(0)?a.setProperty(b,e,g):a.setAttribute(b,e,g),d++}},dfa=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?cfa(a,c,e,b[++d]):cfa(a,c,e,null))}return a},cfa=function(a,b,c,d){var e=0,g=a.length;if(-1===b)g=-1;else for(;e<a.length;){var h=a[e++];if("number"===typeof h)if(h===b){g=-1;
break}else if(h>b){g=e-1;break}}for(;e<a.length;){h=a[e];if("number"===typeof h)break;else if(h===c){null!==d&&(a[e+1]=d);return}e++;null!==d&&e++}-1!==g&&(a.splice(g,0,b),e=g+1);a.splice(e++,0,c);null!==d&&a.splice(e++,0,d)},efa=function(a,b,c){var d=4,e=a.attrs||[],g;a:{for(g=0;g<e.length;g++){var h=e[g];if(3===h||4===h||6===h)break a}g=e.length}h=!1;for(var l=0;l<b.length;l++){var q=b[l];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 v=d&8?q:b[++l];if(d&8&&null!==a.attrs){a:{q=a.attrs;for(var y=c,B=0,I=!0;B<q.length;){var N=q[B++];if("string"===typeof N&&I){var Q=q[B++];if(y&&"class"===N&&-1!==afa(Q.toLowerCase(),v)){v=!0;break a}}else if(1===N){for(;B<q.length&&"string"==typeof(N=q[B++]);)if(N.toLowerCase()===v){v=!0;break a}break}else"number"===typeof N&&(I=!1)}v=!1}if(!v){if(0===(d&1))return!1;h=!0}}else{a:if(q=
d&8?"class":q,null===e)q=-1;else if(y=0,c||4!==a.type||"ng-template"===a.value){for(B=!1;y<e.length;){I=e[y];if(I===q){q=y;break a}if(3===I||6===I)B=!0;else if(1===I||2===I){for(I=e[++y];"string"===typeof I;)I=e[++y];continue}else if(4===I)break;else if(0===I){y+=4;continue}y+=B?1:2}q=-1}else b:{y=e.indexOf(4);if(-1<y)for(y++;y<e.length;){B=e[y];if("number"===typeof B)break;if(B===q){q=y;break b}y++}q=-1}if(-1===q){if(0===(d&1))return!1;h=!0}else if(""!==v&&(q=q>g?"":e[q+1].toLowerCase(),(y=d&8?q:
null)&&-1!==afa(y,v)||d&2&&v!==q)){if(0===(d&1))return!1;h=!0}}}}return 0===(d&1)||h},ffa=function(a,b,c){c=void 0===c?!1:c;for(var d=0;d<b.length;d++)if(efa(a,b[d],c))return!0;return!1},gfa=function(a){for(var b=a[0],c=1,d=2,e="",g=!1;c<a.length;){var h=a[c];if("string"===typeof h)if(d&2){var l=a[++c];e+="["+h+(0<l.length?'="'+l+'"':"")+"]"}else d&8?e+="."+h:d&4&&(e+=" "+h);else""!==e&&0!==(h&1)&&(b+=g?":not("+e.trim()+")":e,e=""),d=h,g=g||0!==(d&1);c++}""!==e&&(b+=g?":not("+e.trim()+")":e);return b},
hfa=function(a){return{toString:a}.toString()},zc=function(a){return hfa(function(){var b=ifa(a),c;b=Object.assign({},b,{decls:a.decls,vars:a.vars,template:a.template,consts:a.consts||null,ngContentSelectors:a.ngContentSelectors,onPush: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||yc,_:null,schemas:a.schemas||null,tView:null,
id:""});jfa(b);c=a.dependencies;b.directiveDefs=kfa(c,!1);b.pipeDefs=kfa(c,!0);c=0;var d=[b.selectors,b.ngContentSelectors,b.hostVars,b.hostAttrs,b.consts,b.vars,b.decls,b.encapsulation,b.standalone,b.signals,b.exportAs,JSON.stringify(b.inputs),JSON.stringify(b.outputs),Object.getOwnPropertyNames(b.type.prototype),!!b.contentQueries,!!b.viewQuery].join("|");d=k(d);for(var e=d.next();!e.done;e=d.next())c=Math.imul(31,c)+e.value.charCodeAt(0)<<0;b.id="c"+(c+2147483648);return b})},lfa=function(a,b){a=
a.\u0275cmp;a.directiveDefs=kfa(b,!1);a.pipeDefs=kfa([],!0)},nfa=function(a){return a[Ac]||a[mfa]||null},ofa=function(a){return null!==a},Bc=function(a){return hfa(function(){return{type:a.type,bootstrap:a.bootstrap||yc,declarations:a.declarations||yc,imports:a.imports||yc,exports:a.exports||yc,transitiveCompileScopes:null,schemas:a.schemas||null,id:a.id||null}})},qfa=function(a,b){if(null==a)return pfa;var c={},d;for(d in a)if(a.hasOwnProperty(d)){var e=a[d],g=e;Array.isArray(e)&&(g=e[1],e=e[0]);
c[e]=d;b&&(b[e]=g)}return c},Cc=function(a){return hfa(function(){var b=ifa(a);jfa(b);return b})},Dc=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}},sfa=function(a){return a[rfa]||null},ifa=function(a){var b={};return{type:a.type,providersResolver:null,factory:null,hostBindings:a.hostBindings||null,hostVars:a.hostVars||0,hostAttrs:a.hostAttrs||null,contentQueries:a.contentQueries||null,declaredInputs:b,
exportAs:a.exportAs||null,standalone:!0===a.standalone,signals:!0===a.signals,selectors:a.selectors||yc,viewQuery:a.viewQuery||null,features:a.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:qfa(a.inputs,b),outputs:qfa(a.outputs)}},jfa=function(a){var b;null==(b=a.features)||b.forEach(function(c){return c(a)})},kfa=function(a,b){if(!a)return null;var c=b?sfa:nfa;return function(){return("function"===typeof a?a():a).map(function(d){return c(d)}).filter(ofa)}},Ec=
function(a){return a.hasOwnProperty(tfa)?a[tfa]:null},ufa=function(a,b){a.forEach(function(c){return Array.isArray(c)?ufa(c,b):b(c)})},vfa=function(a,b){return b>=a.length-1?a.pop():a.splice(b,1)[0]},wfa=function(a,b){for(var c=[],d=0;d<a;d++)c.push(b);return c},yfa=function(a,b,c){var d=xfa(a,b);if(0<=d)a[d|1]=c;else{var e=d=~d,g=a.length;if(g==e)a.push(b,c);else if(1===g)a.push(c,a[0]),a[0]=b;else{g--;for(a.push(a[g-1],a[g]);g>e;)a[g]=a[g-2],g--;a[e]=b;a[e+1]=c}}return d},zfa=function(a,b){b=xfa(a,
b);if(0<=b)return a[b|1]},xfa=function(a,b){for(var c=0,d=a.length>>1;d!==c;){var e=c+(d-c>>1),g=a[e<<1];if(b===g)return e<<1;g>b?d=e:c=e+1}return~(d<<1)},Bfa=function(){return{"\u0275providers":Afa(!0,Fc.apply(0,arguments)),"\u0275fromNgModule":!0}},Afa=function(a){var b=[],c=new Set,d;ufa(Fc.apply(1,arguments),function(e){Cfa(e,b,[],c)&&(d||(d=[]),d.push(e))});void 0!==d&&Dfa(d,b);return b},Dfa=function(a,b){for(var c={},d=0;d<a.length;c={$jscomp$loop$prop$providers$2250:c.$jscomp$loop$prop$providers$2250,
$jscomp$loop$prop$ngModule$2251:c.$jscomp$loop$prop$ngModule$2251},d++){var e=a[d];c.$jscomp$loop$prop$ngModule$2251=e.ngModule;c.$jscomp$loop$prop$providers$2250=e.providers;Efa(c.$jscomp$loop$prop$providers$2250,function(){return function(g){b.push(g)}}(c))}},Cfa=function(a,b,c,d){a=uc(a);if(!a)return!1;var e=null,g=Pea(a),h=!g&&(a[Ac]||null);if(g||h){if(h&&!h.standalone)return!1;e=a}else{var l=a.ngModule;if(g=Pea(l))e=l;else return!1}l=d.has(e);if(h){if(l)return!1;d.add(e);if(h.dependencies)for(g=
"function"===typeof h.dependencies?h.dependencies():h.dependencies,g=k(g),l=g.next();!l.done;l=g.next())Cfa(l.value,b,c,d)}else if(g){if(null!=g.imports&&!l){d.add(e);var q;ufa(g.imports,function(v){Cfa(v,b,c,d)&&(q||(q=[]),q.push(v))});void 0!==q&&Dfa(q,b)}l||(h=Ec(e)||function(){return new e},b.push({provide:e,useFactory:h,deps:yc},{provide:Ffa,useValue:e,multi:!0},{provide:Gfa,useValue:function(){return w(e)},multi:!0}));g=g.providers;null==g||l||Efa(g,function(v){b.push(v)})}else return!1;return e!==
a&&void 0!==a.providers},Efa=function(a,b){a=k(a);for(var c=a.next();!c.done;c=a.next())(c=c.value)&&c.\u0275providers&&(c=c.\u0275providers),Array.isArray(c)?Efa(c,b):b(c)},Ifa=function(a){return null!==a&&"object"==typeof a&&Hfa in a},Gc=function(a){return"function"===typeof a},Lfa=function(){void 0===Jfa&&(Jfa=new Kfa);return Jfa},Nfa=function(a){var b=Lea(a);b=null!==b?b.factory:Ec(a);if(null!==b)return b;if(a instanceof Hc)throw new rc(204,!1);if(a instanceof Function)return Mfa(a);throw new rc(204,
!1);},Mfa=function(a){var b=a.length;if(0<b)throw wfa(b,"?"),new rc(204,!1);var c=Mea(a);return null!==c?function(){return c.factory(a)}:function(){return new a}},Qfa=function(a){if(Ifa(a))return Ic(void 0,a.useValue);a=Ofa(a);return Ic(a,Pfa)},Ofa=function(a){var b=void 0;if(Gc(a))return b=uc(a),Ec(b)||Nfa(b);if(Ifa(a))b=function(){return uc(a.useValue)};else if(a&&a.useFactory)b=function(){return a.useFactory.apply(a,Jc(Zea(a.deps||[])))};else if(a&&a.useExisting)b=function(){return w(uc(a.useExisting))};
else{var c=uc(a&&(a.useClass||a.provide));if(a.deps)b=function(){return new (Function.prototype.bind.apply(c,[null].concat(Jc(Zea(a.deps)))))};else return Ec(c)||Nfa(c)}return b},Ic=function(a,b,c){return{factory:a,value:b,multi:(void 0===c?0:c)?[]:void 0}},Rfa=function(a,b){a=k(a);for(var c=a.next();!c.done;c=a.next())c=c.value,Array.isArray(c)?Rfa(c,b):c&&c&&c.\u0275providers?Rfa(c.\u0275providers,b):b(c)},Sfa=function(a){return function(){var b=Fc.apply(0,arguments);if(a){b=a.apply(null,Jc(b));
for(var c in b)this[c]=b[c]}}},Tfa=function(a){return hfa(function(){function b(){function d(h,l,q){for(l=h.hasOwnProperty("__parameters__")?h.__parameters__:Object.defineProperty(h,"__parameters__",{value:[]}).__parameters__;l.length<=q;)l.push(null);(l[q]=l[q]||[]).push(g);return h}var e=Fc.apply(0,arguments);if(this instanceof b)return c.apply(this,e),this;var g=new (Function.prototype.bind.apply(b,[null].concat(Jc(e))));d.annotation=g;return d}var c=Sfa(a);return b})},Kc=function(a){return Array.isArray(a)&&
"object"===typeof a[1]},Lc=function(a){return Array.isArray(a)&&!0===a[1]},Mc=function(){return Ufa},Ufa=function(a){a.type.prototype.ngOnChanges&&(a.setInput=Vfa);return Wfa},Wfa=function(){var a=this.__ngSimpleChanges__||null,b=null==a?void 0:a.current;if(b){var c=a.previous;if(c===pfa)a.previous=b;else for(var d in b)c[d]=b[d];a.current=null;this.ngOnChanges(b)}},Vfa=function(a,b,c,d){c=this.declaredInputs[c];var e;(e=a.__ngSimpleChanges__||null)||(e=a.__ngSimpleChanges__={previous:pfa,current:null});
var g=e;e=g.current||(g.current={});g=g.previous;var h=g[c];e[c]=new Xfa(h&&h.currentValue,b,g===pfa);a[d]=b},Nc=function(a){for(;Array.isArray(a);)a=a[0];return a},Oc=function(a,b){return Nc(b[a.index])},Pc=function(a,b){a=b[a];return Kc(a)?a:a[0]},Qc=function(a,b){return null===b||void 0===b?null:a[b]},Zfa=function(a){a[2]&1024&&(a[2]&=-1025,Yfa(a,-1))},Yfa=function(a,b){a=a[3];if(null!==a){a[5]+=b;var c=a;for(a=a[3];null!==a&&(1===b&&1===c[5]||-1===b&&0===c[5]);)a[5]+=b,c=a,a=a[3]}},x=function(){return Rc.lView},
z=function(a){Rc.contextLView=a;return a[8]},A=function(a){Rc.contextLView=null;return a},Sc=function(){for(var a=Rc.currentTNode;null!==a&&64===a.type;)a=a.parent;return a},Tc=function(a,b){var c=Rc;c.currentTNode=a;c.isParent=b},Uc=function(){var a=Rc,b=a.bindingRootIndex;-1===b&&(b=a.bindingRootIndex=a.tView.bindingStartIndex);return b},$fa=function(a){var b=Rc,c=b.bindingIndex;b.bindingIndex+=a;return c},aga=function(a){var b=Rc.currentDirectiveIndex;return-1===b?null:a[b]},cga=function(a,b,c){if(c&
4){for(;!(b=b.parent,null!==b||c&1);){b=a[1];b=2===b.type?b.declTNode:1===b.type?a[6]:null;if(null===b)break;a=a[14];if(b.type&10)break}if(null===b)return!1}c=Rc=bga();c.currentTNode=b;c.lView=a;return!0},dga=function(a){var b=bga(),c=a[1];Rc=b;b.currentTNode=c.firstChild;b.lView=a;b.tView=c;b.contextLView=a;b.bindingIndex=c.bindingStartIndex;b.inI18n=!1},bga=function(){var a=Rc,b=null===a?null:a.child;return null===b?ega(a):b},ega=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},fga=function(){var a=Rc;Rc=a.parent;a.currentTNode=null;a.lView=null;return a},gga=function(){var a=fga();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},Vc=function(){var a=Rc;return a.tView.data[a.selectedIndex]},Xc=function(){Rc.currentNamespace="svg"},Yc=function(){Rc.currentNamespace=null},Zc=function(a){var b=hga;hga=a;return b},iga=function(a,b){var c=b.directiveStart;for(b=b.directiveEnd;c<b;c++){var d=a.data[c].type.prototype,e=d.ngAfterContentInit,g=d.ngAfterContentChecked,h=d.ngAfterViewInit,l=d.ngAfterViewChecked;d=d.ngOnDestroy;if(e){var q=void 0,v=void 0;(null!=(v=(q=a).contentHooks)?v:q.contentHooks=[]).push(-c,
e)}g&&(q=e=void 0,(null!=(q=(e=a).contentHooks)?q:e.contentHooks=[]).push(c,g),q=e=void 0,(null!=(q=(e=a).contentCheckHooks)?q:e.contentCheckHooks=[]).push(c,g));h&&(e=g=void 0,(null!=(e=(g=a).viewHooks)?e:g.viewHooks=[]).push(-c,h));l&&(g=h=void 0,(null!=(g=(h=a).viewHooks)?g:h.viewHooks=[]).push(c,l),g=h=void 0,(null!=(g=(h=a).viewCheckHooks)?g:h.viewCheckHooks=[]).push(c,l));null!=d&&(h=l=void 0,(null!=(h=(l=a).destroyHooks)?h:l.destroyHooks=[]).push(c,d))}},kga=function(a,b,c,d){(a[2]&3)===c&&
jga(a,b,c,d)},lga=function(a,b){var c=a[2];(c&3)===b&&(a[2]=(c&8191)+1)},jga=function(a,b,c,d){for(var e=null!=d?d:-1,g=b.length-1,h=0,l=void 0!==d?a[17]&65535:0;l<g;l++)if("number"===typeof b[l+1]){if(h=b[l],null!=d&&h>=d)break}else{0>b[l]&&(a[17]+=65536);if(h<e||-1==e){var q=0>b[l],v=b[l+1],y=a[q?-b[l]:b[l]];q?a[2]>>13<a[17]>>16&&(a[2]&3)===c&&(a[2]+=8192,mga(y,v)):mga(y,v);a[17]=(a[17]&4294901760)+l+2}l++}},mga=function(a,b){var c=Zc(null);try{b.call(a)}finally{Zc(c)}},nga=function(a,b){for(a>>=
16;0<a;)b=b[14],a--;return b},pga=function(a){var b=oga;oga=a;return b},sga=function(a,b,c){var d;"string"===typeof c?d=c.charCodeAt(0)||0:c.hasOwnProperty(qga)&&(d=c[qga]);null==d&&(d=c[qga]=rga++);c=d&255;b.data[a+(c>>5)]|=1<<c},wga=function(a,b){var c=tga(a,b);if(-1!==c)return c;c=b[1];c.firstCreatePass&&(a.injectorIndex=b.length,uga(c.data,a),uga(b,null),uga(c.blueprint,null));c=vga(a,b);a=a.injectorIndex;if(-1!==c)for(var d=c&32767,e=nga(c,b),g=e[1].data,h=0;8>h;h++)b[a+h]=e[d+h]|g[d+h];b[a+
8]=c;return a},uga=function(a,b){a.push(0,0,0,0,0,0,0,0,b)},tga=function(a,b){return-1===a.injectorIndex||a.parent&&a.parent.injectorIndex===a.injectorIndex||null===b[a.injectorIndex+8]?-1:a.injectorIndex},vga=function(a,b){if(a.parent&&-1!==a.parent.injectorIndex)return a.parent.injectorIndex;a=0;for(var c=b;null!==c;){b=xga(c);if(null===b)break;a++;c=c[14];if(-1!==b.injectorIndex)return b.injectorIndex|a<<16}return-1},$c=function(a){var b=Sc();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},yga=function(a,b,c,d){c&8&&void 0===d&&(d=null);if(0===(c&3)){a=a[9];var e=sc();try{return a?a.get(b,d,c&8):Tea(b,d,c&8)}finally{sc(e)}}c&8||void 0!==d?b=d:(Rea(),b=void 0);return b},Aga=function(a,b,c,d,e){d=void 0===d?0:d;if(null!==a){if(b[2]&2048&&!(d&2)){a:{var g=d;for(var h=ad,l=a,q=
b;null!==l&&null!==q&&q[2]&2048&&!(q[2]&512);){var v=zga(l,q,c,g|2);if(v!==ad){g=v;break a}l=l.parent;if(!l){if(l=q[20])if(l=l.get(c,ad,g),l!==ad){g=l;break a}l=xga(q);q=q[14]}}g=h}if(g!==ad)return g}a=zga(a,b,c,d);if(a!==ad)return a}return yga(b,c,d,e)},zga=function(a,b,c,d){var e=ad;if("string"===typeof c)var g=c.charCodeAt(0)||0;else g=c.hasOwnProperty(qga)?c[qga]:void 0,g="number"===typeof g?0<=g?g&255:Bga:g;if("function"===typeof g){if(!cga(b,a,d))return d&1?d&8||void 0!==e?b=e:(Rea(),b=void 0):
b=yga(b,c,d,e),b;try{var h=g(d);if(null!=h||d&8)return h;Rea()}finally{fga()}}else if("number"===typeof g){h=null;var l=tga(a,b),q=d&1?b[15][6]:null;if(-1===l||d&4){var v=-1===l?vga(a,b):b[l+8];-1===v||d&2?l=-1:(h=b[1],l=v&32767,b=nga(v,b))}for(;-1!==l;){a=b[1];if(a.data[l+(g>>5)]&1<<g){v=b[1];var y=v.data[l+8],B=Cga(y,v,c,null==h?-1<y.componentOffset&&oga:h!=v&&0!==(y.type&3),d&1&&q===y);v=null!==B?bd(b,v,B,y):ad;if(v!==ad)return v}v=b[l+8];-1!==v&&!(d&2||d&1&&b[1].data[l+8]===q)&&b[l+(g>>5)]&1<<
g?(h=a,l=v&32767,b=nga(v,b)):l=-1}}return e},Cga=function(a,b,c,d,e){var g=a.providerIndexes,h=b.data,l=g&1048575;b=a.directiveStart;a=a.directiveEnd;var q=g>>20;g=e?l+q:a;for(d=d?l:l+q;d<g;d++)if(l=h[d],d<b&&c===l||d>=b&&l.type===c)return d;return e&&(e=h[b])&&e.template&&e.type===c?b:null},bd=function(a,b,c,d){var e=a[c],g=b.data;if(e instanceof Dga){var h=e;if(h.resolving)throw a=g[c],new rc(-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():pc(a)));var l=pga(h.canSeeViewProviders);h.resolving=!0;var q=h.injectImpl?sc(h.injectImpl):null;cga(a,d,0);try{if(e=a[c]=h.factory(void 0,g,a,d),b.firstCreatePass&&c>=d.directiveStart){var v=g[c],y=v.type.prototype,B=y.ngOnInit,I=y.ngDoCheck;if(y.ngOnChanges){var N=Ufa(v),Q;(null!=(Q=b.preOrderHooks)?Q:b.preOrderHooks=[]).push(c,N);var Z;(null!=(Z=b.preOrderCheckHooks)?Z:b.preOrderCheckHooks=[]).push(c,N)}if(B){var Y;(null!=(Y=b.preOrderHooks)?
Y:b.preOrderHooks=[]).push(-c,B)}if(I){var ka;(null!=(ka=b.preOrderHooks)?ka:b.preOrderHooks=[]).push(c,I);var la;(null!=(la=b.preOrderCheckHooks)?la:b.preOrderCheckHooks=[]).push(c,I)}}}finally{null!==q&&sc(q),pga(l),h.resolving=!1,fga()}}return e},Bga=function(){return new cd(Sc(),x())},dd=function(a){return hfa(function(){var b=a.prototype.constructor;b=b[tfa]||Ega(b);for(var c=Object.prototype,d=Object.getPrototypeOf(a.prototype).constructor;d&&d!==c;){var e=d[tfa]||Ega(d);if(e&&e!==b)return e;
d=Object.getPrototypeOf(d)}return function(g){return new g}})},Ega=function(a){return Uea(a)?function(){var b=Ega(uc(a));return b&&b()}:Ec(a)},xga=function(a){var b=a[1],c=b.type;return 2===c?b.declTNode:1===c?a[6]:null},Hga=function(a,b,c,d){a=Fga(a,void 0===b?null:b,void 0===c?null:c,d);Gga(a);return a},Fga=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)||yc,Bfa(a)];d=d||("object"===typeof a?void 0:qc(a));return new ed(c,b||Lfa(),d||null,e)},Jga=function(){if(void 0!==
Iga)return Iga;if("undefined"!==typeof document)return document;throw new rc(210,!1);},gd=function(a,b){return new fd(Oc(a,b))},Kga=function(a){return a instanceof fd?a.nativeElement:a},id=function(a,b){Kc(b)?(a.__ngContext__=b[19],Lga.set(b[19],b)):a.__ngContext__=b},Mga=function(a){a=a[3];return Lc(a)?a[3]:a},Nga=function(a){for(;null!==a&&!Lc(a);)a=a[4];return a},Oga=function(a){for(;a;){a[2]|=64;var b=Mga(a);if(0!==(a[2]&512)&&!b)break;a=b}},jd=function(a){return a.ownerDocument.defaultView},
Pga=function(a){return a.ownerDocument},C=function(a){Qga(Rc.tView,x(),Rc.selectedIndex+a)},Qga=function(a,b,c){3===(b[2]&3)?(a=a.preOrderCheckHooks,null!==a&&jga(b,a,3,c)):(a=a.preOrderHooks,null!==a&&kga(b,a,0,c));Rc.selectedIndex=c},D=function(a,b){b=void 0===b?0:b;var c=x();return null===c?w(a,b):Aga(Sc(),c,uc(a),b)},kd=function(){throw Error("za");},Tga=function(){return"".replace(Rga,function(a){return a.replace(Sga,"\u200b$1\u200b")})},ld=function(a,b,c,d,e){if(null!=d){var g=!1;if(Lc(d))var h=
d;else Kc(d)&&(g=!0,d=d[0]);d=Nc(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 l=b.parentNode(d);l&&b.removeChild(l,d,g)}else 3===a&&b.destroyNode(d);if(null!=h)for(d=h[7],g=Nc(h),d!==g&&ld(a,b,c,d,e),e=11;e<h.length;e++)g=h[e],md(b,a,g[1].firstChild,g,c,d,!1)}},Uga=function(a,b){a=a[9];var c=a.indexOf(b);Zfa(b);a.splice(c,1)},Vga=function(a,b){if(!(11>=a.length)){var c=11+b,d=a[c];if(d){var e=
d[16];null!==e&&e!==a&&Uga(e,d);0<b&&(a[c-1][4]=d[4]);a=vfa(a,11+b);md(d[11],2,d[1].firstChild,d,null,null,!1);d[0]=null;d[6]=null;b=a[18];null!==b&&b.detachView(a[1]);d[3]=null;d[4]=null;d[2]&=-129}return d}},Xga=function(a,b){if(!(b[2]&256)){var c=b[11],d;null==(d=b[23])||d.destroy();var e;null==(e=b[24])||e.destroy();c.destroyNode&&md(c,3,a.firstChild,b,null,null,!1);if(a=b[12])for(;a;){c=null;Kc(a)?c=a[12]:(d=a[11])&&(c=d);if(!c){for(;a&&!a[4]&&a!==b;)Kc(a)&&Wga(a[1],a),a=a[3];null===a&&(a=b);
Kc(a)&&Wga(a[1],a);c=a&&a[4]}a=c}else Wga(b[1],b)}},Wga=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 Dga)){var g=c[d+1];if(Array.isArray(g))for(var h=0;h<g.length;h+=2)g[h+1].call(e[g[h]]);else g.call(e)}}c=a.cleanup;d=b[7];if(null!==c)for(e=0;e<c.length-1;e+=2)if("string"===typeof c[e]){g=c[e+3];if(0<=g)d[g]();else d[-g].unsubscribe();e+=2}else c[e].call(d[c[e+1]]);null!==d&&(b[7]=null);
c=b[21];if(null!==c)for(b[21]=null,d=0;d<c.length;d++)(0,c[d])();1===b[1].type&&b[11].destroy();c=b[16];null!==c&&Lc(b[3])&&(c!==b[3]&&Uga(c,b),c=b[18],null!==c&&c.detachView(a));Lga.delete(b[19])}},Yga=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:Oc(b,c)},Zga=function(a,b,c,d){a=Yga(a,d.parent,b);var e=b[11];d=d.parent||b[6];b=d.type&40?Oc(d,b):null;if(null!=a)if(Array.isArray(c))for(d=
0;d<c.length;d++){var g=c[d];null!==b?e.insertBefore(a,g,b,!1):e.appendChild(a,g)}else null!==b?e.insertBefore(a,c,b,!1):e.appendChild(a,c)},aha=function(a,b){if(null!==b){var c=b.type;if(c&3)return Oc(b,a);if(c&4)return $ga(-1,a[b.index]);if(c&8){c=b.child;if(null!==c)return aha(a,c);a=a[b.index];return Lc(a)?$ga(-1,a):Nc(a)}if(c&32)return(void 0)(b,a)()||Nc(a[b.index]);c=null!==b?a[15][6].projection[b.projection]:null;if(null!==c){if(Array.isArray(c))return c[0];a=Mga(a[15]);return aha(a,c)}return aha(a,
b.next)}return null},$ga=function(a,b){a+=12;if(a<b.length){a=b[a];var c=a[1].firstChild;if(null!==c)return aha(a,c)}return b[7]},md=function(a,b,c,d,e,g,h){for(;null!=c;){var l=d[c.index],q=c.type;h&&0===b&&(l&&id(Nc(l),d),c.flags|=2);if(32!==(c.flags&32))if(q&8)md(a,b,c.child,d,e,g,!1),ld(b,a,e,l,g);else if(q&32){q=(void 0)(c,d);for(var v;v=q();)ld(b,a,e,v,g);ld(b,a,e,l,g)}else q&16?bha(a,b,d,c,e,g):ld(b,a,e,l,g);c=h?c.projectionNext:c.next}},bha=function(a,b,c,d,e,g){var h=c[15];c=h[6].projection[d.projection];
if(Array.isArray(c))for(d=0;d<c.length;d++)ld(b,a,e,c[d],g);else h=h[3],128===(d.flags&128)&&(c.flags|=128),md(a,b,c,h,e,g,!0)},cha=function(a,b,c){var d=c.mergedAttrs,e=c.classes;c=c.styles;null!==d&&bfa(a,b,d);null!==e&&(""===e?a.removeAttribute(b,"class"):a.setAttribute(b,"class",e));null!==c&&a.setAttribute(b,"style",c)},eha=function(){null!=dha||(dha=new od);return dha},fha=function(a,b){var c;return null!=(c=a[b])?c:eha()},gha=function(a,b){var c=eha();c.hasReadASignal&&(a[b]=dha,c.lView=a,
dha=new od)},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("Aa`"+b+"`"+a);}return a===b},iha=function(){if(void 0===hha&&(hha=null,sd.trustedTypes))try{hha=sd.trustedTypes.createPolicy("angular",{createHTML:function(a){return a},createScript:function(a){return a},createScriptURL:function(a){return a}})}catch(a){}return hha},jha=function(a){var b;
return(null==(b=iha())?void 0:b.createHTML(a))||a},lha=function(a){a=String(a);return a.match(kha)?a:"unsafe:"+a},td=function(a){var b={};a=k(a.split(","));for(var c=a.next();!c.done;c=a.next())b[c.value]=!0;return b},mha=function(){for(var a={},b=k(Fc.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},pha=function(a){return a.replace(/&/g,"&amp;").replace(nha,function(b){return"&#"+(1024*(b.charCodeAt(0)-55296)+(b.charCodeAt(1)-56320)+
65536)+";"}).replace(oha,function(b){return"&#"+b.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")},zha=function(a,b){var c=null;try{var d;if(!(d=qha)){var e=new rha(a);try{var g=!!(new window.DOMParser).parseFromString(jha(""),"text/html")}catch(ka){g=!1}d=g?new sha(e):e}qha=d;var h=b?String(b):"";c=qha.getInertBodyElement(h);a=5;b=h;do{if(0===a)throw Error("Ca");a--;h=b;b=c.innerHTML;c=qha.getInertBodyElement(h)}while(h!==b);var l=new tha,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=l;b=q;var v=b.nodeName.toLowerCase();if(uha.hasOwnProperty(v)){a.buf.push("<");a.buf.push(v);var y=b.attributes;for(b=0;b<y.length;b++){var B=y.item(b),I=B.name,N=I.toLowerCase();if(vha.hasOwnProperty(N)){var Q=B.value;wha[N]&&(Q=lha(Q));a.buf.push(" ",I,'="',pha(Q),'"')}}a.buf.push(">");h=!0}else h=!xha.hasOwnProperty(v)}else q.nodeType===Node.TEXT_NODE&&l.buf.push(pha(q.nodeValue));if(h&&q.firstChild)q=
q.firstChild;else for(;q;){q.nodeType===Node.ELEMENT_NODE&&l.endElement(q);var Z=yha(q,q.nextSibling);if(Z){q=Z;break}q=yha(q,q.parentNode)}}var Y=l.buf.join("");return jha(Y)}finally{if(c)for(c=("content"in c&&c.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===c.nodeName?c.content:null)||c;c.firstChild;)c.removeChild(c.firstChild)}},Bha=function(){if(void 0===Aha&&(Aha=null,sd.trustedTypes))try{Aha=sd.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:function(a){return a},createScript:function(a){return a},
createScriptURL:function(a){return a}})}catch(a){}return Aha},Cha=function(a){var b;return(null==(b=Bha())?void 0:b.createHTML(a))||a},Dha=function(a){var b;return(null==(b=Bha())?void 0:b.createScriptURL(a))||a},ud=function(a){var b=Eha();return b?Cha(b.sanitize(1,a)||""):rd(a,"HTML")?Cha(qd(a)):zha(Jga(),pc(a))},Fha=function(a){var b=Eha();return b?b.sanitize(2,a)||"":rd(a,"Style")?qd(a):pc(a)},vd=function(a){var b=Eha();return b?b.sanitize(4,a)||"":rd(a,"URL")?qd(a):lha(pc(a))},Gha=function(a){var b=
Eha();if(b)return Dha(b.sanitize(5,a)||"");if(rd(a,"ResourceURL"))return Dha(qd(a));throw new rc(904,!1);},Eha=function(){var a=x();return a&&a[10].sanitizer},Iha=function(a,b,c,d,e,g,h,l,q,v,y){var B=b.blueprint.slice();B[0]=e;B[2]=d|140;if(null!==v||a&&a[2]&2048)B[2]|=2048;B[17]=0;B[3]=B[14]=a;B[8]=c;B[10]=h||a&&a[10];B[11]=l||a&&a[11];B[9]=q||a&&a[9]||null;B[6]=g;B[19]=Hha++;B[22]=y;B[20]=v;B[15]=2==b.type?a[15]:B;return B},wd=function(a,b,c,d,e){var g=a.data[b];if(null===g){g=Rc.currentTNode;
var h=Rc.isParent,l=a.data,q=h?g:g&&g.parent,v=q?q.injectorIndex:-1,y=0;null!==Jha&&(y|=128);b=l[b]={type:c,index:b,insertBeforeIndex:null,injectorIndex:v,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:y,providerIndexes:0,value:d,attrs:e,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent: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!==g&&(h?null==g.child&&null!==b.parent&&(g.child=b):null===g.next&&(g.next=b,b.prev=g));g=b;Rc.inI18n&&(g.flags|=32)}else g.type&64&&(g.type=c,g.value=d,g.attrs=e,a=Rc,b=a.currentTNode,a=a.isParent?b:b.parent,g.injectorIndex=null===a?-1:a.injectorIndex);Tc(g,!0);return g},Kha=function(a,b,c,d){if(0===c)return-1;for(var e=b.length,g=0;g<c;g++)b.push(d),a.blueprint.push(d),
a.data.push(null);return e},Lha=function(a,b,c,d,e){var g=fha(b,23),h=Rc.selectedIndex,l=d&2;try{if(Rc.selectedIndex=-1,l&&25<b.length&&Qga(a,b,25),l)g.runInContext(c,d,e);else{var q=Zc(null);try{c(d,e)}finally{Zc(q)}}}finally{l&&null===b[23]&&gha(b,23),Rc.selectedIndex=h}},Mha=function(a,b,c){if(0!==(b.flags&4)){var d=Zc(null);try{for(var e=b.directiveEnd,g=b.directiveStart;g<e;g++){var h=a.data[g];h.contentQueries&&h.contentQueries(1,c[g],g)}}finally{Zc(d)}}},Rha=function(a,b,c){var d=Oc(c,b),e=
c.directiveStart,g=c.directiveEnd;if(-1<c.componentOffset){var h=a.data[e+c.componentOffset],l=Oc(c,b),q=Nha(h),v=b[10].rendererFactory,y=16;h.signals?y=4096:h.onPush&&(y=64);h=Oha(b,Iha(b,q,null,y,l,c,null,v.createRenderer(l,h),null,null,null));b[c.index]=h}a.firstCreatePass||wga(c,b);id(d,b);d=c.initialInputs;for(h=e;h<g;h++){l=a.data[h];q=bd(b,a,h,c);id(q,b);if(null!==d&&(v=d[h-e],null!==v))for(y=0;y<v.length;){var B=v[y++],I=v[y++],N=v[y++];Pha(l,q,B,I,N)}l.template&&(Pc(c.index,b)[8]=bd(b,a,
h,c))}64===(c.flags&64)&&Qha(a,b,c)},Sha=function(a,b,c){c=void 0===c?Oc:c;var d=b.localNames;if(null!==d)for(var e=b.index+1,g=0;g<d.length;g+=2){var h=d[g+1];h=-1===h?c(b,a):a[h];a[e++]=h}},Nha=function(a){var b=a.tView;return null===b||b.incompleteFirstPass?a.tView=Tha(1,null,a.template,a.decls,a.vars,a.directiveDefs,a.pipeDefs,a.viewQuery,a.schemas,a.consts,a.id):b},Tha=function(a,b,c,d,e,g,h,l,q,v,y){d=25+d;e=d+e;for(var B=[],I=0;I<e;I++)B.push(I<d?null:xd);v="function"===typeof v?v():v;return B[1]=
{type:a,blueprint:B,template:c,queries:null,viewQuery:l,declTNode:b,data:B.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:e,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"===typeof g?g():g,pipeRegistry:"function"===
typeof h?h():h,firstChild:null,schemas:q,consts:v,incompleteFirstPass:!1,ssrId:y}},Uha=function(a,b,c,d){for(var e in a)if(a.hasOwnProperty(e)){c=null===c?{}:c;var g=a[e];if(null===d){var h=c,l=b,q=e;h.hasOwnProperty(q)?h[q].push(l,g):h[q]=[l,g]}else d.hasOwnProperty(e)&&(h=c,l=b,q=d[e],h.hasOwnProperty(q)?h[q].push(l,g):h[q]=[l,g])}return c},Wha=function(a,b,c,d,e,g,h,l){var q=Oc(b,c),v=b.inputs,y;!l&&null!=v&&(y=v[d])?(Vha(a,c,y,d,e),-1<b.componentOffset&&(a=Pc(b.index,c),a[2]&16||(a[2]|=64))):
b.type&3&&(d="class"===d?"className":"for"===d?"htmlFor":"formaction"===d?"formAction":"innerHtml"===d?"innerHTML":"readonly"===d?"readOnly":"tabindex"===d?"tabIndex":d,e=null!=h?h(e,b.value||"",d):e,g.setProperty(q,d,e))},Zha=function(a,b,c,d){var e=null===d?null:{"":-1};var g=a.directiveRegistry;var h=null,l=null;if(g)for(var q=0;q<g.length;q++){var v=g[q];if(ffa(c,v.selectors,!1))if(h||(h=[]),v.template)if(null!==v.findHostDirectiveDefs){var y=[];l=l||new Map;v.findHostDirectiveDefs(v,y,l);h.unshift.apply(h,
[].concat(Jc(y),[v]));Xha(a,c,y.length)}else h.unshift(v),Xha(a,c,0);else{l=l||new Map;var B=y=void 0;null==(B=(y=v).findHostDirectiveDefs)||B.call(y,v,h,l);h.push(v)}}g=null===h?null:[h,l];null===g?g=h=null:(h=k(g),g=h.next().value,h=h.next().value);null!==g&&Yha(a,b,c,g,e,h);if(e&&d)for(a=c.localNames=[],b=0;b<d.length;b+=2){g=e[d[b+1]];if(null==g)throw new rc(-301,!1);a.push(d[b],g)}c.mergedAttrs=dfa(c.mergedAttrs,c.attrs)},Yha=function(a,b,c,d,e,g){for(var h=0;h<d.length;h++){var l=wga(c,b);sga(l,
a,d[h].type)}h=a.data.length;l=d.length;c.flags|=1;c.directiveStart=h;c.directiveEnd=h+l;c.providerIndexes=h;for(h=0;h<d.length;h++)l=d[h],l.providersResolver&&l.providersResolver(l);var q=!1,v=!1;h=Kha(a,b,d.length,null);for(l=0;l<d.length;l++){var y=d[l];c.mergedAttrs=dfa(c.mergedAttrs,y.hostAttrs);var B=a,I=c,N=b,Q=h;B.data[Q]=y;var Z=y.factory||(y.factory=Ec(y.type));Z=new Dga(Z,!!y.template);B.blueprint[Q]=Z;N[Q]=Z;var Y=I;N=Kha(B,N,y.hostVars,xd);if(I=y.hostBindings){Z=B.hostBindingOpCodes;
null===Z&&(Z=B.hostBindingOpCodes=[]);B=~Y.index;a:{for(Y=Z.length;0<Y;){var ka=Z[--Y];if("number"===typeof ka&&0>ka){Y=ka;break a}}Y=0}Y!=B&&Z.push(B);Z.push(Q,N,I)}B=h;if(Q=e){if(y.exportAs)for(N=0;N<y.exportAs.length;N++)Q[y.exportAs[N]]=B;y.template&&(Q[""]=B)}null!==y.contentQueries&&(c.flags|=4);if(null!==y.hostBindings||null!==y.hostAttrs||0!==y.hostVars)c.flags|=64;y=y.type.prototype;!q&&(y.ngOnChanges||y.ngOnInit||y.ngDoCheck)&&(B=q=void 0,(null!=(B=(q=a).preOrderHooks)?B:q.preOrderHooks=
[]).push(c.index),q=!0);v||!y.ngOnChanges&&!y.ngDoCheck||(y=v=void 0,(null!=(y=(v=a).preOrderCheckHooks)?y:v.preOrderCheckHooks=[]).push(c.index),v=!0);h++}b=c.directiveEnd;a=a.data;d=c.attrs;e=[];l=h=null;for(q=c.directiveStart;q<b;q++){v=a[q];B=(y=g?g.get(v):null)?y.outputs:null;h=Uha(v.inputs,q,h,y?y.inputs:null);l=Uha(v.outputs,q,l,B);if(null===h||null===d||4===c.type&&"ng-template"!==c.value)v=null;else{v=h;y=q;B=null;for(Q=0;Q<d.length;)if(N=d[Q],0===N)Q+=4;else{if(5!==N){if("number"===typeof N)break;
if(v.hasOwnProperty(N))for(null===B&&(B=[]),I=v[N],Z=0;Z<I.length;Z+=2)if(I[Z]===y){B.push(N,I[Z+1],d[Q+1]);break}}Q+=2}v=B}e.push(v)}null!==h&&(h.hasOwnProperty("class")&&(c.flags|=8),h.hasOwnProperty("style")&&(c.flags|=16));c.initialInputs=e;c.inputs=h;c.outputs=l},Qha=function(a,b,c){var d=c.directiveStart,e=c.directiveEnd,g=c.index;c=Rc.currentDirectiveIndex;try{for(Rc.selectedIndex=g;d<e;d++){var h=a.data[d],l=b[d];Rc.currentDirectiveIndex=d;null===h.hostBindings&&0===h.hostVars&&null===h.hostAttrs||
null===h.hostBindings||h.hostBindings(1,l)}}finally{Rc.selectedIndex=-1,Rc.currentDirectiveIndex=c}},Xha=function(a,b,c){b.componentOffset=c;var d;(null!=(d=a.components)?d:a.components=[]).push(b.index)},$ha=function(a,b,c,d,e,g){var h=Oc(a,b);b=b[11];a=a.value;null==d?b.removeAttribute(h,c,g):(d=null==e?pc(d):e(d,a||"",c),b.setAttribute(h,c,d,g))},Pha=function(a,b,c,d,e){var g=Zc(null);try{null!==a.setInput?a.setInput(b,e,c,d):b[d]=e}finally{Zc(g)}},aia=function(a,b){var c=a.contentQueries;if(null!==
c)for(var d=0;d<c.length;d+=2){var e=c[d],g=c[d+1];if(-1!==g){var h=a.data[g];Rc.currentQueryIndex=e;h.contentQueries(2,b[g],g)}}},Oha=function(a,b){a[12]?a[13][4]=b:a[12]=b;return a[13]=b},bia=function(a,b,c){Rc.currentQueryIndex=0;var d=Zc(null);try{b(a,c)}finally{Zc(d)}},cia=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]},dia=function(a,b){(a=(a=a[9])?a.get(yd,null):null)&&a.handleError(b)},Vha=function(a,
b,c,d,e){for(var g=0;g<c.length;){var h=c[g++],l=c[g++];Pha(a.data[h],b[h],d,l,e)}},eia=function(a,b){var c=Nc(a[Rc.selectedIndex]);a[11].setValue(c,b)},fia=function(a,b,c){dga(b);try{var d=a.viewQuery;null!==d&&bia(1,d,c);var e=a.template;null!==e&&Lha(a,b,e,1,c);a.firstCreatePass&&(a.firstCreatePass=!1);a.staticContentQueries&&aia(a,b);a.staticViewQueries&&bia(2,a.viewQuery,c);var g=a.components;if(null!==g)for(c=0;c<g.length;c++){var h=Pc(g[c],b),l=h[1];d=l;e=h;for(var q=e.length;q<d.blueprint.length;q++)e.push(d.blueprint[q]);
null!==h[0]&&null===h[22]&&(h[22]=null);fia(l,h,h[8])}}catch(v){throw a.firstCreatePass&&(a.incompleteFirstPass=!0,a.firstCreatePass=!1),v;}finally{b[2]&=-5,gga()}},gia=function(a,b,c){var d=c?a.styles:null,e=c?a.classes:null,g=0;if(null!==b)for(var h=0;h<b.length;h++){var l=b[h];if("number"===typeof l)g=l;else if(1==g)e=Qea(e,l);else if(2==g){var q=b[++h];d=Qea(d,l+": "+q+";")}}c?a.styles=d:a.stylesWithoutHost=d;c?a.classes=e:a.classesWithoutHost=e},hia=function(a,b,c,d,e){for(e=void 0===e?!1:e;null!==
c;){var g=b[c.index];null!==g&&d.push(Nc(g));if(Lc(g)){for(var h=11;h<g.length;h++){var l=g[h],q=l[1].firstChild;null!==q&&hia(l[1],l,q,d)}g[7]!==g[0]&&d.push(g[7])}g=c.type;if(g&8)hia(a,b,c.child,d);else if(g&32)for(g=(void 0)(c,b);h=g();)d.push(h);else g&16&&(g=null!==c?b[15][6].projection[c.projection]:null,Array.isArray(g)?d.push.apply(d,Jc(g)):(h=Mga(b[15]),hia(h[1],h,g,d,!0)));c=e?c.projectionNext:c.next}return d},jia=function(a,b,c,d){d=void 0===d?!0:d;var e=b[10].rendererFactory;e.begin&&
e.begin();try{iia(a,b,a.template,c)}catch(h){throw d&&dia(b,h),h;}finally{e.end&&e.end();var g;null!=(g=b[10].effectManager)&&g.flush()}},iia=function(a,b,c,d){var e=b[2];if(256!==(e&256)){var g;null!=(g=b[10].effectManager)&&g.flush();dga(b);try{b[17]=0;Rc.bindingIndex=a.bindingStartIndex;null!==c&&Lha(a,b,c,2,d);if(c=3===(e&3)){var h=a.preOrderCheckHooks;null!==h&&jga(b,h,3,null)}else{var l=a.preOrderHooks;null!==l&&kga(b,l,0,null);lga(b,0)}for(var q=Nga(b[12]);null!==q;q=Nga(q[4]))if(q[2]){var v=
q[9];for(h=0;h<v.length;h++){var y=v[h];0===(y[2]&1024)&&(y[2]|=1024,Yfa(y,1))}}kia(b,2);null!==a.contentQueries&&aia(a,b);if(c){var B=a.contentCheckHooks;null!==B&&jga(b,B,3)}else{var I=a.contentHooks;null!==I&&kga(b,I,1);lga(b,1)}var N=a.hostBindingOpCodes;if(null!==N){var Q=fha(b,24);try{for(q=0;q<N.length;q++){var Z=N[q];if(0>Z)Rc.selectedIndex=~Z;else{v=Z;var Y=N[++q],ka=N[++q];y=Rc;y.bindingIndex=y.bindingRootIndex=Y;Rc.currentDirectiveIndex=v;Q.runInContext(ka,2,b[v])}}}finally{null===b[24]&&
gha(b,24),Rc.selectedIndex=-1}}var la=a.components;if(null!==la)for(N=0;N<la.length;N++){var Da=Pc(la[N],b);lia(Da,0)}var za=a.viewQuery;null!==za&&bia(2,za,d);if(c){var Oa=a.viewCheckHooks;null!==Oa&&jga(b,Oa,3)}else{var Va=a.viewHooks;null!==Va&&kga(b,Va,2);lga(b,2)}!0===a.firstUpdatePass&&(a.firstUpdatePass=!1);b[2]&=-73;Zfa(b)}finally{gga()}}},kia=function(a,b){for(a=Nga(a[12]);null!==a;a=Nga(a[4]))for(var c=11;c<a.length;c++)lia(a[c],b)},lia=function(a,b){if(128===(a[2]&128)){var c=a[1];if(a[2]&
80&&0===b||a[2]&1024||2===b)iia(c,a,c.template,a[8]);else if(0<a[5]&&(kia(a,1),b=a[1].components,null!==b))for(c=0;c<b.length;c++){var d=Pc(b[c],a);lia(d,1)}}},mia=function(a){var b=[],c;for(c in a)a.hasOwnProperty(c)&&b.push({propName:a[c],templateName:c});return b},nia=function(){iga(x()[1],Sc())},oia=function(a,b,c){return new zd(a,b,c)},qia=function(a,b,c){return(new pia({providers:a,parent:b,debugName:void 0===c?null:c,runEnvironmentInitializers:!0})).injector},ria=function(a){return!!a&&"function"===
typeof a.then},sia=function(a){return!!a&&"function"===typeof a.subscribe},Ad=function(a){var b=a.toLowerCase().replace(/_/g,"-");if(a=tia(b))return a;b=b.split("-")[0];if(a=tia(b))return a;if("en"===b)return uia;throw new rc(701,!1);},tia=function(a){a in via||(via[a]=sd.ng&&sd.ng.common&&sd.ng.common.locales&&sd.ng.common.locales[a]);return via[a]},xia=function(a){"undefined"===typeof Zone?wia.then(function(){a&&a.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",a)},Bd=function(a){setTimeout(function(){throw a;
},0)},yia=function(a){return"function"===typeof a},zia=function(a){return null!==a&&"object"===typeof a},Aia=function(a){return a instanceof Cd||a&&"closed"in a&&"function"===typeof a.remove&&"function"===typeof a.add&&"function"===typeof a.unsubscribe},Cia=function(a){return a.reduce(function(b,c){return b.concat(c instanceof Bia?c.errors:c)},[])},Dia=function(a){for(;a;){var b=a,c=b.destination,d=b.isStopped;if(b.closed||d)return!1;c&&c instanceof Dd?a=c:a=null}return!0},Ed=function(a){return a},
Eia=function(a){return 0===a.length?Ed:1===a.length?a[0]:function(b){return a.reduce(function(c,d){return d(c)},b)}},Fia=function(a){return a&&"function"===typeof a.next&&"function"===typeof a.error&&"function"===typeof a.complete},Gia=function(a){a||(a=Fd.Promise||Promise);if(!a)throw Error("Fa");return a},Hia=function(a){return new Gd(function(b){return a.schedule(function(){return b.complete()})})},Iia=function(a,b){return new Gd(function(c){var d=new Cd,e=0;d.add(b.schedule(function(){e===a.length?
c.complete():(c.next(a[e++]),c.closed||d.add(this.schedule()))}));return d})},Kia=function(a,b){return b?Iia(a,b):new Gd(Jia(a))},Hd=function(a){return a&&"function"===typeof a.schedule},Lia=function(){var a=Fc.apply(0,arguments),b=a[a.length-1];return Hd(b)?(a.pop(),Iia(a,b)):Kia(a)},Mia=function(a){a.subscriber.error(a.error)},Id=function(a,b){if(a&&"function"===typeof a.lift)return a.lift(b);throw new TypeError("Ga");},Nia=function(a,b,c){if(a&&"function"===typeof a.lift)return a.lift.call(b,c);
throw new TypeError("Ga");},Pia=function(){return function(a){return Id(a,new Oia)}},E=function(a){return function(b){if("function"!==typeof a)throw new TypeError("Ha");return Id(b,new Qia(a))}},Ria=function(a,b,c){if(b)if(Hd(b))c=b;else return function(){return Ria(a,c).apply(null,Jc(Fc.apply(0,arguments))).pipe(E(function(d){return Jd(d)?b.apply(null,Jc(d)):b(d)}))};return function(){var d=Fc.apply(0,arguments),e=this,g,h={context:e,subject:void 0,callbackFunc:a,scheduler:c};return new Gd(function(l){if(c)return c.schedule(Sia,
0,{args:d,subscriber:l,params:h});if(!g){g=new Kd;var q=function(){var v=Fc.apply(0,arguments);g.next(1>=v.length?v[0]:v);g.complete()};try{a.apply(e,[].concat(Jc(d),[q]))}catch(v){Dia(g)?g.error(v):console.warn(v)}}return g.subscribe(l)})}},Sia=function(a){var b=this,c=a.args,d=a.subscriber,e=a.params;a=e.callbackFunc;var g=e.context,h=e.scheduler,l=e.subject;if(!l){l=e.subject=new Kd;e=function(){var q=Fc.apply(0,arguments);b.add(h.schedule(Tia,0,{value:1>=q.length?q[0]:q,subject:l}))};try{a.apply(g,
[].concat(Jc(c),[e]))}catch(q){l.error(q)}}this.add(l.subscribe(d))},Tia=function(a){var b=a.subject;b.next(a.value);b.complete()},Uia=function(a,b,c){if(b)if(Hd(b))c=b;else return function(){return Uia(a,c).apply(null,Jc(Fc.apply(0,arguments))).pipe(E(function(d){return Jd(d)?b.apply(null,Jc(d)):b(d)}))};return function(){var d=Fc.apply(0,arguments),e={subject:void 0,args:d,callbackFunc:a,scheduler:c,context:this};return new Gd(function(g){var h=e.context,l=e.subject;if(c)return c.schedule(Via,0,
{params:e,subscriber:g,context:h});if(!l){l=e.subject=new Kd;var q=function(){var v=Fc.apply(0,arguments),y=v.shift();y?l.error(y):(l.next(1>=v.length?v[0]:v),l.complete())};try{a.apply(h,[].concat(Jc(d),[q]))}catch(v){Dia(l)?l.error(v):console.warn(v)}}return l.subscribe(g)})}},Via=function(a){var b=this,c=a.params,d=a.subscriber;a=a.context;var e=c.callbackFunc,g=c.args,h=c.scheduler,l=c.subject;if(!l){l=c.subject=new Kd;c=function(){var q=Fc.apply(0,arguments),v=q.shift();v?b.add(h.schedule(Wia,
0,{err:v,subject:l})):b.add(h.schedule(Xia,0,{value:1>=q.length?q[0]:q,subject:l}))};try{e.apply(a,[].concat(Jc(g),[c]))}catch(q){this.add(h.schedule(Wia,0,{err:q,subject:l}))}}this.add(l.subscribe(d))},Xia=function(a){var b=a.subject;b.next(a.value);b.complete()},Wia=function(a){a.subject.error(a.err)},Yia=function(a){return!!a&&"function"!==typeof a.subscribe&&"function"===typeof a.then},$ia=function(a){return function(b){Zia(a,b).catch(function(c){return b.error(c)})}},Zia=function(a,b){var c,
d,e,g,h,l;return Ld(function(q){switch(q.nextAddress){case 1:Md(q,2,3);var v=a[Symbol.asyncIterator];g=void 0!==v?v.call(a):new aja(k(a));case 5:return q.yield(g.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:Nd(q);q.catchAddress_=0;q.finallyAddress_=9;if(!d||d.done||!(e=g.return)){q.jumpTo(9);break}return q.yield(e.call(g),9);case 9:Nd(q,0,0,1);if(c)throw c.error;Od(q,10,1);break;case 10:Od(q,4);break;case 2:l=Pd(q);c={error:l};q.jumpTo(3);
break;case 4:b.complete(),Qd(q)}})},Rd=function(a,b){if(!b.closed)return a instanceof Gd?a.subscribe(b):bja(a)(b)},cja=function(a,b){if(!a)throw Error("Ka");return new Gd(function(c){var d=new Cd;d.add(b.schedule(function(){var e=a[Symbol.asyncIterator]();d.add(b.schedule(function(){var g=this;e.next().then(function(h){h.done?c.complete():(c.next(h.value),g.schedule())})}))}));return d})},dja=function(a,b){if(!a)throw Error("Ka");return new Gd(function(c){var d=new Cd,e;d.add(function(){e&&"function"===
typeof e.return&&e.return()});d.add(b.schedule(function(){e=a[Sd]();d.add(b.schedule(function(){if(!c.closed){try{var g=e.next();var h=g.value;var l=g.done}catch(q){c.error(q);return}l?c.complete():(c.next(h),this.schedule())}}))}));return d})},eja=function(a,b){return new Gd(function(c){var d=new Cd;d.add(b.schedule(function(){var e=a[Td]();d.add(e.subscribe({next:function(g){d.add(b.schedule(function(){return c.next(g)}))},error:function(g){d.add(b.schedule(function(){return c.error(g)}))},complete:function(){d.add(b.schedule(function(){return c.complete()}))}}))}));
return d})},fja=function(a,b){return new Gd(function(c){var d=new Cd;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})},hja=function(a,b){if(null!=a){if(a&&"function"===typeof a[Td])return eja(a,b);if(Yia(a))return fja(a,b);if(gja(a))return Iia(a,b);if(a&&"function"===typeof a[Sd]||"string"===typeof a)return dja(a,b);if(Symbol&&
Symbol.asyncIterator&&"function"===typeof a[Symbol.asyncIterator])return cja(a,b)}throw new TypeError("La`"+(null!==a&&typeof a||a));},Ud=function(a,b){return b?hja(a,b):a instanceof Gd?a:new Gd(bja(a))},Vd=function(a,b){var c=void 0===c?Infinity:c;if("function"===typeof b)return function(d){return d.pipe(Vd(function(e,g){return Ud(a(e,g)).pipe(E(function(h,l){return b(e,h,g,l)}))},c))};"number"===typeof b&&(c=b);return function(d){return Id(d,new ija(a,c))}},Wd=function(a){a=void 0===a?Infinity:
a;return Vd(Ed,a)},jja=function(){return Wd(1)(Lia.apply(null,Jc(Fc.apply(0,arguments))))},kja=function(a){return new Gd(function(b){try{var c=a()}catch(d){b.error(d);return}return Ud(c).subscribe(b)})},nja=function(a){return new Gd(function(b){var c=a||lja,d=c.now(),e=function(h){var l=c.now();b.next({timestamp:a?l:h,elapsed:l-d});b.closed||(g=mja(e))};var g=mja(e);return function(){return g.unsubscribe()}})},oja=function(a,b){return new Gd(function(c){var d=a.length;if(0===d)c.complete();else for(var e=
Array(d),g=0,h=0,l={$jscomp$loop$prop$i$2258:0};l.$jscomp$loop$prop$i$2258<d;l={$jscomp$loop$prop$hasValue$2259:l.$jscomp$loop$prop$hasValue$2259,$jscomp$loop$prop$i$2258:l.$jscomp$loop$prop$i$2258},l.$jscomp$loop$prop$i$2258++){var q=Ud(a[l.$jscomp$loop$prop$i$2258]);l.$jscomp$loop$prop$hasValue$2259=!1;c.add(q.subscribe({next:function(v){return function(y){v.$jscomp$loop$prop$hasValue$2259||(v.$jscomp$loop$prop$hasValue$2259=!0,h++);e[v.$jscomp$loop$prop$i$2258]=y}}(l),error:function(v){return c.error(v)},
complete:function(v){return function(){g++;g!==d&&v.$jscomp$loop$prop$hasValue$2259||(h===d&&c.next(b?b.reduce(function(y,B,I){return y[B]=e[I],y},{}):e),c.complete())}}(l)}))}})},pja=function(a,b,c,d){yia(c)&&(d=c,c=void 0);return d?pja(a,b,c).pipe(E(function(e){return Jd(e)?d.apply(null,Jc(e)):d(e)})):new Gd(function(e){qja(a,b,function(g){1<arguments.length?e.next(Array.prototype.slice.call(arguments)):e.next(g)},e,c)})},qja=function(a,b,c,d,e){if(a&&"function"===typeof a.addEventListener&&"function"===
typeof a.removeEventListener){a.addEventListener(b,c,e);var g=function(){return a.removeEventListener(b,c,e)}}else if(a&&"function"===typeof a.on&&"function"===typeof a.off)a.on(b,c),g=function(){return a.off(b,c)};else if(a&&"function"===typeof a.addListener&&"function"===typeof a.removeListener)a.addListener(b,c),g=function(){return a.removeListener(b,c)};else if(a&&a.length)for(var h=0,l=a.length;h<l;h++)qja(a[h],b,c,d,e);else throw new TypeError("Ma");d.add(g)},rja=function(a,b,c){return c?rja(a,
b).pipe(E(function(d){return Jd(d)?c.apply(null,Jc(d)):c(d)})):new Gd(function(d){var e=function(){var h=Fc.apply(0,arguments);return d.next(1===h.length?h[0]:h)};try{var g=a(e)}catch(h){d.error(h);return}if(yia(b))return function(){return b(e,g)}})},sja=function(a){var b=a.subscriber,c=a.condition;if(!b.closed){if(a.needIterate)try{a.state=a.iterate(a.state)}catch(g){b.error(g);return}else a.needIterate=!0;if(c){try{var d=c(a.state)}catch(g){b.error(g);return}if(!d){b.complete();return}if(b.closed)return}try{var e=
a.resultSelector(a.state)}catch(g){b.error(g);return}if(!b.closed&&(b.next(e),!b.closed))return this.schedule(a)}},tja=function(a){return!Jd(a)&&0<=a-parseFloat(a)+1},uja=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)},Xd=function(){},wja=function(){var a=Fc.apply(0,arguments);if(0===a.length)return Yd;var b=k(a),c=b.next().value,d=vja(b);return 1===a.length&&Jd(c)?wja.apply(null,Jc(c)):new Gd(function(e){var g=function(){return e.add(wja.apply(null,
Jc(d)).subscribe(e))};return Ud(c).subscribe({next:function(h){e.next(h)},error:g,complete:g})})},xja=function(a){var b=a.keys,c=a.index,d=a.subscriber,e=a.subscription;a=a.obj;if(!d.closed)if(c<b.length){var g=b[c];d.next([g,a[g]]);e.add(this.schedule({keys:b,index:c+1,subscriber:d,subscription:e,obj:a}))}else d.complete()},Zd=function(a,b){return function(c){return Id(c,new yja(a,b))}},zja=function(a,b){function c(){return!c.pred.apply(c.thisArg,arguments)}c.pred=a;c.thisArg=b;return c},Bja=function(){var a=
Fc.apply(0,arguments);if(1===a.length)if(Jd(a[0]))a=a[0];else return Ud(a[0]);return Id(Kia(a),new Aja)},Cja=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)))},Dja=function(a){return a instanceof Date&&!isNaN(a)},Fja=function(a,b,c){a=void 0===a?0:a;var d=-1;null!=b&&(Hd(b)?c=b:d=b);Hd(c)||(c=$d);return new Gd(function(e){var g=Math.max(0,Dja(a)?+a-c.now():a);return c.schedule(Eja,g,{counter:0,period:d,subscriber:e})})},
Eja=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)}},ae=function(a){var b;return function(c){var d=void 0,e=void 0,g=null,h;b=null!=(h=b)?h:$d;if(Dja(a))var l=a;else if("number"===typeof a)d=a;else{l=a.first;d=a.each;e=a.with;b=a.scheduler||$d;var q;g=null!=(q=a.meta)?q:null}var v;e=null!=(v=e)?v:Gja;if(null==l&&null==d)throw new TypeError("Oa");return Id(c,function(y){var B=this,I=new Cd,N,Q=null,Z=null,Y=0,ka=function(la){I.add(Q=
b.schedule(function(){var Da={meta:g,lastValue:Z,seen:Y};try{var za=Ud(e(Da))}catch(Oa){B.error(Oa);return}N.unsubscribe();I.add(za.subscribe(B))},la))};I.add(N=y.subscribe({next:function(la){var Da;null==(Da=Q)||Da.unsubscribe();Q=null;Y++;Z=la;null!=d&&0<d&&ka(d);B.next(la)},error:function(la){return B.error(la)},complete:function(){return B.complete()}}));y=null!=l?"number"===typeof l?l:+l-b.now():d;ka(y);return I})}},Gja=function(a){throw new Hja(a);},Jja=function(a){return a in Ija?(delete Ija[a],
!0):!1},Kja=function(a){return function(b){setTimeout(a,void 0,b)}},Lja=function(){},Nja=function(a){return function(b){return Id(b,new Mja(a))}},be=function(a,b){b=void 0===b?$d:b;return Nja(function(){return Fja(a,b)})},Pja=function(a){return function(b){return Id(b,new Oja(a))}},ce=function(a){return function(b){return Id(b,function(c){var d=this,e=new Cd,g=null,h=!1,l;g=c.subscribe({next:function(q){return d.next(q)},error:function(q){try{l=Ud(a(q,ce(a)(c)))}catch(v){d.error(v)}l&&(g?(g.unsubscribe(),
g=null,e.add(l.subscribe(d))):h=!0)},complete:function(){return d.complete()}});h?(g.unsubscribe(),g=null,e.add(l.subscribe(d))):e.add(g);return e})}},Rja=function(){var a=Fc.apply(0,arguments),b=void 0;"function"===typeof a[a.length-1]&&(b=a.pop());1===a.length&&Jd(a[0])&&(a=a[0].slice());return function(c){return Nia(c,Ud([c].concat(Jc(a))),new Qja(b))}},Sja=function(){return Rja.apply(null,Jc(Fc.apply(0,arguments)))},Tja=function(){var a=Fc.apply(0,arguments);return function(b){return Nia(b,jja.apply(null,
[b].concat(Jc(a))))}},Uja=function(){var a=Fc.apply(0,arguments);return function(b){return Nia(b,jja.apply(null,[b].concat(Jc(a))))}},Wja=function(a){return function(b){return Id(b,new Vja(a))}},de=function(a,b){b=void 0===b?$d:b;return function(c){return Id(c,new Xja(a,b))}},Zja=function(a){Yja(a)},aka=function(a){a=void 0===a?null:a;return function(b){return Id(b,new $ja(a))}},ee=function(a,b){b=void 0===b?$d:b;var c=Dja(a)?+a-b.now():Math.abs(a);return function(d){return Id(d,new bka(c,b))}},fe=
function(a){return function(b){return Id(b,new cka(a))}},ge=function(){if(isNaN(1))throw new TypeError("Pa");return function(a){return Id(a,new dka)}},gka=function(a){a=void 0===a?eka:a;return function(b){return Id(b,new fka(a))}},eka=function(){return new ie},ika=function(a){return function(b){return Id(b,new hka(a))}},je=function(a,b){var c=2<=arguments.length;return function(d){return d.pipe(a?Zd(function(e,g){return a(e,g,d)}):Ed,ge(),c?aka(b):gka(function(){return new ie}))}},kka=function(){return function(a){return Id(a,
new jka)}},mka=function(){if(isNaN(1))throw new TypeError("Pa");return function(a){return Id(a,new lka)}},nka=function(a,b){var c=2<=arguments.length;return function(d){return d.pipe(a?Zd(function(e,g){return a(e,g,d)}):Ed,mka(),c?aka(b):gka(function(){return new ie}))}},ke=function(a){return function(b){return Id(b,new oka(a))}},qka=function(a,b){var c=!1;2<=arguments.length&&(c=!0);return function(d){return Id(d,new pka(a,b,c))}},ska=function(a){return function(b){var c="function"===typeof a?a:
function(){return a};var d=Object.create(b,rka);d.source=b;d.subjectFactory=c;return d}},tka=function(){var a=new le(1,void 0,void 0);return function(b){return ska(function(){return a})(b)}},uka=function(){var a=Fc.apply(0,arguments);return function(b){return 0===a.length?b:Nia(b,Bja.apply(null,[b].concat(Jc(a))))}},vka=function(){return new me},wka=function(){return function(a){return Pia()(ska(vka)(a))}},ne=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 Id(c,xka(b))}},xka=function(a){var b=void 0===a.bufferSize?Infinity:a.bufferSize,c=void 0===a.windowTime?Infinity:a.windowTime,d=a.refCount,e=a.scheduler,g,h=0,l;return function(q){h++;if(g)var v=g.subscribe(this);else g=new le(b,c,e),v=g.subscribe(this),l=q.subscribe({next:function(y){g.next(y)},error:function(y){var B=g;g=l=void 0;B.error(y)},complete:function(){l=void 0;g.complete()}}),l.closed&&(l=void 0);this.add(function(){h--;v.unsubscribe();d&&0===
h&&l&&(l.unsubscribe(),g=l=void 0)})}},zka=function(a){return function(b){return Id(b,new yka(a))}},oe=function(){var a=Fc.apply(0,arguments),b=a[a.length-1];return Hd(b)?(a.pop(),function(c){return jja(a,c,b)}):function(c){return jja(a,c)}},pe=function(a){return function(b){return Id(b,new Aka(a))}},qe=function(a){return function(b){return Id(b,new Bka(a))}},Dka=function(a){var b=void 0===b?!1:b;return function(c){return Id(c,new Cka(a,b))}},re=function(a,b){return function(c){return Id(c,new Eka(a,
b))}},Hka=function(a){var b=void 0===b?Fka:b;return function(c){return Id(c,new Gka(a,!!b.leading,!!b.trailing))}},se=function(){var a=Fc.apply(0,arguments);return function(b){var c;"function"===typeof a[a.length-1]&&(c=a.pop());return Id(b,new Ika(a,c))}},Jka=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}}},Lka=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;Kka(a);a.isCheckStableRunning=!0;Jka(a);a.isCheckStableRunning=!1},void 0,function(){},function(){}));a.fakeTopEventTask.invoke()}),Kka(a))},Nka=function(a){a._inner=a._inner.fork({name:"angular",properties:{isAngularZone:!0},
onInvokeTask:function(b,c,d,e,g,h){try{return Mka(a),b.invokeTask(d,e,g,h)}finally{(a.shouldCoalesceEventChangeDetection&&"eventTask"===e.type||a.shouldCoalesceRunChangeDetection)&&Lka(a),a._nesting--,Jka(a)}},onInvoke:function(b,c,d,e,g,h,l){try{return Mka(a),b.invoke(d,e,g,h,l)}finally{a.shouldCoalesceRunChangeDetection&&Lka(a),a._nesting--,Jka(a)}},onHasTask:function(b,c,d,e){b.hasTask(d,e);c===d&&("microTask"==e.change?(a._hasPendingMicrotasks=e.microTask,Kka(a),Jka(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}})},Kka=function(a){a.hasPendingMicrotasks=a._hasPendingMicrotasks||(a.shouldCoalesceEventChangeDetection||a.shouldCoalesceRunChangeDetection)&&-1!==a.lastRequestAnimationFrameId?!0:!1},Mka=function(a){a._nesting++;a.isStable&&(a.isStable=!1,a.onUnstable.emit(null))},Qka=function(){var a=wc(te),b=!0;return(0,F.merge)(new F.Observable(function(c){b=
a.isStable&&!a.hasPendingMacrotasks&&!a.hasPendingMicrotasks;a.runOutsideAngular(function(){c.next(b);c.complete()})}),(new F.Observable(function(c){var d;a.runOutsideAngular(function(){d=a.onStable.subscribe(function(){Oka();xia(function(){b||a.hasPendingMacrotasks||a.hasPendingMicrotasks||(b=!0,c.next(!0))})})});var e=a.onUnstable.subscribe(function(){if(!Pka())throw new rc(909,!1);b&&(b=!1,a.runOutsideAngular(function(){c.next(!1)}))});return function(){d.unsubscribe();e.unsubscribe()}})).pipe(wka()))},
Ska=function(a){var b;null==(b=a.get(Rka,null))||b.forEach(function(c){return c()})},Xka=function(a,b,c){c=void 0===c?[]:c;var d="Platform: "+b,e=new Hc(d);return function(g){g=void 0===g?[]:g;var h=Tka();if(!h||h.injector.get(Uka,!1))if(g=[].concat(Jc(c),Jc(g),[{provide:e,useValue:!0}]),a)a(g);else{g=Vka(g,d);if(Wka&&!Wka.get(Uka,!1))throw new rc(400,!1);Wka=g;g.get(ue);Ska(g)}g=Tka();if(!g)throw new rc(401,!1);return g}},Vka=function(a,b){a=void 0===a?[]:a;return ve({name:b,providers:[{provide:Yka,
useValue:"platform"},{provide:Zka,useValue:new Set([function(){return Wka=null}])}].concat(Jc(a))})},Tka=function(){var a,b;return null!=(b=null==(a=Wka)?void 0:a.get(ue))?b:null},$ka=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}},bla=function(a,b){a=void 0===a?"zone.js":a;return"noop"===a?new ala:"zone.js"===a?new te(b):a},cla=function(a,
b,c){try{var d=c();return ria(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;}},dla=function(a,b){return Array.isArray(b)?b.reduce(dla,a):Object.assign({},a,b)},ela=function(a,b){b=a.indexOf(b);-1<b&&a.splice(b,1)},fla=function(){var a=wc(te),b=wc(yd);return function(c){return a.runOutsideAngular(function(){return b.handleError(c)})}},ila=function(a){return[{provide:te,useFactory:a},
{provide:Gfa,multi:!0,useFactory:function(){var b=wc(we,{optional:!0});return function(){return b.initialize()}}},{provide:gla,useFactory:fla},{provide:hla,useFactory:Qka}]},xe=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 rc(903,!1);e=b.\u0275dir}if(e){if(c){d.push(e);var g=a;g.inputs=jla(a.inputs);g.declaredInputs=jla(a.declaredInputs);g.outputs=jla(a.outputs);(g=e.hostBindings)&&
kla(a,g);g=e.viewQuery;var h=e.contentQueries;g&&lla(a,g);h&&mla(a,h);Iea(a.inputs,e.inputs);Iea(a.declaredInputs,e.declaredInputs);Iea(a.outputs,e.outputs);e.template&&e.data.animation&&(g=a.data,g.animation=(g.animation||[]).concat(e.data.animation))}if(e=e.features)for(g=0;g<e.length;g++)(h=e[g])&&h.ngInherit&&h(a),h===xe&&(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=dfa(e.hostAttrs,b=dfa(b,e.hostAttrs))},jla=function(a){return a===
pfa?{}:a===yc?[]:a},lla=function(a,b){var c=a.viewQuery;a.viewQuery=c?function(d,e){b(d,e);c(d,e)}:b},mla=function(a,b){var c=a.contentQueries;a.contentQueries=c?function(d,e,g){b(d,e,g);c(d,e,g)}:b},kla=function(a,b){var c=a.hostBindings;a.hostBindings=c?function(d,e){b(d,e);c(d,e)}:b},ola=function(a){return nla(a)?Array.isArray(a)||!(a instanceof Map)&&Symbol.iterator in a:!1},pla=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)},
nla=function(a){return null!==a&&("function"===typeof a||"object"===typeof a)},qla=function(a,b,c){return a[b]=c},ye=function(a,b,c){if(Object.is(a[b],c))return!1;a[b]=c;return!0},ze=function(a,b,c,d){c=ye(a,b,c);return ye(a,b+1,d)||c},Ae=function(a,b,c,d){var e=x(),g=Rc.bindingIndex++;ye(e,g,b)&&(g=Vc(),$ha(g,e,a,b,c,d));return Ae},rla=function(a,b,c,d){return ye(a,Rc.bindingIndex++,c)?b+pc(c)+d:xd},sla=function(a,b,c,d,e,g){a=ze(a,Rc.bindingIndex,c,e);$fa(2);return a?b+pc(c)+d+pc(e)+g:xd},Be=function(a,
b,c,d,e,g){var h=x();b=rla(h,b,c,d);b!==xd&&(c=Vc(),$ha(c,h,a,b,e,g));return Be},Ce=function(a,b,c,d,e,g,h,l){var q=x();b=sla(q,b,c,d,e,g);b!==xd&&(c=Vc(),$ha(c,q,a,b,h,l));return Ce},tla=function(a,b,c,d,e,g,h,l,q,v){var y=x();var B=Rc.bindingIndex;var I=ze(y,B,c,e);B=ye(y,B+2,h)||I;$fa(3);b=B?b+pc(c)+d+pc(e)+g+pc(h)+l:xd;b!==xd&&(c=Vc(),$ha(c,y,a,b,q,v));return tla},G=function(a,b,c){var d=x(),e=Rc.bindingIndex++;if(ye(d,e,b)){e=Rc.tView;var g=Vc();Wha(e,g,d,a,b,d[11],c,!1)}return G},ula=function(a,
b,c,d,e){e=e?"class":"style";Vha(a,c,b.inputs[e],e,d)},vla=function(a,b,c,d){for(var e=a[c+1],g=null===b,h=d?e>>17&32767:(e&131068)>>2,l=!1;0!==h&&(!1===l||g);){var q=a[h+1],v=a[h],y=b;if(null===v||null==y||(Array.isArray(v)?v[1]:v)===y||Array.isArray(v)&&"string"===typeof y&&0<=xfa(v,y))l=!0,a[h+1]=d?q|1:q|2;h=d?q>>17&32767:(q&131068)>>2}l&&(a[c+1]=d?e|2:e|1)},wla=function(a,b){var c=De;if(c===b)return-1;for(b=Ee=b;b<c&&32<a.charCodeAt(b);)b++;b=Fe=b;return Ge(a,b,c)},Bla=function(a,b){var c=De;
b=Ee=Ge(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=Fe=b;b=xla(a,b,c);d=b=yla=Ge(a,b,c);for(var e=b=-1,g=-1,h=d,l=h;h<c;){var q=a.charCodeAt(h++);if(59===q)break;else 34===q||39===q?l=h=zla(a,q,h,c):d===h-4&&85===g&&82===e&&76===b&&40===q?l=h=zla(a,41,h,c):32<q&&(l=h);g=e;e=b;b=q&-33}b=Ala=l;return xla(a,b,c)},Ge=function(a,b,c){for(;b<c&&32>=a.charCodeAt(b);)b++;return b},xla=function(a,b,c){b=Ge(a,b,c);b<c&&b++;return b},
zla=function(a,b,c,d){for(var e=-1;c<d;){var g=a.charCodeAt(c++);if(g==b&&92!==e)return c;e=92==g&&92===e?0:g}throw Error();},He=function(a,b,c){Cla(a,b,c,!1);return He},Ie=function(a,b){Cla(a,b,null,!0);return Ie},Ela=function(a,b){var c;Ala=yla=Fe=Ee=0;De=b.length;for(c=Bla(b,Ge(b,0,De));0<=c;c=Bla(b,c))Dla(a,b.substring(Ee,Fe),b.substring(yla,Ala))},Ila=function(a){Fla(Gla,Hla,a,!0)},Hla=function(a,b){var c;Ala=yla=Fe=Ee=0;De=b.length;for(c=wla(b,Ge(b,0,De));0<=c;c=wla(b,c))yfa(a,b.substring(Ee,
Fe),!0)},Cla=function(a,b,c,d){var e=x(),g=Rc.tView,h=$fa(2);g.firstUpdatePass&&Jla(g,a,h,d);if(b!==xd&&ye(e,h,b)){var l=g.data[Rc.selectedIndex],q=e[11];null!=b&&""!==b&&("string"===typeof c?b+=c:"object"===typeof b&&(b=qc(qd(b))));Kla(g,l,e,q,a,e[h+1]=b,d,h)}},Fla=function(a,b,c,d){var e=Rc.tView,g=$fa(2);e.firstUpdatePass&&Jla(e,null,g,d);var h=x();if(c!==xd&&ye(h,g,c)){var l=e.data[Rc.selectedIndex];if(0===(l.flags&(d?8:16))||g>=e.expandoStartIndex){var q=h[11],v=h[g+1];if(null==c||""===c)a=yc;
else{var y=[];c=qd(c);if(Array.isArray(c))for(b=0;b<c.length;b++)a(y,c[b],!0);else if("object"===typeof c)for(var B in c)c.hasOwnProperty(B)&&a(y,B,c[B]);else"string"===typeof c&&b(y,c);a=y}a=h[g+1]=a;v===xd&&(v=yc);b=y=0;c=0<v.length?v[0]:null;for(B=0<a.length?a[0]:null;null!==c||null!==B;){var I=y<v.length?v[y+1]:void 0,N=b<a.length?a[b+1]:void 0,Q=null,Z=void 0;c===B?(y+=2,b+=2,I!==N&&(Q=B,Z=N)):null===B||null!==c&&c<B?(y+=2,Q=c):(b+=2,Q=B,Z=N);null!==Q&&Kla(e,l,h,q,Q,Z,d,g);c=y<v.length?v[y]:
null;B=b<a.length?a[b]:null}}else g=d?l.classesWithoutHost:l.stylesWithoutHost,null!==g&&(c=Qea(g,c?c:"")),ula(e,l,h,c,d)}},Jla=function(a,b,c,d){var e=a.data;if(null===e[c+1]){var g=e[Rc.selectedIndex];a=c>=a.expandoStartIndex;0!==(g.flags&(d?8:16))&&null===b&&!a&&(b=!1);var h=aga(e),l=d?g.residualClasses:g.residualStyles;if(null===h)0===(d?g.classBindings:g.styleBindings)&&(b=Lla(null,e,g,b,d),b=Mla(b,g.attrs,d),l=null);else{var q=g.directiveStylingLast;if(-1===q||e[q]!==h)if(b=Lla(h,e,g,b,d),null===
l)h=d?g.classBindings:g.styleBindings,h=0!==(h&131068)>>2?e[h>>17&32767]:void 0,void 0!==h&&Array.isArray(h)&&(h=Lla(null,e,g,h[1],d),h=Mla(h,g.attrs,d),e[(d?g.classBindings:g.styleBindings)>>17&32767]=h);else{l=void 0;h=g.directiveEnd;for(q=1+g.directiveStylingLast;q<h;q++)l=Mla(l,e[q].hostAttrs,d);l=Mla(l,g.attrs,d)}}void 0!==l&&(d?g.residualClasses=l:g.residualStyles=l);q=b;l=d?g.classBindings:g.styleBindings;b=l>>17&32767;l=(l&131068)>>2;e[c]=q;var v=!1;if(Array.isArray(q)){if(h=q[1],null===h||
0<xfa(q,h))v=!0}else h=q;a?0!==l?(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]=l<<17|0,0===b?b=c:e[l+1]=e[l+1]&-131069|c<<2,l=c);v&&(e[c+1]=e[c+1]|2);vla(e,h,c,!0);vla(e,h,c,!1);a=d?g.residualClasses:g.residualStyles;null!=a&&"string"==typeof h&&0<=xfa(a,h)&&(e[c+1]=e[c+1]|1);l=b<<17|l<<2;d?g.classBindings=l:g.styleBindings=l}},Lla=function(a,b,c,d,e){var g=c.directiveEnd,h=c.directiveStylingLast;
for(-1===h?h=c.directiveStart:h++;h<g;){var l=b[h];d=Mla(d,l.hostAttrs,e);if(l===a)break;h++}null!==a&&(c.directiveStylingLast=h);return d},Mla=function(a,b,c){var d=c?1:2,e=-1;if(null!==b)for(var g=0;g<b.length;g++){var h=b[g];"number"===typeof h?e=h:e===d&&(Array.isArray(a)||(a=void 0===a?[]:["",a]),yfa(a,h,c?!0:b[++g]))}return void 0===a?null:a},Dla=function(a,b,c){yfa(a,b,qd(c))},Gla=function(a,b,c){b=String(b);""===b||b.includes(" ")||yfa(a,b,c)},Kla=function(a,b,c,d,e,g,h,l){if(b.type&3){a=
a.data;var q=a[l+1];void 0===(1===(q&1)?Nla(a,b,c,e,(q&131068)>>2,h):void 0)&&(void 0!==g||2==(q&2)&&(g=Nla(a,null,c,e,l,h)),b=Nc(c[Rc.selectedIndex]),h?g?d.addClass(b,e):d.removeClass(b,e):(h=-1===e.indexOf("-")?void 0:2,null==g?d.removeStyle(b,e,h):("string"===typeof g&&g.endsWith("!important")&&(g=g.slice(0,-10),h|=1),d.setStyle(b,e,g,h))))}},Nla=function(a,b,c,d,e,g){for(var h=null===b,l=void 0;0<e;){var q=a[e],v=Array.isArray(q),y=v?q[1]:q,B=null===y,I=c[e+1];I===xd&&(I=B?yc:void 0);y=B?zfa(I,
d):y===d?I:void 0;v&&void 0===y&&(y=zfa(q,d));if(void 0!==y&&(l=y,h))return l;e=a[e+1];e=h?e>>17&32767:(e&131068)>>2}null!==b&&(a=g?b.residualClasses:b.residualStyles,null!=a&&(l=zfa(a,d)));return l},Je=function(a,b,c){a=rla(x(),a,b,c);Fla(yfa,Hla,a,!0)},H=function(a,b,c,d){var e=x(),g=Rc.tView,h=25+a;a=e[11];if(g.firstCreatePass){var l=g.consts;c=Qc(l,c);c=wd(g,h,2,b,c);Zha(g,e,c,Qc(l,d));null!==c.attrs&&gia(c,c.attrs,!1);null!==c.mergedAttrs&&gia(c,c.mergedAttrs,!0);null!==g.queries&&g.queries.elementStart(g,
c);l=c}else l=g.data[h];Ke=!0;b=a.createElement(b,Rc.currentNamespace);e[h]=b;h=1===(l.flags&1);Tc(l,!0);cha(a,b,l);32!==(l.flags&32)&&Ke&&Zga(g,e,b,l);0===Rc.elementDepthCount&&id(b,e);Rc.elementDepthCount++;h&&(Rha(g,e,l),Mha(g,l,e));null!==d&&Sha(e,l);return H},J=function(){var a=Sc();Rc.isParent?Rc.isParent=!1:(a=a.parent,Tc(a,!1));var b=a;Jha===b&&(Jha=null);Rc.elementDepthCount--;var c=Rc.tView;c.firstCreatePass&&(iga(c,a),0!==(a.flags&4)&&c.queries.elementEnd(a));null!=b.classesWithoutHost&&
0!==(b.flags&8)&&ula(c,b,x(),b.classesWithoutHost,!0);null!=b.stylesWithoutHost&&0!==(b.flags&16)&&ula(c,b,x(),b.stylesWithoutHost,!1);return J},K=function(a,b,c,d){H(a,b,c,d);J();return K},L=function(a,b,c){var d=x(),e=Rc.tView;a+=25;if(e.firstCreatePass){var g=e.consts;var h=Qc(g,b);b=wd(e,a,8,"ng-container",h);null!==h&&gia(b,h,!0);g=Qc(g,c);Zha(e,d,b,g);null!==e.queries&&e.queries.elementStart(e,b);g=b}else g=e.data[a];Tc(g,!0);Ke=!0;b=d[11].createComment(Tga());d[a]=b;Ke&&Zga(e,d,b,g);id(b,d);
1===(g.flags&1)&&(Rha(e,d,g),Mha(e,g,d));null!=c&&Sha(d,g);return L},M=function(){var a=Sc(),b=Rc.tView;Rc.isParent?Rc.isParent=!1:(a=a.parent,Tc(a,!1));b.firstCreatePass&&(iga(b,a),0!==(a.flags&4)&&b.queries.elementEnd(a));return M},Le=function(a,b,c){L(a,b,c);M();return Le},Me=function(a,b,c){var d=x(),e=Rc.bindingIndex++;if(ye(d,e,b)){e=Rc.tView;var g=Vc();Wha(e,g,d,a,b,d[11],c,!0)}return Me},Ola=function(a,b,c){var d=x(),e=Rc.bindingIndex++;if(ye(d,e,b)){e=Rc.tView;var g=Vc(),h=cia(aga(e.data),
g,d);Wha(e,g,d,a,b,h,c,!0)}return Ola},O=function(a,b,c,d){c=x();Pla(Rc.tView,c,c[11],Sc(),a,b,d);return O},Qla=function(a,b){var c=Sc(),d=x(),e=Rc.tView,g=cia(aga(e.data),c,d);Pla(e,d,g,c,a,b);return Qla},Rla=function(a,b,c,d){a=a.cleanup;if(null!=a)for(var e=0;e<a.length-1;e+=2){var g=a[e];if(g===c&&a[e+1]===d)return b=b[7],c=a[e+2],b.length>c?b[c]:null;"string"===typeof g&&(e+=2)}return null},Pla=function(a,b,c,d,e,g,h){var l=1===(d.flags&1),q=a.firstCreatePass&&(a.cleanup||(a.cleanup=[])),v=b[7]||
(b[7]=[]),y=!0;if(d.type&3||h){var B=Oc(d,b),I=h?h(B):B;B=v.length;var N=h?function(Y){return h(Nc(Y[d.index]))}:d.index,Q=null;!h&&l&&(Q=Rla(a,b,e,d.index));null!==Q?((Q.__ngLastListenerFn__||Q).__ngNextListenerFn__=g,Q.__ngLastListenerFn__=g,y=!1):(g=Sla(d,b,g),a=c.listen(I,e,g),v.push(g,a),q&&q.push(e,N,B,B+1))}else g=Sla(d,b,g);a=d.outputs;var Z;if(y&&null!==a&&(Z=a[e])&&(y=Z.length))for(a=0;a<y;a+=2)c=b[Z[a]][Z[a+1]].subscribe(g),l=v.length,v.push(g,c),q&&q.push(e,d.index,l,-(l+1))},Tla=function(a,
b,c){try{return!1!==b(c)}catch(d){return dia(a,d),!1}finally{}},Sla=function(a,b,c){return function g(e){if(e===Function)return c;var h=-1<a.componentOffset?Pc(a.index,b):b;Oga(h);h=Tla(b,c,e);for(var l=g.__ngNextListenerFn__;l;)h=Tla(b,l,e)&&h,l=l.__ngNextListenerFn__;return h}},P=function(a){var b=Rc;a=void 0===a?1:a;for(var c=Rc.contextLView;0<a;)c=c[14],a--;return(b.contextLView=c)[8]},Ne=function(a){var b=x()[15][6];if(!b.projection){var c=b.projection=wfa(a?a.length:1,null),d=c.slice();for(b=
b.child;null!==b;){if(a)a:{var e=b;var g=a,h=null;b:{var l=e.attrs;if(null!=l){var q=l.indexOf(5);if(0===(q&1)){l=l[q+1];break b}}l=null}for(q=0;q<g.length;q++){var v=g[q];if("*"===v)h=q;else{if(null===l)v=ffa(e,v,!0);else b:{var y=0;c:for(;y<v.length;y++){var B=v[y];if(l.length===B.length){for(var I=0;I<l.length;I++)if(l[I]!==B[I])continue c;v=!0;break b}}v=!1}if(v){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}}},Oe=function(a,b,c){b=void 0===b?0:b;var d=
x(),e=Rc.tView;a=wd(e,25+a,16,null,c||null);null===a.projection&&(a.projection=b);Rc.isParent=!1;d[22]&&null===Jha||32===(a.flags&32)||(b=d[11],e=Yga(e,a.parent,d),c=a.parent||d[6],c=c.type&40?Oc(c,d):null,bha(b,0,d,a,e,c))},Qe=function(a,b,c){Pe(a,"",b,"",c);return Qe},Pe=function(a,b,c,d,e){var g=x();b=rla(g,b,c,d);b!==xd&&(c=Rc.tView,d=Vc(),Wha(c,d,g,a,b,g[11],e,!1));return Pe},Re=function(a,b,c,d,e,g,h){var l=x();b=sla(l,b,c,d,e,g);b!==xd&&(c=Rc.tView,d=Vc(),Wha(c,d,l,a,b,l[11],h,!1));return Re},
Se=function(a){return Rc.contextLView[25+a]},R=function(a,b,c,d,e,g,h,l){var q=x(),v=Rc.tView,y=a+25;if(v.firstCreatePass){var B=v.consts;e=wd(v,y,4,e||null,Qc(B,g));Zha(v,q,e,Qc(B,h));iga(v,e);b=e.tView=Tha(2,e,b,c,d,v.directiveRegistry,v.pipeRegistry,null,v.schemas,B,null);null!==v.queries&&(v.queries.template(v,e),b.queries=v.queries.embeddedTView(e));b=e}else b=v.data[y];Tc(b,!1);a=Ula(v,q,b,a);Ke&&Zga(v,q,a,b);id(a,q);Oha(q,q[y]=[a,!0,!1,q,null,0,b,a,null,null,null]);1===(b.flags&1)&&Rha(v,q,
b);null!=h&&Sha(q,b,l)},Vla=function(a,b){Ke=!0;return b[11].createComment("")},S=function(a,b){b=void 0===b?"":b;var c=x(),d=Rc.tView;a+=25;var e=d.firstCreatePass?wd(d,a,1,b,null):d.data[a];Ke=!0;b=c[11].createText(b);c[a]=b;Ke&&Zga(d,c,b,e);Tc(e,!1)},Ve=function(a){Te("",a,"");return Ve},Te=function(a,b,c){var d=x();a=rla(d,a,b,c);a!==xd&&eia(d,a);return Te},We=function(a,b,c,d,e){var g=x();a=sla(g,a,b,c,d,e);a!==xd&&eia(g,a);return We},Wla=function(a,b,c,d,e,g,h,l,q){var v=x();var y=Rc.bindingIndex;
var B=ze(v,y,b,d);y=ze(v,y+2,g,l)||B;$fa(4);a=y?a+pc(b)+c+pc(d)+e+pc(g)+h+pc(l)+q:xd;a!==xd&&eia(v,a);return Wla},Xla=function(a,b,c,d,e){a=uc(a);if(Array.isArray(a))for(var g=0;g<a.length;g++)Xla(a[g],b,c,d,e);else{g=Rc.tView;var h=x(),l=Gc(a)?a:uc(a.provide),q=Ofa(a),v=Sc(),y=v.providerIndexes&1048575,B=v.directiveStart,I=v.providerIndexes>>20;if(Gc(a)||!a.multi)d=new Dga(q,e),q=Yla(l,b,e?y:y+I,B),-1===q?(q=wga(v,h),sga(q,g,l),Zla(g,a,b.length),b.push(l),v.directiveStart++,v.directiveEnd++,e&&(v.providerIndexes+=
1048576),c.push(d),h.push(d)):(c[q]=d,h[q]=d);else{B=Yla(l,b,y+I,B);y=Yla(l,b,y,y+I);var N=0<=B&&c[B];I=0<=y&&c[y];e&&!I||!e&&!N?(B=wga(v,h),sga(B,g,l),B=c.length,N=new Dga(e?$la:ama,e),N.multi=[],N.index=B,N.componentProviders=0,d&&!e&&N.componentProviders++,N.multi.push(q),!e&&I&&(c[y].providerFactory=N),Zla(g,a,b.length,0),b.push(l),v.directiveStart++,v.directiveEnd++,e&&(v.providerIndexes+=1048576),c.push(N),h.push(N)):(b=c[e?y:B],!e&&d&&b.componentProviders++,b=b.multi.push(q)-1,Zla(g,a,-1<B?
B:y,b));!e&&d&&I&&c[y].componentProviders++}}},Zla=function(a,b,c,d){var e=Gc(b),g=!!b.useClass;if(e||g)if(g=(g?uc(b.useClass):b).prototype.ngOnDestroy)a=a.destroyHooks||(a.destroyHooks=[]),!e&&b.multi?(b=a.indexOf(c),-1===b?a.push(c,[d,g]):a[b+1].push(d,g)):a.push(c,g)},Yla=function(a,b,c,d){for(;c<d;c++)if(b[c]===a)return c;return-1},ama=function(){return bma(this.multi,[])},$la=function(a,b,c,d){b=this.multi;if(this.providerFactory){var e=this.providerFactory.componentProviders;d=bd(c,c[1],this.providerFactory.index,
d);c=d.slice(0,e);bma(b,c);for(b=e;b<d.length;b++)c.push(d[b])}else c=[],bma(b,c);return c},bma=function(a,b){for(var c=0;c<a.length;c++)b.push((0,a[c])());return b},Xe=function(a){var b=void 0===b?[]:b;return function(c){c.providersResolver=function(d,e){e=e?e(a):a;var g=Rc.tView;g.firstCreatePass&&(d=!!d.template,Xla(b,g.data,g.blueprint,d,!0),Xla(e,g.data,g.blueprint,d,!1))}}},dma=function(a){a.getStandaloneInjector=function(b){b=b.get(cma);if(a.standalone){if(!b.cachedInjectors.has(a.id)){var c=
Afa(!1,a.type);c=0<c.length?qia([c],b._injector,"Standalone["+a.type.name+"]"):null;b.cachedInjectors.set(a.id,c)}b=b.cachedInjectors.get(a.id)}else b=null;return b}},Ye=function(a,b){a=Uc()+a;var c=x();return c[a]===xd?qla(c,a,b()):c[a]},Ze=function(a,b,c){return ema(x(),Uc(),a,b,c)},$e=function(a,b,c,d){return fma(x(),Uc(),a,b,c,d)},af=function(a,b,c,d){return gma(x(),Uc(),2,a,b,c,d)},ima=function(a,b,c,d,e,g){var h=hma,l=Uc()+8,q=x();var v=ze(q,l,a,b);v=ze(q,l+2,c,d)||v;return ze(q,l+4,e,g)||v?
qla(q,l+6,h(a,b,c,d,e,g)):q[l+6]},jma=function(a,b){a=a[b];return a===xd?void 0:a},ema=function(a,b,c,d,e,g){b+=c;return ye(a,b,e)?qla(a,b+1,g?d.call(g,e):d(e)):jma(a,b+1)},fma=function(a,b,c,d,e,g,h){b+=c;return ze(a,b,e,g)?qla(a,b+2,h?d.call(h,e,g):d(e,g)):jma(a,b+2)},gma=function(a,b,c,d,e,g,h,l){b+=c;c=ze(a,b,e,g);return ye(a,b+2,h)||c?qla(a,b+3,l?d.call(l,e,g,h):d(e,g,h)):jma(a,b+3)},T=function(a,b){var c=Rc.tView;a+=25;if(c.firstCreatePass){a:{var d=c.pipeRegistry;if(d)for(var e=d.length-1;0<=
e;e--){var g=d[e];if(b===g.name){b=g;break a}}b=void 0}c.data[a]=b;if(b.onDestroy){var h;(null!=(h=c.destroyHooks)?h:c.destroyHooks=[]).push(a,b.onDestroy)}}else b=c.data[a];h=b.factory||(b.factory=Ec(b.type));b=sc(D);try{var l=pga(!1),q=h();pga(l);var v=x();a>=c.data.length&&(c.data[a]=null,c.blueprint[a]=null);v[a]=q}finally{sc(b)}},U=function(a,b,c){a+=25;var d=x(),e=d[a];return d[1].data[a].pure?ema(d,Uc(),b,e.transform,c,e):e.transform(c)},bf=function(a,b,c,d){a+=25;var e=x(),g=e[a];return e[1].data[a].pure?
fma(e,Uc(),b,g.transform,c,d,g):g.transform(c,d)},cf=function(a,b,c,d,e){a+=25;var g=x(),h=g[a];return g[1].data[a].pure?gma(g,Uc(),b,h.transform,c,d,e,h):h.transform(c,d,e)},kma=function(){return this._results[Symbol.iterator]()},mma=function(){return lma(Sc(),x())},lma=function(a,b){return a.type&4?new nma(b,a,gd(a,b)):null},pma=function(){return oma(Sc(),x())},qma=function(a){return a[8]||(a[8]=[])},oma=function(a,b){var c=b[a.index];if(Lc(c))var d=c;else d=[c,!0,!1,b,null,0,a,null,null,null,null],
b[a.index]=d,Oha(b,d);rma(d,b,a,c);return new df(d,a,b)},sma=function(a,b,c,d){if(!a[7]){if(c.type&8)d=Nc(d);else{d=b[11];var e=d.createComment("");c=Oc(c,b);b=d.parentNode(c);c=d.nextSibling(c);d.insertBefore(b,e,c,!1);d=e}a[7]=d}},tma=function(a,b,c,d){d=b[18].queries[d];if(null===d.matches){a=a.data;for(var e=c.matches,g=[],h=0;h<e.length;h+=2){var l=e[h];if(0>l)g.push(null);else{var q=g,v=q.push,y=b,B=a[l],I=e[h+1];l=c.metadata.read;-1===I?(l=B,y=l.type&11?gd(l,y):l.type&4?lma(l,y):null):-2===
I?y=l===fd?gd(B,y):l===ef?lma(B,y):l===ff?oma(B,y):void 0:y=bd(y,y[1],I,B);v.call(q,y)}}d.matches=g}return d.matches},uma=function(a,b,c,d){var e=a.queries.queries[c],g=e.matches;if(null!==g)for(a=tma(a,b,e,c),c=0;c<g.length;c+=2){var h=g[c];if(0<h)d.push(a[c/2]);else{e=g[c+1];h=b[-h];for(var l=11;l<h.length;l++){var q=h[l];q[16]===q[3]&&uma(q[1],q,e,d)}if(null!==h[9])for(h=h[9],l=0;l<h.length;l++)q=h[l],uma(q[1],q,e,d)}}return d},hf=function(a){var b=x(),c=Rc.tView,d=Rc.currentQueryIndex;Rc.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?uma(c,b,d,[]):tma(c,b,e,d),a.reset(b,Kga),gf(a)),!0):!1},jf=function(a,b,c){var d=Rc.tView;d.firstCreatePass&&(vma(d,new wma(a,b,c),-1),2===(b&2)&&(d.staticViewQueries=!0));xma(d,b)},kf=function(a,b,c,d){var e=Rc.tView;e.firstCreatePass&&(vma(e,new wma(b,c,d),Sc().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));xma(e,c)},lf=function(){return x()[18].queries[Rc.currentQueryIndex].queryList},xma=function(a,b){var c=x();b=new mf(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 yma);c[18].queries.push(new zma(b))},vma=function(a,b,c){null===a.queries&&(a.queries=new Ama);a.queries.track(new nf(b,c))},of=function(a,b){return lma(a,b)},Bma=function(a){var b=Sc(),c=x();-1<
b.componentOffset&&16!==(a&16)?(a=Pc(b.index,c),a=new pf(a,a)):a=b.type&47?new pf(c[15],c):null;return a},Cma=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},Dma=function(a){return"boolean"===typeof a?a:null!=a&&"false"!==a},Ema=function(a){var b=a[Ac]||null;if(!b)return null;var c=new qf(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}}},Fma=function(a,b){if(b&&!b.createEmbeddedView)throw Error("Ra`"+a+"`"+qc(b));},Gma=function(a,b,c){a=Ad(a);b=rf([a[1],a[2]],b);return rf(b,c)},Hma=function(a,b,c){a=Ad(a);b=rf([a[3],a[4]],b);return rf(b,c)},Ima=function(a,b,c){a=Ad(a);b=rf([a[5],a[6]],b);return rf(b,c)},Jma=function(a,b){a=Ad(a)[7];return rf(a,b)},Kma=function(a,b){a=Ad(a);return rf(a[10],b)},Lma=function(a,b){a=Ad(a);return rf(a[11],b)},Mma=function(a,b){a=
Ad(a)[12];return rf(a,b)},sf=function(a,b){a=Ad(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},Nma=function(a){if(!a[21])throw Error("Sa`"+a[0]);},Pma=function(a){a=Ad(a);Nma(a);return(a[21][2]||[]).map(function(b){return"string"===typeof b?Oma(b):[Oma(b[0]),Oma(b[1])]})},Qma=function(a,b,c){a=Ad(a);Nma(a);b=rf([a[21][0],a[21][1]],b)||[];return rf(b,c)||[]},rf=function(a,b){for(;-1<b;b--)if("undefined"!==typeof a[b])return a[b];throw Error("Ta");
},Oma=function(a){var b=k(a.split(":"));a=b.next().value;b=b.next().value;return{hours:+a,minutes:+b}},tf=function(){return new rc(2100,!1)},Zma=function(a,b,c,d){var e=Rma(a);b=uf(c,b)||b;a=[];for(var g;b;)if(g=Sma.exec(b)){if(a=a.concat(g.slice(1)),b=a.pop(),!b)break}else{a.push(b);break}var h=e.getTimezoneOffset();d&&(h=Tma(d,h),e=Uma(e,d));var l="";a.forEach(function(q){a:if(Vma[q])var v=Vma[q];else{switch(q){case "G":case "GG":case "GGG":v=vf(3,1);break;case "GGGG":v=vf(3,2);break;case "GGGGG":v=
vf(3,0);break;case "y":v=wf(0,1,0,!1,!0);break;case "yy":v=wf(0,2,0,!0,!0);break;case "yyy":v=wf(0,3,0,!1,!0);break;case "yyyy":v=wf(0,4,0,!1,!0);break;case "Y":v=Wma(1);break;case "YY":v=Wma(2,!0);break;case "YYY":v=Wma(3);break;case "YYYY":v=Wma(4);break;case "M":case "L":v=wf(1,1,1);break;case "MM":case "LL":v=wf(1,2,1);break;case "MMM":v=vf(2,1);break;case "MMMM":v=vf(2,2);break;case "MMMMM":v=vf(2,0);break;case "LLL":v=vf(2,1,1);break;case "LLLL":v=vf(2,2,1);break;case "LLLLL":v=vf(2,0,1);break;
case "w":v=Xma(1);break;case "ww":v=Xma(2);break;case "W":v=Xma(1,!0);break;case "d":v=wf(2,1);break;case "dd":v=wf(2,2);break;case "c":case "cc":v=wf(7,1);break;case "ccc":v=vf(1,1,1);break;case "cccc":v=vf(1,2,1);break;case "ccccc":v=vf(1,0,1);break;case "cccccc":v=vf(1,3,1);break;case "E":case "EE":case "EEE":v=vf(1,1);break;case "EEEE":v=vf(1,2);break;case "EEEEE":v=vf(1,0);break;case "EEEEEE":v=vf(1,3);break;case "a":case "aa":case "aaa":v=vf(0,1);break;case "aaaa":v=vf(0,2);break;case "aaaaa":v=
vf(0,0);break;case "b":case "bb":case "bbb":v=vf(0,1,1,!0);break;case "bbbb":v=vf(0,2,1,!0);break;case "bbbbb":v=vf(0,0,1,!0);break;case "B":case "BB":case "BBB":v=vf(0,1,0,!0);break;case "BBBB":v=vf(0,2,0,!0);break;case "BBBBB":v=vf(0,0,0,!0);break;case "h":v=wf(3,1,-12);break;case "hh":v=wf(3,2,-12);break;case "H":v=wf(3,1);break;case "HH":v=wf(3,2);break;case "m":v=wf(4,1);break;case "mm":v=wf(4,2);break;case "s":v=wf(5,1);break;case "ss":v=wf(5,2);break;case "S":v=wf(6,1);break;case "SS":v=wf(6,
2);break;case "SSS":v=wf(6,3);break;case "Z":case "ZZ":case "ZZZ":v=Yma(0);break;case "ZZZZZ":v=Yma(3);break;case "O":case "OO":case "OOO":case "z":case "zz":case "zzz":v=Yma(1);break;case "OOOO":case "ZZZZ":case "zzzz":v=Yma(2);break;default:v=null;break a}Vma[q]=v}l+=v?v(e,c,h):"''"===q?"'":q.replace(/(^'|'$)/g,"").replace(/''/g,"'")});return l},$ma=function(a,b,c){var d=new Date(0);d.setFullYear(a,b,c);d.setHours(0,0,0);return d},uf=function(a,b){var c=Ad(a)[0];ana[c]=ana[c]||{};if(ana[c][b])return ana[c][b];
var d="";switch(b){case "shortDate":d=Kma(a,0);break;case "mediumDate":d=Kma(a,1);break;case "longDate":d=Kma(a,2);break;case "fullDate":d=Kma(a,3);break;case "shortTime":d=Lma(a,0);break;case "mediumTime":d=Lma(a,1);break;case "longTime":d=Lma(a,2);break;case "fullTime":d=Lma(a,3);break;case "short":d=uf(a,"shortTime");var e=uf(a,"shortDate");d=bna(Mma(a,0),[d,e]);break;case "medium":d=uf(a,"mediumTime");e=uf(a,"mediumDate");d=bna(Mma(a,1),[d,e]);break;case "long":d=uf(a,"longTime");e=uf(a,"longDate");
d=bna(Mma(a,2),[d,e]);break;case "full":d=uf(a,"fullTime"),e=uf(a,"fullDate"),d=bna(Mma(a,3),[d,e])}d&&(ana[c][b]=d);return d},bna=function(a,b){b&&(a=a.replace(/\{([^}]+)}/g,function(c,d){return null!=b&&d in b?b[d]:c}));return a},xf=function(a,b,c,d,e){c=void 0===c?"-":c;var g="";if(0>a||e&&0>=a)e?a=-a+1:(a=-a,g=c);for(a=String(a);a.length<b;)a="0"+a;d&&(a=a.slice(a.length-b));return g+a},wf=function(a,b,c,d,e){c=void 0===c?0:c;d=void 0===d?!1:d;e=void 0===e?!1:e;return function(g,h){g=cna(a,g);
if(0<c||g>-c)g+=c;if(3===a)0===g&&-12===c&&(g=12);else if(6===a)return xf(g,3).substring(0,b);h=sf(h,5);return xf(g,b,h,d,e)}},cna=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("Ua`"+a);}},vf=function(a,b,c,d){c=void 0===c?0:c;d=void 0===d?!1:d;return function(e,g){return dna(e,
g,a,b,c,d)}},dna=function(a,b,c,d,e,g){switch(c){case 2:return Ima(b,e,d)[a.getMonth()];case 1:return Hma(b,e,d)[a.getDay()];case 0:var h=a.getHours(),l=a.getMinutes();return g&&(c=Pma(b),a=Qma(b,e,d),c=c.findIndex(function(q){if(Array.isArray(q)){var v=k(q);q=v.next().value;v=v.next().value;var y=h>=q.hours&&l>=q.minutes,B=h<v.hours||h===v.hours&&l<v.minutes;if(q.hours<v.hours){if(y&&B)return!0}else if(y||B)return!0}else if(q.hours===h&&q.minutes===l)return!0;return!1}),-1!==c)?a[c]:Gma(b,e,d)[12>
h?0:1];case 3:return Jma(b,d)[0>=a.getFullYear()?0:1];default:throw Error("Va`"+c);}},Yma=function(a){return function(b,c,d){b=-1*d;c=sf(c,5);var e=0<b?Math.floor(b/60):Math.ceil(b/60);switch(a){case 0:return(0<=b?"+":"")+xf(e,2,c)+xf(Math.abs(b%60),2,c);case 1:return"GMT"+(0<=b?"+":"")+xf(e,1,c);case 2:return"GMT"+(0<=b?"+":"")+xf(e,2,c)+":"+xf(Math.abs(b%60),2,c);case 3:return 0===d?"Z":(0<=b?"+":"")+xf(e,2,c)+":"+xf(Math.abs(b%60),2,c);default:throw Error("Wa`"+a);}}},ena=function(a){return $ma(a.getFullYear(),
a.getMonth(),a.getDate()+(4-a.getDay()))},Xma=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=ena(c);c=e.getFullYear();var g=$ma(c,0,1).getDay();c=$ma(c,0,1+(4>=g?4:11)-g);e=1+Math.round((e.getTime()-c.getTime())/6048E5)}return xf(e,a,sf(d,5))}},Wma=function(a,b){b=void 0===b?!1:b;return function(c,d){c=ena(c).getFullYear();return xf(c,a,sf(d,5),b)}},Tma=function(a,b){a=a.replace(/:/g,
"");a=Date.parse("Jan 01, 1970 00:00:00 "+a)/6E4;return isNaN(a)?b:a},Uma=function(a,b){var c=a.getTimezoneOffset();b=Tma(b,c);a=new Date(a.getTime());a.setMinutes(a.getMinutes()+-1*(b-c));return a},Rma=function(a){if(a instanceof Date&&!isNaN(a.valueOf()))return a;if("number"===typeof a&&!isNaN(a))return new Date(a);if("string"===typeof a){a=a.trim();if(/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(a)){var b=k(a.split("-").map(function(d){return+d}));a=b.next().value;var c=b.next().value;c=void 0===c?1:
c;b=b.next().value;return $ma(a,c-1,void 0===b?1:b)}b=parseFloat(a);if(!isNaN(a-b))return new Date(b);if(b=a.match(fna))return gna(b)}b=new Date(a);if(!(b instanceof Date)||isNaN(b.valueOf()))throw Error("Xa`"+a);return b},gna=function(a){var b=new Date(0),c=0,d=0,e=a[8]?b.setUTCFullYear:b.setFullYear,g=a[8]?b.setUTCHours:b.setHours;a[9]&&(c=Number(a[9]+a[10]),d=Number(a[9]+a[11]));e.call(b,Number(a[1]),Number(a[2])-1,Number(a[3]));g.call(b,Number(a[4]||0)-c,Number(a[5]||0)-d,Number(a[6]||0),Math.floor(1E3*
parseFloat("0."+(a[7]||0))));return b},hna=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},nna=function(a,b,c,d){var e=void 0===e?!1:e;var g="",h=!1;if(isFinite(a)){h=ina(a);e&&(h=jna(h));g=b.minInt;
e=b.minFrac;var l=b.maxFrac;if(d){var q=d.match(kna);if(null===q)throw Error("Ya`"+d);d=q[1];var v=q[3];q=q[5];null!=d&&(g=lna(d));null!=v&&(e=lna(v));null!=q?l=lna(q):null!=v&&e>l&&(l=e)}mna(h,e,l);d=h.digits;q=h.integerLen;e=h.exponent;l=[];for(h=d.every(function(y){return!y});q<g;q++)d.unshift(0);for(;0>q;q++)d.unshift(0);0<q?l=d.splice(q,d.length):(l=d,d=[0]);g=[];for(d.length>=b.lgSize&&g.unshift(d.splice(-b.lgSize,d.length).join(""));d.length>b.gSize;)g.unshift(d.splice(-b.gSize,d.length).join(""));
d.length&&g.unshift(d.join(""));g=g.join(sf(c,1));l.length&&(g+=sf(c,0)+l.join(""));e&&(g+=sf(c,6)+"+"+e)}else g=sf(c,9);return g=0>a&&!h?b.negPre+g+b.negSuf:b.posPre+g+b.posSuf},jna=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},ina=function(a){a=Math.abs(a)+"";var b=0,c,d,e,g;-1<(c=a.indexOf("."))&&(a=a.replace(".",""));0<(d=a.search(/e/i))?(0>c&&(c=d),c+=+a.slice(d+
1),a=a.substring(0,d)):0>c&&(c=a.length);for(d=0;"0"===a.charAt(d);d++);if(d===(g=a.length)){var h=[0];c=1}else{for(g--;"0"===a.charAt(g);)g--;c-=d;h=[];for(e=0;d<=g;d++,e++)h[e]=Number(a.charAt(d))}22<c&&(h=h.splice(0,21),b=c-1,c=1);return{digits:h,exponent:b,integerLen:c}},mna=function(a,b,c){if(b>c)throw Error("Za`"+b+"`"+c);var d=a.digits,e=d.length-a.integerLen;c=Math.min(Math.max(b,e),c);var g=c+a.integerLen,h=d[g];if(0<g){d.splice(Math.max(a.integerLen,g));for(var l=g;l<d.length;l++)d[l]=0}else for(e=
Math.max(0,e),a.integerLen=1,d.length=Math.max(1,g=c+1),d[0]=0,l=1;l<g;l++)d[l]=0;if(5<=h)if(0>g-1){for(h=0;h>g;h--)d.unshift(0),a.integerLen++;d.unshift(1);a.integerLen++}else d[g-1]++;for(;e<Math.max(0,c);e++)d.push(0);var q=0!==c,v=b+a.integerLen;if(b=d.reduceRight(function(y,B,I,N){B+=y;N[I]=10>B?B:B-10;q&&(0===N[I]&&I>=v?N.pop():q=!1);return 10<=B?1:0},0))d.unshift(b),a.integerLen++},lna=function(a){var b=parseInt(a);if(isNaN(b))throw Error("$a`"+a);return b},ona=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},pna=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)},yf=function(a){return a&&"?"!==a[0]?"?"+a:a},qna=function(a){return RegExp("^(https?:)?//").test(a)?(a=k(a.split(/\/\/[^\/]+/)),a.next(),a.next().value):a},rna=function(a){return null==a||("string"===typeof a||Array.isArray(a))&&0===a.length},sna=function(a){return function(b){if(rna(b.value)||
rna(a))return null;var c=parseFloat(b.value);return!isNaN(c)&&c<a?{min:{min:a,actual:b.value}}:null}},tna=function(a){return rna(a.value)?{required:!0}:null},una=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}},wna=function(a){if(!a)return vna;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(rna(d.value))return null;d=d.value;return c.test(d)?null:{pattern:{requiredPattern:b,actualValue:d}}}},vna=function(){return null},xna=function(a){return null!=a},yna=function(a){return ria(a)?(0,F.from)(a):a},zna=function(a){var b={};a.forEach(function(c){b=null!=c?Object.assign({},b,c):b});return 0===Object.keys(b).length?null:b},Ana=function(a,b){return b.map(function(c){return c(a)})},Bna=function(a){return a.map(function(b){return b.validate?function(c){return b.validate(c)}:
b})},Cna=function(a){if(!a)return null;var b=a.filter(xna);return 0==b.length?null:function(c){return zna(Ana(c,b))}},Dna=function(a){return null!=a?Cna(Bna(a)):null},Ena=function(a){if(!a)return null;var b=a.filter(xna);return 0==b.length?null:function(c){c=Ana(c,b).map(yna);return(0,F.forkJoin)(c).pipe(E(zna))}},Fna=function(a){return null!=a?Ena(Bna(a)):null},Gna=function(a,b){return null===a?[b]:Array.isArray(a)?[].concat(Jc(a),[b]):[a,b]},Hna=function(a,b){return[].concat(Jc(b.path),[a])},Nna=
function(a,b,c){c=void 0===c?"whenDisabledForLegacyCode":c;Ina(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)}Jna(a,b);Kna(a,b);Lna(a,b);Mna(a,b)},Pna=function(a,b){var c=function(){};b.valueAccessor&&(b.valueAccessor.registerOnChange(c),b.valueAccessor.registerOnTouched(c));Ona(a,b);a&&(b._invokeOnDestroyCallbacks(),a._registerOnCollectionChange(function(){}))},Qna=function(a,b){a.forEach(function(c){c.registerOnValidatorChange&&
c.registerOnValidatorChange(b)})},Mna=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)})}},Ina=function(a,b){var c=a._rawValidators;null!==b.validator?Rna(a,Gna(c,b.validator)):"function"===typeof c&&Rna(a,[c]);c=a._rawAsyncValidators;null!==b.asyncValidator?Sna(a,Gna(c,b.asyncValidator)):"function"===typeof c&&Sna(a,[c]);c=function(){return zf(a)};
Qna(b._rawValidators,c);Qna(b._rawAsyncValidators,c)},Ona=function(a,b){var c=!1;if(null!==a){if(null!==b.validator){var d=a._rawValidators;if(Array.isArray(d)&&0<d.length){var e=d.filter(function(g){return g!==b.validator});e.length!==d.length&&(c=!0,a._assignValidators(e))}}null!==b.asyncValidator&&(d=a._rawAsyncValidators,Array.isArray(d)&&0<d.length&&(e=d.filter(function(g){return g!==b.asyncValidator}),e.length!==d.length&&(c=!0,a._assignAsyncValidators(e))))}a=function(){};Qna(b._rawValidators,
a);Qna(b._rawAsyncValidators,a);return c},Jna=function(a,b){b.valueAccessor.registerOnChange(function(c){a._pendingValue=c;a._pendingChange=!0;a._pendingDirty=!0;"change"===a.updateOn&&Tna(a,b)})},Lna=function(a,b){b.valueAccessor.registerOnTouched(function(){a._pendingTouched=!0;"blur"===a.updateOn&&a._pendingChange&&Tna(a,b);"submit"!==a.updateOn&&Una(a)})},Tna=function(a,b){a._pendingDirty&&Vna(a);a.setValue(a._pendingValue,{emitModelToViewChange:!1});b.viewToModelUpdate(a._pendingValue);a._pendingChange=
!1},Kna=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)})},Wna=function(a,b){if(!a.hasOwnProperty("model"))return!1;a=a.model;return a.isFirstChange()?!0:!Object.is(b,a.currentValue)},Xna=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)})},Yna=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===Af?b=e:Object.getPrototypeOf(e.constructor)===Bf?c=e:d=e});return d?d:c?c:b?b:null},$na=function(a){return(Zna(a)?a.validators:a)||null},Zna=function(a){return null!=a&&!Array.isArray(a)&&"object"===typeof a},aoa=function(a,b){a._forEachChild(function(c,d){if(void 0===b[d])throw new rc(1002,"");})},boa=function(a){return"object"===typeof a&&null!==a&&2===Object.keys(a).length&&"value"in a&&"disabled"in a},eoa=function(){if(coa)return coa;
if("object"!==typeof document||!document)return coa=new Set(doa);var a=document.createElement("input");return coa=new Set(doa.filter(function(b){a.setAttribute("type",b);return a.type===b}))},goa=function(){if(null==foa&&"undefined"!==typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return foa=!0}}))}finally{foa=foa||!1}return foa},Cf=function(a){return goa()?a:!!a.capture},ioa=function(){if(null==hoa){if("object"!==typeof document||!document||
"function"!==typeof Element||!Element)return hoa=!1;if("scrollBehavior"in document.documentElement.style)hoa=!0;else{var a=Element.prototype.scrollTo;hoa=a?!/\{\s*\[native code\]\s*\}/.test(a.toString()):!1}}return hoa},koa=function(){if("object"!==typeof document||!document)return 0;if(null==joa){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);joa=0;0===a.scrollLeft&&(a.scrollLeft=1,joa=0===a.scrollLeft?1:2);a.remove()}return joa},moa=function(a){if(null==loa){var b="undefined"!==typeof document?document.head:null;loa=!(!b||!b.createShadowRoot&&!b.attachShadow)}return loa&&(a=a.getRootNode?a.getRootNode():null,"undefined"!==typeof ShadowRoot&&ShadowRoot&&a instanceof ShadowRoot)?a:null},noa=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},Df=function(a){return a.composedPath?a.composedPath()[0]:a.target},ooa=function(){return"undefined"!==typeof __karma__&&!!__karma__||"undefined"!==typeof jasmine&&!!jasmine||"undefined"!==typeof jest&&!!jest||"undefined"!==typeof Mocha&&!!Mocha},poa=function(a){if(!a.hasAttribute("tabindex")||void 0===a.tabIndex)return!1;a=a.getAttribute("tabindex");return!(!a||isNaN(parseInt(a,10)))},qoa=function(a){if(!poa(a))return null;
a=parseInt(a.getAttribute("tabindex")||"",10);return isNaN(a)?-1:a},roa=function(a){return Array.isArray(a)?a:[a]},Ef=function(a){return null!=a&&"false"!==""+a},Ff=function(a){return null==a?"":"string"===typeof a?a:a+"px"},Gf=function(a){return a instanceof fd?a.nativeElement:a},Hf=function(a,b){return isNaN(parseFloat(a))||isNaN(Number(a))?void 0===b?0:b:Number(a)},soa=function(a){var b=void 0===b?/\s+/:b;var c=[];if(null!=a)for(a=Array.isArray(a)?a:(""+a).split(b),a=k(a),b=a.next();!b.done;b=
a.next())(b=(""+b.value).trim())&&c.push(b);return c},toa=function(a){return 0===a.buttons||0===a.offsetX&&0===a.offsetY},uoa=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)},If=function(a){var b=Fc.apply(1,arguments);return b.length?b.some(function(c){return a[c]}):a.altKey||a.shiftKey||a.ctrlKey||a.metaKey},woa=function(a,b){return b.map(function(c){return c.replace(voa,
a)})},xoa=function(a){var b=new Map;0<a.length&&a.replace(/^\?/,"").split("&").forEach(function(c){var d=c.indexOf("=");if(-1==d)var e=[decodeURIComponent(c),""];else e=c.slice(0,d),e=decodeURIComponent(e),c=c.slice(d+1),c=decodeURIComponent(c),e=[e,c];c=k(e);e=c.next().value;c=c.next().value;d=b.get(e)||[];d.push(c);b.set(e,d)});return b},Aoa=function(a){return encodeURIComponent(a).replace(yoa,function(b,c){var d;return null!=(d=zoa[c])?d:b})},Boa=function(a){return""+a},Coa=function(a){return"undefined"!==
typeof ArrayBuffer&&a instanceof ArrayBuffer},Doa=function(a){return"undefined"!==typeof Blob&&a instanceof Blob},Eoa=function(a){return"undefined"!==typeof FormData&&a instanceof FormData},Foa=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}},Goa=function(a,b){return b(a)},Hoa=function(a,b){return function(c,d){return b.intercept(c,{handle:function(e){return a(e,
d)}})}},Ioa=function(a,b,c){return function(d,e){return c.runInContext(function(){return b(d,function(g){return a(g,e)})})}},Joa=function(){var a=setTimeout(function(){},2147483647);return function(){return clearTimeout(a)}},Noa=function(a,b){var c=a.url.toLowerCase();if(!wc(Koa)||"GET"===a.method||"HEAD"===a.method||c.startsWith("http://")||c.startsWith("https://"))return b(a);c=wc(Loa).getToken();var d=wc(Moa);null==c||a.headers.has(d)||(a=a.clone({headers:a.headers.set(d,c)}));return b(a)},Kf=
function(a){var b=void 0===b?{}:b;a=a.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;");b.preserveSpaces&&(a=a.replace(/(^|[\r\n\t ]) /g,"$1&#160;"));b.preserveNewlines&&(a=a.replace(/(\r\n|\n|\r)/g,"<br>"));b.preserveTabs&&(a=a.replace(/(\t+)/g,'<span style="white-space:pre">$1</span>'));return Jf(a)},Poa=function(a){if(a instanceof Zb)a=$b(a);else{b:if(Ooa){try{var b=new URL(a)}catch(c){b="https:";break b}b=b.protocol}else c:{b=document.createElement("a");
try{b.href=a}catch(c){b=void 0;break c}b=b.protocol;b=":"===b||""===b?"https:":b}a="javascript:"!==b?a:void 0}return a},Lf=function(a){var b=Fc.apply(1,arguments);if(0===b.length)return Qoa(a[0]);for(var c=a[0],d=0;d<b.length;d++)c+=encodeURIComponent(b[d])+a[d+1];return Qoa(c)},Soa=function(a){return new Roa(function(b){return b.substr(0,a.length+1).toLowerCase()===a+":"})},Nf=function(a){var b=void 0===b?Toa:b;a:{b=void 0===b?Toa:b;for(var c=0;c<b.length;++c){var d=b[c];if(d instanceof Roa&&d.isValid(a)){a=
Mf(a);break a}}a=void 0}return a||Rda},Xoa=function(a,b){var c=[];"string"==typeof a?a.split(/\s*,\s*/).forEach(function(d){a:{if(":"==d[0]&&(d=Uoa(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 rc(3015,!1)),d=c;else{d=e[1];var g=e[2];e=e[3];c.push(Woa(d,e));"<"!=g[0]||"*"==d&&"*"==e||c.push(Woa(e,d));d=void 0}}return d}):c.push(a);return c},Uoa=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 rc(3016,!1)),"* => *"}},Woa=function(a,b){var c=Yoa.has(a)||Zoa.has(a),d=Yoa.has(b)||Zoa.has(b);return function(e,g){var h="*"==a||a==e,l="*"==b||b==g;!h&&c&&"boolean"===typeof e&&(h=e?Yoa.has(a):Zoa.has(a));!l&&d&&"boolean"===typeof g&&(l=g?Yoa.has(b):Zoa.has(b));return h&&l}},Of=function(a,
b){return{type:7,name:a,definitions:b,options:{}}},Pf=function(a,b){return{type:4,styles:void 0===b?null:b,timings:a}},Qf=function(a){return{type:6,styles:a,offset:null}},Rf=function(a,b){return{type:0,name:a,styles:b,options:void 0}},Sf=function(a,b,c){return{type:1,expr:a,animation:b,options:void 0===c?null:c}},$oa=function(){return{type:9,options:null}},apa=function(a,b){var c={optional:!0};return{type:11,selector:a,animation:b,options:void 0===c?null:c}},Uf=function(a){switch(a.length){case 0:return new Tf;
case 1:return a[0];default:return new bpa(a)}},epa=function(a,b,c){b=void 0===b?new Map:b;c=void 0===c?new Map:c;var d=[],e=[],g=-1,h=null;a.forEach(function(l){var q=l.get("offset"),v=q==g,y=v&&h||new Map;l.forEach(function(B,I){var N=I;if("offset"!==I)switch(N=cpa(N),B){case "!":B=b.get(I);break;case "*":B=c.get(I);break;default:B=dpa(N,B,d)}y.set(N,B)});v||e.push(y);h=y;g=q});if(d.length)throw new rc(3502,!1);return e},gpa=function(a,b,c,d){switch(b){case "start":a.onStart(function(){return d(c&&
fpa(c,"start",a))});break;case "done":a.onDone(function(){return d(c&&fpa(c,"done",a))});break;case "destroy":a.onDestroy(function(){return d(c&&fpa(c,"destroy",a))})}},fpa=function(a,b,c){var d=c.totalTime;b=hpa(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},hpa=function(a,b,c,d,e,g,h){return{element:a,triggerName:b,fromState:c,toState:d,phaseName:void 0===e?"":e,totalTime:void 0===g?0:g,disabled:!!h}},
Wf=function(a,b,c){var d=a.get(b);d||a.set(b,d=c);return d},ipa=function(a){var b=a.indexOf(":"),c=a.substring(1,b);a=a.slice(b+1);return[c,a]},kpa=function(a){a=a.parentNode||a.host||null;return a===jpa?null:a},lpa=function(a,b){for(;b;){if(b===a)return!0;b=kpa(b)}return!1},mpa=function(a,b,c){return c?Array.from(a.querySelectorAll(b)):(a=a.querySelector(b))?[a]:[]},Xf=function(a){if("number"==typeof a)return a;a=a.match(/^(-?[\.\d]+)(m?s)/);return!a||2>a.length?0:npa(parseFloat(a[1]),a[2])},npa=
function(a,b){switch(b){case "s":return 1E3*a;default:return a}},opa=function(a,b,c){if(a.hasOwnProperty("duration"))b=a;else a:{var d=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,e=0,g="";if("string"===typeof a){d=a.match(d);if(null===d){b.push(new rc(3E3,!1));b={duration:0,delay:0,easing:""};break a}a=npa(parseFloat(d[1]),d[2]);var h=d[3];null!=h&&(e=npa(parseFloat(h),d[4]));(d=d[5])&&(g=d)}c||(c=!1,d=b.length,0>a&&(b.push(new rc(3100,!1)),c=!0),0>e&&(b.push(new rc(3101,
!1)),c=!0),c&&b.splice(d,0,new rc(3E3,!1)));b={duration:a,delay:e,easing:g}}return b},ppa=function(a){var b=void 0===b?{}:b;Object.keys(a).forEach(function(c){b[c]=a[c]});return b},qpa=function(a){var b=new Map;Object.keys(a).forEach(function(c){b.set(c,a[c])});return b},rpa=function(a){return a.length?a[0]instanceof Map?a:a.map(function(b){return qpa(b)}):[]},Yf=function(a,b,c){b=void 0===b?new Map:b;if(c){c=k(c);for(var d=c.next();!d.done;d=c.next()){var e=k(d.value);d=e.next().value;e=e.next().value;
b.set(d,e)}}a=k(a);for(c=a.next();!c.done;c=a.next())d=k(c.value),c=d.next().value,d=d.next().value,b.set(c,d);return b},Zf=function(a,b,c){b.forEach(function(d,e){var g=cpa(e);c&&!c.has(e)&&c.set(e,a.style[g]);a.style[g]=d})},$f=function(a,b){b.forEach(function(c,d){d=cpa(d);a.style[d]=""})},spa=function(a){return Array.isArray(a)?1==a.length?a[0]:{type:2,steps:a,options:null}:a},upa=function(a,b,c){var d=b.params||{};a=tpa(a);a.length&&a.forEach(function(e){d.hasOwnProperty(e)||c.push(new rc(3001,
!1))})},tpa=function(a){var b=[];if("string"===typeof a){for(var c;c=vpa.exec(a);)b.push(c[1]);vpa.lastIndex=0}return b},wpa=function(a,b,c){var d=a.toString(),e=d.replace(vpa,function(g,h){h=b[h];null==h&&(c.push(new rc(3003,!1)),h="");return h.toString()});return e==d?a:e},xpa=function(a){for(var b=[],c=a.next();!c.done;)b.push(c.value),c=a.next();return b},cpa=function(a){return a.replace(ypa,function(){return Fc.apply(0,arguments)[1].toUpperCase()})},zpa=function(a,b,c){if(c.size&&b.length){var d=
b[0],e=[];c.forEach(function(h,l){d.has(l)||e.push(l);d.set(l,h)});if(e.length){c={};for(var g=1;g<b.length;c={$jscomp$loop$prop$kf$2264:c.$jscomp$loop$prop$kf$2264},g++)c.$jscomp$loop$prop$kf$2264=b[g],e.forEach(function(h){return function(l){var q=h.$jscomp$loop$prop$kf$2264,v=q.set;var y=window.getComputedStyle(a)[l];return v.call(q,l,y)}}(c))}}return b},ag=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 rc(3004,!1);}},Bpa=function(a){var b=a.split(/\s*,\s*/).find(function(c){return":self"==c})?!0:!1;b&&(a=a.replace(Apa,""));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]},Cpa=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},Dpa=function(a,b){if(a.hasOwnProperty("duration"))return a;if("number"==typeof a)return{duration:opa(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=opa(a,b);return{duration:a.duration,delay:a.delay,easing:a.easing}},bg=function(a){if(a){if(a=ppa(a),a.params){var b=a;var c=(c=a.params)?ppa(c):null;b.params=c}}else a={};return a},Epa=function(a,b,c,d,e,g,h,l){return{type:1,element:a,keyframes:b,preStyleProps:c,postStyleProps:d,duration:e,delay:g,totalTime:e+g,easing:void 0===h?null:h,subTimeline:void 0===
l?!1:l}},Gpa=function(a,b,c,d,e,g,h,l,q,v){g=void 0===g?new Map:g;h=void 0===h?new Map:h;v=void 0===v?[]:v;return(new Fpa).buildKeyframes(a,b,c,d,e,g,h,l,q,v)},Hpa=function(a){var b=Math.pow(10,2);return Math.round(a*b)/b},Ipa=function(a,b){var c=new Map,d;a.forEach(function(e){if("*"===e){d=d||b.keys();e=k(d);for(var g=e.next();!g.done;g=e.next())c.set(g.value,"*")}else Yf(e,c)});return c},Jpa=function(a,b,c,d,e,g,h,l,q,v,y,B,I){return{type:0,element:a,triggerName:b,isRemovalTransition:e,fromState:c,
fromStyles:g,toState:d,toStyles:h,timelines:l,queriedElements:q,preStyleProps:v,postStyleProps:y,totalTime:B,errors:I}},Kpa=function(a,b,c,d,e){return a.some(function(g){return g(b,c,d,e)})},Lpa=function(a,b){b=ppa(b);for(var c in a)a.hasOwnProperty(c)&&null!=a[c]&&(b[c]=a[c]);return b},Npa=function(a,b){return new Mpa(a,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(){return!0}],options:null,queryCount:0,depCount:0},b)},Opa=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))},Ppa=function(a){return a&&1===a.nodeType},Qpa=function(a,b){var c=a.style.display;a.style.display=null!=b?b:"none";return c},Spa=function(a,b,c,d,e){var g=[];c.forEach(function(q){return g.push(Qpa(q))});var h=[];d.forEach(function(q,v){var y=new Map;q.forEach(function(B){var I=b.computeStyle(v,B,e);y.set(B,I);I&&0!=I.length||(v.__ng_removed=Rpa,h.push(v))});a.set(v,y)});var l=0;c.forEach(function(q){return Qpa(q,g[l++])});return h},Tpa=function(a,b){function c(h){if(!h)return 1;
var l=g.get(h);if(l)return l;var q=h.parentNode;d.has(q)?l=q:e.has(q)?l=1:l=c(q);g.set(h,l);return l}var d=new Map;a.forEach(function(h){return d.set(h,[])});if(0==b.length)return d;var e=new Set(b),g=new Map;b.forEach(function(h){var l=c(h);1!==l&&d.get(l).push(h)});return d},cg=function(a,b){var c;null==(c=a.classList)||c.add(b)},dg=function(a,b){var c;null==(c=a.classList)||c.remove(b)},Vpa=function(a,b,c){Uf(c).onDone(function(){return Upa(a,b)})},Xpa=function(a){var b=[];Wpa(a,b);return b},Wpa=
function(a,b){for(var c=0;c<a.length;c++){var d=a[c];d instanceof bpa?Wpa(d.players,b):b.push(d)}},Ypa=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},Zpa=function(a,b,c){var d=c.get(a);if(!d)return!1;var e=b.get(a);e?d.forEach(function(g){return e.add(g)}):b.set(a,d);c.delete(a);return!0},bqa=function(a,b){var c=null,d=null;Array.isArray(b)&&b.length?(c=$pa(b[0]),1<b.length&&
(d=$pa(b[b.length-1]))):b instanceof Map&&(c=$pa(b));return c||d?new aqa(a,c,d):null},$pa=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},cqa=function(a){switch(a){case "body":return document.body;case "document":return document;case "window":return window;default:return a}},dqa=function(a){var b=a.indexOf("."),c=a.substring(0,b);a=a.slice(b+1);return[c,a]},eqa=function(a){return{matches:"all"===a||""===a,media:a,addListener:function(){},
removeListener:function(){}}},fqa=function(a){return a.map(function(b){return b.split(",")}).reduce(function(b,c){return b.concat(c)}).map(function(b){return b.trim()})},gqa=function(){return null},iqa=function(a,b,c){var d=hqa(a,b);d.some(function(e){return e.trim()==c.trim()})||(d.push(c.trim()),a.setAttribute(b,d.join(" ")))},jqa=function(a,b,c){var d=hqa(a,b).filter(function(e){return e!=c.trim()});d.length?a.setAttribute(b,d.join(" ")):a.removeAttribute(b)},hqa=function(a,b){return(a.getAttribute(b)||
"").match(/\S+/g)||[]},kqa=function(a,b){return"string"===typeof a?(b||"")+"/"+a:a},mqa=function(a,b){a.id||(a.id="cdk-describedby-message-"+b+"-"+lqa++)},nqa=function(){return wc(eg)},oqa=function(a,b){return b.some(function(c){var d=a.top>c.bottom,e=a.right<c.left,g=a.left>c.right;return a.bottom<c.top||d||e||g})},pqa=function(a,b){return b.some(function(c){var d=a.bottom>c.bottom,e=a.left<c.left,g=a.right>c.right;return a.top<c.top||d||e||g})},qqa=function(a){return a&&"function"===typeof a.connect&&
!(a instanceof F.ConnectableObservable)},fg=function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])},sqa=function(a){if("number"!==typeof a&&null!=a){var b=k(a.split(rqa));a=b.next().value;return(b=b.next().value)&&"px"!==b?null:parseFloat(a)}return a||null},tqa=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)}},hg=function(a,b){var c=function(){var d=a.apply(this,[].concat(Jc(Fc.apply(0,
arguments))))||this;d.defaultColor=b;d.color=b;return d};V(c,a);gg.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},ig=function(a){var b=function(){var c=a.apply(this,[].concat(Jc(Fc.apply(0,arguments))))||this;c._disableRipple=
!1;return c};V(b,a);gg.Object.defineProperties(b.prototype,{disableRipple:{configurable:!0,enumerable:!0,get:function(){return this._disableRipple},set:function(c){this._disableRipple=Ef(c)}}});return b},jg=function(a){var b=function(){var c=a.apply(this,[].concat(Jc(Fc.apply(0,arguments))))||this;c._disabled=!1;return c};V(b,a);gg.Object.defineProperties(b.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(c){this._disabled=Ef(c)}}});return b},uqa=
function(a){var b=function(){var c=a.apply(this,[].concat(Jc(Fc.apply(0,arguments))))||this;c.errorState=!1;return c};V(b,a);b.prototype.updateErrorState=function(){var c=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);c!==this.errorState&&(this.errorState=c,this.stateChanges.next())};return b},vqa=function(a){var b=function(){var c=a.apply(this,[].concat(Jc(Fc.apply(0,arguments))))||this;c._isInitialized=
!1;c._pendingSubscribers=[];c.initialized=new F.Observable(function(d){c._isInitialized?c._notifySubscriber(d):c._pendingSubscribers.push(d)});return c};V(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},kg=function(a,b){b=void 0===b?0:b;var c=function(){var d=a.apply(this,[].concat(Jc(Fc.apply(0,arguments))))||this;d._tabIndex=
b;d.defaultTabIndex=b;return d};V(c,a);gg.Object.defineProperties(c.prototype,{tabIndex:{configurable:!0,enumerable:!0,get:function(){return this.disabled?-1:this._tabIndex},set:function(d){this._tabIndex=null!=d?Hf(d):this.defaultTabIndex}}});return c},xqa=function(){return wc(wqa)},yqa=function(a,b){var c=void 0===c?"mat":c;a.changes.pipe(oe(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)})},zqa=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)},Aqa=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},Bqa=function(a,b,c,d){return a<c?a:a+b>c+d?Math.max(0,a-d+b):c},Cqa=
function(a){a&1&&(H(0,"tr",3)(1,"td",4),S(2),J()());a&2&&(a=P(),C(1),He("padding-top",a._cellPadding)("padding-bottom",a._cellPadding),Ae("colspan",a.numCols),C(1),Te(" ",a.label," "))},Dqa=function(a){a&1&&(H(0,"td",4),S(1),J());a&2&&(a=P(2),He("padding-top",a._cellPadding)("padding-bottom",a._cellPadding),Ae("colspan",a._firstRowOffset),C(1),Te(" ",a._firstRowOffset>=a.labelMinRequiredCells?a.label:""," "))},Eqa=function(a,b){if(a&1){var c=x();H(0,"td",8)(1,"button",9);O("click",function(g){var h=
z(c).$implicit,l=P(2);return A(l._cellClicked(h,g))})("focus",function(g){var h=z(c).$implicit,l=P(2);return A(l._emitActiveDateChange(h,g))});H(2,"span",10);S(3);J();K(4,"span",11);J()()}if(a&2){a=b.$implicit;b=b.index;var d=P().index,e=P();He("width",e._cellWidth)("padding-top",e._cellPadding)("padding-bottom",e._cellPadding);Ae("data-mat-row",d)("data-mat-col",b);C(1);Ie("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);Ae("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));C(1);Ie("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);C(1);Te(" ",a.displayValue," ")}},Fqa=function(a,b){a&1&&(H(0,"tr",5),R(1,Dqa,2,6,"td",6),R(2,Eqa,5,48,"td",7),J());if(a&2){a=b.$implicit;b=b.index;var c=P();C(1);G("ngIf",0===b&&c._firstRowOffset);C(1);G("ngForOf",a)}},Gqa=function(a){return"TD"===(null==a?void 0:a.nodeName)},Hqa=function(a){if(Gqa(a))var b=a;else if(Gqa(a.parentNode))b=a.parentNode;else{var c;Gqa(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},Iqa=function(a,b,c){return null!==c&&b!==c&&a<c&&a===b},Jqa=function(a,b,c){return null!==b&&b!==c&&a>=b&&a===c},Kqa=function(a,b,c,d){return d&&null!==b&&null!==c&&b!==c&&a>=b&&a<=c},Lqa=function(a){a=a.changedTouches[0];return document.elementFromPoint(a.clientX,a.clientY)},Mqa=function(a,b){a&1&&(H(0,"th",5)(1,"span",6),S(2),J(),H(3,"span",7),S(4),J()());a&2&&(a=b.$implicit,C(2),Ve(a.long),
C(2),Ve(a.narrow))},Oqa=function(a,b,c,d,e){b=a.getYear(b);c=a.getYear(c);a=Nqa(a,d,e);return Math.floor((b-a)/24)===Math.floor((c-a)/24)},Pqa=function(a,b,c,d){return((a.getYear(b)-Nqa(a,c,d))%24+24)%24},Nqa=function(a,b,c){var d=0;c?d=a.getYear(c)-24+1:b&&(d=a.getYear(b));return d},Qqa=function(){},Rqa=function(a){if(a&1){var b=x();H(0,"mat-month-view",5);O("activeDateChange",function(c){z(b);var d=P();return A(d.activeDate=c)})("_userSelection",function(c){z(b);var d=P();return A(d._dateSelected(c))})("dragStarted",
function(c){z(b);var d=P();return A(d._dragStarted(c))})("dragEnded",function(c){z(b);var d=P();return A(d._dragEnded(c))});J()}a&2&&(a=P(),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))},Sqa=function(a){if(a&
1){var b=x();H(0,"mat-year-view",6);O("activeDateChange",function(c){z(b);var d=P();return A(d.activeDate=c)})("monthSelected",function(c){z(b);var d=P();return A(d._monthSelectedInYearView(c))})("selectedChange",function(c){z(b);var d=P();return A(d._goToDateInView(c,"month"))});J()}a&2&&(a=P(),G("activeDate",a.activeDate)("selected",a.selected)("dateFilter",a.dateFilter)("maxDate",a.maxDate)("minDate",a.minDate)("dateClass",a.dateClass))},Tqa=function(a){if(a&1){var b=x();H(0,"mat-multi-year-view",
7);O("activeDateChange",function(c){z(b);var d=P();return A(d.activeDate=c)})("yearSelected",function(c){z(b);var d=P();return A(d._yearSelectedInMultiYearView(c))})("selectedChange",function(c){z(b);var d=P();return A(d._goToDateInView(c,"year"))});J()}a&2&&(a=P(),G("activeDate",a.activeDate)("selected",a.selected)("dateFilter",a.dateFilter)("maxDate",a.maxDate)("minDate",a.minDate)("dateClass",a.dateClass))},Uqa=function(a){a&1&&K(0,"mat-pseudo-checkbox",5);a&2&&(a=P(),G("state",a.selected?"checked":
"unchecked")("disabled",a.disabled))},Vqa=function(a){a&1&&(H(0,"span",6),S(1),J());a&2&&(a=P(),C(1),Te("(",a.group.label,")"))},Wqa=function(){},Xqa=function(a,b){for(var c=a.length;c--;)b(a[c])},Yqa=function(){},Zqa=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},$qa=function(a){a&1&&(L(0),H(1,"div",14),K(2,"div",15)(3,"div",16)(4,"div",17),J(),H(5,"div",18),K(6,"div",
15)(7,"div",16)(8,"div",17),J(),M())},ara=function(a){if(a&1){var b=x();H(0,"div",19);O("cdkObserveContent",function(){z(b);var c=P();return A(lg(c))});Oe(1,1);J()}a&2&&(a=P(),G("cdkObserveContentDisabled","outline"!=a.appearance))},bra=function(a){a&1&&(L(0),Oe(1,2),H(2,"span"),S(3),J(),M());a&2&&(a=P(2),C(3),Ve(a._control.placeholder))},cra=function(a){a&1&&Oe(0,3,["*ngSwitchCase","true"])},dra=function(a){a&1&&(H(0,"span",23),S(1," *"),J())},era=function(a){if(a&1){var b=x();H(0,"label",20,21);
O("cdkObserveContent",function(){z(b);var c=P();return A(lg(c))});R(2,bra,4,1,"ng-container",12);R(3,cra,1,0,"ng-content",12);R(4,dra,2,0,"span",22);J()}a&2&&(a=P(),Ie("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()),Ae("for",a._control.id)("aria-owns",a._control.id),C(2),
G("ngSwitchCase",!1),C(1),G("ngSwitchCase",!0),C(1),G("ngIf",!a.hideRequiredMarker&&a._control.required&&!a._control.disabled))},fra=function(a){a&1&&(H(0,"div",24),Oe(1,4),J())},gra=function(a){a&1&&(H(0,"div",25),K(1,"span",26),J());a&2&&(a=P(),C(1),Ie("mat-accent","accent"==a.color)("mat-warn","warn"==a.color))},hra=function(a){a&1&&(H(0,"div"),Oe(1,5),J());a&2&&(a=P(),G("@transitionMessages",a._subscriptAnimationState))},ira=function(a){a&1&&(H(0,"div",30),S(1),J());a&2&&(a=P(2),G("id",a._hintLabelId),
C(1),Ve(a.hintLabel))},jra=function(a){a&1&&(H(0,"div",27),R(1,ira,2,2,"div",28),Oe(2,6),K(3,"div",29),Oe(4,7),J());a&2&&(a=P(),G("@transitionMessages",a._subscriptAnimationState),C(1),G("ngIf",a.hintLabel))},lra=function(){if(void 0===kra&&(kra=null,"undefined"!==typeof window)){var a=window;void 0!==a.trustedTypes&&(kra=a.trustedTypes.createPolicy("angular#components",{createHTML:function(b){return b}}))}return kra},mra=function(a){var b;return(null==(b=lra())?void 0:b.createHTML(a))||a},nra=function(){var a=
wc(eg),b=a?a.location:null;return{getPathname:function(){return b?b.pathname+b.search:""}}},mg=function(a){a&&"function"==typeof a.dispose&&a.dispose()},ora=function(a){for(var b=0,c=arguments.length;b<c;++b){var d=arguments[b];sa(d)?ora.apply(null,d):mg(d)}},pra=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;y=v=0}function b(B){for(var I=h,N=0;64>N;N+=4)I[N/4]=B[N]<<24|B[N+1]<<16|B[N+2]<<8|B[N+3];for(N=16;80>N;N++)B=I[N-3]^I[N-8]^I[N-14]^I[N-
16],I[N]=(B<<1|B>>>31)&4294967295;B=e[0];var Q=e[1],Z=e[2],Y=e[3],ka=e[4];for(N=0;80>N;N++){if(40>N)if(20>N){var la=Y^Q&(Z^Y);var Da=1518500249}else la=Q^Z^Y,Da=1859775393;else 60>N?(la=Q&Z|Y&(Q|Z),Da=2400959708):(la=Q^Z^Y,Da=3395469782);la=((B<<5|B>>>27)&4294967295)+la+ka+Da+I[N]&4294967295;ka=Y;Y=Z;Z=(Q<<30|Q>>>2)&4294967295;Q=B;B=la}e[0]=e[0]+B&4294967295;e[1]=e[1]+Q&4294967295;e[2]=e[2]+Z&4294967295;e[3]=e[3]+Y&4294967295;e[4]=e[4]+ka&4294967295}function c(B,I){if("string"===typeof B){B=unescape(encodeURIComponent(B));
for(var N=[],Q=0,Z=B.length;Q<Z;++Q)N.push(B.charCodeAt(Q));B=N}I||(I=B.length);N=0;if(0==v)for(;N+64<I;)b(B.slice(N,N+64)),N+=64,y+=64;for(;N<I;)if(g[v++]=B[N++],y++,64==v)for(v=0,b(g);N+64<I;)b(B.slice(N,N+64)),N+=64,y+=64}function d(){var B=[],I=8*y;56>v?c(l,56-v):c(l,64-(v-56));for(var N=63;56<=N;N--)g[N]=I&255,I>>>=8;b(g);for(N=I=0;5>N;N++)for(var Q=24;0<=Q;Q-=8)B[I++]=e[N]>>Q&255;return B}for(var e=[],g=[],h=[],l=[128],q=1;64>q;++q)l[q]=0;var v,y;a();return{reset:a,update:c,digest:d,digestString:function(){for(var B=
d(),I="",N=0;N<B.length;N++)I+="0123456789ABCDEF".charAt(Math.floor(B[N]/16))+"0123456789ABCDEF".charAt(B[N]%16);return I}}},rra=function(a,b,c){qra(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)},sra=function(a,b){ng.call(this);this.logSource_=a;this.sessionIndex_=b;this.destinationUrl_="https://play.google.com/log?format=json&hasfast=true";this.enableServiceWorkerScope_=!1;this.networkIOSend_=
rra;this.componentId_="";this.enableSendBeaconApi_=this.useGetRequestForFinalFlush_=this.useSendBeaconForFinalFlush_=!1;this.useConsistentTimezoneOffset=void 0},tra=function(a){a&1&&(Xc(),H(0,"svg",3),K(1,"polygon",4),J())},ura=function(a){if(a&1){var b=x();H(0,"div",0);O("keydown",function(c){z(b);var d=P();return A(d._handleKeydown(c))})("click",function(){z(b);var c=P();return A(c.closed.emit("click"))})("@transformMenu.start",function(c){z(b);var d=P();return A(d._onAnimationStart(c))})("@transformMenu.done",
function(c){z(b);var d=P();return A(d._onAnimationDone(c))});H(1,"div",1);Oe(2);J()()}a&2&&(a=P(),G("id",a.panelId)("ngClass",a._classList)("@transformMenu",a._panelAnimationState),Ae("aria-label",a.ariaLabel||null)("aria-labelledby",a.ariaLabelledby||null)("aria-describedby",a.ariaDescribedby||null))},vra=function(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}},wra=function(a){a&1&&(Xc(),H(0,"svg",2),K(1,"polygon",3),J())},xra=function(a){if(a&
1){var b=x();H(0,"div",0);O("keydown",function(c){z(b);var d=P();return A(d._handleKeydown(c))})("click",function(){z(b);var c=P();return A(c.closed.emit("click"))})("@transformMenu.start",function(c){z(b);var d=P();return A(d._onAnimationStart(c))})("@transformMenu.done",function(c){z(b);var d=P();return A(d._onAnimationDone(c))});H(1,"div",1);Oe(2);J()()}a&2&&(a=P(),G("id",a.panelId)("ngClass",a._classList)("@transformMenu",a._panelAnimationState),Ae("aria-label",a.ariaLabel||null)("aria-labelledby",
a.ariaLabelledby||null)("aria-describedby",a.ariaDescribedby||null))},og=function(a,b){throw Error(void 0===b?"unexpected value "+a+"!":b);},Cra=function(a){var b=yra(a,"Content-Type");if(!b)return null;b=b.toLowerCase();if(b.startsWith("application/json"))return b.startsWith("application/json+protobuf")?new zra:new Ara;if(b.startsWith("application/x-protobuf")){a=yra(a,"Content-Transfer-Encoding");if(!a)return new pg;if("base64"==a.toLowerCase())return new Bra}return null},Dra=function(a,b){if(a.nodeType===
Node.ELEMENT_NODE&&b){var c,d;b=((null==(c=a.getAttribute)?void 0:null==(d=c.call(a,"aria-labelledby"))?void 0:d.split(/\s+/g))||[]).reduce(function(q,v){(v=document.getElementById(v))&&q.push(v);return q},[]);if(b.length)return b.map(function(q){return Dra(q,!1)}).join(" ")}if(a.nodeType===Node.ELEMENT_NODE){var e;if(c=null==(e=a.getAttribute("aria-label"))?void 0:e.trim())return c}if("INPUT"===a.nodeName||"TEXTAREA"===a.nodeName){var g;if(null==(g=a.labels)?0:g.length)return Array.from(a.labels).map(function(q){return Dra(q,
!1)}).join(" ");var h;if(e=null==(h=a.getAttribute("placeholder"))?void 0:h.trim())return e;var l;if(h=null==(l=a.getAttribute("title"))?void 0:l.trim())return h}return(a.textContent||"").replace(/\s+/g," ").trim()},Era=function(){return{color:"accent"}},Fra=function(a){return"nonprod"===a.environment?"https://autopushcorp-devopsconsole-pa-googleapis.corp.google.com":"https://devopsconsole-pa-googleapis.corp.google.com"},Gra=function(a){a=a.tagName;if("SCRIPT"===a||"STYLE"===a)throw Error("ca");},
Hra=function(a,b){a.src=qg(b).toString()},Ira=function(a,b){a.src=qg(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)},Jra=function(a,b,c){b=Poa(b);void 0!==b&&a.open(b,c,void 0)},Kra=function(a){return null==console?!1:"function"===typeof console[a]},Lra=function(){Kra("debug")&&console.debug.apply(console,Fc.apply(0,arguments))},Mra=function(){Kra("info")&&
console.info.apply(console,Fc.apply(0,arguments))},Nra=function(){Kra("log")&&console.log.apply(console,Fc.apply(0,arguments))},rg=function(){Kra("warn")&&console.warn.apply(console,Fc.apply(0,arguments))},Ora=function(){Kra("error")&&console.error.apply(console,Fc.apply(0,arguments))},Pra=function(a){if(null!=a){var b=a.getYear();if(null==b)rg("No year. dateToJs");else{var c=a.getDay();if(null==c)rg("No day. dateToJs");else if(a=a.getMonth(),null==a)rg("No month. dateToJs");else return{year:b,day:c,
month:a}}}},Qra=function(a){var b=new sg;kb(b,3,a.day);b.setMonth(a.month);b.setYear(a.year);return b},tg=function(a){if(null!=a){var b=a.getSeconds();a=a.getNanos();return{seconds:b,nanos:a}}},vg=function(a){var b=new ug;b.setSeconds(a.seconds);b.setNanos(a.nanos);return b},Rra=function(a){var b=new wg;b.setSeconds(a.seconds);b.setNanos(a.nanos);return b},Sra=function(a){if(null!=a)return Number(a.toDate())},Tra=function(a){var b;return{changelistNumbers:null!=(b=xg(a,1))?b:[]}},Vra=function(a){return{changelists:yg(a,
zg,1).map(Ura),nextPageToken:a.getNextPageToken()}},Ura=function(a){var b,c;return{author:a.getAuthor(),changelistNumber:Ag(a,2),pending:a.getPending(),timestamp:tg(a.getTimestamp()),issueIds:null!=(b=a.getIssueIdsList())?b:[],fixedIssueIds:null!=(c=Bg(a,6))?c:[]}},Wra=function(a){var b;return{author:a.getAuthor(),description:a.getDescription(),pending:a.getPending(),timestamp:a.getTimestamp(),affectedFiles:null!=(b=Cg(a,5))?b:[]}},Eg=function(a){return new Dg(a.year,a.month-1,a.day)},Xra=function(a){return{month:a.getMonth()+
1,day:a.getDate(),year:a.getFullYear()}},Yra=function(a){return!(!a||null==a.day||null==a.month||null==a.year)},Zra=function(a,b){return a.size!==b.size?!1:[].concat(Jc(a)).every(function(c){return b.has(c)})},$ra=function(a){var b=new Set;a=k(a);for(var c=a.next();!c.done;c=a.next()){c=k(c.value);for(var d=c.next();!d.done;d=c.next())b.add(d.value)}return b},asa=function(a,b){if(!Zra(a,b)){var c=[].concat(Jc(b)).filter(function(e){return!a.has(e)}),d=[].concat(Jc(a)).filter(function(e){return!b.has(e)});
return{added:c,removed:d}}},bsa=function(a,b){var c=a.size>b.size?a:b;return new Set([].concat(Jc(a===c?b:a)).filter(function(d){return c.has(d)}))},csa=function(a,b){return a.size>=b.size&&[].concat(Jc(b)).every(function(c){return a.has(c)})},Fg=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(!Fg(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?Zra(a,b):!1;if("object"===typeof a){if("object"!==typeof b)return!1;c=Object.keys(a);d=c.length;if(d!==Object.keys(b).length)return!1;for(var e=0;e<d;e++){var g=c[e];if(!dsa.call(b,g)||!Fg(a[g],b[g]))return!1}return!0}return!1},esa=function(a){var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;for(var d=
!1,e=k(b),g=e.next();!g.done;g=e.next())if(Fg(c,g.value)){d=!0;break}d||b.push(c)}return b},fsa=function(a,b){for(var c=a.length-1;0<=c;c--)Fg(a[c],b)&&a.splice(c,1)},gsa=function(a,b,c){c=void 0===c?Infinity:c;if(a===b)return!0;if((null==a||null==b)&&a!==b)return!1;var d=Object.keys(a),e=Object.keys(b);if(d.length!==e.length)return!1;c=Math.min(d.length,c);for(e=0;e<c;e++){var g=d[e];if(a[g]!==b[g]&&("object"!==typeof a[g]||"object"!==typeof b[g]))return!1}return!0},isa=function(a){return Object.assign.apply(Object,
[{}].concat(Jc(hsa.map(function(b){var c={};return c[b]=a[b],c}))))},Gg=function(a){if(null!==a&&void 0!==a&&-1===["boolean","function","number","string"].indexOf(typeof a))if(Array.isArray(a)){var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next())b.push(Gg(c.value));a=b}else if(a instanceof Date)a=new Date(a.getTime());else if(a instanceof Map){b=new Map;a=k(a);for(c=a.next();!c.done;c=a.next()){var d=k(c.value);c=d.next().value;d=d.next().value;b.set(Gg(c),Gg(d))}a=b}else{b={};c=k(Object.entries(a));
for(d=c.next();!d.done;d=c.next()){var e=k(d.value);d=e.next().value;e=e.next().value;b[d]=Gg(e)}Object.setPrototypeOf(b,Object.getPrototypeOf(a));a=b}return a},jsa=function(a){return"number"===typeof a},ksa=function(a){return"string"===typeof a},Hg=function(a){return Array.isArray(a)&&a.every(ksa)},lsa=function(a){return Array.isArray(a)&&a.every(jsa)},msa=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},nsa=
function(a){return a.toLowerCase().replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})},osa=function(a){if(a){if(jsa(a)){var b=new Date(a);47E3<b.getFullYear()&&(b=new Date(a/1E3));return new Dg(b)}b=a.split("/");if(3===b.length)return a=Ig(b[2]),50>a?a+=2E3:100>a&&(a+=1900),new Dg(a,Ig(b[0])-1,Ig(b[1]));if(1===b.length)return osa(Number(a))}return new Dg},psa=function(a){return a.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"")},qsa=function(a){return!(!a||!Jg(a,"text/")&&!Jg(a,"image/")&&"application/pdf"!==
a)},rsa=function(a,b){return a.map(function(c){return c[b]})},ssa=function(a,b){return a.filter(function(c){return!b.has(c)})},tsa=function(a,b){for(var c=k(a),d=c.next();!d.done;d=c.next())if(!b.has(d.value))return!1;b=k(b);for(d=b.next();!d.done;d=b.next())if(!a.has(d.value))return!1;return!0},Kg=function(a,b){return ssa(a,new Set(b))},usa=function(a,b){var c=/[,;]/;(void 0===b||b)&&(c=/[\s,;]/);return a.split(c).map(Lg).filter(function(d){return!!d})},vsa=function(a,b){a=new URL(a);return a.host+
a.pathname+b},wsa=function(a){return a?Xra(osa(a)):null},xsa=function(a){return a?(a=Mg(a),isNaN(a)?null:a):null},zsa=function(a){var b=new Ng;b.customFieldId=a.customFieldId;b.componentId=a.componentId;b.name=a.name;b.type=a.type;b.description=a.description||"";a.typedDefaultValue&&(b.typedDefaultValue=new Og(a.typedDefaultValue));b.required=!!a.required;b.fieldSignificance=a.fieldSignificance||"MINOR";b.allowedValue=a.allowedValue||null;b.stateOnIssues=ysa[a.stateOnIssues]||1;var c=a.enabledOnIssues;
b.enabledOnIssues=null==c?!0:c;b.shared=a.shared;return b},Asa=function(a){return void 0!==a.user},Csa=function(a){switch(a){case "public_non_google":return"Public (non-google.com)";case "googlers_unrestricted":return"Full-time Googlers";default:return Bsa(a.replace(/_/g," ").toLowerCase())}},Esa=function(a){if(a)return{accessLevel:Dsa[a.getAccessLevel()]}},Gsa=function(a){a=Fsa[a.accessLevel];var b=new Pg;b.setAccessLevel(a);return b},Hsa=function(a){if(!a)return!1;a=a.userGaiaStatus;return!a||"ACTIVE"===
a||"UNSPECIFIED"===a},Rg=function(a){return a?a.map(Qg):[]},Sg=function(a){a=Rg(a);a.sort();return a},Qg=function(a){return a&&a.getUserGaiaStatus?Isa(Tg(a)):Isa(a)},Isa=function(a){return a?"DELETED"===a.userGaiaStatus?"[Deleted User]":"UNAVAILABLE"===a.userGaiaStatus?"[Unavailable User]":Hsa(a)?Jsa(a)||"[No Data]":"[No Data]":""},Ug=function(a){return a&&a.getUserGaiaStatus?Jsa(Tg(a)):Jsa(a)},Jsa=function(a){if(a)return a.emailAddress||a.obfuscatedEmailAddress||""},Tg=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=Ksa[c];(c=a.getAliasesList())&&0<c.length&&(b.aliases=c);return b}},Vg=function(a){if(!a)return null;var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next())(c=Tg(c.value))&&b.push(c);return b},Xg=function(a){var b=a.emailAddress,c=a.obfuscatedEmailAddress,d=a.aliases;a=a.userGaiaStatus;var e=new Wg;b&&e.setEmailAddress(b);c&&e.setObfuscatedEmailAddress(c);
d&&e.setAliasesList(d);a&&e.setUserGaiaStatus(Lsa[a]);return e},Yg=function(a){return a?{emailAddress:a.trim(),userGaiaStatus:"ACTIVE"}:null},Zg=function(a){if(null!=a&&(a=String(a),""!==a.trim()))return a=Number(a),isNaN(a)?void 0:a},$g=function(a){if(null!=a)return String(a)},ah=function(a){if(null!=a&&"0"!==a)return a},bh=function(a){return null==a?void 0:a},ch=function(a){return null==a?null:a},dh=function(a){return function(b){return null==b?a:b}},eh=function(a){return null!=a},Msa=function(a){return{noAccessEmails:Cg(a,
1),unknownEmails:Cg(a,2)}},Nsa=function(a){if(null!=a){var b={},c;if(c=a.getUser())b.user=Tg(c);if(c=a.getGroup())b.group=Tg(c);if(c=a.getAlias())b.alias=c;return b}},gh=function(a){var b=new fh;if(Asa(a))return b.setUser(Xg(a.user)),b;if(void 0!==a.group)return b.setGroup(Xg(a.group)),b;void 0!==a.alias&&b.setAlias(a.alias);return b},Psa=function(a){var b=Osa[a.getImplicitAccess()],c,d,e,g,h,l,q,v,y,B;return{admins:hh(null!=(c=a.getAdminsList())?c:[]),appenders:hh(null!=(d=a.getAppendersList())?
d:[]),editors:hh(null!=(e=a.getEditorsList())?e:[]),readers:hh(null!=(g=a.getReadersList())?g:[]),restrictedReaders:hh(null!=(h=a.getRestrictedReadersList())?h:[]),restrictedPlusReaders:hh(null!=(l=a.getRestrictedPlusReadersList())?l:[]),inheritedAdmins:hh(null!=(q=a.getInheritedAdminsList())?q:[]),implicitAppenders:hh(null!=(v=a.getImplicitAppendersList())?v:[]),implicitEditors:hh(null!=(y=a.getImplicitEditorsList())?y:[]),implicitReaders:hh(null!=(B=a.getImplicitReadersList())?B:[]),implicitAccess:b}},
hh=function(a){return a.map(Nsa).filter(eh)},Qsa=function(a){if(null==a)return"";var b=a.user,c=a.group,d=a.alias;if(null!=b){var e="USER";var g=b.emailAddress||b.obfuscatedEmailAddress||void 0}else null!=c?(e="GROUP",g=c.emailAddress||c.obfuscatedEmailAddress||void 0):null!=d&&(e="ALIAS",g=d);return null==e||null==g?(Ora("Invalid principal: ",a),""):e+":"+g},ih=function(a){return(null!=a?a:[]).map(Qsa)},Ssa=function(a){return(null!=a?a:[]).map(Rsa)},Rsa=function(a){var b=k(a.split(":"));a=b.next().value;
b=b.next().value;if(!a||!b)throw Error("Vb`"+b);switch(a){case "USER":return{user:{emailAddress:b}};case "GROUP":return{group:{emailAddress:b}};case "ALIAS":return{alias:b};default:throw Error("Wb`"+b);}},Tsa=function(a){switch(a){case 2:return"PII";case 3:return"SPII";case 0:case 1:return"NONE_DETECTED";default:return og(a,"Unexpected pii severity")}},Usa=function(a){switch(a){case "PII":return 2;case "SPII":return 3;case "NONE_DETECTED":return 1;case "PII_SEVERITY_UNSPECIFIED":return 0;default:return og(a,
"Unexpected pii severity")}},jh=function(a){return a&&a.piiVerdict?a.piiVerdict.severity:"NONE_DETECTED"},Vsa=function(a){switch(a){case "NONE_DETECTED":return 1;case "PII":return 2;case "SPII":return 3;default:return 1}},Wsa=function(a){switch(a){case "PII":return"Restricted";case "SPII":return"Restricted+";default:return""}},Xsa=function(a){var b=kh(a,1)?lh(a,1):void 0,c=a.hasResourcePath()?a.getResourcePath():void 0,d=Tsa(a.getSeverity()),e=a.getJudgementReason();a=mh(a,5);return{contentJudgementId:b,
resourcePath:c,severity:d,judgementReason:e,contentJudge:a}},Ysa=function(a){var b=new nh;b.setJudgementReason(a.judgementReason);b.setSeverity(Usa(a.severity));return b},Zsa=function(a){return String(a)},ph=function(a){var b=Zg(a);if(null==b)throw Error("Xb`"+a);return b},ata=function(a){if(null!=a)return{customFieldId:bh(a.getCustomFieldId()),standardField:$sa[a.getStandardField()]}},cta=function(a){var b=new qh;a.customFieldId?b.setCustomFieldId(a.customFieldId):a.standardField&&b.setStandardField(bta[a.standardField]);
return b},eta=function(a){if(a&&(a=dta(a)))return zsa(a)},dta=function(a){if(null!=a){var b=a.getName();if(null==b)rg("No name. customFieldToJs");else{var c=Zg(a.getCustomFieldId());if(null==c)rg("No customFieldId. customFieldToJs");else{if(a.hasType())return{name:b,description:bh(a.getDescription()),required:bh(a.getRequired()),enabledOnIssues:!!a.getEnabledOnIssues(),type:fta[a.getType()],customFieldId:c,componentId:Zg(a.getComponentId()),allowedValue:bh(Cg(a,8)),stateOnIssues:gta[a.getStateOnIssues()],
fieldSignificance:hta[a.getFieldSignificance()],typedDefaultValue:ita(a.getTypedDefaultValue()),shared:!!a.getShared()};rg("No type. customFieldToJs")}}}},ita=function(a){if(null!=a){var b=Zg(a.getCustomFieldId());if(null==b)rg("No customFieldId. customFieldValueToJs");else{var c=bh(Cg(a,12));b={customFieldId:b,displayValues:c};switch(rh(a,sh)){case 4:b.textValue=bh(a.getTextValue());break;case 5:b.dateValue=Pra(a.getDateValue());break;case 6:b.enumValue=bh(a.getEnumValue());break;case 7:b.numericValue=
bh(a.getNumericValue());break;case 8:var d,e;b.repeatedTextValue={values:null!=(e=null==(d=a.getRepeatedTextValue())?void 0:d.getValuesList())?e:[]};break;case 10:var g,h;b.repeatedEnumValue={values:null!=(h=null==(g=a.getRepeatedEnumValue())?void 0:g.getValuesList())?h:[]};break;case 11:var l,q;b.repeatedNumericValue={values:null!=(q=null==(l=a.getRepeatedNumericValue())?void 0:l.getValuesList())?q:[]};break;case 9:var v,y,B,I;b.repeatedDateValue={values:null!=(I=null==(v=a.getRepeatedDateValue())?
void 0:null==(y=v.getValuesList())?void 0:null==(B=y.map(Pra))?void 0:B.filter(eh))?I:[]}}return b}}},jta=function(a){var b=new th;a.customFieldId&&b.setCustomFieldId(String(a.customFieldId));a.displayValues&&uh(b,12,a.displayValues);if(void 0!==a.textValue)b.setTextValue(a.textValue);else if(void 0!==a.enumValue)b.setEnumValue(a.enumValue);else if(void 0!==a.numericValue)b.setNumericValue(a.numericValue);else if(void 0!==a.dateValue)b.setDateValue(Qra(a.dateValue));else if(void 0!==a.repeatedTextValue){var c=
new vh;c.setValuesList(a.repeatedTextValue.values);b.setRepeatedTextValue(c)}else void 0!==a.repeatedEnumValue?(c=new vh,c.setValuesList(a.repeatedEnumValue.values),b.setRepeatedEnumValue(c)):void 0!==a.repeatedNumericValue?(c=new wh,c.setValuesList(a.repeatedNumericValue.values),b.setRepeatedNumericValue(c)):void 0!==a.repeatedDateValue&&(c=new xh,c.setValuesList(a.repeatedDateValue.values.map(Qra)),b.setRepeatedDateValue(c));return b},kta=function(a){return eta(a.getCustomField())},nta=function(a){var b=
new yh;a.customFieldId&&b.setCustomFieldId(String(a.customFieldId));b.setComponentId(String(a.componentId));b.setType(lta[a.type]);b.setRequired(a.required);b.setName(a.name);b.setDescription(a.description);a.typedDefaultValue&&b.setTypedDefaultValue(jta(a.typedDefaultValue));a.allowedValue&&uh(b,8,a.allowedValue);b.setFieldSignificance(mta[a.fieldSignificance]);b.setStateOnIssues(a.stateOnIssues);b.setEnabledOnIssues(a.enabledOnIssues);b.setShared(a.shared);return b},rta=function(a){var b=new zh;
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&&ota(b,pta(new Ah,a.numericSpec.multiplier));if(a.enumSpec){var c;qta(b,(new Bh).setOptionsList((null!=(c=a.enumSpec.options)?c:[]).map(function(d){return(new Ch).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}Dh(b,6,a)}return b},tta=function(a){if(a.hasPlainFormat()){var b;
var c={plainSection:(null!=(b=a.getPlainFormat().getPlainSectionList())?b:[]).map(sta)}}else c=void 0;return{plainFormat:c,markdownFormat:a.hasMarkdownFormat()?{content:a.getMarkdownFormat().getContent()}:void 0,literalFormat:a.hasLiteralFormat()?{content:a.getLiteralFormat().getContent()}:void 0}},sta=function(a){return{isQuoted:a.getIsQuoted(),content:a.getContent()}},uta=function(a){return(new Eh).setIsQuoted(a.isQuoted).setContent(a.content)},wta=function(a){return{retentionSelection:vta[Fh(a,
1,0)],retentionPeriodDays:Ag(a,2),piiRetentionSelection:vta[Fh(a,3,0)],piiRetentionPeriodDays:Ag(a,4),spiiRetentionPeriodDays:Ag(a,5)}},yta=function(a){var b=new Gh;n(b,1,xta[a.retentionSelection]);null!==a.retentionPeriodDays&&n(b,2,a.retentionPeriodDays);n(b,3,xta[a.piiRetentionSelection]);null!==a.piiRetentionPeriodDays&&n(b,4,a.piiRetentionPeriodDays);null!==a.spiiRetentionPeriodDays&&n(b,5,a.spiiRetentionPeriodDays);return b},zta=function(a){if(null!=a){var b=ch(tg(a.getRetentionPeriod()));a=
ch(tg(a.getScheduledDeletionTime()));return{retentionPeriod:b,scheduledDeletionTime:a}}},Bta=function(a){if(null!=a){a:{a=W(a,Hh,1);if(null!=a){if(a.hasSeverity()){a={severity:Ata[a.getSeverity()]};break a}rg("No severity. piiVerdictToJs")}a=void 0}return{piiVerdict:a}}},Cta=function(a){var b;return{paths:null!=(b=Cg(a,1))?b:[]}},Dta=function(a){return{startTime:tg(a.getStartTime()),endTime:tg(a.getEndTime()),targetTime:tg(a.getTargetTime())}},Eta=function(a){var b=new Ih;a.startTime&&b.setStartTime(vg(a.startTime));
a.endTime&&b.setEndTime(vg(a.endTime));a.targetTime&&b.setTargetTime(vg(a.targetTime));return b},Gta=function(a){var b=new Jh;b.setInherit(a.inherit);b.setSource(Fta[a.source]);b.setId(a.id);b.setComment(a.comment);n(b,6,a.sourceComponentId);b.setSourceTeamId(a.sourceTeamId);return b},Hta=function(a){var b;return 1===(null==(b=a.getTeamSloEditPolicy())?void 0:Fh(b,2,0))},Ita=function(a){var b;return 1===(null==(b=W(a,Kh,1))?void 0:b.getEffectiveSloEditPolicy())},Jta=function(a){var b=W(a,Lh,2);a:{var c=
Fh(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:og(c)}c=void 0}var d=a.getTimeZone(),e=W(a,Mh,6);if(null==b)throw Error("Yb");if(null==c)throw Error("Zb");if(null==d)throw Error("$b");if(null==e)throw Error("ac");var g=a.getId(),h={},l=b.getEmailAddress();l&&(h.emailAddress=l);if(l=b.getObfuscatedEmailAddress())h.obfuscatedEmailAddress=l;l=b.getUserGaiaStatus();switch(l){case 0:h.userGaiaStatus="UNSPECIFIED";break;case 1:h.userGaiaStatus=
"ACTIVE";break;case 2:h.userGaiaStatus="DELETED";break;case 3:h.userGaiaStatus="UNAVAILABLE";break;default:og(l)}if(b=b.getAliasesList())h.aliases=b;a=Ag(a,4);b={id:d.getId()};d.getVersion()&&(b.version=d.getVersion());return{id:g,lead:h,frequency:c,ordinal:a,timeZone:b,timeOfDay:{hours:e.getHours(),minutes:e.getMinutes(),seconds:e.getSeconds(),nanos:e.getNanos()}}},Lta=function(a){var b=(new Nh).setId(a.id),c=a.lead,d=c.emailAddress,e=c.obfuscatedEmailAddress,g=c.aliases;c=c.userGaiaStatus;var h=
new Lh;d&&h.setEmailAddress(d);e&&h.setObfuscatedEmailAddress(e);g&&h.setAliasesList(g);if(c)switch(c){case "UNSPECIFIED":h.setUserGaiaStatus(0);break;case "ACTIVE":h.setUserGaiaStatus(1);break;case "DELETED":h.setUserGaiaStatus(2);break;case "UNAVAILABLE":h.setUserGaiaStatus(3);break;default:og(c)}b=Oh(b,Lh,2,h).setFrequency(Kta(a.frequency));b=kb(b,4,a.ordinal);d=b.setTimeZone;e=a.timeZone;g=(new Ph).setId(e.id);e.version&&g.setVersion(e.version);b=d.call(b,g);a=a.timeOfDay;a=(new Mh).setHours(a.hours).setMinutes(a.minutes).setSeconds(a.seconds).setNanos(a.nanos);
return Oh(b,Mh,6,a)},Ota=function(a){return{metric:Mta[a.getMetric()],matcher:a.getMatcher(),dayType:Nta[a.getDayType()],objective:tg(a.getObjective()),businessDays:a.getBusinessDays()}},Rta=function(a){var b=new Qh;return n(b,1,Pta[a.metric]).setMatcher(a.matcher).setDayType(Qta[a.dayType]).setObjective(Rra(a.objective)).setBusinessDays(a.businessDays)},Rh=function(a){var b,c;return{sloId:a.getSloId(),version:a.getVersion(),name:a.getName(),description:a.getDescription(),parentId:a.getParentId(),
elements:(null!=(b=yg(a,Qh,6))?b:[]).map(Ota),effectiveElements:(null!=(c=yg(a,Qh,7))?c:[]).map(Ota),isArchived:a.getIsArchived(),alertState:Sta[Fh(a,9,0)]}},Uta=function(a){var b=(new Sh).setSloId(a.sloId).setVersion(a.version).setName(a.name).setDescription(a.description).setParentId(a.parentId);var c=a.elements.map(Rta);b=Th(b,6,c);c=a.effectiveElements.map(Rta);b=Th(b,7,c).setIsArchived(a.isArchived);return n(b,9,Tta[a.alertState])},Vta=function(a){return{author:a.getAuthor(),timestamp:a.getTimestamp(),
add:Rh(a.getAdd()),remove:Rh(a.getRemove()),addMask:Cta(a.getAddMask()),removeMask:Cta(a.getRemoveMask())}},Kta=function(a){switch(a){case "daily":return 1;case "weekly":return 2;case "monthly":return 3;default:return og(a)}},Wta=function(a){if(null!=a)return{tag:a.getTag(),text:a.getText()}},eua=function(a){if(null!=a){var b,c,d,e,g,h,l,q,v=a.getTitle()||"",y=ch(a.getComment()),B=Xta(a.getFormattingMode()),I=ch(a.getVersion()),N=ch(a.getCreatedTimeMicros()),Q=!!a.getIsArchived(),Z=!!a.getInProd(),
Y=ch(a.getIsDeleted()),ka=ch(Cg(a,18)),la=ch(a.getPostmortemsList()),Da=ch(Cg(a,19)),za=ch(Cg(a,20)),Oa=ch(Cg(a,21)),Va=ch(Zg(a.getComponentId())),Ya=null!=(h=ah(lh(a,15)))?h:null;h=ch(null==(b=Bg(a,14))?void 0:b.map(Zg).filter(eh));b=ch(null==(c=Bg(a,16))?void 0:c.map(ah).filter(eh));c=ch(null==(d=Bg(a,17))?void 0:d.map(ah).filter(eh));d=ch(null==(e=a.getHotlistIdList())?void 0:e.map(Zg).filter(eh));e=ch(null==(g=Bg(a,30))?void 0:g.map(ah).filter(eh));g=null!=(l=tg(a.getSloSnoozeUntil()))?l:null;
l=null!=(q=tg(a.getSloEndTime()))?q:null;q=ch(Tg(W(a,Wg,36)));var Xb=ch(Tg(W(a,Wg,37))),Bb=ch(Tg(W(a,Wg,38))),db=ch(Tg(W(a,Wg,39))),wa=ch(Vg(yg(a,Wg,40))),Na=ch(Vg(yg(a,Wg,51))),Qa=yg(a,th,24).map(ita).filter(eh),nb=Yta[a.getRetention()],ib=hta[a.getSignificanceOverride()],hd=Zta[a.getDeletionReason()],pb=a.hasType()?$ta[a.getType()]:null,Ib=a.hasPriority()?aua[a.getPriority()]:null,hb=a.hasSeverity()?bua[a.getSeverity()]:null,Pb=a.hasStatus()?Uh[a.getStatus()]:null,sb=Vh(a,52)?cua[a.getSloSnoozeType()]:
null,Yb=a.hasAccessLimitLevel()?dua[a.getAccessLimitLevel()]:null;a.hasEffort()?(a=a.getEffort(),a={specId:Wh(a,1),estimate:mh(a,2),averageDays:Xh(a,3),totalOpen:Xh(a,4),totalComplete:Xh(a,5)}):a=void 0;return{title:v,comment:y,formattingMode:B,version:I,createdTimeMicros:N,isArchived:Q,inProd:Z,isDeleted:Y,changelist:ka,postmortems:la,foundInVersion:Da,targetedToVersion:za,verifiedInVersion:Oa,componentId:Va,duplicateOfIssueId:Ya,attachmentId:h,blockedByIssueId:b,blockingIssueId:c,hotlistId:d,duplicateIssueId:e,
sloSnoozeUntil:g,sloEndTime:l,authorUser:q,reporterUser:Xb,assigneeUser:Bb,verifierUser:db,ccUsers:wa,collaboratorsUsers:Na,customField:Qa,retention:nb,significanceOverride:ib,deletionReason:hd,type:pb,priority:Ib,severity:hb,status:Pb,sloSnoozeType:sb,issueAccessLimitLevel:Yb,effort:a}}},nua=function(a){var b=new Yh;if(a.authorUser){var c=Xg(a.authorUser);Oh(b,Wg,36,c)}a.createdTimeMicros&&b.setCreatedTimeMicros(a.createdTimeMicros);a.componentId&&b.setComponentId(String(a.componentId));a.version&&
b.setVersion(a.version);a.type&&b.setType(fua[a.type]);a.status&&b.setStatus(Zh[a.status]);a.priority&&b.setPriority(gua[a.priority]);a.severity&&b.setSeverity(hua[a.severity]);void 0!==a.title&&b.setTitle(a.title);a.reporterUser&&(c=Xg(a.reporterUser),Oh(b,Wg,37,c));a.assigneeUser&&(c=Xg(a.assigneeUser),Oh(b,Wg,38,c));a.verifierUser&&(c=Xg(a.verifierUser),Oh(b,Wg,39,c));a.ccUsers&&(c=a.ccUsers.map(Xg),Th(b,40,c));a.collaboratorsUsers&&(c=a.collaboratorsUsers.map(Xg),Th(b,51,c));a.attachmentId&&(c=
a.attachmentId.map(Zsa),$h(b,14,c));a.duplicateOfIssueId&&n(b,15,a.duplicateOfIssueId);a.blockedByIssueId&&$h(b,16,a.blockedByIssueId);a.blockingIssueId&&$h(b,17,a.blockingIssueId);a.changelist&&uh(b,18,a.changelist);a.postmortems&&b.setPostmortemsList(a.postmortems);a.foundInVersion&&uh(b,19,a.foundInVersion);a.targetedToVersion&&uh(b,20,a.targetedToVersion);a.verifiedInVersion&&uh(b,21,a.verifiedInVersion);a.hotlistId&&b.setHotlistIdList(a.hotlistId.map(Zsa));a.customField&&(c=a.customField.map(jta),
Th(b,24,c));a.comment&&b.setComment(a.comment);a.formattingMode&&b.setFormattingMode(iua[a.formattingMode]);a.retention&&b.setRetention(jua[a.retention]);a.isDeleted&&b.setIsDeleted(a.isDeleted);a.deletionReason&&b.setDeletionReason(kua[a.deletionReason]);a.significanceOverride&&b.setSignificanceOverride(mta[a.significanceOverride]);a.duplicateIssueId&&$h(b,30,a.duplicateIssueId);void 0!==a.inProd&&b.setInProd(a.inProd);void 0!==a.isArchived&&b.setIsArchived(a.isArchived);a.sloSnoozeUntil&&b.setSloSnoozeUntil(vg(a.sloSnoozeUntil));
a.sloEndTime&&b.setSloEndTime(vg(a.sloEndTime));a.sloSnoozeType&&b.setSloSnoozeType(lua[a.sloSnoozeType]);a.issueAccessLimitLevel&&b.setAccessLimitLevel(mua[a.issueAccessLimitLevel]);if(a.effort){c=b.setEffort;a=a.effort;var d=new ai;a.specId&&lb(d,1,a.specId);a.estimate&&mb(d,2,a.estimate);a.averageDays&&cb(d,3,Pa(a.averageDays),0);a.totalOpen&&cb(d,4,Pa(a.totalOpen),0);a.totalComplete&&cb(d,5,Pa(a.totalComplete),0);c.call(b,d)}return b},oua=function(a){var b={targetIssueId:String(Wh(a,1))};if(a=
Wh(a,2))b.afterIssueId=$g(a);return b},pua=function(a,b,c,d){a=(new bi).setIssueId(a);b&&(b=mua[b])&&(b=(new ci).setAccessLevel(b),a.setIssueAccessLimit(b));c&&a.setAddedCollaboratorsList(c.map(Xg));d&&a.setRemovedCollaboratorsList(d.map(Xg));return a},qua=function(a){var b=new di;b.setIssueId(String(a));return b},sua=function(a){var b=new rua;b.setIssueId(String(a.issueId));b.setComponentId(String(a.componentId));return b},uua=function(a){var b=new tua;b.setIssueId(String(a.issueId));b.setComponentId(String(a.componentId));
return b},vua=function(a){return{issueId:ah(a.getIssueId()),status:Uh[a.getStatus()],title:a.getTitle()}},xua=function(a){var b=new ei;b.setFieldName(a.fieldName);a.value&&b.setValue(a.value);a.actionType&&b.setActionType(wua[a.actionType]);a.customFieldValue&&b.setCustomFieldValue(jta(a.customFieldValue));return b},yua=function(a){var b=new fi;b.setIssueId(String(a.issueId));b.setActionsList(a.actions.map(xua));return b},Aua=function(a){var b=new gi;b.setAddHotlistIdsList(a.addHotlistIds.map(String));
b.setRemoveHotlistIdsList(a.removeHotlistIds.map(String));var c=a.hotlistIssue;a=new hi;a.setIssueId(String(c.issueId));c.position&&a.setPosition(c.position);if(c.issue){var d=a.setIssue;c=c.issue;var e=new ii;e.setIssueId(String(c.issueId));var g,h=(null!=(g=c.snapshot)?g:[]).map(nua);Th(e,2,h);if(c.userData){g=e.setUserData;h=c.userData;var l=new ji;h.voted&&l.setVoted(h.voted);h.starred&&l.setStarred(h.starred);h.notificationSubscription&&l.setNotificationSubscription(zua[h.notificationSubscription]);
void 0!==h.lastViewedTimeMicros&&n(l,5,h.lastViewedTimeMicros);g.call(e,l)}if(c.aggregatedData){h=c.aggregatedData;g=new ki;g.setVoteCount(h.voteCount);g.setCreatedTimeMicros(h.createdTimeMicros);n(g,4,h.resolvedTimeMicros);n(g,5,h.verifiedTimeMicros);g.setModifiedTimeMicros(h.modifiedTimeMicros);g.setLastModifier(Xg(h.lastModifier));g.setSloId(String(h.sloId));g.setTeamId(String(h.teamId));if(h.retentionState){l=g.setRetentionState;var q=h.retentionState,v=new li;q.retentionPeriod&&v.setRetentionPeriod(Rra(q.retentionPeriod));
q.scheduledDeletionTime&&v.setScheduledDeletionTime(vg(q.scheduledDeletionTime));l.call(g,v)}h.sloStatus&&(l=g.setSloStatus,h=h.sloStatus,q=new mi,h.assignmentBounds&&q.setAssignmentBounds(Eta(h.assignmentBounds)),h.responseBounds&&q.setResponseBounds(Eta(h.responseBounds)),h.closureBounds&&q.setClosureBounds(Eta(h.closureBounds)),l.call(g,q));Oh(e,ki,4,g)}c.accessLimit&&e.setAccessLimit(Gsa(c.accessLimit));e.setCustomFieldsList(c.customFields.map(zsa).map(nta));var y;e.setVisibleFieldsList((null!=
(y=c.visibleFields)?y:[]).map(cta));n(e,7,c.majorModifiedTimeMicros);e.setParentIssueIdsList(c.parentIssueIds);if(c.ancestors)for(y=e.getAncestorsMap(),g=k(c.ancestors.entries()),h=g.next();!h.done;h=g.next()){h=k(h.value);v=h.next().value;h=h.next().value;l=y;q=l.set;v=Number(v);var B=new ni;B.setSourceIssueIdsList(h.sourceIssueIds.map(Zg).filter(eh));q.call(l,v,B)}e.setChildIssueCount(c.childIssueCount);e.setIsArchived(c.isArchived);d.call(a,e)}Oh(b,hi,3,a);return b},Bua=function(a){var b;return{issueDigests:(null!=
(b=a.getIssueDigestsList())?b:[]).map(vua),numTotalResults:a.getNumTotalResults()}},Dua=function(a){var b=new oi;b.setIssueId(String(a.issueId));var c=a.targetIds.map(String);$h(b,2,c);b.setRelation(Cua[a.relation]);b.setActionType(wua[a.actionType]);return b},Fua=function(a){var b=new Eua;b.setIssueId(String(a.issueId));b.setRetention(jua[a.retention]);a.significanceOverride&&b.setSignificanceOverride(mta[a.significanceOverride]);return b},Gua=function(a){var b=new pi;b.setSnapshot(nua(a.snapshot));
a.attachments&&b.setAttachmentsList(a.attachments);a.templateId&&b.setTemplateId(String(a.templateId));a.contentJudgement&&b.setContentJudgement(Ysa(a.contentJudgement));return b},Hua=function(a){return{issueId:ah(a.getIssueId())}},Iua=function(a){return{issueId:ah(a.getIssueId()),updateText:a.getUpdateText(),formattedText:qi(a,ri,3)?tta(W(a,ri,3)):void 0,formattingMode:Xta(a.getFormattingMode()),author:bh(Tg(a.getAuthor())),updateTime:bh(tg(a.getUpdateTime())),version:a.getVersion()}},Xta=function(a){switch(a){case 0:break;
case 1:return"PLAIN";case 2:return"MARKDOWN";case 3:return"LITERAL";default:return og(a)}},Jua=function(a){return{encryptedMedia:jca(si(a,1)),errorMessage:a.getErrorMessage()}},Kua=function(a){var b=new ti;n(b,1,Ka(a.attachment,!1,!1));void 0!==a.contentJudgement&&b.setContentJudgement(Ysa(a.contentJudgement));return b},Mua=function(a){var b;return{attachments:(null!=(b=a.getAttachmentsList())?b:[]).map(Lua)}},Lua=function(a){if(null!=a){var b=Zg(a.getAttachmentId()),c=mh(a,7),d=a.getEtag(),e=a.getContentType(),
g=a.getDescription(),h=a.getFilename(),l=a.getLength(),q=Yta[a.getPiiRetention()],v=zta(a.getPiiRetentionState()),y=Nua(a.getEntityStatus()),B=Bta(a.getContentVerdict());a=W(a,ui,3);a=null!=a?{filename:bh(m(a,5)),length:bh(a.getLength_legacyNullable()),contentType:bh(m(a,1))}:void 0;return{attachmentId:b,filecompUrl:c,etag:d,contentType:e,description:g,filename:h,length:l,piiRetention:q,piiRetentionState:v,entityStatus:y,contentVerdict:B,media:a}}},Nua=function(a){if(null!=a)return{reason:Oua[a.getReason()],
status:Pua[a.hasStatus()?a.getStatus():0]}},Qua=function(a){return{id:a.getId(),name:a.getName(),description:a.getDescription()}},Sua=function(a){var b=a.getTeamId(),c=a.getVersion(),d=a.getName(),e=a.getDescription(),g=a.getPathNamesList(),h=a.getPathIdsList().map(String),l=Cg(a,6),q=a.getMembersList().map(Rua),v=a.getDeleted(),y=Wh(a,9);var B=a.getSlo();B=null!=B?{inherit:B.getInherit(),sloId:B.getSloId(),comment:B.getComment(),sourceTeamId:B.getSourceTeamId()}:void 0;return{teamId:b,version:c,
name:d,description:e,pathNames:g,pathIds:h,collapsedPathNames:l,members:q,deleted:v,estimatedComponentCount:y,slo:B,sloLead:Tg(W(a,Wg,12)),defaultSloLead:Tg(W(a,Wg,13))}},Rua=function(a){var b;return{user:null!=(b=Tg(a.getUser()))?b:{},isLead:vi(a,2)}},Tua=function(a){var b=new wi;xi(b,2,a.isLead);b.setUser(Xg(a.user));return b},Uua=function(a){var b=new yi;if(null==a)return b;b.setInherit(a.inherit);b.setSloId(a.sloId);b.setComment(a.comment);b.setSourceTeamId(a.sourceTeamId);return b},Vua=function(a){var b=
new zi;b.setInherit(a.inherit);b.setId(String(a.id));return b},Wua=function(a){return{teamId:a.getId(),name:a.getName(),description:a.getDescription(),pathNames:a.getPathNamesList(),pathIds:a.getPathIdsList()}},Xua=function(a){return{teamId:a.getTeamId(),score:a.getScore()}},Yua=function(a){var b=new Ai;b.setTeamId(a.teamId);b.setScore(a.score);return b},Zua=function(a){return{author:a.getAuthor(),timestamp:a.getTimestamp(),add:Bi(a.getAdd()),remove:Bi(a.getRemove()),addMask:Cta(a.getAddMask()),removeMask:Cta(a.getRemoveMask())}},
$ua=function(a){var b;return{updates:(null!=(b=a.getUpdatesList())?b:[]).map(Zua)}},Bi=function(a){var b=a.hasRetentionSettings()?wta(a.getRetentionSettings()):void 0;if(qi(a,Ci,10)){var c=W(a,Ci,10),d,e;var g=(null!=(d=Bg(c,1))?d:[]).map(ph);d=Cg(c,2);var h=yg(c,yh,4);if(h){c=[];h=k(h);for(var l=h.next();!l.done;l=h.next())(l=eta(l.value))&&c.push(l)}else c=void 0;g={componentPathId:g,componentPathName:d,allCustomField:null!=(e=c)?e:[]}}else g=void 0;e=g;a.hasSlo()?(g=a.getSlo(),g={inherit:g.getInherit(),
source:ava[g.getSource()],id:g.getId(),sourceComponentId:lh(g,6),sourceTeamId:g.getSourceTeamId(),comment:g.getComment()}):g=void 0;var q;if(qi(a,zh,24)){c=a.getEffortSpec();d=c.getInherit();h=c.getId();l=c.getName();a:switch(Fh(c,6,0)){case 2:var v="MAX";break a;case 1:v="SUM";break a;default:v="AGGREGATION_TYPE_UNSPECIFIED"}d={inherit:d,id:h,name:l,aggregationType:v,customFieldId:c.getCustomFieldId()};if(Di(c,Ah,4,Ei)){if(q=Fi(c,Ah,4,Ei))d.numericSpec={multiplier:Xh(q,1)}}else if(Di(c,Bh,5,Ei)&&
(c=Fi(c,Bh,5,Ei),d.enumSpec={options:[]},c&&0<(null==c?void 0:null==(q=c.getOptionsList())?void 0:q.length)))for(q=k(c.getOptionsList()),c=q.next();!c.done;c=q.next())c=c.value,l=h=void 0,null==(h=d.enumSpec)||null==(l=h.options)||l.push({label:c.getLabel(),value:c.getValue()});q=d}else q=void 0;a.hasTeam()?(d=a.getTeam(),d={inherit:d.getInherit(),id:d.getId()}):d=void 0;var y,B;c=ph(a.getComponentId());h=ph(lh(a,2));l=a.getName();v=a.getDescription();var I=a.getArchived(),N=(null!=(y=Bg(a,7))?y:
[]).map(ph);y=Esa(a.getAccessLimit());var Q=mh(a,13),Z=vi(a,14);var Y=1===Fh(a,15,0)?"ENABLED":"DISABLED";return{componentId:c,parentComponentId:h,name:l,description:v,archived:I,customFieldId:N,componentPathInfo:e,accessLimit:y,emailAlias:Q,userHasEditAccess:Z,commentEditState:Y,defaultTemplateId:ph(lh(a,18)),slo:g,bugscopeSloId:lh(a,20),retentionSettings:b,fieldOrdering:bva[Fh(a,23,0)],effortSpec:q,team:d,teamSuggestions:(null!=(B=a.getTeamSuggestionsList())?B:[]).map(Xua),trackerId:"0"!==a.getTrackerId()?
a.getTrackerId():void 0}},cva=function(a){var b=new Gi;n(b,2,String(a.parentComponentId));b.setName(a.name);b.setDescription(a.description);a.commentEditState&&b.setCommentEditState("ENABLED"===a.commentEditState?1:2);a.retentionSettings&&b.setRetentionSettings(yta(a.retentionSettings));return b},dva=function(a){var b;return(null!=(b=yg(a,Gi,1))?b:[]).map(Bi)},eva=function(a){return{warningHeader:mh(a,1),warning:mh(a,2),isAllowed:vi(a,3),isExternalMove:vi(a,4)}},fva=function(a){return{templateId:a.getTemplateId(),
componentId:ph(a.getComponentId()),default:!!a.getDefault(),name:a.getName(),description:a.getDescription(),snapshot:eua(a.getSnapshot())}},gva=function(a){var b=new Hi;b.setTemplateId(a.templateId);b.setComponentId(String(a.componentId));b.setDefault(a.default);b.setName(a.name);b.setDescription(a.description);b.setSnapshot(nua(a.snapshot));return b},hva=function(a){var b={},c=Ii(a,2,yh).entries();c=k(c);for(var d=c.next();!d.done;d=c.next()){var e=k(d.value);d=e.next().value;e=e.next().value;(e=
eta(e))&&(b[ph(d)]=e)}return{snapshot:eua(a.getSnapshot()),customFieldMap:b}},iva=function(a){var b;return(null!=(b=yg(a,Gi,1))?b:[]).map(Bi)},jva=function(a){var b=wta(a.getRetentionSettings());return{componentPath:a.getComponentPath(),retentionSettings:b}},kva=function(a){return yg(a,Ji,2).map(jva)},nva=function(a){if(null!=a){var b=a.getName();if(null==b)rg("No name. eventDiffToJs");else{b={name:b,displayName:bh(a.getDisplayName()),timestamp:Sra(a.getTimestamp()),important:!!vi(a,5),type:lva[a.getType()]};
if(Di(a,Ki,6,Li)){var c=Fi(a,Ki,6,Li);if(Di(c,Mi,1,Ni)){var d=Fi(c,Mi,1,Ni);b.isUser=!0;b.oldValue=dh("<none>")(Ug(null==d?void 0:W(d,Wg,1)));b.newValue=dh("<none>")(Ug(null==d?void 0:W(d,Wg,2)))}if(Di(c,Oi,2,Ni)){var e,g;b.oldValue=bh(null==(e=Fi(a,Ki,6,Li))?void 0:null==(g=Fi(e,Oi,2,Ni))?void 0:g.getOldValue());var h,l;b.newValue=bh(null==(h=Fi(a,Ki,6,Li))?void 0:null==(l=Fi(h,Oi,2,Ni))?void 0:l.getNewValue())}}else if(Di(a,Pi,9,Li)){var q;b.customFieldId=bh(null==(q=Fi(a,Pi,9,Li))?void 0:q.getCustomFieldId());
var v;b.oldValue=bh(null==(v=Fi(a,Pi,9,Li))?void 0:v.getOldValue());var y;b.newValue=bh(null==(y=Fi(a,Pi,9,Li))?void 0:y.getNewValue())}else if(Di(a,Qi,10,Li))e=Fi(a,Qi,10,Li),b.isUser=!0,a=(null==e?void 0:e.getAddedList())||[],e=(null==e?void 0:e.getRemovedList())||[],b.added=a.map(function(N){return Ug(N)}).map(dh("<none>")),b.removed=e.map(function(N){return Ug(N)}).map(dh("<none>"));else if(Di(a,Ri,7,Li)){var B;b.added=(null==(B=Fi(a,Ri,7,Li))?void 0:B.getAddedList())||[];var I;b.removed=(null==
(I=Fi(a,Ri,7,Li))?void 0:I.getRemovedList())||[]}else Di(a,Si,8,Li)?(e=(null==(d=Fi(a,Si,8,Li))?void 0:d.getAddedList())||[],a=(null==(c=Fi(a,Si,8,Li))?void 0:c.getRemovedList())||[],b.added=e.map(mva).filter(eh),b.removed=a.map(mva).filter(eh)):Di(a,Ti,11,Li)?(a=Nua(Fi(a,Ti,11,Li).getEntityStatus()),b.statusUpdateDiff={entityStatus:a}):rg("Unhandled diff type '"+b.type+"'");return b}}},mva=function(a){if(null!=a){var b=a.getValue();if(null==b)rg("No value. linkedItemToJs");else if(a=a.getHref(),
null==a)rg("No href. linkedItemToJs");else return{value:b,href:a}}},ova=function(a){a=Ui(a).toString();var b=new Vi;n(b,2,a);return b},pva=function(a){if(!a)return null;a=m(a,2);var b;null===a||void 0===a?b=null:b=Jf(a);return b},Wi=function(a){if(null!=a){var b=a.getIssueId();if(null==b)rg("No issueId. issueToJs");else{for(var c=new Map,d=k(a.getAncestorsMap().entries()),e=d.next();!e.done;e=d.next()){var g=k(e.value);e=g.next().value;g=g.next().value;c.set(String(e),{sourceIssueIds:g.getSourceIssueIdsList().map(String)})}var h,
l,q,v;d=a.getUserData();if(null!=d){var y;d={voted:ch(d.getVoted()),starred:ch(d.getStarred()),notificationSubscription:qva[d.getNotificationSubscription()],lastViewedTimeMicros:null!=(y=Wh(d,5))?y:0}}else d=void 0;y=Esa(a.getAccessLimit());e=yg(a,Yh,2).map(eua).filter(eh);g=a.getCustomFieldsList().map(dta).filter(eh);var B=a.getVisibleFieldsList().map(ata).filter(eh);var I=W(a,ki,4);if(null!=I){var N=void 0;if(I.hasSloStatus()){var Q=I.getSloStatus();N={assignmentBounds:Q.hasAssignmentBounds()?Dta(Q.getAssignmentBounds()):
void 0,responseBounds:Q.hasResponseBounds()?Dta(Q.getResponseBounds()):void 0,closureBounds:Q.hasClosureBounds()?Dta(Q.getClosureBounds()):void 0}}var Z,Y,ka,la,Da;Q={voteCount:null!=(Z=I.getVoteCount())?Z:0,createdTimeMicros:null!=(Y=I.getCreatedTimeMicros())?Y:0,resolvedTimeMicros:null!=(ka=Wh(I,4))?ka:0,verifiedTimeMicros:null!=(la=Wh(I,5))?la:0,modifiedTimeMicros:null!=(Da=I.getModifiedTimeMicros())?Da:0,lastModifier:Tg(I.getLastModifier()),sloId:Zg(I.getSloId()),teamId:Zg(I.getTeamId()),retentionState:zta(I.getRetentionState()),
sloStatus:N}}else Q=void 0;return{issueId:b,userData:d,accessLimit:y,snapshot:e,customFields:g,visibleFields:B,aggregatedData:Q,majorModifiedTimeMicros:null!=(h=Wh(a,7))?h:0,parentIssueIds:null!=(l=a.getParentIssueIdsList())?l:[],ancestors:c,childIssueCount:null!=(q=a.getChildIssueCount())?q:0,isArchived:a.getIsArchived(),relatedLinks:(null!=(v=a.getRelatedLinksList())?v:[]).map(rva),trackerId:"0"!==a.getTrackerId()?a.getTrackerId():void 0,statusUpdate:a.hasStatusUpdate()?Iua(a.getStatusUpdate()):
void 0}}}},tva=function(a){if(null!=a){var b=Sra(W(a,ug,4)),c=!!vi(a,8),d,e=null!=(d=sva(a.getComment()))?d:{};d=a.hasStatusUpdate()?Iua(a.getStatusUpdate()):void 0;var g,h=null==(g=yg(a,Xi,2))?void 0:g.map(nva).filter(eh),l;g=null==(l=yg(a,Xi,3))?void 0:l.map(nva).filter(eh);var q;l=null==(q=yg(a,Yi,9))?void 0:q.map(Wta).filter(eh);q=a.getAttachmentsList().map(Lua).filter(eh);var v=Ug(W(a,Wg,5));v=dh("<none>")(v);var y=Tg(W(a,Wg,5)),B=!!vi(a,11),I=!!vi(a,12);if(null==b)rg("No modifiedDate. issueEventToJs");
else return Object.assign({},e,{attachments:q,version:a.getVersion(),modifiedDate:b,preDiffs:h,postDiffs:g,isMajorEvent:c,statusUpdate:d,taggedSummary:l,userPerformingAction:v,userPerformingActionUser:y,isHumanAuthor:B,isCollaboratorAuthor:I})}},uva=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:bh(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}},sva=function(a){return null==a?{}:uva(Zi(a))},aj=function(a){if(null!=a){var b=Wi(a.getIssue());if(null==b)rg("No issue. issueFetchResponseToJs");else return a=tva(W(a,$i,5)),{issue:b,firstEvent:a}}},
vva=function(a){var b=[];a=k(a.entries());for(var c=a.next();!c.done;c=a.next()){var d=k(c.value);c=d.next().value;d=d.next().value;b.push({issueId:c,relatedChildren:d.getIssueRelationshipsList().map(oua),totalChildCount:d.getTotalSize()})}return b},wva=function(a){var b=new bj;b.setIssueIdsList(a.issueIds.map(String));b.setActionsList(a.actions.map(xua));return b},xva=function(a){return{issueId:a.getIssueId(),message:a.getMessage()}},yva=function(a){for(var b={},c=k(Ii(a,1,ii).entries()),d=c.next();!d.done;d=
c.next()){var e=k(d.value);d=e.next().value;e=e.next().value;b[Number(d)]=Wi(e)}c={};d=k(Ii(a,3,Gi).entries());for(e=d.next();!e.done;e=d.next()){var g=k(e.value);e=g.next().value;g=g.next().value;c[Number(e)]=Bi(g)}var h;a=(null!=(h=yg(a,cj,2))?h:[]).map(xva);return{affectedIssues:b,componentMap:c,errors:a}},zva=function(a){var b;return(null!=(b=a.getIssueCommentsList())?b:[]).map(sva)},rva=function(a){var b=rh(a,dj);switch(b){case 2:return b=Fi(a,ej,2,dj),0!==b.getCommentNumber()?{type:"issueReference",
issueId:String(b.getIssueId()),commentNumber:b.getCommentNumber(),sourceCommentNumber:Ag(a,3)}:{type:"issueReference",issueId:String(b.getIssueId()),sourceCommentNumber:Ag(a,3)};case 1:return{type:"hyperlink",href:Fi(a,fj,1,dj).getHref(),sourceCommentNumber:Ag(a,3)};case 0:throw Error("bc");default:return og(b)}},Ava=function(a){return{readTimestamp:Wh(a,1)}},Bva=function(a){var b=a.getIssueState();b={componentId:b.getComponentId(),type:$ta[b.getType()],status:Uh[b.getStatus()],priority:aua[b.getPriority()],
severity:bua[b.getSeverity()],accessLimitLevel:b.hasAccessLimitLevel()?dua[b.getAccessLimitLevel()]:null};return{issueId:String(a.getIssueId()),issueState:b,modifiedTime:tg(a.getModifiedTime()),teamId:a.getTeamId()}},Cva=function(a){switch(a){case "PLAIN":return 1;case "MARKDOWN":return 2;case "LITERAL":return 3;case void 0:case null:case "UNSPECIFIED_FORMATTING_MODE":return 0;default:return og(a,"Unexpected formatting mode")}},Zi=function(a){var b=void 0;qi(a,gj,14)&&(b=Bta(W(a,gj,14)));return{issueId:a.getIssueId(),
commentNumber:a.getCommentId(),commentContentVerdict:b,formattingMode:Dva[a.getFormattingMode()],formattedComment:a.hasFormattedComment()?tta(a.getFormattedComment()):void 0,lastEditorUser:Tg(W(a,Wg,8)),lastModified:a.getLastModified(),version:a.getVersion(),unlinkifiedComment:mh(a,7),entityStatus:Nua(a.getEntityStatus()),piiRetentionState:zta(a.getPiiRetentionState()),piiRetention:Yta[a.getPiiRetention()],redacted:a.getRedacted(),etag:a.getEtag(),commentReactions:Eva(a.getCommentReaction())}},Fva=
function(a){var b;return(null!=(b=a.getIssueCommentsList())?b:[]).map(Zi)},Eva=function(a){var b=null==a?void 0:a.getReactionStatesList();a=new Map;b=k(b||[]);for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=void 0,e=null!=(d=Gva[c.getType()])?d:"REACTION_TYPE_UNSPECIFIED",g=d=void 0,h=void 0,l=void 0,q={type:e,hasReacted:null!=(g=c.getHasReacted())?g:!1,count:null!=(h=c.getCount())?h:0,recentResponders:null!=(l=null==(d=c.getRecentRespondersList())?void 0:d.map(Tg).filter(eh))?l:[]};a.set(e,
q)}return a},Hva=function(a){return{user:Tg(W(a,Wg,1)),createdTime:tg(a.getCreatedTime())}},Iva=function(a){return{responders:yg(a,hj,1).map(Hva),totalSize:a.getTotalSize(),nextPageToken:a.getNextPageToken()}},Kva=function(a){var b=a.getIssuesList();if(b){var c=[];b=k(b);for(var d=b.next();!d.done;d=b.next())(d=d.value)&&(d=Wi(d))&&c.push(d)}else c=[];b=a.getNumTotalResults();var e=a.getComponentsMap();d={};e=k(e.entries());for(var g=e.next();!g.done;g=e.next()){var h=k(g.value);g=h.next().value;
h=h.next().value;d[Number(g)]=Bi(h)}g=Jva(a,4,void 0);if(void 0!==g)for(e={},g=k(g.entries()),h=g.next();!h.done;h=g.next()){var l=k(h.value);h=l.next().value;l=l.next().value;e[Number(h)]=l}else e=void 0;return{issues:c,numTotalResults:b,componentMap:d,positionMap:e,nextPageToken:a.getNextPageToken()}},Mva=function(a){return Lva({id:a.getId(),std_offset:Ag(a,3),names:Cg(a,2),transitions:xg(a,4)||[]})},Ova=function(a){var b=a.getTrackerId(),c=a.getName(),d=a.getComponentId(),e=Bg(a,4);var g=W(a,ij,
5);g=null!=g?{logoUrl:g.getLogoUrl(),theme:Nva[g.getTheme()]}:void 0;return{trackerId:b,name:c,componentId:d,associatedTrackerIds:e,branding:null!=g?g:null,internalBaseUrl:jj(a,6)?mh(a,6):void 0,externalBaseUrl:jj(a,7)?mh(a,7):void 0,trustedCollaborators:0<yg(a,Wg,8).length?Vg(yg(a,Wg,8)):void 0}},Pva=function(a){var b;return(null!=(b=a.getTrackersList())?b:[]).map(Ova)},Qva=function(a){return{trackers:a.getTrackersList().map(Ova),nextPageToken:a.getNextPageToken(),totalSize:a.getTotalSize()}},Sva=
function(a){if(null==a)return"UNSPECIFIED_FORMATTING_MODE";switch(Rva[a]){case 2:return"MARKDOWN";case 1:return"PLAIN";case 3:return"LITERAL";default:return"UNSPECIFIED_FORMATTING_MODE"}},lj=function(a){"duplicateOfIssueId"===a&&(a="canonicalIssueId");var b=Number(a);isNaN(b)?a=new kj({type:String(a).replace(/([A-Z])/g,"_$1").toUpperCase()}):0===b?a=null:(a={customFieldId:b},a=new kj({type:"CUSTOM_FIELD",customFieldId:a.customFieldId,customFieldName:a.name}));return a},Tva=function(a){a=mj(a);if(nj(a))return null;
var b=a.split(":");if(2!==b.length||nj(b[1]))return null;a="asc"===b[1].toLowerCase()?"ASCENDING":"DESCENDING";return(b=lj(b[0]))&&a?new oj(b,a):null},dwa=function(a){var b={};pj(a,1)&&(b.showFullHistory=vi(a,1));pj(a,2)&&(b.useCodefont=vi(a,2));qj(a,5)&&(b.resultsPerPage=Ag(a,5));pj(a,26)&&(b.showRecentEventsFirst=vi(a,26));var c=a.getDisplayColumns();c&&(b.displayColumns={column:c.getColumnList().map(Uva)});if(c=a.getSortColumns())b.sortColumns={column:c.getColumnList().map(Vva)};jj(a,7)&&(b.bannerMessageId=
mh(a,7));if(c=W(a,rj,3)){var d={};Vh(c,1)&&(d.reportedPriority=sj[Fh(c,1,0)]);Vh(c,2)&&(d.assignedPriority=sj[Fh(c,2,0)]);Vh(c,3)&&(d.verifiedPriority=sj[Fh(c,3,0)]);Vh(c,4)&&(d.ccdPriority=sj[Fh(c,4,0)]);Vh(c,9)&&(d.collaboratorPriority=sj[Fh(c,9,0)]);Vh(c,5)&&(d.starredPriority=sj[Fh(c,5,0)]);pj(c,6)&&(d.excludeChangesByMe=vi(c,6));pj(c,7)&&(d.unsubscribeFromAll=vi(c,7));pj(c,8)&&(d.enableV2Prefs=vi(c,8));b.notificationPreferences=d}if(d=W(a,tj,9)){c={showHotlists:vi(d,1),showStatusIcons:vi(d,4),
wrapComponents:vi(d,3),wrapTitles:vi(d,2),rtlComponentPath:vi(d,5)};var e=uj(d,6,void 0);c.fieldStatus=Object.fromEntries(e.entries());d=uj(d,7,void 0);c.modeForField=Object.fromEntries(d.entries());b.listViewPreferences=c}if(c=a.getLayoutPreferences())d={},qj(c,1)&&(d.leftSidebarWidth=Ag(c,1)),pj(c,2)&&(d.expandIssueSlo=vi(c,2)),qj(c,3)&&(d.rightSidebarWidth=Ag(c,3)),b.layoutPreferences=d;if(c=a.getDateTimePreferences())d={},jj(c,1)&&(d.calendarFormat=mh(c,1)),jj(c,2)&&(d.timeFormat=mh(c,2)),c.hasTimeZone()&&
(d.timeZone=c.getTimeZone()),Vh(c,7)&&(d.sloEtaViewAs=Wva[Fh(c,7,0)]),b.dateTimePreferences=d;if(c=W(a,vj,8))d={},Vh(c,1)&&(d.density=Xva[c.getDensity()]),b.themePreferences=d;if(c=a.getHomepagePreferences())d={},c.hasResourceType()&&(d.resourceType=Yva(c.getResourceType())),c.hasResourceId()&&(d.resourceId=c.getResourceId()),b.homepagePreferences=d;if(c=W(a,wj,17))d={},pj(c,1)&&(d.enableAllHotkeys=vi(c,1,!0)),b.keyboardPreferences=d;kh(a,16)&&(b.newFeaturesAcknowledgedMillis=lh(a,16));pj(a,18)&&
(b.autoCcOnComment=vi(a,18));qi(a,xj,20)&&(d=W(a,xj,20),c=Fh(d,2,0),d=Fh(d,1,0),b.textDisplayPreferences={commentDisplayOverride:Zva(c),lastPublishMode:Zva(d)});qi(a,yj,21)&&(c=W(a,yj,21),d={},pj(c,2)&&(d.announcementDismissed=vi(c,2)),pj(c,1)&&(d.enableBugScreensaver=vi(c,1)),b.bugScreensaverPreferences=d);qi(a,zj,24)&&(c=W(a,zj,24),d={},Aj(c,1)&&(d.announcementDismissedMillis=Wh(c,1)),b.g3nPreferences=d);if(c=W(a,Bj,23))b.teamWarningPreferences={componentTeamWarnings:yg(c,Cj,1).map($va)};c=Ii(a,
25,ug);c.size&&(b.dismissalTimestamps=awa(c));c=Dj(a,27,void 0);c.size&&(b.collapsed=Object.fromEntries(c.entries()));pj(a,29)&&(b.showInlineImages=a.getShowInlineImages());qi(a,Ej,28)&&(c=W(a,Ej,28),d={},Vh(c,1)&&(d.commentFilter=bwa(Fh(c,1,0))),b.commentFilterPreferences=d);qi(a,Fj,30)&&(b.needsAttentionPreferences=cwa(W(a,Fj,30)));return b},Uva=function(a){var b={};a.hasType()&&(b.type=ewa[a.getType()]);a.hasCustomFieldId()&&(b.customFieldId=a.getCustomFieldId());return b},Vva=function(a){var b=
{};if(Vh(a,2)){a:{var c=Fh(a,2,1);switch(c){case 1:c="ASCENDING";break a;case 2:c="DESCENDING";break a;default:c=og(c,"Unknown sortOrder: "+c)}}b.order=c}if(a=a.getColumn())b.column=Uva(a);return b},Zva=function(a){if(0!==a)return Rva[a]},Yva=function(a){switch(a){case 1:return"HOTLIST";case 2:return"SAVED_SEARCH";case 3:return"BOOKMARK_GROUP";case 4:return"NEEDS_ATTENTION";case 5:return"EXPERIMENTAL_HOMEPAGE";default:return og(a,"Unknown resourceType: "+a)}},$va=function(a){var b={};a.hasComponentId()&&
(b.componentId=a.getComponentId());Aj(a,2)&&(b.dismissMillis=Wh(a,2));return b},awa=function(a){a=Array.from(a.entries()).map(function(b){var c=k(b);b=c.next().value;c=c.next().value;return[b,c.toDate()]});return Object.fromEntries(a)},bwa=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 og(a,"Unknown resourceType: "+a)}},cwa=function(a){var b={};b.selectedSignals=Gj(a,1).map(function(c){return fwa[c]});
return b},qwa=function(a){var b=new Hj;null!=a.showFullHistory&&xi(b,1,a.showFullHistory);null!=a.useCodefont&&xi(b,2,a.useCodefont);null!=a.resultsPerPage&&n(b,5,a.resultsPerPage);if(null!=a.displayColumns){var c=gwa(a.displayColumns);Oh(b,Ij,4,c)}null!=a.sortColumns&&(c=hwa(a.sortColumns),Oh(b,Jj,6,c));null!=a.bannerMessageId&&n(b,7,a.bannerMessageId);if(null!=a.notificationPreferences){c=a.notificationPreferences;var d=new rj;d=n(d,1,Kj[c.reportedPriority]);d=n(d,2,Kj[c.assignedPriority]);d=n(d,
3,Kj[c.verifiedPriority]);d=n(d,4,Kj[c.ccdPriority]);d=n(d,9,Kj[c.collaboratorPriority]);d=n(d,5,Kj[c.starredPriority]);d=xi(d,6,c.excludeChangesByMe);d=xi(d,7,c.unsubscribeFromAll);c=xi(d,8,c.unsubscribeFromAll);Oh(b,rj,3,c)}null!=a.listViewPreferences&&(c=a.listViewPreferences,d=new tj,d=xi(d,1,c.showHotlists),d=xi(d,2,c.wrapTitles),d=xi(d,3,c.wrapComponents),d=xi(d,4,c.showStatusIcons),d=xi(d,5,c.rtlComponentPath),null!=c.fieldStatus&&iwa(c.fieldStatus,uj(d,6,void 0)),null!=c.modeForField&&iwa(c.modeForField,
uj(d,7,void 0)),Oh(b,tj,9,d));null!=a.layoutPreferences&&(c=a.layoutPreferences,d=new Lj,null!=c.leftSidebarWidth&&n(d,1,c.leftSidebarWidth),null!=c.expandIssueSlo&&xi(d,2,c.expandIssueSlo),null!=c.rightSidebarWidth&&n(d,3,c.rightSidebarWidth),Oh(b,Lj,10,d));null!=a.dateTimePreferences&&(c=a.dateTimePreferences,d=new Mj,d=n(d,1,c.calendarFormat),d=n(d,2,c.timeFormat).setTimeZone(c.timeZone),c=n(d,7,jwa[c.sloEtaViewAs]),Oh(b,Mj,11,c));null!=a.themePreferences&&(c=a.themePreferences,c=(new vj).setDensity(kwa[c.density]),
Oh(b,vj,8,c));null!=a.homepagePreferences&&(c=a.homepagePreferences,d=new Nj,null!=c.resourceType&&d.setResourceType(lwa(c.resourceType)),null!=c.resourceId&&d.setResourceId(c.resourceId),Oh(b,Nj,13,d));null!=a.keyboardPreferences&&(c=a.keyboardPreferences,d=new wj,c=xi(d,1,c.enableAllHotkeys),Oh(b,wj,17,c));null!=a.newFeaturesAcknowledgedMillis&&n(b,16,a.newFeaturesAcknowledgedMillis);null!=a.autoCcOnComment&&xi(b,18,a.autoCcOnComment);null!=a.textDisplayPreferences&&(c=a.textDisplayPreferences,
d=new xj,c.commentDisplayOverride&&n(d,2,mwa(c.commentDisplayOverride)),c.lastPublishMode&&n(d,1,mwa(c.lastPublishMode)),Oh(b,xj,20,d));null!=a.bugScreensaverPreferences&&(c=a.bugScreensaverPreferences,d=new yj,null!=c.enableBugScreensaver&&xi(d,1,c.enableBugScreensaver),null!=c.announcementDismissed&&xi(d,2,c.announcementDismissed),Oh(b,yj,21,d));null!=a.g3nPreferences&&(c=a.g3nPreferences,d=new zj,null!=c.announcementDismissedMillis&&n(d,1,c.announcementDismissedMillis),Oh(b,zj,24,d));null!=a.teamWarningPreferences&&
(c=nwa(a.teamWarningPreferences),Oh(b,Bj,23,c));if(null!=a.dismissalTimestamps){c=Ii(b,25,ug);d=k(Object.entries(a.dismissalTimestamps));for(var e=d.next();!e.done;e=d.next()){var g=k(e.value);e=g.next().value;var h=g.next().value;g=c;var l=g.set,q=new ug;h=h.getTime();q.setSeconds(Math.trunc(h/1E3)).setNanos(Math.trunc(h%1E3*1E6));l.call(g,e,q)}}null!=a.collapsed&&iwa(a.collapsed,Dj(b,27,void 0));null!=a.showRecentEventsFirst&&xi(b,26,a.showRecentEventsFirst);null!=a.showInlineImages&&xi(b,29,a.showInlineImages);
null!=a.commentFilterPreferences&&(d=a.commentFilterPreferences,c=new Ej,null!=d.commentFilter&&(d=owa(d.commentFilter),n(c,1,d)),Oh(b,Ej,28,c));null!=a.needsAttentionPreferences&&(c=a.needsAttentionPreferences,a=new Fj,c.selectedSignals&&(c=c.selectedSignals.map(pwa),Oj(a,1,c)),Oh(b,Fj,30,a));return b},gwa=function(a){return(new Ij).setColumnList(a.column.map(function(b){return rwa(b)}))},rwa=function(a){var b=new Pj,c=b.setType,d=a.type;if(!Qj.hasOwnProperty(d))throw Error("cc`"+d);b=c.call(b,swa[d]);
null!=a.customFieldId&&b.setCustomFieldId(a.customFieldId);return b},hwa=function(a){return(new Jj).setColumnList(a.column.map(function(b){var c=(new Rj).setColumn(rwa(b.column));a:switch(b=b.order,b){case "ASCENDING":b=1;break a;case "DESCENDING":b=2;break a;default:b=og(b,"Unknown sortOrder: "+b)}return n(c,2,b)}))},lwa=function(a){switch(a){case "HOTLIST":return 1;case "SAVED_SEARCH":return 2;case "BOOKMARK_GROUP":return 3;case "NEEDS_ATTENTION":return 4;case "EXPERIMENTAL_HOMEPAGE":return 5;default:return og(a,
"Unknown resourceType: "+a)}},mwa=function(a){switch(Rva[a]){case 2:return 2;case 1:return 1;case 3:return 3;default:return 0}},nwa=function(a){var b=new Bj;null!=a.componentTeamWarnings&&twa(b,a.componentTeamWarnings.map(function(c){var d=new Cj;c.componentId&&d.setComponentId(c.componentId);c.dismissMillis&&n(d,2,c.dismissMillis);return d}));return b},owa=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 og(a,"Unknown commentFilterType: "+a)}},pwa=function(a){return uwa[a]},iwa=function(a,b){a=k(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=k(c.value);c=d.next().value;d=d.next().value;b.set(c,d)}},bk=function(){null==Sj&&(Sj=new vwa(wwa.buganizerSessionJspb));if(!qi(Sj,Tj,2)){var a=Sj,b=new Tj;Oh(a,Tj,2,b)}qi(Sj,Uj,9)||(a=Sj,b=new Uj,Oh(a,Uj,9,b));Sj.hasUser()||Sj.setUser(new Vj);qi(Sj,Hj,7)||(a=Sj,b=new Hj,Oh(a,Hj,7,b));b=Sj;a=b.hasUser()?b.getUser():new Vj;a=vi(a,
4)?{anonymous:!0,email:null,userTypeLabel:"ANONYMOUS",sessionIdentifier:""}:{anonymous:!1,email:a.getEmail(),userTypeLabel:a.getUserTypeLabel(),sessionIdentifier:a.getSessionIdentifier()};var c=qi(b,Tj,2)?b.getConfig():new Tj;for(var d=new Map,e=k(Dj(c,4,void 0).entries()),g=e.next();!g.done;g=e.next()){var h=k(g.value);g=h.next().value;h=h.next().value;d.set(g,h)}c={analyticsId:c.getAnalyticsId(),appName:c.getAppName(),documentationBaseUrl:c.getDocumentationBaseUrl(),enabledFlags:d,environmentType:c.getEnvironmentType(),
maxAccurateSearchResults:c.getMaxAccurateSearchResults(),onePickUrl:c.getOnePickUrl(),onePickSecretToken:c.getOnePickSecretToken(),commentNumberLimit:c.getCommentNumberLimit(),createComponentRedirectDelay:c.getCreateComponentRedirectDelay(),whitelistedWhitelistDomainPartnerComponentIds:Bg(c,10),isDogfooder:vi(c,11),createRestrictedSubresourcesComponentWhitelist:Wj(c,13),issueAccessLimitsComponentAllowlist:new Set(Wj(c,18))};d=dwa(qi(b,Hj,7)?b.getUserPreferences():new Hj);g=qi(b,Uj,9)?W(b,Uj,9):new Uj;
e=yg(g,Xj,1).map(Mva);qi(g,Yj,2)?(g=g.getAnnouncement(),g={message:g.getMessage(),messageId:mh(g,2),dismissible:vi(g,3),tags:g.getTagsList()}):g=null;e={timezones:e,announcement:g};g=b.getXsrfToken();h=b.getCspNonce();var l=b.getFrontendAccessMode(),q=b.getMustAcknowledgeTerms(),v=b.getShowNewFeaturesDialog(),y=b.getAppBaseHref(),B=qi(b,Zj,11)?Ova(b.getTracker()):null;qi(b,ak,12)?(b=b.getPassiveLoginIframeUrl())?(b=m(b,4),b=null===b||void 0===b?null:Qoa(b)):b=null:b=null;return{user:a,config:c,xsrfToken:g,
cspNonce:h,frontendAccessMode:l,mustAcknowledgeTerms:q,showNewFeaturesDialog:v,userPreferences:d,preload:e,appBaseHref:y,tracker:B,passiveLoginIframeUrl:b}},xwa=function(a,b){var c;a=null==(c=a.componentPathInfo)?void 0:c.allCustomField;if(!a)return!0;c={};a=k(a);for(var d=a.next();!d.done;c={$jscomp$loop$prop$customField$2276:c.$jscomp$loop$prop$customField$2276},d=a.next())if(c.$jscomp$loop$prop$customField$2276=d.value,c.$jscomp$loop$prop$customField$2276.required){d=!!c.$jscomp$loop$prop$customField$2276.typedDefaultValue;
var e=void 0,g=void 0,h=null==(e=b)?void 0:null==(g=e.snapshot.customField)?void 0:g.some(function(l){return function(q){return q.customFieldId===l.$jscomp$loop$prop$customField$2276.customFieldId}}(c));if(!d&&!h)return!1}return!0},zwa=function(a){return null==a?!1:ywa.has(a.name)},Awa=function(a){return"hotlist"===(null==a?void 0:a.name)},Bwa=function(a){return null==a?!1:null!=a.href&&null!=a.value},Cwa=function(a){return Array.isArray(a)?a.every(Bwa):!1},ck=function(a){switch(a){case "P0":case "P1":case "P2":case "P3":case "P4":return a;
default:return null}},Dwa=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}},Ewa=function(a){switch(a){case "S0":case "S1":case "S2":case "S3":case "S4":return a;default:return null}},Fwa=function(a){switch(a){case "NEW":case "ASSIGNED":case "ACCEPTED":case "FIXED":case "VERIFIED":case "NOT_REPRODUCIBLE":case "INTENDED_BEHAVIOR":case "OBSOLETE":case "INFEASIBLE":case "DUPLICATE":return a;
default:return null}},Gwa=function(a){return Bsa(a.replace(/_/g," ").toLowerCase())},Hwa=function(a,b){return Object.entries(a).reduce(function(c,d){var e=k(d);d=e.next().value;e=e.next().value;c[b[d]]=e;return c},{})},ek=function(a,b,c,d){return new Iwa(a,dk[a],b,c,d)},Jwa=function(a){return a},gk=function(a){return fk(a,Jwa)},fk=function(a,b){var c={};return a.filter(function(d){d=String(b(d));return c[d]?!1:c[d]=!0})},Kwa=function(a){return function(b){return fk(b,a)}},Lwa=function(a,b){for(var c=
Math.max(a.length,b.length),d=[],e=0;e<c;e++)d.push([a[e],b[e]]);return d},Mwa=function(a){a=void 0===a?[]:a;return a.filter(function(b){return"number"===typeof b}).filter(function(b){return 0!==b})},Owa=function(a){var b=Nwa,c=void 0===b?[]:b;a=void 0===a?[]:a;if(0===c.length)return a;b=a.filter(function(d){return 0>c.indexOf(d)});return b.length===a.length?a:b},Pwa=function(a,b){if(a.length!==b.length)return!1;a=[].concat(Jc(a)).sort();b=[].concat(Jc(b)).sort();return a.every(function(c,d){return c===
b[d]})},Qwa=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)})}},Rwa=function(a,b){var c=new Map;a=k(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=b(d),g=void 0,h=null!=(g=c.get(e))?g:[];h.push(d);c.set(e,h)}return[].concat(Jc(c.values()))},Swa=function(a){for(var b=[],c=0;c<a.length;c+=100){var d=a.slice(c,c+100);b.push(d)}return b},hk=function(a,b){return function(c,d){return Twa(c,a,b,d)}},Twa=
function(a,b,c,d){d=void 0===d?"":d;return""===d?a:[].concat(Jc(a)).sort(function(e,g){var h="asc"===d?1:-1;return c(b(e),b(g))*h})},Uwa=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},Vwa=function(a,b){return null==a||null==b?null==a&&null==b?0:null==a?1:null==b?-1:0:a.localeCompare(b)},ik=function(a){return!(null==a||!a.commentNumber)},jk=function(a){var b;return 0<(null==(b=a.attachments)?void 0:b.length)},
Wwa=function(a,b,c){var d=a.findIndex(function(g){return g.commentNumber===b}),e=a[d];if(null==e)return a;c=Object.assign({},e,c);return[].concat(Jc(a.slice(0,d)),[c],Jc(a.slice(d+1)))},Xwa=function(a){var b,c;return null==a?void 0:null==(b=a.issue)?void 0:null==(c=b.snapshot)?void 0:c[0]},Zwa=function(a){var b;return Qg(null==(b=Ywa(a))?void 0:b.assigneeUser)||void 0},$wa=function(a){if(null==a)return"";var b,c,d,e,g=a.etag,h=a.piiRetention;var l=a.piiRetentionState;l=null==l?"":[JSON.stringify(l.retentionPeriod),
JSON.stringify(l.scheduledDeletionTime)].join("-");return[g,h,l,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("-")},axa=function(a){if(null==a)return"";var b=a.attachments.map($wa).join("-"),c=[];if(a.commentReactions&&0<a.commentReactions.size){var d,e=k(null==(d=a.commentReactions)?void 0:d.entries());for(d=e.next();!d.done;d=e.next()){var g=k(d.value);d=g.next().value;g=g.next().value;
c.push(d+"-"+g.count)}}c=c.join("-");var h,l;return[a.modifiedDate,a.version,"["+b+"]",a.preDiffs.length,a.postDiffs.length,a.commentVersion,null==(h=a.commentContentVerdict)?void 0:null==(l=h.piiVerdict)?void 0:l.severity,a.commentDeletionStatus,a.commentRetention,"["+c+"]"].join("-")},bxa=function(a){return a.map(function(b){return b.commentNumber}).filter(eh).reduce(function(b,c){return Math.max(b,c)},1)},cxa=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||axa(d)!==axa(e)))return!1}return!0},lk=function(a){if(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=kk[a])?void 0:d.open)?e:!1},dxa=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=kk[a];return null==b?!1:!(null==
b?0:b.open)},exa=function(a){return null==a.isArchived?!1:!a.isArchived},gxa=function(){var a=mk;return hk(function(b){var c,d;return null!=(d=fxa[null==(c=a(b))?void 0:c.snapshot[0].status])?d:0},Uwa)},hxa=function(){var a=mk;return hk(function(b){var c,d;return null==(c=a(b))?void 0:null==(d=c.snapshot[0].assigneeUser)?void 0:d.emailAddress},Vwa)},ixa=function(){var a=mk;return hk(function(b){var c;return null==(c=a(b))?void 0:c.snapshot[0].type},Vwa)},jxa=function(){var a=mk;return hk(function(b){var c,
d;return null==(c=a(b))?void 0:null==(d=c.snapshot[0].reporterUser)?void 0:d.emailAddress},Vwa)},kxa=function(){var a=mk;return hk(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},Uwa)},ok=function(a){var b,c;return null==a?void 0:null==(b=a.issue)?void 0:null==(c=b.snapshot)?void 0:c[0]},Ywa=function(a){var b;return null==a?void 0:null==(b=a.snapshot)?void 0:b[0]},lxa=function(a,b){a=Ywa(a);b=[null==a?void 0:a.authorUser,null==
a?void 0:a.reporterUser,null==a?void 0:a.assigneeUser,null==a?void 0:a.verifierUser].concat(Jc(b.map(function(c){return c.userPerformingActionUser})));return fk(b.filter(eh),Ug)},mxa=function(a,b){b=lxa(a,b);var c,d,e;a=null!=(e=null==(c=Ywa(a))?void 0:null==(d=c.ccUsers)?void 0:d.length)?e:0;return b.length+a},pk=function(a){var b;return"piper-bugupdater@prod.google.com"===(null==a?void 0:null==(b=a.userPerformingActionUser)?void 0:b.emailAddress)},nxa=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},oxa=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"}},pxa=function(a){var b=a.newEditors,c=a.newImplicitUsers,d=a.isExternalSession,e=a.issueId,g=a.actionIssueId;a=nxa(a.userPrincipals);d="Allow "+
(1===a?"members of the group to ":oxa(a,d)+" to ")+(0===b.length?"comment?":"edit?");b="Adding "+c.join(", ")+" will allow "+(1===a?"all members of the group":"them")+" to "+(0===b.length?"comment on ":"edit ")+(e===g?"issue "+g:"canonical issue "+g)+".";return{title:d,content:b}},qxa=function(){},rxa=function(a){return 0<Object.values(a).length},sxa=function(a,b){a.next(Object.freeze(Object.assign({},a.getValue(),b)))},txa=function(a,b){var c=a.getValue();c=Object.assign({},c);b=(delete c[b],c);
a.next(Object.freeze(b))},uxa=function(a,b){var c=a.getValue(),d={};c=k(Object.entries(c));for(var e=c.next();!e.done;e=c.next()){var g=k(e.value);e=g.next().value;g=g.next().value;b.includes(e)||(d[e]=g)}a.next(Object.freeze(d))},vxa=function(a){var b=Object.assign({},a);a=a.ids;b=(delete b.ids,b);a&&(b.ids=[].concat(Jc(a)).sort());return JSON.stringify(b)},wxa=function(a,b,c){c=a.get(b)||c;a.has(b)||a.set(b,c);return c},xxa=function(a){a=void 0===a?{}:a;return isa(a)},yxa=function(a){var b=new F.Subject,
c=a.subscribe(b);a=(0,F.firstValueFrom)(b);a.finally(function(){c.unsubscribe()});return a},zxa=function(a){return null==a?new Promise(function(){}):Promise.resolve(a)},Axa=function(){return new Promise(function(){})},Cxa=function(a){return!!a.match(Bxa)&&!a.endsWith("/history")},qk=function(a){return"hyperlink"===a.type},Dxa=function(a){return qk(a)&&Cxa(a.href)},Fxa=function(a){return qk(a)&&!!a.href.match(Exa)},Gxa=function(a){if(a.endsWith("/history"))return null;var b,c;return(a=null!=(c=null==
(b=a.match(Bxa))?void 0:b[2])?c:null)?"https://screenshot.googleplex.com/"+a+".png":null},Hxa=function(a){return"issueReference"===a.type},Ixa=function(a){return qk(a)&&!Dxa(a)&&!(qk(a)&&a.href.startsWith("mailto:"))},Jxa=function(a){return[].concat(Jc(a.values())).flatMap(function(b){return b.sourceIssueIds})},Kxa=function(a,b){b=void 0===b?[]:b;return"http://cl/search/cl:("+[].concat(Jc(a),Jc(b.map(function(c){return String(c.changelistNumber)}))).join("|")+")"},Lxa=function(a,b){return"background: conic-gradient(var(--"+
(void 0===b?"good-gfx":b)+") "+100*a+"%, var(--divider) 0 100%);"},rk=function(a){var b,c,d;return null!=(d=null==(b=a.unlinkifiedComment)?void 0:null==(c=b.match(/by (\w+)@/))?void 0:c[1])?d:""},Mxa=function(a,b){var c=[];a=k(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=void 0;if(!b.has(d.issueId)||b.get(d.issueId)!==(null==(e=d.aggregatedData)?void 0:e.modifiedTimeMicros)){c.push(d);var g=e=void 0;b.set(d.issueId,null!=(g=null==(e=d.aggregatedData)?void 0:e.modifiedTimeMicros)?g:0)}}return c},
Nxa=function(a){return{emailAddress:rk(a)+"@google.com"}},Oxa=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)},Pxa=function(a){var b,c;return null!=(c=null==(b=a.unlinkifiedComment)?void 0:b.split("\n")[2])?c:""},Qxa=function(a,b){var c;return null==(c=[].concat(Jc(a.preDiffs),Jc(a.postDiffs)).find(function(d){return d.name===b}))?void 0:c.oldValue},Rxa=function(a,b){var c;return null==(c=[].concat(Jc(a.preDiffs),
Jc(a.postDiffs)).find(function(d){return d.name===b}))?void 0:c.newValue},Sxa=function(a){return"http://b/issues/"+a},Uxa=function(a){if(a.match(/\bhotlists?\b/))return Txa(a)},sk=function(a){return"hotlist-"+a},tk=function(a){return"savedsearch-"+a},Vxa=function(a){if(a.match(/\bsavedsearch(?:es|)\b/))return Txa(a)},Wxa=function(a){var b=/\bb\/\d+\b/;if(a.match(/\bissues?\b/)||a.match(b))return Txa(a)},uk=function(a){if(null!=a){if(Xxa.includes(a))return a;if(Uxa(a))return"hotlist";if(Vxa(a))return"savedsearch";
if(Wxa(a))return"issue";a=a.trim();if(3>a.length?0:a.match(/^\d+$/))return"plain-id"}},Txa=function(a){if(null!=a)return a.split(/[^\d]+/).filter(Boolean).pop()},Yxa=function(a){a=a.target;for(var b=[];a.parentNode;){var c=void 0,d=a,e=[];for(c in d.dataset)"true"===d.dataset[c]&&e.push(c);c=e;c=0<c.length?"["+c.join(",")+"]":"";b.unshift(a.tagName+c);a=a.parentNode}return b.join(" > ")},vk=function(){var a;return null==(a=document.location.search.match(/\bldap=(.*)\b/))?void 0:a[1]},xk=function(){var a;
return null!=(a=vk())?a:wk},Zxa=function(a){return(null!=a?a:"").split("@")[0]},$xa=function(a,b){b=void 0===b?wk:b;var c,d=null==a?void 0:null==(c=a.snapshot)?void 0:c[0];c=Zxa(Ug(null==d?void 0:d.assigneeUser));c=b&&b===c;var e=Zxa(Ug(null==d?void 0:d.reporterUser));e=b&&b===e;var g;d=(null!=(g=null==d?void 0:d.ccUsers)?g:[]).map(Ug).map(Zxa);b=b&&d.includes(b);var h;g=null==a?void 0:null==(h=a.userData)?void 0:h.voted;var l;h=null==a?void 0:null==(l=a.userData)?void 0:l.starred;var q,v;a=(null!=
(v=null==a?void 0:null==(q=a.userData)?void 0:q.lastViewedTimeMicros)?v:0)/1E3;q=Date.now()-a;q=0<q&&864E5>q;v=[];c&&v.push("Assigned");e&&v.push("Reported");b&&v.push("CC'd");g&&v.push("Upvoted");h&&v.push("Starred");q&&v.push("Viewed <24h");return v.join(", ")},yk=function(a){return!a||"0"===a},aya=function(a){return fva(W(a,Hi,1))},bya=function(a){return(yg(a,Hi,1)||[]).map(fva)},zk=function(){return new cya},dya=function(a){var b={};if(null==a)return b;a=k(yg(a,Ak,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},eya=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})},fya=function(a){if(a&1){var b=x();H(0,"div",2)(1,"button",3);O("click",function(){z(b);var c=P();return A(c.action())});S(2);J()()}a&
2&&(a=P(),C(2),Ve(a.data.action))},gya=function(){},hya=function(a){a&1&&(H(0,"span",6),S(1),J());a&2&&(a=P(),C(1),Ve(a.data.message))},iya=function(a){a&1&&K(0,"span",7);a&2&&(a=P(),G("innerHtml",a.data.htmlMessage,ud))},kya=function(a){if(a&1){var b=x();H(0,"button",8);O("click",function(){z(b);var c=P();return A(jya(c.snackBarRef))});S(1);J()}a&2&&(a=P(),C(1),Te(" ",a.data.actionLabel," "))},lya=function(a){if(a&1){var b=x();H(0,"button",8);O("click",function(){z(b);var c=P();return A(c.snackBarRef.dismiss())});
S(1);J()}a&2&&(a=P(),C(1),Te(" ",a.data.dismissLabel," "))},mya=function(a){if(a&1){var b=x();H(0,"button",9);O("click",function(){z(b);var c=P();return A(c.snackBarRef.dismiss())});K(1,"mat-icon",10);J()}},nya=function(a){var b;return void 0!==(null==(b=a.error)?void 0:b.message)},Bk=function(a){return!!a&&ta(a)&&(!!a.data&&void 0!==a.data.message||nya(a))},Ck=function(a){return a.data&&void 0!==a.data.message&&a.data&&a.data.message?a.data.message:nya(a)&&a.error&&a.error.message?a.error.message:
""},Dk=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,"+")},Ek=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("rc`"+a);}},Gk=function(a,b){return Fk("issues/:issueId",{id:a,params:b})},oya=function(a,b){return Fk("issues/:issueId/dependencies",{id:a,params:b})},Ik=function(a){return Hk("issues",{params:a})},pya=function(a){return a&&a.length?a.map(function(b){return b.toApiUrlParam()}).join(","):null},qya=function(a){return a&&a.length?a.map(function(b){return b.toApiUrlParam()}).join(","):
null},rya=function(a,b){return Fk("components/:componentId/manage",{id:a,tab:b})},sya=function(a){return a?Hk("settings/:settingsTab?",{id:a,token:":settingsTab?"}):Hk("settings")},Fk=function(a,b){b=void 0===b?{}:b;return null==b.id?"":Hk(a,b)},Hk=function(a,b){var c=b=void 0===b?{}:b;b=c.id;var d=c.params,e=c.tab;c=c.token;var g=a;null!=b&&(g=a.replace(c?c:/:\w+/,b.toString()));d&&(g=tya(g,d));e&&(g=g+"#"+e);return g},uya=function(a,b){b=(void 0===b?{}:b).comment;return{path:"/issues/"+a,fragment:b?
"comment"+b:void 0}},vya=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},wya=function(a){var b={};a=(b.component=a?String(a):void 0,b);a=void 0===a?{}:a;return{path:"/issues/new",queryParams:a}},xya=function(a){return{path:"/components/"+a}},yya=function(a){var b={};a&&(b.componentId=a);return{path:"/components",queryParams:b}},zya=function(a){return{path:"/slos/"+
a+"/edit"}},Aya=function(a,b,c){var d=c.path.split("/");if(d.length>a.length||"full"===c.pathMatch&&(b.hasChildren()||d.length<a.length))return null;b={};for(c=0;c<d.length;c++){var e=d[c],g=a[c];if(e.startsWith(":"))b[e.substring(1)]=g;else if(e!==g.path)return null}return{consumed:a.slice(0,d.length),posParams:b}},Jk=function(a,b){var c=a?Object.keys(a):void 0,d=b?Object.keys(b):void 0;if(!c||!d||c.length!=d.length)return!1;for(var e=0;e<c.length;e++)if(d=c[e],!Bya(a[d],b[d]))return!1;return!0},
Bya=function(a,b){if(Array.isArray(a)&&Array.isArray(b)){if(a.length!==b.length)return!1;a=[].concat(Jc(a)).sort();var c=[].concat(Jc(b)).sort();return a.every(function(d,e){return c[e]===d})}return a===b},Kk=function(a){return(0,F.isObservable)(a)?a:ria(a)?(0,F.from)(Promise.resolve(a)):(0,F.of)(a)},Eya=function(a,b,c){return Cya[c.paths](a.root,b.root,c.matrixParams)&&Dya[c.queryParams](a.queryParams,b.queryParams)&&!("exact"===c.fragment&&a.fragment!==b.fragment)},Fya=function(a,b){return Jk(a,
b)},Hya=function(a,b,c){if(!Lk(a.segments,b.segments)||!Gya(a.segments,b.segments,c)||a.numberOfChildren!==b.numberOfChildren)return!1;for(var d in b.children)if(!a.children[d]||!Hya(a.children[d],b.children[d],c))return!1;return!0},Iya=function(a,b){return Object.keys(b).length<=Object.keys(a).length&&Object.keys(b).every(function(c){return Bya(a[c],b[c])})},Kya=function(a,b,c){return Jya(a,b,b.segments,c)},Jya=function(a,b,c,d){if(a.segments.length>c.length)return a=a.segments.slice(0,c.length),
Lk(a,c)&&!b.hasChildren()&&Gya(a,c,d)?!0:!1;if(a.segments.length===c.length){if(!Lk(a.segments,c)||!Gya(a.segments,c,d))return!1;for(var e in b.children)if(!a.children[e]||!Kya(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 Lk(a.segments,e)&&Gya(a.segments,e,d)&&a.children.primary?Jya(a.children.primary,b,c,d):!1},Gya=function(a,b,c){return b.every(function(d,e){return Dya[c](a[e].parameters,d.parameters)})},Lya=function(a,b){return Lk(a,
b)&&a.every(function(c,d){return Jk(c.parameters,b[d].parameters)})},Lk=function(a,b){return a.length!==b.length?!1:a.every(function(c,d){return c.path===b[d].path})},Mya=function(a,b){var c=[];Object.entries(a.children).forEach(function(d){var e=k(d);d=e.next().value;e=e.next().value;"primary"===d&&(c=c.concat(b(e,d)))});Object.entries(a.children).forEach(function(d){var e=k(d);d=e.next().value;e=e.next().value;"primary"!==d&&(c=c.concat(b(e,d)))});return c},Pya=function(a){return a.segments.map(function(b){return Nya(b.path)+
Oya(b.parameters)}).join("/")},Qya=function(a,b){if(!a.hasChildren())return Pya(a);if(b){b=a.children.primary?Qya(a.children.primary,!1):"";var c=[];Object.entries(a.children).forEach(function(d){var e=k(d);d=e.next().value;e=e.next().value;"primary"!==d&&c.push(d+":"+Qya(e,!1))});return 0<c.length?b+"("+c.join("//")+")":b}b=Mya(a,function(d,e){return"primary"===e?[Qya(a.children.primary,!1)]:[e+":"+Qya(d,!1)]});return 1===Object.keys(a.children).length&&null!=a.children.primary?Pya(a)+"/"+b[0]:Pya(a)+
"/("+b.join("//")+")"},Rya=function(a){return encodeURIComponent(a).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")},Sya=function(a){return Rya(a).replace(/%3B/gi,";")},Nya=function(a){return Rya(a).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")},Oya=function(a){return Object.keys(a).map(function(b){return";"+Nya(b)+"="+Nya(a[b])}).join("")},Tya=function(a){var b=Object.keys(a).map(function(c){var d=a[c];return Array.isArray(d)?d.map(function(e){return Sya(c)+
"="+Sya(e)}).join("&"):Sya(c)+"="+Sya(d)}).filter(function(c){return!!c});return b.length?"?"+b.join("&"):""},Vya=function(a){return(a=a.match(Uya))?a[0]:""},Wya=function(a){var b={};return 0<a.segments.length?new Mk([],(b.primary=a,b)):a},Xya=function(a){for(var b={},c=k(Object.keys(a.children)),d=c.next();!d.done;d=c.next()){d=d.value;var e=Xya(a.children[d]);if("primary"===d&&0===e.segments.length&&e.hasChildren())for(d=k(Object.entries(e.children)),e=d.next();!e.done;e=d.next()){var g=k(e.value);
e=g.next().value;g=g.next().value;b[e]=g}else if(0<e.segments.length||e.hasChildren())b[d]=e}a=new Mk(a.segments,b);1===a.numberOfChildren&&a.children.primary&&(b=a.children.primary,a=new Mk(a.segments.concat(b.segments),b.children));return a},Ok=function(a){return a instanceof Nk},Yya=function(a){function b(g){for(var h={},l=k(g.children),q=l.next();!q.done;q=l.next()){q=q.value;var v=b(q);h[q.outlet]=v}h=new Mk(g.url,h);g===a&&(c=h);return h}var c,d=b(a.root);d=Wya(d);var e;return null!=(e=c)?e:
d},eza=function(a,b,c,d){for(var e=a;e.parent;)e=e.parent;if(0===b.length)return Zya(e,e,e,c,d);b=$ya(b);if(b.isAbsolute&&1===b.commands.length&&"/"==b.commands[0])return Zya(e,e,new Mk([],{}),c,d);var g=e;if(b.isAbsolute)a=new aza(g,!0,0);else if(a)if(null===a.parent)a=new aza(a,!0,0);else{g=a;a=a.segments.length-1+(bza(b.commands[0])?0:1);for(var h=b.numberOfDoubleDots;h>a;){h-=a;g=g.parent;if(!g)throw new rc(4005,!1);a=g.segments.length}a=new aza(g,!1,a-h)}else a=new aza(g,!1,NaN);b=a.processChildren?
cza(a.segmentGroup,a.index,b.commands):dza(a.segmentGroup,a.index,b.commands);return Zya(e,a.segmentGroup,b,c,d)},bza=function(a){return"object"===typeof a&&null!=a&&!a.outlets&&!a.segmentPath},fza=function(a){return"object"===typeof a&&null!=a&&a.outlets},Zya=function(a,b,c,d,e){var g={};d&&Object.entries(d).forEach(function(h){var l=k(h);h=l.next().value;l=l.next().value;g[h]=Array.isArray(l)?l.map(function(q){return""+q}):""+l});a=a===b?c:gza(a,b,c);a=Wya(Xya(a));return new Nk(a,g,e)},gza=function(a,
b,c){var d={};Object.entries(a.children).forEach(function(e){var g=k(e);e=g.next().value;g=g.next().value;d[e]=g===b?c:gza(g,b,c)});return new Mk(a.segments,d)},$ya=function(a){if("string"===typeof a[0]&&1===a.length&&"/"===a[0])return new hza(!0,0,a);var b=0,c=!1;a=a.reduce(function(d,e,g){if("object"===typeof e&&null!=e){if(e.outlets){var h={};Object.entries(e.outlets).forEach(function(l){var q=k(l);l=q.next().value;q=q.next().value;h[l]="string"===typeof q?q.split("/"):q});return[].concat(Jc(d),
[{outlets:h}])}if(e.segmentPath)return[].concat(Jc(d),[e.segmentPath])}return"string"!==typeof e?[].concat(Jc(d),[e]):0===g?(e.split("/").forEach(function(l,q){if(0!=q||"."!==l)0==q&&""===l?c=!0:".."===l?b++:""!=l&&d.push(l)}),d):[].concat(Jc(d),[e])},[]);return new hza(c,b,a)},iza=function(a){if(fza(a[0]))return a[0].outlets;var b={};return b.primary=a,b},dza=function(a,b,c){a||(a=new Mk([],{}));if(0===a.segments.length&&a.hasChildren())return cza(a,b,c);a:{var d=a;for(var e=0,g=b,h={match:!1,pathIndex:0,
commandIndex:0};g<d.segments.length;){if(e>=c.length){d=h;break a}var l=d.segments[g],q=c[e];if(fza(q))break;q=""+q;var v=e<c.length-1?c[e+1]:null;if(0<g&&void 0===q)break;if(q&&v&&"object"===typeof v&&void 0===v.outlets){if(q!=l.path||!Jk(v,l.parameters)){d=h;break a}e+=2}else{v={};if(q!=l.path||!Jk(v,l.parameters)){d=h;break a}e++}g++}d={match:!0,pathIndex:g,commandIndex:e}}e=c.slice(d.commandIndex);return d.match&&d.pathIndex<a.segments.length?(b=new Mk(a.segments.slice(0,d.pathIndex),{}),b.children.primary=
new Mk(a.segments.slice(d.pathIndex),a.children),cza(b,0,e)):d.match&&0===e.length?new Mk(a.segments,{}):d.match&&!a.hasChildren()?jza(a,b,c):d.match?cza(a,0,e):jza(a,b,c)},cza=function(a,b,c){if(0===c.length)return new Mk(a.segments,{});var d=iza(c),e={};if(!d.primary&&a.children.primary&&1===a.numberOfChildren&&0===a.children.primary.segments.length)return c=cza(a.children.primary,b,c),new Mk(a.segments,c.children);Object.entries(d).forEach(function(g){var h=k(g);g=h.next().value;h=h.next().value;
"string"===typeof h&&(h=[h]);null!==h&&(e[g]=dza(a.children[g],b,h))});Object.entries(a.children).forEach(function(g){var h=k(g);g=h.next().value;h=h.next().value;void 0===d[g]&&(e[g]=h)});return new Mk(a.segments,e)},jza=function(a,b,c){for(var d=a.segments.slice(0,b),e=0;e<c.length;){var g=c[e];if(fza(g))return a=kza(g.outlets),new Mk(d,a);if(0===e&&bza(c[0]))d.push(new Pk(a.segments[b].path,lza(c[0]))),e++;else{g=fza(g)?g.outlets.primary:""+g;var h=e<c.length-1?c[e+1]:null;g&&h&&bza(h)?(d.push(new Pk(g,
lza(h))),e+=2):(d.push(new Pk(g,{})),e++)}}return new Mk(d,{})},kza=function(a){var b={};Object.entries(a).forEach(function(c){var d=k(c);c=d.next().value;d=d.next().value;"string"===typeof d&&(d=[d]);null!==d&&(b[c]=jza(new Mk([],{}),0,d))});return b},lza=function(a){var b={};Object.entries(a).forEach(function(c){var d=k(c);c=d.next().value;d=d.next().value;return b[c]=""+d});return b},mza=function(a,b){if(a===b.value)return b;b=k(b.children);for(var c=b.next();!c.done;c=b.next())if(c=mza(a,c.value))return c;
return null},nza=function(a,b){if(a===b.value)return[b];for(var c=k(b.children),d=c.next();!d.done;d=c.next())if(d=nza(a,d.value),d.length)return d.unshift(b),d;return[]},oza=function(a){var b={};a&&a.children.forEach(function(c){return b[c.value.outlet]=c});return b},rza=function(){var a=new pza("",new Qk(new Rk([],{},{},"",{},"primary",null,null,{}),[])),b=new Sk(new F.BehaviorSubject([new Pk("",{})]),new F.BehaviorSubject({}),new F.BehaviorSubject({}),new F.BehaviorSubject(""),new F.BehaviorSubject({}),
"primary",null,a.root);b.snapshot=a.root;return new qza(new Qk(b,[]),a)},tza=function(a,b){a=a.pathFromRoot;var c=0;if("always"!==(void 0===b?"emptyOnly":b))for(c=a.length-1;1<=c;){b=a[c];var d=a[c-1];if(b.routeConfig&&""===b.routeConfig.path)c--;else if(d.component)break;else c--}return sza(a.slice(c))},sza=function(a){return a.reduce(function(b,c){var d=Object.assign({},b.params,c.params),e=Object.assign({},b.data,c.data),g;b=Object.assign({},c.data,b.resolve,null==(g=c.routeConfig)?void 0:g.data,
c._resolvedData);return{params:d,data:e,resolve:b}},{params:{},data:{},resolve:{}})},uza=function(a,b){b.value._routerState=a;b.children.forEach(function(c){return uza(a,c)})},vza=function(a){var b=0<a.children.length?" { "+a.children.map(vza).join(", ")+" } ":"";return""+a.value+b},wza=function(a){if(a.snapshot){var b=a.snapshot,c=a._futureSnapshot;a.snapshot=c;Jk(b.queryParams,c.queryParams)||a.queryParamsSubject.next(c.queryParams);b.fragment!==c.fragment&&a.fragmentSubject.next(c.fragment);Jk(b.params,
c.params)||a.paramsSubject.next(c.params);a:{var d=b.url;var e=c.url;if(d.length!==e.length)d=!1;else{for(var g=0;g<d.length;++g)if(!Jk(d[g],e[g])){d=!1;break a}d=!0}}d||a.urlSubject.next(c.url);Jk(b.data,c.data)||a.dataSubject.next(c.data)}else a.snapshot=a._futureSnapshot,a.dataSubject.next(a._futureSnapshot.data)},xza=function(a,b){var c=Jk(a.params,b.params)&&Lya(a.url,b.url),d=!a.parent!==!b.parent;return c&&!d&&(!a.parent||xza(a.parent,b.parent))},Aza=function(a,b,c){if(c&&a.shouldReuseRoute(b.value,
c.value.snapshot)){var d=c.value;d._futureSnapshot=b.value;b=yza(a,b,c);return new Qk(d,b)}d=zza(b.value);b=b.children.map(function(e){return Aza(a,e)});return new Qk(d,b)},yza=function(a,b,c){return b.children.map(function(d){for(var e=k(c.children),g=e.next();!g.done;g=e.next())if(g=g.value,a.shouldReuseRoute(d.value,g.value.snapshot))return Aza(a,d,g);return Aza(a,d)})},zza=function(a){return new Sk(new F.BehaviorSubject(a.url),new F.BehaviorSubject(a.params),new F.BehaviorSubject(a.queryParams),
new F.BehaviorSubject(a.fragment),new F.BehaviorSubject(a.data),a.outlet,a.component,a)},Cza=function(a){var b=Ok(a)?{redirectTo:a,navigationBehaviorOptions:void 0}:a,c=b.redirectTo;b=b.navigationBehaviorOptions;a=Bza(0,a);a.url=c;a.navigationBehaviorOptions=b;return a},Bza=function(a,b){var c=Error("tc`");c.ngNavigationCancelingError=!0;c.cancellationCode=a;b&&(c.url=b);return c},Dza=function(a){return a&&a.ngNavigationCancelingError},Eza=function(a,b){a.providers&&!a._injector&&(a._injector=qia(a.providers,
b,"Route: "+a.path));var c;return null!=(c=a._injector)?c:b},Fza=function(a){var b=a.children&&a.children.map(Fza);a=b?Object.assign({},a,{children:b}):Object.assign({},a);a.component||a.loadComponent||!b&&!a.loadChildren||!a.outlet||"primary"===a.outlet||(a.component=Gza);return a},Tk=function(a){return a.outlet||"primary"},Hza=function(a,b){var c=a.filter(function(d){return Tk(d)===b});c.push.apply(c,Jc(a.filter(function(d){return Tk(d)!==b})));return c},Iza=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},Uk=function(){return pe(function(a){return(0,F.combineLatest)(a.map(function(b){return b.pipe(ge(),oe(Jza))})).pipe(E(function(b){b=k(b);for(var c=b.next();!c.done;c=b.next())if(c=c.value,!0!==c){if(c===Jza)return Jza;if(!1===c||c instanceof
Nk)return c}return!0}),Zd(function(b){return b!==Jza}),ge())})},Vk=function(a,b){var c=Symbol(),d=b.get(a,c);return d===c?"function"!==typeof a||null!==Lea(a)?b.get(a):a:d},Mza=function(a,b,c,d,e){e=void 0===e?{canDeactivateChecks:[],canActivateChecks:[]}:e;var g=oza(b);a.children.forEach(function(h){var l=g[h.value.outlet],q=d.concat([h.value]),v=e;v=void 0===v?{canDeactivateChecks:[],canActivateChecks:[]}:v;var y=h.value,B=l?l.value:null,I=c?c.getContext(h.value.outlet):null;if(B&&y.routeConfig===
B.routeConfig){var N=Kza(B,y,y.routeConfig.runGuardsAndResolvers);N?v.canActivateChecks.push(new Lza(q)):(y.data=B.data,y._resolvedData=B._resolvedData);y.component?Mza(h,l,I?I.children:null,q,v):Mza(h,l,c,q,v);N&&I&&I.outlet&&I.outlet.isActivated&&v.canDeactivateChecks.push(new Nza(I.outlet.component,B))}else B&&Oza(l,I,v),v.canActivateChecks.push(new Lza(q)),y.component?Mza(h,null,I?I.children:null,q,v):Mza(h,null,c,q,v);delete g[h.value.outlet]});Object.entries(g).forEach(function(h){var l=k(h);
h=l.next().value;l=l.next().value;return Oza(l,c.getContext(h),e)});return e},Kza=function(a,b,c){if("function"===typeof c)return c(a,b);switch(c){case "pathParamsChange":return!Lk(a.url,b.url);case "pathParamsOrQueryParamsChange":return!Lk(a.url,b.url)||!Jk(a.queryParams,b.queryParams);case "always":return!0;case "paramsOrQueryParamsChange":return!xza(a,b)||!Jk(a.queryParams,b.queryParams);default:return!xza(a,b)}},Oza=function(a,b,c){var d=oza(a),e=a.value;Object.entries(d).forEach(function(g){var h=
k(g);g=h.next().value;h=h.next().value;e.component?b?Oza(h,b.children.getContext(g),c):Oza(h,null,c):Oza(h,b,c)});e.component?b&&b.outlet&&b.outlet.isActivated?c.canDeactivateChecks.push(new Nza(b.outlet.component,e)):c.canDeactivateChecks.push(new Nza(null,e)):c.canDeactivateChecks.push(new Nza(null,e))},Pza=function(a){return"function"===typeof a},Qza=function(a){return a instanceof F.EmptyError||"EmptyError"===(null==a?void 0:a.name)},Tza=function(a,b){return Vd(function(c){var d=c.targetSnapshot,
e=c.currentSnapshot,g=c.guards,h=g.canActivateChecks;g=g.canDeactivateChecks;return 0===g.length&&0===h.length?(0,F.of)(Object.assign({},c,{guardsResult:!0})):Rza(g,d,e,a).pipe(Vd(function(l){return l&&"boolean"===typeof l?Sza(d,h,a,b):(0,F.of)(l)}),E(function(l){return Object.assign({},c,{guardsResult:l})}))})},Rza=function(a,b,c,d){return(0,F.from)(a).pipe(Vd(function(e){return Uza(e.component,e.route,c,b,d)}),je(function(e){return!0!==e},!0))},Sza=function(a,b,c,d){return(0,F.from)(b).pipe(Vd(function(e){var g=
F.concat;var h=e.route.parent;null!==h&&d&&d(new Vza(h));h=(0,F.of)(!0);var l=e.route;null!==l&&d&&d(new Wza(l));l=(0,F.of)(!0);return g.call(F,h,l,Xza(a,e.path,c),Yza(a,e.route,c))},1),je(function(e){return!0!==e},!0))},Yza=function(a,b,c){var d=b.routeConfig?b.routeConfig.canActivate:null;if(!d||0===d.length)return(0,F.of)(!0);d=d.map(function(e){return(0,F.defer)(function(){var g,h=null!=(g=Iza(b))?g:c,l=Vk(e,h);g=l&&Pza(l.canActivate)?l.canActivate(b,a):h.runInContext(function(){return l(b,a)});
return Kk(g).pipe(je())})});return(0,F.of)(d).pipe(Uk())},Xza=function(a,b,c){var d=b[b.length-1];b=b.slice(0,b.length-1).reverse().map(function(e){var g=e.routeConfig?e.routeConfig.canActivateChild:null;return g&&0!==g.length?{node:e,guards:g}:null}).filter(function(e){return null!==e}).map(function(e){return(0,F.defer)(function(){var g=e.guards.map(function(h){var l,q=null!=(l=Iza(e.node))?l:c,v=Vk(h,q);h=v&&Pza(v.canActivateChild)?v.canActivateChild(d,a):q.runInContext(function(){return v(d,a)});
return Kk(h).pipe(je())});return(0,F.of)(g).pipe(Uk())})});return(0,F.of)(b).pipe(Uk())},Uza=function(a,b,c,d,e){var g=b&&b.routeConfig?b.routeConfig.canDeactivate:null;if(!g||0===g.length)return(0,F.of)(!0);g=g.map(function(h){var l,q=null!=(l=Iza(b))?l:e,v=Vk(h,q);h=v&&Pza(v.canDeactivate)?v.canDeactivate(a,b,c,d):q.runInContext(function(){return v(a,b,c,d)});return Kk(h).pipe(je())});return(0,F.of)(g).pipe(Uk())},$za=function(a,b,c){var d=b.canLoad;if(void 0===d||0===d.length)return(0,F.of)(!0);
d=d.map(function(e){var g=Vk(e,a);e=g&&Pza(g.canLoad)?g.canLoad(b,c):a.runInContext(function(){return g(b,c)});return Kk(e)});return(0,F.of)(d).pipe(Uk(),Zza())},Zza=function(){return(0,F.pipe)(re(function(a){if(Ok(a))throw Cza(a);}),E(function(a){return!0===a}))},aAa=function(a,b,c){var d=b.canMatch;if(!d||0===d.length)return(0,F.of)(!0);d=d.map(function(e){var g=Vk(e,a);e=g&&Pza(g.canMatch)?g.canMatch(b,c):a.runInContext(function(){return g(b,c)});return Kk(e)});return(0,F.of)(d).pipe(Uk(),Zza())},
Wk=function(a){return(0,F.throwError)(new bAa(a))},eAa=function(a,b,c,d){var e=cAa(a,b,c);if(!e.matched)return(0,F.of)(e);d=Eza(b,d);return aAa(d,b,c).pipe(E(function(g){return!0===g?e:Object.assign({},dAa)}))},cAa=function(a,b,c){if(""===b.path)return"full"===b.pathMatch&&(a.hasChildren()||0<c.length)?Object.assign({},dAa):{matched:!0,consumedSegments:[],remainingSegments:c,parameters:{},positionalParamSegments:{}};a=(b.matcher||Aya)(c,a,b);if(!a)return Object.assign({},dAa);var d={},e;Object.entries(null!=
(e=a.posParams)?e:{}).forEach(function(h){var l=k(h);h=l.next().value;l=l.next().value;d[h]=l.path});e=0<a.consumed.length?Object.assign({},d,a.consumed[a.consumed.length-1].parameters):d;var g;return{matched:!0,consumedSegments:a.consumed,remainingSegments:c.slice(a.consumed.length),parameters:e,positionalParamSegments:null!=(g=a.posParams)?g:{}}},iAa=function(a,b,c,d){if(0<c.length&&fAa(a,c,d)){var e=Mk;a=new Mk(c,a.children);c={};c.primary=a;a=k(d);for(d=a.next();!d.done;d=a.next())if(d=d.value,
""===d.path&&"primary"!==Tk(d)){var g=new Mk([],{});c[Tk(d)]=g}c={segmentGroup:new e(b,c),slicedSegments:[]}}else if(0===c.length&&gAa(a,c,d)){b=Mk;e=a.segments;g=a.children;var h={};d=k(d);for(var l=d.next();!l.done;l=d.next())if(l=l.value,hAa(a,c,l)&&!g[Tk(l)]){var q=new Mk([],{});h[Tk(l)]=q}a=Object.assign({},g,h);c={segmentGroup:new b(e,a),slicedSegments:c}}else c={segmentGroup:new Mk(a.segments,a.children),slicedSegments:c};return c},fAa=function(a,b,c){return c.some(function(d){return hAa(a,
b,d)&&"primary"!==Tk(d)})},gAa=function(a,b,c){return c.some(function(d){return hAa(a,b,d)})},hAa=function(a,b,c){return(a.hasChildren()||0<b.length)&&"full"===c.pathMatch?!1:""===c.path},jAa=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)})},kAa=function(a){return(a=a.value.routeConfig)&&""===a.path},lAa=function(a){var b=[],c=new Set,d={};a=k(a);for(var e=a.next();!e.done;d={$jscomp$loop$prop$node$2281:d.$jscomp$loop$prop$node$2281},
e=a.next())d.$jscomp$loop$prop$node$2281=e.value,kAa(d.$jscomp$loop$prop$node$2281)?(e=b.find(function(g){return function(h){return g.$jscomp$loop$prop$node$2281.value.routeConfig===h.value.routeConfig}}(d)),void 0!==e?(e.children.push.apply(e.children,Jc(d.$jscomp$loop$prop$node$2281.children)),c.add(e)):b.push(d.$jscomp$loop$prop$node$2281)):b.push(d.$jscomp$loop$prop$node$2281);d=k(c);for(a=d.next();!a.done;a=d.next())a=a.value,e=lAa(a.children),b.push(new Qk(a.value,e));return b.filter(function(g){return!c.has(g)})},
nAa=function(a,b,c,d,e,g){return Vd(function(h){return(new mAa(a,b,c,d,h.extractedUrl,void 0===g?"emptyOnly":g,e)).recognize().pipe(E(function(l){return Object.assign({},h,{targetSnapshot:l.state,urlAfterRedirects:l.tree})}))})},pAa=function(a,b){return Vd(function(c){var d=c.targetSnapshot,e=c.guards.canActivateChecks;if(!e.length)return(0,F.of)(c);var g=0;return(0,F.from)(e).pipe(Vd(function(h){return oAa(h.route,d,a,b)},1),re(function(){return g++}),mka(),Vd(function(){return g===e.length?(0,F.of)(c):
F.EMPTY}))})},oAa=function(a,b,c,d){var e=a.routeConfig,g=a._resolve;void 0!==(null==e?void 0:e.title)&&"string"!==typeof e.title&&null!==e.title&&(g[qAa]=e.title);return rAa(g,a,b,d).pipe(E(function(h){a._resolvedData=h;a.data=tza(a,c).resolve;!e||"string"!==typeof e.title&&null!==e.title||(a.data[qAa]=e.title);return null}))},rAa=function(a,b,c,d){var e=sAa(a);if(0===e.length)return(0,F.of)({});var g={};return(0,F.from)(e).pipe(Vd(function(h){return tAa(a[h],b,c,d).pipe(je(),re(function(l){g[h]=
l}))}),mka(),ke(g),ce(function(h){return Qza(h)?F.EMPTY:(0,F.throwError)(h)}))},sAa=function(a){return[].concat(Jc(Object.keys(a)),Jc(Object.getOwnPropertySymbols(a)))},tAa=function(a,b,c,d){var e,g=null!=(e=Iza(b))?e:d,h=Vk(a,g);a=h.resolve?h.resolve(b,c):g.runInContext(function(){return h(b,c)});return Kk(a)},uAa=function(a){return pe(function(b){var c=a(b);return c?(0,F.from)(c).pipe(E(function(){return b})):(0,F.of)(b)})},vAa=function(a){return a&&"object"===typeof a&&"default"in a?a["default"]:
a},yAa=function(a,b){a.events.pipe(Zd(function(c){return c instanceof Xk||c instanceof Yk||c instanceof wAa||c instanceof xAa}),E(function(c){return c instanceof Xk||c instanceof xAa?0:c instanceof Yk&&(0===c.code||1===c.code)?2:1}),Zd(function(c){return 2!==c}),ge()).subscribe(function(){b()})},zAa=function(a){throw a;},AAa=function(a,b){return b.parse("/")},BAa=function(a,b){return{"\u0275kind":a,"\u0275providers":b}},CAa=function(a){for(var b={},c=k(a.keys),d=c.next();!d.done;d=c.next()){d=d.value;
var e=a.getAll(d);b[d]=1<e.length?e:e[0]}return b},EAa=function(a){if(!a.getType())throw Error("yc");return{type:DAa[a.getType()],customFieldId:Zg(a.getCustomFieldId()),customFieldName:bh(a.getCustomFieldName())}},GAa=function(a){var b=new Zk;void 0!==a.customFieldId&&b.setCustomFieldId(String(a.customFieldId));void 0!==a.customFieldName&&n(b,3,a.customFieldName);void 0!==a.type&&b.setType(FAa[a.type]);return b},HAa=function(a){var b=a.getField();if(!b)throw Error("zc");if(!a.getDirection())throw Error("Ac");
return{field:EAa(b),direction:1===a.getDirection()?"ASCENDING":"DESCENDING"}},IAa=function(a){var b=new $k;b.setField(GAa(a.field));b.setDirection("ASCENDING"===a.direction?1:2);return b},JAa=function(a){var b=new al;b.setHotlistId(""+a.hotlistId);b.setName(a.name);b.setDescription(a.description);b.setArchived(a.archived);b.setCreatedTimeMicros(a.createdTimeMicros);b.setModifiedTimeMicros(a.modifiedTimeMicros);var c;b.setDisplayColumnList((null!=(c=a.displayColumn)?c:[]).map(GAa));var d;b.setSortOrderList((null!=
(d=a.sortOrder)?d:[]).map(IAa));void 0!==a.etag&&b.setEtag(a.etag);var e;b.setAdminUsersList((null!=(e=a.adminUsers)?e:[]).map(Xg));return b},bl=function(a){if(!a.getHotlistId())throw Error("Bc");if(!a.getName())throw Error("Cc");if(!a.getCreatedTimeMicros())throw Error("Dc");if(!a.getModifiedTimeMicros())throw Error("Ec");var b,c,d,e;return{hotlistId:Number(a.getHotlistId()),name:a.getName(),description:null!=(b=a.getDescription())?b:"",archived:null!=(c=a.getArchived())?c:!1,createdTimeMicros:a.getCreatedTimeMicros(),
modifiedTimeMicros:a.getModifiedTimeMicros(),displayColumn:(null!=(d=a.getDisplayColumnList())?d:[]).map(EAa),sortOrder:(null!=(e=a.getSortOrderList())?e:[]).map(HAa),etag:a.getEtag(),adminUsers:Vg(a.getAdminUsersList())}},KAa=function(a){var b;return(null!=(b=a.getHotlistsList())?b:[]).map(bl)},LAa=function(a){var b;return(null!=(b=yg(a,al,1))?b:[]).map(bl)},NAa=function(a){a=a.getFavorite();return{user:Tg(a.getUser()),resourceType:MAa[a.getResourceType()],resourceId:Number(a.getResourceId()),name:a.getName()}},
OAa=function(a){var b,c;return{searchId:Number(lh(a,1)),name:a.getName(),description:a.getDescription(),query:a.getQuery(),sortOrder:(null!=(b=a.getSortOrderList())?b:[]).map(HAa),displayColumn:(null!=(c=a.getDisplayColumnList())?c:[]).map(EAa),adminUsers:Vg(a.getAdminUsersList())}},PAa=function(a){var b;return(null!=(b=yg(a,cl,1))?b:[]).map(OAa)},QAa=function(a){return{id:a.getId(),name:a.getName(),description:a.getDescription(),adminUsers:Vg(a.getAdminUsersList()),starred:a.getStarred(),resourceType:a.getResourceType()}},
RAa=function(a){var b;return{id:a.getId(),name:a.getName(),description:a.getDescription(),adminUsers:Vg(a.getAdminUsersList()),starred:a.getStarred(),sublinks:(null!=(b=yg(a,dl,6))?b:[]).map(QAa)}},SAa=function(a){var b,c,d,e;return{hotlists:(null!=(b=a.getHotlistsList())?b:[]).map(QAa),bookmarkGroups:(null!=(c=a.getBookmarkGroupsList())?c:[]).map(RAa),archivedHotlists:(null!=(d=yg(a,dl,3))?d:[]).map(QAa),archivedBookmarkGroups:(null!=(e=yg(a,el,4))?e:[]).map(RAa)}},TAa=function(){var a=window.defrostedResourcesJspb;
if(a&&Array.isArray(a)&&(a=yg(new fl(a),gl,1))&&1===a.length)return aj(a[0])},il=function(a){return function(){var b=hl.getItem(a);return null==b?!1:!!JSON.parse(b)}},UAa=function(a){return function(b){!0===b?hl.setItem(a,"1"):hl.removeItem(a)}},WAa=function(){return VAa.performance&&VAa.PerformanceObserver&&"function"===typeof window.performance.getEntriesByType&&"function"===typeof window.performance.mark&&"function"===typeof window.performance.measure},XAa=function(a){var b=a.name;if(null!=b&&
(a=Math.round(a.duration),!isNaN(a))){var c=k(b.split(" -> ")),d=c.next().value;c=c.next().value;if(null==d||null==c)console.warn("can't parse 'from' and 'to' in PerformanceEntry: "+b);else return{from:d,to:c,duration:a}}},ZAa=function(a){a=a.sort(function(d,e){return d.startTime-e.startTime});var b=a.find(YAa);if(null!=b){var c=b.name.split(" -> ")[1];return a.find(function(d){return d.name===c})}},cBa=function(){var a=window.performance.getEntries(),b=ZAa(a);if(null==b)return[];var c=b.startTime;
return a.filter($Aa).filter(aBa).filter(bBa).filter(function(d){return d.startTime<=c})},YAa=function(a){var b=a.name;return"measure"===a.entryType&&0===b.indexOf("browserStart")},$Aa=function(a){return 0!==a.name.indexOf("Zone")},bBa=function(a){return"resource"===a.entryType},dBa=function(a){return"xmlhttprequest"===a.initiatorType},aBa=function(a){return null==a.name.match(/\.html$/)},eBa=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}},fBa=function(a){if(null!=a&&!(3E4<=a.duration))return{hitType:"event",eventCategory:"cf",eventAction:a.from,eventLabel:a.to,eventValue:a.duration}},iBa=function(a){a=a.getEntries().map(XAa).map(fBa);a=k(a);for(var b=a.next();!b.done;b=a.next())gBa(b.value);setTimeout(hBa,100)},hBa=function(){if(!jBa){var a=cBa(),b=a.filter(function(c){return!dBa(c)}).reduce(eBa,kBa());jl("r-until-cf","asset","count",b.count);jl("r-until-cf","asset",
"transferSize",b.transferSize);jl("r-until-cf","asset","duration",b.duration);jl("r-until-cf","asset","cacheHitRate",b.cacheHitRate);a=a.filter(dBa).reduce(eBa,kBa());jl("r-until-cf","xhr","count",a.count);jl("r-until-cf","xhr","transferSize",a.transferSize);jl("r-until-cf","xhr","duration",a.duration);jBa=!0}},jl=function(a,b,c,d){gBa(Object.assign({},{hitType:"event",eventCategory:a},void 0!==b?{eventAction:b}:{},void 0!==c?{eventLabel:c}:{},void 0!==d?{eventValue:d}:{}))},gBa=function(a){null!=
a&&(kl("location","Scrubbed Page URL"),kl("title","Scrubbed Page Title"),"function"===typeof lBa.ga&&lBa.ga("send",a),mBa&&Mra("[stub ga.ts] ga('send')",a))},kl=function(a,b){"function"===typeof lBa.ga&&lBa.ga("set",a,b);mBa&&Mra("[stub ga.ts] ga('set', '"+a+"', "+b+")")},nBa=function(){return Fc.apply(0,arguments).map(String).join("__")},pBa=function(){for(var a={},b=k(Object.entries(oBa)),c=b.next();!c.done;c=b.next()){var d=k(c.value);c=d.next().value;d=d.next().value;1<d&&(a[c]=d)}return a},qBa=
function(a,b){return a+b},rBa=function(){var a=Object.values(oBa),b=a.map(function(c){return c-1}).reduce(qBa,0);a=a.reduce(qBa,0);return{total:a,redundant:b,redundancyRatio:Math.round(b/a*100)/100}},sBa=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("/")},tBa=function(a){return a instanceof Xk},uBa=function(a){return a instanceof ll},vBa=function(a){return function(b){return new F.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()})})})}},ABa=function(){var a=void 0===a?jl:a;var b=Date.now(),c=ml(b);ml(wBa())!==c?a("retention","first-visit"):(c=ml(b),ml(wBa())===c&&1===xBa()&&a("retention","second-visit"));a=ml(b);ml(wBa())!==a?yBa(1):(a=xBa()||0,yBa(a+1));zBa(b)},ml=function(a){if(null!=a)return(new Date(a)).toLocaleDateString()},BBa=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},CBa=function(a){var b=Object.assign({},a);a=a.issue;b=(delete b.issue,b);return Object.assign({},b,{issueId:a.issueId})},DBa=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)}},EBa=function(a){function b(){var e,g,h,l;return Ld(function(q){if(1==q.nextAddress){if(d||0===c.length)return q.return();
d=!0;e=[].concat(Jc(c));c=[];g=k(e);h=g.next()}if(3!=q.nextAddress){if(h.done)return d=!1,q.yield(b(),0);l=h.value;return q.yield(a.apply(null,Jc(l.args)).then(l.returnValue.resolve).catch(l.returnValue.reject),3)}h=g.next();return q.jumpTo(2)})}var c=[],d=!1;return function(){var e=Fc.apply(0,arguments),g=new cya;c.push({args:e,returnValue:g});b();return g.promise}},FBa=function(a){var b=!1;return function(){var c=Fc.apply(0,arguments);if(!b)return b=!0,a.apply(null,Jc(c))}},GBa=function(a){return!(null==
a||!a.relatedChildren.length)},IBa=function(a,b){var c=[].concat(Jc(a));a=new Set(a.map(function(h){return h.targetIssueId}));var d={};b=k(b);for(var e=b.next();!e.done;d={$jscomp$loop$prop$newItem$2289:d.$jscomp$loop$prop$newItem$2289},e=b.next())if(d.$jscomp$loop$prop$newItem$2289=e.value,!a.has(d.$jscomp$loop$prop$newItem$2289.targetIssueId)){e=c.findIndex(function(h){return function(l){return l.targetIssueId===h.$jscomp$loop$prop$newItem$2289.afterIssueId}}(d));var g=void 0;g=d.$jscomp$loop$prop$newItem$2289.afterIssueId?
-1===e?c.length:e+1:0;c.splice(g,0,d.$jscomp$loop$prop$newItem$2289);a.add(d.$jscomp$loop$prop$newItem$2289.targetIssueId)}return HBa(c)},JBa=function(a,b){return HBa(a.filter(function(c){return c.targetIssueId!==b}))},HBa=function(a){for(var b=[],c=k(a.entries()),d=c.next();!d.done;d=c.next()){var e=k(d.value);d=e.next().value;var g=e.next().value;e=void 0;d=Object.assign({},g,{afterIssueId:null==(e=a[d-1])?void 0:e.targetIssueId});null==d.afterIssueId&&delete d.afterIssueId;b.push(d)}return b},
KBa=function(a){var b=new Map,c={};a=k(a);for(var d=a.next();!d.done;c={$jscomp$loop$prop$previousOperation$2291:c.$jscomp$loop$prop$previousOperation$2291},d=a.next()){var e=d.value;d=e.issues.map(function(g){return g.issueId}).join(",");c.$jscomp$loop$prop$previousOperation$2291=b.get(d);c.$jscomp$loop$prop$previousOperation$2291?(e={newParentId:e.newParentId,newRelations:e.newRelations,issues:c.$jscomp$loop$prop$previousOperation$2291.issues,eventTimestamps:[].concat(Jc(c.$jscomp$loop$prop$previousOperation$2291.eventTimestamps),
Jc(e.eventTimestamps)),newParentChildrenSnapshot:e.newParentChildrenSnapshot,done:e.done},e.done.promise.then(c.$jscomp$loop$prop$previousOperation$2291.done.resolve).catch(function(g){return function(h){g.$jscomp$loop$prop$previousOperation$2291.done.reject(h);throw h;}}(c)),b.set(d,e)):b.set(d,e)}b=[].concat(Jc(b.values()));c={};a=k(b);for(d=a.next();!d.done;c={$jscomp$loop$prop$operation$2023$2293:c.$jscomp$loop$prop$operation$2023$2293},d=a.next())c.$jscomp$loop$prop$operation$2023$2293=d.value,
c.$jscomp$loop$prop$operation$2023$2293.newRelations=c.$jscomp$loop$prop$operation$2023$2293.newRelations.map(function(g){return function(h){return g.$jscomp$loop$prop$operation$2023$2293.newParentChildrenSnapshot.find(function(l){return l.targetIssueId===h.targetIssueId})}}(c));return b.sort(function(g,h){var l=g.newParentChildrenSnapshot,q=h.newParentChildrenSnapshot;g=Math.min.apply(Math,Jc(g.issues.map(function(v){return l.findIndex(function(y){return y.targetIssueId===v.issueId})})));h=Math.min.apply(Math,
Jc(h.issues.map(function(v){return q.findIndex(function(y){return y.targetIssueId===v.issueId})})));return g===h?0:g<h?-1:1})},LBa=function(a){return{teamId:a,version:0,name:a,description:"",pathIds:[a],pathNames:[a],collapsedPathNames:[a],members:[],deleted:!1,estimatedComponentCount:0}},nl=function(a,b){b=new F.BehaviorSubject(b);a.subscribe(b);return b},ol=function(a){var b;a.subscribe(function(c){b=c}).unsubscribe();return b},MBa=function(a){a=void 0===a?[]:a;return a.map(function(b){return"teamId:"+
b+"+"}).join(" OR ")},NBa=function(){var a=new Date;a.setDate(a.getDate()-1);return a.getFullYear()+"-"+(a.getMonth()+1).toString().padStart(2,"0")+"-"+a.getDate().toString().padStart(2,"0")},OBa=function(a,b){if(null==a)return null;a=a.getRequestHook(b);return null==a?null:a},PBa=function(a){return Object.assign({},{arrays:{},descriptions:{},keys:[],objectMaps:{},objects:{},enums:{},emptyArrayIsUnset:!1},a)},QBa=function(a,b){return pl(b,a)},RBa=function(a,b,c){b[a]=c},SBa=function(){return{}},XBa=
function(a,b){var c=new a;return null==b?c:TBa(b,UBa,VBa,WBa,a)},UBa=function(a,b){return b[a]},VBa=function(a,b,c){b.Serializable$values[a]=c},WBa=function(a){if(null==a)throw Error("Hc");return new a},TBa=function(a,b,c,d,e){e=d(e);for(var g=YBa(a,e),h=g.arrays||{},l=g.objects||{},q=g.objectMaps||{},v={},y=k(g.keys||[]),B=y.next();!B.done;v={$jscomp$loop$prop$mapMetadata$2297:v.$jscomp$loop$prop$mapMetadata$2297},B=y.next()){B=B.value;var I=b(B,a);if(null!=I){var N=void 0;if(h.hasOwnProperty(B)){if(g.emptyArrayIsUnset&&
0===I.length)continue;N=ZBa(I,b,c,d,!0,!0,h[B])}else if(l.hasOwnProperty(B))N=ZBa(I,b,c,d,!1,!0,l[B]);else if(q.hasOwnProperty(B))v.$jscomp$loop$prop$mapMetadata$2297=q[B],N=v.$jscomp$loop$prop$mapMetadata$2297.isPropertyArray?I.map(function(Q){return function(Z){return $Ba(Z,Q.$jscomp$loop$prop$mapMetadata$2297,b,c,d)}}(v)):$Ba(I,v.$jscomp$loop$prop$mapMetadata$2297,b,c,d);else if(Array.isArray(I)){if(g.emptyArrayIsUnset&&0===I.length)continue;N=ZBa(I,b,c,d,!0,!1)}else N=I;c(B,e,N)}}return e},$Ba=
function(a,b,c,d,e){for(var g={},h=k(Object.keys(a)),l=h.next();!l.done;l=h.next()){l=l.value;var q=a[l];null!=q&&(g[l]=ZBa(q,c,d,e,b.isValueArray,b.isSerializable,b.ctor))}return g},ZBa=function(a,b,c,d,e,g,h){if(g&&null==h)throw Error("Ic");if(null==a)return a;var l;e&&g?l=a.map(function(q){return TBa(q,b,c,d,h)}):e&&!g?l=a.map(function(q){return q}):l=!e&&g?TBa(a,b,c,d,h):"object"===typeof a?JSON.parse(JSON.stringify(a)):a;return l},YBa=function(a,b){if(b instanceof ql)a=PBa(b.getPartialClassMetadata());
else if(a instanceof ql)a=PBa(a.getPartialClassMetadata());else throw Error("Jc");return a},aCa=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}},bCa=function(a,b,c){c=void 0===c?{}:c;b=k(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=k(d.value);d=e.next().value;e=e.next().value;d in a&&(c[e]=a[d])}return c},cCa=function(a,b){a&1&&(H(0,"div",1),Xc(),H(1,"svg",2)(2,"g"),K(3,"path",3),J()(),Yc(),
H(4,"span",4),S(5),J()());a&2&&(a=b.ngIf,Ae("aria-label",a)("title",a),C(5),Ve(a))},dCa=function(a){a&1&&K(0,"waldo-availability-chip",1);a&2&&(a=P(),G("user",a.user),Ae("coinonly",a.coinonly))},eCa=function(a){if(!a||!a.seconds&&!a.nanos)return null;var b=new wg;a.seconds&&b.setSeconds(a.seconds);a.nanos&&b.setNanos(a.nanos);return b},fCa=function(a){if(!a||!a.seconds&&!a.nanos)return null;var b=new ug;a.seconds&&b.setSeconds(a.seconds);a.nanos&&b.setNanos(a.nanos);return b},rl=function(a){if(!a)return 0;
if(a instanceof ug){var b=a.getSeconds();a=a.getNanos()||0}else b=a.seconds,a=a.nanos;return 1E3*b+a/1E6},gCa=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":""))+")"},hCa=function(a){if(a){var b=new sl;b.setTime(a.getTime());return b}},iCa=function(a){return a.retentionPeriod&&(a=eCa(a.retentionPeriod))?gCa(Math.floor(1E3*a.getSeconds()/864E5)):"indefinite"},tl=function(a){return"string"===typeof a?"buganizer.drafts."+a:"buganizer.drafts.labeled."+
a.label},jCa=function(a){if(a&1){var b=x();H(0,"button",5);O("click",function(){z(b);var c=P();return A(c.dialogRef.close(!1))});S(1);J()}a&2&&(a=P(),C(1),Te(" ",a.cancelButtonText," "))},kCa=function(a){var b=[],c=[].concat.apply([],Jc(a.map(function(e){return e.actions})));a={};c=k(c);for(var d=c.next();!d.done;a={$jscomp$loop$prop$action$2304:a.$jscomp$loop$prop$action$2304},d=c.next())a.$jscomp$loop$prop$action$2304=d.value,b.some(function(e){return function(g){return Fg(e.$jscomp$loop$prop$action$2304,
g)}}(a))||b.push(a.$jscomp$loop$prop$action$2304);return b},lCa=function(a){return Array.from(new Set([].concat.apply([],Jc(a.map(function(b){return b.issueIds})))))},ul=function(){return fe(function(a,b){return Fg(a,b)})},mCa=function(){return function(a){return a.pipe(E(function(b){return{event:b,timestamp:Date.now()}}),Pja(a.pipe(de(1E4,F.asapScheduler))))}},nCa=function(a){a=void 0===a?{}:a;return Mwa(Object.values(a)).sort(function(b,c){return b-c})},qCa=function(a){var b={};a=k(Ii(a,1,vl).entries());
for(var c=a.next();!c.done;c=a.next()){var d=k(c.value);c=d.next().value;d=d.next().value;b[c]={principalType:oCa[Fh(d,1,0)],detailedUserType:pCa[Fh(d,2,0)]}}return b},rCa=function(a,b){return a.map(function(c){return b[c]||null})},sCa=function(){return{principalType:"NON_GAIA",detailedUserType:"NO_DETAILED_TYPE"}},tCa=function(a,b){a&1&&(H(0,"li"),S(1),J());a&2&&(a=b.$implicit,C(1),Ve(a))},uCa=function(a){return a.endsWith("?")?a.slice(0,a.length-1):a},vCa=function(a,b,c,d){c&&c.targetTime&&(c.endTime?
b.push({sloBounds:c,sloMetric:d}):a.push({sloBounds:c,sloMetric:d}))},wCa=function(a,b){return a.sloBounds.targetTime.seconds-b.sloBounds.targetTime.seconds},xCa=function(a,b){a=new Map(a);b=k(b.entries());for(var c=b.next();!c.done;c=b.next()){var d=k(c.value);c=d.next().value;d=d.next().value;a.set(c,d)}return a},wl=function(a,b){return function(c){if(a.has(c))return a.get(c);var d=b(c);a.set(c,d);return d}},yCa=function(a,b){return new Map(a.map(function(c){return[c,b(c)]}))},zCa=function(a,b){return yCa([].concat(Jc(a.keys())),
function(c){return b(a.get(c))})},ACa=function(){return{startTime:Date.now(),firstActionSeen:!1,editCount:0,variations:new Set}},BCa=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},CCa=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},DCa=function(a){var b;return null==(b=ok(a))?void 0:b.title},ECa=function(a){var b,c;return null!=(c=null==(b=ok(a))?void 0:b.status)?
c:void 0},FCa=function(a){var b,c;return null!=(c=null==(b=ok(a))?void 0:b.priority)?c:void 0},GCa=function(a){var b,c;return null!=(c=null==(b=ok(a))?void 0:b.assigneeUser)?c:void 0},HCa=function(a){var b,c;return null!=(c=null==(b=ok(a))?void 0:b.reporterUser)?c:void 0},ICa=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 $g(a)},JCa=function(a){var b;a=null==(b=ok(a))?void 0:b.componentId;return $g(a)},KCa=function(a){var b,c;return null!=
(c=null==(b=ok(a))?void 0:b.ccUsers)?c:[]},LCa=function(a){var b,c;return null!=(c=null==(b=ok(a))?void 0:b.issueAccessLimitLevel)?c:"LIMIT_NONE"},MCa=function(a){var b,c;return null!=(c=null==(b=ok(a))?void 0:b.collaboratorsUsers)?c:[]},NCa=function(a){var b,c;return null!=(c=null==(b=ok(a))?void 0:b.type)?c:void 0},OCa=function(a){var b,c;return null!=(c=null==(b=ok(a))?void 0:b.foundInVersion)?c:[]},PCa=function(a){var b,c;return null!=(c=null==(b=ok(a))?void 0:b.targetedToVersion)?c:[]},QCa=function(a){var b,
c;return null!=(c=null==(b=ok(a))?void 0:b.changelist)?c:[]},RCa=function(a){var b,c;return null!=(c=null==(b=ok(a))?void 0:b.postmortems)?c:[]},SCa=function(a){var b;return(null==(b=ok(a))?void 0:b.inProd)||!1},TCa=function(a){var b;return null==(b=ok(a))?void 0:b.effort},UCa=function(a){var b,c;return null==a?void 0:null==(b=a.issue)?void 0:null==(c=b.aggregatedData)?void 0:c.voteCount},VCa=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},XCa=function(a){return WCa(null==a?void 0:a.issue)},WCa=function(a){var b,c;return null!=(c=null==(b=Ywa(a))?void 0:b.isDeleted)?c:!1},ZCa=function(a){return YCa(null==a?void 0:a.issue)},YCa=function(a){var b;return null==a?void 0:null==(b=a.accessLimit)?void 0:b.accessLevel},$Ca=function(a){var b;return(a=null==a?void 0:null==(b=a.issue)?void 0:b.aggregatedData)&&Math.round(a.modifiedTimeMicros/1E3)},bDa=function(a){return aDa(null==a?void 0:a.issue)},aDa=function(a){var b,c;return null!=(c=
null==(b=Ywa(a))?void 0:b.retention)?c:void 0},cDa=function(a){var b,c;return null!=(c=null==(b=ok(a))?void 0:b.duplicateOfIssueId)?c:void 0},eDa=function(a){return dDa(null==a?void 0:a.issue)},dDa=function(a){var b,c;return null!=(c=null==a?void 0:null==(b=a.aggregatedData)?void 0:b.retentionState)?c:void 0},fDa=function(a){var b;return $g(null==a?void 0:null==(b=a.issue.aggregatedData)?void 0:b.sloId)},gDa=function(a){var b;return null==a?void 0:null==(b=a.issue.aggregatedData)?void 0:b.createdTimeMicros},
hDa=function(a){return null==a?void 0:a.effortSpec},iDa=function(a){a=hDa(a);return!(!a||!a.name&&!a.inherit)},jDa=function(a){return null==a?void 0:a.componentPathInfo},kDa=function(a){if(!a)return{};var b,c=k(null!=(b=a.match(RegExp("comment([0-9]+)")))?b:[]);c.next();b=c.next().value;var d;a=k(null!=(d=a.match(RegExp("comment[0-9]+version([0-9]+)")))?d:[]);a.next();d=a.next().value;return{commentNumber:Zg(b),commentVersion:Zg(d)}},xl=function(a){return!!a&&lDa.test(a)&&!mDa.test(a)},oDa=function(a){a=
void 0===a?"":a;return a.endsWith("@prod.google.com")||a.endsWith("-robots@google.com")||nDa(a)},nDa=function(a){return pDa.some(function(b){return a.endsWith(b)})},qDa=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}},rDa=function(a){return a?Bsa(a.replace(/_/g," ").toLowerCase()):""},sDa=function(a){return a?
a.join(", "):""},tDa=function(a,b){if(!a)return yl("");if(!b)return yl(a);b=b.split(" ").map(psa);b=b.filter(function(h){return!!h});b=b.map(zl);if(0===b.length)return yl(a);b=new RegExp("(\\W|^)("+b.join("|")+")(\\w*)","i");for(var c=[];a;){var d=b.exec(a);if(!d){c.push(a);break}var e=d.index+d[1].length,g=d[2];d=d[3];c.push(a.substring(0,e));c.push(Al("b",{},g));c.push(d);a=a.substring(e+g.length+d.length)}return Bl(c)},uDa=function(a){return a?"Yes":"No"},vDa=function(a){return a?a.pathNames?a.pathNames.join(" > "):
"":""},wDa=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},xDa=function(a){if(a&&xl(a))return a},Cl=function(a){return null==a?"":String(a)},yDa=function(a){var b;return null!=(b=null==a?void 0:a.filter(function(c){return!!c.trim()}).join(", "))?b:""},Dl=function(a){return a?ha(a,"@")?a:"[Deleted User]"===a?a:a+"@google.com":""},zDa=function(a,b){a=void 0===a?"":a;b=void 0===
b?48:b;var c=void 0===c?"...":c;var d=[].concat(Jc(a));if(d.length<=b)return a;a=b-[].concat(Jc(c)).length;d=d.slice(0,a).join("");null!=String.prototype.trimEnd&&(d=d.trimEnd());return d+c},ADa=function(a){a=void 0===a?"":a;var b=new Set([].concat(Jc('!"#$%&()*+,-./:;<=>?@[\\]^_`{|}~\t\n')));a=[].concat(Jc(a)).map(function(c){return b.has(c)?" ":c}).join("").trim();return 0===a.length?[]:a.split(/[\s]+/g)},BDa=function(a){return a.split("").every(function(b){return 1===b.length&&0<=b.charCodeAt(0)&&
255>=b.charCodeAt(0)})},DDa=function(a){if(null!=a){a=[].concat(Jc(a)).slice(0,100);a=k(a);for(var b=a.next();!b.done;b=a.next())if(b=CDa[b.value])return b}},EDa=function(a){if(a.includes('"')||a.includes("'"))return[];var b=[].concat(Jc(a.matchAll(RegExp("(^|[;,\\-\\s])+(\\d+)","g"))));if(b.length)return b.map(function(c){c=k(c);c.next();c.next();return c.next().value});a=[].concat(Jc(a.matchAll(RegExp("(b|b-qa|issues)\\/(\\d+)","g"))));return a.length?a.map(function(c){c=k(c);c.next();c.next();
return c.next().value}):[]},FDa=function(a){return a.customFieldValue?String(a.customFieldValue.customFieldId):a.fieldName},HDa=function(a){if(null==GDa){var b="undefined"!==typeof document?document.head:null;GDa=!(!b||!b.createShadowRoot&&!b.attachShadow)}return GDa&&(a=a.getRootNode?a.getRootNode():null,"undefined"!==typeof ShadowRoot&&ShadowRoot&&a instanceof ShadowRoot)?a:null},IDa=function(a){if(a&1){var b=x();H(0,"div",0);O("clickOutside",function(){z(b);var c=P();return A(c.closeHovercard$.next())})("mouseenter",
function(){z(b);P().isOnHover$.next(!0);return A()})("mouseleave",function(){z(b);P().isOnHover$.next(!1);return A()});Oe(1);J()}a&2&&(a=P(),Ila(a.className),G("cdkTrapFocusAutoCapture",a.wasTriggeredByKeyboard))},JDa=function(a){a&1&&K(0,"img",9);a&2&&(a=P(),G("src",a.person.imageUrl,vd)("alt",a.person.name+"'s profile picture"))},KDa=function(a){a&1&&(H(0,"div",10),S(1),J());a&2&&(a=P(),C(1),Te(" ",a.person.email," "))},LDa=function(a){a&1&&(H(0,"div",11)(1,"onedev-chip",12),K(2,"mat-icon",13),
S(3),J()());a&2&&(a=P(),C(3),Te("",a.outOfOfficeDescription," "))},MDa=function(a){a&1&&(H(0,"li"),S(1),J());a&2&&(a=P(2),C(1),Ve(a.person.title))},NDa=function(a){a&1&&K(0,"li",18)},ODa=function(a){a&1&&(H(0,"li"),S(1),J());a&2&&(a=P(2),C(1),Ve(a.person.department))},PDa=function(a){a&1&&(L(0),K(1,"mat-icon",14),H(2,"div",15)(3,"ul",16),R(4,MDa,2,1,"li",8),R(5,NDa,1,0,"li",17),R(6,ODa,2,1,"li",8),J()(),M());a&2&&(a=P(),C(4),G("ngIf",a.person.title),C(1),G("ngIf",a.person.title&&a.person.department),
C(1),G("ngIf",a.person.department))},QDa=function(a){a&1&&(L(0),K(1,"mat-icon",19),H(2,"div",15),S(3),J(),M());a&2&&(a=P(),C(3),Ve(a.person.location))},RDa=function(a){a&1&&(H(0,"li")(1,"a",21),S(2,"Teams"),J()());a&2&&(a=P(2),C(1),G("href","https://moma.corp.google.com/person/"+a.person.ldap,vd))},SDa=function(a){a&1&&K(0,"li",18)},TDa=function(a){a&1&&(L(0),K(1,"mat-icon",20),H(2,"div",15)(3,"ul",16),R(4,RDa,3,1,"li",8),R(5,SDa,1,0,"li",17),H(6,"li")(7,"a",21),S(8,"Whostory"),J()(),K(9,"li",18),
H(10,"li")(11,"a",21),S(12,"Calendar"),J()(),K(13,"li",18),H(14,"li")(15,"a",21),S(16,"CLs"),J()(),K(17,"li",18),H(18,"li")(19,"a",21),S(20,"Readability"),J()()()(),M());a&2&&(a=P(),C(4),G("ngIf",a.person.title||a.person.department),C(1),G("ngIf",a.person.title||a.person.department),C(2),G("href","https://whostory.corp.google.com/"+a.person.ldap,vd),C(4),G("href","https://www.google.com/calendar/embed?src="+a.person.email+"&mode=WEEK&showCalendars=0",vd),C(4),G("href","https://critique.corp.google.com/"+
a.person.ldap,vd),C(4),G("href","https://icanread.corp.google.com/s/"+a.person.ldap,vd))},VDa=function(a){return a&&UDa.test(a)?a.split("@")[0]:""},WDa=function(a){return a?a.find(function(b){var c;return"DOMAIN_PROFILE"===(null==(c=b.metadata)?void 0:c.container)}):null},XDa=function(a){return a?a.find(function(b){var c;return"DOMAIN_PROFILE"===(null==(c=b.metadata)?void 0:c.container)}):null},YDa=function(a,b){return a.map(function(c,d){var e,g,h,l=null==b?void 0:null==(e=b.matches)?void 0:null==
(g=e[d])?void 0:null==(h=g.personId)?void 0:h[0];if(!l)return{ldap:VDa(c),name:"",email:c};var q;d=null==b?void 0:null==(q=b.people)?void 0:q[l];var v;l=null==(v=XDa(null==d?void 0:d.email))?void 0:v.value;var y,B;v=null==d?void 0:null==(y=d.name)?void 0:null==(B=y[0])?void 0:B.displayName;var I,N;y=null==d?void 0:null==(I=d.photo)?void 0:null==(N=I[0])?void 0:N.url;B=WDa(null==d?void 0:d.organization);I=null==B?void 0:B.title;N=null==B?void 0:B.department;B=null==B?void 0:B.location;return{ldap:VDa(l),
email:l||c||"",name:v||"",imageUrl:y,title:I,department:N,location:B}})},ZDa=function(a,b){a&1&&(H(0,"onedev-person-hovercard-body",1),T(1,"async"),Oe(2,0,["ngProjectAs","onedev-hovercard-action",5,["onedev-hovercard-action"]]),Oe(3,1,["ngProjectAs","[onedev-additional-content]",5,["","onedev-additional-content",""]]),J());a&2&&(a=b.ngIf,b=P(),G("person",a)("outOfOfficeDescription",U(1,2,b.outOfOfficeDescription$)))},$Da=function(a){a&1&&(H(0,"onedev-person-hovercard",1,2),Oe(2,0,["ngProjectAs","onedev-hovercard-action",
5,["onedev-hovercard-action"]]),J());if(a&2){var b=Se(1);a=P();G("email",a.email)("enableWaldo",!0)("onedevIsHovercardReady",b.init)}},aEa=function(a){a&1&&Le(0)},bEa=function(a){a&1&&(L(0),H(1,"span",2),R(2,aEa,1,0,"ng-container",3),J(),H(3,"onedev-hovercard",null,4),K(5,"b-person-card",5),J(),M());if(a&2){var b=Se(4);a=P();var c=Se(2);C(1);G("onedevHovercardTrigger",b)("onedevHovercardActive",!!a.email);C(1);G("ngTemplateOutlet",c);C(3);G("email",a.email)}},cEa=function(a){a&1&&Oe(0)},fEa=function(a){if(a&
1){var b=x();L(0,3);H(1,"onedev-hovercard-action",4);O("onAction",function(){z(b);var e=P();return A(dEa(e))});T(2,"async");H(3,"span");S(4);J()();H(5,"onedev-hovercard-action",4);O("onAction",function(){z(b);var e=P();return A(eEa(e))});T(6,"async");H(7,"span");S(8);J()();M()}if(a&2){a=P();var c,d;C(1);G("disabled",null!==(c=U(2,4,a.actionService.assigneeUpdating$))&&void 0!==c?c:!1);C(3);Ve(a.email!==a.currentAssignee?"Set as assignee":"Remove assignee");C(1);G("disabled",null!==(d=U(6,6,a.actionService.ccUpdating$))&&
void 0!==d?d:!1);C(3);Ve(a.currentCc.includes(a.email)?"Remove from CCs":"Add to CCs")}},gEa=function(a){a&1&&(L(0),K(1,"b-availability-chip",3),M());a&2&&(a=P(2).ngIf,C(1),G("user",a.email))},hEa=function(a){a&1&&(L(0),S(1),M(),R(2,gEa,2,1,"ng-container",0));if(a&2){a=P().ngIf;var b=P();C(1);Ve(a.content);C(1);G("ngIf",b.enableWaldoAvailability&&b.availabilityChipEnabled)}},iEa=function(a){a&1&&Le(0)},jEa=function(a){a&1&&(L(0),H(1,"span",4),R(2,iEa,1,0,"ng-container",5),J(),H(3,"onedev-hovercard",
null,6),K(5,"b-issue-person-card",7),J(),M());if(a&2){var b=Se(4);a=P().ngIf;var c=Se(2),d=P();C(1);G("onedevHovercardTrigger",b);Ae("tabindex",d.hovercardEnabled&&d.hovercardFocusEnabled?"0":null);C(1);G("ngTemplateOutlet",c);C(3);G("email",a.email)}},kEa=function(a,b){a&1&&(L(0),R(1,hEa,3,2,"ng-template",null,1,of),R(3,jEa,6,4,"ng-container",2),M());if(a&2){a=b.ngIf;var c=Se(2);b=P();C(3);G("ngIf",b.hovercardEnabled&&b.isNonObfuscatedEmail(a.email))("ngIfElse",c)}},lEa=function(a){a&1&&Le(0)},mEa=
function(a){a&1&&(L(0),H(1,"span",3),R(2,lEa,1,0,"ng-container",4),J(),H(3,"onedev-hovercard",null,5),K(5,"b-issue-person-card",6),J(),M());if(a&2){var b=Se(4);a=P().ngIf;var c=Se(3);C(1);G("onedevHovercardTrigger",b);C(1);G("ngTemplateOutlet",c);C(3);G("email",a.email)}},oEa=function(a){a&1&&(L(0),K(1,"img",8),M());a&2&&(a=P(2).ngIf,P(),C(1),G("src",nEa[a.email],vd))},pEa=function(a){a&1&&K(0,"img",11);a&2&&(a=P(3).ngIf,G("src",a.src,vd)("srcset",a.srcset))},qEa=function(a){a&1&&(H(0,"span",9),R(1,
pEa,1,2,"img",10),J());a&2&&(a=P(2).ngIf,Ie("anonymous",!a.showImage),C(1),G("ngIf",a.showImage))},sEa=function(a){a&1&&(R(0,oEa,2,1,"ng-container",0),R(1,qEa,2,3,"span",7));if(a&2){a=P().ngIf;var b=P();G("ngIf",a.email&&rEa(b,a.email));C(1);G("ngIf",!rEa(b,a.email))}},tEa=function(a,b){a&1&&(L(0),R(1,mEa,6,3,"ng-container",1),R(2,sEa,2,2,"ng-template",null,2,of),M());if(a&2){a=b.ngIf;var c=Se(3);b=P();C(1);G("ngIf",b.isNonObfuscatedEmail(a.email))("ngIfElse",c)}},uEa=function(a){if(a&1){var b=x();
H(0,"div",6)(1,"button",7);O("click",function(){z(b);P(2).onDismiss.emit();return A()});H(2,"mat-icon",8);S(3);J()()()}if(a&2){a=P(2);var c;C(1);G("matTooltip",null!==(c=a.dismissTooltip)&&void 0!==c?c:"")("disabled",a.disableDismiss);C(2);Te(" ",a.dismissIcon," ")}},vEa=function(a){a&1&&(H(0,"span"),S(1,"Unassigned"),J())},wEa=function(a){a&1&&K(0,"b-user-image",12);a&2&&(a=P(3),G("email",(null==a.issue.snapshot[0].assigneeUser?null:a.issue.snapshot[0].assigneeUser.emailAddress)||""))},xEa=function(a){a&
1&&K(0,"b-user-display-name",13);a&2&&(a=P(3),G("email",a.issue.snapshot[0].assigneeUser.emailAddress||""))},yEa=function(a){a&1&&(H(0,"div",9),R(1,vEa,2,0,"span",0),R(2,wEa,1,1,"b-user-image",10),R(3,xEa,1,1,"b-user-display-name",11),J());a&2&&(a=P(2),C(1),G("ngIf",!a.issue.snapshot[0].assigneeUser),C(1),G("ngIf",a.issue.snapshot[0].assigneeUser),C(1),G("ngIf",a.issue.snapshot[0].assigneeUser))},zEa=function(a,b){a&1&&(L(0),H(1,"span"),S(2),J(),M());a&2&&(a=b.$implicit,b=P(3),C(1),Je("chippy status-",
a," margin-s-right"),C(1),Te(" ",b.STATUS_TERSE[a]," "))},AEa=function(a){a&1&&K(0,"b-issue-priority-display",16);a&2&&(a=P(3),G("issuePriority",a.issue.snapshot[0].priority))},BEa=function(a){a&1&&(H(0,"span"),S(1),T(2,"enumToHuman"),J());a&2&&(a=P(3),C(1),Te(" ",U(2,1,a.issue.snapshot[0].type)," "))},CEa=function(a){a&1&&(H(0,"div",14),R(1,zEa,3,4,"ng-container",0),R(2,AEa,1,1,"b-issue-priority-display",15),R(3,BEa,3,3,"span",0),J());a&2&&(a=P(2),C(1),G("ngIf",a.convertIssueStatusStrToTag(a.issue.snapshot[0].status)),
C(1),G("ngIf",!a.onlyTitle),C(1),G("ngIf",!a.onlyTitle))},DEa=function(a){a&1&&K(0,"mat-icon",20);a&2&&(a=P(3),G("svgIcon",a.moreInfoIconSvg))},EEa=function(a){a&1&&(H(0,"mat-icon",21),S(1),J());a&2&&(a=P(3),C(1),Ve(a.moreInfoIcon))},FEa=function(a){a&1&&(L(0),H(1,"div"),R(2,DEa,1,1,"mat-icon",17),R(3,EEa,2,1,"mat-icon",18),H(4,"span",19),S(5),J()(),M());a&2&&(a=P(2),C(1),Je("more-info padded-s-top margin-s-top ",a.moreInfoAccentColor,""),C(1),G("ngIf",a.moreInfoIconSvg),C(1),G("ngIf",a.moreInfoIcon),
C(2),Ve(a.moreInfoMessage))},GEa=function(a){a&1&&(L(0),H(1,"div",1)(2,"a",2),S(3),J()(),R(4,uEa,4,3,"div",3),R(5,yEa,4,3,"div",4),R(6,CEa,4,3,"div",5),R(7,FEa,6,6,"ng-container",0),M());a&2&&(a=P(),C(2),Pe("href","/issues/",a.issue.issueId,"",vd),C(1),We(" ",a.issue.snapshot[0].title," (",a.issue.issueId,") "),C(1),G("ngIf",a.dismissIcon),C(1),G("ngIf",!a.onlyTitle),C(1),G("ngIf",!a.onlyTitle),C(1),G("ngIf",a.moreInfoMessage&&!a.onlyTitle))},HEa=function(a,b){a&1&&(L(0),H(1,"time",1),T(2,"async"),
S(3),J(),M());if(a&2){a=b.ngIf;b=P();C(1);var c=rla(x(),"padding-left: ",b.paddingLeftPx,"px");Fla(Dla,Ela,c,!1);G("title",a.title);Ae("datetime",U(2,6,b.timestampIso$));C(2);Ve(a.formatted)}},IEa=function(a){a&1&&K(0,"div",2)},JEa=function(a){a&1&&(L(0),Oe(1),M())},KEa=function(a){a&1&&(H(0,"b-person-hovercard",3),S(1),J());a&2&&(a=P(),G("email",a.assignee),C(1),Te(" ",a.assignee," "))},LEa=function(a){a&1&&S(0,"--")},MEa=function(a){a&1&&K(0,"b-formatted-date-time",3);a&2&&(a=P(),G("mode",a.mode)("timestamp",
a.createdTime))},NEa=function(a){a&1&&S(0,"--")},OEa=function(a){a&1&&(H(0,"b-person-hovercard",3),S(1),J());a&2&&(a=P(),G("email",a.reporter),C(1),Te(" ",a.reporter," "))},PEa=function(a){a&1&&S(0,"--")},QEa=function(a,b){a&1&&(H(0,"div",3),S(1),J());a&2&&(a=b.$implicit,b=P(),Je("chippy status-",a,""),G("title",b.STATUS_FULL_TEXT[a]),C(1),Te(" ",b.STATUS_TERSE[a]," "))},REa=function(a){a&1&&S(0,"--")},SEa=function(a){if(a&1){var b=x();H(0,"a",15);O("click",function(){z(b);var c=P();return A(c.trackClick("viewTeamAssociationOnComponent"))});
H(1,"button",11);S(2,"View team association on component");J()()}a&2&&(a=P(),G("href",a.manageComponentLink(),vd))},TEa=function(a){if(a&1){var b=x();H(0,"a",6);O("click",function(){z(b);var d=P(2);return A(d.trackClick("viewTeamInMoma"))});H(1,"span");S(2);K(3,"mat-icon",7);J()()}if(a&2){a=P(2);var c=Se(3);Pe("href","https://moma.corp.google.com/team/",a.teamId,"",vd);G("onedevHovercardTrigger",c);Ae("aria-labelledby",a.linkAriaLabelledBy())("aria-label",(a.teamName?a.teamName:a.teamId)+" - link opens in a new tab");
C(1);Ae("id",a.teamLinkId);C(1);Te("",a.teamName?a.teamName:a.teamId," ")}},UEa=function(a){a&1&&(H(0,"span",8),S(1),J());if(a&2){a=P(2);var b=Se(3);G("onedevHovercardTrigger",b);C(1);Ve(a.teamName?a.teamName:a.teamId)}},VEa=function(a){a&1&&(L(0),R(1,TEa,4,6,"a",4),R(2,UEa,2,2,"span",5),M());a&2&&(a=P(),C(1),G("ngIf",a.anchorLinkEnabled),C(1),G("ngIf",!a.anchorLinkEnabled))},WEa=function(a){a&1&&K(0,"span",11)},XEa=function(a){a&1&&(H(0,"span"),S(1),J());a&2&&(a=P(2),C(1),Ve(a.teamNotAssignedMessage))},
YEa=function(a){a&1&&(R(0,WEa,1,0,"span",9),R(1,XEa,2,1,"span",10));a&2&&(a=P(),G("ngIf","0"!=a.teamId),C(1),G("ngIf","0"==a.teamId))},ZEa=function(a){a&1&&K(0,"b-team-display",3);a&2&&(a=P(),G("teamId",a.teamId)("componentId",a.componentId)("anchorLinkEnabled",!1))},$Ea=function(a){a&1&&S(0,"--")},aFa=function(a){a&1&&(L(0),S(1," Trackers are distinct communities with their own branding. "),M())},bFa=function(a){a&1&&(H(0,"a",12),S(1,"Learn More"),J())},cFa=function(a){a&1&&(L(0),H(1,"button",1),
K(2,"img",2)(3,"img",3),H(4,"span",4),S(5),J()(),H(6,"onedev-hovercard",null,5)(8,"div",6)(9,"div",7)(10,"span",8),S(11),R(12,aFa,2,0,"ng-container",0),J(),H(13,"div",9)(14,"a",10),S(15),J(),R(16,bFa,2,0,"a",11),J()()()(),M());if(a&2){var b=Se(7);a=P();C(1);Ie("xs",a.compactMode);G("onedevHovercardTrigger",b)("onedevHovercardActive",a.showHovercard);C(1);G("src",a.logoLight,vd);C(1);G("src",a.logoDark,vd);C(2);Ve(a.name);C(6);Te(" This component or issue is part of ",a.extendedName,". ");C(1);G("ngIf",
!a.isGlobalBuganizer);C(2);G("href",a.redirectUrl,vd);C(1);Te("View ",a.extendedName,"");C(1);G("ngIf",!a.isGlobalBuganizer)}},dFa=function(a){a&1&&(K(0,"b-tracker-chip",1),T(1,"async"));a&2&&(a=P(),G("tracker",U(1,4,a.tracker$)||void 0)("compactMode",a.compactMode)("showHovercard",a.showHovercard)("isGlobalBuganizer",a.isGlobalBuganizer))},eFa=function(a){if(a&1){var b=x();L(0);H(1,"span",4);S(2);J();H(3,"a",5);O("keydown",function(c){z(b);P();"Enter"===c.key&&c.stopPropagation();return A()})("click",
function(c){return c.stopPropagation()});K(4,"mat-icon",6);J();M()}a&2&&(a=P(),C(2),Ve(a.title||"--"),C(1),G("routerLink","/"+a.link)("target",a.anchorTarget))},fFa=function(a){if(a&1){var b=x();H(0,"a",7);O("keydown",function(c){z(b);P();"Enter"===c.key&&c.stopPropagation();return A()})("click",function(c){return c.stopPropagation()});S(1);J()}a&2&&(a=P(),G("routerLink","/"+a.link)("target",a.anchorTarget),C(1),Ve(a.title||"--"))},gFa=function(a){a&1&&(L(0),S(1),T(2,"enumToHuman"),M());a&2&&(a=P(),
C(1),Ve(U(2,1,a.type)))},hFa=function(a){a&1&&S(0,"--")},iFa=function(a){a&1&&(H(0,"button",5,6),K(2,"mat-icon",7),J());if(a&2){a=P();var b=Se(2);G("matTooltip",a.buttonLabel)("matMenuTriggerFor",b);Ae("aria-label",a.buttonLabel);C(2);G("svgIcon",a.buttonIcon)}},jFa=function(a){a&1&&(H(0,"div",8),S(1),J());a&2&&(a=P(),C(1),Ve(a.header))},kFa=function(a){a&1&&K(0,"mat-icon",7);a&2&&(a=P(2).$implicit,G("svgIcon",a.icon))},lFa=function(a){a&1&&(H(0,"span",14),S(1),J());a&2&&(a=P(2).$implicit,C(1),Ve(a.hintText))},
mFa=function(a){a&1&&K(0,"mat-icon",7);a&2&&(a=P(2).$implicit,G("svgIcon",a.icon))},nFa=function(a){a&1&&(H(0,"span",14),S(1),J());a&2&&(a=P(2).$implicit,C(1),Ve(a.hintText))},oFa=function(a){if(a&1){var b=x();H(0,"button",17);O("click",function(d){z(b);var e=P().$implicit,g=P(3);return A(g.onAction(d,e))})("mouseup",function(d){z(b);var e=P().$implicit,g=P(3);return A(g.onAction(d,e))});R(1,mFa,1,1,"mat-icon",11);S(2);R(3,nFa,2,1,"span",12);J()}if(a&2){a=P().$implicit;var c=P(2).$implicit;G("disabled",
a.disabled)("ngClass",c.className);Ae("title",a.title);C(1);G("ngIf",a.icon);C(1);Te(" ",a.label," ");C(1);G("ngIf",a.hintText)}},pFa=function(a){if(a&1){var b=x();H(0,"button",18);O("click",function(d){z(b);var e=P().$implicit,g=P(3);return A(g.onAction(d,e))})("mouseup",function(d){z(b);var e=P().$implicit,g=P(3);return A(g.onAction(d,e))});H(1,"span",19);K(2,"mat-icon",20);J();S(3);J()}if(a&2){a=P().$implicit;var c=P(2).$implicit;Ie("b-menu-item-checked",a.selected);G("disabled",a.disabled)("ngClass",
c.className);Ae("title",a.title);C(3);Te(" ",a.label," ")}},qFa=function(a,b){a&1&&(L(0),R(1,oFa,4,6,"button",15),R(2,pFa,4,6,"button",16),M());a&2&&(a=b.$implicit,C(1),G("ngIf","action"===a.type),C(1),G("ngIf","select"===a.type))},rFa=function(a){a&1&&(L(0),H(1,"button",10),R(2,kFa,1,1,"mat-icon",11),S(3),R(4,lFa,2,1,"span",12),J(),H(5,"mat-menu",null,13),R(7,qFa,3,2,"ng-container",4),J(),M());if(a&2){var b=Se(6);a=P().$implicit;var c=P();C(1);G("matMenuTriggerFor",b);C(1);G("ngIf",a.icon);C(1);
Te(" ",a.label," ");C(1);G("ngIf",a.hintText);C(3);G("ngForOf",a.items)("ngForTrackBy",c.trackByIndex)}},sFa=function(a){a&1&&K(0,"mat-icon",7);a&2&&(a=P(3).$implicit,G("svgIcon",a.icon))},tFa=function(a){a&1&&(H(0,"span",14),S(1),J());a&2&&(a=P(3).$implicit,C(1),Ve(a.hintText))},uFa=function(a){if(a&1){var b=x();H(0,"button",17);O("click",function(c){z(b);var d=P(2).$implicit,e=P();return A(e.onAction(c,d))})("mouseup",function(c){z(b);var d=P(2).$implicit,e=P();return A(e.onAction(c,d))});R(1,sFa,
1,1,"mat-icon",11);S(2);R(3,tFa,2,1,"span",12);J()}a&2&&(a=P(2).$implicit,G("disabled",a.disabled)("ngClass",a.className),Ae("title",a.title),C(1),G("ngIf",a.icon),C(1),Te(" ",a.label," "),C(1),G("ngIf",a.hintText))},vFa=function(a){if(a&1){var b=x();H(0,"button",18);O("click",function(c){z(b);var d=P(2).$implicit,e=P();return A(e.onAction(c,d))})("mouseup",function(c){z(b);var d=P(2).$implicit,e=P();return A(e.onAction(c,d))});H(1,"span",19);K(2,"mat-icon",20);J();S(3);J()}a&2&&(a=P(2).$implicit,
Ie("b-menu-item-checked",a.selected),G("disabled",a.disabled)("ngClass",a.className),Ae("title",a.title)("aria-label",a.label+" results per page"),C(3),Te(" ",a.label," "))},wFa=function(a){a&1&&(L(0),R(1,uFa,4,6,"button",15),R(2,vFa,4,7,"button",16),M());a&2&&(a=P().$implicit,C(1),G("ngIf","action"===a.type),C(1),G("ngIf","select"===a.type))},xFa=function(a,b){a&1&&(L(0),R(1,rFa,8,6,"ng-container",9),R(2,wFa,3,2,"ng-container",9),M());a&2&&(a=b.$implicit,C(1),G("ngIf","submenu"===a.type),C(1),G("ngIf",
"submenu"!==a.type))},yFa=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}},zFa=function(a,b,c){var d=a.bottom,e=a.left,g=a.right;return c>=a.top&&c<=d&&b>=e&&b<=g},AFa=function(a,b,c){a.top+=b;a.bottom=a.top+a.height;a.left+=c;a.right=a.left+a.width},BFa=function(a,b,c){var d=a.right,e=a.bottom,g=a.left,h=.05*a.width,l=.05*a.height;return c>a.top-l&&c<e+l&&b>g-h&&b<d+h},FFa=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?CFa(a,b):("input"===d||"select"===d||"textarea"===d)&&DFa(a,b);EFa("canvas",a,b,CFa);EFa("input, textarea, select",a,b,DFa);return b},EFa=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])},DFa=function(a,b){"file"!==b.type&&(b.value=a.value);"radio"===b.type&&b.name&&(b.name="mat-clone-"+b.name+
"-"+GFa++)},CFa=function(a,b){if(b=b.getContext("2d"))try{b.drawImage(a,0,0)}catch(c){}},HFa=function(a,b,c){for(var d in b)if(b.hasOwnProperty(d)){var e=b[d];if(e){var g=void 0;a.setProperty(d,e,(null==(g=c)?0:g.has(d))?"important":"")}else a.removeProperty(d)}},El=function(a,b){var c=b?"":"none";HFa(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})},
JFa=function(a,b){HFa(a.style,{position:b?"":"fixed",top:b?"":"0",opacity:b?"":"0",left:b?"":"-999em"},IFa)},KFa=function(a,b){return b&&"none"!=b?a+" "+b:a},LFa=function(a){var b=-1<a.toLowerCase().indexOf("ms")?1:1E3;return parseFloat(a)*b},NFa=function(a){a=getComputedStyle(a);var b=MFa(a,"transition-property"),c=b.find(function(d){return"transform"===d||"all"===d});if(!c)return 0;b=b.indexOf(c);c=MFa(a,"transition-duration");a=MFa(a,"transition-delay");return LFa(c[b])+LFa(a[b])},MFa=function(a,
b){return a.getPropertyValue(b).split(",").map(function(c){return c.trim()})},OFa=function(a,b){return"translate3d("+Math.round(a)+"px, "+Math.round(b)+"px, 0)"},PFa=function(a){return"t"===a.type[0]},QFa=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},RFa=function(a,b){a.style.width=b.width+"px";a.style.height=b.height+"px";a.style.transform=OFa(b.left,b.top)},Fl=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}},SFa=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},TFa=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},UFa=function(a){var b=function(){var c=a.apply(this,[].concat(Jc(Fc.apply(0,arguments))))||this;c._sticky=!1;c._hasStickyChanged=!1;return c};V(b,a);b.prototype.hasStickyChanged=
function(){var c=this._hasStickyChanged;this._hasStickyChanged=!1;return c};b.prototype.resetStickyChanged=function(){this._hasStickyChanged=!1};gg.Object.defineProperties(b.prototype,{sticky:{configurable:!0,enumerable:!0,get:function(){return this._sticky},set:function(c){var d=this._sticky;this._sticky=Ef(c);this._hasStickyChanged=d!==this._sticky}}});return b},VFa=function(a,b){return a.concat(Array.from(b))},WFa=function(a){a&1&&(H(0,"th",22),S(1," Id "),J())},XFa=function(a,b){a&1&&(H(0,"td",
23),S(1),J());a&2&&(a=b.$implicit,C(1),Te(" ",a.issueId," "))},YFa=function(a){a&1&&(H(0,"th",22),S(1," Priority "),J())},ZFa=function(a,b){a&1&&(H(0,"td",23),K(1,"b-issue-priority-display",24),J());a&2&&(a=b.$implicit,C(1),G("issuePriority",a.snapshot[0].priority))},$Fa=function(a){a&1&&(H(0,"th",22),S(1," Title "),J())},aGa=function(a,b){a&1&&(H(0,"td",23),K(1,"b-issue-title-cell",25),J());a&2&&(a=b.$implicit,C(1),G("issue",a))},bGa=function(a){a&1&&(H(0,"th",22),S(1," Type "),J())},cGa=function(a,
b){a&1&&(H(0,"td",23),K(1,"b-issue-type-cell",26),J());a&2&&(a=b.$implicit,C(1),G("issue",a))},dGa=function(a){a&1&&(H(0,"th",22),S(1," Status "),J())},eGa=function(a,b){a&1&&(H(0,"td",23),K(1,"b-issue-status-cell",26),J());a&2&&(a=b.$implicit,C(1),G("issue",a))},fGa=function(a){a&1&&(H(0,"th",22),S(1," Team "),J())},gGa=function(a,b){a&1&&(H(0,"td",23),K(1,"b-issue-team-cell",26),J());a&2&&(a=b.$implicit,C(1),G("issue",a))},hGa=function(a){a&1&&(H(0,"th",27),S(1),J());a&2&&(a=P(2),C(1),Te(" ","avatar-in-progress"===
a.assigneeMode?"":"Assignee"," "))},iGa=function(a){a&1&&(L(0),H(1,"b-person-hovercard",31),S(2),J(),M());if(a&2){a=P(2).$implicit;var b=P(2);C(1);G("email",b.getAssigneeString(a));C(1);Te(" ",b.ldapOnly(b.getAssigneeString(a))," ")}},jGa=function(a){a&1&&(L(0),R(1,iGa,3,2,"ng-container",0),M());a&2&&(a=P().$implicit,C(1),G("ngIf",a))},kGa=function(a,b){a&1&&K(0,"b-user-image",31);a&2&&G("email",b.$implicit)},lGa=function(a){a&1&&(L(0),R(1,kGa,1,1,"b-user-image",32),M());if(a&2){a=P(2).$implicit;
var b=P(2);C(1);G("ngIf",b.getAssigneeString(a))}},mGa=function(a){a&1&&(L(0),R(1,lGa,2,1,"ng-container",0),M());a&2&&(a=P().$implicit,C(1),G("ngIf",a))},nGa=function(a,b){a&1&&K(0,"b-user-image",31);a&2&&G("email",b.$implicit)},oGa=function(a){a&1&&(L(0),R(1,nGa,1,1,"b-user-image",32),M());if(a&2){a=P(3).$implicit;var b=P(2);C(1);G("ngIf",b.getAssigneeString(a))}},pGa=function(a){a&1&&(L(0),R(1,oGa,2,1,"ng-container",0),M());if(a&2){a=P(2).$implicit;var b=P(2);C(1);G("ngIf",b.isInProgress(a))}},
qGa=function(a){a&1&&(L(0),R(1,pGa,2,1,"ng-container",0),M());a&2&&(a=P().$implicit,C(1),G("ngIf",a))},rGa=function(a){a&1&&K(0,"b-issue-assignee-cell",26);a&2&&(a=P().$implicit,G("issue",a))},sGa=function(a){a&1&&(H(0,"td",23),L(1,28),R(2,jGa,2,1,"ng-container",29),R(3,mGa,2,1,"ng-container",29),R(4,qGa,2,1,"ng-container",29),R(5,rGa,1,1,"b-issue-assignee-cell",30),M(),J());a&2&&(a=P(2),C(1),G("ngSwitch",a.assigneeMode),C(1),G("ngSwitchCase","short"),C(1),G("ngSwitchCase","avatar"),C(1),G("ngSwitchCase",
"avatar-in-progress"))},tGa=function(a){a&1&&(H(0,"th",33),S(1," Reporter "),J())},uGa=function(a,b){a&1&&(H(0,"td",23),K(1,"b-issue-reporter-cell",26),J());a&2&&(a=b.$implicit,C(1),G("issue",a))},vGa=function(a){a&1&&(H(0,"th",34),S(1," Created "),J())},wGa=function(a,b){a&1&&(H(0,"td",23),K(1,"b-issue-created-time-cell",26),J());a&2&&(a=b.$implicit,C(1),G("issue",a))},xGa=function(a){a&1&&(H(0,"th",35),S(1," Last Modified "),J())},yGa=function(a){a&1&&K(0,"b-formatted-date-time",38);a&2&&(a=P().$implicit,
G("timestamp",a.aggregatedData.modifiedTimeMicros/1E3))},zGa=function(a){a&1&&S(0,"--")},AGa=function(a,b){a&1&&(H(0,"td",23),R(1,yGa,1,1,"b-formatted-date-time",36),R(2,zGa,1,0,"ng-template",null,37,of),J());if(a&2){a=b.$implicit;var c=Se(3);C(1);G("ngIf",a.aggregatedData.modifiedTimeMicros)("ngIfElse",c)}},BGa=function(a){a&1&&K(0,"th",22)},CGa=function(a,b){a&1&&(H(0,"td",23)(1,"b-actions-menu",39),O("click",function(c){return c.stopPropagation()}),J()());a&2&&(a=b.$implicit,b=P(2),C(1),G("menuItems",
b.getMenuItems(a)))},DGa=function(a){a&1&&(H(0,"th",43),S(1),J());if(a&2){a=P(2).$implicit;var b=P(2);C(1);Te(" ",b.COLUMN_TITLES.get(a)," ")}},EGa=function(a){a&1&&Le(0)},GGa=function(a,b){a&1&&(H(0,"td",23),R(1,EGa,1,0,"ng-container",44),J());a&2&&(a=b.$implicit,b=P().ngIf,C(1),G("ngTemplateOutlet",b)("ngTemplateOutletContext",Ze(2,FGa,a)))},HGa=function(a){a&1&&(L(0,41),R(1,DGa,2,1,"th",42),R(2,GGa,2,4,"td",4),M());a&2&&(a=P().$implicit,Qe("matColumnDef",a))},IGa=function(a,b){a&1&&(L(0),R(1,HGa,
3,1,"ng-container",40),M());a&2&&(a=b.$implicit,b=P(2),C(1),G("ngIf",b.getViewCellTemplate(a)))},JGa=function(a){a&1&&K(0,"tr",45)},KGa=function(a){a&1&&K(0,"issue-card-compact",26);a&2&&(a=P().$implicit,G("issue",a))},LGa=function(a,b){if(a&1){var c=x();H(0,"tr",46);O("click",function(d){var e=z(c).$implicit,g=P(2);return A(g.navigateToIssue(d,e))})("mouseup",function(d){var e=z(c).$implicit,g=P(2);return A(g.navigateToIssue(d,e))});R(1,KGa,1,1,"issue-card-compact",47);J()}a&2&&(a=b.$implicit,b=
P(2),Ie("highlighted",!!b.getUserInvolvement(a)))},NGa=function(a,b){a&1&&(L(0),H(1,"table",1),L(2,2),R(3,WFa,2,0,"th",3),R(4,XFa,2,1,"td",4),M(),L(5,5),R(6,YFa,2,0,"th",3),R(7,ZFa,2,1,"td",4),M(),L(8,6),R(9,$Fa,2,0,"th",3),R(10,aGa,2,1,"td",4),M(),L(11,7),R(12,bGa,2,0,"th",3),R(13,cGa,2,1,"td",4),M(),L(14,8),R(15,dGa,2,0,"th",3),R(16,eGa,2,1,"td",4),M(),L(17,9),R(18,fGa,2,0,"th",3),R(19,gGa,2,1,"td",4),M(),L(20,10),R(21,hGa,2,1,"th",11),R(22,sGa,6,4,"td",4),M(),L(23,12),R(24,tGa,2,0,"th",13),R(25,
uGa,2,1,"td",4),M(),L(26,14),R(27,vGa,2,0,"th",15),R(28,wGa,2,1,"td",4),M(),L(29,16),R(30,xGa,2,0,"th",17),R(31,AGa,4,2,"td",4),M(),L(32,18),R(33,BGa,1,0,"th",3),R(34,CGa,2,1,"td",4),M(),R(35,IGa,2,1,"ng-container",19),R(36,JGa,1,0,"tr",20),R(37,LGa,2,2,"tr",21),J(),M());a&2&&(a=b.ngIf,b=P(),C(1),G("dataSource",b.displayedIssues$)("trackBy",b.trackByIssueLastModified)("cdkDropListConnectedTo",Ye(7,MGa))("cdkDropListData",a),C(34),G("ngForOf",b.customColumns),C(1),G("matHeaderRowDef",b.displayedColumns),
C(1),G("matRowDefColumns",b.displayedColumns))},PGa=function(a,b){b?(b=pva(b))?(1===a.nodeType&&Gra(a),a.innerHTML=Ui(b)):OGa(a):OGa(a)},OGa=function(a){for(;a.lastChild;)a.lastChild.remove()},QGa=function(a){for(a=a.firstChild;a;){if(a.nodeType!==Node.TEXT_NODE)return!1;a=a.nextSibling}return!0},Gl=function(a){return a.endsWith("px")?Math.floor(Number(a.substr(0,a.length-2))):Number.NaN},RGa=function(a){return a.ctrlKey||a.metaKey||a.shiftKey||a.altKey},SGa=function(a){a&1&&(H(0,"div",4),Le(1,5),
J());a&2&&(a=P(),G("onedevIsHovercardReady",a.hovercardReady))},TGa=function(a,b){a&1&&(H(0,"span",9),S(1," by "),K(2,"b-user-display-name",10),J());a&2&&(a=b.ngIf,C(2),G("email",a)("hovercardEnabled",!1))},UGa=function(a,b){a&1&&(H(0,"div")(1,"span"),S(2),J(),K(3,"b-formatted-date-time",11),J());a&2&&(a=b.ngIf,b=P().ngIf,C(2),Ve(b.pending?"Created on: ":"Submitted on: "),C(1),G("timestamp",a))},VGa=function(a,b){a&1&&(L(0),K(1,"br"),S(2),M());a&2&&(a=b.$implicit,C(2),Te("",a," "))},WGa=function(a,
b){a&1&&(L(0),H(1,"div",3)(2,"a",4),S(3," CL "),H(4,"span"),S(5),J()(),R(6,TGa,3,2,"span",5),K(7,"br")(8,"br"),R(9,UGa,4,2,"div",2),H(10,"div",6),K(11,"div",7)(12,"br"),H(13,"div"),S(14," Affected files: "),R(15,VGa,3,1,"ng-container",8),J()()(),M());a&2&&(a=b.ngIf,b=P(),C(2),G("href","http://critique.corp.google.com/"+b.changelistId,vd),C(3),Ve(b.changelistId),C(1),G("ngIf",a.author),C(3),G("ngIf",a.timestamp),C(2),G("innerHTML",a.description,ud),C(4),G("ngForOf",a.affectedFiles))},XGa=function(a){a&
1&&K(0,"b-changelist-card",3,4);if(a&2){var b=Se(1);a=P();G("onedevIsHovercardReady",b.init)("changelistId",a.changelistId)}},YGa=function(a){a&1&&K(0,"b-user-display-name",2);a&2&&(a=P(),G("email",a.getEmailAddress())("hovercardEnabled",!1)("availabilityChipEnabled",a.availabilityChipEnabled)("hovercardFocusEnabled",a.hovercardFocusEnabled))},ZGa=function(a){a&1&&(H(0,"span"),S(1),J());a&2&&(a=P(),C(1),Ve(a.getDisplayString()))},$Ga=function(a){a&1&&(L(0),H(1,"div",9),K(2,"b-user-display",10),S(3,
" submitted "),K(4,"b-changelist-link",11),S(5," for "),H(6,"b-issue-reference-widget",12),S(7),J(),K(8,"b-formatted-date-time",13),J(),H(9,"p",14),S(10),J(),M());if(a&2){a=P().$implicit;var b=P(2);C(2);G("model",b.clAuthorToUser(a.event));C(2);G("changelistId",b.getClNumber(a.event));C(2);G("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);C(1);Te("b/",a.issueId,"");C(1);G("timestamp",a.event.modifiedDate);C(2);Ve(b.clEventToClDescription(a.event))}},aHa=function(a){a&1&&(L(0),H(1,"div",
9),K(2,"b-user-display",10),S(3," commented on "),H(4,"b-issue-reference-widget",12),S(5),J(),K(6,"b-formatted-date-time",13),J(),H(7,"p",14),S(8),J(),M());if(a&2){a=P().$implicit;var b=P(2);C(2);G("model",a.event.userPerformingActionUser);C(2);G("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);C(1);Te("b/",a.issueId,"");C(1);G("timestamp",a.event.modifiedDate);C(2);Ve(a.event.unlinkifiedComment)}},bHa=function(a){a&1&&(L(0),H(1,"div",9),K(2,"b-user-display",10),S(3," changed priority for "),
H(4,"b-issue-reference-widget",12),S(5),J(),K(6,"b-formatted-date-time",13),J(),H(7,"p",15),S(8,"Priority changed from "),K(9,"b-issue-priority-display",16),S(10," to "),K(11,"b-issue-priority-display",16),J(),M());if(a&2){a=P().$implicit;var b=P(2);C(2);G("model",a.event.userPerformingActionUser);C(2);G("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);C(1);Te("b/",a.issueId,"");C(1);G("timestamp",a.event.modifiedDate);C(3);G("issuePriority",b.toIssuePriority(b.getPreviousDiffValue(a.event,
"priority")));C(2);G("issuePriority",b.toIssuePriority(b.getNewDiffValue(a.event,"priority")))}},cHa=function(a){a&1&&(L(0),H(1,"div",9),K(2,"b-user-display",10),S(3," changed status for "),H(4,"b-issue-reference-widget",12),S(5),J(),K(6,"b-formatted-date-time",13),J(),H(7,"p",15),S(8),J(),M());if(a&2){a=P().$implicit;var b=P(2);C(2);G("model",a.event.userPerformingActionUser);C(2);G("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);C(1);Te("b/",a.issueId,"");C(1);G("timestamp",a.event.modifiedDate);
C(2);We("Status changed from ",b.getPreviousDiffValue(a.event,"status")," to ",b.getNewDiffValue(a.event,"status"),"")}},dHa=function(a){a&1&&(L(0),H(1,"div",9),K(2,"b-user-display",10),S(3," created new issue "),H(4,"b-issue-reference-widget",12),S(5),J(),K(6,"b-formatted-date-time",13),J(),H(7,"p",14),S(8),J(),M());if(a&2){a=P().$implicit;var b=P(2);C(2);G("model",a.event.userPerformingActionUser);C(2);G("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);C(1);Te("b/",a.issueId,"");C(1);
G("timestamp",a.event.modifiedDate);C(2);Ve(""===a.event.unlinkifiedComment?"No description":a.event.unlinkifiedComment)}},eHa=function(a){a&1&&(L(0),H(1,"div",9),K(2,"b-user-display",10),S(3," fixed "),H(4,"b-issue-reference-widget",12),S(5),J(),S(6," with "),K(7,"b-changelist-link",11)(8,"b-formatted-date-time",13),J(),H(9,"p",14),S(10),J(),M());if(a&2){a=P().$implicit;var b=P(2);C(2);G("model",b.clAuthorToUser(a.event));C(2);G("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);C(1);Te("b/",
a.issueId,"");C(2);G("changelistId",b.getClNumber(a.event));C(1);G("timestamp",a.event.modifiedDate);C(2);Ve(b.clEventToClDescription(a.event))}},fHa=function(a){a&1&&(L(0),H(1,"div",9),K(2,"b-user-display",10),S(3),J(),M());a&2&&(a=P().$implicit,C(2),G("model",a.event.userPerformingActionUser),C(1),Te(" updated ",a.issueId," "))},gHa=function(a,b){a&1&&(H(0,"div",4)(1,"div"),K(2,"b-user-image",5),J(),H(3,"div"),L(4,6),R(5,$Ga,11,7,"ng-container",7),R(6,aHa,9,6,"ng-container",7),R(7,bHa,12,7,"ng-container",
7),R(8,cHa,9,7,"ng-container",7),R(9,dHa,9,6,"ng-container",7),R(10,eHa,11,7,"ng-container",7),R(11,fHa,4,2,"ng-container",8),M(),J()());a&2&&(a=b.$implicit,b=b.last,P(2),Ie("margin-xs-bottom",!b),C(2),G("email","changelist"===a.eventType||"changelistFixed"===a.eventType?rk(a.event)+"@google.com":Ug(a.event.userPerformingActionUser)),C(2),G("ngSwitch",a.eventType),C(1),G("ngSwitchCase","changelist"),C(1),G("ngSwitchCase","comment"),C(1),G("ngSwitchCase","priority"),C(1),G("ngSwitchCase","status"),
C(1),G("ngSwitchCase","newIssue"),C(1),G("ngSwitchCase","changelistFixed"))},hHa=function(a,b){a&1&&(L(0),H(1,"p",1),S(2),J(),H(3,"div",2),R(4,gHa,12,10,"div",3),J(),M());a&2&&(a=b.ngIf,b=P(),C(2),Ve(b.title),C(2),G("ngForOf",a)("ngForTrackBy",b.trackByEventModifiedTime))},jHa=function(a){if(a&1){var b=x();L(0);H(1,"button",17);O("click",function(){z(b);var c=P();c.numEventsDisplayed+=3;return A()});S(2);J();M()}a&2&&(a=P(),C(2),Te("Show ",iHa(a)," more "))},kHa=function(a){a&1&&(Xc(),H(0,"svg",11),
K(1,"circle",12),J());a&2&&(a=P(),Ae("viewBox",a._viewBox()),C(1),He("stroke-dasharray",a._strokeCircumference(),"px")("stroke-dashoffset",a._strokeCircumference()/2,"px")("stroke-width",a._circleStrokeWidth(),"%"),Ae("r",a._circleRadius()))},lHa=function(){return{diameter:100}},mHa=function(a){a&1&&(Xc(),K(0,"circle",4));if(a&2){a=P();var b=Se(1);He("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));Ae("r",a._getCircleRadius())}},nHa=function(a){a&1&&(Xc(),K(0,"circle",4));if(a&2){a=P();var b=Se(1);He("stroke-dashoffset",a._getStrokeDashOffset(),"px")("stroke-dasharray",a._getStrokeCircumference(),"px")("stroke-width",a._getCircleStrokeWidth(),"%")("transform-origin",a._getCircleTransformOrigin(b));Ae("r",a._getCircleRadius())}},oHa=function(a){a&1&&K(0,"mat-spinner",
2);a&2&&(a=P(),G("diameter",36),Ae("aria-label",a.ariaLabel))},pHa=function(a){a&1&&K(0,"mat-spinner",3);a&2&&(a=P(),G("diameter",16)("strokeWidth",2),Ae("aria-label",a.ariaLabel))},qHa=function(a){a&1&&(H(0,"div",29),K(1,"img",30),S(2,"\u00a0 "),H(3,"a",31),S(4),J()());if(a&2){a=P().ngIf;var b=P(3);C(3);G("href",b.makeCritiqueUrl(a.clIds,a.pendingChangeLists),vd);C(1);Te("",a.clIds.length+a.pendingChangeLists.length," CLs")}},rHa=function(a,b){a&1&&K(0,"b-user-image",32);a&2&&G("email",b.$implicit)},
sHa=function(a,b){a&1&&(H(0,"div",23)(1,"div",24),R(2,qHa,5,2,"div",25),J(),R(3,rHa,1,1,"b-user-image",26),T(4,"slice"),H(5,"button",27),K(6,"mat-icon",28),J()());if(a&2){a=b.ngIf;P(2);var c=Se(17);C(2);G("ngIf",0<a.clIds.length||0<a.pendingChangeLists.length);C(1);G("ngForOf",cf(4,3,a.contributors,0,10));C(2);G("matMenuTriggerFor",c)}},tHa=function(a){a&1&&(L(0),R(1,sHa,7,7,"div",22),T(2,"async"),M());a&2&&(a=P(2),C(1),G("ngIf",U(2,1,a.projectData$)))},uHa=function(a,b){a&1&&(H(0,"div",36),K(1,"div",
37),S(2),T(3,"number"),J());if(a&2){a=b.$implicit;b=P().$implicit;var c=P(3);Re("title","",b.totalCount-b.openCount," of ",b.totalCount," tasks complete");C(1);Ae("style",c.makePie(a/100),Fha);C(1);Te(" ",bf(3,4,a,"1.0-0"),"% Complete ")}},wHa=function(a){a&1&&(H(0,"a",31),S(1),J());if(a&2){a=P(2).$implicit;var b=P(3);G("href",b.makeCritiqueUrl(Ye(2,vHa),a.pendingChangeLists),vd);C(1);Te("(",a.pendingChangeLists.length," pending)")}},xHa=function(a){a&1&&(H(0,"div",29),K(1,"img",30),S(2,"\u00a0 "),
H(3,"a",31),S(4),J(),S(5," \u00a0 "),R(6,wHa,2,3,"a",38),J());if(a&2){a=P().$implicit;var b=P(3);C(3);G("href",b.makeCritiqueUrl(a.clIds,a.pendingChangeLists),vd);C(1);Te("",a.clIds.length+a.pendingChangeLists.length," CLs");C(2);G("ngIf",0<a.pendingChangeLists.length)}},yHa=function(a,b){a&1&&(H(0,"div",34),R(1,uHa,4,7,"div",35),R(2,xHa,7,3,"div",25),J());a&2&&(a=b.$implicit,C(1),G("ngIf",(a.totalCount-a.openCount)/a.totalCount*100),C(1),G("ngIf",0<a.clIds.length||0<a.pendingChangeLists.length))},
zHa=function(a){a&1&&(L(0),R(1,yHa,3,2,"div",33),T(2,"async"),M());a&2&&(a=P(2),C(1),G("ngIf",U(2,1,a.projectData$)))},AHa=function(a,b){a&1&&(L(0),K(1,"flat-issues-table",42),M());a&2&&(a=b.ngIf,b=P(3),C(1),G("issueIds",a)("displayedColumns",b.columnsToDisplay)("assigneeMode","avatar-in-progress"))},BHa=function(a){a&1&&(H(0,"div",39),R(1,AHa,2,3,"ng-container",11),T(2,"slice"),T(3,"async"),H(4,"div",40)(5,"a",41),S(6,"View all issues"),J()()());if(a&2){a=P().ngIf;var b=P();C(1);G("ngIf",cf(2,2,
U(3,6,b.hotlistIssueIds$),0,10));C(4);Pe("href","/hotlists/",a.hotlistId,"",vd)}},CHa=function(a){a&1&&(L(0),K(1,"activity-stream",45),T(2,"async"),M());a&2&&(a=P(3),C(1),G("activityEvents",U(2,1,a.hotlistActivityEvents$)))},DHa=function(a){a&1&&K(0,"b-spinner")},EHa=function(a){a&1&&(H(0,"footer"),K(1,"hr"),R(2,CHa,3,3,"ng-container",43),T(3,"async"),R(4,DHa,1,0,"ng-template",null,44,of),J());if(a&2){var b=Se(5);a=P(2);C(2);G("ngIf",U(3,2,a.hotlistActivityEvents$))("ngIfElse",b)}},FHa=function(a,
b){if(a&1){var c=x();H(0,"div",1)(1,"header",2)(2,"aside",3)(3,"div",4)(4,"button",5);O("click",function(){var d=z(c).ngIf,e=P();return A(Hl(e.hackyPrefs,"hotlist-"+d.hotlistId))});S(5,"Add");J()()();H(6,"div",6)(7,"span",7)(8,"a",8);S(9);J();H(10,"button",9);O("click",function(){var d=z(c).ngIf,e=P();return A(e.hackyPrefs.toggleCollapsed("hotlist-"+d.hotlistId))});K(11,"mat-icon",10);J()()();R(12,tHa,3,3,"ng-container",11);J();R(13,zHa,3,3,"ng-container",11);R(14,BHa,7,8,"div",12);R(15,EHa,6,4,"footer",
11);H(16,"mat-menu",null,13)(18,"button",14);O("click",function(){var d=z(c).ngIf,e=P();return A(e.reorder(d.hotlistId,-1))});K(19,"mat-icon",15);H(20,"span",16);S(21,"Move up");J()();H(22,"button",14);O("click",function(){var d=z(c).ngIf,e=P();return A(e.reorder(d.hotlistId,1))});K(23,"mat-icon",17);H(24,"span",16);S(25,"Move down");J()();K(26,"mat-divider");H(27,"button",18);O("click",function(){var d=z(c).ngIf,e=P();return A(e.removeHotlist(d.hotlistId))});K(28,"mat-icon",19);H(29,"span",16);S(30,
"Remove from My Projects");J()();H(31,"a",20);K(32,"mat-icon",21);H(33,"span",16);S(34,"View Hotlist");J()()()()}a&2&&(a=b.ngIf,b=P(),Ie("collapsed",b.isCollapsed(a))("never-collapse-mode",b.neverCollapse)("add-mode",b.addMode),C(8),Pe("href","/hotlists/",a.hotlistId,"",vd),C(1),Te(" ",a.name," "),C(3),G("ngIf",!b.addMode),C(1),G("ngIf",!b.isCollapsed(a)),C(1),G("ngIf",!b.isCollapsed(a)),C(1),G("ngIf",!b.isCollapsed(a)),C(3),G("disabled",!b.canMove(a.hotlistId,-1)),C(4),G("disabled",!b.canMove(a.hotlistId,
1)),C(9),Pe("href","/hotlists/",a.hotlistId,"",vd))},GHa=function(a,b){a&1&&(L(0),K(1,"hotlist-as-project-card",9),M());a&2&&(a=b.$implicit,C(1),G("hotlistId",a)("addMode",!0))},HHa=function(a){a&1&&(H(0,"p",3),S(1,"No hotlists found."),J())},IHa=function(a){if(a&1){var b=x();H(0,"button",10);O("click",function(){z(b);var c=P(2);return A(c.suggestionCount=2*c.suggestionCount)});S(1," Show more ");J()}},JHa=function(a,b){a&1&&(L(0),H(1,"div",2)(2,"p",3)(3,"a",4),K(4,"mat-icon",5),J(),S(5," Hotlists from your recent issues. "),
J(),R(6,GHa,2,2,"ng-container",6),T(7,"slice"),R(8,HHa,2,0,"p",7),R(9,IHa,2,0,"button",8),J(),M());a&2&&(a=b.ngIf,b=P(),C(6),G("ngForOf",cf(7,3,a,b.skipFirstSuggestion?1:0,b.suggestionCount)),C(2),G("ngIf",0===a.length),C(1),G("ngIf",a.length>b.suggestionCount&&!b.disableShowMore))},KHa=function(a){a&1&&(H(0,"p",3),K(1,"b-spinner"),S(2," Loading Hotlist suggestions... "),J())},LHa=function(){return Fc.apply(0,arguments).filter(Boolean).join(" AND ")},Il=function(a,b,c){c=void 0===c?!1:c;if(!b)return"";
Array.isArray(b)||(b=[b]);b=b.filter(eh);return 0===b.length?"":a+":("+b.join("|")+")"+(c?"+":"")},MHa=function(a){return a instanceof Jl?a:new Jl(a,{})},Kl=function(a){a=MHa(a);return new Jl(a.char,Object.assign({},a.modifiers,{shift:!0}))},NHa=function(a){a=MHa(a);return new Jl(a.char,Object.assign({},a.modifiers,{ctrl:!0}))},OHa=function(){var a=Kl("f");a=MHa(a);return new Jl(a.char,Object.assign({},a.modifiers,{alt:!0}))},QHa=function(a){if(a instanceof Jl){var b=PHa(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(QHa).join(" "):PHa(a)},Ll=function(){return Fc.apply(0,arguments)},PHa=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 og(a)}},RHa=function(a){return a.keys.join("-")+"-"+a.description+"-"+a.displayAs},SHa=function(a){if(a&1){var b=x();H(0,"div",0);O("keydown",function(c){z(b);var d=P();return A(d.processKeydown(c))});Oe(1);J()}a&2&&(a=P(),Ila(a.className),Ae("id",a.id))},THa=function(a){a&1&&K(0,"mat-icon",
3)},UHa=function(a){a&1&&(H(0,"span",25),S(1),J());a&2&&(a=P(3),C(1),Ve(a.HOTKEYS.COPY_ISSUE_ID.displayAs))},VHa=function(a){a&1&&(H(0,"span",25),S(1),J());a&2&&(a=P(4),C(1),Ve(a.HOTKEYS.COPY_ISSUE_SHORTLINK.displayAs))},WHa=function(a){if(a&1){var b=x();H(0,"div",11)(1,"label",12);S(2,"Issue shortlink");J();H(3,"input",26,27);O("onHotkey",function(){z(b);var d=Se(4),e=P(3);return A(Ml(e,d))})("focus",function(){z(b);var d=Se(4);return A(d.select())});J();R(5,VHa,2,1,"span",15);H(6,"button",28);O("onHotkey",
function(){z(b);var d=Se(4),e=P(3);return A(Ml(e,d))})("click",function(){z(b);var d=Se(4),e=P(3);return A(Ml(e,d))});K(7,"mat-icon",17);J()()}if(a&2){var c=Se(4);a=P(3);C(1);G("htmlFor",c.id);C(2);G("hotkey",a.HOTKEYS.COPY_ISSUE_SHORTLINK)("hotkeyEnabled",a.enableHotkeys);Ae("value",a.getAppBaseUrl().replace(/^.*?:\/\//,""));C(2);G("ngIf",a.enableHotkeys);C(1);G("hotkey",a.HOTKEYS.COPY_ISSUE_SHORTLINK)("hotkeyEnabled",a.enableHotkeys)}},XHa=function(a){a&1&&(H(0,"span",25),S(1),J());a&2&&(a=P(3),
C(1),Ve(a.HOTKEYS.COPY_ISSUE_URL.displayAs))},YHa=function(a){a&1&&(H(0,"span",25),S(1),J());a&2&&(a=P(3),C(1),Ve(a.HOTKEYS.COPY_ISSUE_TITLE.displayAs))},ZHa=function(a){a&1&&(H(0,"span",25),S(1),J());a&2&&(a=P(4),C(1),Ve(a.HOTKEYS.COPY_ISSUE_EMAIL_ADDRESS.displayAs))},aIa=function(a){if(a&1){var b=x();H(0,"div",11)(1,"label",12);S(2,"Issue email");J();H(3,"input",29,30);O("onHotkey",function(){z(b);var d=Se(4),e=P(3);return A(Ml(e,d))})("focus",function(){z(b);var d=Se(4);return A(d.select())});
J();R(5,ZHa,2,1,"span",15);H(6,"button",31);O("onHotkey",function(){z(b);var d=Se(4),e=P(3);return A(Ml(e,d))})("click",function(){z(b);var d=Se(4),e=P(3);return A(Ml(e,d))});K(7,"mat-icon",17);J()()}if(a&2){var c=Se(4);a=P(3);C(1);G("htmlFor",c.id);C(2);G("hotkey",a.HOTKEYS.COPY_ISSUE_EMAIL_ADDRESS)("hotkeyEnabled",a.enableHotkeys);Ae("value","buganizer-system"+($Ha(a.activeSession)?"":"-qa")+("+"+a.componentId+"+"+a.issueId)+"@google.com");C(2);G("ngIf",a.enableHotkeys);C(1);G("hotkey",a.HOTKEYS.COPY_ISSUE_EMAIL_ADDRESS)("hotkeyEnabled",
a.enableHotkeys)}},bIa=function(a){a&1&&(H(0,"span",25),S(1),J());a&2&&(a=P(4),C(1),Ve(a.HOTKEYS.COPY_ISSUE_TODO.displayAs))},cIa=function(a){if(a&1){var b=x();H(0,"div",11)(1,"label",12);S(2,"TODO comment");J();H(3,"input",32,33);O("onHotkey",function(){z(b);var d=Se(4),e=P(3);return A(Ml(e,d))})("focus",function(){z(b);var d=Se(4);return A(d.select())});J();R(5,bIa,2,1,"span",15);H(6,"button",34);O("onHotkey",function(){z(b);var d=Se(4),e=P(3);return A(Ml(e,d))})("click",function(){z(b);var d=Se(4),
e=P(3);return A(Ml(e,d))});K(7,"mat-icon",17);J()()}if(a&2){var c=Se(4);a=P(3);C(1);G("htmlFor",c.id);C(2);G("hotkey",a.HOTKEYS.COPY_ISSUE_TODO)("hotkeyEnabled",a.enableHotkeys);Ae("value","TODO("+a.getAppBaseUrl().replace(/^.*?:\/\//,"")+"): "+a.issueTitle);C(2);G("ngIf",a.enableHotkeys);C(1);G("hotkey",a.HOTKEYS.COPY_ISSUE_TODO)("hotkeyEnabled",a.enableHotkeys)}},dIa=function(a){if(a&1){var b=x();H(0,"div",10)(1,"div",11)(2,"label",12);S(3,"Issue ID");J();H(4,"input",13,14);O("onHotkey",function(){z(b);
var g=Se(5),h=P(2);return A(Ml(h,g))})("focus",function(){z(b);var g=Se(5);return A(g.select())});J();R(6,UHa,2,1,"span",15);H(7,"button",16);O("onHotkey",function(){z(b);var g=Se(5),h=P(2);return A(Ml(h,g))})("click",function(){z(b);var g=Se(5),h=P(2);return A(Ml(h,g))});K(8,"mat-icon",17);J()();R(9,WHa,8,7,"div",18);H(10,"div",11)(11,"label",12);S(12,"Issue URL");J();H(13,"input",19,20);O("onHotkey",function(){z(b);var g=Se(14),h=P(2);return A(Ml(h,g))})("focus",function(){z(b);var g=Se(14);return A(g.select())});
J();R(15,XHa,2,1,"span",15);H(16,"button",21);O("onHotkey",function(){z(b);var g=Se(14),h=P(2);return A(Ml(h,g))})("click",function(){z(b);var g=Se(14),h=P(2);return A(Ml(h,g))});K(17,"mat-icon",17);J()();H(18,"div",11)(19,"label",12);S(20,"URL and title");J();H(21,"input",22,23);O("onHotkey",function(){z(b);var g=Se(22),h=P(2);return A(Ml(h,g))})("focus",function(){z(b);var g=Se(22);return A(g.select())});J();R(23,YHa,2,1,"span",15);H(24,"button",24);O("onHotkey",function(){z(b);var g=Se(22),h=P(2);
return A(Ml(h,g))})("click",function(){z(b);var g=Se(22),h=P(2);return A(Ml(h,g))});K(25,"mat-icon",17);J()();R(26,aIa,8,7,"div",18);R(27,cIa,8,7,"div",18);J()}if(a&2){var c=Se(5),d=Se(14),e=Se(22);a=P(2);G("cdkTrapFocusAutoCapture",!0);C(2);G("htmlFor",c.id);C(2);G("hotkey",a.HOTKEYS.COPY_ISSUE_ID)("hotkeyEnabled",a.enableHotkeys);Ae("value",a.issueId);C(2);G("ngIf",a.enableHotkeys);C(1);G("hotkey",a.HOTKEYS.COPY_ISSUE_ID)("hotkeyEnabled",a.enableHotkeys);C(2);G("ngIf",a.activeSession.isInternalSession()&&
!a.currentTracker.inTracker);C(2);G("htmlFor",d.id);C(2);G("hotkey",a.HOTKEYS.COPY_ISSUE_URL)("hotkeyEnabled",a.enableHotkeys);Ae("value",a.getIssueUrl());C(2);G("ngIf",a.enableHotkeys);C(1);G("hotkey",a.HOTKEYS.COPY_ISSUE_URL)("hotkeyEnabled",a.enableHotkeys);C(3);G("htmlFor",e.id);C(2);G("hotkey",a.HOTKEYS.COPY_ISSUE_TITLE)("hotkeyEnabled",a.enableHotkeys);Ae("value",a.getAppBaseUrl(a.isExternalIssue)+" "+a.issueTitle);C(2);G("ngIf",a.enableHotkeys);C(1);G("hotkey",a.HOTKEYS.COPY_ISSUE_TITLE)("hotkeyEnabled",
a.enableHotkeys);C(2);G("ngIf",a.activeSession.isInternalSession()&&!a.currentTracker.inTracker);C(1);G("ngIf",a.activeSession.isInternalSession()&&!a.currentTracker.inTracker)}},eIa=function(a){if(a&1){var b=x();L(0);H(1,"button",4,5);O("onHotkey",function(){z(b);var d=P();d.disabled||d.trigger.open();return A()})("onedevPopupPanelTriggerOpened",function(){z(b);var d=P();return A(d.isOpen=!0)})("onedevPopupPanelTriggerClosed",function(){z(b);var d=P();return A(d.isOpen=!1)})("click",function(){z(b);
var d=P();d.disabled||d.trigger.open();return A()});K(3,"mat-icon",6);J();H(4,"onedev-popup-panel",7,8);R(6,dIa,28,25,"div",9);J();M()}if(a&2){var c=Se(5);a=P();C(1);G("onedevPopupPanelTriggerFor",c)("hotkey",a.HOTKEYS.HIGHLIGHT_ISSUE_ID)("hotkeyEnabled",a.enableHotkeys);Ae("aria-label","Show links for the issue "+a.issueId);C(5);G("ngIf",a.isOpen)}},fIa=function(a){a&1&&K(0,"b-issue-id-picker",2);a&2&&(a=P(),G("issueId",a.id)("showCopyOptions",!1))},gIa=function(a){a&1&&(L(0),K(1,"b-issue-priority-display",
3),M());a&2&&(a=P(),C(1),G("issuePriority",a.priority))},hIa=function(a){a&1&&S(0,"--")},kIa=function(a){var b=(new Nl).setParent(a.parent);a=a.userEngagement;var c=(new Ol).setType(iIa[a.type]);void 0!==a.rejectionReason&&n(c,3,jIa[a.rejectionReason]);return Oh(b,Ol,2,c)},oIa=function(a){var b=void 0;switch(rh(a,lIa)){case 9:b={recommendedIssue:Wi(Fi(a,ii,9,lIa))}}return{name:a.getName(),source:a.getSource(),resource:a.getResource(),type:mIa[a.getType()],recommendation:mh(a,5),score:a.getScore(),
confidence:nIa[a.getConfidence()],createTime:tg(W(a,ug,8)),content:b}},pIa=function(a){return{recommendations:yg(a,Pl,1).map(oIa),nextPageToken:a.getNextPageToken(),totalSize:a.getTotalSize()}},Ql=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]]}))})},Rl=function(){var a=0;a=void 0===a?0:a;return new Promise(function(b){setTimeout(b,a)})},qIa=function(a){var b=function(){var c=a.apply(this,[].concat(Jc(Fc.apply(0,
arguments))))||this;c._fitToContent=!1;return c};V(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)}},rIa=function(){},sIa=function(){},tIa=function(a){a&1&&Oe(0)},uIa=function(){},vIa=function(a){a&1&&R(0,uIa,0,0,"ng-template",
10);a&2&&(a=P().$implicit,G("cdkPortalOutlet",a.templateLabel))},wIa=function(a){a&1&&S(0);a&2&&(a=P().$implicit,Ve(a.textLabel))},xIa=function(a,b){if(a&1){var c=x();H(0,"div",6);O("click",function(){var g=z(c),h=g.$implicit;g=g.index;var l=P(),q=Se(1);return A(l._handleClick(h,q,g))})("cdkFocusChange",function(g){var h=z(c).index,l=P();return A(l._tabFocusChanged(g,h))});H(1,"div",7);R(2,vIa,1,1,"ng-template",8);R(3,wIa,1,1,"ng-template",null,9,of);J()()}if(a&2){a=b.$implicit;b=b.index;var d=Se(4),
e=P();Ie("mat-tab-label-active",e.selectedIndex===b);G("id",e._getTabLabelId(b))("ngClass",a.labelClass)("disabled",a.disabled)("matRippleDisabled",a.disabled||e.disableRipple);Ae("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);C(2);G("ngIf",a.templateLabel)("ngIfElse",d)}},yIa=function(a,
b){if(a&1){var c=x();H(0,"mat-tab-body",11);O("_onCentered",function(){z(c);var e=P();return A(e._removeTabBodyWrapperHeight())})("_onCentering",function(e){z(c);var g=P();return A(g._setTabBodyWrapperHeight(e))});J()}if(a&2){a=b.$implicit;b=b.index;var d=P();Ie("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);Ae("tabindex",
null!=d.contentTabIndex&&d.selectedIndex===b?d.contentTabIndex:null)("aria-labelledby",d._getTabLabelId(b))}},zIa=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"}},AIa=function(a){return void 0===a||null===a?[]:Object.keys(a).filter(function(b){return a.hasOwnProperty(b)})},BIa=function(){return{color:"accent"}},CIa=function(){},DIa=function(a){a&1&&R(0,CIa,0,0,"ng-template")},FIa=function(a){a&1&&(L(0),R(1,DIa,1,0,null,19),M());if(a&2){a=P().xapLet;var b=P(2),c=Se(19);C(1);G("ngTemplateOutlet",c)("ngTemplateOutletContext",
$e(2,EIa,a,b.TABS.SIMILAR_ISSUES))}},GIa=function(a){a&1&&(L(0),R(1,FIa,2,5,"ng-container",18),M());if(a&2){P();var b=Se(1);C(1);G("ngIf",b.isActive)}},HIa=function(a){a&1&&(H(0,"mat-tab",15,16),R(2,GIa,2,1,"ng-container",17),T(3,"async"),J());a&2&&(a=P(),C(2),G("xapLet",U(3,1,a.similarIssues$)))},IIa=function(){},JIa=function(a){a&1&&R(0,IIa,0,0,"ng-template")},KIa=function(a){a&1&&(L(0),R(1,JIa,1,0,null,19),M());if(a&2){a=P().xapLet;var b=P(2),c=Se(19);C(1);G("ngTemplateOutlet",c)("ngTemplateOutletContext",
$e(2,EIa,a,b.TABS.SEARCH_RESULTS))}},LIa=function(a){a&1&&(L(0),R(1,KIa,2,5,"ng-container",18),M());if(a&2){P();var b=Se(1);C(1);G("ngIf",b.isActive)}},MIa=function(a){a&1&&(H(0,"mat-tab",20,16),R(2,LIa,2,1,"ng-container",17),T(3,"async"),J());a&2&&(a=P(),C(2),G("xapLet",U(3,1,a.searchResults$)))},NIa=function(){},OIa=function(a){a&1&&R(0,NIa,0,0,"ng-template")},PIa=function(a){a&1&&(L(0),R(1,OIa,1,0,null,19),M());if(a&2){a=P().xapLet;var b=P(2),c=Se(19);C(1);G("ngTemplateOutlet",c)("ngTemplateOutletContext",
$e(2,EIa,a,b.TABS.ISSUE_IDS))}},QIa=function(a){a&1&&(L(0),R(1,PIa,2,5,"ng-container",18),M());if(a&2){P();var b=Se(1);C(1);G("ngIf",b.isActive)}},RIa=function(a){a&1&&(H(0,"mat-tab",21,16),R(2,QIa,2,1,"ng-container",17),T(3,"async"),J());a&2&&(a=P(),C(2),G("xapLet",U(3,1,a.issuesWithIdMatches$)))},SIa=function(a){a&1&&(H(0,"th",43)(1,"span",44),S(2,"Selection"),J()())},TIa=function(a,b){a&1&&(H(0,"td",45),K(1,"mat-radio-button",46),T(2,"async"),J());a&2&&(a=b.$implicit,b=P(3),C(1),G("checked",U(2,
3,Sl(b.selectedIssues,a.issueId)))("aria-label",a.snapshot[0].title)("value",a.issueId))},UIa=function(a){a&1&&(H(0,"th",43),S(1," Title "),J())},VIa=function(a,b){a&1&&(H(0,"td",45),K(1,"b-issue-title-cell",47),J());a&2&&(a=b.$implicit,b=P(3),C(1),G("issue",a)("issueUrlFactory",b.issueUrlFactory)("useButtonToNavigate",!0))},WIa=function(a){a&1&&(H(0,"th",43),S(1," Id "),J())},XIa=function(a,b){a&1&&(H(0,"td",45),K(1,"b-issue-id-cell",48),J());a&2&&(a=b.$implicit,C(1),G("id",a.issueId))},YIa=function(a){a&
1&&(H(0,"th",43),S(1," Priority "),J())},ZIa=function(a,b){a&1&&(H(0,"td",45),K(1,"b-issue-priority-cell",49),J());a&2&&(a=b.$implicit,C(1),G("issue",a))},$Ia=function(a){a&1&&(H(0,"th",50),S(1," Status "),J())},aJa=function(a,b){a&1&&(H(0,"td",45),K(1,"b-issue-status-cell",49),J());a&2&&(a=b.$implicit,C(1),G("issue",a))},bJa=function(a){a&1&&(H(0,"th",43),S(1," Dupes "),J())},cJa=function(a,b){a&1&&(H(0,"td",51),S(1),J());if(a&2){a=b.$implicit;var c;C(1);Te(" ",null!==(c=null==a.snapshot[0].duplicateIssueId?
null:a.snapshot[0].duplicateIssueId.length)&&void 0!==c?c:0," ")}},dJa=function(a){a&1&&(H(0,"th",52)(1,"span",44),S(2,"Votes"),J(),K(3,"mat-icon",53),J())},eJa=function(a,b){a&1&&(H(0,"td",51),S(1),J());a&2&&(a=b.$implicit,C(1),Te(" ",a.aggregatedData.voteCount," "))},fJa=function(a){a&1&&(H(0,"th",54),S(1," Created "),J())},gJa=function(a,b){a&1&&(H(0,"td",45),K(1,"b-issue-created-time-cell",55),J());a&2&&(a=b.$implicit,C(1),G("issue",a))},hJa=function(a){a&1&&K(0,"tr",56)},iJa=function(a,b){if(a&
1){var c=x();H(0,"tr",57);O("keydown",function(d){var e=z(c),g=e.index;e=e.$implicit;var h=P(3);return A(h.onRowKeydown(g,e,d))})("keydown.enter",function(){var d=z(c).$implicit,e=P(2).tab,g=P();return A(g.selectIssue(d.issueId,e))})("focusin",function(){var d=z(c).$implicit,e=P(3);return A(Tl(e.focusManager,d))})("click",function(){var d=z(c),e=d.$implicit;d=d.index;var g=P(2).tab,h=P();h.selectIssue(e.issueId,g);return A(h.focusManager.setActiveItem(d))});J()}a&2&&G("row",b.$implicit)},kJa=function(a){if(a&
1){var b=x();H(0,"table",25);O("contentChanged",function(){z(b);var d=P().issues,e=P();return A(jJa(e,d))});L(1,26);R(2,SIa,3,0,"th",27);H(3,"mat-radio-group",28);O("change",function(d){z(b);var e=P().tab,g=P();return A(g.selectIssue(d.value,e))});R(4,TIa,3,5,"td",29);J();M();L(5,30);R(6,UIa,2,0,"th",27);R(7,VIa,2,3,"td",29);M();L(8,31);R(9,WIa,2,0,"th",27);R(10,XIa,2,1,"td",29);M();L(11,32);R(12,YIa,2,0,"th",27);R(13,ZIa,2,1,"td",29);M();L(14,33);R(15,$Ia,2,0,"th",34);R(16,aJa,2,1,"td",29);M();L(17,
35);R(18,bJa,2,0,"th",27);R(19,cJa,2,1,"td",36);M();L(20,37);R(21,dJa,4,0,"th",38);R(22,eJa,2,1,"td",36);M();L(23,39);R(24,fJa,2,0,"th",40);R(25,gJa,2,1,"td",29);M();R(26,hJa,1,0,"tr",41);R(27,iJa,1,1,"tr",42);J()}if(a&2){a=P().issues;var c=P();G("dataSource",a)("trackBy",c.trackByIssueId);C(26);G("matHeaderRowDef",c.tableColumns);C(1);G("matRowDefColumns",c.tableColumns)}},lJa=function(a){a&1&&(H(0,"div",58),K(1,"b-spinner",59),J())},mJa=function(a){a&1&&(H(0,"div",58)(1,"span",60),S(2,"No results found"),
J()())},nJa=function(a,b){a&1&&(H(0,"div",22),R(1,kJa,28,4,"table",23),R(2,lJa,2,0,"div",24),R(3,mJa,3,0,"div",24),J());a&2&&(a=b.issues,C(1),G("ngIf",a&&a.length),C(1),G("ngIf",!a),C(1),G("ngIf",0===(null==a?null:a.length)))},oJa=function(a){if(a&1){var b=x();H(0,"button",4);O("click",function(c){z(b);P().expansionChange.emit();c.stopPropagation();return A()});K(1,"b-icon",5);J()}a&2&&(a=P(),Ie("collapsed",!a.expanded),Ae("aria-label",a.expanded?"Collapse children":"Expand children"))},pJa=function(a){a&
1&&K(0,"div",6)},qJa=function(){},tJa=function(){var a={timeout:5E3};a=void 0===a?{}:a;return null!=rJa?rJa:rJa=sJa(a)},uJa=function(){return new Promise(function(a,b){window.gapi.load("client",{callback:a,onerror:b})})},sJa=function(a){a=void 0===a?{}:a;var b;return Ld(function(c){if(1==c.nextAddress)return(b=window.gapi)&&b.client&&b.client.load?c.return(b):c.yield(vJa(Ul(Vl("https://apis.google.com/js/api.js")),a),2);if(3!=c.nextAddress){b=window.gapi;if(!b)throw Error("dd");return b.client&&b.client.load?
c.jumpTo(3):c.yield(uJa(),3)}return c.return(b)})},wJa=function(a,b,c){var d=a.config.get(b);c!==d&&a.config.update(b,c)},yJa=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(xJa.has(a))return xJa.get(a);b=Promise.resolve(c.reloadAuthResponse()).finally(function(){xJa.delete(a)});xJa.set(a,b);return b}return Promise.resolve()},zJa=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})},AJa=function(a){if(a&1){var b=x();H(0,"div",5);O("clickOutside",function(){z(b);var c=P();return A(c.hide())});H(1,"div",6);S(2," Relative link may be malformed:\u00a0 ");H(3,"code");S(4);J();H(5,"button",7);O("click",function(){z(b);var c=P();return A(c.copyToClipboard())});K(6,"mat-icon",8);J()();H(7,"div",6);S(8," Force open as: \u00a0 ");H(9,"a",9);O("click",function(c){z(b);
var d=P();RGa(c)||(c.preventDefault(),c.stopPropagation(),Wl(d.domSafe,"http://"+d.originalHref));return A()});S(10);J()()()}a&2&&(a=P(),C(4),Ve(a.originalHref),C(5),Pe("href","http://",a.originalHref,"",vd),C(1),Te(" http://",a.originalHref," "))},BJa=function(){return{color:"accent",clickAction:"check-indeterminate"}},CJa=function(a){a&1&&(H(0,"b-glue"),K(1,"mat-icon",5),J())},GJa=function(a){if(a&1){var b=x();H(0,"div",6);O("clickOutside",function(){z(b);var c=P();return A(c.hide())});H(1,"span",
7)(2,"a",8);O("click",function(c){z(b);var d=P();return A(DJa(d,c))})("keydown",function(c){z(b);var d=P();return A(EJa(d,c))});S(3);J()();H(4,"button",9);O("keydown.Tab",function(c){z(b);var d=P();return A(FJa(d,c))})("click",function(){z(b);var c=P();return A(c.copyToClipboard())});K(5,"mat-icon",10);J()()}a&2&&(a=P(),C(2),G("href",a.originalHref,vd)("rel",a.EXTERNAL_LINK_REL),C(1),Ve(a.originalHref))},HJa=function(a){a&1&&(L(0),K(1,"img",3),T(2,"async"),M());if(a&2){a=P(2);var b;C(1);G("src",U(2,
2,a.srcRedirected$),vd);Ae("alt",null!==(b=a.alt)&&void 0!==b?b:"user provided image")}},IJa=function(a){a&1&&(L(0),R(1,HJa,3,4,"ng-container",0),T(2,"async"),M());if(a&2){a=P();var b=Se(3);C(1);G("ngIf",U(2,2,a.showImage$))("ngIfElse",b)}},JJa=function(a){if(a&1){var b=x();H(0,"a",4);O("click",function(c){z(b);var d=P();return A(d.trigger(c))})("keydown.enter",function(c){z(b);var d=P();return A(d.trigger(c))});T(1,"async");T(2,"async");H(3,"b-glue");K(4,"mat-icon",5);J();L(5);S(6);T(7,"async");
M();J()}a&2&&(a=P(),G("href",U(1,3,a.src$),vd)("title",U(2,5,a.src$)),C(6),Ve(U(7,7,a.srcTruncated$)))},KJa=function(a){a&1&&(K(0,"mat-icon",6),T(1,"async"));a&2&&(a=P(),Pe("matTooltip","Unable to load image ",U(1,1,a.srcTruncated$),""))},LJa=function(a){a&1&&(L(0),K(1,"br"),H(2,"a",4),K(3,"b-secure-image-widget",5),J(),K(4,"br"),M());if(a&2){a=P().ngIf;var b=P();C(2);G("href",a,vd)("rel",b.EXTERNAL_LINK_REL);C(1);G("src",a)("alt",b.alt||"User provided screenshot")("showByDefault",!0)}},MJa=function(a){a&
1&&K(0,"b-secure-image-widget",6);if(a&2){a=P().ngIf;var b=P();G("src",a)("alt",b.alt||"User provided screenshot")("showByDefault",!1)}},NJa=function(a){a&1&&(L(0)(1,1),T(2,"async"),R(3,LJa,5,5,"ng-container",2),R(4,MJa,1,3,"b-secure-image-widget",3),M()());a&2&&(a=P(),C(1),G("ngSwitch",U(2,3,a.displayMode$)),C(2),G("ngSwitchCase",a.DisplayMode.SHOW),C(1),G("ngSwitchCase",a.DisplayMode.COLLAPSE))},OJa=function(a){for(;a.firstChild;)a.removeChild(a.firstChild)},PJa=function(a,b){a&1&&(L(0),K(1,"b-plain-format-section",
2),M());a&2&&(a=b.$implicit,C(1),G("section",a))},QJa=function(a){a&1&&K(0,"b-plain-format-quoted-section",1);a&2&&(a=P(),G("section",a.section))},RJa=function(a){a&1&&K(0,"b-plain-format-unquoted-section",1);a&2&&(a=P(),G("section",a.section))},TJa=function(a){if(a&1){var b=x();H(0,"a",4);O("click",function(){z(b);var c=P();c.showQuote=!0;SJa(c);return A()});S(1," - Show quoted text - ");J()}a&2&&(a=P(),Ae("aria-controls",a.childId))},UJa=function(a){if(a&1){var b=x();H(0,"a",5);O("click",function(){z(b);
var c=P();c.showQuote=!1;SJa(c);return A()});S(1," - Hide quoted text - ");J()}a&2&&(a=P(),Ae("aria-controls",a.childId))},VJa=function(a,b){a&1&&(L(0),K(1,"b-literal-format-presenter",1),M());a&2&&(a=b.ngIf,C(1),G("content",a))},WJa=function(a,b){a&1&&(L(0),K(1,"b-markdown-format-presenter",1),M());a&2&&(a=b.ngIf,C(1),G("content",a))},XJa=function(a,b){a&1&&(L(0),K(1,"b-plain-format-presenter",1),M());a&2&&(a=b.ngIf,C(1),G("content",a))},YJa=function(a){switch(a.formattingMode){case "LITERAL":return(0,F.of)({literalFormat:{content:ova(Kf(a.comment))}});
case "MARKDOWN":return a={markdownFormat:{content:ova(Kf(""))}},(0,F.of)(a);case void 0:case "PLAIN":case "UNSPECIFIED_FORMATTING_MODE":return a={plainFormat:{plainSection:[{isQuoted:!1,content:ova(Kf(a.comment))}]}},(0,F.of)(a);default:return og(a.formattingMode,"Unknown formatting mode: "+a.formattingMode)}},ZJa=function(a,b){a&1&&(L(0),H(1,"div",1),K(2,"b-formatted-comment-presenter",2),J(),M());a&2&&(a=b.$implicit,b=P(),C(1),Ie("invisible",""===(b.comment||"").trim())("error",a.isFallback),C(1),
G("formattedComment",a.formattedComment))},$Ja=function(a){a&1&&(H(0,"a",2),K(1,"mat-icon",3),J());a&2&&(a=P(),G("href",a.mdHelpLink,vd)("disableRipple",!0))},aKa=function(a){a&1&&K(0,"b-formatted-comment-presenter",4);a&2&&(a=P(),G("formattedComment",a.note.formattedComment))},bKa=function(a){a&1&&K(0,"b-live-preview",5);a&2&&(a=P(),G("comment",a.rawComment)("issueId",a.issueId)("audience",a.audience)("formattingMode",a.formattingModeOverride||a.formattingMode||a.FormattingMode.PLAIN)("idPrefix",
a.idPrefix))},cKa=function(a,b){if(a&1){var c=x();H(0,"a",8);O("click",function(){var d=z(c).$implicit,e=P(2);return A(e.clickSegment.emit(d.name||d.path))});S(1);J()}a&2&&(a=b.$implicit,G("href",a.path,vd),C(1),Te(" ",a.name||a.path," "))},dKa=function(a){a&1&&(L(0),H(1,"button",4),K(2,"mat-icon",5),J(),H(3,"mat-menu",null,6),R(5,cKa,2,2,"a",7),J(),M());if(a&2){var b=Se(4);a=P();C(1);G("matMenuTriggerFor",b);C(4);G("ngForOf",a.segments)}},eKa=function(a){if(a&1){var b=x();H(0,"button",4);O("click",
function(){z(b);var c=P();return A(c.toggle())});K(1,"mat-icon",5);J()}a&2&&(a=P(),Ie("isClosed",a.isClosed),G("ngClass",a.direction)("matTooltip",a.toggleButtonLabel),Ae("aria-label",a.toggleButtonLabel),C(1),G("svgIcon",a.isLTR?"chevron-left":"chevron-right"))},fKa=function(a){a=a.getBoundingClientRect();return 0<=a.top&&a.bottom<=window.innerHeight},gKa=function(a){a=a.getBoundingClientRect();return 0<a.bottom&&a.top<window.innerHeight},hKa=function(a,b,c,d){var e=(d=void 0===d?!1:d)?function(g){return c.partially(g)}:
function(g){return c.fully(g)};return(new F.Observable(function(g){g.next(e(a));var h=b(function(l){g.next(l[0].isIntersecting)},d?{threshold:0}:{threshold:1});h.observe(a);return function(){h.unobserve(a)}})).pipe(fe())},iKa=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,F.merge)((0,F.of)(void 0),(0,F.fromEvent)(window,"scroll").pipe(de(500))).pipe(E(function(){return d(a)}),fe())},jKa=function(a){a&1&&(H(0,"span",8),S(1),J());a&
2&&(a=P(),C(1),Ve(a.placeholder))},kKa=function(a){a&1&&(H(0,"span",12),S(1),J());a&2&&(a=P(2),C(1),Ve(a.triggerValue))},lKa=function(a){a&1&&Oe(0,0,["*ngSwitchCase","true"])},mKa=function(a){a&1&&(H(0,"span",9),R(1,kKa,2,1,"span",10),R(2,lKa,1,0,"ng-content",11),J());a&2&&(a=P(),G("ngSwitch",!!a.customTrigger),C(2),G("ngSwitchCase",!0))},nKa=function(a){if(a&1){var b=x();H(0,"div",13)(1,"div",14,15);O("@transformPanel.done",function(c){z(b);var d=P();return A(d._panelDoneAnimatingStream.next(c.toState))})("keydown",
function(c){z(b);var d=P();return A(d._handleKeydown(c))});Oe(3,1);J()()}a&2&&(a=P(),G("@transformPanelWrap",void 0),C(1),Je("mat-select-panel ",a._getPanelTheme(),""),He("transform-origin",a._transformOrigin)("font-size",a._triggerFontSize,"px"),G("ngClass",a.panelClass)("@transformPanel",a.multiple?"showing-multiple":"showing"),Ae("id",a.id+"-panel")("aria-multiselectable",a.multiple)("aria-label",a.ariaLabel||null)("aria-labelledby",a._getPanelAriaLabelledby()))},oKa=function(a){a&1&&Le(0)},pKa=
function(a){if(a&1){var b=x();H(0,"div",3);O("mouseenter",function(){z(b);var c=P();return A(c.toggle(!0))})("mouseleave",function(){z(b);var c=P();return A(c.toggle(!1))})("mousemove",function(){z(b);P().activity.next();return A()});R(1,oKa,1,0,"ng-container",4);J()}a&2&&(a=P(),G("ngClass",a.bubbleStyle)("@fade",void 0),C(1),G("ngTemplateOutlet",a.panelTemplate))},qKa=function(a){a&1&&(L(0),H(1,"span",3),S(2),T(3,"toAccessLevelLabel"),J(),M());a&2&&(a=P(2),C(1),Ie("xs",a.compactMode),G("ngClass",
a.chipClass),C(1),Te(" ",bf(3,4,a.accessLevel,a.compactMode)," "))},rKa=function(a){a&1&&(H(0,"div",7),S(1),H(2,"a",8),S(3," Learn more"),J()());a&2&&(a=P(3),C(1),Te(" ",a.bubbleText," "),C(1),G("href",Xl(a.documentationLinks),vd))},sKa=function(a){a&1&&(H(0,"xap-bubble",4)(1,"span",5),S(2),T(3,"toAccessLevelLabel"),J(),R(4,rKa,4,2,"ng-template",null,6,of),J());if(a&2){var b=Se(5);a=P(2);G("panelTemplate",b);C(1);Ie("xs",a.compactMode);G("ngClass",a.chipClass);C(1);Te(" ",bf(3,5,a.accessLevel,a.compactMode),
" ")}},tKa=function(a){a&1&&(L(0),R(1,qKa,4,7,"ng-container",1),R(2,sKa,6,8,"ng-template",null,2,of),M());if(a&2){var b=Se(3);a=P();C(1);G("ngIf",a.labelOnlyMode)("ngIfElse",b)}},uKa=function(a){a&1&&(L(0),S(1,"Un-"),M())},vKa=function(a){a&1&&(H(0,"span"),S(1," Assigned to "),K(2,"b-user-display",16),J());a&2&&(a=P(2).ngIf,C(2),G("model",a.assigneeUser)("hovercardEnabled",!1))},wKa=function(a){a&1&&(H(0,"span"),S(1," Accepted by "),K(2,"b-user-display",16),J());a&2&&(a=P(2).ngIf,C(2),G("model",a.assigneeUser)("hovercardEnabled",
!1))},xKa=function(a){a&1&&(H(0,"span"),S(1," Duplicate of "),H(2,"a",3),S(3),J()());if(a&2){a=P(2).ngIf;var b=P(),c;C(2);Be("aria-label","Go to issue ",a.duplicateOfIssueId,"");G("href",b.editIssue(null!==(c=a.duplicateOfIssueId)&&void 0!==c?c:void 0),vd);C(1);Te(" ",a.duplicateOfIssueId," ")}},yKa=function(a){a&1&&(H(0,"span"),S(1),J());if(a&2){a=P().ngIf;var b=P(2);C(1);Te(" ",b.STATUS_JS_FULL_TEXT[a]," ")}},zKa=function(a,b){a&1&&(L(0,13),R(1,vKa,3,2,"span",14),R(2,wKa,3,2,"span",14),R(3,xKa,
4,3,"span",14),R(4,yKa,2,1,"span",15),M());a&2&&(G("ngSwitch",b.ngIf),C(1),G("ngSwitchCase","ASSIGNED"),C(1),G("ngSwitchCase","ACCEPTED"),C(1),G("ngSwitchCase","DUPLICATE"))},AKa=function(a,b){a&1&&(L(0),K(1,"b-app-vote-button",17),M());if(a&2){a=b.ngIf;b=P().ngIf;var c=P(2),d;C(1);G("issueId",c.issueId)("voteCount",b.voteCount)("upvoted",null!==(d=a.voted)&&void 0!==d?d:!1)}},BKa=function(a){a&1&&(L(0),R(1,AKa,2,3,"ng-container",1),M());a&2&&(a=P(2),C(1),G("ngIf",a.issue.userData))},DKa=function(a){if(a&
1){var b=x();L(0);H(1,"button",18);O("click",function(){z(b);var c=P(2);return A(CKa(c,c.childContextId))});S(2," Unlink parent ");J();M()}},EKa=function(a,b){a&1&&(H(0,"li"),S(1," Last updated by "),K(2,"b-user-display",16),S(3," on: "),K(4,"b-formatted-date-time",19),J());a&2&&(a=b.ngIf,b=P().ngIf,C(2),G("model",a)("hovercardEnabled",!1),C(2),G("timestamp",b.modifiedTimeMicros/1E3))},FKa=function(a,b){a&1&&(L(0),R(1,EKa,5,3,"li",1),H(2,"li"),S(3," Reported by "),K(4,"b-user-display",16),S(5," on: "),
K(6,"b-formatted-date-time",19),J(),M());a&2&&(a=b.ngIf,b=P().ngIf,C(1),G("ngIf",a.lastModifier),C(3),G("model",b.reporterUser)("hovercardEnabled",!1),C(2),G("timestamp",a.createdTimeMicros/1E3))},GKa=function(a){a&1&&(H(0,"li",20),K(1,"b-note-container",21),J());if(a&2){a=P(2);var b;C(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())}},JKa=function(a,b){if(a&1){var c=x();L(0);H(1,"div",2)(2,"h3")(3,"a",3);S(4);J();S(5," \u00a0 ");H(6,"span",4);S(7);J()();H(8,"ul")(9,"li",5);K(10,"b-access-level-indicator",6);J();H(11,"li",7)(12,"span",8);S(13);J();S(14," \u00a0 ");R(15,zKa,5,4,"ng-container",9);J()();H(16,"div",10)(17,"b-cc-button",11);O("onCc",function(g){z(c);var h=P();h.location&&g&&h.analytics.trackEvent(h.location+"_"+Yl.ISSUE_CARD,"add","CC");return A()});J();R(18,BKa,2,1,"ng-container",1);R(19,DKa,3,0,"ng-container",
1);J();H(20,"ul");R(21,FKa,7,4,"ng-container",1);R(22,GKa,2,4,"li",12);J()();M()}if(a&2){a=b.ngIf;b=P();var d,e;C(3);Be("aria-label","Go to issue ",b.issueId,"");G("href",b.editIssue(b.issueId),vd);C(1);Ve(b.issueId);C(3);Ve(a.title);C(3);G("labelOnlyMode",!0)("accessLevel",null==b.issue.accessLimit?null:b.issue.accessLimit.accessLevel);C(2);G("ngClass",b.priorityClass(a.priority));C(1);Ve(b.ISSUE_PRIORITY_TEXT_JS[null!==(d=a.priority)&&void 0!==d?d:b.ISSUE_PRIORITY_ENUM.PRIORITY_UNSPECIFIED]);C(2);
G("ngIf",a.status);C(2);G("issueId",b.issueId)("ccState",HKa(b,null!==(e=a.ccUsers)&&void 0!==e?e:Ye(15,IKa)));C(1);G("ngIf",b.issue.aggregatedData);C(1);G("ngIf",b.childContextId);C(2);G("ngIf",b.issue.aggregatedData);C(1);G("ngIf",b.firstEvent.unlinkifiedComment)}},KKa=function(a){a&1&&K(0,"b-user-image",5);a&2&&(a=P(),G("email",a.email))},LKa=function(a){a&1&&Le(0)},MKa=function(a){a&1&&(L(0),H(1,"span",6),R(2,LKa,1,0,"ng-container",7),J(),H(3,"onedev-hovercard",null,8),K(5,"b-issue-person-card",
9),J(),M());if(a&2){var b=Se(4);a=P();var c=Se(4);C(1);G("onedevHovercardTrigger",b);C(1);G("ngTemplateOutlet",c);C(3);G("email",a.email)}},NKa=function(a){a&1&&(H(0,"span"),S(1),J());a&2&&(a=P(),C(1),Ve(a.email))},OKa=function(a){a&1&&(H(0,"span",10),K(1,"b-availability-chip",11),J());a&2&&(a=P(),C(1),G("user",a.email))},PKa=function(a){a&1&&K(0,"b-user-image",6);a&2&&(a=P(),G("email",a.email))},QKa=function(a){a&1&&K(0,"b-user-display-name",7);a&2&&(a=P(),G("email",a.email)("hovercardFocusEnabled",
!0)("availabilityChipEnabled",!1))},RKa=function(a){a&1&&Le(0)},SKa=function(a){a&1&&(L(0),H(1,"span",10),R(2,RKa,1,0,"ng-container",11),J(),H(3,"onedev-hovercard",null,12),K(5,"b-issue-person-card",13),J(),M());if(a&2){var b=Se(4);P();var c=Se(2);a=P();C(1);G("onedevHovercardTrigger",b);C(1);G("ngTemplateOutlet",c);C(3);G("email",a.email)}},TKa=function(a){a&1&&(H(0,"span",14),S(1),J());a&2&&(a=P(2),C(1),Ve(a.email))},UKa=function(a){a&1&&(R(0,SKa,6,3,"ng-container",8),R(1,TKa,2,1,"ng-template",
null,9,of));if(a&2){var b=Se(2);a=P();G("ngIf",a.isNonObfuscatedEmail(a.email))("ngIfElse",b)}},VKa=function(a){a&1&&(K(0,"mat-icon",15),T(1,"async"),T(2,"async"));if(a&2){a=P();var b,c;G("svgIcon",null!==(b=U(1,2,a.iconName$))&&void 0!==b?b:"")("matTooltip",null!==(c=U(2,4,a.iconToolTip$))&&void 0!==c?c:"")}},WKa=function(a){a&1&&(L(0),K(1,"b-availability-chip",16),M());a&2&&(a=P(),C(1),G("user",a.email))},XKa=function(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1}},
YKa=function(a,b){a&1&&(H(0,"div",0,1),Oe(2),J());a&2&&(a=b.id,b=P(),G("id",b.id)("ngClass",b._classList),Ae("aria-label",b.ariaLabel||null)("aria-labelledby",b._getPanelAriaLabelledby(a)))},ZKa=function(a){a&1&&(H(0,"div")(1,"div",9),S(2," An issue cannot reference itself. "),J()())},$Ka=function(a){a&1&&(H(0,"mat-option",10)(1,"div",11),K(2,"b-spinner",12),J()());a&2&&(C(2),G("large",!0))},aLa=function(a){a&1&&(H(0,"mat-option",13),S(1," No issues found. "),J())},bLa=function(a){a&1&&K(0,"mat-icon",
24);if(a&2){a=P().$implicit;var b=P();G("svgIcon",b.STATUS_ICON[a.status])}},cLa=function(a){a&1&&K(0,"b-issue-card",25,26);if(a&2){var b=Se(1);a=P().$implicit;G("onedevIsHovercardReady",b.init)("issueId",a.resourceId)}},eLa=function(a,b){a&1&&(H(0,"mat-option",14)(1,"div",15),R(2,bLa,1,1,"mat-icon",16),H(3,"strong",17),S(4),J(),H(5,"onedev-hovercard",null,18),R(7,cLa,2,2,"b-issue-card",19),J(),H(8,"a",20),O("click",function(d){return d.stopPropagation()}),K(9,"mat-icon",21),J(),H(10,"span",22),S(11),
J(),K(12,"div",23),T(13,"boldPrefixMatches"),J()());if(a&2){a=b.$implicit;var c=Se(6);b=P();G("value",a);C(1);Ae("aria-label",a.resourceId+", "+a.displayText+", click ALT RightArrow to open the issue in a new tab.");C(1);G("ngIf",a.status);C(1);Qe("title",a.resourceId);C(1);Te(" ",a.resourceId," ");C(4);G("onedevHovercardTrigger",c)("href",b.getIssueLink(a),vd);C(3);Ve(dLa(a));C(1);Qe("title",a.displayText);G("innerHTML",bf(13,10,a.displayText,b.query),ud)}},fLa=function(a,b){a&1&&(H(0,"a",13),S(1),
J());a&2&&(a=b.$implicit,b=b.last,Pe("href","issues/",a.resourceId,"",vd),C(1),We(" ",a.resourceId,"",b?"":","," "))},gLa=function(a){a&1&&(H(0,"div",11),R(1,fLa,2,3,"a",12),J());a&2&&(a=P(),C(1),G("ngForOf",a.selectedIssues))},hLa=function(a){a&1&&(H(0,"div",11)(1,"a",14)(2,"span",15),S(3),J(),H(4,"span"),K(5,"mat-icon",16),J()()());a&2&&(a=P(),C(1),Pe("href","issues/",a.selectedIssues[0].resourceId,"",vd),C(2),Te(" ",a.selectedIssues[0].displayText," "))},jLa=function(a){if(a&1){var b=x();H(0,"div",
17)(1,"div",18);O("click",function(){z(b);var c=P();return A(iLa(c))})("keyup.space",function(){z(b);var c=P();return A(iLa(c))});J()()}a&2&&(a=P(),C(1),G("matTooltip",a.isQueryRestricted?"Searching in current component tree":"Click to search in current component tree"),Ae("aria-checked",a.isQueryRestricted))},kLa=function(a,b){return[].concat(Jc(b)).map(function(c){return Zl[c]}).every(function(c){return c.check(a)})},lLa=function(a){return!!Zl[a]},$l=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))},mLa=function(a){a&1&&Oe(0)},nLa=function(a){a&1&&Le(0)},oLa=function(a){if(a&1){var b=x();H(0,"button",7,8);O("click",function(e){z(b);var g=P();return A(g.onClick(e))});R(2,nLa,1,0,"ng-container",9);J()}if(a&2){a=P();var c=Se(1),d;G("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",null!==(d=a.tooltip)&&void 0!==d?d:"");Ae("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);
C(2);G("ngTemplateOutlet",c)}},pLa=function(a){a&1&&Le(0)},qLa=function(a){if(a&1){var b=x();H(0,"button",10,8);O("click",function(e){z(b);var g=P();return A(g.onClick(e))});R(2,pLa,1,0,"ng-container",9);J()}if(a&2){a=P();var c=Se(1),d;G("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",null!==(d=a.tooltip)&&void 0!==d?d:"");Ae("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);C(2);G("ngTemplateOutlet",c)}},rLa=function(a){a&1&&Le(0)},sLa=function(a){if(a&1){var b=x();
H(0,"button",11,8);O("click",function(e){z(b);var g=P();return A(g.onClick(e))});R(2,rLa,1,0,"ng-container",9);J()}if(a&2){a=P();var c=Se(1),d;G("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",null!==(d=a.tooltip)&&void 0!==d?d:"");Ae("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);C(2);G("ngTemplateOutlet",c)}},tLa=function(a){a&1&&Le(0)},uLa=function(a){if(a&1){var b=x();H(0,"button",12,8);O("click",function(e){z(b);var g=P();return A(g.onClick(e))});R(2,tLa,1,
0,"ng-container",9);J()}if(a&2){a=P();var c=Se(1),d;G("color",a.color)("disabled",a.disabled)("ngClass",a.size)("matTooltip",null!==(d=a.tooltip)&&void 0!==d?d:"");Ae("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);C(2);G("ngTemplateOutlet",c)}},vLa=function(a){a&1&&Le(0)},wLa=function(a){if(a&1){var b=x();H(0,"button",7,8);O("click",function(e){z(b);var g=P();return A(g.onClick(e))});R(2,vLa,1,0,"ng-container",9);J()}if(a&2){a=P();var c=Se(1),d;G("color",a.color)("disabled",a.disabled)("ngClass",
a.size)("matTooltip",null!==(d=a.tooltip)&&void 0!==d?d:"");Ae("aria-label",a.bAriaLabel)("aria-expanded",a.bAriaExpanded);C(2);G("ngTemplateOutlet",c)}},xLa=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:og(a)}},zLa=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=yLa(b),g=b.nextElementSibling&&yLa(b.nextElementSibling),h=b.previousElementSibling&&yLa(b.previousElementSibling);if("top"===a){var l;if((null==(l=b.previousElementSibling)?0:l.classList.contains("dragging"))&&h===e)return d="none",c();d="before";return c()}if("bottom"===a){if(null!=g&&e<g){var q;if(null==(q=b.nextElementSibling)?0:q.classList.contains("dragging"))return d="none",c();b=b.nextElementSibling;d="before";return c()}var v;if((null==(v=b.nextElementSibling)?0:v.classList.contains("dragging"))&&
e===g)return d="none",c();d="after";return c()}d="current";return c()},yLa=function(a){return Number(a.dataset.level)},ALa=function(a){var b;return am(null!=(b=a.dataset.ancestorchain)?b:"")},BLa=function(a){a&1&&K(0,"th",28)},CLa=function(a){if(a&1){var b=x();H(0,"td",29,30);O("click",function(c){z(b);Se(1).focus();return A(c.stopPropagation())});J()}},DLa=function(a){a&1&&K(0,"th",28)},ELa=function(a){if(a&1){var b=x();H(0,"td",31,32);O("click",function(c){z(b);Se(1).focus();return A(c.stopPropagation())})("dragstart",
function(c){z(b);var d=P();return A(d.handleDragStart(c))});K(2,"mat-icon",33);J()}},FLa=function(a){a&1&&(H(0,"th",28),S(1," Id "),J())},GLa=function(a,b){a&1&&(H(0,"td",34),K(1,"b-issue-id-cell",35),J());a&2&&(a=b.$implicit,C(1),G("id",a.id))},HLa=function(a){a&1&&(H(0,"th",28),S(1," Id "),J())},ILa=function(a){a&1&&(H(0,"td",34),S(1,"--"),J())},JLa=function(a){a&1&&(H(0,"th",28),S(1," Title "),J())},KLa=function(a,b){if(a&1){var c=x();H(0,"td",34)(1,"b-expandable-issue-title-cell",36);O("expansionChange",
function(){var d=z(c).$implicit,e=P();return A(e.toggleExpansion(d))});T(2,"async");T(3,"async");J()()}a&2&&(a=b.$implicit,C(1),G("issue",U(2,4,a.issue$))("expandable",U(3,6,a.hasChildren$))("expanded",!!a.expandedCount)("level",a.level))},LLa=function(a){a&1&&(H(0,"th",28),S(1," Type "),J())},MLa=function(a,b){a&1&&(H(0,"td",34),K(1,"b-issue-type-cell",37),T(2,"async"),J());a&2&&(a=b.$implicit,C(1),G("issue",U(2,1,a.issue$)))},NLa=function(a){a&1&&(H(0,"th",28),S(1," Assignee "),J())},OLa=function(a,
b){a&1&&(L(0),H(1,"b-person-hovercard",41),S(2),J(),M());a&2&&(a=b.$implicit,b=P(3),C(1),G("email",b.getAssigneeString(a)),C(1),Te(" ",b.ldapOnly(b.getAssigneeString(a))," "))},PLa=function(a){a&1&&(L(0),R(1,OLa,3,2,"ng-container",21),T(2,"async"),M());a&2&&(a=P().$implicit,C(1),G("ngIf",U(2,1,a.issue$)))},QLa=function(a,b){a&1&&K(0,"b-user-image",41);a&2&&G("email",b.$implicit)},RLa=function(a,b){a&1&&(L(0),R(1,QLa,1,1,"b-user-image",42),M());a&2&&(a=b.$implicit,b=P(3),C(1),G("ngIf",b.getAssigneeString(a)))},
SLa=function(a){a&1&&(L(0),R(1,RLa,2,1,"ng-container",21),T(2,"async"),M());a&2&&(a=P().$implicit,C(1),G("ngIf",U(2,1,a.issue$)))},TLa=function(a,b){a&1&&K(0,"b-user-image",41);a&2&&G("email",b.$implicit)},ULa=function(a){a&1&&(L(0),R(1,TLa,1,1,"b-user-image",42),M());if(a&2){a=P().$implicit;var b=P(3);C(1);G("ngIf",b.getAssigneeString(a))}},VLa=function(a,b){a&1&&(L(0),R(1,ULa,2,1,"ng-container",21),M());a&2&&(a=b.$implicit,b=P(3),C(1),G("ngIf",b.isInProgress(a)))},WLa=function(a){a&1&&(L(0),R(1,
VLa,2,1,"ng-container",21),T(2,"async"),M());a&2&&(a=P().$implicit,C(1),G("ngIf",U(2,1,a.issue$)))},XLa=function(a){a&1&&(K(0,"b-issue-assignee-cell",37),T(1,"async"));a&2&&(a=P().$implicit,G("issue",U(1,1,a.issue$)))},YLa=function(a){a&1&&(H(0,"td",34),L(1,38),R(2,PLa,3,3,"ng-container",39),R(3,SLa,3,3,"ng-container",39),R(4,WLa,3,3,"ng-container",39),R(5,XLa,2,3,"b-issue-assignee-cell",40),M(),J());a&2&&(a=P(),C(1),G("ngSwitch",a.options.assigneeMode),C(1),G("ngSwitchCase","short"),C(1),G("ngSwitchCase",
"avatar"),C(1),G("ngSwitchCase","avatar-in-progress"))},ZLa=function(a){a&1&&(H(0,"th",28),S(1," Status "),J())},$La=function(a,b){a&1&&(L(0),H(1,"a",45),S(2," Fix Pending "),J(),M());a&2&&(a=b.$implicit,C(1),Pe("href","http://cl/",a.changelistNumber,"",vd),Re("matTooltip","Open cl/",a.changelistNumber," from ",a.author,""))},aMa=function(a){a&1&&(L(0),R(1,$La,3,3,"ng-container",21),M());if(a&2){a=P().$implicit;var b=P();C(1);G("ngIf",null==b.projectData?null:null==b.projectData.bugToPendingFixCl?
null:b.projectData.bugToPendingFixCl.get(a.id))}},bMa=function(a){a&1&&(K(0,"b-issue-status-cell",37),T(1,"async"));a&2&&(a=P().$implicit,G("issue",U(1,1,a.issue$)))},dMa=function(a,b){a&1&&(H(0,"td",34),R(1,aMa,2,1,"ng-container",43),R(2,bMa,2,3,"ng-template",null,44,of),J());if(a&2){a=b.$implicit;var c=Se(3);b=P();C(1);G("ngIf",b.options.showPendingFixCls&&cMa(b,a.id))("ngIfElse",c)}},eMa=function(a){a&1&&(H(0,"th",28),S(1," Team "),J())},fMa=function(a,b){a&1&&(H(0,"td",34),K(1,"b-issue-team-cell",
37),T(2,"async"),J());a&2&&(a=b.$implicit,C(1),G("issue",U(2,1,a.issue$)))},gMa=function(a){a&1&&K(0,"th",28)},hMa=function(a,b){a&1&&(H(0,"td",34)(1,"b-actions-menu",46),O("click",function(c){return c.stopPropagation()}),J()());a&2&&(a=b.$implicit,b=P(),C(1),G("menuItems",b.getMenuItems(a)))},iMa=function(a){a&1&&(H(0,"th",28),S(1," CLs "),J())},jMa=function(a,b){a&1&&(H(0,"b-async-data-placeholder",48)(1,"a",49),O("click",function(c){return c.stopPropagation()}),K(2,"b-formatted-date-time",50),
J()());a&2&&(a=b.ngIf,G("isReady",null!==a.cl),C(1),Pe("href","http://cl/",null==a.cl?null:a.cl.changelistNumber,"",vd)("matTooltip","Submitted by ",null==a.cl?null:a.cl.author,""),C(1),G("paddingLeftPx",0)("timestamp",null==a.cl?null:a.cl.timestamp))},lMa=function(a){a&1&&(L(0),R(1,jMa,3,5,"b-async-data-placeholder",47),T(2,"async"),T(3,"mostRecentCL$"),M());a&2&&(a=P().$implicit,C(1),G("ngIf",Ze(5,kMa,U(2,1,U(3,3,a.issue$)))))},mMa=function(a,b){a&1&&(H(0,"td",34),R(1,lMa,4,7,"ng-container",21),
J());a&2&&(a=b.$implicit,C(1),G("ngIf",0<a.level))},nMa=function(a){a&1&&K(0,"th",28)},oMa=function(a){a&1&&(H(0,"b-actions-menu",46),O("click",function(c){return c.stopPropagation()}),J());if(a&2){a=P().$implicit;var b=P();G("menuItems",b.getMenuItemsForDraft(a))}},pMa=function(a){a&1&&K(0,"b-spinner")},qMa=function(a,b){a&1&&(H(0,"td",51),R(1,oMa,1,1,"b-actions-menu",52),R(2,pMa,1,0,"ng-template",null,53,of),J());if(a&2){a=b.$implicit;var c=Se(3);C(1);G("ngIf",!a.saving)("ngIfElse",c)}},rMa=function(a,
b){if(a&1){var c=x();H(0,"td",34)(1,"b-async-data-placeholder",48);T(2,"async");H(3,"b-button",54);O("onAction",function(){var d=z(c).$implicit,e=P();return A(e.displayAllSiblings(d))});H(4,"span",55);S(5);J()()()()}a&2&&(a=b.$implicit,b=P(),He("padding-left",24*a.level+b.TITLE_FIXED_OFFSET_PX,"px"),Ae("colspan",b.tableColumns.length),C(1),G("isReady",!!U(2,5,a.parentIssue$)),C(4),Te("Display ",a.truncatedSiblingCount," more"))},sMa=function(a){a&1&&(H(0,"th",28),S(1," Title "),J())},tMa=function(a,
b){if(a&1){var c=x();H(0,"td",34)(1,"div",56)(2,"b-text-input-cell",57);O("valueChange",function(d){var e=z(c).$implicit;return A(e.title=d)})("commit",function(){var d=z(c).$implicit,e=P();return A(e.saveDraft(d))});J();H(3,"b-button",58);O("onAction",function(){var d=z(c).$implicit,e=P();return A(e.saveDraft(d))});S(4," Create ");J();H(5,"b-button",59);O("onAction",function(){var d=z(c).$implicit,e=P();return A(e.cancelDraft(d))});S(6," Cancel ");J()()()}a&2&&(a=b.$implicit,He("padding-left",24*
(a.level+1),"px"),C(2),G("value",a.title)("readonly",a.saving),C(1),G("disabled",!a.title||a.saving),C(2),G("disabled",a.saving))},uMa=function(a){a&1&&K(0,"tr",61)},vMa=function(a){a&1&&(L(0),R(1,uMa,1,0,"tr",60),M());a&2&&(a=P(),C(1),G("matHeaderRowDef",a.tableColumns))},xMa=function(a,b){if(a&1){var c=x();H(0,"tr",62);O("click",function(d){var e=z(c).$implicit,g=P();return A(g.navigateToIssue(d,e))})("mouseup",function(d){var e=z(c).$implicit,g=P();return A(g.navigateToIssue(d,e))})("focusin",
function(){var d=z(c).$implicit,e=P();return A(Tl(e.focusManager,d))})("keydown",function(d){var e=z(c).$implicit,g=P();return A(g.onRowKeydown(e,d))});T(1,"async");T(2,"async");T(3,"async");J()}a&2&&(a=b.$implicit,b=P(),Ie("selected",U(1,10,wMa(b.selectionModel,a.ancestorChain)))("closed",b.isClosed(U(2,12,a.issue$)))("highlighted",!!b.getUserInvolvement(U(3,14,a.issue$))),G("row",a),Ae("data-level",a.level)("data-type",a.type)("data-ancestorchain",a.ancestorChain.hash()))},yMa=function(a,b){if(a&
1){var c=x();H(0,"tr",63);O("focusin",function(){var d=z(c).$implicit,e=P();return A(Tl(e.focusManager,d))})("keydown",function(d){var e=z(c).$implicit,g=P();return A(g.onRowKeydown(e,d))});J()}a&2&&(a=b.$implicit,G("row",a),Ae("data-level",a.level)("data-type",a.type)("data-ancestorchain",a.ancestorChain.hash()))},zMa=function(a,b){if(a&1){var c=x();H(0,"tr",64);O("keydown",function(d){var e=z(c).$implicit,g=P();return A(g.onRowKeydown(e,d))})("keydown.escape",function(){var d=z(c).$implicit,e=P();
return A(e.cancelDraft(d))})("keydown.backspace",function(){var d=z(c).$implicit,e=P();return A(d.title||e.cancelDraft(d))})("focusin",function(){var d=z(c).$implicit,e=P();return A(Tl(e.focusManager,d))});J()}a&2&&(a=b.$implicit,G("row",a),Ae("data-type",a.type))},AMa=function(a){return function(b){return yg(b,bm,1).map(function(c){return{workspaceId:c.getWorkspaceId(),workspaceName:c.getName(),issueId:a}})}},BMa=function(a,b){if(a&1){var c=x();L(0);H(1,"iframe",6);O("load",function(){z(c);var d=
P();return A(d.contentLoaded=!0)});J();M()}a&2&&(a=b.$implicit,b=P(),C(1),Ie("loading",!b.contentLoaded),G("src",a,Gha))},CMa=function(a){a&1&&K(0,"mat-spinner",7)},EMa=function(a){return DMa.some(function(b){return b.test(a)})},FMa=function(a){var b;return null==(b=a.formContent)?void 0:b.locale},JMa=function(a,b){var c=FMa(a);c=(c&&GMa.includes(c)?FMa(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))?Lf(HMa,a):Lf(IMa,a,c)},LMa=function(a,b,c,d){if(KMa)return KMa;var e=JMa(a,d);return KMa=b.feedbackV2GlobalObject?Promise.resolve(b.feedbackV2GlobalObject):new Promise(function(g,h){var l=cm(document,"SCRIPT");Ira(l,e);l.onload=function(){b.feedbackV2GlobalObject?g(b.feedbackV2GlobalObject):h("feedbackV2GlobalObject not found on window.")};l.onerror=function(){h("Feedback binary script tag failed to load: "+e.toString())};c.body.appendChild(l)})},
NMa=function(a,b,c,d){if(MMa)return MMa;var e=JMa(a,d);return MMa=b.feedbackV2GlobalObject?Promise.resolve(b.feedbackV2GlobalObject):new Promise(function(g,h){var l=cm(document,"SCRIPT");Ira(l,e);l.onload=function(){b.feedbackV2GlobalObject?g(b.feedbackV2GlobalObject):h("feedbackV2GlobalObject not found on window.")};l.onerror=function(){h("Feedback binary script tag failed to load: "+e.toString())};c.body.appendChild(l)})},OMa=function(a,b,c,d,e){e=void 0===e?!0:e;var g,h,l,q,v;return Ld(function(y){switch(y.nextAddress){case 1:return g=
Date.now(),y.yield(LMa(a,c,d,b),2);case 2:h=y.yieldResult;if(!(e||(null==(q=a.initializationData)?0:q.useNightlyRelease)||(null==(v=a.initializationData)?0:v.isLocalServer))){l=h.initializeFeedbackClient(a,g,b);y.jumpTo(3);break}return y.yield(h.initializeFeedbackClientAsync(a,g,b),4);case 4:l=y.yieldResult;case 3:return l.initiateAloha(),y.return(l)}})},PMa=function(a,b,c,d){var e,g,h;return Ld(function(l){if(1==l.nextAddress)return e=Date.now(),l.yield(NMa(a,c,d.document,b),2);if(3!=l.nextAddress)return g=
l.yieldResult,l.yield(g.initializeFeedbackClientAsync(a,e,b,d),3);h=l.yieldResult;h.initiateAloha();return l.return(h)})},QMa=function(a,b,c){var d=!0;d=void 0===d?!0:d;var e,g,h,l,q,v,y,B,I,N;return Ld(function(Q){e=c||ca;if(null==(g=b)?0:null==(l=(h=g).getEnableAlohaBinarySplit)?0:l.call(h)){q=e;if(q.isFormOpened)throw v=Error("ed"),v.name="DuplicateFormError",v;q.isFormOpened=!0;a.callbacks=a.callbacks||{};y=a.callbacks.onClose||function(){};a.callbacks.onClose=function(Z){q.isFormOpened=!1;y(Z)};
try{return Q.return(PMa(a,b,q,e))}catch(Z){throw q.isFormOpened=!1,Z;}}else{B=e;if(B.isFormOpened)throw I=Error("ed"),I.name="DuplicateFormError",I;B.isFormOpened=!0;a.callbacks=a.callbacks||{};N=a.callbacks.onClose||function(){};a.callbacks.onClose=function(Z){B.isFormOpened=!1;N(Z)};try{return Q.return(OMa(a,b,B,e.document,d))}catch(Z){throw B.isFormOpened=!1,Z;}}})},TMa=function(a,b){return Ld(function(c){return c.return(new Promise(function(d){var e=RMa(null!=b?b:"")+"/aloha_form_properties?productId="+
a;qra(e,function(g){g=g.target;var h=null;try{h=vda(dm,JSON.stringify(g.getResponseJson(")]}'\n")))}catch(l){g=new dm,h=SMa(),h=jb(h,10,!0),h=jb(h,12,!0),h=jb(h,13,!1),h=jb(h,14,!0),h=jb(h,15,!0),h=jb(h,20,!1),h=Oh(g,em,1,h)}d(h)},"GET","",{},2E3,!0)}))})},RMa=function(a){return EMa(a)?a:"https://www.google.com/tools/feedback"},UMa=function(a){a&1&&(H(0,"div",8),K(1,"b-spinner"),J())},VMa=function(a){a&1&&K(0,"code",22);a&2&&(a=P(2).$implicit,P(2),G("innerHtml",Ui(a.formattingModeDiff),ud))},WMa=
function(a){a&1&&(H(0,"code",23),S(1),J());a&2&&(a=P(2).$implicit,C(1),Te(" ",a.formattingMode," "))},XMa=function(a){a&1&&(H(0,"p",19),S(1," Formatting: "),R(2,VMa,1,1,"code",20),R(3,WMa,2,1,"code",21),J());a&2&&(a=P(3),C(2),G("ngIf",a.diffView),C(1),G("ngIf",!a.diffView))},YMa=function(a){if(a&1){var b=x();H(0,"div")(1,"span",24)(2,"b-person-hovercard",25);T(3,"omitObfuscatedEmail");S(4);T(5,"appendDomain");J()();H(6,"a",26);O("click",function(c){z(b);var d=P().$implicit,e=P(2);d=d.version;c.stopPropagation();
c=e.paths.editIssue(e.issueId)+("#comment"+e.commentNumber+"version"+d);e.location.replaceState(c);return A()});S(7);J()()}a&2&&(a=P().$implicit,P(2),C(2),G("email",U(3,5,Ug(a.lastEditorUser))),C(2),Te(" <",U(5,7,Ug(a.lastEditorUser)),"> "),C(2),Be("aria-label","Comment version ",a.version,""),Pe("id","bv2-edit-issue-comment-",a.version,""),C(1),Te(" #",a.version,""))},ZMa=function(a){a&1&&(H(0,"div",30),S(1),J());a&2&&(a=P(2).$implicit,C(1),Ve(a.preview))},$Ma=function(a){a&1&&(H(0,"div",31),S(1,
"Comment deleted."),J())},aNa=function(a){a&1&&(H(0,"div",32),S(1,"Comment history restricted."),J())},bNa=function(a){a&1&&(L(0),R(1,ZMa,2,1,"div",27),R(2,$Ma,2,0,"div",28),R(3,aNa,2,0,"div",29),M());a&2&&(a=P().$implicit,C(1),G("ngIf",!a.restricted&&!a.deleted),C(1),G("ngIf",!a.restricted&&a.deleted),C(1),G("ngIf",a.restricted))},cNa=function(a){a&1&&(H(0,"div",35),S(1,"Comment deleted."),J())},dNa=function(a){a&1&&(H(0,"div",36),T(1,"async"),J());if(a&2){a=P(2).$implicit;var b=P(2);Ie("codefont",
U(1,3,b.codefont.codefont$));G("innerHtml",a.unlinkifiedComment,ud)}},eNa=function(a){a&1&&(H(0,"div",36),T(1,"async"),J());if(a&2){a=P(2).$implicit;var b=P(2);Ie("codefont",U(1,3,b.codefont.codefont$));G("innerHtml",Ui(a.diff),ud)}},fNa=function(a){a&1&&(H(0,"div",32),S(1," This comment is not available due to present or past restrictions on the comment. "),J())},gNa=function(a){a&1&&(L(0),R(1,cNa,2,0,"div",33),R(2,dNa,2,5,"div",34),R(3,eNa,2,5,"div",34),R(4,fNa,2,0,"div",29),M());if(a&2){a=P().$implicit;
var b=P(2);C(1);G("ngIf",!a.restricted&&a.deleted);C(1);G("ngIf",!b.diffView&&!a.restricted&&!a.deleted);C(1);G("ngIf",b.diffView&&!a.restricted&&!a.deleted);C(1);G("ngIf",a.restricted)}},hNa=function(a,b){if(a&1){var c=x();H(0,"li",11)(1,"div",12);K(2,"b-user-image",13);J();H(3,"div",14);O("click",function(){var d=z(c).$implicit;return A(d.open=!d.open)});K(4,"b-user-display",15)(5,"b-formatted-date-time",16);R(6,XMa,4,2,"p",17);R(7,YMa,8,9,"div",18);R(8,bNa,4,3,"ng-container",18);J();R(9,gNa,5,
4,"ng-container",18);J()}a&2&&(a=b.$implicit,P(2),Ie("comment-version-open",a.open),C(2),G("email",Ug(a.lastEditorUser)),C(2),G("model",a.lastEditorUser),C(1),G("timestamp",a.lastModified),C(1),G("ngIf",!a.deleted),C(1),G("ngIf",a.open),C(1),G("ngIf",!a.open),C(1),G("ngIf",a.open))},iNa=function(a){a&1&&(H(0,"ul",9),R(1,hNa,10,9,"li",10),J());a&2&&(a=P(),C(1),G("ngForOf",a.history)("ngForTrackBy",a.trackByIndex))},lNa=function(a,b){var c=new jNa;a=fm(c,a,b);kNa(c,a);c=a.map(function(d){var e=d[0];
d=d[1];switch(e){case -1:return Al("SPAN",{"class":"diff-removed"},d);case 1:return Al("SPAN",{"class":"diff-added"},d);case 0:return Al("SPAN",{"class":null},d);default:throw Error("gd`"+e);}});return Bl(c)},mNa=function(a){var b;return"DELETED"===(null==(b=a.entityStatus)?void 0:b.status)},nNa=function(a){a&1&&(H(0,"div",2),S(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),S(3," Learn more "),J()());a&2&&(a=P(2),C(2),G("href",a.getRestrictedAccessHelpLink(),vd))},pNa=function(a){a&1&&(L(0),R(1,nNa,4,1,"div",8),M());a&2&&(a=P(),C(1),G("ngIf",oNa(a)))},qNa=function(a){a&1&&(H(0,"div",2)(1,"span",14),S(2," You do not have access to view this attachment. "),J()())},rNa=function(a){a&1&&K(0,"mat-spinner",15)},sNa=function(a){a&1&&(H(0,"span"),S(1),J());a&2&&(a=P(),Ie("muted",a.isGreyedOut),C(1),Te(" ",a.displayName,""))},tNa=function(a){if(a&1){var b=x();H(0,"a",2);
O("click",function(c){z(b);var d=P();return A(d.handleClick(c))});S(1);J()}a&2&&(a=P(),G("href",a.linkUrl,vd)("rel",a.EXTERNAL_LINK_REL),C(1),Te(" ",a.displayName,""))},wNa=function(a){a&1&&(H(0,"span"),S(1),H(2,"b"),S(3),J(),S(4," on "),H(5,"b"),S(6),T(7,"date"),J(),S(8,". "),J());a&2&&(a=P(4),C(1),Te(" Currently, the ",a.contentType," is scheduled for deletion in "),C(2),Ve(uNa(vNa(a).getTime(),!0)),C(3),Ve(bf(7,3,vNa(a),"longDate")))},xNa=function(a){a&1&&(H(0,"span")(1,"b"),S(2,"Retention:"),
J(),S(3),H(4,"b"),S(5),J(),S(6," from the last modification of the issue. "),R(7,wNa,9,6,"span",11),J());if(a&2){a=P(3);var b=Se(10);C(3);Te(" This ",a.contentType," has a retention period of ");C(2);Ve(a.getRetentionPeriod());C(2);G("ngIf",!(vNa(a).getTime()<(new Dg).getTime()))("ngIfElse",b)}},yNa=function(a){a&1&&(S(0),H(1,"b"),S(2,"overridden"),J(),S(3," retention period set to match the issue retention period. "));a&2&&(a=P(3),Te(" The ",a.contentType," has an "))},zNa=function(a){a&1&&(H(0,
"p",10),R(1,xNa,8,4,"span",11),R(2,yNa,4,1,"ng-template",12),J());if(a&2){a=P(2);var b=Se(8);G("ngSwitch",a.retention);C(1);G("ngIf",!(a.retentionState&&!a.retentionState.scheduledDeletionTime))("ngIfElse",b);C(1);G("ngSwitchCase",a.retentionModel.INDEFINITE)}},ANa=function(a){a&1&&(H(0,"div",7)(1,"p")(2,"b"),S(3,"Restricted Access:"),J(),S(4),H(5,"a",8),S(6," Learn More "),J()(),R(7,zNa,3,4,"p",9),J());a&2&&(a=P(),C(4),Te(" This ",a.contentType," is only available to users with the appropriate permissions. "),
C(1),G("rel",a.EXTERNAL_LINK_REL),Ae("href",a.documentationLinks.getRestrictedAccessHelpLink(),vd),C(2),G("ngIf",a.retentionState))},BNa=function(a){a&1&&(H(0,"b"),S(1,"Retention:"),J(),S(2));a&2&&(a=P(),C(2),Te(" This ",a.contentType," has an indefinite retention period. "))},CNa=function(a){a&1&&(S(0," The retention has "),H(1,"b"),S(2,"expired"),J(),S(3),H(4,"b"),S(5),T(6,"date"),J(),S(7,". "));a&2&&(a=P(),C(3),Te(" and the ",a.contentType," was scheduled for deletion on "),C(2),Ve(bf(6,2,vNa(a),
"longDate")))},DNa=function(a){a&1&&(H(0,"span"),S(1),J());a&2&&(a=P().$implicit,C(1),Ve(a.text))},ENa=function(a){a&1&&(H(0,"span"),K(1,"b-access-level-indicator",2),J());a&2&&(a=P().$implicit,C(1),G("accessLevel",a.accessLevel))},FNa=function(a,b){a&1&&(H(0,"span"),R(1,DNa,2,1,"span",1),R(2,ENa,2,1,"span",1),J());a&2&&(a=b.$implicit,b=P(),C(1),G("ngIf",b.isText(a)),C(1),G("ngIf",!b.isText(a)))},HNa=function(a,b){var c=GNa.get(b);if(!c)return null;a=a.toLowerCase().indexOf(c);return 0<=a?{accessLevel:b,
startOfMatch:a,endOfMatch:a+c.length}:null},INa=function(a){if(a&1){var b=x();H(0,"div");K(1,"br");H(2,"mat-checkbox",8);O("ngModelChange",function(c){z(b);var d=P();return A(d.acknowledged=c)});J();H(3,"span");S(4,"All information in this issue is suitable for external sharing.");J()()}a&2&&(a=P(),C(2),G("ngModel",a.acknowledged))},JNa=function(a){if(a&1){var b=x();H(0,"button",9);O("click",function(){z(b);var c=P();return A(c.allow())});S(1," Move Issue ");J()}a&2&&(a=P(),G("disabled",!a.acknowledged))},
KNa=function(a){a&1&&(H(0,"span"),S(1),J());a&2&&(a=P().$implicit,C(1),Te("(",a.disabledReason,")"))},LNa=function(a,b){a&1&&(H(0,"mat-radio-button",8),S(1),R(2,KNa,2,1,"span",9),J());a&2&&(a=b.$implicit,G("value",a)("disabled",!a.enabled),C(1),Te(" ",a.displayText," "),C(1),G("ngIf",!a.enabled))},MNa=function(a){a&1&&(H(0,"span"),S(1),J());a&2&&(a=P().$implicit,C(1),Te("(",a.disabledReason,")"))},NNa=function(a,b){a&1&&(H(0,"mat-radio-button",8),S(1),R(2,MNa,2,1,"span",9),J());a&2&&(a=b.$implicit,
G("value",a)("disabled",!a.enabled),C(1),Te(" ",a.displayText," "),C(1),G("ngIf",!a.enabled))},ONa=function(a){return a?"https://goto.corp.google.com/buganizer-delete":"https://issuetracker.google.com/issues/new?component=169992&template=543202"},PNa=function(a){a&1&&K(0,"mat-icon",7);if(a&2){a:switch(P().reactionType){case "UPVOTE":a="thumb_up_24px";break a;default:a="warning"}G("svgIcon",a)}},QNa=function(a){a&1&&K(0,"b-spinner")},RNa=function(a,b){a&1&&(H(0,"div")(1,"div",9),S(2),J()());a&2&&(a=
b.$implicit,P(2),C(2),Ve(Ug(a.user)))},SNa=function(a){a&1&&(L(0),R(1,RNa,3,1,"div",8),M());a&2&&(a=P(),C(1),G("ngForOf",a.allResponders))},TNa=function(a){a&1&&(H(0,"span"),S(1),J());a&2&&(a=P(),C(1),Te("Retain ",a.resource," as long as issue?"))},UNa=function(a){a&1&&(H(0,"span"),S(1,"Apply component retention settings?"),J())},VNa=function(a){a&1&&(H(0,"span")(1,"p"),S(2),J(),H(3,"p")(4,"b"),S(5,"Please note long retention is not appropriate in many circumstances for personal data, user data, or any other forms of sensitive data being stored."),
J(),K(6,"br"),S(7," Before selecting this option, you should make sure that Legal and Privacy have approved this non-standard retention period."),J()());a&2&&(a=P(),C(2),Te("Are you sure you want to override any component retention settings, and retain this ",a.resource," as long as issue?"))},WNa=function(a){a&1&&(H(0,"span")(1,"p"),S(2),J()());a&2&&(a=P(),C(2),We("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."))},
XNa=function(a){if(a&1){var b=x();H(0,"mat-checkbox",9);O("ngModelChange",function(c){z(b);var d=P();return A(d.acknowledgeToMatchIssueRetention=c)});S(1," I acknowledge ");J()}a&2&&(a=P(),G("ngModel",a.acknowledgeToMatchIssueRetention))},YNa=function(){var a=Math.random;this.initialMaxDelayMs_=500;this.random_=a;this.reset()},hm=function(a){return new gm((a instanceof gm?a:new gm(a)).value,!0)},bOa=function(a){if(a.oauthTokens){var b=a.oauthTokens;return(0,F.firstValueFrom)(b).then(function(c){c=
new F.BehaviorSubject(c);b.subscribe(c);return new ZNa(c)})}return a.apiKey?a.appAuthTokens?Promise.resolve(new $Na(a.apiKey,a.appAuthTokens)):Promise.resolve(new aOa(a.apiKey,a.authUser)):Promise.reject(Error("rd"))},cOa=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}},dOa=function(a){return new F.Observable(function(b){var c=
im(function(){b.next({});b.complete()},a);return function(){jm(c)}})},eOa=function(a){var b=new km;b.setName(a);return b},fOa=function(a){a.isPrivateToUser()?(a=new lm,mm(a,2,nm,Cba(!0))):(a=new lm,mm(a,1,nm,Cba(!0)));return a},iOa=function(a){var b=new om;a=k(a.parts);for(var c=a.next();!c.done;c=a.next()){var d=c.value;c=new pm;if(d.value instanceof qm)d.isDecreasing?mm(c,4,rm,d.value.toString()):mm(c,2,rm,d.value.toString());else if("string"===typeof d.value)d.isDecreasing?mm(c,3,rm,d.value):mm(c,
1,rm,d.value);else if("number"===typeof d.value)d.isDecreasing?mm(c,9,rm,Pa(d.value)):mm(c,10,rm,Pa(d.value));else if(d.value instanceof Uint8Array)d.isDecreasing?mm(c,5,rm,Ka(d.value,!1,!1)):mm(c,7,rm,Ka(d.value,!1,!1));else if(d.value instanceof gOa)d.isDecreasing?(d=hOa(d.value),sm(c,11,rm,d)):(d=hOa(d.value),sm(c,12,rm,d));else if(d.value instanceof tm){var e=d.value.rep;"number"===typeof e?d.isDecreasing?mm(c,9,rm,Pa(e)):mm(c,10,rm,Pa(e)):"string"===typeof e&&(d.isDecreasing?mm(c,6,rm,e):mm(c,
8,rm,e))}um(b,1,pm,c)}return b},oOa=function(a,b){if(a instanceof wm)return 0<yg(b,pm,1).length?null:jOa.apply(wm,Jc(a.parts));a=Array.of.apply(Array,Jc(a.root.parts));b=k(yg(b,pm,1));for(var c=b.next();!c.done;c=b.next())switch(c=c.value,rh(c,rm)){case 4:a.push(hm(kOa(xm(c,ym(c,rm,4)))));break;case 2:a.push(new gm(kOa(xm(c,ym(c,rm,2)))));break;case 6:a.push(hm(new tm(lOa(c,6))));break;case 8:a.push(new gm(new tm(lOa(c,8))));break;case 10:a.push(new gm(new tm(zm(c,10,rm))));break;case 9:a.push(hm(new tm(zm(c,
9,rm))));break;case 3:a.push(hm(Am(c,3,rm)));break;case 1:a.push(new gm(Am(c,1,rm)));break;case 7:var d=void 0;a.push(new gm(null==(d=Fb(c,ym(c,rm,7)))?void 0:mOa(d)));break;case 5:d=void 0;a.push(hm(null==(d=Fb(c,ym(c,rm,5)))?void 0:mOa(d)));break;case 12:c=nOa(Fi(c,ug,12,rm));if(null===c)return null;a.push(new gm(c));break;case 11:c=nOa(Fi(c,ug,11,rm));if(null===c)return null;a.push(hm(c));break;case 0:return null;default:return null}return jOa.apply(wm,Jc(a))},Bm=function(a){return(null!=a?a:[]).map(Qsa)},
Cm=function(a){return(null!=a?a:[]).map(Rsa)},Dm=function(a){return null==a?"":"number"===typeof a?isFinite(a)?String(a):"":a&&(a=String(a),254>=a.length)?a:""},sOa=function(){var a=Em("gapi.config.get");if((a=Dm(a&&a("googleapis.config/sessionIndex")))||(a=Dm(ca.__X_GOOG_AUTHUSER))||(a=Dm(Em("google.authuser"))))return a;var b=ca.location.href||"",c=pOa.exec(b);try{a=Dm(c&&decodeURIComponent(c[2]))}catch(d){}if(a)return a;c=qOa.exec(b);try{a=Dm(c&&decodeURIComponent(c[2]))}catch(d){}if(a)return a;
a=rOa.exec(b);return(a=Dm(a&&a[1]))?a:""},tOa=function(){var a=Em("gapi.auth.getToken");a=(a=a?a():null)&&a.access_token;var b=null;if(!a){a=(a=Em("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}},uOa=function(a){a=void 0===a?"":a;var b;if(!(b=tOa())){b=a;var c=void 0===c?sOa():c;a={};var d=Fm([]);d&&(a.Authorization=d);b||(b=(b=Em("gapi.config.get"))&&
b("client/apiKey"));b&&(a["X-Goog-Api-Key"]=b);c&&(a["X-Goog-AuthUser"]=String(c));b=a}return b},vOa=function(a,b){b=void 0===b?0:b;var c;if(c=0===b)c=(c=Em("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=Em("gapi.config.get"))&&
b("client/rewrite"))&&b[a]&&(a=String(b[a]));return a},xOa=function(a,b){return 1>a||!isFinite(a)?Promise.reject("gapi.client missing"):(new Promise(function(c){return ca.setTimeout(c,b)})).then(function(){return wOa(a-1,2*b)})},wOa=function(a,b){a=void 0===a?0:a;b=void 0===b?5E3:b;var c=ca;try{do var d=c.gapi;while(!d&&c!==c.top&&(c=c.parent))}catch(e){}if(!d)return xOa(a,b);ca.gapi||(ca.gapi=d);return d.client?Promise.resolve(d):new Promise(function(e,g){d.load("client",function(){d.client?e(d):
g("gapi.client missing")})})},yOa=function(){var a=void 0===a?"":a;var b=void 0===b?sOa():b;var c=Em("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)},zOa=function(a){return(new Gm).setEventType(2).setRpcType(2).setLookupType(a)},AOa=function(a){a=Math.round(1E3*a);return isFinite(a)?a:null},Hm=function(a){var b;return null!=(b=null==a?void 0:a.trim())?b:""},Km=
function(a,b,c,d){Im.call(this);this.initialized_=!1;this.title_=null;this.cache_=b;this.id_=c;this.transport_=a;BOa(this.transport_,this.id_);d&&Jm(d.getEventTarget(),"e",this.onContactsChange_,!1,this)},COa=function(a){var b={};if(a){a=k(a);for(var c=a.next();!c.done;c=a.next()){var d=c.value;c=d.containerType;d=d.id||"";c&&d&&(b[c]=b[c]||d)}}return b},EOa=function(a){return a.extendedData&&a.extendedData.contactPreferences?a.extendedData.contactPreferences.map(function(b){return DOa(b.name,b.email)}).join(", "):
""},HOa=function(a,b,c){var d=[];a&&(FOa("name",a.name,b,d,c),FOa("phone",a.phone,b,d,c),FOa("photo",a.photo,b,d,c));return d.map(function(e){return new GOa(e)})},FOa=function(a,b,c,d,e){if(b){b=k(b);for(var g=b.next();!g.done;g=b.next())if(g=g.value,"CONTACT"!==Em("metadata.containerType",g)){var h=c,l=d,q=e,v=Em("metadata.encodedContainerId",g),y=Em("metadata.containerType",g);if(h.contains(v,y))var B=h.get(v,y)||0;else B=l.length,h.set(v,y,B),l.push({}),q.push(v);B=l[B];B[a]=B[a]||[];B[a].push(g)}}},
JOa=function(a,b){if(a){a=IOa(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},KOa=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},LOa=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},
MOa=function(a){this.query_=a;this.error_=0},Mm=function(a,b){b=a(b||NOa,void 0);a=Lm();b&&b.renderAsElement?a=b.renderAsElement():(a=a.createElement("DIV"),b=OOa(b),POa(a,b));1==a.childNodes.length&&(b=a.firstChild,1==b.nodeType&&(a=b));return a},OOa=function(a){return ta(a)?a.toSafeHtml&&(a=a.toSafeHtml(),a instanceof Nm)?a:yl("zSoyz"):yl(String(a))},Pm=function(a,b,c,d,e,g,h){this.serverBase_="string"===typeof a?new Om(a):a;this.useApiary_=!!c;this.apiaryClientDeferred_=d;this.onAuthError_=e;this.testGaia_=
!!g;this.contactStoreConfig_=h;this.commonAcParams_={};this.acWrappers_={};this.onAcCompleteListeners_={};this.inputToAcWrapper_={};this.focusedElement_=null},QOa=function(a){a=a.getEmail();if(!a)return!1;for(var b=k(["-pager","+pager","-oncall","+oncall","lifeguard-ng"]),c=b.next();!c.done;c=b.next())if(0<=a.indexOf(c.value))return!0;return!1},UOa=function(a,b,c,d){a=a.filter(ROa());if(!d)return a;d=d.map(function(e){return{contact:e,toString:function(){return e.text}}});b=SOa(new TOa(d),b,d.length);
return a.concat(b.map(function(e){return e.contact}))},ZOa=function(a){if(a&1){var b=x();H(0,"input",7,8);O("change",function(){z(b);var c=P();if(VOa(c)){var d=Qm(c);WOa(c);XOa(c,!0);Qm(c).focus();d.scrollTop=c.scrollPosition;d.selectionEnd=c.textAreaLastCursorLocation;d.dispatchEvent(new KeyboardEvent("keydown"));c.contentChange.emit(c.getValue())}return A()})("keyup",function(c){z(b);var d=P();document.activeElement===YOa(d)&&("Enter"===c.key||"Tab"===c.key?(d.taggingInProgress=!1,XOa(d,!0),Qm(d).focus()):
XOa(d));return A()});J()}a&2&&(a=P(),G("value",a.autocompleteUserName))},$Oa=function(a){a&1&&K(0,"div",9,10)},aPa=function(a){a&1&&Le(0)},bPa=function(a){a&1&&Le(0)},cPa=function(a){a&1&&K(0,"b-live-preview",11);a&2&&(a=P(),G("comment",a.newComment.text)("issueId",a.origComment.issueId)("audience",a.origComment.audience)("formattingMode",a.newComment.formattingMode))},dPa=function(a){if(a&1){var b=x();H(0,"section")(1,"div",12)(2,"b-recaptcha",13);O("onUpdate",function(c){z(b);var d=P();return A(d.recaptchaResponse=
c)});J()()()}},ePa=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]}}},fPa=function(a){var b=[],c=new Map;a=k(a);for(var d=a.next();!d.done;d=a.next())if(d=d.value,""!==d.displayText)if(c.get(d.resourceId)){var e=c.get(d.resourceId);e.relations=[].concat(Jc(e.relations),Jc(d.relations))}else c.set(d.resourceId,d),b.push(d);return b},gPa=function(a){a&1&&K(0,"b-restricted-chip",
10);a&2&&(a=P(),G("label",a.getRestrictedLabel())("retentionState",null==a.attachment?null:a.attachment.piiRetentionState)("contentType","attachment"))},hPa=function(a){a&1&&(H(0,"span",11),K(1,"b-actions-menu",12),J());a&2&&(a=P(),C(1),G("menuItems",a.actionMenuItems)("buttonLabel","Attachment actions")("matTooltip","Attachment actions"))},lPa=function(a){if(a&1){var b=x();H(0,"span")(1,"b-conditional-link",13);O("customHandler",function(){z(b);var c=P();c.isRestricted()?iPa(c,!1):c.domSafe.openInNewTab(jPa(c,
!1));return A()});J()()}a&2&&(a=P(),Je("bv2-issue-attachment-link ",kPa(a),""),C(1),G("isGreyedOut",!a.hasViewAccess)("displayName","View")("linkUrl",jPa(a,!1))("linkEnabled",!0)("useCustomHandler",!0))},mPa=function(a){if(a&1){var b=x();H(0,"span")(1,"b-conditional-link",13);O("customHandler",function(){z(b);var c=P();c.isRestricted()?iPa(c,!0):c.domSafe.openInNewTab(jPa(c,!0));return A()});J()()}a&2&&(a=P(),Je("bv2-issue-attachment-link ",kPa(a),""),C(1),G("isGreyedOut",!a.hasViewAccess)("displayName",
"Download")("linkUrl",jPa(a,!0))("linkEnabled",!0)("useCustomHandler",!0))},nPa=function(a){a&1&&(H(0,"span",14)(1,"a",15),K(2,"mat-icon",16),J()());a&2&&(a=P(),C(1),G("href",a.documentationLinks.getRestrictedAccessHelpLink(),vd)("disableRipple",!0),C(1),G("svgIcon","help-outline"))},oPa=function(a){a&1&&(H(0,"div",17),S(1," You do not have access to this restricted attachment. "),H(2,"a",18),S(3,"Learn more"),J()());a&2&&(a=P(),C(2),G("href",a.documentationLinks.getRestrictedAccessHelpLink(),vd))},
qPa=function(a){if(a&1){var b=x();H(0,"button",20,21);O("click",function(){z(b);var c=P(2);return A(pPa(c))});S(2," Edit ");J()}},rPa=function(a,b){a&1&&(L(0),S(1," on behalf of "),K(2,"b-user-display-name",22),M());a&2&&(a=b.ngIf,C(2),G("email",a)("showEmail",!1))},sPa=function(a){a&1&&(L(0),R(1,rPa,3,2,"ng-container",12),T(2,"async"),M());a&2&&(a=P(2),C(1),G("ngIf",U(2,1,a.onBehalfOfEmail$)))},tPa=function(a,b){if(a&1){var c=x();H(0,"a",23);O("click",function(d){var e=z(c).$implicit;P(2).issueReferenceResolver.visit({issueId:e,
elementId:"comment1",event:d});return A()});S(1);J()}a&2&&(a=b.$implicit,b=P().$implicit,P(),G("routerLinkObj",uya(a,{comment:1})),Ae("aria-label","Comment number"+b.commentNumber),C(1),Te(" #",b.commentNumber,""))},vPa=function(a){a&1&&(L(0),H(1,"span",24),S(2," \u2022 Edited"),J(),M());if(a&2){a=P().$implicit;var b=P();C(1);G("matTooltip",uPa(b,a))}},wPa=function(a){a&1&&(L(0),H(1,"p",25),S(2," Description has been deleted. "),J(),M())},xPa=function(a){if(a&1){var b=x();H(0,"b-restricted-comment-placeholder",
28);O("onConfirm",function(){z(b);var c=P().ngIf,d=P(3).$implicit,e=P();return A(e.loadRestrictedComment(c,d))});T(1,"async");J()}a&2&&(a=P(5),G("disabled",!U(1,1,a.mayReadPii$)))},yPa=function(a){a&1&&(L(0),R(1,xPa,2,3,"b-restricted-comment-placeholder",27),T(2,"async"),M());a&2&&(a=P(4),C(1),G("ngIf",U(2,1,a.shouldShowRestrictedPlaceholder$)))},zPa=function(a){a&1&&(L(0),R(1,yPa,3,3,"ng-container",12),T(2,"async"),M());a&2&&(a=P(3),C(1),G("ngIf",U(2,1,a.id$)))},APa=function(a,b){a&1&&(K(0,"b-note-container",
31),T(1,"async"));if(a&2){a=b.$implicit;b=P().ngIf;var c=P(4);G("issueId",b)("issueAccessLevel",U(1,4,c.accessLevel$))("note",a)("formattingMode",c.formattingMode)}},BPa=function(a){a&1&&(L(0),R(1,APa,2,6,"b-note-container",30),T(2,"async"),M());if(a&2){a=P(3).$implicit;var b=P();C(1);G("ngIf",""!==a.unlinkifiedComment&&U(2,1,b.firstNote$))}},CPa=function(a){a&1&&(L(0),S(1," Add one."),M())},DPa=function(a){a&1&&(H(0,"p",32),S(1," No description yet."),R(2,CPa,2,0,"ng-container",12),J());a&2&&(a=
P(4),C(2),G("ngIf",a.canEditComment()))},EPa=function(a){a&1&&(R(0,BPa,3,3,"ng-container",12),T(1,"async"),R(2,DPa,3,1,"p",29));if(a&2){a=P(2).$implicit;var b=P();G("ngIf",U(1,2,b.id$));C(2);G("ngIf",""===a.unlinkifiedComment)}},FPa=function(a){a&1&&(R(0,zPa,3,3,"ng-container",17),T(1,"async"),R(2,EPa,3,4,"ng-template",null,26,of));if(a&2){var b=Se(3);a=P(2);G("ngIf",U(1,2,a.isRedacted$))("ngIfElse",b)}},GPa=function(a,b){a&1&&(L(0),K(1,"b-attachment-viewer",36),M());if(a&2){a=b.ngIf;b=P().$implicit;
var c=P(3);C(1);G("issueId",a)("attachment",b)("attachmentUploader",c.getUserEmailIfAvailable())}},HPa=function(a,b){a&1&&(H(0,"div",35),R(1,GPa,2,3,"ng-container",12),T(2,"async"),J());a&2&&(a=b.$implicit,b=P(3),Pe("id","attachment",a.attachmentId,""),C(1),G("ngIf",U(2,2,b.id$)))},IPa=function(a){a&1&&(H(0,"div",33),R(1,HPa,3,4,"div",34),J());a&2&&(a=P().$implicit,C(1),G("ngForOf",a.attachments))},KPa=function(a,b){a&1&&(H(0,"div",2),K(1,"mat-icon",3),H(2,"div",4)(3,"div",5)(4,"div",6)(5,"h4",7),
S(6,"Description"),J(),R(7,qPa,3,0,"button",8),K(8,"b-user-display",9),H(9,"onedev-hovercard",null,10),K(11,"b-issue-person-card",11),J(),S(12," created issue "),R(13,sPa,3,3,"ng-container",12),T(14,"async"),R(15,tPa,2,3,"a",13),T(16,"async"),R(17,vPa,3,1,"ng-container",12),T(18,"async"),J(),H(19,"div"),K(20,"b-formatted-date-time",14)(21,"b-actions-menu",15,16),T(23,"async"),J()(),R(24,wPa,3,0,"ng-container",17),T(25,"async"),R(26,FPa,4,4,"ng-template",null,18,of),R(28,IPa,2,1,"div",19),J()());if(a&
2){a=b.$implicit;var c=Se(10),d=Se(27);b=P();var e;C(7);G("ngIf",b.canEditComment());C(1);G("onedevHovercardTrigger",c)("model",a.userPerformingActionUser);C(3);G("email",b.getUserEmailIfAvailable());C(2);G("ngIf",U(14,13,b.isAuthorNotReporter$));C(2);G("ngIf",a.commentNumber&&U(16,15,b.id$));C(2);G("ngIf",U(18,17,b.isShowCommentHistoryActionInMenu$));C(3);G("timestamp",a.modifiedDate);C(1);G("buttonLabel","Description actions")("menuItems",null!==(e=U(23,19,b.commentActionMenuItems$))&&void 0!==
e?e:Ye(23,JPa));C(3);G("ngIf",U(25,21,b.isDeleted$))("ngIfElse",d);C(4);G("ngIf",null==a?null:null==a.attachments?null:a.attachments.length)}},LPa=function(a){a&1&&K(0,"b-spinner")},MPa=function(a){return(null==a?void 0:a.emailAddress)||(null==a?void 0:a.obfuscatedEmailAddress)||""},NPa=function(a,b){a&1&&K(0,"b-issue-person-card",7);a&2&&G("email",b.ngIf)},OPa=function(a,b){a&1&&(L(0),H(1,"span",4),S(2),T(3,"shortenEmail"),J(),H(4,"onedev-hovercard",null,5),R(6,NPa,1,1,"b-issue-person-card",6),J(),
M());if(a&2){a=b.ngIf;var c=Se(5);b=P(2);C(1);G("onedevHovercardTrigger",c);C(1);Te(" ",bf(3,3,b.userToString(a),30)," ");C(4);G("ngIf",a.emailAddress)}},PPa=function(a,b){if(a&1){var c=x();H(0,"a",8);O("click",function(d){var e=z(c).ngIf,g=P(2);return A(g.scrollCommentIntoView(d,e))});S(1);J()}a&2&&(a=b.ngIf,b=P(2),Be("aria-label","Comment number ",a,""),G("routerLinkObj",b.getCommentNumberLink(a)),C(1),Te(" #",a,""))},QPa=function(a){a&1&&(L(0),S(1,","),M())},RPa=function(a,b){a&1&&(H(0,"span",
1),R(1,OPa,7,6,"ng-container",2),H(2,"span"),R(3,PPa,2,3,"a",3),R(4,QPa,2,0,"ng-container",2),J()());a&2&&(a=b.$implicit,b=b.last,C(1),G("ngIf",a.userPerformingActionUser),C(2),G("ngIf",a.commentNumber),C(1),G("ngIf",!b))},SPa=function(a,b){a&1&&(H(0,"div",4)(1,"a",5),T(2,"removePngExtension"),K(3,"b-secure-image-widget",6),J(),K(4,"comments-info",7),J());a&2&&(a=b.$implicit,b=P(3),C(1),Qe("href",U(2,5,a.src),vd),C(2),G("showByDefault",!0)("src",a.src),C(1),G("issueId",b.issueId)("comments",a.comments))},
TPa=function(a){if(a&1){var b=x();H(0,"button",10);O("click",function(){z(b);var c=P(2).ngIf,d=P(2);c=c.length;var e=ol(d.maxImagesInOneRow$);e&&d.lastRenderedImageIndex$.next((Math.floor(c/e)+4)*e);return A()});S(1," Load more ");J()}},UPa=function(a){if(a&1){var b=x();H(0,"button",11);O("click",function(){z(b);var c=P(4);return A(c.goToResourcesTab())});S(1," See all screenshots ");J()}},VPa=function(a){a&1&&(L(0),R(1,TPa,2,0,"button",8),R(2,UPa,2,0,"ng-template",null,9,of),M());if(a&2){var b=Se(3);
a=P(3);C(1);G("ngIf",a.paginate)("ngIfElse",b)}},WPa=function(a,b){a&1&&(L(0),H(1,"div",2),R(2,SPa,5,7,"div",3),T(3,"async"),J(),R(4,VPa,4,2,"ng-container",1),M());if(a&2){a=b.ngIf;b=P().ngIf;var c=P();C(1);Ie("show-all-images",c.paginate);C(1);G("ngForOf",U(3,4,c.imagesToRender$));C(2);G("ngIf",b.length!==a.length)}},XPa=function(a){a&1&&(L(0),R(1,WPa,5,6,"ng-container",1),T(2,"async"),M());a&2&&(a=P(),C(1),G("ngIf",U(2,1,a.imagesToRender$)))},YPa=function(a){var b=new Map;a=k(a);for(var c=a.next();!c.done;c=
a.next()){c=c.value;var d=void 0,e=null!=(d=b.get(c.src))?d:[];e.push(c.comment);b.set(c.src,e)}return Array.from(b.entries()).map(function(g){var h=k(g);g=h.next().value;h=h.next().value;return{src:g,comments:gk(h)}})},ZPa=function(a){a&1&&(H(0,"span",5),S(1),T(2,"reverse"),J());a&2&&(a=P(),C(1),Ve(U(2,1,a.leftText)))},$Pa=function(a){a&1&&(L(0),H(1,"b-external-hyperlink-widget",6),S(2),J(),M());a&2&&(a=P(),C(1),G("href",a.redirectedHref)("originalHref",a.originalHref),C(1),Ve(a.linkText))},aQa=
function(a){a&1&&(H(0,"b-issue-reference-widget",9),S(1),J());a&2&&(a=P(2),G("href",a.redirectedHref)("issueId",a.issueId),C(1),Ve(a.linkText))},bQa=function(a){a&1&&(H(0,"a",10),S(1),J());a&2&&(a=P(2),Qe("href",a.redirectedHref,vd),C(1),Ve(a.linkText))},cQa=function(a){a&1&&(R(0,aQa,2,3,"b-issue-reference-widget",7),R(1,bQa,2,2,"ng-template",null,8,of));if(a&2){var b=Se(2);a=P();G("ngIf",a.issueId)("ngIfElse",b)}},dQa=function(a){a&1&&(H(0,"span",11),S(1),J());a&2&&(a=P(),C(1),Ve(a.rightText))},
eQa=function(a){var b=document.createElement("div");if(a=pva(a))1===b.nodeType&&Gra(b),b.innerHTML=Ui(a);return b},fQa=function(a){a&1&&(L(0),H(1,"td"),K(2,"b-issue-priority-display",2),J(),H(3,"td",3)(4,"span",4),S(5),J(),K(6,"mentioned-link-with-context",5),J(),H(7,"td"),K(8,"comments-info",6),T(9,"toComments"),J(),M());if(a&2){a=P().$implicit;var b=P(3),c;C(2);G("matTooltip",a.hasViewAccess?"":"Access is denied to this issue")("issuePriority",a.priority);C(2);G("matTooltip",a.hasViewAccess?"":
"Access is denied to this issue");C(1);Te(" ",null!==(c=a.title)&&void 0!==c?c:"--"," ");C(1);G("sourceComment",a.sourceComments[0].issueEvent)("relatedLink",a.relatedLinks[0]);C(2);G("issueId",b.issueId)("comments",U(9,8,a.sourceComments))}},gQa=function(a,b){a&1&&(H(0,"tr"),R(1,fQa,10,10,"ng-container",0),J());a&2&&(a=b.$implicit,C(1),G("ngIf",a.sourceComments&&a.relatedLinks))},hQa=function(a){if(a&1){var b=x();H(0,"button",9);O("click",function(){z(b);var c=P(4);c.lastRenderedMentionedIssueIndex$.next(c.lastRenderedMentionedIssueIndex$.value+
100);return A()});S(1," Load more ");J()}},iQa=function(a){if(a&1){var b=x();H(0,"button",10);O("click",function(){z(b);var c=P(4);return A(c.goToResourcesTab())});S(1," See all mentioned issues ");J()}},jQa=function(a){a&1&&(H(0,"div"),R(1,hQa,2,0,"button",7),R(2,iQa,2,0,"ng-template",null,8,of),J());if(a&2){var b=Se(3);a=P(3);C(1);G("ngIf",a.paginate)("ngIfElse",b)}},kQa=function(a,b){a&1&&(L(0),H(1,"section")(2,"table"),R(3,gQa,2,1,"tr",1),J(),R(4,jQa,4,2,"div",0),J(),M());a&2&&(a=b.ngIf,b=P().ngIf,
C(3),G("ngForOf",b),C(1),G("ngIf",a.length!==b.length))},lQa=function(a){a&1&&(L(0),R(1,kQa,5,2,"ng-container",0),T(2,"async"),M());a&2&&(a=P(),C(1),G("ngIf",U(2,1,a.allMentionedIssues$)))},mQa=function(a,b){a&1&&(H(0,"div",2),K(1,"mentioned-link-with-context",3)(2,"comments-info",4),T(3,"toComments"),J());a&2&&(a=b.$implicit,b=P(3),C(1),G("sourceComment",a[0].comment)("relatedLink",a[0]),C(1),G("issueId",b.issueId)("comments",U(3,4,a)))},nQa=function(a){if(a&1){var b=x();H(0,"button",7);O("click",
function(){z(b);var c=P(4);c.lastRenderedRelatedLinkIndex$.next(c.lastRenderedRelatedLinkIndex$.value+100);return A()});S(1," Load more ");J()}},oQa=function(a){if(a&1){var b=x();H(0,"button",8);O("click",function(){z(b);var c=P(4);return A(c.goToResourcesTab())});S(1," See all related links ");J()}},pQa=function(a){a&1&&(H(0,"div"),R(1,nQa,2,0,"button",5),R(2,oQa,2,0,"ng-template",null,6,of),J());if(a&2){var b=Se(3);a=P(3);C(1);G("ngIf",a.paginate)("ngIfElse",b)}},qQa=function(a,b){a&1&&(L(0),R(1,
mQa,4,6,"div",1),R(2,pQa,4,2,"div",0),M());if(a&2){a=b.ngIf;b=P().ngIf;var c=P();C(1);G("ngForOf",a)("ngForTrackBy",c.trackByHref);C(1);G("ngIf",b.length!==a.length)}},rQa=function(a){a&1&&(L(0),R(1,qQa,3,3,"ng-container",0),T(2,"async"),M());a&2&&(a=P(),C(1),G("ngIf",U(2,1,a.linkGroupsToRender$)))},tQa=function(a,b){var c=a.filter(function(d){return Fxa(d[0])});a=a.filter(function(d){return!Fxa(d[0])});return sQa([].concat(Jc(c),Jc(a)).slice(0,b),"asc")},vQa=function(a){a&1&&(L(0),K(1,"mat-icon",
10),Le(2,11),M());if(a&2){a=P().$implicit;P();var b=Se(10);C(2);G("ngTemplateOutlet",b)("ngTemplateOutletContext",Ze(2,uQa,a))}},wQa=function(){},xQa=function(a){a&1&&R(0,wQa,0,0,"ng-template")},yQa=function(a){a&1&&(L(0),R(1,xQa,1,0,null,12),M());a&2&&(a=P(2).$implicit,C(1),G("ngTemplateOutlet",a.tabIconTemplate))},zQa=function(a){a&1&&(R(0,yQa,2,1,"ng-container",3),Le(1,11));if(a&2){a=P().$implicit;P();var b=Se(10);G("ngIf",a.tabIconTemplate);C(1);G("ngTemplateOutlet",b)("ngTemplateOutletContext",
Ze(3,uQa,a))}},AQa=function(a,b){if(a&1){var c=x();H(0,"button",7);O("click",function(){var e=z(c).$implicit,g=P();e=e.key;g.internalExpandedTabs.has(e)?g.internalExpandedTabs.delete(e):g.internalExpandedTabs.add(e);g.expandedTabsChanged.emit(new Set(g.internalExpandedTabs));return A()});T(1,"async");T(2,"async");T(3,"async");R(4,vQa,3,4,"ng-container",8);T(5,"async");R(6,zQa,2,5,"ng-template",null,9,of);J()}if(a&2){a=b.$implicit;var d=Se(7);b=P();Ie("expanded",!!U(1,8,Sl(b.internalExpandedTabs,a.key)));
Be("aria-controls","expandable-tabs-",a.key,"-content");Ae("aria-label",a.ariaLabel)("aria-expanded",!!U(2,10,Sl(b.internalExpandedTabs,a.key)))("aria-selected",!!U(3,12,Sl(b.internalExpandedTabs,a.key)));C(4);G("ngIf",U(5,14,Sl(b.internalExpandedTabs,a.key)))("ngIfElse",d)}},CQa=function(a,b){if(a&1){var c=x();L(0);H(1,"button",13);O("click",function(){z(c);var d=P();return A(BQa(d))});S(2);J();M()}a&2&&(a=b.ngIf,b=P(),C(1),Ie("expandable-tabs-hide-all",a.allTabsExpanded)("expandable-tabs-show-all",
!a.allTabsExpanded),Ae("aria-label",(a.allTabsExpanded?"Hide all":"Show all")+" "+b.ariaLabel),C(1),Te(" ",a.allTabsExpanded?"Hide all":"Show all"," "))},DQa=function(){},EQa=function(a){a&1&&R(0,DQa,0,0,"ng-template")},FQa=function(a){a&1&&(L(0),R(1,EQa,1,0,null,12),M());a&2&&(a=P(2).$implicit,C(1),G("ngTemplateOutlet",a.tabIconTemplate))},GQa=function(){},HQa=function(a){a&1&&R(0,GQa,0,0,"ng-template")},IQa=function(a){a&1&&(L(0),R(1,HQa,1,0,null,12),M());a&2&&(a=P(2).$implicit,C(1),G("ngTemplateOutlet",
a.tabContentTemplate))},JQa=function(a){a&1&&(H(0,"div",15)(1,"h4"),R(2,FQa,2,1,"ng-container",3),Le(3,11),J(),R(4,IQa,2,1,"ng-container",3),J());if(a&2){a=P().$implicit;P();var b=Se(10);Pe("id","expandable-tabs-",a.key,"-content");C(2);G("ngIf",a.tabIconTemplate);C(1);G("ngTemplateOutlet",b)("ngTemplateOutletContext",Ze(5,uQa,a));C(1);G("ngIf",a.tabContentTemplate)}},KQa=function(a,b){a&1&&(L(0),R(1,JQa,5,7,"div",14),T(2,"async"),M());a&2&&(a=b.$implicit,b=P(),C(1),G("ngIf",U(2,1,Sl(b.internalExpandedTabs,
a.key))))},LQa=function(){},MQa=function(a){a&1&&R(0,LQa,0,0,"ng-template")},NQa=function(a){a&1&&(L(0),R(1,MQa,1,0,null,12),M());a&2&&(a=P().tab,C(1),G("ngTemplateOutlet",a.tabHeaderTemplate))},OQa=function(a){a&1&&S(0);a&2&&(a=P().tab,Ve(a.key))},PQa=function(a,b){a&1&&(R(0,NQa,2,1,"ng-container",8),R(1,OQa,1,1,"ng-template",null,16,of));if(a&2){a=b.tab;var c=Se(2);G("ngIf",a.tabHeaderTemplate)("ngIfElse",c)}},QQa=function(a){a&1&&K(0,"mat-icon",9)},RQa=function(a){a&1&&(S(0),T(1,"async"));if(a&
2){a=P(2);var b;Te("Screenshots (",null!==(b=U(1,1,a.distinctImageLinksCount$))&&void 0!==b?b:0,")")}},UQa=function(a,b){if(a&1){var c=x();H(0,"inline-images-summary",11);O("click",function(){z(c);var e=P(3);SQa(e.issueSummaryTracking,e.issueId,e.TabKeys.IMAGES);return A()});T(1,"async");J()}if(a&2){a=b.ngIf;b=P(3);var d;G("issueId",a)("imageLinks",null!==(d=U(1,2,b.imageLinks$))&&void 0!==d?d:Ye(4,TQa))}},VQa=function(a){a&1&&(R(0,UQa,2,5,"inline-images-summary",10),T(1,"async"));a&2&&(a=P(2),G("ngIf",
U(1,1,a.issueId$)))},WQa=function(a){a&1&&K(0,"mat-icon",12)},XQa=function(a){a&1&&(S(0),T(1,"async"));if(a&2){a=P(2);var b;Te("Mentioned issues (",null!==(b=U(1,1,a.distinctIssuesCount$))&&void 0!==b?b:0,")")}},YQa=function(a,b){if(a&1){var c=x();H(0,"b-mentioned-issues",14);O("click",function(){z(c);var d=P(3);SQa(d.issueSummaryTracking,d.issueId,d.TabKeys.MENTIONED_ISSUES);return A()});J()}a&2&&(a=b.ngIf,b=P(3),G("issueReferences",a)("currentIssueId",b.issueId))},ZQa=function(a){a&1&&(R(0,YQa,
1,2,"b-mentioned-issues",13),T(1,"async"));a&2&&(a=P(2),G("ngIf",U(1,1,a.issues$)))},$Qa=function(a){a&1&&K(0,"mat-icon",15)},aRa=function(a){a&1&&(S(0),T(1,"async"));if(a&2){a=P(2);var b;Te("Links (",null!==(b=U(1,1,a.distinctOtherLinksCount$))&&void 0!==b?b:0,")")}},bRa=function(a){if(a&1){var b=x();H(0,"related-links-widget",16);O("click",function(){z(b);var d=P(2);SQa(d.issueSummaryTracking,d.issueId,d.TabKeys.LINKS);return A()});T(1,"async");J()}if(a&2){a=P(2);var c;G("links",null!==(c=U(1,2,
a.otherLinks$))&&void 0!==c?c:Ye(4,TQa))("issueId",a.issueId)}},dRa=function(a,b){if(a&1){var c=x();H(0,"expandable-tabs",2);O("expandedTabsChanged",function(d){var e=z(c).ngIf,g=P();return A(g.onTabExpanded$.emit({expandedTabKeys:d,allTabKeys:e}))})("contentShownChanged",function(d){z(c);var e=P(),g=e.issueSummaryTracking;e=e.issueId;for(var h=k(cRa),l=h.next();!l.done;l=h.next())l=l.value,d.has(l)?(Rm(g.issueInteractionsTracking,e,l+"-content-shown"),g.issueInteractionsTracking.getState(e).variations.delete(l+
"-content-not-shown")):(Rm(g.issueInteractionsTracking,e,l+"-content-not-shown"),g.issueInteractionsTracking.getState(e).variations.delete(l+"-content-shown"));0<d.size?(g.recordImpressionOnce(),Rm(g.issueInteractionsTracking,e,"SW-content-shown"),g.issueInteractionsTracking.getState(e).variations.delete("SW-content-not-shown")):(Rm(g.issueInteractionsTracking,e,"SW-content-not-shown"),g.issueInteractionsTracking.getState(e).variations.delete("SW-content-shown"));return A()});H(1,"expandable-tab",
3);R(2,QQa,1,0,"ng-template",4);R(3,RQa,2,3,"ng-template",5);R(4,VQa,2,3,"ng-template",6);J();H(5,"expandable-tab",7);R(6,WQa,1,0,"ng-template",4);R(7,XQa,2,3,"ng-template",5);R(8,ZQa,2,3,"ng-template",6);J();H(9,"expandable-tab",8);R(10,$Qa,1,0,"ng-template",4);R(11,aRa,2,3,"ng-template",5);R(12,bRa,2,5,"ng-template",6);J()()}a&2&&(a=b.ngIf,b=P(),G("tabKeys",a)("expandedTabs",b.initiallyExpandedTabs),C(1),G("key",b.TabKeys.IMAGES),C(4),G("key",b.TabKeys.MENTIONED_ISSUES),C(4),G("key",b.TabKeys.LINKS))},
eRa=function(a){a&1&&(H(0,"div",31),K(1,"img",32),S(2,"\u00a0 "),H(3,"a",33),S(4),J()());if(a&2){a=P().$implicit;var b=P(3);C(3);G("href",b.makeCritiqueUrl(a.clIds,a.pendingChangeLists),vd);C(1);Te("",a.clIds.length+a.pendingChangeLists.length," CLs")}},fRa=function(a,b){a&1&&K(0,"b-user-image",34);a&2&&G("email",b.$implicit)},gRa=function(a,b){if(a&1){var c=x();H(0,"div",25);O("click",function(){var e=z(c).$implicit,g=P(3);return A(g.log(e))});H(1,"div",26);R(2,eRa,5,2,"div",27);J();R(3,fRa,1,1,
"b-user-image",28);T(4,"slice");H(5,"button",29);K(6,"mat-icon",30);J()()}if(a&2){a=b.$implicit;P(2);var d=Se(16);C(2);G("ngIf",0<a.clIds.length||0<a.pendingChangeLists.length);C(1);G("ngForOf",cf(4,3,a.contributors,0,10));C(2);G("matMenuTriggerFor",d)}},hRa=function(a){a&1&&(L(0),R(1,gRa,7,7,"div",24),T(2,"async"),M());a&2&&(a=P(2),C(1),G("ngIf",U(2,1,a.projectData$)))},iRa=function(a,b){a&1&&(H(0,"div",38),K(1,"div",39),S(2),T(3,"number"),J());if(a&2){a=b.$implicit;b=P().$implicit;var c=P(3);Re("title",
"",b.totalCount-b.openCount," of ",b.totalCount," tasks complete");C(1);Ae("style",c.makePie(a/100),Fha);C(1);Te(" ",bf(3,4,a,"1.0-0"),"% Complete ")}},jRa=function(a){a&1&&(H(0,"div",31),K(1,"mat-icon",40),S(2),J());if(a&2){a=P(3).$implicit;var b=P();C(2);Te(" Target: ",b.getEndDate(a)," ")}},lRa=function(a){a&1&&(H(0,"a",33),S(1),J());if(a&2){a=P(2).$implicit;var b=P(3);G("href",b.makeCritiqueUrl(Ye(2,kRa),a.pendingChangeLists),vd);C(1);Te("(",a.pendingChangeLists.length," pending)")}},mRa=function(a){a&
1&&(H(0,"div",31),K(1,"img",32),S(2,"\u00a0 "),H(3,"a",33),S(4),J(),S(5," \u00a0 "),R(6,lRa,2,3,"a",41),J());if(a&2){a=P().$implicit;var b=P(3);C(3);G("href",b.makeCritiqueUrl(a.clIds,a.pendingChangeLists),vd);C(1);Te("",a.clIds.length+a.pendingChangeLists.length," CLs");C(2);G("ngIf",0<a.pendingChangeLists.length)}},nRa=function(a,b){if(a&1){var c=x();H(0,"div",36);O("click",function(){var e=z(c).$implicit,g=P(3);return A(g.log(e))});R(1,iRa,4,7,"div",37);R(2,jRa,3,1,"div",27);R(3,mRa,7,3,"div",
27);J()}if(a&2){a=b.$implicit;b=P(2).$implicit;var d=P();C(1);G("ngIf",0<a.totalCount&&(a.totalCount-a.openCount)/a.totalCount*100);C(1);G("ngIf",d.getEndDate(b));C(1);G("ngIf",0<a.clIds.length||0<a.pendingChangeLists.length)}},oRa=function(a){a&1&&(L(0),R(1,nRa,4,3,"div",35),T(2,"async"),M());a&2&&(a=P(2),C(1),G("ngIf",U(2,1,a.projectData$)))},qRa=function(a){a&1&&(L(0),K(1,"expandable-issues-table",43),T(2,"async"),M());if(a&2){a=P(2).$implicit;var b=P();C(1);Pe("saveExpansionAtKey","project-expansion-",
a.issueId,"");G("rootIssueId",a.issueId)("filters",b.hackyPrefs.prefs.projectFilters)("tableColumns",b.TABLE_COLUMNS)("options",Ye(8,pRa))("projectData",U(2,6,b.projectData$))}},rRa=function(a){a&1&&(L(0),K(1,"b-issue-description",44)(2,"hr")(3,"issue-summary-card",45,46),T(5,"async"),K(6,"hr"),H(7,"p",47),S(8," No children. "),H(9,"a",48),S(10,"Add Children"),J()(),M());if(a&2){var b=Se(4);a=P(2).$implicit;C(1);G("id",a.issueId);C(2);Ie("hidden",!U(5,6,b.shouldShowSummaryCard$));G("issueId",a.issueId)("alwaysStartCollapsed",
!0);C(6);Pe("href","/issues/",a.issueId,"/dependencies",vd)}},sRa=function(a){a&1&&(H(0,"div",42),K(1,"hr"),R(2,qRa,3,9,"ng-container",13),R(3,rRa,11,8,"ng-container",13),J());a&2&&(a=P().$implicit,C(2),G("ngIf",0<a.childIssueCount),C(1),G("ngIf",0===a.childIssueCount))},tRa=function(a,b){a&1&&(L(0),H(1,"a",51),S(2,"Taskflow"),J(),M());a&2&&(a=b.$implicit,C(1),G("href",a,vd))},uRa=function(a){a&1&&(L(0),H(1,"a",52),S(2),J(),M());if(a&2){a=P().$implicit;var b=P(3);C(1);G("href",b.makeScreenshotViewUrl(a.screenshots),
vd);C(1);Te("",a.screenshots.length," Screenshots")}},vRa=function(a,b){a&1&&(L(0),R(1,uRa,3,2,"ng-container",13),M());a&2&&(a=b.$implicit,C(1),G("ngIf",3<a.screenshots.length))},wRa=function(a,b){a&1&&(L(0),K(1,"activity-stream",53),M());a&2&&(a=b.$implicit,C(1),G("activityEvents",a)("title","Project Activity"))},xRa=function(a){a&1&&K(0,"b-spinner")},yRa=function(a){a&1&&(H(0,"footer"),K(1,"hr"),H(2,"a",49),S(3,"Launch"),J(),R(4,tRa,3,1,"ng-container",13),T(5,"async"),R(6,vRa,2,1,"ng-container",
13),T(7,"async"),K(8,"hr"),R(9,wRa,2,2,"ng-container",1),T(10,"async"),R(11,xRa,1,0,"ng-template",null,50,of),J());if(a&2){var b=Se(12);a=P(2);C(4);G("ngIf",U(5,4,a.taskFlowLink$));C(2);G("ngIf",U(7,6,a.projectData$));C(3);G("ngIf",U(10,8,a.projectActivityStream$))("ngIfElse",b)}},zRa=function(a,b){if(a&1){var c=x();L(0);H(1,"header",3)(2,"aside",4)(3,"div",5)(4,"button",6);O("click",function(){var d=z(c).$implicit,e=P();return A(Hl(e.hackyPrefs,d.issueId))});S(5,"Add");J()()();H(6,"div",7)(7,"div",
3)(8,"div",8)(9,"span",9)(10,"a",10);S(11);J();H(12,"button",11);O("click",function(){var d=z(c).$implicit,e=P();return A(e.hackyPrefs.toggleCollapsed("project-"+d.issueId))});K(13,"mat-icon",12);J()()();R(14,hRa,3,3,"ng-container",13);J()();H(15,"mat-menu",null,14)(17,"button",15);O("click",function(){var d=z(c).$implicit,e=P();return A(Sm(e.hackyPrefs,d.issueId,-1))});K(18,"mat-icon",16);H(19,"span",17);S(20,"Move up");J()();H(21,"button",15);O("click",function(){var d=z(c).$implicit,e=P();return A(Sm(e.hackyPrefs,
d.issueId,1))});K(22,"mat-icon",18);H(23,"span",17);S(24,"Move down");J()();K(25,"mat-divider");H(26,"button",19);O("click",function(){var d=z(c).$implicit,e=P();return A(Tm(e.hackyPrefs,d.issueId))});K(27,"mat-icon",20);H(28,"span",17);S(29,"Remove from My Projects");J()();H(30,"a",21);K(31,"mat-icon",22);H(32,"span",17);S(33,"View Issue Relationships");J()()()();R(34,oRa,3,3,"ng-container",13);R(35,sRa,4,2,"div",23);R(36,yRa,13,10,"footer",13);M()}a&2&&(a=b.$implicit,b=P(),C(10),Pe("href","/issues/",
a.issueId,"/dependencies",vd),C(1),Te(" ",a.snapshot[0].title," "),C(3),G("ngIf",!b.addMode),C(3),G("disabled",!Um(b.hackyPrefs,a.issueId,-1)),C(4),G("disabled",!Um(b.hackyPrefs,a.issueId,1)),C(9),Pe("href","/issues/",a.issueId,"/dependencies",vd),C(4),G("ngIf",!b.isCollapsed(a.issueId)),C(1),G("ngIf",!b.isCollapsed(a.issueId)),C(1),G("ngIf",!b.isCollapsed(a.issueId)&&0<a.childIssueCount))},ARa=function(a){a&1&&(L(0),K(1,"b-spinner"),M())},BRa=function(a){if(a&1){var b=x();H(0,"p",55);S(1);H(2,"a",
56);O("click",function(){z(b);var c=P(2);return A(Tm(c.hackyPrefs,c.issueId))});S(3," Remove ");J()()}a&2&&(a=P(2),C(1),Te(" b/",a.issueId," "))},CRa=function(a){a&1&&(R(0,ARa,2,0,"ng-container",1),R(1,BRa,4,1,"ng-template",null,54,of));if(a&2){var b=Se(2);a=P();G("ngIf",a.issueFridge.isThinking(a.issueId))("ngIfElse",b)}},ERa=function(a){a=DRa(a);null!=a?(a=a.dateValue,a=new Date(a.year,a.month-1,a.day)):a=void 0;if(null==a)return"";var b=a.toLocaleDateString(void 0,{dateStyle:"medium"});return(new Date).getFullYear()===
a.getFullYear()?b.split(", ")[0]:b},GRa=function(a){a=encodeURIComponent(a.join("\n\n"));return"/issues/new?component="+FRa+"&description="+a},HRa=function(a,b){a&1&&(L(0),K(1,"issue-as-project-card",9),M());a&2&&(a=b.$implicit,C(1),G("issueId",a.issueId)("addMode",!0))},IRa=function(a){a&1&&(H(0,"p",3),S(1,"No projects found."),J())},JRa=function(a){if(a&1){var b=x();H(0,"button",10);O("click",function(){z(b);var c=P(2);return A(c.suggestionCount=2*c.suggestionCount)});S(1," Show more ");J()}},KRa=
function(a,b){a&1&&(L(0),H(1,"div",2)(2,"p",3)(3,"a",4),K(4,"mat-icon",5),J(),S(5," Issues calculated from parent/child work items. "),J(),R(6,HRa,2,2,"ng-container",6),T(7,"slice"),R(8,IRa,2,0,"p",7),R(9,JRa,2,0,"button",8),J(),M());a&2&&(a=b.ngIf,b=P(),C(6),G("ngForOf",cf(7,3,a,0,b.suggestionCount)),C(2),G("ngIf",0===a.length),C(1),G("ngIf",a.length>b.suggestionCount&&!b.disableShowMore))},LRa=function(a){a&1&&(H(0,"p",3),K(1,"b-spinner"),S(2," Loading project suggestions... "),J())},MRa=function(a){a&
1&&(H(0,"p",11),S(1),J());a&2&&(a=P(),C(1),Te(" ",a.errorMsg," "))},NRa=function(a){if(a&1){var b=x();H(0,"aside",12)(1,"div",13)(2,"h2");S(3,"Hotlist Suggestions");J();H(4,"suggested-hotlists",14);O("click",function(c){z(b);var d=P();Yxa(c).match(/\bBUTTON\b/)&&d.dialogRef.close();return A()});J()();H(5,"div",13)(6,"h2");S(7,"Project Suggestions");J();H(8,"suggested-issue-projects",15);O("click",function(c){z(b);var d=P();Yxa(c).match(/\bBUTTON\b/)&&d.dialogRef.close();return A()});J()()()}a&2&&
(C(4),G("suggestionCount",5)("disableShowMore",!0),C(4),G("suggestionCount",5)("disableShowMore",!0))},ORa=function(a){if(a&1){var b=x();H(0,"div",3);O("@arrowPosition.start",function(){z(b);var c=P();return A(c._disableViewStateAnimation=!0)})("@arrowPosition.done",function(){z(b);var c=P();return A(c._disableViewStateAnimation=!1)});K(1,"div",4);H(2,"div",5);K(3,"div",6)(4,"div",7)(5,"div",8);J()()}a&2&&(a=P(),G("@arrowOpacity",a._getArrowViewState())("@arrowPosition",a._getArrowViewState())("@allowChildren",
a._getArrowDirectionState()),C(2),G("@indicator",a._getArrowDirectionState()),C(1),G("@leftPointer",a._getArrowDirectionState()),C(1),G("@rightPointer",a._getArrowDirectionState()))},PRa=function(a){a&1&&K(0,"th",21)},QRa=function(a){a&1&&K(0,"td",22)},RRa=function(a){a&1&&(H(0,"th",21),S(1," Id "),J())},SRa=function(a,b){a&1&&(H(0,"td",23),K(1,"b-issue-id-cell",24),J());a&2&&(a=b.$implicit,C(1),G("id",a.id))},TRa=function(a){a&1&&(H(0,"th",21),S(1," Title "),J())},URa=function(a,b){a&1&&(H(0,"td",
23),K(1,"b-issue-title-cell",25),T(2,"async"),J());a&2&&(a=b.$implicit,b=P(),C(1),G("issue",U(2,2,a.issue$))("issueUrlFactory",b.issueUrlFactory))},VRa=function(a){a&1&&(H(0,"th",26),S(1," Type "),J())},WRa=function(a,b){a&1&&(H(0,"td",23),K(1,"b-issue-type-cell",27),T(2,"async"),J());a&2&&(a=b.$implicit,C(1),G("issue",U(2,1,a.issue$)))},XRa=function(a){a&1&&(H(0,"th",28),S(1," Assignee "),J())},YRa=function(a,b){a&1&&(H(0,"td",23),K(1,"b-issue-assignee-cell",27),T(2,"async"),J());a&2&&(a=b.$implicit,
C(1),G("issue",U(2,1,a.issue$)))},ZRa=function(a){a&1&&(H(0,"th",29),S(1," Reporter "),J())},$Ra=function(a,b){a&1&&(H(0,"td",23),K(1,"b-issue-reporter-cell",27),T(2,"async"),J());a&2&&(a=b.$implicit,C(1),G("issue",U(2,1,a.issue$)))},aSa=function(a){a&1&&(H(0,"th",30),S(1," Status "),J())},bSa=function(a,b){a&1&&(H(0,"td",23),K(1,"b-issue-status-cell",27),T(2,"async"),J());a&2&&(a=b.$implicit,C(1),G("issue",U(2,1,a.issue$)))},cSa=function(a){a&1&&(H(0,"th",21),S(1," Team "),J())},dSa=function(a,b){a&
1&&(H(0,"td",23),K(1,"b-issue-team-cell",27),T(2,"async"),J());a&2&&(a=b.$implicit,C(1),G("issue",U(2,1,a.issue$)))},eSa=function(a){a&1&&(H(0,"th",31),S(1," Created "),J())},fSa=function(a,b){a&1&&(H(0,"td",23),K(1,"b-issue-created-time-cell",27),T(2,"async"),J());a&2&&(a=b.$implicit,C(1),G("issue",U(2,1,a.issue$)))},gSa=function(a){a&1&&K(0,"th",21)},hSa=function(a,b){a&1&&(H(0,"td",23)(1,"b-actions-menu",32),O("click",function(c){return c.stopPropagation()}),J()());a&2&&(a=b.$implicit,b=P(),C(1),
G("menuItems",b.getMenuItems(a.id)))},iSa=function(a){a&1&&K(0,"tr",33)},jSa=function(a,b){if(a&1){var c=x();H(0,"tr",34);O("click",function(d){var e=z(c).$implicit,g=P();return A(g.navigateToIssue(d,e.id))})("mouseup",function(d){var e=z(c).$implicit,g=P();return A(g.navigateToIssue(d,e.id))})("focusin",function(){var d=z(c).$implicit,e=P();return A(Tl(e.focusManager,d))})("keydown",function(d){var e=z(c).$implicit,g=P();return A(g.onRowKeydown(e,d))});J()}a&2&&G("row",b.$implicit)},kSa=function(a,
b){return(null==a?void 0:a.id)===(null==b?void 0:b.id)},mk=function(a){return ol(a.issue$)},lSa=function(a,b){if(!b||!b.direction)return a;switch(b.active){case "status":return gxa()(a,b.direction);case "assignee":return hxa()(a,b.direction);case "reporter":return jxa()(a,b.direction);case "type":return ixa()(a,b.direction);case "createdTime":return kxa()(a,b.direction);default:return a}},mSa=function(a){a&1&&(H(0,"div"),K(1,"b-slo-time-indicator",1),J());a&2&&(a=P(),C(1),G("sloSnoozeUntil",a.sloSnoozeUntil)("sloEndTime",
a.sloEndTime)("sloBounds",a.assignmentSlo)("includeObjective",!0))},nSa=function(a){a&1&&(H(0,"div"),K(1,"b-slo-time-indicator",2),J());a&2&&(a=P(),C(1),G("sloSnoozeUntil",a.sloSnoozeUntil)("sloEndTime",a.sloEndTime)("sloBounds",a.responseSlo)("includeObjective",!0))},oSa=function(a){a&1&&(H(0,"div"),K(1,"b-slo-time-indicator",3),J());a&2&&(a=P(),C(1),G("sloSnoozeUntil",a.sloSnoozeUntil)("sloEndTime",a.sloEndTime)("sloBounds",a.closureSlo)("includeObjective",!0))},pSa=function(a){a&1&&(H(0,"div",
8),K(1,"b-slo-status-summary",9),J());a&2&&(a=P(),C(1),G("sloStatus",a.sloStatus)("sloSnoozeUntil",a.sloSnoozeUntil)("onlyShowMetric",a.onlyShowMetric))},qSa=function(a){a&1&&(L(0),S(1," No applicable SLO rules "),M())},rSa=function(a){a&1&&(L(0),S(1," No SLO set on issue component "),M())},sSa=function(a){a&1&&(H(0,"div",10),R(1,qSa,2,0,"ng-container",7),R(2,rSa,2,0,"ng-container",7),J());a&2&&(a=P(),C(1),G("ngIf",a.editSloLink),C(1),G("ngIf",!a.editSloLink))},tSa=function(a){if(a&1){var b=x();H(0,
"a",12);O("click",function(){z(b);var c=P(2);return A(c.trackOpenSlo())});S(1);J()}a&2&&(a=P(2),G("href",a.editSloLink,vd),C(1),Te(" ",a.sloName," "))},uSa=function(a){a&1&&(H(0,"span"),S(1," (private) "),J())},vSa=function(a){a&1&&(H(0,"span"),S(1," SLO definition: "),R(2,tSa,2,2,"a",11),R(3,uSa,2,0,"span",7),J());a&2&&(a=P(),C(2),G("ngIf",a.sloName),C(1),G("ngIf",!a.sloName))},wSa=function(a,b){if(a&1){var c=x();H(0,"div",5)(1,"mat-checkbox",6);O("change",function(d){var e=z(c).$implicit,g=P();
e=e.key;d.checked?g.updatedColumns.push(e):g.updatedColumns.splice(g.updatedColumns.indexOf(e),1);return A()});J();S(2);J()}a&2&&(a=b.$implicit,b=P(),C(1),G("checked",b.currentColumns.includes(a.key)),C(1),Te(" ",a.value," "))},xSa=function(a){a&1&&(H(0,"div",15),K(1,"img",16),S(2,"\u00a0 "),H(3,"a",17),S(4),J()());if(a&2){a=P().$implicit;var b=P(2);C(3);G("href",b.makeCritiqueUrl(a.clIds),vd);C(1);Te("",a.clIds.length," CLs")}},ySa=function(a,b){a&1&&K(0,"b-user-image",18);a&2&&G("email",b.$implicit)},
zSa=function(a,b){if(a&1){var c=x();H(0,"div",11);O("click",function(){var d=z(c).$implicit,e=P(2);return A(e.log(d))});H(1,"div",12);R(2,xSa,5,2,"div",13);J();R(3,ySa,1,1,"b-user-image",14);J()}a&2&&(a=b.$implicit,C(2),G("ngIf",0<a.clIds.length),C(1),G("ngForOf",a.contributors))},ASa=function(a){a&1&&(L(0),K(1,"b-issue-priority-display",20),M());a&2&&(a=P().$implicit,C(1),G("issuePriority",a))},BSa=function(a,b){a&1&&(L(0),R(1,ASa,2,1,"ng-container",10),M());a&2&&(a=b.$implicit,C(1),G("ngIf","P0"===
a||"P1"===a))},CSa=function(a){a&1&&(L(0),H(1,"div"),S(2),H(3,"a",21),S(4,"View as project"),J()(),M());a&2&&(a=P(2).$implicit,C(2),We(" \ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d\udc66 ",a.childIssueCount," ",1===a.childIssueCount?"child":"children",". "))},DSa=function(a){a&1&&(H(0,"div",15),K(1,"img",16),S(2,"\u00a0 "),H(3,"a",17),S(4),J()());if(a&2){a=P().$implicit;var b=P(2);C(3);G("href",b.makeCritiqueUrl(a.clIds),vd);C(1);Te("",a.clIds.length," CLs")}},ESa=function(a,b){if(a&1){var c=x();H(0,
"div",19);O("click",function(){var d=z(c).$implicit,e=P(2);return A(e.log(d))});R(1,BSa,2,1,"ng-container",10);R(2,CSa,5,2,"ng-container",10);R(3,DSa,5,2,"div",13);J()}a&2&&(a=b.$implicit,b=P().$implicit,C(1),G("ngIf",b.snapshot[0].priority),C(1),G("ngIf",0<b.childIssueCount),C(1),G("ngIf",0<a.clIds.length))},FSa=function(a,b){if(a&1){var c=x();L(0);H(1,"p",22);O("click",function(){var d=z(c).$implicit,e=P(2);return A(e.log(d))});S(2," Description: ");J();H(3,"p");S(4);T(5,"slice");J();M()}a&2&&(a=
b.$implicit,C(4),Te(" ",cf(5,1,null==a.firstEvent?null:a.firstEvent.unlinkifiedComment,0,300)," "))},GSa=function(a,b){if(a&1){var c=x();H(0,"div",1);O("click",function(){var d=z(c).$implicit,e=P();return A(e.log(d))});H(1,"div",2)(2,"div")(3,"span",3)(4,"a",4);S(5);J();H(6,"i",5);O("click",function(){var d=z(c).$implicit,e=P();return A(e.hackyPrefs.toggleCollapsed("project-"+d.issueId))});J()();H(7,"span",6);S(8);J()();R(9,zSa,4,2,"div",7);T(10,"async");J();R(11,ESa,4,3,"div",8);T(12,"async");H(13,
"div",9);R(14,FSa,6,5,"ng-container",10);T(15,"async");J();K(16,"div",2);J()}a&2&&(a=b.$implicit,b=P(),Ie("collapsed",b.prefs.collapsed["project-"+a.issueId]),C(4),Pe("href","/issues/",a.issueId,"/dependencies",vd),C(1),Te(" ",a.snapshot[0].title," "),C(3),Te(" ",a.issueId," "),C(1),G("ngIf",U(10,8,b.projectData$)),C(2),G("ngIf",U(12,10,b.projectData$)),C(3),G("ngIf",U(15,12,b.issueFr$)))},ISa=function(a){a=HSa(a);null!=a?(a=a.dateValue,a=new Date(a.year,a.month-1,a.day)):a=void 0;if(null==a)return"";
var b=a.toLocaleDateString(void 0,{dateStyle:"medium"});return(new Date).getFullYear()===a.getFullYear()?b.split(", ")[0]:b},KSa=function(a){a=encodeURIComponent(a.join("\n\n"));return"/issues/new?component="+JSa+"&description="+a},MSa=function(a){if(a&1){var b=x();H(0,"mat-slide-toggle",23);O("ngModelChange",function(c){z(b);var d=P();return A(d.isAssignedToMeOnly=c)})("change",function(c){z(b);var d=P();return A(LSa(d,c.checked))});S(1," Assigned only ");J()}a&2&&(a=P(),G("ngModel",a.isAssignedToMeOnly))},
NSa=function(a,b){a&1&&(L(0),K(1,"flat-issues-table",24),M());a&2&&(a=b.ngIf,b=P(),C(1),G("issueIds",a)("displayedColumns",b.columnsToDisplay)("assigneeMode","avatar-in-progress"))},OSa=function(a){a&1&&K(0,"b-spinner")},PSa=function(a){return OAa(a.getSearch())},QSa=function(a){a&1&&(H(0,"div",29),K(1,"img",30),S(2,"\u00a0 "),H(3,"a",31),S(4),J()());if(a&2){a=P().ngIf;var b=P(3);C(3);G("href",b.makeCritiqueUrl(a.clIds,a.pendingChangeLists),vd);C(1);Te("",a.clIds.length+a.pendingChangeLists.length,
" CLs")}},RSa=function(a,b){a&1&&K(0,"b-user-image",32);a&2&&G("email",b.$implicit)},SSa=function(a,b){a&1&&(H(0,"div",23)(1,"div",24),R(2,QSa,5,2,"div",25),J(),R(3,RSa,1,1,"b-user-image",26),T(4,"slice"),H(5,"button",27),K(6,"mat-icon",28),J()());if(a&2){a=b.ngIf;P(2);var c=Se(17);C(2);G("ngIf",0<a.clIds.length||0<a.pendingChangeLists.length);C(1);G("ngForOf",cf(4,3,a.contributors,0,10));C(2);G("matMenuTriggerFor",c)}},TSa=function(a){a&1&&(L(0),R(1,SSa,7,7,"div",22),T(2,"async"),M());a&2&&(a=P(2),
C(1),G("ngIf",U(2,1,a.savedSearchAggregatedData$)))},VSa=function(a){a&1&&(H(0,"a",31),S(1),J());if(a&2){a=P(2).$implicit;var b=P(3);G("href",b.makeCritiqueUrl(Ye(2,USa),a.pendingChangeLists),vd);C(1);Te("(",a.pendingChangeLists.length," pending)")}},WSa=function(a){a&1&&(H(0,"div",29),K(1,"img",30),S(2,"\u00a0 "),H(3,"a",31),S(4),J(),S(5," \u00a0 "),R(6,VSa,2,3,"a",35),J());if(a&2){a=P().$implicit;var b=P(3);C(3);G("href",b.makeCritiqueUrl(a.clIds,a.pendingChangeLists),vd);C(1);Te("",a.clIds.length+
a.pendingChangeLists.length," CLs");C(2);G("ngIf",0<a.pendingChangeLists.length)}},XSa=function(a,b){a&1&&(H(0,"div",34),R(1,WSa,7,3,"div",25),J());a&2&&(a=b.$implicit,C(1),G("ngIf",0<a.clIds.length||0<a.pendingChangeLists.length))},YSa=function(a){a&1&&(L(0),R(1,XSa,2,1,"div",33),T(2,"async"),M());a&2&&(a=P(2),C(1),G("ngIf",U(2,1,a.savedSearchAggregatedData$)))},ZSa=function(a,b){a&1&&(L(0),K(1,"flat-issues-table",39),M());a&2&&(a=b.ngIf,b=P(3),C(1),G("issueIds",a)("displayedColumns",b.columnsToDisplay)("assigneeMode",
"avatar-in-progress"))},$Sa=function(a){a&1&&(H(0,"div",36),R(1,ZSa,2,3,"ng-container",11),T(2,"slice"),T(3,"async"),H(4,"div",37)(5,"a",38),S(6,"View all issues"),J()()());if(a&2){a=P().ngIf;var b=P();C(1);G("ngIf",cf(2,2,U(3,6,b.savedSearchIssueIds$),0,10));C(4);Pe("href","/savedsearches/",a.searchId,"",vd)}},aTa=function(a){a&1&&(L(0),K(1,"activity-stream",42),T(2,"async"),M());a&2&&(a=P(3),C(1),G("activityEvents",U(2,1,a.savedSearchActivityEvents$)))},bTa=function(a){a&1&&K(0,"b-spinner")},cTa=
function(a){a&1&&(H(0,"footer"),K(1,"hr"),R(2,aTa,3,3,"ng-container",40),T(3,"async"),R(4,bTa,1,0,"ng-template",null,41,of),J());if(a&2){var b=Se(5);a=P(2);C(2);G("ngIf",U(3,2,a.savedSearchActivityEvents$))("ngIfElse",b)}},dTa=function(a,b){if(a&1){var c=x();H(0,"div",1)(1,"header",2)(2,"aside",3)(3,"div",4)(4,"button",5);O("click",function(){var d=z(c).ngIf,e=P();return A(Hl(e.hackyPrefs,"savedsearch-"+d.searchId))});S(5,"Add");J()()();H(6,"div",6)(7,"span",7)(8,"a",8);S(9);J();H(10,"button",9);
O("click",function(){var d=z(c).ngIf,e=P();return A(e.hackyPrefs.toggleCollapsed("savedsearch-"+d.searchId))});K(11,"mat-icon",10);J()()();R(12,TSa,3,3,"ng-container",11);J();R(13,YSa,3,3,"ng-container",11);R(14,$Sa,7,8,"div",12);R(15,cTa,6,4,"footer",11);H(16,"mat-menu",null,13)(18,"button",14);O("click",function(){var d=z(c).ngIf,e=P();return A(e.reorder(d.searchId,-1))});K(19,"mat-icon",15);H(20,"span",16);S(21,"Move up");J()();H(22,"button",14);O("click",function(){var d=z(c).ngIf,e=P();return A(e.reorder(d.searchId,
1))});K(23,"mat-icon",17);H(24,"span",16);S(25,"Move down");J()();K(26,"mat-divider");H(27,"button",18);O("click",function(){var d=z(c).ngIf,e=P();Tm(e.hackyPrefs,tk(d.searchId));return A()});K(28,"mat-icon",19);H(29,"span",16);S(30,"Remove from My Projects");J()();H(31,"a",20);K(32,"mat-icon",21);H(33,"span",16);S(34,"View Saved Search");J()()()()}a&2&&(a=b.ngIf,b=P(),Ie("never-collapse-mode",b.neverCollapse)("collapsed",b.isCollapsed(a)),C(8),Pe("href","/savedsearches/",a.searchId,"",vd),C(1),Te(" ",
a.name," "),C(3),G("ngIf",!b.addMode),C(1),G("ngIf",!b.isCollapsed(a)),C(1),G("ngIf",!b.isCollapsed(a)),C(1),G("ngIf",!b.isCollapsed(a)),C(3),G("disabled",!b.canMove(a.searchId,-1)),C(4),G("disabled",!b.canMove(a.searchId,1)),C(9),Pe("href","/savedsearches/",a.searchId,"",vd))},eTa=function(a){a&1&&K(0,"mat-pseudo-checkbox",5);a&2&&(a=P(),G("state",a.selected?"checked":"unchecked")("disabled",a.disabled))},fTa=function(a){return a&&a.length?a.map(function(b){return b.toApiUrlParam()}).join(","):null},
Wm=function(a,b){b=void 0===b?{}:b;return null==b.id?"":Vm(a,b)},Vm=function(a,b){var c=b=void 0===b?{}:b;b=c.params;c=c.tab;b&&(a=tya(a,b));c&&(a=a+"#"+c);return a},gTa=function(a){if(a&1){var b=x();H(0,"button",7);O("click",function(){z(b);var c=P(2);return A(c.removeHotlist.emit())});K(1,"mat-icon",8);J()}a&2&&(a=P(2),Ie("invisible",a.disabled),Ae("aria-disabled",a.disabled)("aria-label","Remove the hotlist "+a.hotlist.name))},hTa=function(a){a&1&&(L(0),H(1,"span",1)(2,"span",2)(3,"a",3),S(4),
J()(),R(5,gTa,2,4,"button",4),J(),H(6,"onedev-hovercard",null,5),K(8,"b-hotlist-card",6),J(),M());if(a&2){var b=Se(7);a=P();C(1);He("padding-right",a.removable?0:"10px");Ie("muted",a.disabled);G("onedevHovercardTrigger",b)("onedevHovercardActive",a.showHovercard);C(2);G("href",a.pathBuilder.viewHotlist(a.hotlist.hotlistId),vd);Ae("aria-label",a.getAriaLabel(a.hotlist));C(1);Ve(a.hotlist.name);C(1);G("ngIf",a.removable);C(3);G("hotlist",a.hotlist)}},iTa=function(a){a&1&&K(0,"mat-icon",3)},jTa=function(a){a&
1&&K(0,"b-spinner")},kTa=function(a){if(a&1){var b=x();H(0,"b-star-toggle",9);O("starClicked",function(){z(b);var c=P(2);return A(c.starClicked.emit())});T(1,"async");T(2,"async");J()}a&2&&(a=P(2),G("starMessage","Star this hotlist")("unStarMessage","Un-star this hotlist")("acceptInput",!U(1,4,Sl(a.isSavingStar,a.hotlist.hotlistId)))("starred",U(2,6,Sl(a.starredHotlists,a.hotlist.hotlistId))))},lTa=function(a){a&1&&(H(0,"p",10),S(1),J());a&2&&(a=P(2),C(1),Te(" ",a.hotlist.description," "))},mTa=function(a){a&
1&&(H(0,"div",1)(1,"div",2)(2,"label",3),S(3),J(),H(4,"span",4),R(5,kTa,3,8,"b-star-toggle",5),H(6,"a",6),O("click",function(b){return b.stopPropagation()})("keydown.enter",function(b){return b.stopPropagation()}),K(7,"mat-icon",7),J()()(),R(8,lTa,2,1,"p",8),J());a&2&&(a=P(),C(3),Te(" ",a.hotlist.name," "),C(2),G("ngIf",a.shouldShowStar(a.hotlist)),C(1),G("routerLink",a.paths.viewHotlist(a.hotlist.hotlistId)),C(2),G("ngIf",!a.isCompact&&a.hotlist.description))},nTa=function(a){a&1&&Le(0)},oTa=function(a){a&
1&&(L(0),R(1,nTa,1,0,"ng-container",6),M());if(a&2){P();var b=Se(12);C(1);G("ngTemplateOutlet",b)}},pTa=function(a){a&1&&Le(0)},qTa=function(a){a&1&&(L(0),R(1,pTa,1,0,"ng-container",6),M());if(a&2){P();var b=Se(6);C(1);G("ngTemplateOutlet",b)}},tTa=function(a){if(a&1){var b=x();H(0,"button",7);O("click",function(){z(b);var c=P();return A(rTa(c))});S(1," Create ");J()}a&2&&(a=P(),G("disabled",!(0<sTa(a).length)))},uTa=function(a){if(a&1){var b=x();H(0,"button",8);O("click",function(){z(b);var c=P();
return A(Xm(c))});S(1);J()}a&2&&(a=P(),G("mat-dialog-close",!0)("matTooltip",a.saveBtnTooltip)("disabled",a.pristine),Ae("aria-label",a.saveBtnTooltip),C(1),Te(" ",a.saveBtnLabel," "))},wTa=function(a){if(a&1){var b=x();H(0,"button",19);O("click",function(){z(b);var c=P(2),d=Ig(c.query$.value);c.allHotlistIds.has(d)?(c.selectedHotlistIds.add(d),Xm(c)):vTa(c,d);return A()});S(1);T(2,"async");H(3,"span",20);S(4,"(add hotlist by ID)");J()()}a&2&&(a=P(2),C(1),Te(" ",U(2,1,a.query$)," "))},xTa=function(a){if(a&
1){var b=x();H(0,"button",21);O("click",function(){z(b);P(2).showCreateNewPane=!0;return A()});S(1);T(2,"async");H(3,"span",20);S(4,"(create new)");J()()}a&2&&(a=P(2),C(1),Te(" ",U(2,1,a.query$)," "))},yTa=function(a,b){if(a&1){var c=x();L(0);H(1,"div",25,26);T(3,"async");H(4,"mat-list-option",27);O("focus",function(){z(c);var g=Se(2);return A(g.show())})("blur",function(){z(c);var g=Se(2);return A(g.hide())});T(5,"async");H(6,"hotlist-matlist-option",28);O("starClicked",function(){var g=z(c).$implicit,
h=P(3);return A(h.toggleStar(g.hotlistId))});J()()();M()}if(a&2){a=b.$implicit;b=P(3);var d,e;C(1);G("matTooltip",!1===(null==(d=U(3,10,a.permissions$))?null:d.appender)?b.NO_ACCESS_MESSAGE:"");C(3);He("height","auto");G("selected",b.selectedHotlistIds.has(a.hotlistId))("disabled",!1===(null==(e=U(5,12,a.permissions$))?null:e.appender))("value",a.hotlistId);C(2);G("hotlist",a)("isCompact",!1)("starredHotlists",b.starredHotlists)("isSavingStar",b.isSavingStar)}},zTa=function(a){if(a&1){var b=x();L(0);
H(1,"div",29)(2,"span",20);S(3," The number of hotlists is too large to show at once. ");J();H(4,"button",30);O("click",function(){z(b);var c=P(3);return A(c.forceShowOverflow$.next(!0))});S(5," Show all anyway ");J()();M()}},ATa=function(a,b){if(a&1){var c=x();L(0);H(1,"mat-selection-list",22,23);O("selectionChange",function(d){z(c);var e=P(2);return A(e.onChangeMatList(d))});R(3,yTa,7,14,"ng-container",24);J();R(4,zTa,6,0,"ng-container",18);T(5,"async");M()}a&2&&(a=b.$implicit,b=P(2),C(3),G("ngForOf",
a)("ngForTrackBy",b.trackByHotlistId),C(1),G("ngIf",U(5,3,b.isOverflowMode$)))},BTa=function(a){if(a&1){var b=x();H(0,"header",9)(1,"h2");S(2,"Search for Hotlists");J();H(3,"div",10);K(4,"mat-icon",11);H(5,"input",12,13);O("input",function(){z(b);var c=Se(6);P().query$.next(c.value);return A()});J()()();H(7,"section",14,15);R(9,wTa,5,3,"button",16);T(10,"async");R(11,xTa,5,3,"button",17);T(12,"async");R(13,ATa,6,5,"ng-container",18);T(14,"async");J()}a&2&&(a=P(),C(9),G("ngIf",U(10,3,a.showLoadById$)),
C(2),G("ngIf",U(12,5,a.showCreateNew$)),C(2),G("ngIf",U(14,7,a.visibleHotlists$)))},CTa=function(a){a&1&&(H(0,"header",9)(1,"h2"),S(2,"Create new hotlist"),J()(),H(3,"section",31)(4,"div",32)(5,"form",33)(6,"label",34),S(7,"Name"),J(),K(8,"input",35),H(9,"label",36),S(10,"Description"),J(),K(11,"textarea",37),H(12,"p",20),S(13," Note: Access controls can be adjusted after the hotlist is created. "),J()()()());a&2&&(a=P(),C(5),G("formGroup",a.hotlistUnderEdit))},DTa=function(a,b){return a.name.localeCompare(b.name)},
ETa=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)},FTa=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)"]},GTa=function(a,b){a&
1&&(H(0,"span",11),S(1," of "),H(2,"a",12),S(3),J()());if(a&2){a=b.$implicit;P(2);var c=Se(12);C(2);Pe("routerLink","/issues/",a,"");G("onedevHovercardTrigger",c);C(1);Te(" ",a," ")}},HTa=function(a,b){a&1&&(H(0,"div")(1,"div",9),T(2,"async"),S(3),J(),R(4,GTa,4,3,"span",10),T(5,"async"),J());a&2&&(a=b.$implicit,b=P(),C(1),Je("chippy ",U(2,6,b.statusCssClass$),""),G("title",b.STATUS_JS_FULL_TEXT[a]),C(2),Te(" ",b.STATUS_JS_TERSE[a]," "),C(1),G("ngIf",U(5,8,b.canonicalId$)))},ITa=function(a,b){a&1&&
(H(0,"span"),S(1),J());a&2&&(a=b.$implicit,b=P(),Je("b-chip squared issue-type-",a,""),C(1),Te(" ",b.ISSUE_TYPE_TEXT[a]," "))},KTa=function(a,b){if(a&1){var c=x();H(0,"b-hotlist-chip-smart",17);O("removeHotlist",function(){var d=z(c).$implicit,e=P(2);return A(JTa(e,d))});J()}a&2&&G("id",b.$implicit)},MTa=function(a,b){if(a&1){var c=x();H(0,"div",13)(1,"button",14);O("onHotkey",function(){z(c);var d=P();return A(LTa(d))})("click",function(){z(c);var d=P();return A(LTa(d))});K(2,"mat-icon",15);S(3);
T(4,"async");J();R(5,KTa,1,1,"b-hotlist-chip-smart",16);J()}a&2&&(a=b.$implicit,b=P(),C(1),G("hotkey",b.HOTKEYS.OPEN_HOTLIST_PICKER),C(2),Te(" ",U(4,3,b.textOfHotlistBtn$)," "),C(2),G("ngForOf",a))},NTa=function(a){a&1&&(H(0,"div",18),K(1,"smart-full-history-btn"),J())},OTa=function(a){a&1&&(K(0,"b-issue-card",19,20),T(2,"async"));if(a&2){var b=Se(1);a=P();G("onedevIsHovercardReady",b.init)("issueId",U(2,2,a.canonicalId$))}},PTa=function(a){return null==a?void 0:a.snapshot[0].hotlistId},QTa=function(a){a&
1&&(H(0,"h3",3,4),S(2),J());a&2&&(a=P(),Ae("title",a.isLongTitle?a.titlePlain:""),C(2),Te(" ",a.titleTruncated,"\n"))},TTa=function(a){if(a&1){var b=x();H(0,"mat-form-field",5)(1,"input",6,7);O("keyup",function(c){z(b);var d=P();return A(RTa(d,c))})("blur",function(){z(b);var c=P();return A(RTa(c,null))});J()()}a&2&&(a=P(),G("ngStyle",Ze(2,STa,a.editModeWidth)),C(1),G("value",a.titlePlain))},VTa=function(a){if(a&1){var b=x();H(0,"button",8);O("click",function(){z(b);var c=P();return A(UTa(c))});K(1,
"mat-icon",9);J()}a&2&&(a=P(),G("disabled",a.disabled))},XTa=function(a,b){if(a&1){var c=x();H(0,"button",1);O("click",function(){z(c);var d=P();return A(WTa(d))});T(1,"async");S(2);J()}a&2&&(a=b.ngIf,b=P(),G("disabled",b.disabled||b.fridge.isSaving(b.internalIssueId)||!1===U(1,3,b.canEdit$))("title",a.isDupe?b.TOOLTIP_UNMARK_DUPE:b.TOOLTIP_MARK_DUPE),C(2),Te(" ",a.isDupe?"Unmark Duplicate":"Mark as Duplicate"," "))},YTa=function(a){a&1&&(H(0,"p",11),S(1),J());a&2&&(a=P(),C(1),Te(" * Status update must be less than ",
a.CHAR_LIMIT," characters. "))},ZTa=function(a){a&1&&(H(0,"div",12),K(1,"b-live-preview",13),J());a&2&&(a=P(),C(1),G("comment",a.newStatusUpdate.updateText)("issueId",a.origStatusUpdate.issueId)("formattingMode",a.newStatusUpdate.formattingMode)("audience",a.formattingAudience))},$Ta=function(a,b){a&1&&(H(0,"li",6)(1,"div",7),K(2,"b-user-image",8),J(),H(3,"div",9),K(4,"b-user-display",10)(5,"b-formatted-date-time",11),H(6,"p",12),S(7," Formatting: "),H(8,"code",13),S(9),J()(),K(10,"br"),H(11,"span",
14)(12,"b-person-hovercard",15),T(13,"omitObfuscatedEmail"),S(14),T(15,"appendDomain"),J()(),S(16),J(),H(17,"pre"),S(18),J()());a&2&&(a=b.$implicit,b=b.index+1,C(2),G("email",null==a.author?null:a.author.emailAddress),C(2),G("model",a.author),C(1),G("timestamp",a.updateTime),C(4),Te(" ",a.formattingMode," "),C(3),G("email",U(13,8,null==a.author?null:a.author.emailAddress)),C(2),Te(" <",U(15,10,null==a.author?null:a.author.emailAddress),"> "),C(2),Te(" #",b," "),C(2),Ve(a.updateText))},bUa=function(a){if(a&
1){var b=x();L(0);H(1,"header",3)(2,"h4",4);S(3,"Status Update");J();H(4,"p",5);S(5,"No update yet.");J();H(6,"button",6);O("click",function(){z(b);var c=P(2);return A(aUa(c))});S(7," Edit ");J()();M()}},dUa=function(a){if(a&1){var b=x();H(0,"button",15);O("click",function(){z(b);var c=P(4);return A(cUa(c))});S(1," Mark as fresh ");J()}},eUa=function(a){a&1&&(L(0),R(1,dUa,2,0,"button",14),T(2,"async"),M());a&2&&(a=P(3),C(1),G("ngIf",U(2,1,a.freshnessIndicator$)===a.Freshness.STALE))},fUa=function(a){a&
1&&K(0,"mat-icon",21)},gUa=function(a,b){a&1&&(L(0),R(1,fUa,1,0,"mat-icon",16),T(2,"async"),S(3," Updated by "),H(4,"span",17),S(5),T(6,"shortenEmail"),J(),K(7,"b-formatted-date-time",18),H(8,"onedev-hovercard",null,19),K(10,"b-issue-person-card",20),J(),M());if(a&2){a=b.ngIf;var c=Se(9);b=P(3);var d,e;C(1);G("ngIf",U(2,5,b.freshnessIndicator$)===b.Freshness.FRESH);C(3);G("onedevHovercardTrigger",c);C(1);Te(" ",U(6,7,null!==(d=null==a.author?null:a.author.emailAddress)&&void 0!==d?d:"")," ");C(2);
G("timestamp",a.updateTime);C(3);G("email",null!==(e=null==a.author?null:a.author.emailAddress)&&void 0!==e?e:"")}},hUa=function(a,b){a&1&&K(0,"b-actions-menu",22);a&2&&(a=b.ngIf,G("buttonLabel","Status Update actions")("menuItems",a))},iUa=function(a,b){a&1&&(K(0,"b-note-container",27),T(1,"async"),T(2,"async"));if(a&2){a=b.ngIf;b=P().ngIf;var c=P(3),d;G("issueId",b.issueId)("issueAccessLevel",U(1,4,c.accessLevel$))("note",a)("formattingMode",null!==(d=U(2,6,c.formattingMode$))&&void 0!==d?d:c.FormattingMode.PLAIN)}},
jUa=function(a){if(a&1){var b=x();H(0,"button",28);O("click",function(){z(b);var c=P(4);return A(c.isCollapsed=!1)});S(1," Show More ");J()}},kUa=function(a){a&1&&(L(0),H(1,"div",23)(2,"div",null,24),R(4,iUa,3,8,"b-note-container",25),T(5,"async"),J(),R(6,jUa,2,0,"button",26),J(),M());a&2&&(a=P(3),C(2),Ie("collapsed",a.isCollapsed),C(2),G("ngIf",U(5,4,a.statusUpdateAsNote$)),C(2),G("ngIf",a.isCollapsed))},lUa=function(a){if(a&1){var b=x();L(0);H(1,"div",7)(2,"header",8)(3,"div",9)(4,"h4",10);S(5,
"Status Update");J();H(6,"button",11);O("click",function(){z(b);var c=P(2);return A(aUa(c))});S(7," Edit ");J();R(8,eUa,3,3,"ng-container",2);T(9,"async");J();H(10,"div",12);R(11,gUa,11,9,"ng-container",2);T(12,"async");R(13,hUa,1,2,"b-actions-menu",13);T(14,"async");J()();R(15,kUa,7,6,"ng-container",2);T(16,"async");J();M()}a&2&&(a=P(2),C(8),G("ngIf",U(9,4,a.currentUserIsAuthoritative$)),C(3),G("ngIf",U(12,6,a.statusUpdate$)),C(2),G("ngIf",U(14,8,a.menuItems$)),C(2),G("ngIf",U(16,10,a.statusUpdate$)))},
nUa=function(a,b){a&1&&(H(0,"div"),T(1,"async"),K(2,"mat-icon",1),R(3,bUa,8,0,"ng-container",2),R(4,lUa,17,12,"ng-container",2),J());a&2&&(a=b.ngIf,b=P(),Je("carded margin-s-sides margin-s-bottom bg-main highlighted-left flex-kids-x ",U(1,9,b.semanticClass$),""),Ie("display-none",$e(11,mUa,b.UiState.LOADING,b.UiState.HIDDEN).includes(a))("short-height",b.UiState.SHOW_EMPTY===a),C(3),G("ngIf",a===b.UiState.SHOW_EMPTY),C(1),G("ngIf",a===b.UiState.NORMAL))},oUa=function(a){switch(a){case 1:return"noUpdate";
case 2:return"noUpdateTeamMember";case 3:return"hasUpdate";case 0:return"";default:return""}},pUa=function(a){a&1&&(H(0,"p",10),S(1),J());a&2&&(a=P().$implicit,C(1),Ve(a.description))},qUa=function(a,b){a&1&&(L(0),H(1,"mat-list-option",6)(2,"div",7)(3,"label",8),S(4),J()(),R(5,pUa,2,1,"p",9),J(),M());a&2&&(a=b.$implicit,b=P(),C(1),He("height","auto"),G("selected",b.selectedSavedSearches.has(a.searchId))("value",a.searchId),C(3),Ve(a.name),C(1),G("ngIf",a.description))},rUa=function(a){if(a&1){var b=
x();H(0,"div",19)(1,"button",20);O("click",function(){z(b);var c=P(2);return A(c.headerOnly=!1)});S(2," Show affected files ");K(3,"mat-icon",21);J()()}},sUa=function(a,b){a&1&&(H(0,"div",27)(1,"div",28),S(2," \u00b7 "),H(3,"a",9),S(4),J()()());a&2&&(a=b.$implicit,b=P(3),C(3),Re("href","https://critique.corp.google.com/cl/",null==b.changelistWithId?null:b.changelistWithId.id,"",a.replace("//","/").split("#")[0],"",vd),C(1),Te(" ",a.replace("//depot/google3/","").split("#")[0]," "))},tUa=function(a){if(a&
1){var b=x();H(0,"div",22)(1,"p",23);S(2," Affected files ");H(3,"button",24);O("click",function(){z(b);var c=P(2);return A(c.headerOnly=!0)});K(4,"mat-icon",25);J()();R(5,sUa,5,3,"div",26);J()}a&2&&(a=P().ngIf,C(5),G("ngForOf",a.affectedFiles))},uUa=function(a){a&1&&(H(0,"div",29)(1,"div",30),K(2,"mat-icon",31),H(3,"a",32),S(4," Open in Critique "),J()()());a&2&&(a=P(2),C(3),Pe("href","https://critique.corp.google.com/cl/",null==a.changelistWithId?null:a.changelistWithId.id,"",vd))},vUa=function(a,
b){a&1&&(H(0,"div",1)(1,"div",2)(2,"div",3),K(3,"img",4),J(),H(4,"div",5)(5,"div",6)(6,"a",7),S(7),J()(),H(8,"div",8)(9,"a",9),S(10),J(),S(11," \u00b7 "),H(12,"span"),S(13),J(),S(14," \u00b7 "),H(15,"span"),S(16,"Authored by "),K(17,"b-user-display",10),J(),S(18," \u00b7 "),H(19,"span"),S(20),J()()(),H(21,"div",11)(22,"button",12),K(23,"mat-icon",13),J(),H(24,"mat-menu",null,14)(26,"button",15),S(27," Hide this notification "),J()()()(),R(28,rUa,4,0,"div",16),R(29,tUa,6,1,"div",17),R(30,uUa,5,1,"div",
18),J());if(a&2){a=b.ngIf;var c=Se(25);b=P();C(5);G("title",a.description.replace(/<br>/g," ").replace(/<[^>]*>/g,""));C(1);Pe("href","https://critique.corp.google.com/cl/",null==b.changelistWithId?null:b.changelistWithId.id,"",vd);C(1);Te(" ",a.description.replace(/<br>/g," ").replace(/<[^>]*>/g,"")," ");C(2);Pe("href","https://critique.corp.google.com/cl/",null==b.changelistWithId?null:b.changelistWithId.id,"",vd);C(1);Te("cl/",null==b.changelistWithId?null:b.changelistWithId.id,"");C(3);Ve(a.pending?
"Pending":"Submitted");C(4);G("model",b.emailToUser(a.author));C(3);We("",a.affectedFiles.length," file",1===a.affectedFiles.length?"":"s"," affected");C(2);G("matMenuTriggerFor",c);C(6);G("ngIf",b.headerOnly);C(1);G("ngIf",!b.headerOnly);C(1);G("ngIf",!b.headerOnly)}},wUa=function(a){a&1&&(L(0),S(1),K(2,"b-user-display",21),M());if(a&2){a=P().$implicit;var b=P().ngIf,c=P();C(1);Te(" \u00b7 ",c.STATUS_TERSE[a]," to ");C(1);G("model",b.snapshot[0].assigneeUser)}},xUa=function(a){a&1&&(L(0),S(1),K(2,
"b-user-display",21),M());if(a&2){a=P().$implicit;var b=P().ngIf,c=P();C(1);Te(" \u00b7 ",c.STATUS_TERSE[a]," \u00b7 ");C(1);G("model",b.snapshot[0].assigneeUser)}},yUa=function(a){a&1&&(L(0),S(1),M());if(a&2){a=P().$implicit;var b=P(2);C(1);Te(" \u00b7 ",b.STATUS_TERSE[a]," ")}},zUa=function(a){a&1&&(L(0,18),R(1,wUa,3,2,"ng-container",19),R(2,xUa,3,2,"ng-container",19),R(3,yUa,2,1,"ng-container",20),M());if(a&2){a=P().ngIf;var b=P();G("ngSwitch",a.snapshot[0].status);C(1);G("ngSwitchCase",b.IssueStatus.ASSIGNED);
C(1);G("ngSwitchCase",b.IssueStatus.ACCEPTED)}},AUa=function(a){if(a&1){var b=x();H(0,"div",25)(1,"button",26);O("click",function(){z(b);var c=P(3);return A(c.headerOnly=!1)});S(2," Show recent updates ");K(3,"mat-icon",27);J()()}},BUa=function(a){a&1&&(H(0,"span"),S(1),J());a&2&&(a=P().$implicit,C(1),Te("(",a.count,")"))},CUa=function(a,b){if(a&1){var c=x();L(0);H(1,"span");S(2," \u00b7 ");H(3,"span",40);O("click",function(){z(c);P(7);console.log("likeComment() is unimplemented");return A()});S(4);
J()();R(5,BUa,2,1,"span",1);M()}a&2&&(a=b.$implicit,C(4),Ve(a.hasReacted?"Unlike":"Like"),C(1),G("ngIf",0<a.count))},DUa=function(a){a&1&&(L(0),R(1,CUa,6,2,"ng-container",1),M());if(a&2){a=P(2).$implicit;var b=P(4);C(1);G("ngIf",null==a.event.commentReactions?null:a.event.commentReactions.get(b.ReactionType.UPVOTE))}},EUa=function(a){a&1&&(L(0),H(1,"div",34),K(2,"b-user-image",35),J(),H(3,"div",36)(4,"p",37)(5,"a",8),S(6),J()(),H(7,"p",38),K(8,"b-user-display",21),S(9," commented \u00b7"),K(10,"b-formatted-date-time",
39),R(11,DUa,2,1,"ng-container",1),J()(),M());if(a&2){a=P().$implicit;var b=P(3).ngIf,c=P();C(2);G("email",c.getUserEmailIfAvailable(a.event));C(2);G("title",a.event.unlinkifiedComment);C(1);Re("href","/issues/",b.issueId,"#comment",a.event.commentNumber,"",vd);C(1);Te(" ",a.event.unlinkifiedComment," ");C(2);G("model",a.event.userPerformingActionUser);C(2);G("timestamp",a.event.modifiedDate);C(1);G("ngIf",null==a.event.commentReactions?null:a.event.commentReactions.has(c.ReactionType.UPVOTE))}},
FUa=function(a){a&1&&(L(0),H(1,"div",34),K(2,"b-user-image",35),J(),H(3,"div",36)(4,"p",41),S(5," Issue created "),J(),H(6,"p",38),K(7,"b-user-display",21),S(8," created issue \u00b7"),K(9,"b-formatted-date-time",39),J()(),M());if(a&2){a=P().$implicit;var b=P(4);C(2);G("email",b.getUserEmailIfAvailable(a.event));C(5);G("model",a.event.userPerformingActionUser);C(2);G("timestamp",a.event.modifiedDate)}},GUa=function(a){a&1&&(L(0),H(1,"div",34),K(2,"b-user-image",35),J(),H(3,"div",36)(4,"p",41),S(5),
J(),H(6,"p",38),K(7,"b-user-display",21),S(8," submitted "),K(9,"b-changelist-link",42),S(10," \u00b7"),K(11,"b-formatted-date-time",39),J()(),M());if(a&2){a=P().$implicit;var b=P(4);C(2);G("email",b.clAuthorToEmailAddress(a.event));C(3);Te(" ",b.clEventToClDescription(a.event)," ");C(2);G("model",b.clAuthorToUser(a.event));C(2);G("changelistId",b.getClNumber(a.event));C(2);G("timestamp",a.event.modifiedDate)}},HUa=function(a){a&1&&(L(0),H(1,"div",34),K(2,"b-user-image",35),J(),H(3,"div",36)(4,"p",
41),S(5),J(),H(6,"p",38),K(7,"b-user-display",21),S(8," submitted "),K(9,"b-changelist-link",42),S(10,", fixing "),H(11,"a",8),S(12),J(),S(13," \u00b7"),K(14,"b-formatted-date-time",39),J()(),M());if(a&2){a=P().$implicit;var b=P(3).ngIf,c=P();C(2);G("email",c.clAuthorToEmailAddress(a.event));C(3);Te(" ",c.clEventToClDescription(a.event)," ");C(2);G("model",c.clAuthorToUser(a.event));C(2);G("changelistId",c.getClNumber(a.event));C(2);Pe("href","/issues/",b.issueId,"",vd);C(1);Te("b/",b.issueId,"");
C(2);G("timestamp",a.event.modifiedDate)}},IUa=function(a){a&1&&(L(0),H(1,"div",34),K(2,"b-user-image",35),J(),H(3,"div",36)(4,"p",41),S(5," Priority changed from "),K(6,"b-issue-priority-display",10),S(7," to "),K(8,"b-issue-priority-display",10),J(),H(9,"p",38),K(10,"b-user-display",21),S(11," updated issue \u00b7"),K(12,"b-formatted-date-time",39),J()(),M());if(a&2){a=P().$implicit;var b=P(4);C(2);G("email",b.getUserEmailIfAvailable(a.event));C(4);G("issuePriority",b.toIssuePriority(b.getPreviousDiffValue(a.event,
"priority")));C(2);G("issuePriority",b.toIssuePriority(b.getNewDiffValue(a.event,"priority")));C(2);G("model",a.event.userPerformingActionUser);C(2);G("timestamp",a.event.modifiedDate)}},JUa=function(a){a&1&&(L(0),H(1,"div",34),K(2,"b-user-image",35),J(),H(3,"div",36)(4,"p",41),S(5),J(),H(6,"p",38),K(7,"b-user-display",21),S(8," updated issue \u00b7"),K(9,"b-formatted-date-time",39),J()(),M());if(a&2){a=P().$implicit;var b=P(4);C(2);G("email",b.getUserEmailIfAvailable(a.event));C(3);We(" Status changed from ",
b.getPreviousDiffValue(a.event,"status")," to ",b.getNewDiffValue(a.event,"status")," ");C(2);G("model",a.event.userPerformingActionUser);C(2);G("timestamp",a.event.modifiedDate)}},KUa=function(a){a&1&&(L(0),H(1,"div",34),K(2,"b-user-image",35),J(),H(3,"div",36)(4,"p",41),S(5),J(),H(6,"p",38),K(7,"b-user-display",21),S(8," updated issue \u00b7"),K(9,"b-formatted-date-time",39),J()(),M());if(a&2){a=P().$implicit;var b=P(4);C(2);G("email",b.getUserEmailIfAvailable(a.event));C(3);We(" Assignee changed from ",
b.getPreviousDiffValue(a.event,"assignee")," to ",b.getNewDiffValue(a.event,"assignee")," ");C(2);G("model",a.event.userPerformingActionUser);C(2);G("timestamp",a.event.modifiedDate)}},LUa=function(a){a&1&&(L(0),H(1,"div",34),K(2,"b-user-image",35),J(),H(3,"div",36)(4,"p",41),S(5),J(),H(6,"p",38),K(7,"b-user-display",21),S(8," modified status update \u00b7"),K(9,"b-formatted-date-time",39),J()(),M());if(a&2){a=P().$implicit;var b=P(4);C(2);G("email",b.getUserEmailIfAvailable(a.event));C(3);Te(" ",
null==a.event.statusUpdate?null:a.event.statusUpdate.updateText," ");C(2);G("model",a.event.userPerformingActionUser);C(2);G("timestamp",a.event.modifiedDate)}},MUa=function(a){a&1&&(L(0),S(1," Default case "),M())},NUa=function(a,b){a&1&&(H(0,"div",33),L(1,18),R(2,EUa,12,8,"ng-container",19),R(3,FUa,10,3,"ng-container",19),R(4,GUa,12,5,"ng-container",19),R(5,HUa,15,7,"ng-container",19),R(6,IUa,13,5,"ng-container",19),R(7,JUa,10,5,"ng-container",19),R(8,KUa,10,5,"ng-container",19),R(9,LUa,10,4,"ng-container",
19),R(10,MUa,2,0,"ng-container",20),M(),J());a&2&&(a=b.$implicit,C(1),G("ngSwitch",a.eventType),C(1),G("ngSwitchCase","comment"),C(1),G("ngSwitchCase","newIssue"),C(1),G("ngSwitchCase","changelist"),C(1),G("ngSwitchCase","changelistFixed"),C(1),G("ngSwitchCase","priority"),C(1),G("ngSwitchCase","status"),C(1),G("ngSwitchCase","assignee"),C(1),G("ngSwitchCase","statusUpdate"))},OUa=function(a){if(a&1){var b=x();H(0,"div",28)(1,"p",29);S(2," Recent updates ");H(3,"button",30);O("click",function(){z(b);
var c=P(3);return A(c.headerOnly=!0)});K(4,"mat-icon",31);J()();R(5,NUa,11,9,"div",32);J()}a&2&&(a=P().ngIf,C(5),G("ngForOf",a.slice(-3)))},PUa=function(a){if(a&1){var b=x();H(0,"div",46);K(1,"mat-icon",47);H(2,"button",48);O("click",function(){z(b);var c=P(3).ngIf,d=P();return A(d.showCommentBox.set(c.issueId,!0))});S(3," Add a comment ");J()()}},QUa=function(a){if(a&1){var b=x();H(0,"div",49);K(1,"b-user-image",35);H(2,"mat-form-field");K(3,"textarea",50);J();H(4,"button",51);K(5,"mat-icon",52);
J();H(6,"button",53);O("click",function(){z(b);var c=P(3).ngIf,d=P();return A(d.showCommentBox.set(c.issueId,!1))});K(7,"mat-icon",54);J();H(8,"button",55);K(9,"mat-icon",56);J()()}a&2&&(a=P(4),C(1),G("email",a.currentUser.email),C(2),G("bFocus",!0))},RUa=function(a){a&1&&(H(0,"div",43),R(1,PUa,4,0,"div",44),R(2,QUa,10,2,"div",45),J());if(a&2){a=P(2).ngIf;var b=P();C(1);G("ngIf",!b.showCommentBox.get(a.issueId));C(1);G("ngIf",b.showCommentBox.get(a.issueId))}},SUa=function(a){a&1&&(L(0),R(1,AUa,4,
0,"div",22),R(2,OUa,6,1,"div",23),R(3,RUa,3,2,"div",24),M());a&2&&(a=P(2),C(1),G("ngIf",a.headerOnly),C(1),G("ngIf",!a.headerOnly),C(1),G("ngIf",!a.headerOnly))},TUa=function(a,b){a&1&&(L(0),H(1,"div",3)(2,"div",4),K(3,"img",5),J(),H(4,"div",6)(5,"div",7)(6,"a",8),S(7),J()(),H(8,"div",9)(9,"a",8),S(10),J(),S(11," \u00b7 "),K(12,"b-issue-priority-display",10),R(13,zUa,4,3,"ng-container",11),J()(),H(14,"div",12)(15,"button",13),K(16,"mat-icon",14),J(),H(17,"mat-menu",null,15)(19,"button",16),S(20," Hide this notification "),
J()()()(),R(21,SUa,4,3,"ng-container",17),T(22,"async"),M());if(a&2){a=b.ngIf;var c=Se(18);b=P();var d=Se(3);C(6);Pe("href","/issues/",a.issueId,"",vd);C(1);Te(" ",a.snapshot[0].title," ");C(2);Pe("href","/issues/",a.issueId,"",vd);C(1);Te("b/",a.issueId,"");C(2);G("issuePriority",a.snapshot[0].priority);C(1);G("ngIf",b.convertIssueStatusStrToTag(a.snapshot[0].status));C(2);G("matMenuTriggerFor",c);C(6);G("ngIf",U(22,9,null==b.issueWithEvents?null:b.issueWithEvents.events))("ngIfElse",d)}},UUa=function(a){a&
1&&K(0,"b-spinner")},VUa=function(a){a&1&&(L(0),K(1,"mat-icon",11),M())},WUa=function(a){if(a&1){var b=x();L(0);H(1,"button",12);O("mousedown",function(c){z(b);var d=P();return A(d.back(c))});K(2,"mat-icon",13);J();M()}},XUa=function(a){if(a&1){var b=x();L(0);H(1,"button",14);O("mousedown",function(c){z(b);var d=P();return A(d.expand(d.componentOption,c))});K(2,"mat-icon",15);J();M()}a&2&&(a=P(),C(1),G("matTooltip","View child components of "+a.componentOption.name),Ae("aria-label","View child components of "+
a.componentOption.name),C(1),G("svgIcon",a.showFolderSpecialIcon?"folder_special_24px":"folder"))},YUa=function(a){if(a&1){var b=x();L(0);H(1,"a",19);O("mousedown",function(d){z(b);var e=P().$implicit;P(2).selectComponentId.emit(e.id);d.preventDefault();d.stopPropagation();return A()});T(2,"boldPrefixMatches");T(3,"toString");J();M()}if(a&2){a=P().$implicit;var c=P(2);C(1);G("innerHtml",bf(2,1,U(3,4,a.name),c.query),ud)}},ZUa=function(a){a&1&&S(0);a&2&&(a=P().$implicit,Te(" ",a.name," "))},$Ua=function(a){a&
1&&(L(0),S(1,"\u00a0>\u00a0"),M())},aVa=function(a,b){a&1&&(L(0),R(1,YUa,4,6,"ng-container",6),R(2,ZUa,1,1,"ng-template",null,17,of),R(4,$Ua,2,0,"ng-container",18),M());if(a&2){a=b.$implicit;b=b.last;var c=Se(3);C(1);G("ngIf",a.name!=a.id)("ngIfElse",c);C(3);G("ngIf",!b)}},bVa=function(a){a&1&&(L(0),R(1,aVa,5,3,"ng-container",16),M());a&2&&(a=P(),C(1),G("ngForOf",a.componentOption.componentPath))},cVa=function(a,b){if(a&1){var c=x();L(0);H(1,"a",20);O("mousedown",function(d){var e=z(c).ngIf;P(2).selectComponentId.emit(e.id);
d.preventDefault();d.stopPropagation();return A()});S(2);J();M()}a&2&&(a=b.ngIf,C(2),Te(" ",a.name," "))},dVa=function(a){a&1&&R(0,cVa,3,1,"ng-container",18);a&2&&(a=P(),G("ngIf",a.componentOption.componentPath[a.componentOption.componentPath.length-1]))},eVa=function(a){a&1&&(H(0,"span",21),S(1," [Archived] "),J())},fVa=function(a){return{type:"team",id:a.teamId,name:a.name,description:a.description,pathNames:a.pathNames,pathIds:a.pathIds,expanded:!1}},gVa=function(a){return{type:"team",id:a.id,
name:a.name,description:a.description,expanded:!1}},hVa=function(a,b){var c,d=null!=(c=null==b?void 0:b.componentPathId)?c:[],e,g=null!=(e=null==b?void 0:b.componentPathName)?e:[];b=d.map(function(h,l){return{id:h,name:g[l],pathText:g.slice(0,l+1).join(" > ")}});return{type:"component",id:a.componentId,name:a.name,description:a.description,accessLimit:a.accessLimit,archived:a.archived,componentPath:b,trackerId:a.trackerId}},iVa=function(a){return new Map([].concat(Jc(a.entries())).map(function(b){var c=
k(b);b=c.next().value;c=c.next().value;return[b,c.map(gVa)]}))},jVa=function(a){a&1&&K(0,"img",5);a&2&&(a=P(),Ae("src",a.getLogoUrl(),vd))},kVa=function(a){a&1&&(H(0,"span",9),S(1,"no components"),J())},lVa=function(a){a&1&&(H(0,"div",6),K(1,"div",7),T(2,"boldPrefixMatches"),R(3,kVa,2,0,"span",8),J());a&2&&(a=P(),C(1),G("innerHtml",bf(2,2,a.teamOption.name,a.query),ud),C(2),G("ngIf",a.hasNoComponent))},mVa=function(a){if(a&1){var b=x();L(0);H(1,"a",15);O("mousedown",function(c){z(b);var d=P(2).index,
e=P(2);d=null==e.teamOption.pathIds?null:e.teamOption.pathIds[d];c.preventDefault();c.stopPropagation();d&&e.selectTeamId.emit(d);return A()});S(2);J();M()}a&2&&(a=P(2).$implicit,C(2),Ve(a))},nVa=function(a){a&1&&S(0);a&2&&(a=P(2).$implicit,Ve(a))},oVa=function(a){a&1&&(L(0),R(1,mVa,3,1,"ng-container",12),R(2,nVa,1,1,"ng-template",null,14,of),L(4),S(5," \u00b7 "),M()());if(a&2){var b=Se(3);a=P(3);C(1);G("ngIf",a.allowSegmentSelection)("ngIfElse",b)}},pVa=function(a){a&1&&(L(0),H(1,"strong",17),S(2),
J(),M());a&2&&(a=P(2).$implicit,C(2),Ve(a))},qVa=function(a){a&1&&S(0);a&2&&(a=P(2).$implicit,Ve(a))},rVa=function(a){a&1&&(R(0,pVa,3,1,"ng-container",12),R(1,qVa,1,1,"ng-template",null,16,of));if(a&2){var b=Se(2);a=P(3);G("ngIf",a.compact)("ngIfElse",b)}},sVa=function(a,b){a&1&&(L(0),R(1,oVa,6,2,"ng-container",12),R(2,rVa,3,2,"ng-template",null,13,of),M());if(a&2){a=b.last;var c=Se(3);C(1);G("ngIf",!a)("ngIfElse",c)}},tVa=function(a){a&1&&(H(0,"div",10),R(1,sVa,4,2,"ng-container",11),J());a&2&&(a=
P(),C(1),G("ngForOf",a.teamOption.pathNames))},uVa=function(){var a=wc(eg),b=a?a.location:null;return{getPathname:function(){return b?b.pathname+b.search:""}}},vVa=function(a){if(a&1){var b=x();H(0,"button",9);O("mousedown",function(c){z(b);P().clearQuery();return A(Ym(c))});K(1,"mat-icon",10);J()}},wVa=function(a){a&1&&(H(0,"div",13),S(1," Checking for admin access... "),J())},xVa=function(a){a&1&&(H(0,"div",15),S(1," You do not have admin access to this component. "),H(2,"a",16),S(3,"View component admins"),
J()());a&2&&(a=P(3),C(2),G("href",a.paths.manageComponent(a.selectedComponent.componentId,"access"),vd))},yVa=function(a){a&1&&R(0,xVa,4,1,"div",14);a&2&&(a=P(2),G("ngIf",!a.hasAccess&&a.selectedComponent))},zVa=function(a){a&1&&(H(0,"div"),R(1,wVa,2,0,"div",11),R(2,yVa,1,1,"ng-template",null,12,of),J());if(a&2){var b=Se(3);a=P();C(1);G("ngIf",a.checkingAccess)("ngIfElse",b)}},AVa=function(a){a&1&&K(0,"mat-progress-bar",24)},BVa=function(a){a&1&&(L(0),S(1,"s"),M())},EVa=function(a,b){if(a&1){var c=
x();L(0);H(1,"div",30);O("mousedown",function(e){var g=z(c).$implicit,h=P(5);CVa(h.searchState,g);return A(Ym(e))});H(2,"team-row",31);O("selectTeamId",function(e){z(c);var g=P(5);return A(DVa(g.searchState,e))});J()();M()}if(a&2){a=b.$implicit;b=P(5);var d=Se(3);C(1);G("data",a);C(1);G("teamOption",a)("query",d.value)("hasNoComponent",b.searchState.hasNoComponent(a.id))}},FVa=function(a){a&1&&(H(0,"div",27)(1,"div",28),S(2," Filter components by my teams "),H(3,"span"),S(4),R(5,BVa,2,0,"ng-container",
5),J()(),R(6,EVa,3,4,"ng-container",29),K(7,"mat-divider"),J());a&2&&(a=P().ngIf,C(4),Te("",a.length," team"),C(1),G("ngIf",1<a.length),C(1),G("ngForOf",a))},GVa=function(a,b){a&1&&(L(0),R(1,FVa,8,3,"div",26),M());a&2&&(a=b.ngIf,C(1),G("ngIf",a.length))},HVa=function(a){a&1&&Le(0)},JVa=function(a){a&1&&(L(0),R(1,GVa,2,1,"ng-container",5),T(2,"async"),R(3,HVa,1,0,"ng-container",25),M());if(a&2){a=P(2);var b=Se(12);C(1);G("ngIf",U(2,3,a.searchState.myTeams$));C(2);G("ngTemplateOutlet",b)("ngTemplateOutletContext",
Ze(5,IVa,a.searchState.recentComponents))}},KVa=function(a){a&1&&(L(0),S(1,"s"),M())},LVa=function(a){a&1&&Le(0)},OVa=function(a,b){a&1&&(L(0),R(1,LVa,1,0,"ng-container",25),M());if(a&2){a=b.$implicit;b=b.index;P(5);var c=Se(10);C(1);G("ngTemplateOutlet",c)("ngTemplateOutletContext",$e(4,MVa,a,Ze(2,NVa,b)))}},PVa=function(a){if(a&1){var b=x();H(0,"button",33);O("mousedown",function(){z(b);var c=P(5);return A(c.searchState.showAllTeams$.next(!0))});K(1,"mat-icon",34);S(2," Show all teams ");J()}},
QVa=function(a,b){a&1&&(H(0,"div",27)(1,"div",28),S(2," Filter components by teams "),H(3,"span"),S(4),R(5,KVa,2,0,"ng-container",5),J()(),R(6,OVa,2,7,"ng-container",29),T(7,"async"),R(8,PVa,3,0,"button",32),T(9,"async"),K(10,"mat-divider"),J());a&2&&(a=b.ngIf,b=P(4),C(4),Te("",a," team"),C(1),G("ngIf",1<a),C(1),G("ngForOf",U(7,4,b.searchState.filteredTeamOptions$)),C(2),G("ngIf",U(9,6,b.searchState.hasHiddenTeams$)))},RVa=function(a,b){a&1&&(L(0),R(1,QVa,11,8,"div",26),M());a&2&&(a=b.ngIf,C(1),G("ngIf",
a.length))},SVa=function(a){a&1&&Le(0)},UVa=function(a){a&1&&(L(0),R(1,RVa,2,1,"ng-container",5),T(2,"async"),R(3,SVa,1,0,"ng-container",25),M());if(a&2){a=P(2);var b=Se(12);C(1);G("ngIf",U(2,3,a.searchState.teamOptions$));C(2);G("ngTemplateOutlet",b)("ngTemplateOutletContext",Ze(5,TVa,a.searchState.componentOptions))}},VVa=function(a){a&1&&Le(0)},XVa=function(a,b){a&1&&(L(0),R(1,VVa,1,0,"ng-container",25),M());if(a&2){a=b.$implicit;b=b.index;P(7);var c=Se(10);C(1);G("ngTemplateOutlet",c)("ngTemplateOutletContext",
$e(4,MVa,a,Ze(2,WVa,b)))}},YVa=function(a){a&1&&(H(0,"div",42),R(1,XVa,2,7,"ng-container",29),J());a&2&&(a=P(2).ngIf,C(1),G("ngForOf",a))},aWa=function(a){if(a&1){var b=x();L(0);R(1,YVa,2,1,"div",41);H(2,"button",33);O("mousedown",function(c){z(b);var d=P(5),e=d.searchState.teamScope$.value;e.expanded?ZVa(d.searchState,e):$Va(d.searchState,e);return A(Ym(c))});K(3,"mat-icon",34);S(4);J();M()}a&2&&(a=P(5),C(1),G("ngIf",a.searchState.teamScope$.value.expanded),C(2),Ie("expanded",a.searchState.teamScope$.value.expanded),
C(1),Te(" ",a.searchState.teamScope$.value.expanded?"Hide":"Show"," child teams "))},bWa=function(a,b){a&1&&(L(0),R(1,aWa,5,4,"ng-container",5),M());a&2&&(a=b.ngIf,C(1),G("ngIf",a.length))},eWa=function(a){if(a&1){var b=x();H(0,"div",36)(1,"div",28);S(2," Filtering by team: ");J();H(3,"div",37)(4,"team-row",38);O("selectTeamId",function(d){z(b);var e=P(3);return A(DVa(e.searchState,d))});J();H(5,"button",39);O("mousedown",function(d){z(b);var e=P(3);cWa(e.searchState);return A(Ym(d))});K(6,"mat-icon",
40);J()();R(7,bWa,2,1,"ng-container",5);J()}if(a&2){a=P(3);var c=Se(3);C(3);G("data",a.searchState.teamScope$.value)("listOrder",Ye(7,dWa));C(1);G("teamOption",a.searchState.teamScope$.value)("query",c.value)("compact",!0)("allowSegmentSelection",!0);C(3);G("ngIf",a.searchState.getChildTeams(a.searchState.teamScope$.value.id))}},fWa=function(a){a&1&&Le(0)},hWa=function(a){a&1&&(L(0),R(1,eWa,8,8,"div",35),R(2,fWa,1,0,"ng-container",25),M());if(a&2){a=P(2);var b=Se(12);C(1);G("ngIf",a.searchState.teamScope$.value);
C(1);G("ngTemplateOutlet",b)("ngTemplateOutletContext",$e(3,gWa,a.searchState.componentOptions,a.searchState.teamScope$.value))}},kWa=function(a){if(a&1){var b=x();H(0,"div",44)(1,"div",45);S(2,"Component Tree Browser");J();H(3,"component-row",46);O("goBack",function(){z(b);var c=P(3);return A(iWa(c.searchState))})("selectComponentId",function(c){z(b);var d=P(3);return A(jWa(d.searchState,c))});J()()}a&2&&(a=P(3),C(3),G("componentOption",a.searchState.componentScope))},lWa=function(a){a&1&&Le(0)},
nWa=function(a){a&1&&(L(0),R(1,kWa,4,1,"div",43),R(2,lWa,1,0,"ng-container",25),M());if(a&2){a=P(2);var b=Se(12);C(1);G("ngIf",a.searchState.componentScope);C(1);G("ngTemplateOutlet",b)("ngTemplateOutletContext",Ze(3,mWa,a.searchState.componentOptions))}},oWa=function(a){if(a&1){var b=x();H(0,"div",17,18);O("mousedown",function(c){z(b);P();return A(Ym(c))});H(2,"div",19);R(3,AVa,1,0,"mat-progress-bar",20);J();H(4,"div",21);L(5,22);T(6,"async");R(7,JVa,4,7,"ng-container",23);R(8,UVa,4,7,"ng-container",
23);R(9,hWa,3,6,"ng-container",23);R(10,nWa,3,5,"ng-container",23);M();J()()}a&2&&(a=P(),C(3),G("ngIf",a.isLoading()),C(2),G("ngSwitch",U(6,6,a.searchState.state$)),C(2),G("ngSwitchCase","default"),C(1),G("ngSwitchCase","global"),C(1),G("ngSwitchCase","team_scope"),C(1),G("ngSwitchCase","component_scope"))},pWa=function(a){if(a&1){var b=x();H(0,"button",50);O("mousedown",function(c){z(b);var d=P().team,e=P();d.expanded?ZVa(e.searchState,d):$Va(e.searchState,d);return A(Ym(c))});K(1,"mat-icon",51);
J()}a&2&&(a=P().team,C(1),Ie("expanded",a.expanded))},qWa=function(a){a&1&&Le(0)},sWa=function(a,b){a&1&&(L(0),R(1,qWa,1,0,"ng-container",25),M());if(a&2){a=b.$implicit;b=b.index;var c=P(2),d=c.level;c=c.order;P();var e=Se(10);C(1);G("ngTemplateOutlet",e)("ngTemplateOutletContext",af(rWa,a,d+1,c.concat(b)))}},tWa=function(a){a&1&&(L(0),R(1,sWa,2,6,"ng-container",29),M());if(a&2){a=P().team;var b=P();C(1);G("ngForOf",b.searchState.getChildTeams(a.id))}},uWa=function(a,b){if(a&1){var c=x();H(0,"div",
47);O("mousedown",function(h){var l=z(c).team,q=P();CVa(q.searchState,l);return A(Ym(h))});H(1,"div",48);R(2,pWa,2,2,"button",49);H(3,"team-row",31);O("selectTeamId",function(h){z(c);var l=P();return A(DVa(l.searchState,h))});J()()();R(4,tWa,2,1,"ng-container",5)}if(a&2){a=b.team;var d=b.level;b=b.order;var e=P(),g=Se(3);G("listOrder",b)("data",a);C(1);He("margin-left",28*d,"px");C(1);G("ngIf",e.searchState.getChildTeams(a.id).length);C(1);Ie("indent",!e.searchState.getChildTeams(a.id).length);G("teamOption",
a)("query",g.value)("hasNoComponent",e.searchState.hasNoComponent(a.id));C(1);G("ngIf",a.expanded)}},vWa=function(a){a&1&&(L(0),S(1,"s"),M())},xWa=function(a,b){if(a&1){var c=x();H(0,"div",56);O("mousedown",function(g){var h=z(c).$implicit,l=P(3);wWa(l.searchState,h.id);return A(Ym(g))});H(1,"component-row",57);O("selectComponentId",function(g){z(c);var h=P(3);return A(wWa(h.searchState,g))})("expandComponent",function(g){z(c);var h=P(3);return A(h.searchState.expandComponent(g))});J()()}if(a&2){a=
b.$implicit;b=P(2).mode;var d=P(),e=Se(3);G("data",a);C(1);G("showFolderSpecialIcon",d.currentTracker.enableTrackersComponentPathTruncation&&d.currentTracker.inTracker)("componentOption",a)("query",e.value)("mode",b)}},yWa=function(a,b){a&1&&(H(0,"div",54)(1,"div",28),S(2),H(3,"span"),S(4),R(5,vWa,2,0,"ng-container",5),J()(),R(6,xWa,2,5,"div",55),J());if(a&2){a=b.ngIf;var c=P();b=c.mode;c=c.$implicit;C(2);Te(" ","recent"===b?"Select recent component":"Select component"," ");C(2);Te("",a," component");
C(1);G("ngIf",1<a);C(1);G("ngForOf",c)}},zWa=function(a){a&1&&(L(0),S(1," No recent components "),M())},AWa=function(a){a&1&&(L(0),S(1," No child components "),M())},BWa=function(a){a&1&&(L(0),S(1),K(2,"mat-icon",61),S(3," above ("),H(4,"a",62),S(5,"learn more "),K(6,"mat-icon",63),J(),S(7," about team associations)"),M());a&2&&(a=P(4).teamScope,C(1),Te(" for ",a.name,". Remove the team filter by clicking on the "))},CWa=function(a){a&1&&(L(0),S(1," No components found "),R(2,BWa,8,1,"ng-container",
5),M());a&2&&(a=P(3).teamScope,C(2),G("ngIf",a))},DWa=function(a){a&1&&(H(0,"div",59),L(1,22),R(2,zWa,2,0,"ng-container",23),R(3,AWa,2,0,"ng-container",23),R(4,CWa,3,1,"ng-container",60),M(),J());a&2&&(a=P(2).mode,C(1),G("ngSwitch",a),C(1),G("ngSwitchCase","recent"),C(1),G("ngSwitchCase","leaf"))},EWa=function(a){a&1&&R(0,DWa,5,3,"div",58);a&2&&(a=P(2),G("ngIf",!(a.componentLoading||a.searchState.componentsLoading)))},FWa=function(a,b){a&1&&(R(0,yWa,7,4,"div",52),R(1,EWa,1,1,"ng-template",null,53,
of));if(a&2){a=b.$implicit;var c=Se(2);G("ngIf",a.length)("ngIfElse",c)}},GWa=function(a,b){b=k([a.listOrder,b.listOrder]);a=b.next().value;b=b.next().value;for(var c=0;c<Math.min(a.length,b.length);c++)if(a[c]!==b[c])return a[c]-b[c];return a.length-b.length},HWa=function(a,b){a&1&&(H(0,"mat-radio-button",13),S(1),J());a&2&&(a=b.$implicit,b=P(2),G("checked",b.selectedFilter.type===a.type)("value",a),C(1),Te(" ",a.display," "))},IWa=function(a,b){a&1&&(H(0,"mat-radio-button",13),S(1),J());a&2&&(a=
b.$implicit,b=P(2),G("checked",b.selectedFilter.type===a.type)("value",a),C(1),Te(" ",a.display," "))},JWa=function(a){if(a&1){var b=x();L(0);H(1,"b-team-component-picker",14);O("selectedComponentChange",function(c){z(b);var d=P(2);return A(d.selectComponent(null!==c&&void 0!==c?c:null))});J();M()}a&2&&(a=P(2),C(1),G("selectedComponent",a.selectedComponent)("placeholder","Choose Component")("isRequired",!0))},KWa=function(a,b){a&1&&(H(0,"mat-radio-button",13),S(1),J());a&2&&(a=b.$implicit,b=P(2),
G("checked",b.selectedFilter.type===a.type)("value",a),C(1),Te(" ",a.display," "))},LWa=function(a,b){a&1&&(H(0,"mat-list-option",23),S(1),J());a&2&&(a=b.$implicit,G("value",a),C(1),Te(" ",a.name," "))},MWa=function(a){a&1&&(H(0,"mat-list-option",23),S(1," No hotlists matching search "),J());a&2&&G("value",null)},NWa=function(a,b){a&1&&(L(0),R(1,LWa,2,2,"mat-list-option",21),R(2,MWa,2,1,"mat-list-option",22),M());a&2&&(a=b.$implicit,C(1),G("ngForOf",a),C(1),G("ngIf",0===a.length))},OWa=function(a){if(a&
1){var b=x();H(0,"mat-selection-list",19);O("selectionChange",function(d){z(b);var e=P(3);0<d.options.length&&(d=d.options[0].value,e.selectedHotlist=d,Zm("streamFilterSelectedHotlist")(d),e.filters.get(3).search.value=String(d.hotlistId),e.selectedFilter=e.filters.get(3));e.isHotlistPanelOpen=!1;return A()});R(1,NWa,3,2,"ng-container",20);T(2,"async");J()}if(a&2){a=P(3);var c=Se(7);G("multiple",!1);C(1);G("ngIf",U(2,3,a.displayedHotlists$))("ngIfElse",c)}},PWa=function(a){if(a&1){var b=x();L(0);
H(1,"mat-form-field",15)(2,"mat-label");S(3,"Search starred hotlists");J();H(4,"input",16,17);O("input",function(){z(b);var e=Se(5);P(2).userHotlistQuery$.next(e.value);return A()})("focus",function(){z(b);var e=Se(5),g=P(2);e.select();g.isHotlistPanelOpen=!0;return A()});J()();R(7,OWa,3,5,"ng-template",18);O("detach",function(){z(b);P(2).isHotlistPanelOpen=!1;return A()})("backdropClick",function(){z(b);P(2).isHotlistPanelOpen=!1;return A()});M()}if(a&2){var c=Se(6);a=P(2);var d=Se(1);C(4);G("value",
a.selectedHotlist?a.selectedHotlist.name:"");C(3);G("cdkConnectedOverlayOrigin",d)("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",a.isHotlistPanelOpen)}},QWa=function(a){if(a&1){var b=x();H(0,"div")(1,"label",6);S(2,"Filter stream by");J();H(3,"mat-radio-group",7);O("change",function(c){z(b);var d=P();if(c=c.value)d.selectedFilter=c;return A()});R(4,HWa,2,3,"mat-radio-button",8);R(5,IWa,2,3,"mat-radio-button",8);R(6,JWa,2,3,"ng-container",9);R(7,KWa,2,3,"mat-radio-button",8);R(8,PWa,8,4,
"ng-container",9);J()();K(9,"mat-divider");H(10,"div",10)(11,"button",11);O("click",function(){z(b);var c=P();return A(c.closeMenu())});S(12,"Cancel");J();H(13,"button",12);O("click",function(){z(b);var c=P();return A(c.emitSelection())});S(14,"Apply");J()()}a&2&&(a=P(),C(3),G("value",a.selectedFilter),C(1),G("ngIf",a.filters.get(a.FilterType.ME)),C(1),G("ngIf",a.filters.get(a.FilterType.COMPONENT)),C(1),G("ngIf",a.selectedFilter.type===a.FilterType.COMPONENT),C(1),G("ngIf",a.filters.get(a.FilterType.HOTLIST)),
C(1),G("ngIf",a.selectedFilter.type===a.FilterType.HOTLIST))},RWa=function(a){a&1&&K(0,"b-spinner")},SWa=function(a,b){if(a&1){var c=x();L(0);H(1,"mat-list-option",11);O("click",function(){var d=z(c).$implicit;P(2);d.value=!d.value;UAa("activityStreamHeaderOnly")(d.value);return A()});S(2);J();M()}a&2&&(a=b.$implicit,C(1),G("value",a)("selected",a.value),C(1),Te(" ",a.display," "))},TWa=function(a){a&1&&(H(0,"mat-selection-list"),R(1,SWa,3,3,"ng-container",10),J());a&2&&(a=P(),C(1),G("ngIf",a.settings.get(a.SettingType.CARD_HEADER_ONLY)))},
UWa=function(a,b){a&1&&(L(0),K(1,"b-changelist-activity-card",14),M());a&2&&(a=b.$implicit,C(1),G("changelistWithId",a))},VWa=function(a){a&1&&(H(0,"div",12),R(1,UWa,2,1,"ng-container",13),T(2,"async"),J());a&2&&(a=P(),C(1),G("ngForOf",U(2,1,a.changelistsWithIds)))},WWa=function(a){a&1&&(H(0,"div",18),K(1,"b-spinner"),J())},XWa=function(a){a&1&&(L(0),H(1,"p",20),S(2),T(3,"async"),J(),M());if(a&2){a=P(2).$implicit;var b=P(2);C(2);b.currentDisplayDate=new Date(a.issue.majorModifiedTimeMicros/1E3);a=
b.dateFormatter.formatUserCalendar(b.currentDisplayDate);Ve(U(3,1,a))}},YWa=function(a){a&1&&(L(0),R(1,XWa,4,3,"ng-container",10),K(2,"b-issue-activity-card",19),M());if(a&2){a=P().$implicit;var b=P(2);C(1);if(b.currentDisplayDate){var c=b.getDayOfYear(new Date(a.issue.majorModifiedTimeMicros/1E3));var d=b.getDayOfYear(b.currentDisplayDate);c=c===d}else c=!1;G("ngIf",!c);C(1);G("issueWithEvents",a)("headerOnly",b.settings.get(b.SettingType.CARD_HEADER_ONLY).value)}},$Wa=function(a,b){a&1&&(L(0),R(1,
YWa,3,3,"ng-container",10),T(2,"async"),M());if(a&2){a=b.$implicit;var c;C(1);G("ngIf",0<(null!==(c=U(2,1,a.events))&&void 0!==c?c:Ye(3,ZWa)).length)}},aXa=function(a){if(a&1){var b=x();H(0,"div",21)(1,"p",22);S(2,"You've reached the end of recent activity.");J();H(3,"button",23);O("click",function(){z(b);P();var c=Se(1);return A(c.scrollTo(0,0))});S(4,"Back to top");J()()}},bXa=function(a){a&1&&(H(0,"div",12,15),R(2,WWa,2,0,"div",16),R(3,$Wa,3,4,"ng-container",13),T(4,"async"),R(5,aXa,5,0,"div",
17),J());a&2&&(a=P(),C(2),G("ngIf",a.loadingCards),C(1),G("ngForOf",U(4,3,a.issuesWithEvents$)),C(2),G("ngIf",!a.loadingCards))},cXa=function(a){a&1&&(H(0,"span",8),Oe(1,1),J())},dXa=function(a){a&1&&(H(0,"span",9),Oe(1,2),J())},eXa=function(a){a&1&&(H(0,"span",9),Oe(1,1),H(2,"span",10),Xc(),H(3,"svg",11),K(4,"path",12),J()()())},fXa=function(a){a&1&&(H(0,"span",13),Oe(1,2),J())},gXa=function(a,b){a&1&&(H(0,"mat-chip-option",36),S(1),J());a&2&&(a=b.$implicit,G("selected",a.selected),C(1),Te(" ",a.label,
" "))},hXa=function(a){a&1&&(H(0,"mat-header-cell"),S(1," Type "),J())},iXa=function(a,b){a&1&&(H(0,"mat-cell")(1,"mat-icon"),S(2),J()());a&2&&(a=b.$implicit,C(1),Je("google-material-icons product-icon ",a.icon,""),C(1),Ve(a.icon))},jXa=function(a){a&1&&(H(0,"mat-header-cell"),S(1," Description "),J())},kXa=function(a){a&1&&(H(0,"span"),S(1),J());a&2&&(a=P().$implicit,Je("priority-badge ",a.priority,""),C(1),Ve(a.priority))},lXa=function(a,b){a&1&&(H(0,"mat-cell"),R(1,kXa,2,4,"span",37),H(2,"a",38),
S(3),J()());a&2&&(a=b.$implicit,C(1),G("ngIf",a.priority),C(1),G("href",a.link,vd),Ae("target","Buganizer"!=a.source?"_blank":null),C(1),Ve(a.title))},nXa=function(a){a&1&&(H(0,"mat-header-cell"),S(1," Last modified "),J())},oXa=function(a,b){a&1&&(H(0,"mat-cell"),S(1),T(2,"date"),J());a&2&&(a=b.$implicit,C(1),Ve(bf(2,1,a.modifiedDate,"MMM d, y h:mma")))},pXa=function(a){a&1&&(H(0,"mat-header-cell"),S(1," Role "),J())},qXa=function(a,b){a&1&&(H(0,"mat-cell"),S(1),J());a&2&&(a=b.$implicit,C(1),Ve(a.role))},
rXa=function(a){a&1&&(H(0,"mat-header-cell"),S(1," Created "),J())},sXa=function(a,b){a&1&&(H(0,"mat-cell"),S(1),T(2,"date"),J());a&2&&(a=b.$implicit,C(1),Ve(U(2,1,a.creationDate)))},tXa=function(a){a&1&&K(0,"mat-header-row")},uXa=function(a){a&1&&K(0,"mat-row")},vXa=function(a){a&1&&K(0,"b-spinner")},wXa=function(a,b){a&1&&(H(0,"mat-tab",13)(1,"div",14)(2,"button",15),S(3),H(4,"mat-icon",8),S(5,"arrow_drop_down"),J()(),H(6,"mat-menu",16,17)(8,"div",18),O("click",function(d){return d.stopPropagation()}),
H(9,"mat-checkbox",19),S(10," Buganizer "),J(),H(11,"mat-checkbox",20),S(12," Critique "),J(),H(13,"mat-checkbox",20),S(14," Drive "),J(),H(15,"mat-checkbox",21),S(16," Launch "),J()()(),H(17,"mat-chip-listbox",22),R(18,gXa,2,2,"mat-chip-option",23),J()(),H(19,"div",24)(20,"mat-table",25),L(21,26),R(22,hXa,2,0,"mat-header-cell",27),R(23,iXa,3,4,"mat-cell",28),M(),L(24,29),R(25,jXa,2,0,"mat-header-cell",27),R(26,lXa,4,4,"mat-cell",28),M(),L(27,30),R(28,nXa,2,0,"mat-header-cell",27),R(29,oXa,3,4,"mat-cell",
28),M(),L(30,31),R(31,pXa,2,0,"mat-header-cell",27),R(32,qXa,2,1,"mat-cell",28),M(),L(33,32),R(34,rXa,2,0,"mat-header-cell",27),R(35,sXa,3,3,"mat-cell",28),M(),R(36,tXa,1,0,"mat-header-row",33),R(37,uXa,1,0,"mat-row",34),J(),R(38,vXa,1,0,"ng-template",null,35,of),J()());if(a&2){a=b.$implicit;var c=Se(7);b=P(2);G("label",a.label);C(2);G("matMenuTriggerFor",c);C(1);Te(" Source: ",a.sources.join(", ")," ");C(15);G("ngForOf",a.chips);C(2);G("dataSource",a.tasks);C(16);G("matHeaderRowDef",b.displayedColumns);
C(1);G("matRowDefColumns",b.displayedColumns)}},xXa=function(a){a&1&&(H(0,"div",10)(1,"mat-tab-group",11),R(2,wXa,40,7,"mat-tab",12),J()());a&2&&(a=P(),C(2),G("ngForOf",a.mvpMyTaskTabsData$))},yXa=function(){return(0,F.pipe)(qka(function(a,b){return a.concat(b)}))},AXa=function(a){if(a&1){var b=x();L(0);H(1,"div",11);Xc();H(2,"svg",12);K(3,"path",13)(4,"path",14)(5,"path",15)(6,"path",16)(7,"path",17)(8,"path",18)(9,"path",19)(10,"path",20)(11,"path",21)(12,"path",22)(13,"path",23)(14,"path",24);
H(15,"g",25)(16,"mask",26);K(17,"path",27);J();H(18,"g",28);K(19,"path",29);J()();K(20,"path",30)(21,"path",31)(22,"path",32)(23,"path",33)(24,"path",34)(25,"path",35)(26,"path",36)(27,"path",37)(28,"path",38)(29,"path",39)(30,"path",40)(31,"path",41)(32,"path",42)(33,"path",43)(34,"path",44)(35,"path",45);H(36,"mask",46);K(37,"path",47);J();H(38,"g",48);K(39,"path",49);J();H(40,"mask",50);K(41,"path",51);J();H(42,"g",52);K(43,"path",53)(44,"path",54)(45,"path",55)(46,"path",56)(47,"path",57)(48,
"path",58);J();K(49,"path",59)(50,"path",60)(51,"path",61)(52,"path",62);H(53,"defs")(54,"linearGradient",63);K(55,"stop",64)(56,"stop",65);J();H(57,"linearGradient",66);K(58,"stop",67)(59,"stop",68);J();H(60,"linearGradient",69);K(61,"stop",70)(62,"stop",65);J();H(63,"linearGradient",71);K(64,"stop",67)(65,"stop",68);J();H(66,"linearGradient",72);K(67,"stop",70)(68,"stop",65);J();H(69,"linearGradient",73);K(70,"stop",64)(71,"stop",65);J();H(72,"linearGradient",74);K(73,"stop",75)(74,"stop",76);J();
H(75,"linearGradient",77);K(76,"stop",78)(77,"stop",65);J();H(78,"linearGradient",79);K(79,"stop",78)(80,"stop",65);J();H(81,"linearGradient",80);K(82,"stop",70)(83,"stop",65);J();H(84,"linearGradient",81);K(85,"stop",70)(86,"stop",65);J();H(87,"linearGradient",82);K(88,"stop",64)(89,"stop",65);J()()();Yc();H(90,"p");S(91,"Use work areas to closely monitor a hotlist, component or a project.");J();H(92,"button",83);O("click",function(){z(b);var c=P(2);return A(zXa(c))});H(93,"mat-icon",84);S(94,"add");
J();S(95," Add work area ");J()();M()}},BXa=function(a){a&1&&(H(0,"mat-header-cell"),S(1," Type "),J())},CXa=function(a,b){a&1&&(H(0,"mat-cell")(1,"mat-icon"),S(2),J()());a&2&&(a=b.$implicit,C(1),Je("google-material-icons product-icon ",a.icon,""),C(1),Ve(a.icon))},DXa=function(a){a&1&&(H(0,"mat-header-cell"),S(1," Title "),J())},EXa=function(a,b){a&1&&(H(0,"mat-cell"),S(1),J());a&2&&(a=b.$implicit,C(1),Te(" ",a.title," "))},FXa=function(a){a&1&&(H(0,"mat-header-cell"),S(1," ID "),J())},GXa=function(a,
b){a&1&&(H(0,"mat-cell"),S(1),J());a&2&&(a=b.$implicit,C(1),Te(" ",a.id," "))},HXa=function(a){a&1&&(H(0,"mat-header-cell"),S(1," Priority "),J())},IXa=function(a,b){a&1&&(H(0,"mat-cell")(1,"span"),S(2),J()());a&2&&(a=b.$implicit,C(1),Je("priority-badge ",a.priority,""),C(1),Ve(a.priority))},JXa=function(a){a&1&&(H(0,"mat-header-cell"),S(1," Creation date "),J())},KXa=function(a,b){a&1&&(H(0,"mat-cell"),S(1),T(2,"date"),J());a&2&&(a=b.$implicit,C(1),Te(" ",U(2,1,a.date)," "))},LXa=function(a){a&1&&
(H(0,"mat-header-cell"),S(1," Assignee "),J())},MXa=function(a,b){a&1&&(H(0,"mat-cell"),S(1),J());a&2&&(a=b.$implicit,C(1),Te(" ",a.assignee," "))},NXa=function(a){a&1&&K(0,"mat-header-row")},OXa=function(a){a&1&&K(0,"mat-row")},PXa=function(a){a&1&&(H(0,"div",9)(1,"mat-tab-group",85)(2,"mat-tab",86)(3,"div",87)(4,"div",88)(5,"p"),S(6,"New/unread"),J(),H(7,"h2"),S(8,"4"),J()(),H(9,"div",88)(10,"p"),S(11,"Spiking"),J(),H(12,"h2"),S(13,"2"),J()(),H(14,"div",88)(15,"p"),S(16,"Recently active"),J(),H(17,
"h2"),S(18,"6"),J()(),H(19,"div",88)(20,"p"),S(21,"Mine"),J(),H(22,"h2"),S(23,"3"),J()()(),H(24,"div",89)(25,"mat-chip-listbox",90)(26,"mat-chip-option",91),S(27," Open "),J()(),K(28,"span",6),H(29,"button",92),S(30," View in TaskFlow "),H(31,"mat-icon",93),S(32,"launch"),J()(),H(33,"button",94)(34,"mat-icon",84),S(35,"help_outline"),J()()(),H(36,"mat-table",95),L(37,96),R(38,BXa,2,0,"mat-header-cell",97),R(39,CXa,3,4,"mat-cell",98),M(),L(40,99),R(41,DXa,2,0,"mat-header-cell",97),R(42,EXa,2,1,"mat-cell",
98),M(),L(43,100),R(44,FXa,2,0,"mat-header-cell",97),R(45,GXa,2,1,"mat-cell",98),M(),L(46,101),R(47,HXa,2,0,"mat-header-cell",97),R(48,IXa,3,4,"mat-cell",98),M(),L(49,102),R(50,JXa,2,0,"mat-header-cell",97),R(51,KXa,3,3,"mat-cell",98),M(),L(52,103),R(53,LXa,2,0,"mat-header-cell",97),R(54,MXa,2,1,"mat-cell",98),M(),R(55,NXa,1,0,"mat-header-row",104),R(56,OXa,1,0,"mat-row",105),J(),H(57,"div",106)(58,"button",92),S(59," Go to hotlist "),H(60,"mat-icon",93),S(61,"launch"),J()()()()()());a&2&&(a=P(3),
C(36),G("dataSource",a.fakeData.hotlistFull),C(19),G("matHeaderRowDef",a.displayedColumns),C(1),G("matRowDefColumns",a.displayedColumns))},QXa=function(a){a&1&&(L(0),R(1,PXa,62,3,"div",7),M());a&2&&(a=P(2),C(1),G("ngIf",!a.isCollapsed()))},RXa=function(a){a&1&&(H(0,"div",9),R(1,AXa,96,0,"ng-container",10),R(2,QXa,2,1,"ng-container",10),J());a&2&&(a=P(),C(1),G("ngIf",0===a.currentViewIndex),C(1),G("ngIf",1==a.currentViewIndex))},SXa=function(a,b){if(a&1){var c=x();H(0,"button",123);O("click",function(){var d=
z(c).$implicit;P(2).currentSourceType=d.label;return A()});S(1);J()}a&2&&(a=b.$implicit,G("disabled",a.disabled),C(1),Ve(a.label))},TXa=function(a,b){a&1&&(H(0,"mat-option",124),S(1),J());a&2&&(a=b.$implicit,G("value",a),C(1),Te(" ",a," "))},UXa=function(a){if(a&1){var b=x();H(0,"div",107)(1,"div",108)(2,"h2",109);S(3,"Add Work Area");J();H(4,"p");S(5,"Select a data source");J();H(6,"button",110);S(7);H(8,"mat-icon",84);S(9,"arrow_drop_down");J()();H(10,"mat-menu",111,112);R(12,SXa,2,2,"button",113);
J();H(13,"p");S(14,"Choose hotlist");J();H(15,"mat-form-field",114);K(16,"input",115);H(17,"mat-autocomplete",null,116);R(19,TXa,2,2,"mat-option",117);T(20,"async");J()()();H(21,"div",118)(22,"h2",109);S(23,"Preview");J();K(24,"img",119);J()();H(25,"mat-dialog-actions",120)(26,"button",121);O("click",function(){var e=z(b).dialogRef;return A(e.close("cancel"))});S(27,"Cancel");J();H(28,"button",122);O("click",function(){var e=z(b).dialogRef;return A(e.close(1))});S(29,"Add");J()()}if(a&2){var c=Se(11),
d=Se(18);a=P();C(6);G("matMenuTriggerFor",c);C(1);Te(" ",a.currentSourceType," ");C(5);G("ngForOf",a.sourceTypes);C(4);G("formControl",a.autocompleteControl)("matAutocomplete",d);C(3);G("ngForOf",U(20,6,a.filteredOptions))}},WXa=function(a){for(var b={},c=k(a.getComponentsMap().entries()),d=c.next();!d.done;d=c.next()){var e=k(d.value);d=e.next().value;e=e.next().value;b[Number(d)]=Bi(e)}var g,h;return{issuesWithSignals:yg(a,$m,1).map(VXa),numTotalResults:null!=(g=a.getNumTotalResults())?g:0,components:b,
nextPageToken:null!=(h=a.getNextPageToken())?h:""}},VXa=function(a){return{issue:Wi(a.getIssue()),signals:a.getSignalsList().map(XXa)}},XXa=function(a){return{signalType:fwa[Fh(a,1,0)],timestamp:tg(a.getTimestamp())}},YXa=function(a){return{dismissTimestamp:qi(a,ug,1)?tg(W(a,ug,1)):void 0}},ZXa=function(a){return uwa[a]},$Xa=function(){return"NEAR_SLO MENTIONED UNBLOCKED NEEDS_REPORTER_INPUT REPLIED_TO_MENTION NEWLY_BLOCKING ASSIGNED".split(" ")},aYa=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"}},bYa=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""}},cYa=function(a){a=new Date(a);var b=new Date;return b.getFullYear()===a.getFullYear()&&b.getMonth()===a.getMonth()&&b.getDate()===a.getDate()?
"back at "+a.toLocaleString("en-Us",{hour:"numeric",minute:"2-digit",hour12:!0}):"back on "+a.toLocaleString("en-Us",{month:"short",day:"numeric"})},dYa=function(a,b,c){b=Math.round((b.getTime()-(new Date).getTime())/6E4);if(!(b>60*c))return c=5*Math.round(b/5),55>=c?c=c.toString()+" minutes":(c=Math.round(b/60),c=c.toString()+" hour"+(1===c?"":"s")),a+" "+c},fYa=function(a){return(a=a.map(eYa).find(function(b){return!!b}))?{type:"Future Availability",text:a}:void 0},eYa=function(a){var b=new Date(a.timeRange.startTime);
if(a.status.hasOutOfOffice)return dYa("OOO in",b,24);if(a.status.hasOutsideWorkingHours)return dYa("Outside working hours in",b,3)},hYa=function(a){a=a.map(function(b){return new an({email:b})});return new gYa({userIds:a})},iYa=function(a){return new F.Observable(function(b){a.on("data",function(c){b.next(c)});a.on("error",function(c){b.error(c)});a.on("status",function(c){b.error(c)});a.on("end",function(){b.complete()});return function(){a.cancel()}})},jYa=function(a){return{"X-Goog-Api-Key":a,
Authorization:Fm([])||"","X-Goog-AuthUser":"0"}},kYa=function(a){return a.pipe(Pja(a.pipe(de(0))))},lYa=function(a){return a.getTagsList().includes(3)&&3===a.getType()},bn=function(a){return!!a},mYa=function(a,b){return[a.filter(b),a.filter(function(c){return!b(c)})]},oYa=function(a){return nYa(a).some(function(b){return Wh(b,3)<=(new Date).getTime()})},pYa=function(a){return oYa(a)?!1:nYa(a).some(function(b){return 2592E5>=Wh(b,3)-(new Date).getTime()})},nYa=function(a){return(a=a.getSloStatus())?
[a.getResponseBounds(),a.getClosureBounds(),a.getAssignmentBounds()].filter(bn).filter(function(b){return 0!==Wh(b,3)}):[]},rYa=function(a){if(a=cn(a.getResource())){var b;var c=a.getChangeSize();var d=a.getReviewerEmailsList().length;var e={};d=null!=(b=(e[0]=0,e[1]=1,e[2]=2,e[3]=3,e[4]=4,e[5]=5,e[6]=5,e[7]=5,e)[d])?b:6;b=0!==d&&0!==c?qYa[c][d]:void 0;var g=(a=null==(g=a.getDescription().match(/REVIEW_TIME_SECONDS=(\d+)/))?void 0:g[1])?(new Date).getTime()/1E3-Number(a):void 0;if(!(!g||!b||g<b||
21600>g))return{type:"Slow CL",text:"Slow CL",tooltipText:"This CL has taken longer to submit than similar CLs"}}},tYa=function(a){var b=a.numTasksPerSection,c=a.myWorkCriteria,d=a.needsMyInputCriteria,e=k(mYa(a.tasks,function(g){return g.isMyWork}));a=e.next().value;e=e.next().value;return[].concat(Jc(sYa(a,c).slice(0,b)),Jc(sYa(e,d).slice(0,b)))},dn=function(a){return a.resource.getLastModifiedTimestamp()},en=function(a,b){return a.signals.some(function(c){return c.type===b})},sYa=function(a,b){return a.sort(function(c,
d){var e;return null!=(e=b.map(function(g){return Number(g(d))-Number(g(c))}).find(function(g){return 0!==g}))?e:0})},vYa=function(a){return a.isMyWork||vi(uYa(a.resource),8)},yYa=function(a){return 1===yg(uYa(a.resource),fn,4).map(wYa).map(Number).reduce(xYa,0)},zYa=function(a){var b=(a=null==(b=W(uYa(a.resource),gn,2))?void 0:Fi(b,sg,1,hn))?(new Date(a.getYear(),a.getMonth()-1,a.getDay())).getTime()-(new Date).getTime():void 0;return b&&6048E5>b?-b:-6048E5},wYa=function(a){return![2,1].includes(a.getApprovalStatus())},
xYa=function(a,b){return a+b},AYa=function(a){return 3===jn(a.resource).getStatus()},BYa=function(a){return en(a,"Current Iteration")},CYa=function(a){return en(a,"P0")},DYa=function(a){return en(a,"Out of SLO")},EYa=function(a){return en(a,"Near SLO")},FYa=function(a){return Wh(jn(a.resource),19)},NYa=function(a){for(var b=k(a),c=b.next();!c.done;c=b.next())c=c.value,GYa.set(c.id,c);return tYa({tasks:a,numTasksPerSection:2,myWorkCriteria:[HYa,IYa,JYa,dn],needsMyInputCriteria:[HYa,KYa,IYa,LYa,JYa,
MYa,dn]})},LYa=function(a){return en(a,"Future Availability")},MYa=function(a){return!en(a,"Current Availability")},HYa=function(a){return cn(a.resource).getNeedsAttention()},KYa=function(a){var b=(a=null==(b=cn(a.resource).getDescription().match(/DIFFBASE=(\d+)/))?void 0:b[1])&&"cl/"+a;return b?(b=GYa.get(b))&&HYa(b)?KYa(b)-1:0:0},JYa=function(a){return en(a,"Submission Deadline")},IYa=function(a){return en(a,"Rollback")},OYa=function(a){return Ag(kn(a.resource),21)},PYa=function(a){return Ag(kn(a.resource),
24)},QYa=function(a){return Ag(kn(a.resource),23)},RYa=function(a){return Ag(kn(a.resource),22)},SYa=function(a){return vi(kn(a.resource),25)},TYa=function(a){var b=new Set(a.map(function(c){return c.resource.getResourceCase()}));if(0===b.size)return a;if(1===b.size)switch([].concat(Jc(b.keys()))[0]){case 6:return tYa({tasks:a,numTasksPerSection:2,myWorkCriteria:[CYa,AYa,BYa,DYa,EYa,FYa],needsMyInputCriteria:[CYa,DYa,EYa,FYa]});case 5:return tYa({tasks:a,numTasksPerSection:2,myWorkCriteria:[OYa,PYa,
dn],needsMyInputCriteria:[SYa,RYa,QYa,dn]});case 8:return NYa(a);case 9:return tYa({tasks:a.filter(vYa),numTasksPerSection:1,myWorkCriteria:[zYa,dn],needsMyInputCriteria:[zYa,yYa,dn]});default:return a}throw Error("Qd");},UYa=function(a){var b;a.pipe(ge()).subscribe(function(c){b=c});return b},VYa=function(a){return(0,F.pipe)(qka(function(b,c){return"hidden"===c.type?[].concat(Jc(b),[c.id]):b.filter(function(d){return d!==c.id})},a),oe(a))},WYa=function(a){var b,c;a=null!=(c=null==(b=jn(a.getResource()))?
void 0:b.getBlockingIssueIdsList().length)?c:0;return 0<a?(0,F.of)({type:"Blocking",text:"Blocking "+a+" issue"+(1<a?"s":"")}):(0,F.of)(void 0)},XYa=function(){return(0,F.pipe)(qka(function(a,b){return a.concat(b)}))},YYa=function(a){a=a.getResource();switch(a.getResourceCase()){case 8:return 2===cn(a).getCategory();case 6:return jn(a).getAssignedToMe();case 5:return kn(a).getOwnedByMe();case 9:return uYa(a).getOwnedByMe();default:return!1}},ZYa=function(a){a=cn(a.getResource());return 1===(null==
a?void 0:a.getCategory())?a.getAuthorEmail():""},$Ya=function(a){a&1&&(H(0,"div",13)(1,"span",14),S(2),J()());a&2&&(a=P(),C(2),Ve(a.allAlerts.length))},bZa=function(a){if(a&1){var b=x();H(0,"th",39)(1,"mat-checkbox",40);O("change",function(c){z(b);var d=P(2);c?(aZa(d)?d.selection.clear():d.selection.select.apply(d.selection,Jc(d.allAlerts)),c=void 0):c=null;return A(c)});J()()}a&2&&(a=P(2),C(1),G("checked",a.selection.hasValue()&&aZa(a))("indeterminate",a.selection.hasValue()&&!aZa(a)))},cZa=function(a,
b){if(a&1){var c=x();H(0,"td",41)(1,"mat-checkbox",42);O("click",function(d){return d.stopPropagation()})("change",function(d){var e=z(c).$implicit,g=P(2);return A(d?g.selection.toggle(e):null)});J()()}a&2&&(a=b.$implicit,b=P(2),C(1),G("checked",b.selection.isSelected(a)))},dZa=function(a){a&1&&(H(0,"th",39),S(1," Type "),J())},fZa=function(a){a&1&&(H(0,"mat-icon"),S(1),J());a&2&&(a=P().$implicit,P(2),Je("google-material-icons product-icon ",eZa(a),""),C(1),Ve(eZa(a)))},gZa=function(a){a&1&&K(0,"img",
45);a&2&&(a=P().$implicit,P(2),G("src",eZa(a),vd))},hZa=function(a,b){a&1&&(H(0,"td",41),R(1,fZa,2,4,"mat-icon",43),R(2,gZa,1,1,"ng-template",null,44,of),J());if(a&2){a=b.$implicit;var c=Se(3);C(1);G("ngIf","Ariane"!==a.type)("ngIfElse",c)}},iZa=function(a){a&1&&(H(0,"th",39),S(1," Description "),J())},kZa=function(a){a&1&&K(0,"b-issue-priority-display",48);a&2&&(a=P().$implicit,P(2),Je("priority-badge-",jZa(a),""),G("issuePriority",jZa(a)))},lZa=function(a,b){a&1&&(H(0,"td",41)(1,"div",46),R(2,kZa,
1,4,"b-issue-priority-display",47),S(3),J()());a&2&&(a=b.$implicit,C(2),G("ngIf","Buganizer"===a.type),C(1),Te(" ",a.description," "))},mZa=function(a){a&1&&(H(0,"th",39),S(1," Time of alert "),H(2,"mat-icon",49),S(3,"arrow_downward"),J()())},nZa=function(a){a&1&&K(0,"b-formatted-date-time",51);a&2&&(a=P().$implicit,G("timestamp",a.timestamp))},oZa=function(a,b){a&1&&(H(0,"td",41),R(1,nZa,1,1,"b-formatted-date-time",50),J());a&2&&(a=b.$implicit,C(1),G("ngIf",a.timestamp))},pZa=function(a){a&1&&(H(0,
"th",39),S(1," Alert "),J())},sZa=function(a,b){a&1&&(H(0,"td",41)(1,"div"),S(2),J()());a&2&&(a=b.$implicit,P(2),C(1),Je("signal-chip type-button ",qZa(a),""),C(1),Ve(rZa(a)))},tZa=function(a){a&1&&(H(0,"th",39),S(1," Action "),J())},vZa=function(a,b){a&1&&(H(0,"td",41)(1,"a",52),S(2),J()());a&2&&(a=b.$implicit,b=P(2),C(2),Ve(uZa(b,a)))},wZa=function(a){a&1&&K(0,"td",53)},xZa=function(a){a&1&&(H(0,"td",41)(1,"mat-icon",54),S(2,"do_not_disturb_on"),J()())},yZa=function(a){a&1&&K(0,"tr",55)},AZa=function(a){if(a&
1){var b=x();H(0,"tr",56);O("click",function(c){var d=z(b).$implicit,e=P(2);return A(zZa(e,c,d))})("mouseup",function(c){var d=z(b).$implicit,e=P(2);return A(zZa(e,c,d))});J()}},BZa=function(a){a&1&&(H(0,"div",15)(1,"div",16)(2,"button",17),S(3," Source: Buganizer, Critique, Drive, Launch "),H(4,"mat-icon",18),S(5,"arrow_drop_down"),J()(),H(6,"mat-menu",19,20)(8,"div",21),O("click",function(c){return c.stopPropagation()}),H(9,"mat-checkbox",22),S(10," Buganizer "),J(),H(11,"mat-checkbox",23),S(12,
" Critique "),J(),H(13,"mat-checkbox",23),S(14," Drive "),J(),H(15,"mat-checkbox",23),S(16," Launch "),J()()(),H(17,"mat-chip-listbox",24)(18,"mat-chip-option",25),S(19,"Last 30 days"),J()()(),H(20,"table",26),L(21,27),R(22,bZa,2,2,"th",28),R(23,cZa,2,1,"td",29),M(),L(24,30),R(25,dZa,2,0,"th",28),R(26,hZa,4,2,"td",29),M(),L(27,31),R(28,iZa,2,0,"th",28),R(29,lZa,4,2,"td",29),M(),L(30,32),R(31,mZa,4,0,"th",28),R(32,oZa,2,1,"td",29),M(),L(33,33),R(34,pZa,2,0,"th",28),R(35,sZa,3,4,"td",29),M(),L(36,34),
R(37,tZa,2,0,"th",28),R(38,vZa,3,1,"td",29),M(),L(39,35),R(40,wZa,1,0,"td",36),R(41,xZa,3,0,"td",29),M(),R(42,yZa,1,0,"tr",37),R(43,AZa,1,0,"tr",38),J()());if(a&2){var b=Se(7);a=P();C(2);G("matMenuTriggerFor",b);C(18);G("dataSource",a.allAlerts)("trackBy",a.trackByAlertId);C(22);G("matHeaderRowDef",a.displayedColumns);C(1);G("matRowDefColumns",a.displayedColumns)}},CZa=function(a){a&1&&Le(0)},DZa=function(a){a&1&&(L(0),H(1,"span",11),S(2,"No projects added"),J(),M())},EZa=function(a){a&1&&(L(0),R(1,
DZa,3,0,"ng-container",10),T(2,"async"),T(3,"async"),M());if(a&2){P();var b=Se(2);a=P();var c;C(1);G("ngIf",0===U(2,1,a.unarchivedProjectsCount$)&&0===((null==(c=U(3,3,null==b?null:b.rows$))?null:c.length)||0))}},GZa=function(a){if(a&1){var b=x();H(0,"p",11);S(1);H(2,"a",14);O("click",function(){z(b);var c=P(4);return A(FZa(c,[]))});S(3,"Show all");J()()}a&2&&(a=P().ngIf,C(1),We("Filtering ",a.count," closed issue",1===a.count?"":"s",". "))},HZa=function(a){if(a&1){var b=x();H(0,"p");S(1,"Closed issues may be filtered. ");
H(2,"a",14);O("click",function(){z(b);var c=P(4);return A(FZa(c,[]))});S(3,"Show all");J()()}},IZa=function(a,b){a&1&&(L(0),R(1,GZa,4,2,"p",13),R(2,HZa,4,0,"p",10),M());if(a&2){a=b.ngIf;P(2);var c=Se(2);C(1);G("ngIf",a.count);C(1);G("ngIf",0===a.count&&0<c.filters.length)}},JZa=function(a){if(a&1){var b=x();H(0,"a",14);O("click",function(){z(b);var c=P(3);return A(FZa(c,["OPEN"]))});S(1,"Only show open issues");J()}},LZa=function(a){a&1&&(L(0),R(1,IZa,3,2,"ng-container",10),T(2,"async"),R(3,JZa,2,
0,"a",12),M());if(a&2){P();var b=Se(2);C(1);G("ngIf",Ze(4,KZa,U(2,2,b.model.filteredRowCount$)));C(2);G("ngIf",0===b.filters.length)}},MZa=function(a,b){a&1&&(H(0,"section"),K(1,"expandable-issues-table",8,9),T(3,"async"),R(4,EZa,4,5,"ng-container",10),T(5,"async"),R(6,LZa,4,6,"ng-container",10),T(7,"async"),J());if(a&2){a=b.$implicit;var c=Se(2);b=P();var d,e;Ie("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]);C(1);Ie("hidden",0===((null==(d=U(3,9,c.rows$))?null:d.length)||0));G("rootIssueId",
a)("modifyMenuItems",b.modifyMenuItems)("filters",b.hackyPrefs.prefs.projectFilters);C(3);G("ngIf",null!==U(5,11,b.unarchivedProjectsCount$));C(2);G("ngIf",null==(e=U(7,13,null==c?null:c.rows$))?null:e.length)}},NZa=function(a){if(a&1){var b=x();H(0,"issue-card-compact",23);O("onDismiss",function(){z(b);var c=P().$implicit,d=P(3);return A(d.addProject(c.issueId))});J()}a&2&&(a=P().$implicit,G("issue",a)("onlyTitle",!0))},OZa=function(a,b){a&1&&(L(0),R(1,NZa,1,2,"issue-card-compact",22),M());a&2&&
(a=b.index,b=P(3),C(1),G("ngIf",a<b.suggestLimit))},PZa=function(a){a&1&&(H(0,"p"),S(1," No projects to suggest. Check out the "),H(2,"a",24),S(3," work tracking data model "),K(4,"mat-icon",25),J()())},QZa=function(a){if(a&1){var b=x();H(0,"b-button",26);O("onAction",function(){z(b);var c=P().ngIf,d=P(2);return A(d.suggestLimit=c.length)});S(1," Show more ");J()}},RZa=function(a,b){a&1&&(L(0),H(1,"div",19),R(2,OZa,2,1,"ng-container",20),R(3,PZa,5,0,"p",10),R(4,QZa,2,0,"b-button",21),J(),M());a&2&&
(a=b.ngIf,b=P(2),C(2),G("ngForOf",a),C(1),G("ngIf",0===a.length),C(1),G("ngIf",a.length>b.suggestLimit))},SZa=function(a){a&1&&K(0,"b-spinner")},TZa=function(a){a&1&&(H(0,"div",15)(1,"h1",16),S(2,"Suggested projects"),J(),R(3,RZa,5,3,"ng-container",17),T(4,"async"),R(5,SZa,1,0,"ng-template",null,18,of),J());if(a&2){var b=Se(6);a=P();C(3);G("ngIf",U(4,2,a.suggestedProjects$))("ngIfElse",b)}},UZa=function(a){if(a&1){var b=x();H(0,"b-button",30);O("onAction",function(){z(b);var c=P(2);return A(c.createChild())});
T(1,"async");S(2," Create new project ");J()}a&2&&(a=P(2),G("disabled",!U(1,1,a.canEdit$)))},VZa=function(a){if(a&1){var b=x();R(0,UZa,3,3,"b-button",27);H(1,"b-button",28);O("onAction",function(){z(b);var c=P();return A(c.addChild())});T(2,"async");S(3," Add existing project ");J();H(4,"b-button",29);O("onAction",function(){z(b);var c=P();return A(c.showSuggestedProjects=!c.showSuggestedProjects)});T(5,"async");S(6);J()}a&2&&(a=P(),G("ngIf",a.isNonPublicSession),C(1),G("disabled",!U(2,4,a.canEdit$)),
C(3),G("disabled",!U(5,6,a.canEdit$)),C(2),Te(" ",a.showSuggestedProjects?"Hide suggestions":"Suggest projects"," "))},WZa=function(a){a&1&&K(0,"my-work-card",10);a&2&&G("assignedOnly",!0)},XZa=function(a){a&1&&K(0,"my-work-card",10);a&2&&G("assignedOnly",!1)},YZa=function(a,b){a&1&&K(0,"hotlist-as-project-card",12);a&2&&G("hotlistId",b.$implicit)},ZZa=function(a){a&1&&(L(0),R(1,YZa,1,1,"hotlist-as-project-card",11),M());if(a&2){a=P().$implicit;var b=P();C(1);G("ngIf",b.extractHotlistId(a))}},$Za=
function(a){a&1&&K(0,"issue-as-immersed-card",15);a&2&&(a=P(2).$implicit,G("issueId",a))},a_a=function(a){a&1&&K(0,"issue-as-project-card",15);a&2&&(a=P(2).$implicit,G("issueId",a))},b_a=function(a){a&1&&(L(0)(1,6),R(2,$Za,1,1,"issue-as-immersed-card",13),R(3,a_a,1,1,"issue-as-project-card",14),M()());if(a&2){a=P().$implicit;var b=P();C(1);G("ngSwitch",null==b.prefs.itemDisplayType?null:b.prefs.itemDisplayType[a]);C(1);G("ngSwitchCase",b.IMMERSED)}},c_a=function(a){a&1&&K(0,"issue-as-immersed-card",
15);a&2&&(a=P(2).$implicit,G("issueId",a))},d_a=function(a){a&1&&K(0,"issue-as-project-card",15);a&2&&(a=P(2).$implicit,G("issueId",a))},e_a=function(a){a&1&&(L(0)(1,6),R(2,c_a,1,1,"issue-as-immersed-card",13),R(3,d_a,1,1,"issue-as-project-card",14),M()());if(a&2){a=P().$implicit;var b=P();C(1);G("ngSwitch",null==b.prefs.itemDisplayType?null:b.prefs.itemDisplayType[a]);C(1);G("ngSwitchCase",b.IMMERSED)}},f_a=function(a,b){a&1&&K(0,"saved-search-as-project-card",17);a&2&&G("savedSearchId",b.$implicit)},
g_a=function(a){a&1&&(L(0),R(1,f_a,1,1,"saved-search-as-project-card",16),M());if(a&2){a=P().$implicit;var b=P();C(1);G("ngIf",b.extractSavedSearchId(a))}},h_a=function(a){if(a&1){var b=x();L(0);H(1,"p",18);S(2," Unknown id/url format: `");H(3,"code");S(4);J();S(5,"`. ");H(6,"a",19);O("click",function(){z(b);var c=P().$implicit,d=P();return A(Tm(d.hackyPrefs,c))});S(7," Remove ");J();K(8,"br");S(9," Learn more: ");H(10,"a",20);S(11,"go/b-learn-project-add");J()();M()}a&2&&(a=P().$implicit,C(4),Ve(a))},
i_a=function(a,b){a&1&&(L(0)(1,6),R(2,WZa,1,1,"my-work-card",7),R(3,XZa,1,1,"my-work-card",7),R(4,ZZa,2,1,"ng-container",8),R(5,b_a,4,2,"ng-container",8),R(6,e_a,4,2,"ng-container",8),R(7,g_a,2,1,"ng-container",8),R(8,h_a,12,1,"ng-container",9),M()());a&2&&(a=b.$implicit,b=P(),C(1),G("ngSwitch",b.inferEntityType(a)),C(1),G("ngSwitchCase","assigned-to-me"),C(1),G("ngSwitchCase","recent-stuff-i-follow"),C(1),G("ngSwitchCase","hotlist"),C(1),G("ngSwitchCase","plain-id"),C(1),G("ngSwitchCase","issue"),
C(1),G("ngSwitchCase","savedsearch"))},j_a=function(a){if(a&1){var b=x();L(0);H(1,"div",21);K(2,"img",22);H(3,"p");S(4," Nothing selected. ");H(5,"button",23);O("click",function(){z(b);var c=P();return A(c.onClickAdd())});S(6,"Add Project");J()();H(7,"p",18)(8,"a",24);K(9,"mat-icon",25);J();S(10," You can pin almost anything here: hotlist, saved search, or parent issue. ");J()();M()}a&2&&(a=P(),C(2),G("src",a.SPACE_EMPTY_STATE,vd))},k_a=function(a){a&1&&(L(0),H(1,"div")(2,"h2"),S(3,"Suggestions"),
J(),K(4,"suggested-issue-projects"),J(),K(5,"suggested-hotlists"),M())},l_a=function(a){if(a&1){var b=x();H(0,"aside",26)(1,"button",27);O("click",function(){z(b);var c=P();return A(c.onClickAdd())});K(2,"mat-icon",28);S(3," Add project ");J();H(4,"button",29);O("click",function(){z(b);var c=P();return A(c.onClickAddHotlist())});S(5," Add Hotlist ");J();H(6,"button",29);O("click",function(){z(b);var c=P();return A(c.onClickAddSavedSearch())});S(7," Add Saved Search ");J()()}},m_a=function(a){a&1&&
K(0,"my-work-card",21);a&2&&G("assignedOnly",!0)},n_a=function(a){a&1&&K(0,"my-work-card",21);a&2&&G("assignedOnly",!1)},o_a=function(a,b){a&1&&K(0,"hotlist-as-project-card",23);a&2&&G("hotlistId",b.$implicit)("neverCollapse",!0)},p_a=function(a){a&1&&(L(0),R(1,o_a,1,2,"hotlist-as-project-card",22),M());if(a&2){a=P().$implicit;var b=P();C(1);G("ngIf",b.extractHotlistId(a))}},q_a=function(a){a&1&&(L(0),K(1,"issue-as-project-card",24),M());a&2&&(a=P().$implicit,C(1),G("issueId",a)("neverCollapse",!0))},
r_a=function(a,b){a&1&&K(0,"issue-as-project-card",24);a&2&&G("issueId",b.$implicit)("neverCollapse",!0)},s_a=function(a){a&1&&(L(0),R(1,r_a,1,2,"issue-as-project-card",25),M());if(a&2){a=P().$implicit;var b=P();C(1);G("ngIf",b.extractIssueId(a))}},t_a=function(a,b){a&1&&K(0,"saved-search-as-project-card",27);a&2&&G("savedSearchId",b.$implicit)("neverCollapse",!0)},u_a=function(a){a&1&&(L(0),R(1,t_a,1,2,"saved-search-as-project-card",26),M());if(a&2){a=P().$implicit;var b=P();C(1);G("ngIf",b.extractSavedSearchId(a))}},
v_a=function(a){if(a&1){var b=x();L(0);H(1,"p",12);S(2," Unknown id/url format: `");H(3,"code");S(4);J();S(5,"`. ");H(6,"a",28);O("click",function(){z(b);var c=P().$implicit,d=P();return A(Tm(d.hackyPrefs,c))});S(7," Remove ");J();K(8,"br");S(9," Learn more: ");H(10,"a",29);S(11,"go/b-learn-project-add");J()();M()}a&2&&(a=P().$implicit,C(4),Ve(a))},x_a=function(a,b){a&1&&(L(0)(1,16),H(2,"mat-tab",17),R(3,m_a,1,1,"my-work-card",18),R(4,n_a,1,1,"my-work-card",18),R(5,p_a,2,1,"ng-container",19),R(6,
q_a,2,2,"ng-container",19),R(7,s_a,2,1,"ng-container",19),R(8,u_a,2,1,"ng-container",19),R(9,v_a,12,1,"ng-container",20),J(),M()());if(a&2){a=b.$implicit;b=P();var c;C(1);G("ngSwitch",b.inferEntityType(a));C(1);G("label",null!==(c=w_a(b,a))&&void 0!==c?c:a);C(1);G("ngSwitchCase","assigned-to-me");C(1);G("ngSwitchCase","recent-stuff-i-follow");C(1);G("ngSwitchCase","hotlist");C(1);G("ngSwitchCase","plain-id");C(1);G("ngSwitchCase","issue");C(1);G("ngSwitchCase","savedsearch")}},y_a=function(a){if(a&
1){var b=x();H(0,"aside",31)(1,"button",32);O("click",function(){z(b);var c=P(2);return A(c.onClickAdd())});K(2,"mat-icon",33);S(3," Add project ");J();H(4,"button",34);O("click",function(){z(b);var c=P(2);return A(c.onClickAddHotlist())});S(5," Add Hotlist ");J();H(6,"button",34);O("click",function(){z(b);var c=P(2);return A(c.onClickAddSavedSearch())});S(7," Add Saved Search ");J()()}},z_a=function(a,b){a&1&&(L(0),R(1,y_a,8,0,"aside",30),M());a&2&&(a=b.$implicit,C(1),G("ngIf",0<a.length&&10>=a.length))},
A_a=function(a,b){a&1&&(L(0),K(1,"flat-issues-table",19),M());a&2&&(a=b.ngIf,b=P(),C(1),G("issueIds",a)("displayedColumns",b.DEFAULT_COLUMNS)("assigneeMode","avatar-in-progress"))},B_a=function(a){a&1&&K(0,"b-spinner")},D_a=function(a,b){if(a&1){var c=x();H(0,"span",6);O("click",function(){z(c);var e=P().$implicit,g=P();return A(g.toggleSignal(e))});K(1,"mat-icon",7);S(2);J()}if(a&2){a=b.$implicit;b=P().$implicit;var d=P();Je("chippy rounded ",a.className," margin-s-right");Ie("selected",d.selectedSignals.includes(b));
G("matTooltip",C_a(b));C(1);G("svgIcon",a.icon);C(1);We(" ",a.text," (",d.signalCounts[b],") ")}},E_a=function(a,b){a&1&&(L(0),R(1,D_a,3,9,"span",5),M());a&2&&(a=b.$implicit,b=P(),C(1),G("ngIf",b.SIGNAL_MAPPING[a]))},F_a=function(a,b){if(a&1){var c=x();L(0);H(1,"issue-card-compact",9);O("onDismiss",function(){z(c);var e=P().$implicit,g=P();return A(g.dismissIssue(e.issueId))});J();M()}if(a&2){a=b.$implicit;b=P().$implicit;var d=P();C(1);G("issue",b)("moreInfoIconSvg",a.icon)("moreInfoMessage",d.getSignalTypeTooltip(b.issueId))("moreInfoAccentColor",
a.color)("disableDismiss",d.dismissInProgress[b.issueId])}},H_a=function(a,b){a&1&&(L(0),R(1,F_a,2,5,"ng-container",8),M());a&2&&(b=b.$implicit,a=P(),C(1),b=G_a(a,b.issueId),G("ngIf",b?a.SIGNAL_MAPPING[b.signalType]:null))},I_a=function(a,b){a&1&&(H(0,"span",1),K(1,"mat-icon",2),J());a&2&&(a=b.ngIf,b=P(),Je("chippy rounded ",a.className," margin-xs-right"),G("matTooltip",b.getSignalTypeTooltip()),C(1),G("svgIcon",a.icon))},J_a=function(a,b){a&1&&(L(0),K(1,"b-signal-chip",8),M());a&2&&(a=b.$implicit,
C(1),G("signal",a))},K_a=function(a,b){a&1&&(H(0,"span"),R(1,J_a,2,1,"ng-container",7),J());a&2&&(a=b.row,b=P(2),C(1),G("ngIf",G_a(b,a.issueId)))},L_a=function(a,b){if(a&1){var c=x();L(0);H(1,"button",9);O("click",function(d){var e=z(c).$implicit,g=P().row;P(2).navigateToIssue(d,e,g);return A(d.stopPropagation())});S(2);J();M()}if(a&2){a=b.$implicit;P(3);C(2);a:switch(a.signalType){case "MENTIONED":case "NEEDS_REPORTER_INPUT":a="Reply";break a;default:a="View"}Te(" ",a," ")}},M_a=function(a,b){a&
1&&(H(0,"span"),R(1,L_a,3,1,"ng-container",7),J());a&2&&(a=b.row,b=P(2),C(1),G("ngIf",G_a(b,a.issueId)))},N_a=function(a){a&1&&(H(0,"flat-issues-table",5),R(1,K_a,2,1,"span",6),R(2,M_a,2,1,"span",6),J());a&2&&(a=P(),Ie("collapsed",a.hackyPrefs.prefs.collapsed[a.SECTION_SLUG]),G("issueIds",a.getIssueIdsToDisplay())("displayedColumns",a.columnsToDisplay)("customColumns",a.customColumns),C(1),G("forViewCell","alert"),C(1),G("forViewCell","action"))},O_a=function(a){a&1&&(H(0,"p",10),S(1,"None"),J())},
P_a=function(a,b){if(a&1){var c=x();L(0);H(1,"issue-card-compact",4);O("onDismiss",function(){var d=z(c).$implicit,e=P();Tm(e.hackyPrefs,d.issueId);e.refreshMonitor.refreshRequest.next();return A()});J();M()}a&2&&(a=b.$implicit,C(1),G("issue",a))},Q_a=function(a){a&1&&(L(0),S(1," No pinned issues. Click the 'pin' icon to add issues here. "),M())},R_a=function(a,b){for(a.has(b)&&a.delete(b);50<=a.size;)a.delete(a.keys().next().value);a.set(b,void 0)},S_a=function(a,b){var c;b=null!=(c=null==b?void 0:
b.split(","))?c:[];a.clear();c=k(b);for(b=c.next();!b.done;b=c.next())a.set(b.value,void 0)},T_a=function(a){a&1&&(H(0,"h4",11),S(1,"Pinned"),J())},U_a=function(a,b){if(a&1){var c=x();L(0);H(1,"issue-card-compact",12);O("onDismiss",function(){var d=z(c).$implicit,e=P(2);Tm(e.hackyPrefs,d.issueId);e.getIssueIdsToDisplay();return A()});J();M()}a&2&&(a=b.$implicit,C(1),G("issue",a))},W_a=function(a){a&1&&(L(0),R(1,T_a,2,0,"h4",8),T(2,"async"),H(3,"section",9),R(4,U_a,2,1,"ng-container",10),T(5,"async"),
J(),M());if(a&2){a=P();var b;C(1);G("ngIf",null!==(b=0<(null!==(b=U(2,2,a.pinnedIssues$))&&void 0!==b?b:Ye(6,V_a)).length)&&void 0!==b?b:!1);C(3);G("ngForOf",U(5,4,a.pinnedIssues$))}},X_a=function(a){if(a&1){var b=x();L(0);H(1,"button",13);O("click",function(c){z(b);var d=P().row,e=P();Tm(e.hackyPrefs,d.issueId);e.getIssueIdsToDisplay();return A(c.stopPropagation())});H(2,"mat-icon",14);S(3,"keep_off");J()();M()}},Y_a=function(a){if(a&1){var b=x();L(0);H(1,"button",15);O("click",function(c){z(b);
var d=P().row,e=P();Hl(e.hackyPrefs,d.issueId);e.getIssueIdsToDisplay();return A(c.stopPropagation())});H(2,"mat-icon",14);S(3,"keep");J()();M()}},Z_a=function(a,b){a&1&&(H(0,"span"),R(1,X_a,4,0,"ng-container",1),R(2,Y_a,4,0,"ng-container",1),J());a&2&&(a=b.row,b=P(),C(1),G("ngIf",ln(b.hackyPrefs).includes(a.issueId)),C(1),G("ngIf",!ln(b.hackyPrefs).includes(a.issueId)))},$_a=function(a,b){a&1&&(L(0),K(1,"flat-issues-table",5),M());a&2&&(a=b.ngIf,b=P(),C(1),Ie("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]),
G("issueIds",a)("displayedColumns",b.columnsToDisplay))},a0a=function(a){a&1&&K(0,"b-spinner")},b0a=function(a){a&1&&(H(0,"div",4),K(1,"mat-icon",5),S(2),T(3,"async"),J());if(a&2){a=P();var b=Se(4);G("onedevHovercardTrigger",b);C(2);Te("",U(3,2,a.teamName$)," ")}},c0a=function(a,b){a&1&&K(0,"b-team-chip",7);a&2&&G("teamId",b.$implicit)},d0a=function(a){a&1&&(L(0),H(1,"div",2),K(2,"b-user-image",14)(3,"b-user-display",15),S(4," submitted "),K(5,"b-changelist-link",16),S(6," for "),H(7,"b-issue-reference-widget",
17),S(8),J(),K(9,"b-formatted-date-time",18),J(),H(10,"p",19),S(11),J(),M());if(a&2){a=P().$implicit;var b=P(2);C(2);G("email",b.clAuthorToEmailAddress(a.event));C(1);G("model",b.clAuthorToUser(a.event));C(2);G("changelistId",b.getClNumber(a.event));C(2);G("href","b/issues/{{event.issueId}}")("issueId",a.issueId);C(1);Te("b/",a.issueId,"");C(1);G("timestamp",a.event.modifiedDate);C(2);Ve(b.clEventToClDescription(a.event))}},e0a=function(a){a&1&&(L(0),H(1,"div",2),K(2,"b-user-image",14)(3,"b-user-display",
15),S(4," commented on "),H(5,"b-issue-reference-widget",17),S(6),J(),K(7,"b-formatted-date-time",18),J(),H(8,"p",19),S(9),J(),M());if(a&2){a=P().$implicit;var b=P(2);C(2);G("email",b.getUserEmailIfAvailable(a.event));C(1);G("model",a.event.userPerformingActionUser);C(2);G("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);C(1);Te("b/",a.issueId,"");C(1);G("timestamp",a.event.modifiedDate);C(2);Ve(a.event.unlinkifiedComment)}},f0a=function(a){a&1&&(L(0),H(1,"div",2),K(2,"b-user-image",14)(3,
"b-user-display",15),S(4," changed priority for "),H(5,"b-issue-reference-widget",17),S(6),J(),K(7,"b-formatted-date-time",18),J(),H(8,"p",20),S(9,"Priority changed from "),K(10,"b-issue-priority-display",21),S(11," to "),K(12,"b-issue-priority-display",21),J(),M());if(a&2){a=P().$implicit;var b=P(2);C(2);G("email",b.getUserEmailIfAvailable(a.event));C(1);G("model",a.event.userPerformingActionUser);C(2);G("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);C(1);Te("b/",a.issueId,"");C(1);
G("timestamp",a.event.modifiedDate);C(3);G("issuePriority",b.toIssuePriority(b.getPreviousDiffValue(a.event,"priority")));C(2);G("issuePriority",b.toIssuePriority(b.getNewDiffValue(a.event,"priority")))}},g0a=function(a){a&1&&(L(0),H(1,"div",2),K(2,"b-user-image",14)(3,"b-user-display",15),S(4," changed status for "),H(5,"b-issue-reference-widget",17),S(6),J(),K(7,"b-formatted-date-time",18),J(),H(8,"p",20),S(9),J(),M());if(a&2){a=P().$implicit;var b=P(2);C(2);G("email",b.getUserEmailIfAvailable(a.event));
C(1);G("model",a.event.userPerformingActionUser);C(2);G("href",b.getIssueDetailsUrl(a.issueId))("issueId",a.issueId);C(1);Te("b/",a.issueId,"");C(1);G("timestamp",a.event.modifiedDate);C(2);We("Status changed from ",b.getPreviousDiffValue(a.event,"status")," to ",b.getNewDiffValue(a.event,"status"),"")}},h0a=function(a){a&1&&(L(0),H(1,"div",2),K(2,"b-user-image",14)(3,"b-user-display",15),S(4),J(),M());if(a&2){a=P().$implicit;var b=P(2);C(2);G("email",b.getUserEmailIfAvailable(a.event));C(1);G("model",
a.event.userPerformingActionUser);C(1);Te(" updated ",a.issueId," ")}},i0a=function(a,b){a&1&&(H(0,"div",10),L(1,11),R(2,d0a,12,8,"ng-container",12),R(3,e0a,10,7,"ng-container",12),R(4,f0a,13,8,"ng-container",12),R(5,g0a,10,8,"ng-container",12),R(6,h0a,5,3,"ng-container",13),M(),J());a&2&&(a=b.$implicit,Ie("margin-bottom",!b.last),C(1),G("ngSwitch",a.eventType),C(1),G("ngSwitchCase","changelist"),C(1),G("ngSwitchCase","comment"),C(1),G("ngSwitchCase","priority"),C(1),G("ngSwitchCase","status"))},
j0a=function(a){a&1&&(H(0,"div",8),R(1,i0a,7,7,"div",9),J());a&2&&(a=P(),C(1),G("ngForOf",a.teamActivityEvents))},k0a=function(a,b){a&1&&K(0,"b-team-chip",12);a&2&&G("teamId",b.$implicit)},l0a=function(){},m0a=function(a){a&1&&R(0,l0a,0,0,"ng-template")},o0a=function(a,b){a&1&&(H(0,"li"),R(1,m0a,1,0,null,14),J());if(a&2){a=b.$implicit;P(2);var c=Se(38);C(1);G("ngTemplateOutlet",c)("ngTemplateOutletContext",Ze(2,n0a,a))}},p0a=function(a,b){a&1&&(H(0,"div")(1,"ol"),R(2,o0a,2,4,"li",13),J()());a&2&&
(a=b.$implicit,C(2),G("ngForOf",null==a?null:a.results))},q0a=function(){},r0a=function(a){a&1&&R(0,q0a,0,0,"ng-template")},s0a=function(a,b){a&1&&(H(0,"li"),R(1,r0a,1,0,null,14),J());if(a&2){a=b.$implicit;P(2);var c=Se(38);C(1);G("ngTemplateOutlet",c)("ngTemplateOutletContext",Ze(2,n0a,a))}},t0a=function(a,b){a&1&&(H(0,"div")(1,"ol"),R(2,s0a,2,4,"li",13),J()());a&2&&(a=b.$implicit,C(2),G("ngForOf",null==a?null:a.results))},u0a=function(a){a&1&&K(0,"b-issue-card",24,25);if(a&2){var b=Se(1);a=P().$implicit;
G("onedevIsHovercardReady",b.init)("issueId",a.issueId)}},v0a=function(a){a&1&&(H(0,"span",26),S(1),J());a&2&&(a=P().$implicit,C(1),Te("(",null==a.aggregatedData?null:a.aggregatedData.voteCount," Votes)"))},w0a=function(a){a&1&&(H(0,"span",26),S(1),J());a&2&&(a=P().$implicit,C(1),Te("(",null==a?null:null==a.snapshot[0].duplicateIssueId?null:a.snapshot[0].duplicateIssueId.length," Duplicates)"))},x0a=function(a,b){a&1&&(H(0,"span"),S(1),J());a&2&&(a=b.$implicit,b=P(2),Je("chippy status-",a,""),C(1),
Te(" ",b.STATUS_TERSE[a]," "))},y0a=function(a,b){a&1&&(H(0,"onedev-hovercard",null,15),R(2,u0a,2,2,"b-issue-card",16),J(),H(3,"div",17)(4,"span",18)(5,"span"),S(6),J(),H(7,"span",19),S(8),J()(),H(9,"span")(10,"a",20),S(11),J(),R(12,v0a,2,1,"span",21),R(13,w0a,2,1,"span",21),J(),H(14,"span",22),R(15,x0a,2,4,"span",23),J()());if(a&2){a=b.$implicit;var c=Se(1);P();C(5);b=a.snapshot[0].priority;b=null!=b?gua[b]:void 0;Je("p-chip priority-",b," margin-s-right");C(1);Te(" ",a.snapshot[0].priority," ");
C(2);Ve(a.issueId);C(2);Pe("href","/issues/",a.issueId,"",vd);G("onedevHovercardTrigger",c);C(1);Ve(a.snapshot[0].title);C(1);var d,e;b=0<(null!=(e=null==(d=a.aggregatedData)?void 0:d.voteCount)?e:0);G("ngIf",b);C(1);var g;d=0<(null!=(g=null==a?void 0:a.snapshot[0].duplicateIssueId)?g:[]).length;G("ngIf",d);C(2);if(g="NEW"===a.snapshot[0].status||"ASSIGNED"===a.snapshot[0].status?!1:!0)g=a.snapshot[0].status,g=null!=g?Zh[g]:void 0;G("ngIf",g)}},z0a=function(a){a=void 0===a?[]:a;return a.map(function(b){return"teamId:"+
b+"+"}).join(" OR ")},A0a=function(a,b){if(a&1){var c=x();L(0);H(1,"issue-card-compact",5);O("onDismiss",function(){var d=z(c).$implicit,e=P().hackyPrefs;d=d.issueId;var g=e.prefs;g.issuesThisWeek&&g.issuesThisWeek.issues.includes(d)&&(g.issuesThisWeek.issues.splice(g.issuesThisWeek.issues.indexOf(d),1),e.save(g));return A()});J();M()}a&2&&(a=b.$implicit,C(1),G("issue",a)("onlyTitle",!0))},B0a=function(a){if(a&1){var b=x();L(0);K(1,"br");S(2," Some tasks are hidden, ");H(3,"a",11);O("click",function(){z(b);
var c=P(3);return A(c.showHiddenTasks.emit())});S(4,"show hidden tasks");J();S(5,"? ");M()}},C0a=function(a){a&1&&(H(0,"mat-header-cell",8),K(1,"img",9),H(2,"div"),S(3," No tasks available that meet the criteria. "),R(4,B0a,6,0,"ng-container",10),J()());a&2&&(a=P(2),C(4),G("ngIf",a.areTasksHidden))},D0a=function(a){a&1&&K(0,"mat-cell")},E0a=function(a){a&1&&K(0,"mat-header-row",12)},F0a=function(a){a&1&&K(0,"mat-row")},I0a=function(a){a&1&&(H(0,"mat-table",2),L(1,3),R(2,C0a,5,1,"mat-header-cell",
4),R(3,D0a,1,0,"mat-cell",5),M(),R(4,E0a,1,0,"mat-header-row",6),R(5,F0a,1,0,"mat-row",7),J());a&2&&(G("dataSource",Ye(3,G0a)),C(4),G("matHeaderRowDef",Ye(4,H0a)),C(1),G("matRowDefColumns",Ye(5,H0a)))},J0a=function(a){a&1&&(H(0,"mat-header-cell"),S(1,"Task title"),J())},K0a=function(a,b){if(a&1){var c=x();H(0,"mat-cell")(1,"div",19);K(2,"mat-icon",20);T(3,"taskIcon");H(4,"span",21)(5,"a",22);O("click",function(){var d=z(c).$implicit,e=P(2);return A(e.logTaskOpenedMetric(d))});S(6);J()()()()}a&2&&
(a=b.$implicit,C(2),G("svgIcon",U(3,3,a)),C(3),G("href",a.resourceUrl,vd),C(1),Te(" ",a.title," "))},L0a=function(a){a&1&&(H(0,"mat-header-cell"),S(1," Signals "),J())},M0a=function(a,b){a&1&&(H(0,"div",24),S(1),J());a&2&&(a=b.$implicit,G("matTooltip",a.tooltipText)("matTooltipDisabled",!a.tooltipText),C(1),Te(" ",a.text," "))},N0a=function(a,b){a&1&&(H(0,"mat-cell"),R(1,M0a,2,3,"div",23),J());a&2&&(a=b.$implicit,C(1),G("ngForOf",a.signals))},O0a=function(a){a&1&&(H(0,"mat-header-cell"),S(1," Actions "),
J())},P0a=function(a){if(a&1){var b=x();H(0,"button",27);O("click",function(){z(b);var c=P().$implicit,d=P(2);return A(d.unhideTask(c))});K(1,"mat-icon",20);J()}a&2&&(C(1),G("svgIcon","show_task"))},Q0a=function(a){if(a&1){var b=x();H(0,"button",28);O("click",function(){z(b);var c=P().$implicit,d=P(2);return A(d.hideTask(c))});K(1,"mat-icon",20);J()}a&2&&(C(1),G("svgIcon","hide_task"))},R0a=function(a,b){a&1&&(H(0,"mat-cell"),R(1,P0a,2,1,"button",25),T(2,"async"),R(3,Q0a,2,1,"ng-template",null,26,
of),J());if(a&2){a=b.$implicit;var c=Se(4);C(1);G("ngIf",U(2,2,a.isHidden$))("ngIfElse",c)}},S0a=function(a){a&1&&K(0,"mat-header-row")},T0a=function(a,b){a&1&&(H(0,"mat-row"),T(1,"async"),J());a&2&&Ie("hidden-task",U(1,2,b.$implicit.isHidden$))},U0a=function(a){a&1&&(H(0,"mat-table",2),L(1,13),R(2,J0a,2,0,"mat-header-cell",14),R(3,K0a,7,5,"mat-cell",5),M(),L(4,15),R(5,L0a,2,0,"mat-header-cell",14),R(6,N0a,2,1,"mat-cell",5),M(),L(7,16),R(8,O0a,2,0,"mat-header-cell",14),R(9,R0a,5,4,"mat-cell",5),M(),
R(10,S0a,1,0,"mat-header-row",17),R(11,T0a,2,4,"mat-row",18),J());a&2&&(a=P(),G("dataSource",a.tasks),C(10),G("matHeaderRowDef",a.displayedColumns),C(1),G("matRowDefColumns",a.displayedColumns))},V0a=function(a){var b={attributeFilter:["aria-label","aria-valuenow"]};return new F.Observable(function(c){(new MutationObserver(function(d){var e=d[0].target,g;d=null!=(g=e.getAttribute("aria-label"))?g:"";var h;g=null!=(h=e.getAttribute("aria-valuenow"))?h:"indeterminate";c.next([d,g])})).observe(a,b)})},
W0a=function(a){a&1&&(L(0),S(1,"Recommended Tasks"),M())},X0a=function(a){a&1&&(L(0),S(1,"Needs My Input"),M())},Y0a=function(a){a&1&&K(0,"mat-progress-spinner",5);a&2&&G("diameter",16)},Z0a=function(a){a&1&&(L(0),S(1,"Less"),M())},$0a=function(a){a&1&&(L(0),S(1,"More"),M())},a1a=function(a){if(a&1){var b=x();H(0,"button",8);O("click",function(){z(b);var c=P().ngIf,d=P(2);c=!c.viewAll;d.viewAll$.next(c);d.metrics.logUsageMetric("toggle_view_all",c);return A()});S(1," View ");R(2,Z0a,2,0,"ng-container",
2);R(3,$0a,2,0,"ng-container",2);J()}a&2&&(a=P().ngIf,C(2),G("ngIf",a.viewAll),C(1),G("ngIf",!a.viewAll))},b1a=function(a){a&1&&(L(0),S(1,"Hide"),M())},c1a=function(a){a&1&&(L(0),S(1,"Show"),M())},d1a=function(a){if(a&1){var b=x();H(0,"button",9);O("click",function(){z(b);var c=P().ngIf,d=P(2);return A(d.setShowHidden(!c.showHidden))});R(1,b1a,2,0,"ng-container",2);R(2,c1a,2,0,"ng-container",2);S(3," Hidden Tasks ");J()}a&2&&(a=P().ngIf,C(1),G("ngIf",a.showHidden),C(1),G("ngIf",!a.showHidden))},e1a=
function(a){a&1&&(L(0),R(1,a1a,4,2,"button",6),T(2,"async"),R(3,d1a,4,2,"button",7),T(4,"async"),M());a&2&&(a=P(2),C(1),G("ngIf",U(2,2,a.areTasksFiltered$)),C(2),G("ngIf",U(4,4,a.areTasksHidden$)))},g1a=function(a){a&1&&(Oe(0),R(1,e1a,5,6,"ng-container",2),T(2,"async"),T(3,"async"));a&2&&(a=P(),C(1),G("ngIf",$e(5,f1a,U(2,1,a.showHidden$),U(3,3,a.viewAll$))))},h1a=function(a){if(a&1){var b=x();L(0);H(1,"tp-task-table",10);O("showHiddenTasks",function(){z(b);var e=P(2);return A(e.setShowHidden(!0))});
T(2,"async");J();M()}if(a&2){a=P().ngIf;var c=P(),d;C(1);G("tasks",a.tasks)("showZeroState",!!a.areAllTasksLoaded&&0===a.tasks.length)("areTasksHidden",null!==(d=U(2,3,c.areTasksHidden$))&&void 0!==d?d:!1)}},i1a=function(a,b){a&1&&(L(0),R(1,h1a,3,5,"ng-container",2),M());a&2&&(a=b.ngIf,C(1),G("ngIf",a.tasks&&(0<a.tasks.length||a.areAllTasksLoaded)))},k1a=function(a,b){if(a&1){var c=x();H(0,"div",42);K(1,"span",43);H(2,"button",44);O("click",function(){z(c);var d=P(2);j1a(d.userFeedback);return A()});
S(3," Give feedback ");J()()}a&2&&(a=b.$implicit,C(1),G("innerHtml",a,ud))},l1a=function(a){if(a&1){var b=x();H(0,"button",45);O("click",function(){z(b);var c=P(2);j1a(c.userFeedback);return A()});S(1," Give feedback ");J()}},m1a=function(a,b){if(a&1){var c=x();H(0,"button",46);O("click",function(){var d=z(c).$implicit,e=P(2);return A(e.prefs.sectionA=d)});S(1);J()}a&2&&(a=b.$implicit,C(1),Te(" ",a," "))},n1a=function(a,b){if(a&1){var c=x();H(0,"button",46);O("click",function(){var d=z(c).$implicit,
e=P(2);return A(e.prefs.sectionW=d)});S(1);J()}a&2&&(a=b.$implicit,C(1),Te(" ",a," "))},o1a=function(a,b){if(a&1){var c=x();H(0,"button",46);O("click",function(){var d=z(c).$implicit,e=P(2);return A(e.prefs.sectionT=d)});S(1);J()}a&2&&(a=b.$implicit,C(1),Te(" ",a," "))},p1a=function(a){a&1&&K(0,"working-on-this-week")},q1a=function(a){a&1&&K(0,"pinned-issues")},r1a=function(a){a&1&&K(0,"needs-attention-widget")},s1a=function(a){a&1&&K(0,"needs-attention-table")},t1a=function(a){a&1&&K(0,"mvp-needs-attention")},
u1a=function(a){a&1&&(H(0,"section",47),R(1,p1a,1,0,"working-on-this-week",37),R(2,q1a,1,0,"pinned-issues",37),R(3,r1a,1,0,"needs-attention-widget",37),R(4,s1a,1,0,"needs-attention-table",37),R(5,t1a,1,0,"mvp-needs-attention",37),J());a&2&&(a=P(2),C(1),G("ngIf",null==a.prefs.sectionA?null:a.prefs.sectionA.includes("working-on-this-week")),C(1),G("ngIf",null==a.prefs.sectionA?null:a.prefs.sectionA.includes("pinned-issues")),C(1),G("ngIf",null==a.prefs.sectionA?null:a.prefs.sectionA.includes("needs-attention-cards")),
C(1),G("ngIf",null==a.prefs.sectionA?null:a.prefs.sectionA.includes("needs-attention-table")),C(1),G("ngIf",null==a.prefs.sectionA?null:a.prefs.sectionA.includes("mvp-needs-attention")))},v1a=function(a){a&1&&K(0,"my-projects",48)},w1a=function(a){a&1&&K(0,"my-projects-as-cards")},x1a=function(a){a&1&&K(0,"my-projects-as-tabs",49)},y1a=function(a){a&1&&(H(0,"h2"),S(1," My issues "),J())},z1a=function(a){a&1&&K(0,"working-on-this-week")},A1a=function(a){if(a&1){var b=x();H(0,"pinned-issues",50,51);
O("cdkDropListDropped",function(c){z(b);var d=P(2);Hl(d.hackyPrefs,c.previousContainer.data[c.previousIndex].issueId);d.refreshMonitor.refreshRequest.next();return A()});J()}},B1a=function(a){a&1&&K(0,"recently-viewed-i-own")},C1a=function(a){a&1&&K(0,"suggested-issues")},D1a=function(a){a&1&&K(0,"my-tasks-area",49)},E1a=function(a){a&1&&K(0,"my-work-card",52);a&2&&G("assignedOnly",!0)},F1a=function(a){a&1&&K(0,"my-work-card",52);a&2&&G("assignedOnly",!1)},G1a=function(a){a&1&&K(0,"team-inbox",55)},
H1a=function(a,b){a&1&&(H(0,"div",57),S(1),J());a&2&&(a=b.ngIf,C(1),Te(" ",a," "))},I1a=function(a){a&1&&(H(0,"tp-needs-attention",55),R(1,H1a,2,1,"div",56),T(2,"async"),J());a&2&&(a=P(3),C(1),G("ngIf",U(2,1,a.taskPrioritizationTasksCount$)))},J1a=function(a){a&1&&K(0,"team-activity-stream",55)},K1a=function(a){a&1&&K(0,"b-activity-stream",55)},L1a=function(a){a&1&&K(0,"my-tasks-area",49)},M1a=function(a){a&1&&K(0,"my-work-card",52);a&2&&G("assignedOnly",!0)},N1a=function(a){a&1&&K(0,"my-work-card",
52);a&2&&G("assignedOnly",!1)},O1a=function(a){a&1&&K(0,"mvp-my-tasks")},P1a=function(a){a&1&&K(0,"mvp-my-work")},Q1a=function(a){a&1&&(H(0,"section",53),R(1,G1a,1,0,"team-inbox",54),R(2,I1a,3,3,"tp-needs-attention",54),R(3,J1a,1,0,"team-activity-stream",54),R(4,K1a,1,0,"b-activity-stream",54),R(5,L1a,1,0,"my-tasks-area",38),R(6,M1a,1,1,"my-work-card",40),R(7,N1a,1,1,"my-work-card",40),R(8,O1a,1,0,"mvp-my-tasks",37),R(9,P1a,1,0,"mvp-my-work",37),J());a&2&&(a=P(2),C(1),G("ngIf",null==a.prefs.sectionT?
null:a.prefs.sectionT.includes("team-inbox")),C(1),G("ngIf",null==a.prefs.sectionT?null:a.prefs.sectionT.includes("tp-my-work")),C(1),G("ngIf",null==a.prefs.sectionT?null:a.prefs.sectionT.includes("team-activity-stream")),C(1),G("ngIf",null==a.prefs.sectionT?null:a.prefs.sectionT.includes("activity-stream")),C(1),G("ngIf",null==a.prefs.sectionT?null:a.prefs.sectionT.includes("my-tasks-area")),C(1),G("ngIf",null==a.prefs.sectionT?null:a.prefs.sectionT.includes("assigned-to-me")),C(1),G("ngIf",null==
a.prefs.sectionT?null:a.prefs.sectionT.includes("recent-stuff-i-follow")),C(1),G("ngIf",null==a.prefs.sectionT?null:a.prefs.sectionT.includes("mvp-my-tasks")),C(1),G("ngIf",null==a.prefs.sectionT?null:a.prefs.sectionT.includes("mvp-my-work")))},U1a=function(a){if(a&1){var b=x();H(0,"article",2)(1,"header",3);R(2,k1a,4,1,"div",4);R(3,l1a,2,0,"ng-template",null,5,of);H(5,"form",6);O("submit",function(){z(b);var d=P(),e=d.ldapOverride;null!=e&&(document.location.search="?ldap="+e,d.hackyPrefs.init(e));
return A()});H(6,"input",7);O("ngModelChange",function(d){z(b);var e=P();return A(e.ldapOverride=d)});J();K(7,"input",8);J();H(8,"button",9);O("click",function(){z(b);var d=P();d.showSettings=!d.showSettings;return A(d.log(d.prefs))});K(9,"mat-icon",10);J()();H(10,"aside",11)(11,"div",12)(12,"h2",13);S(13," Dashboard Settings ");J();H(14,"p",13);S(15," Layout: ");H(16,"mat-button-toggle-group",14);O("change",function(d){z(b);var e=P();return A(R1a(e.hackyPrefs,{layout:d.value}))});H(17,"mat-button-toggle",
15)(18,"mat-icon",16);S(19,"space_dashboard");J()();H(20,"mat-button-toggle",17)(21,"mat-icon",16);S(22,"view_stream");J()();H(23,"mat-button-toggle",18);K(24,"mat-icon",19);J()();K(25,"br");S(26," Show Hidden Settings: ");H(27,"mat-button-toggle-group",20);O("change",function(d){z(b);var e=P();R1a(e.hackyPrefs,{showHiddenSettings:d.value});e.showSettings=!1;return A()});H(28,"mat-button-toggle",21);S(29," Yes ");J();H(30,"mat-button-toggle",22);S(31," No ");J()()();H(32,"form",23);O("submit",function(){z(b);
var d=P();console.log("Saving settings",d.prefs);d.showSettings=!1;d.hackyPrefs.save(d.prefs);return A()});H(33,"div",13)(34,"h2");S(35," Widgets in Each Section ");J();H(36,"label");S(37,"A: Alerts - Zero Inbox");J();H(38,"div",24)(39,"input",25);O("ngModelChange",function(d){z(b);var e=P();return A(e.prefs.sectionA=d)});J();H(40,"span",26);R(41,m1a,2,1,"button",27);J()();H(42,"label");S(43,"W: My Work - Big Rocks");J();H(44,"div",24)(45,"input",25);O("ngModelChange",function(d){z(b);var e=P();return A(e.prefs.sectionW=
d)});J();H(46,"span",26);R(47,n1a,2,1,"button",27);J()();H(48,"label");S(49,"T: Team - Broader awareness, opportunity");J();H(50,"div",24)(51,"input",25);O("ngModelChange",function(d){z(b);var e=P();return A(e.prefs.sectionT=d)});J();H(52,"span",26);R(53,o1a,2,1,"button",27);J()()();H(54,"button",28);S(55,"Close");J();H(56,"a",29);S(57,"Power edit");J();H(58,"button",30);O("click",function(){z(b);var d=P();return A(S1a(d))});S(59,"Clear all settings");J();H(60,"button",31);O("click",function(){z(b);
P().refreshMonitor.refreshRequest.next();return A()});K(61,"mat-icon",32);J()()()();H(62,"div",33);R(63,u1a,6,5,"section",34);H(64,"section",35);R(65,v1a,1,0,"my-projects",36);R(66,w1a,1,0,"my-projects-as-cards",37);R(67,x1a,1,0,"my-projects-as-tabs",38);R(68,y1a,2,0,"h2",37);R(69,z1a,1,0,"working-on-this-week",37);R(70,A1a,2,0,"pinned-issues",39);R(71,B1a,1,0,"recently-viewed-i-own",37);R(72,C1a,1,0,"suggested-issues",37);R(73,D1a,1,0,"my-tasks-area",38);R(74,E1a,1,1,"my-work-card",40);R(75,F1a,
1,1,"my-work-card",40);J();R(76,Q1a,10,9,"section",41);J()()}if(a&2){var c=Se(4);a=P();Ie("settings-open",a.showSettings)("show-hidden-settings",a.prefs.showHiddenSettings);C(2);G("ngIf",(null==a.announcement?null:null==a.announcement.tags?null:a.announcement.tags.includes("home-feedback"))&&(null==a.announcement?null:a.announcement.message))("ngIfElse",c);C(4);G("ngModel",a.ldapOverride)("ngModelOptions",Ye(45,T1a));C(2);Ie("active",a.showSettings);C(2);Ie("collapsed",!a.showSettings);C(7);G("checked",
null==a.prefs.layout?null:a.prefs.layout.includes("-a"));C(3);G("checked",null==a.prefs.layout||a.prefs.layout.includes("-b"));C(3);G("checked",null==a.prefs.layout?null:a.prefs.layout.includes("-c"));C(5);G("value",!0)("checked",a.prefs.showHiddenSettings);C(2);G("value",!1)("checked",!a.prefs.showHiddenSettings);C(9);G("ngModel",a.prefs.sectionA)("ngModelOptions",Ye(46,T1a));C(2);G("ngForOf",a.VALID_WIDGETS_A);C(4);G("ngModel",a.prefs.sectionW)("ngModelOptions",Ye(47,T1a));C(2);G("ngForOf",a.VALID_WIDGETS_W);
C(4);G("ngModel",a.prefs.sectionT)("ngModelOptions",Ye(48,T1a));C(2);G("ngForOf",a.VALID_WIDGETS_T);C(3);Pe("href","/issues/",a.prefs.id,"",vd);C(6);Je("grid padded margin-top ",a.prefs.layout,"");C(1);G("ngIf",a.isCurrentUserHomepage);C(2);G("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("my-projects-as-tree"));C(1);G("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("my-projects-as-cards"));C(1);G("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("my-projects-as-tabs"));
C(1);G("ngIf",(null==a.prefs.sectionW?null:a.prefs.sectionW.includes("pinned-issues"))||(null==a.prefs.sectionW?null:a.prefs.sectionW.includes("recently-viewed-i-own")));C(1);G("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("working-on-this-week"));C(1);G("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("pinned-issues"));C(1);G("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("recently-viewed-i-own"));C(1);G("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("suggested-issues"));
C(1);G("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("my-tasks-area"));C(1);G("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("assigned-to-me"));C(1);G("ngIf",null==a.prefs.sectionW?null:a.prefs.sectionW.includes("recent-stuff-i-follow"));C(1);G("ngIf",a.isCurrentUserHomepage)}},V1a=function(a){a&1&&(H(0,"button",16)(1,"span"),S(2,"Edit"),J(),K(3,"b-icon",17),J());if(a&2){a=P();var b=Se(7);G("disabled",a.isAnonymous)("matMenuTriggerFor",b)}},W1a=function(a){a&1&&(H(0,"button",
16)(1,"span"),S(2,"Link"),J(),K(3,"b-icon",17),J());if(a&2){a=P();var b=Se(69);G("disabled",a.isAnonymous)("matMenuTriggerFor",b)}},X1a=function(a){a&1&&(H(0,"button",16)(1,"span"),S(2,"CC"),J(),K(3,"b-icon",17),J());if(a&2){a=P();var b=Se(85);G("disabled",a.isAnonymous)("matMenuTriggerFor",b)}},Y1a=function(a){if(a&1){var b=x();H(0,"button",3);O("click",function(){z(b);var c=P();return A(c.bulkEdit("ESTIMATED_EFFORT"))});S(1,"Estimated Effort");J()}},Z1a=function(a,b){if(a&1){var c=x();H(0,"button",
3);O("click",function(){var d=z(c).$implicit,e=P();return A(e.quickBulkEdit("PRIORITY",d))});S(1);J()}a&2&&(a=b.$implicit,C(1),Te(" ",a," "))},$1a=function(a,b){if(a&1){var c=x();H(0,"button",3);O("click",function(){var d=z(c).$implicit,e=P();return A(e.quickBulkEdit("SEVERITY",d))});S(1);J()}a&2&&(a=b.$implicit,C(1),Te(" ",a," "))},a2a=function(a,b){if(a&1){var c=x();H(0,"button",3);O("click",function(){var d=z(c).$implicit,e=P();return A(e.quickBulkEdit("STATUS",d))});S(1);J()}a&2&&(a=b.$implicit,
b=P(),C(1),Te(" ",b.STATUS_FULL_TEXT[a]," "))},b2a=function(a,b){if(a&1){var c=x();H(0,"button",18);O("click",function(){var e=z(c).$implicit,g=P();return A(g.quickBulkEdit("TYPE",e))});S(1);J()}if(a&2){a=b.$implicit;b=P();var d;G("matTooltip",null!==(d=b.constants.protoIssueTypesShortDescriptions.get(a))&&void 0!==d?d:"");C(1);Te(" ",b.constants.protoIssueTypesDisplayNames.get(a)," ")}},c2a=function(a){if(a&1){var b=x();H(0,"button",5);O("click",function(){z(b);var c=P(2);return A(c.exportCsvClicked.emit())});
S(1,"Export issues to CSV ");J()}},d2a=function(a){if(a&1){var b=x();H(0,"button",5);O("click",function(){z(b);var c=P(2);return A(c.flagAsSpamClicked.emit())});S(1,"Flag issues as spam ");J()}},e2a=function(a){a&1&&(L(0),H(1,"button",1)(2,"span"),S(3,"More"),J(),K(4,"b-icon",2),J(),H(5,"mat-menu",null,3),R(7,c2a,2,0,"button",4),R(8,d2a,2,0,"button",4),J(),M());if(a&2){var b=Se(6);a=P();C(1);G("disabled",a.isAnonymous)("matMenuTriggerFor",b);C(6);G("ngIf",a.showExportCsv);C(1);G("ngIf",a.showFlagIssuesAsSpam)}},
f2a=function(a){a&1&&(L(0),S(1," Network connection has been interrupted. "),M())},g2a=function(a){a&1&&S(0," Network connection has been interrupted or login credentials may have expired. ")},k2a=function(a){if(a&1){var b=x();H(0,"button",5);O("click",function(c){z(b);P(2);c.stopPropagation();c.preventDefault();var d={width:690,height:500,top:window.screenTop+(window.outerHeight-500)/2,left:window.screenLeft+(window.outerWidth-690)/2};c=window;var e=Qda("undefined"!=typeof"/refreshSso".href?"/refreshSso".href:
"/refreshSso")||Rda;var g=void 0!==self.crossOriginIsolated,h="strict-origin-when-cross-origin";window.Request&&(h=(new Request("/")).referrerPolicy);var l="unsafe-url"===h;h=d.noreferrer;if(g&&h){if(l)throw Error("Rd");h=!1}g=d.target||"/refreshSso".target;l=[];for(var q in d)switch(q){case "width":case "height":case "top":case "left":l.push(q+"="+d[q]);break;case "target":case "noopener":case "noreferrer":break;default:l.push(q+"="+(d[q]?1:0))}q=l.join(",");ma()&&c.navigator&&c.navigator.standalone&&
g&&"_self"!=g?(d=cm(document,"A"),e=e instanceof Zb?e:h2a(e),d.href=$b(e),d.target=g,h&&(d.rel="noreferrer"),e=document.createEvent("MouseEvent"),e.initMouseEvent("click",!0,!0,c,1),d.dispatchEvent(e)):h?(c=i2a("",c,g,q),e=$b(e),c&&(j2a&&ha(e,";")&&(e="'"+e.replace(/'/g,"%27")+"'"),c.opener=null,""===e&&(e="javascript:''"),e=Jf('<meta name="referrer" content="no-referrer"><meta http-equiv="refresh" content="0; url='+mn(e)+'">'),(c=c.document)&&c.write&&(c.write(Ui(e)),c.close()))):((c=i2a(e,c,g,q))&&
d.noopener&&(c.opener=null),c&&d.noreferrer&&(c.opener=null));return A()});S(1," Log in again ");J()}},l2a=function(a){a&1&&(H(0,"b-callout",1)(1,"b-callout-body"),R(2,f2a,2,0,"ng-container",2),R(3,g2a,1,0,"ng-template",null,3,of),J(),H(5,"b-callout-actions"),R(6,k2a,2,0,"button",4),J()());if(a&2){var b=Se(4);a=P();G("messageType","error");C(2);G("ngIf",a.isAnonymous)("ngIfElse",b);C(4);G("ngIf",!a.isAnonymous)}},m2a=function(a){a&1&&(H(0,"a",1),S(1," Hiring!\n"),J())},n2a=function(a,b){a&1&&(H(0,
"tr")(1,"td",5),S(2),J(),H(3,"td"),S(4,":"),J(),H(5,"td",6),S(6),J()());a&2&&(a=b.$implicit,C(2),Ve(a.displayAs),C(4),Ve(a.description))},o2a=function(a,b){a&1&&(H(0,"thead")(1,"tr"),K(2,"th",3),H(3,"th",4),S(4),J()(),R(5,n2a,7,2,"tr",1),J());a&2&&(a=b.$implicit,C(4),Ve(a.title),C(1),G("ngForOf",a.hotkeys))},r2a=function(a,b){var c=new p2a;q2a(c,a,b);return c},q2a=function(a,b,c){var d=na(b.snapshot),e=b.aggregatedData;var g=b&&b.accessLimit?b.accessLimit.accessLevel:void 0;a.accessLevel=g;a.id=b.issueId;
a.issueId=b.issueId;a.trackerId=b.trackerId;d.componentId&&(a.componentId=d.componentId);c&&c.componentPathInfo&&c.componentPathInfo.componentPathName?a.componentPath=c.componentPathInfo:a.componentPath=[String(d.componentId)];d.type&&(a.type=d.type);if(d.status){a.status=d.status;var h;a.isClosed=!(null==(h=kk[d.status])?0:h.open)||b.isArchived}a.priority=d.priority.substr(1);a.severity=d.severity.substr(1);a.reporter=Qg(d.reporterUser);a.assignee=Qg(d.assigneeUser);a.assigneeEmail=Ug(d.assigneeUser);
a.verifier=Qg(d.verifierUser);a.verifierEmail=Ug(d.verifierUser);a.cc=Rg(d.ccUsers);a.collaborator=Rg(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;b.aggregatedData?(b=b.aggregatedData,g=Date.now()-b.modifiedTimeMicros/1E3,b=Math.pow(.5,g/6048E5)+1-Math.pow(.5,b.voteCount/50)):b=0;a.magic=b;a.duplicateCount=d.duplicateIssueId?d.duplicateIssueId.length:0;a.ccCount=d.ccUsers?d.ccUsers.length:0;a.collaboratorCount=d.collaboratorsUsers?d.collaboratorsUsers.length:0;a.lastModifier=Qg(d.authorUser);a.customFieldMap={};a.customFieldNameToIdMap={};a.customFieldValueMap=
{};if(c&&c.componentPathInfo&&c.componentPathInfo.allCustomField)for(c=k(c.componentPathInfo.allCustomField),b=c.next();!b.done;b=c.next())b=b.value,a.customFieldMap[String(b.customFieldId)]=b,a.customFieldNameToIdMap[b.name.toLowerCase()]=b.customFieldId;if(d.customField)for(c=k(d.customField),b=c.next();!b.done;b=c.next())b=b.value,a.customFieldValueMap[String(b.customFieldId)]=b;a.hotlists=[];a.retentionState=e?e.retentionState:void 0;a.sloId=e?""+e.sloId:"";a.sloStatus=e?e.sloStatus||null:null;
a.sloSnoozeUntil=d.sloSnoozeUntil;a.sloEndTime=d.sloEndTime;a.isRead=!!a.lastViewedTime&&a.lastViewedTime>=a.majorModifiedTime;d.effort&&(a.effort=d.effort)},s2a=function(a){a&1&&K(0,"bug-screensaver")},t2a=function(a){a&1&&(H(0,"footer"),K(1,"img",1),T(2,"async"),H(3,"span",2),S(4),T(5,"async"),J(),S(6," Powered by Google "),H(7,"span",3),S(8,"|"),J(),H(9,"a",4),S(10,"Privacy"),J(),H(11,"span",3),S(12,"|"),J(),H(13,"a",5),S(14,"Terms"),J()());a&2&&(a=P(),C(1),G("src",U(2,2,a.trackerLogo$),vd),C(3),
Te("",U(5,4,a.trackerName$)," Issue Tracker"))},u2a=function(a){var b;return null!=(b=Zg(a))?b:null},v2a=function(a){var b;return null!=(b=$g(a))?b:null},w2a=function(a,b){if(a&1){var c=x();L(0);H(1,"b-fab-segmented",1);O("clickMain",function(g){z(c);var h=P(3);return A(h.trackClick(g))})("clickSegment",function(g){z(c);var h=P(3);return A(h.trackClick(g))});J();M()}if(a&2){a=b.ngIf;b=P().ngIf;var d=P().ngIf,e=P();C(1);G("label",b)("icon",a)("href",e.createIssuePath)("segments",d)}},x2a=function(a){a&
1&&(L(0),R(1,w2a,2,4,"ng-container",0),T(2,"async"),M());a&2&&(a=P(2),C(1),G("ngIf",U(2,1,a.buttonIcon$)))},y2a=function(a){a&1&&(L(0),R(1,x2a,3,3,"ng-container",0),T(2,"async"),M());a&2&&(a=P(),C(1),G("ngIf",U(2,1,a.buttonLabel$)))},z2a=function(a){for(var b=k(a.item||[]),c=b.next();!c.done;c=b.next())c=c.value,"hotlistId"in c?c.resourceType="HOTLIST":"savedSearchId"in c&&(c.resourceType="SAVED_SEARCH");return a},A2a=function(a){return a.map(z2a)},B2a=function(a){var b={name:a.getName(),description:a.getDescription()};
1===rh(a,nn)?b.hotlistId=Number(a.getHotlistId()):4===rh(a,nn)&&(b.savedSearchId=Number(lh(a,ym(a,nn,4))));return b},C2a=function(a){var b;return{bookmarkGroupId:Number(a.getBookmarkGroupId()),name:a.getName(),description:a.getDescription(),archived:a.getArchived(),item:(null!=(b=a.getItemList())?b:[]).map(B2a),adminUsers:Vg(a.getAdminUsersList())}},D2a=function(a){var b=new on;b.setName(a.name);void 0!==a.description&&b.setDescription(a.description);void 0!==a.hotlistId?b.setHotlistId(String(a.hotlistId)):
void 0!==a.savedSearchId&&mm(b,4,nn,String(a.savedSearchId));return b},E2a=function(a){var b;return(null!=(b=a.getBookmarkGroupsList())?b:[]).map(C2a)},F2a=function(a){a&1&&Le(0)},G2a=function(a){a&1&&Le(0)},H2a=function(a){a&1&&(L(0),R(1,G2a,1,0,"ng-container",1),M());a&2&&(a=P(),C(1),G("ngTemplateOutlet",a.content))},I2a=function(a){a&1&&S(0," Archived ")},J2a=function(a){a&1&&(H(0,"button",16),O("click",function(c){return c.stopPropagation()}),K(1,"mat-icon",17),J());if(a&2){P();var b=Se(5);G("matMenuTriggerFor",
b)}},K2a=function(a){if(a&1){var b=x();H(0,"button",18);O("click",function(){z(b);var c=P(3).$implicit;return A(c.unstar())});S(1," Unstar ");J()}},L2a=function(a){if(a&1){var b=x();H(0,"button",18);O("click",function(){z(b);var c=P(3).$implicit;return A(c.unarchive())});S(1," Unarchive ");J()}},M2a=function(a){if(a&1){var b=x();H(0,"button",18);O("click",function(){z(b);var c=P(2).$implicit,d=P(3);return A(d.handleBookmarkGroupOpen(c.id))});S(1," Open ");J();H(2,"button",18);O("click",function(){z(b);
var c=P(2).$implicit,d=P(3);return A(d.handleBookmarkGroupDashboard(c.id))});S(3," Dashboard ");J();H(4,"button",18);O("click",function(){z(b);var c=P(2).$implicit,d=P(3);return A(d.openEditBookmarkGroup(c.id))});S(5," Settings ");J();R(6,K2a,2,0,"button",19);R(7,L2a,2,0,"button",19)}a&2&&(a=P(2).$implicit,C(6),G("ngIf",a.isUnstarable()),C(1),G("ngIf",a.isEditable()))},N2a=function(a){a&1&&(H(0,"div",11)(1,"span",12),S(2),J(),R(3,J2a,2,1,"button",13),H(4,"mat-menu",null,14),R(6,M2a,8,2,"ng-template",
15),J()());a&2&&(a=P().$implicit,Be("id","bv2-user-archived-bookmarkgroup-item-",a.id,""),C(2),Ve(a.name),C(1),G("ngIf",a))},O2a=function(a,b){if(a&1){var c=x();H(0,"li",22)(1,"a",23);O("click",function(d){var e=z(c).$implicit,g=P(5);return A(g.onAnchorClick(e.href,d))});H(2,"span",12);S(3);J()()()}a&2&&(a=b.$implicit,b=P(2).$implicit,Ie("selected-indented",a.isSelected())("bv2-bookmark-group-hotlist-item","HOTLIST"==a.type)("bv2-bookmark-group-saved-search-item","SAVED_SEARCH"==a.type),tla("id",
"bv2-user-hotlists-bg-",b.id,"-",a.type,"-",a.id,""),G("title",a.name),C(1),G("href",a.href,vd),C(2),Te(" ",a.name," "))},P2a=function(a){a&1&&(H(0,"ul",20),R(1,O2a,4,12,"li",21),J());a&2&&(a=P().$implicit,C(1),G("ngForOf",a.items))},Q2a=function(a,b){a&1&&(H(0,"li",7)(1,"sidebar-zippy",8),R(2,N2a,7,3,"ng-template",null,9,of),R(4,P2a,2,1,"ng-template",null,10,of),J()());if(a&2){a=b.$implicit;var c=Se(3),d=Se(5);G("title",a.name);C(1);G("header",c)("content",d)}},R2a=function(a){a&1&&(H(0,"button",
28),K(1,"mat-icon",17),J());if(a&2){P();var b=Se(6);G("matMenuTriggerFor",b)}},S2a=function(a){if(a&1){var b=x();H(0,"button",18);O("click",function(){z(b);var c=P(2).$implicit;return A(c.unstar())});S(1," Unstar ");J()}},T2a=function(a){if(a&1){var b=x();H(0,"button",18);O("click",function(){z(b);var c=P(2).$implicit;return A(c.unarchive())});S(1," Unarchive ");J()}},U2a=function(a){if(a&1){var b=x();H(0,"button",18);O("click",function(){z(b);var c=P().$implicit,d=P(3);return A(d.openEditHotlist(c.id))});
S(1," Settings ");J();R(2,S2a,2,0,"button",19);R(3,T2a,2,0,"button",19)}a&2&&(a=P().$implicit,C(2),G("ngIf",a.isUnstarable()),C(1),G("ngIf",a.isEditable()))},V2a=function(a,b){if(a&1){var c=x();H(0,"li",24)(1,"a",25);O("click",function(d){var e=z(c).$implicit,g=P(3);return A(g.onAnchorClick(e.href,d))});H(2,"span",12);S(3);J()();R(4,R2a,2,1,"button",26);H(5,"mat-menu",null,27);R(7,U2a,4,2,"ng-template",15);J()()}a&2&&(a=b.$implicit,Ie("selected",a.isSelected()),Pe("id","bv2-user-hotlists-archived-hotlist-item-",
a.id,""),G("title",a.name),C(1),G("href",a.href,vd),C(2),Ve(a.name),C(1),G("ngIf",a))},W2a=function(a){a&1&&(H(0,"ul",4),R(1,Q2a,6,3,"li",5),R(2,V2a,8,7,"li",6),J());a&2&&(a=P(2),C(1),G("ngForOf",a.bookmarkGroups),C(1),G("ngForOf",a.hotlists))},X2a=function(a){a&1&&(H(0,"div"),K(1,"hr"),H(2,"sidebar-zippy",1),R(3,I2a,1,0,"ng-template",null,2,of),R(5,W2a,3,2,"ng-template",null,3,of),J()());if(a&2){var b=Se(4),c=Se(6);C(2);G("header",b)("content",c)}},Y2a=function(a){a&1&&K(0,"b-spinner")},Z2a=function(a){if(a&
1){var b=x();H(0,"b-star-toggle",15);O("starClicked",function(){z(b);var c=P().$implicit,d=P();return A(d.toggleStar(c))});J()}a&2&&(a=P().$implicit,G("starMessage","Star this item")("unStarMessage","Un-star this item")("starred",a.isStarred))},$2a=function(a){a&1&&K(0,"b-hotlist-card",16);a&2&&(a=P().$implicit,G("hotlist",a))},a3a=function(a){a&1&&K(0,"b-bookmark-group-card",17);a&2&&(a=P().$implicit,G("bookmarkGroup",a))},b3a=function(a,b){a&1&&(H(0,"mat-option",8)(1,"div",9),R(2,Z2a,1,3,"b-star-toggle",
10),H(3,"onedev-hovercard",null,11),R(5,$2a,1,1,"b-hotlist-card",12),R(6,a3a,1,1,"b-bookmark-group-card",13),J(),H(7,"span",14),S(8),J()()());if(a&2){a=b.$implicit;var c=Se(4);b=P();G("value",a);C(1);Ie("bv2-bookmark-group",b.showHotlists&&a.isGroup);C(1);G("ngIf",b.shouldShowStar(a));C(3);G("ngIf",!a.isGroup);C(1);G("ngIf",!!a.isGroup);C(1);G("onedevHovercardTrigger",c);C(1);Ve(a.name)}},c3a=function(){return Wja(function(){return(0,F.from)(Promise.resolve(void 0))})},d3a=function(a){a&1&&K(0,"a",
1)},e3a=function(a){if(a&1){var b=x();H(0,"xap-dialog-layout")(1,"xap-dialog-layout-content")(2,"b-hotlist-search",3);O("itemSelect",function(c){z(b);var d=P();d.itemSelect.emit(c);d.dialog.disabled=!0;d.dialog.disabled=!1;return A()});J()()()}a&2&&(a=P(),C(2),G("showGroups",a.showGroups)("showHotlists",a.showHotlists)("allowStarring",a.allowStarring)("focusOnInit",!0))},f3a=function(a){if(a&1){var b=x();H(0,"span");S(1,"Bookmark groups");J();H(2,"b-hotlist-search-popup",4);O("itemSelect",function(c){z(b);
var d=P();c.isGroup&&d.handleBookmarkGroupOpen(c.bookmarkGroupId);return A()})("click",function(c){return c.stopPropagation()});J()}a&2&&(C(2),G("showHotlists",!1))},g3a=function(a){a&1&&(H(0,"button",17),O("click",function(c){return c.stopPropagation()}),K(1,"mat-icon",18),J());if(a&2){P();var b=Se(5);G("matMenuTriggerFor",b)}},h3a=function(a){if(a&1){var b=x();H(0,"button",19);O("click",function(){z(b);var c=P(3).$implicit;return A(c.unstar())});S(1," Unstar ");J()}},i3a=function(a){if(a&1){var b=
x();H(0,"button",19);O("click",function(){z(b);var c=P(3).$implicit;return A(c.archive())});S(1," Archive ");J()}},j3a=function(a){if(a&1){var b=x();H(0,"button",19);O("click",function(){z(b);var c=P(3).$implicit;return A(c.setAsPreferredHomepage())});S(1," Set as homepage ");J()}},k3a=function(a){if(a&1){var b=x();H(0,"button",19);O("click",function(){z(b);var c=P(2).$implicit,d=P(3);return A(d.handleBookmarkGroupOpen(c.id))});S(1," Open ");J();H(2,"button",19);O("click",function(){z(b);var c=P(2).$implicit,
d=P(3);return A(d.handleBookmarkGroupDashboard(c.id))});S(3," Dashboard ");J();H(4,"button",19);O("click",function(){z(b);var c=P(2).$implicit,d=P(3);return A(d.editBookmarkGroup(c.id))});S(5," Settings ");J();R(6,h3a,2,0,"button",20);R(7,i3a,2,0,"button",20);R(8,j3a,2,0,"button",20)}a&2&&(a=P(2).$implicit,C(6),G("ngIf",a.isUnstarable()),C(1),G("ngIf",a.isEditable()),C(1),G("ngIf",!a.isPreferredHomepage()))},l3a=function(a){a&1&&(H(0,"div",12)(1,"span",13),S(2),J(),R(3,g3a,2,1,"button",14),H(4,"mat-menu",
null,15),R(6,k3a,9,3,"ng-template",16),J()());a&2&&(a=P().$implicit,Be("id","bv2-user-bookmarkgroup-item-",a.id,""),C(2),Ve(a.name),C(1),G("ngIf",a))},m3a=function(a){a&1&&(H(0,"button",27),K(1,"mat-icon",18),J());if(a&2){P();var b=Se(6);G("matMenuTriggerFor",b)}},n3a=function(a){if(a&1){var b=x();H(0,"button",19);O("click",function(){z(b);var c=P(2).$implicit;return A(c.unstar())});S(1," Unstar ");J()}},o3a=function(a){if(a&1){var b=x();H(0,"button",19);O("click",function(){z(b);var c=P(2).$implicit;
return A(c.setAsPreferredHomepage())});S(1," Set as homepage ");J()}},p3a=function(a){if(a&1){var b=x();H(0,"button",19);O("click",function(){z(b);var c=P().$implicit,d=P(5);"HOTLIST"===c.type?d.location.url(d.paths.editHotlist(c.id)):d.location.url(d.paths.editSavedSearch(c.id));return A()});S(1," Settings ");J();R(2,n3a,2,0,"button",20);R(3,o3a,2,0,"button",20)}a&2&&(a=P().$implicit,C(2),G("ngIf",a.isUnstarable()),C(1),G("ngIf",!a.isPreferredHomepage()))},q3a=function(a,b){if(a&1){var c=x();H(0,
"li",23)(1,"a",24);O("click",function(d){var e=z(c).$implicit,g=P(5);return A(g.onAnchorClick(e.href,d))});H(2,"span",13);S(3);J()();R(4,m3a,2,1,"button",25);H(5,"mat-menu",null,26);R(7,p3a,4,2,"ng-template",16);J()()}a&2&&(a=b.$implicit,b=P(2).$implicit,Ie("selected-indented",a.isSelected())("bv2-bookmark-group-hotlist-item","HOTLIST"==a.type)("bv2-bookmark-group-saved-search-item","SAVED_SEARCH"==a.type),tla("id","bv2-user-hotlists-bg-",b.id,"-",a.type,"-",a.id,""),G("title",a.name),C(1),G("href",
a.href,vd),C(2),Te(" ",a.name," "),C(1),G("ngIf",b))},r3a=function(a){a&1&&(H(0,"ul",21),R(1,q3a,8,13,"li",22),J());a&2&&(a=P().$implicit,C(1),G("ngForOf",a.items))},s3a=function(a,b){a&1&&(H(0,"li",8)(1,"sidebar-zippy",9),R(2,l3a,7,3,"ng-template",null,10,of),R(4,r3a,2,1,"ng-template",null,11,of),J()());if(a&2){a=b.$implicit;var c=Se(3),d=Se(5);G("title",a.name);C(1);G("header",c)("content",d)("expanded",!1)}},t3a=function(a){a&1&&(H(0,"ul",6),R(1,s3a,6,4,"li",7),J());a&2&&(a=P(2),C(1),G("ngForOf",
a.bookmarkGroups))},u3a=function(a){a&1&&R(0,t3a,2,1,"ul",5);a&2&&(a=P(),G("ngIf",a.bookmarkGroups))},v3a=function(a){if(a&1){var b=x();H(0,"span");S(1,"Hotlists");J();H(2,"b-hotlist-search-popup",4);O("itemSelect",function(c){z(b);var d=P();d.analytics.trackEvent("hotlistSearch","goToHotlist");d.location.url(c.href);return A()})("click",function(c){return c.stopPropagation()});J()}a&2&&(C(2),G("showGroups",!1))},w3a=function(a){a&1&&(H(0,"button",14),K(1,"mat-icon",15),J());if(a&2){P();var b=Se(6);
G("matMenuTriggerFor",b)}},x3a=function(a){if(a&1){var b=x();H(0,"button",16);O("click",function(){z(b);var c=P(2).$implicit;return A(c.unstar())});S(1," Unstar ");J()}},y3a=function(a){if(a&1){var b=x();H(0,"button",16);O("click",function(){z(b);var c=P(2).$implicit;return A(c.setAsPreferredHomepage())});S(1," Set as homepage ");J()}},z3a=function(a){if(a&1){var b=x();H(0,"button",16);O("click",function(){z(b);var c=P().$implicit,d=P(3);return A(d.openEditHotlist(c.id))});S(1," Settings ");J();R(2,
x3a,2,0,"button",17);R(3,y3a,2,0,"button",17)}a&2&&(a=P().$implicit,C(2),G("ngIf",a.isUnstarable()),C(1),G("ngIf",!a.isPreferredHomepage()))},A3a=function(a,b){if(a&1){var c=x();H(0,"li",8)(1,"a",9);O("click",function(d){var e=z(c).$implicit,g=P(3);return A(g.onAnchorClick(e.href,d))});H(2,"span",10);S(3);J()();R(4,w3a,2,1,"button",11);H(5,"mat-menu",null,12);R(7,z3a,4,2,"ng-template",13);J()()}a&2&&(a=b.$implicit,Ie("selected",a.isSelected()),Pe("id","bv2-user-hotlists-hotlist-item-",a.id,""),G("title",
a.name),C(1),G("href",a.href,vd),C(2),Ve(a.name),C(1),G("ngIf",a))},B3a=function(a){a&1&&(H(0,"ul",6),R(1,A3a,8,7,"li",7),J());a&2&&(a=P(2),C(1),G("ngForOf",a.hotlists))},C3a=function(a){a&1&&R(0,B3a,2,1,"ul",5);a&2&&(a=P(),G("ngIf",a.hotlists))},D3a=function(a){a&1&&(H(0,"span"),S(1,"Saved searches"),J())},E3a=function(a){if(a&1){var b=x();H(0,"button",14);O("click",function(){z(b);var c=P(2).$implicit;return A(c.setAsPreferredHomepage())});S(1," Set as homepage ");J()}},G3a=function(a){if(a&1){var b=
x();H(0,"button",14);O("click",function(){z(b);var c=P().$implicit,d=P(3);return A(d.openEditSavedSearch(c.id))});S(1," Settings ");J();R(2,E3a,2,0,"button",15);H(3,"button",14);O("click",function(){z(b);var c=P().$implicit,d=P(3);return A(F3a(d,c))});S(4," Delete ");J()}a&2&&(a=P().$implicit,C(2),G("ngIf",!a.isPreferredHomepage()))},H3a=function(a,b){if(a&1){var c=x();H(0,"li",7)(1,"a",8);O("click",function(e){var g=z(c).$implicit,h=P(3);return A(h.onAnchorClick(g.href,e))});H(2,"span",9);S(3);J()();
H(4,"button",10);K(5,"mat-icon",11);J();H(6,"mat-menu",null,12);R(8,G3a,5,1,"ng-template",13);J()()}if(a&2){a=b.$implicit;var d=Se(7);Ie("selected",a.isSelected());Be("id","bv2-saved-searches-search-item-",a.id,"");G("title",a.name);C(1);G("href",a.href,vd);C(2);Ve(a.name);C(1);G("matMenuTriggerFor",d)}},I3a=function(a){a&1&&(H(0,"ul",5),R(1,H3a,9,7,"li",6),J());a&2&&(a=P(2),C(1),G("ngForOf",a.searches))},J3a=function(a){a&1&&R(0,I3a,2,1,"ul",4);a&2&&(a=P(),G("ngIf",a.searches))},M3a=function(a){var b=
a.match(/\(.*\)/);if(a.match(/'.*'/)||a.match(/".*"/)||b)return{complexSyntax:!0};a=a.split(/\s+/).filter(Boolean);b=a.filter(K3a).length;var c=a.filter(function(d){return!K3a(d)}).filter(L3a).length;return{filters:b,text:a.length-b-c,resourceIds:c}},L3a=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:!/[^0-9]/.test(a)},K3a=function(a){return!!a.match(/\w:\w/g)},N3a=function(a,b){return(null!=a?a:0)+(null!=b?b:0)},
P3a=function(a){if(a&1){var b=x();H(0,"button",27);O("click",function(){z(b);var c=P(2);return A(O3a(c,c.EXPERIMENTAL_HOMEPAGE))});S(1," Set as homepage ");J();H(2,"span",28);S(3," Experimental. ");H(4,"a",29);S(5,"Learn more");J();S(6,". ");J()}},Q3a=function(a){if(a&1){var b=x();L(0);H(1,"li",22)(2,"a",7);O("click",function(d){z(b);var e=P();e.onAnchorClick(e.experimentalHomepagePath,d);e.appSearchState.clear();return A()});K(3,"mat-icon",23);S(4," Home ");J();H(5,"button",24);K(6,"mat-icon",25);
J();H(7,"mat-menu",null,26);R(9,P3a,7,0,"ng-template",10);J()();M()}if(a&2){var c=Se(8);a=P();C(1);Ie("selected",!!a.location.path().match(/^\/dash\b/));C(1);G("href",a.experimentalHomepagePath,vd);C(3);G("matMenuTriggerFor",c)}},R3a=function(a,b){a&1&&K(0,"mat-icon",34);a&2&&(a=b.$implicit,G("matBadge",99<a?"99+":a)("matBadgeHidden",0===a)("matBadgeDescription","Badge indicating "+a+" issues need attention"))},S3a=function(a){a&1&&K(0,"mat-icon",35)},T3a=function(a){a&1&&(L(0),H(1,"button",36),K(2,
"mat-icon",25),J(),M());if(a&2){P();var b=Se(10);C(1);G("matMenuTriggerFor",b)}},U3a=function(a){if(a&1){var b=x();H(0,"button",27);O("click",function(){z(b);var c=P(2);O3a(c,"NEEDS_ATTENTION");return A()});S(1," Set as homepage ");J()}},V3a=function(a){if(a&1){var b=x();H(0,"li",30)(1,"a",7);O("click",function(d){z(b);var e=P();return A(e.onAnchorClick(e.needsAttentionPath,d))});R(2,R3a,1,3,"mat-icon",31);T(3,"async");R(4,S3a,1,0,"ng-template",null,32,of);S(6," Needs attention ");J();R(7,T3a,3,1,
"ng-container",4);T(8,"async");H(9,"mat-menu",null,33);R(11,U3a,2,0,"ng-template",10);J()()}if(a&2){var c=Se(5);a=P();Ie("selected",!!a.location.path().match(/^\/attention\b/));C(1);G("href",a.needsAttentionPath,vd);C(1);G("ngIf",U(3,6,a.needsAttentionIssueCount$))("ngIfElse",c);C(5);G("ngIf",!U(8,8,a.isHomepageNeedsAttention$))}},W3a=function(a){a&1&&(L(0),H(1,"button",37),K(2,"mat-icon",25),J(),M());if(a&2){P();var b=Se(14);C(1);G("matMenuTriggerFor",b)}},Y3a=function(a){if(a&1){var b=x();H(0,"button",
27);O("click",function(){z(b);var c=P();return A(X3a(c))});S(1," Set as homepage ");J()}},$3a=function(a){if(a&1){var b=x();H(0,"li")(1,"a",7);O("click",function(c){z(b);var d=P();return A(d.onAnchorClick(d.votedPath,c))});K(2,"mat-icon",38);S(3," Upvoted by me ");J()()}a&2&&(a=P(),Ie("selected",Z3a(a.appSearchState)),C(1),G("href",a.votedPath,vd))},a4a=function(a,b){if(a&1){var c=x();H(0,"li")(1,"a",7);O("click",function(d){var e=z(c).$implicit,g=P();return A(g.onAnchorClick(e,d))});K(2,"mat-icon",
39);S(3," Recently Viewed ");J()()}a&2&&(a=b.$implicit,b=P(),Ie("selected",!!b.location.path().match(/^\/recent\b/)),C(1),G("href",a,vd))},b4a=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},c4a=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)},e4a=function(a,b,c){b=void 0===b?"#ccc":b;c=void 0===c?400:c;d4a++;var d=156;d+=12*(d4a-1);return function(e){e=void 0===e?b:e;var g,h=null!=(g=document.getElementById(a))?g:b4a(a,d);c4a(h,e,c)}},f4a=function(a){a=void 0===a?!1:a;var b=rBa(),c=b.total,d=b.redundancyRatio;jl("after-60s","xhr","redundant",b.redundant);jl("after-60s","xhr","total",c);jl("after-60s","xhr","redundancyRatio",d);
a&&(console.table(pBa()),console.log(b))},h4a=function(a){if(a&1){var b=x();H(0,"a",8);O("keydown.enter",function(){z(b);var c=P(2);return A(g4a(c))})("keydown.space",function(){z(b);var c=P(2);return A(g4a(c))})("click",function(){z(b);var c=P(2);return A(g4a(c))});S(1," Dismiss");J()}},i4a=function(a){a&1&&(H(0,"div",4)(1,"div",5),K(2,"span",6),R(3,h4a,2,0,"a",7),J()());a&2&&(a=P(),C(2),G("innerHtml",a.announcement.message,ud),C(1),G("ngIf",a.announcement.dismissible))},k4a=function(a){if(a&1){var b=
x();H(0,"b-resizable-sidebar",9);O("widthChanged",function(c){z(b);var d=P();c!==d.matSidebarWidth&&(d.matSidebarWidth=c,j4a(d,c));return A()});K(1,"b-sidebar");J()}a&2&&(a=P(),G("size",a.matSidebarWidth)("disableToggleBtn",!0))},l4a=function(a){switch(a){case "COMFORTABLE":return"d-comfort";case "COZY":return"d-cozy";case "COMPACT":return"d-compact";default:return"d-comfort"}},n4a=function(a){if(a&1){var b=x();H(0,"button",10);O("click",function(){z(b);var c=P(2),d=new Dg;c.date=d;c.dateSelectionChange.emit(d);
m4a(c,c.date);c.calendar._getCurrentViewComponent()._focusActiveCell(!1);c.dateChange.emit(c.date);return A(c.saveClicked.emit())});S(1,"Today");J()}},o4a=function(a){if(a&1){var b=x();H(0,"button",11);O("click",function(){z(b);var c=P(2);c.date=void 0;c.dateSelectionChange.emit(void 0);c.dateChange.emit(c.date);return A(c.saveClicked.emit())});S(1,"None");J()}},p4a=function(a){a&1&&(H(0,"div",1),R(1,n4a,2,0,"button",8),R(2,o4a,2,0,"button",9),K(3,"mat-divider"),J());a&2&&(a=P(),C(1),G("ngIf",a.todayButtonEnabled),
C(1),G("ngIf",a.noneButtonEnabled&&!a.required))},q4a=function(a){a&1&&K(0,"b-formatted-date-time",4);a&2&&(a=P(),G("date",a.value))},r4a=function(a){a&1&&(L(0),S(1,"---"),M())},s4a=function(a,b){if(a&1){var c=x();H(0,"div",8)(1,"mat-checkbox",9);O("change",function(){var d=z(c).$implicit,e=P();e.focusFilterBox();var g=e.valueMap.get(d);g?e.valueMap.set(d,!1):!1===g?(g=null===e.originalValueMap.get(d),e.valueMap.set(d,g?null:!0)):e.valueMap.set(d,!0);e.onSave.emit({valueMap:e.valueMap,valueChanged:e.valueChanged()});
return A()})("click",function(d){return d.stopPropagation()});S(2);J()()}a&2&&(a=b.$implicit,b=P(),G("title",b.getDisplayString(a)),C(1),G("checked",!!b.valueMap.get(a))("indeterminate",null===b.valueMap.get(a)),C(1),Te(" ",b.getDisplayString(a)," "))},u4a=function(a){if(a&1){var b=x();H(0,"input",10,11);O("keydown",function(c){z(b);var d=P();"Enter"===c.key&&(t4a(d)&&d.addValue(),c.preventDefault());return A()})("click",function(c){return c.stopPropagation()})("ngModelChange",function(c){z(b);var d=
P();return A(d.filterValue=c)});J()}a&2&&(a=P(),G("type","REPEATED_NUMERIC"===a.type?"number":"text")("ngModel",a.filterValue)("placeholder","REPEATED_ENUM"===a.type?"Filter values":"Add or filter values"))},v4a=function(a){a&1&&K(0,"mat-divider")},w4a=function(a){if(a&1){var b=x();H(0,"div",12);O("click",function(c){z(b);var d=P();c.stopPropagation();return A(d.addValue())});S(1," Add ");J()}},x4a=function(a){if(a&1){var b=x();H(0,"div")(1,"b-date-time-input",13);O("valueChange",function(c){z(b);
var d=P();return A(d.currentSelectedDate=c)});J();H(2,"div",14);O("click",function(c){z(b);var d=P();c.stopPropagation();if(c=d.currentSelectedDate)d.filterValue=c?c.getMonth()+1+"/"+c.getDate()+"/"+c.getFullYear():"",d.addValue(),d.currentSelectedDate=void 0;return A()});S(3," Add ");J()()}a&2&&(a=P(),C(1),G("value",a.currentSelectedDate))},y4a=function(a){a&1&&Le(0)},A4a=function(a){if(a&1){var b=x();H(0,"div",3);O("click",function(){z(b);var d=P();return A(d.select(void 0))});R(1,y4a,1,0,"ng-container",
4);J()}if(a&2){a=P();var c=Se(3);G("option",void 0);Ae("aria-selected",a.isSelected(void 0));C(1);G("ngTemplateOutlet",c)("ngTemplateOutletContext",Ye(4,z4a))}},B4a=function(a){a&1&&Le(0)},D4a=function(a){if(a&1){var b=x();H(0,"div",3);O("click",function(){z(b);var e=P().$implicit,g=P();return A(g.select(e))});R(1,B4a,1,0,"ng-container",4);J()}if(a&2){a=P().$implicit;var c=P(),d=Se(3);G("option",a);Ae("aria-selected",c.isSelected(a));C(1);G("ngTemplateOutlet",d)("ngTemplateOutletContext",Ze(4,C4a,
a))}},E4a=function(a,b){a&1&&(L(0),R(1,D4a,2,6,"div",0),M());a&2&&(a=b.$implicit,C(1),G("ngIf",a))},F4a=function(a){a&1&&(L(0),S(1),M());a&2&&(a=P(2).$implicit,C(1),Te(" ",a," "))},G4a=function(a){a&1&&(H(0,"span",8),S(1,"--"),J())},H4a=function(a){a&1&&(L(0),R(1,F4a,2,1,"ng-container",5),R(2,G4a,2,0,"ng-template",null,7,of),M());if(a&2){var b=Se(3);a=P().$implicit;C(1);G("ngIf",null!=a)("ngIfElse",b)}},I4a=function(a){a&1&&Le(0)},J4a=function(a){a&1&&R(0,I4a,1,0,"ng-container",4);if(a&2){a=P().$implicit;
var b=P();G("ngTemplateOutlet",b.optionTemplate)("ngTemplateOutletContext",Ze(2,C4a,a))}},K4a=function(a){a&1&&(R(0,H4a,4,2,"ng-container",5),R(1,J4a,1,4,"ng-template",null,6,of));if(a&2){var b=Se(2);a=P();G("ngIf",!a.optionTemplate)("ngIfElse",b)}},L4a=function(a){a&1&&Le(0)},N4a=function(a){a&1&&(L(0),R(1,L4a,1,0,"ng-container",10),M());a&2&&(a=P(),C(1),G("ngTemplateOutlet",a.valueTemplate)("ngTemplateOutletContext",Ze(2,M4a,a.value)))},O4a=function(a){a&1&&Le(0)},P4a=function(a){a&1&&(L(0),R(1,
O4a,1,0,"ng-container",10),M());a&2&&(a=P(2),C(1),G("ngTemplateOutlet",a.optionTemplate)("ngTemplateOutletContext",Ze(2,M4a,a.value)))},Q4a=function(a){a&1&&R(0,P4a,2,4,"ng-container",3);if(a&2){a=P();var b=Se(8);G("ngIf",a.optionTemplate)("ngIfElse",b)}},R4a=function(a){a&1&&(L(0),S(1),M());a&2&&(a=P(2),C(1),Te(" ",a.value," "))},S4a=function(a){a&1&&(H(0,"span",12),S(1,"--"),J())},T4a=function(a){a&1&&(R(0,R4a,2,1,"ng-container",3),R(1,S4a,2,0,"ng-template",null,11,of));if(a&2){var b=Se(2);a=P();
G("ngIf",null!=a.value)("ngIfElse",b)}},U4a=function(a){a&1&&(Xc(),H(0,"svg",13),K(1,"path",14),J())},V4a=function(a){a&1&&(H(0,"div"),S(1," The selected issues have no custom fields in common. "),J())},W4a=function(a){a&1&&(H(0,"span"),S(1,"*"),J())},Y4a=function(a){if(a&1){var b=x();H(0,"input",16);O("ngModelChange",function(c){z(b);var d=P(2).$implicit;return A(d.textValue=c)});J()}a&2&&(a=P(2).$implicit,P(),G("ngModel",a.textValue),Ae("aria-labelledby",X4a(a)))},Z4a=function(a){if(a&1){var b=
x();H(0,"input",17);O("ngModelChange",function(c){z(b);var d=P(2).$implicit;return A(d.numericValue=c)});J()}a&2&&(a=P(2).$implicit,P(),G("ngModel",a.numericValue),Ae("aria-labelledby",X4a(a)))},a5a=function(a){if(a&1){var b=x();H(0,"div")(1,"b-date-time-input",18);O("valueChange",function(e){z(b);var g=P(2).$implicit;P();return A(g.dateValue=e?Xra(e):void 0)});J()()}if(a&2){a=P(2).$implicit;var c=P(),d;C(1);G("value",null!==(d=$4a(a.dateValue))&&void 0!==d?d:void 0)("required",c.isCustomFieldRequired(a))("customAriaLabelledBy",
X4a(a))("customFormId","bv2-custom-field-"+a.customFieldId)}},c5a=function(a){if(a&1){var b=x();H(0,"onedev-single-select",19);O("valueChange",function(d){z(b);var e=P(2).$implicit;return A(e.enumValue=d)});J()}if(a&2){a=P(2).$implicit;P();var c;G("value",a.enumValue)("options",null!==(c=a.allowedValue)&&void 0!==c?c:Ye(3,b5a));Ae("aria-labelledby",X4a(a))}},e5a=function(a){if(a&1){var b=x();H(0,"b-bulk-repeated-field-picker",20);O("onSave",function(e){z(b);var g=P(2).$implicit,h=P();return A(d5a(h,
g.customFieldId,e))});J()}if(a&2){a=P(2).$implicit;var c=P(),d;G("type",c.getCustomFieldType(a))("originalValueMap",c.repeatedCustomFieldsMap.get(a.customFieldId))("enumChoices",null!==(d=a.allowedValue)&&void 0!==d?d:Ye(3,b5a))}},f5a=function(a){a&1&&(L(0,10),R(1,Y4a,1,2,"input",11),R(2,Z4a,1,2,"input",12),R(3,a5a,2,4,"div",13),R(4,c5a,1,4,"onedev-single-select",14),R(5,e5a,1,4,"b-bulk-repeated-field-picker",15),M());if(a&2){a=P().$implicit;var b=P();G("ngSwitch",b.getCustomFieldType(a));C(1);G("ngSwitchCase",
"TEXT");C(1);G("ngSwitchCase","NUMERIC");C(1);G("ngSwitchCase","DATE");C(1);G("ngSwitchCase","ENUM")}},g5a=function(a){if(a&1){var b=x();H(0,"span");S(1," Multiple values ");J();H(2,"a",21);O("click",function(){z(b);var c=P().$implicit,d=P();return A(d.clearCustomFieldValue(c))});S(3,"X");J()}},h5a=function(a,b){a&1&&(H(0,"div",5)(1,"div",6)(2,"label",7),S(3),R(4,W4a,2,0,"span",1),J()(),R(5,f5a,6,5,"ng-template",8),R(6,g5a,4,0,"ng-template",null,9,of),J());if(a&2){a=b.$implicit;var c=Se(7);P();C(2);
G("matTooltip",(a.description||"")+" [ID: "+a.customFieldId+"]");Ae("id",X4a(a));C(1);Te(" ",a.name," ");C(1);G("ngIf",a.required);C(1);G("ngIf",!a.hasMultipleValues)("ngIfElse",c)}},i5a=function(a){return new Set(a.map(function(b){return nsa(b)}))},pn=function(a,b,c){return a.has(b)?c:""},j5a=function(a,b,c){return a.has(b)?c:[]},qn=function(a,b,c){return{fieldName:a,diffType:"SINGLE_VALUE",diff:{oldValue:b,newValue:c}}},m5a=function(a){if(!a)return"";var b=k5a.get(a.retentionSelection),c=a.retentionPeriodDays,
d="Issue Retention: "+b;b=d;c&&(b=d+(", Days: "+c));d=l5a.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},o5a=function(a){if(!a)return"";var b=a.inherit,c=n5a.get(a.source),d=a.comment;a="Inherit: "+b+", Source: "+c+", ID: "+a.id;return d?a+(", Justification: "+d):a},p5a=function(a){return a?"Inherit: "+a.inherit+", ID: "+a.id:""},q5a=function(a){a&1&&(H(0,
"li")(1,"a",4),S(2," Create an issue in this component"),J()());a&2&&(a=P(2),C(1),G("href",a.createIssueUrl,vd))},r5a=function(a,b){a&1&&(L(0),H(1,"h3"),S(2),J(),H(3,"p"),S(4),J(),K(5,"b-access-level-indicator",3),H(6,"p"),S(7),J(),H(8,"ul")(9,"li")(10,"a",4),S(11," View recent open issues"),J()(),R(12,q5a,3,1,"li",2),H(13,"li")(14,"a",4),S(15," View component"),J()()(),M());a&2&&(a=b.ngIf,b=P(),C(2),Ve(a.name),C(2),Te("ID: ",b.componentId,""),C(1),G("accessLevel",null==a.accessLimit?null:a.accessLimit.accessLevel)("labelOnlyMode",
!0),C(2),Ve(a.description),C(3),G("href",b.recentIssuesUrl,vd),C(2),G("ngIf",!b.isAnonymous),C(2),G("href",b.viewComponentUrl,vd))},s5a=function(a,b){a&1&&(H(0,"mat-option",19),S(1),J());a&2&&(a=b.$implicit,G("value",a),C(1),Te(" ",a," "))},t5a=function(a){if(a&1){var b=x();H(0,"mat-form-field",16)(1,"mat-select",17);O("selectionChange",function(c){z(b);var d=P(2);return A(d._changePageSize(c.value))});R(2,s5a,2,2,"mat-option",18);J()()}a&2&&(a=P(2),G("appearance",a._formFieldAppearance)("color",
a.color),C(1),G("value",a.pageSize)("disabled",a.disabled)("panelClass",a.selectConfig.panelClass||"")("disableOptionCentering",a.selectConfig.disableOptionCentering)("aria-label",a._intl.itemsPerPageLabel),C(1),G("ngForOf",a._displayedPageSizeOptions))},u5a=function(a){a&1&&(H(0,"div",20),S(1),J());a&2&&(a=P(2),C(1),Ve(a.pageSize))},v5a=function(a){a&1&&(H(0,"div",12)(1,"div",13),S(2),J(),R(3,t5a,3,8,"mat-form-field",14),R(4,u5a,2,1,"div",15),J());a&2&&(a=P(),C(2),Te(" ",a._intl.itemsPerPageLabel,
" "),C(1),G("ngIf",1<a._displayedPageSizeOptions.length),C(1),G("ngIf",1>=a._displayedPageSizeOptions.length))},w5a=function(a){if(a&1){var b=x();H(0,"button",21);O("click",function(){z(b);var c=P();if(c.hasPreviousPage()){var d=c.pageIndex;c.pageIndex=0;c._emitPageEvent(d)}return A()});Xc();H(1,"svg",7);K(2,"path",22);J()()}a&2&&(a=P(),G("matTooltip",a._intl.firstPageLabel)("matTooltipDisabled",a._previousButtonsDisabled())("matTooltipPosition","above")("disabled",a._previousButtonsDisabled()),Ae("aria-label",
a._intl.firstPageLabel))},x5a=function(a){if(a&1){var b=x();Xc();Yc();H(0,"button",23);O("click",function(){z(b);var c=P();if(c.hasNextPage()){var d=c.pageIndex;c.pageIndex=(c.pageSize?Math.ceil(c.length/c.pageSize):0)-1;c._emitPageEvent(d)}return A()});Xc();H(1,"svg",7);K(2,"path",24);J()()}a&2&&(a=P(),G("matTooltip",a._intl.lastPageLabel)("matTooltipDisabled",a._nextButtonsDisabled())("matTooltipPosition","above")("disabled",a._nextButtonsDisabled()),Ae("aria-label",a._intl.lastPageLabel))},y5a=
function(a){if(a&1){var b=x();H(0,"mat-paginator",3);O("page",function(c){z(b);var d=P(),e=c.pageIndex*c.pageSize;d.childrenOnPage=d.children.slice(e,e+c.pageSize);return A()});J()}a&2&&(a=P(),G("length",a.children.length)("pageSize",a.pageSize)("pageSizeOptions",a.pageSizeOptions))},z5a=function(a,b){if(a&1){var c=x();H(0,"li")(1,"a",4);O("click",function(){var e=z(c).$implicit,g=P();return A(g.onVisit.emit(e))});S(2);J();H(3,"onedev-hovercard",null,5);K(5,"b-component-card",6);J()()}if(a&2){a=b.$implicit;
var d=Se(4);b=P();C(1);G("onedevHovercardTrigger",d)("href",b.paths.manageComponent(a.componentId),vd);C(1);Te(" ",a.name," ");C(3);G("componentId",a.componentId.toString())}},A5a=function(a){if(a&1){var b=x();H(0,"button",6);O("click",function(){z(b);var c=P();return A(c.onClickCopyIssueShortLinks.emit())});S(1);J()}a&2&&(a=P(),C(1),Te(" Copy '",a.shortLinkPrefix,"'' links "))},B5a=function(a,b){a&1&&(H(0,"span",5)(1,"a",6),S(2),J(),H(3,"onedev-hovercard",null,7),K(5,"b-component-card",8),J()());
if(a&2){a=b.$implicit;var c=Se(4);C(1);G("onedevHovercardTrigger",c)("routerLinkObj",a.route);C(1);Ve(a.name);C(3);G("componentId",a.id.toString())}},C5a=function(a){a&1&&(H(0,"span",9),S(1,"[Archived]"),J())},D5a=function(a,b){b=void 0===b?vya:b;var c,d=null!=(c=null==a?void 0:a.componentPathId)?c:[],e,g=null!=(e=null==a?void 0:a.componentPathName)?e:[];return d.map(function(h,l){var q;l=null!=(q=g[l])?q:String(h);q=b(h);return{id:h,name:l,route:q}})},E5a=function(a){if(a&1){var b=x();H(0,"a",18);
O("click",function(){z(b);var c=P().$implicit,d=P();return A(d.showChildren(c))});K(1,"mat-icon",19);J()}},F5a=function(a){if(a&1){var b=x();H(0,"a",20);O("click",function(){z(b);var c=P().$implicit;return A(c.showChildren=!1)});K(1,"mat-icon",21);J()}},H5a=function(a){a&1&&(H(0,"a",22),S(1," (Recent Issues) "),J());if(a&2){a=P().$implicit;var b=P();G("href",b.paths.listIssues(Ze(1,G5a,"status:open componentid:"+a.componentId)),vd)}},I5a=function(a){a&1&&(H(0,"span"),S(1,"[Archived]"),J())},J5a=function(a){a&
1&&(H(0,"a",23),S(1," Create issue "),J());if(a&2){a=P().$implicit;var b=P();G("href",b.paths.createIssue()+"?component="+a.componentId,vd)}},K5a=function(a){a&1&&(H(0,"div",28),S(1," No child components found. "),J())},L5a=function(a){a&1&&(H(0,"div",29),K(1,"b-spinner"),J())},M5a=function(a){if(a&1){var b=x();H(0,"component-subtree-list",30);O("childClosed",function(d){z(b);var e=P(3);return A(e.onSubtreeChildClosed(d))});J()}if(a&2){a=P(2).$implicit;var c=P();G("components",a.children)("parentComponent",
a)("rootController",c.rootController)("includeArchived",c.includeArchived)}},N5a=function(a){a&1&&(H(0,"div",24),R(1,K5a,2,0,"div",25),R(2,L5a,2,0,"div",26),R(3,M5a,1,4,"component-subtree-list",27),J());a&2&&(a=P().$implicit,C(1),G("ngIf",a.noChildren),C(1),G("ngIf",!(a.noChildren||a.children)),C(1),G("ngIf",a.children))},O5a=function(a,b){if(a&1){var c=x();H(0,"li",2);O("click",function(d){var e=z(c).$implicit,g=P();return A(g.setSelected(e.componentId,d))});H(1,"div",3);K(2,"div",4);H(3,"div",5);
R(4,E5a,2,0,"a",6);R(5,F5a,2,0,"a",7);J();H(6,"div",8)(7,"div")(8,"a",9);S(9);J();R(10,H5a,2,3,"a",10);R(11,I5a,2,0,"span",11);K(12,"b-access-level-indicator",12)(13,"b-tracker-chip-smart",13);J();H(14,"div",14);S(15);J()();H(16,"div",15);R(17,J5a,2,1,"a",16);J()();R(18,N5a,4,3,"div",17);J()}a&2&&(a=b.$implicit,b=P(),Pe("id","component-",a.componentId,""),C(4),G("ngIf",!a.showChildren),C(1),G("ngIf",a.showChildren),C(3),G("href",b.paths.viewComponent(a.componentId),vd),C(1),Te(" ",a.name," "),C(1),
G("ngIf",!a.archived),C(1),G("ngIf",a.archived),C(1),G("accessLevel",null==a.accessLimit?null:a.accessLimit.accessLevel),C(1),G("trackerId",a.trackerId),C(2),Ve(a.description),C(2),G("ngIf",!a.archived),C(1),G("ngIf",a.showChildren))},P5a=function(a){if(a&1){var b=x();H(0,"a",18);O("click",function(){z(b);var c=P().$implicit,d=P();return A(d.showChildren(c))});K(1,"mat-icon",19);J()}},Q5a=function(a){if(a&1){var b=x();H(0,"a",20);O("click",function(){z(b);var c=P().$implicit;return A(c.showChildren=
!1)});K(1,"mat-icon",21);J()}},S5a=function(a){a&1&&(H(0,"a",22),S(1," (Recent Issues) "),J());if(a&2){a=P().$implicit;var b=P();G("href",b.paths.listIssues(Ze(1,R5a,"status:open componentid:"+a.componentId)),vd)}},T5a=function(a){a&1&&(H(0,"span"),S(1,"[Archived]"),J())},U5a=function(a){a&1&&(H(0,"a",23),S(1," Create issue "),J());if(a&2){a=P().$implicit;var b=P();G("href",b.paths.createIssue()+"?component="+a.componentId,vd)}},V5a=function(a){a&1&&(H(0,"div",28),S(1," No child components found. "),
J())},W5a=function(a){a&1&&(H(0,"div",29),K(1,"b-spinner"),J())},X5a=function(a){if(a&1){var b=x();H(0,"component-subtree-list",30);O("childClosed",function(d){z(b);var e=P(3);return A(e.onSubtreeChildClosed(d))});J()}if(a&2){a=P(2).$implicit;var c=P();G("components",a.children)("parentComponent",a)("rootController",c.rootController)("includeArchived",c.includeArchived)}},Y5a=function(a){a&1&&(H(0,"div",24),R(1,V5a,2,0,"div",25),R(2,W5a,2,0,"div",26),R(3,X5a,1,4,"component-subtree-list",27),J());
a&2&&(a=P().$implicit,C(1),G("ngIf",a.noChildren),C(1),G("ngIf",!(a.noChildren||a.children)),C(1),G("ngIf",a.children))},Z5a=function(a,b){if(a&1){var c=x();H(0,"li",2);O("click",function(d){var e=z(c).$implicit,g=P();return A(g.setSelected(e.componentId,d))});H(1,"div",3);K(2,"div",4);H(3,"div",5);R(4,P5a,2,0,"a",6);R(5,Q5a,2,0,"a",7);J();H(6,"div",8)(7,"div")(8,"a",9);S(9);J();R(10,S5a,2,3,"a",10);R(11,T5a,2,0,"span",11);K(12,"b-access-level-indicator",12)(13,"b-tracker-chip-smart",13);J();H(14,
"div",14);S(15);J()();H(16,"div",15);R(17,U5a,2,1,"a",16);J()();R(18,Y5a,4,3,"div",17);J()}a&2&&(a=b.$implicit,b=P(),G("id","component-"+a.componentId),C(4),G("ngIf",!a.showChildren),C(1),G("ngIf",a.showChildren),C(3),G("href",b.paths.viewComponent(a.componentId),vd),C(1),Te(" ",a.name," "),C(1),G("ngIf",!a.archived),C(1),G("ngIf",a.archived),C(1),G("accessLevel",null==a.accessLimit?null:a.accessLimit.accessLevel),C(1),G("trackerId",a.trackerId),C(2),Ve(a.description),C(2),G("ngIf",!a.archived),C(1),
G("ngIf",a.showChildren))},$5a=function(a){a&1&&(K(0,"div"),T(1,"lowercase"));a&2&&(a=P(3),Je("bv2-edit-icon ",U(1,3,a.type),""))},a6a=function(a){a&1&&(H(0,"div")(1,"label"),S(2),J(),R(3,$5a,2,5,"div",10),J());a&2&&(a=P(2),Je("bv2-editable-title bv2-editable-title-",a.name," flex-kids-x"),C(2),Te(" ",a.title," "),C(1),G("ngIf",!a.readonly&&!a.disabled))},b6a=function(a){a&1&&Le(0)},c6a=function(a){if(a&1){var b=x();H(0,"div",14);O("menuClosed",function(){z(b);var e=P(2);return A(rn(e,null,!1,!0))});
R(1,b6a,1,0,"ng-container",15);J()}if(a&2){P();var c=Se(6);P();var d=Se(7);G("matMenuTriggerFor",d);C(1);G("ngTemplateOutlet",c)}},d6a=function(a){a&1&&Le(0)},e6a=function(a){a&1&&(H(0,"div",16),R(1,d6a,1,0,"ng-container",15),J());if(a&2){P();var b=Se(6);C(1);G("ngTemplateOutlet",b)}},f6a=function(a){a&1&&K(0,"b-user-membership-chip",25);a&2&&(a=P(5),G("user",a.user)("email",a.value)("teamId",a.teamId)("enableSmallChip",!0))},g6a=function(a){a&1&&K(0,"b-user-image",26);a&2&&(a=P(5),G("email",a.value))},
h6a=function(a){a&1&&(H(0,"span",27)(1,"b-person-hovercard",28),S(2),J()());a&2&&(a=P(5),C(1),G("email",a.value),C(1),Te(" ",a.getDisplayValue("--")," "))},i6a=function(a){a&1&&(L(0),H(1,"div",21),R(2,f6a,1,4,"b-user-membership-chip",22),R(3,g6a,1,1,"b-user-image",23),R(4,h6a,3,2,"span",24),J(),M());a&2&&(a=P(4),C(2),G("ngIf",a.enableTeamAnnotations&&!!a.value),C(1),G("ngIf",!a.enableTeamAnnotations&&!!a.value),C(1),G("ngIf",!a.enableTeamAnnotations))},j6a=function(a){a&1&&(H(0,"div"),R(1,i6a,5,3,
"ng-container",3),J());a&2&&(a=P(3),C(1),G("ngIf",a.isUser))},k6a=function(a){a&1&&K(0,"b-truncated-span",33);a&2&&(a=P(4),G("maxWidth",150)("modelValue",a.getDisplayValue("--"))("disabled",!a.truncate))},l6a=function(a){a&1&&K(0,"b-truncated-span",34);a&2&&(a=P(4),G("ngClass",a.getPriority(a.value))("maxWidth",150)("modelValue",a.getDisplayValue("--"))("disabled",!a.truncate))},m6a=function(a){a&1&&K(0,"b-truncated-span",33);a&2&&(a=P(4),Je("chippy status-",a.convertIssueStatusStrToTag(a.value),
""),G("maxWidth",150)("modelValue",a.getDisplayValue("--"))("disabled",!a.truncate))},n6a=function(a){a&1&&K(0,"div",35)},o6a=function(a){a&1&&(H(0,"div"),R(1,k6a,1,3,"b-truncated-span",29),R(2,l6a,1,4,"b-truncated-span",30),R(3,m6a,1,6,"b-truncated-span",31),R(4,n6a,1,0,"div",32),J());a&2&&(a=P(3),C(1),G("ngIf","Priority"!==a.title&&"Status"!==a.title),C(1),G("ngIf","Priority"===a.title),C(1),G("ngIf","Status"===a.title),C(1),G("ngIf",!a.title&&!a.readonly&&!a.disabled))},p6a=function(a){a&1&&(H(0,
"div",36),K(1,"mat-icon",37),J())},q6a=function(a){a&1&&(H(0,"div",38),K(1,"mat-icon",39),J())},s6a=function(a){if(a&1){var b=x();H(0,"div",17,18);O("keydown",function(c){z(b);var d=P(2);return A(r6a(d,c))})("click",function(c){z(b);var d=P(2);return A(rn(d,c,!0,!1))});R(2,j6a,2,1,"div",3);R(3,o6a,5,4,"div",3);R(4,p6a,2,0,"div",19);R(5,q6a,2,0,"div",20);J()}a&2&&(a=P(2),Ie("edit-field-user-container",a.isUser)("edit-field-activated",a.isActive),C(2),G("ngIf",a.isUser),C(1),G("ngIf",!a.isUser),C(1),
G("ngIf","ENUM"!=a.type),C(1),G("ngIf","ENUM"==a.type))},t6a=function(a){if(a&1){var b=x();H(0,"div",8,9);O("click",function(c){z(b);var d=P();return A(rn(d,c,!0,!1))})("keydown",function(c){z(b);var d=P();return A(r6a(d,c))});R(2,a6a,4,5,"div",10);R(3,c6a,2,2,"div",11);R(4,e6a,2,1,"div",12);R(5,s6a,6,8,"ng-template",null,13,of);J()}a&2&&(a=P(),Je("bv2-issue-metadata-field-inner bv2-issue-metadata-field-",a.name,""),Ie("bv2-disabled",a.disabled)("bv2-readonly",a.readonly),Ce("aria-label","",a.title,
" value is ",a.getDisplayValue("empty"),""),G("matTooltip",a.getTooltip()),Ae("aria-disabled",!1),C(2),G("ngIf",a.title),C(1),G("ngIf","ENUM"===a.type),C(1),G("ngIf","ENUM"!==a.type))},u6a=function(a){if(a&1){var b=x();H(0,"div",43);O("click",function(){z(b);var c=P(2);return A(c.setFieldValue(!c.value))});H(1,"label");S(2);J()()}a&2&&(a=P(2),Je("bv2-editable-title bv2-editable-title-",a.name," flex-kids-x"),C(2),Ve(a.title))},w6a=function(a){if(a&1){var b=x();H(0,"div",40);R(1,u6a,3,4,"div",41);
H(2,"b-slide-toggle",42);O("modelChange",function(){z(b);var d=P();return A(d.setFieldValue(!d.value))});J()()}if(a&2){a=P();var c;Je("bv2-issue-metadata-field-inner bv2-issue-metadata-field-",a.name,"");G("ngClass",$e(10,v6a,a.disabled,a.readonly))("matTooltip",a.getTooltip());Ae("aria-disabled",!1);C(1);G("ngIf",a.title);C(1);G("disabled",a.disabled||a.readonly)("aria-label",a.name)("model",null!==(c=a.value)&&void 0!==c?c:void 0)}},x6a=function(a){a&1&&K(0,"b-availability-chip",45);a&2&&(a=P(2),
G("user",a.value))},y6a=function(a){a&1&&(L(0),R(1,x6a,1,1,"b-availability-chip",44),M());a&2&&(a=P(),C(1),G("ngIf",a.value&&a.enableWaldoAvailability))},z6a=function(a){if(a&1){var b=x();H(0,"button",48);O("click",function(){z(b);var c=P(2);return A(c.clearFieldValue())});H(1,"span",49);K(2,"mat-icon",50);J();S(3," \u00a0 ");J()}a&2&&(a=P(2),Ie("b-menu-item-checked",null==a.value),G("disabled",null==a.value))},A6a=function(a,b){if(a&1){var c=x();H(0,"button",51);O("click",function(){var d=z(c).$implicit,
e=P(2);return A(e.setFieldValue(d.value))});H(1,"span",49);K(2,"mat-icon",50);J();S(3);J()}a&2&&(a=b.$implicit,b=P(2),Ie("b-menu-item-checked",b.value==a.value),G("disabled",b.value==a.value)("matTooltip",a.altText||""),Ae("aria-label",a.displayText)("title",!b.showEnumTitle||a.altText?"":a.displayText),C(3),Te(" ",a.displayText," "))},B6a=function(a){a&1&&(R(0,z6a,4,3,"button",46),R(1,A6a,4,7,"button",47));a&2&&(a=P(),G("ngIf",a.clearable),C(1),G("ngForOf",a.choices))},C6a=function(a){a&1&&Le(0)},
D6a=function(a){a&1&&Le(0)},E6a=function(a){if(a&1){var b=x();H(0,"div",43);O("click",function(d){return d.stopPropagation()});H(1,"b-date-time-picker-content",57);O("dateSelectionChange",function(d){z(b);var e=P(2);return A(e.googDateValue=null!==d&&void 0!==d?d:null)})("saveClicked",function(){z(b);var d=P(2);return A(d.setFieldValue(d.googDateValue))})("cancelClicked",function(){z(b);var d=P(2);return A(rn(d,null,!1,!1))});J()()}if(a&2){a=P(2);var c;C(1);G("required",!(a.clearable&&"DATE"===a.type))("date",
null!==(c=a.googDateValue)&&void 0!==c?c:void 0)}},G6a=function(a){if(a&1){var b=x();H(0,"textarea",66);O("ngModelChange",function(c){z(b);var d=P(4);return A(d.textBuffer=c)})("keydown",function(c){z(b);var d=P(4);return A(F6a(d,c))});J()}a&2&&(a=P(4),G("ngModel",a.textBuffer),Ae("aria-label",a.title))},I6a=function(a){if(a&1){var b=x();H(0,"input",67);O("ngModelChange",function(c){z(b);var d=P(4);return A(d.textBuffer=c)})("keydown",function(c){z(b);var d=P(4);return A(H6a(d,c))});J()}a&2&&(a=P(4),
G("ngModel",a.textBuffer),Ae("type","NUMERIC"===a.type?"number":"text")("aria-label",a.title))},J6a=function(a){a&1&&(H(0,"div"),R(1,G6a,1,2,"textarea",64),R(2,I6a,1,3,"input",65),J());a&2&&(a=P(3),C(1),G("ngIf",a.multiline),C(1),G("ngIf",!a.multiline))},K6a=function(a){if(a&1){var b=x();H(0,"textarea",70);O("ngModelChange",function(c){z(b);var d=P(4);return A(d.textBuffer=c)})("keydown",function(c){z(b);var d=P(4);return A(F6a(d,c))})("autocompleteActive",function(c){z(b);var d=P(4);return A(d.autocompleteActive=
c)});J()}a&2&&(a=P(4),G("ngModel",a.textBuffer)("bContactAutocomplete","MULTI"),Ae("aria-label",a.title))},L6a=function(a){if(a&1){var b=x();H(0,"input",71);O("ngModelChange",function(c){z(b);var d=P(4);return A(d.textBuffer=c)})("keydown",function(c){z(b);var d=P(4);return A(H6a(d,c))})("autocompleteActive",function(c){z(b);var d=P(4);return A(d.autocompleteActive=c)});J()}a&2&&(a=P(4),G("ngModel",a.textBuffer)("bContactAutocomplete","SINGLE"),Ae("type","NUMERIC"===a.type?"number":"text")("aria-label",
a.title))},M6a=function(a){a&1&&(H(0,"div"),R(1,K6a,1,3,"textarea",68),R(2,L6a,1,4,"input",69),J());a&2&&(a=P(3),C(1),G("ngIf",a.multiline),C(1),G("ngIf",!a.multiline))},O6a=function(a){if(a&1){var b=x();H(0,"div",58);O("click",function(c){return c.stopPropagation()});R(1,J6a,3,2,"div",3);R(2,M6a,3,2,"div",3);H(3,"div",59)(4,"button",60);O("click",function(){z(b);var c=P(2);return A(N6a(c))});K(5,"mat-icon",61);J();H(6,"button",62);O("click",function(c){z(b);var d=P(2);return A(rn(d,c,!1,!0))});K(7,
"mat-icon",63);J()();H(8,"div",36);K(9,"mat-icon",37);J()()}a&2&&(a=P(2),C(1),G("ngIf",!a.isUser),C(1),G("ngIf",a.isUser),C(2),Be("aria-label","Apply change to ",a.title,""),Pe("matTooltip","Apply change to ",a.title,""),G("disabled",a.value==a.textBuffer),C(2),Be("aria-label","Discard change to ",a.title,""),Pe("matTooltip","Discard change to ",a.title,""))},P6a=function(a){a&1&&(H(0,"div",52,53),R(2,C6a,1,0,"ng-container",54),R(3,D6a,1,0,"ng-container",54),R(4,E6a,2,2,"div",55),R(5,O6a,10,7,"div",
56),J());a&2&&(a=P(),Je("bv2-issue-metadata-field-edit bv2-issue-metadata-field-",a.name,"-edit"),G("ngSwitch",a.type),C(2),G("ngSwitchCase","ENUM"),C(1),G("ngSwitchCase","BOOL"),C(1),G("ngSwitchCase","DATE"))},Q6a=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}},R6a=function(a){a&1&&K(0,"b-icon",7);a&2&&(a=P(),G("name",a.iconName))},S6a=function(a){a&1&&(H(0,"span",8),S(1),J());
a&2&&(a=P(),C(1),Ve(a.title))},T6a=function(a){a&1&&(H(0,"div",9),S(1,"\u00a0"),J())},U6a=function(a){a&1&&(H(0,"label"),S(1),J());a&2&&(a=P(),C(1),Te(" ",a.title," "))},W6a=function(a,b){a&1&&(H(0,"div",18),Le(1,19),J());if(a&2){a=b.$implicit;b=b.index;P(2);var c=Se(13);C(1);G("ngTemplateOutletContext",$e(2,V6a,a,b))("ngTemplateOutlet",c)}},X6a=function(a){a&1&&(H(0,"collapsible-panel",15),R(1,W6a,2,5,"div",16),Le(2,17),J());if(a&2){a=P();var b=Se(15);G("isExpanded",a.isExpanded)("iconName",a.iconName)("hasCompactTitleBar",
!0)("title",a.collapsiblePanelTitle);C(1);G("ngForOf",a.getDisplayValues())("ngForTrackBy",a.trackByIndex);C(1);G("ngTemplateOutlet",b)}},Y6a=function(a,b){a&1&&(H(0,"div",18),Le(1,19),J());if(a&2){a=b.$implicit;b=b.index;P(2);var c=Se(13);C(1);G("ngTemplateOutletContext",$e(2,V6a,a,b))("ngTemplateOutlet",c)}},Z6a=function(a){a&1&&(H(0,"div"),S(1,"--"),J())},$6a=function(a){a&1&&(L(0),R(1,Y6a,2,5,"div",16),Le(2,17),R(3,Z6a,2,0,"div",3),M());if(a&2){a=P();var b=Se(15);C(1);G("ngForOf",a.getDisplayValues())("ngForTrackBy",
a.trackByIndex);C(1);G("ngTemplateOutlet",b);C(1);G("ngIf",!(null==a.values?0:a.values.length))}},c7a=function(a){if(a&1){var b=x();H(0,"button",24);O("menuOpened",function(){z(b);var d=P(2);a7a(d);d.enumPendingValues=new Set(d.values||[]);return A()})("menuClosed",function(){z(b);var d=P(2);return A(b7a(d))});S(1,"Edit ");J()}if(a&2){a=P(2);var c=Se(17);Be("aria-label","Add item to ",a.title,"");G("matMenuTriggerFor",c)}},d7a=function(a){a&1&&(H(0,"button",25),S(1,"Add "),J());if(a&2){a=P(2);var b=
Se(22);Be("aria-label","Add item to ",a.title,"");G("xapInlineDialogClick",b)("overlayPositions",a.OVERLAY_POSITION_LIST)}},e7a=function(a){if(a&1){var b=x();H(0,"button",26);O("beforeOpened",function(){z(b);var d=P(2);return A(d.invalidMessage="")});S(1,"Add ");J()}if(a&2){a=P(2);var c=Se(20);Be("aria-label","Add item to ",a.title,"");Pe("matTooltip","Add item to ",a.title,"");G("xapInlineDialogClick",c)("overlayPositions",a.OVERLAY_POSITION_LIST)}},f7a=function(a){a&1&&(L(0,20),R(1,c7a,2,2,"button",
21),R(2,d7a,2,3,"button",22),R(3,e7a,2,4,"button",23),M());a&2&&(a=P(),G("ngSwitch",a.type),C(1),G("ngSwitchCase","REPEATED_ENUM"),C(1),G("ngSwitchCase","REPEATED_DATE"))},g7a=function(a){a&1&&(H(0,"div"),K(1,"b-changelist-link",37),J());if(a&2){a=P(2).item;var b=P();C(1);G("changelistId",b.asNumber(a))}},h7a=function(a){a&1&&(H(0,"div")(1,"a",38),S(2),J()());if(a&2){a=P(3).item;var b=P();C(1);G("href",b.getTaskFlowLink(a),vd);Ae("aria-label","Workspace"+a.workspaceId);C(1);Te(" ",a.workspaceName,
" ")}},i7a=function(a){a&1&&R(0,h7a,3,3,"div",30);if(a&2){P();var b=Se(6);P();a=P();G("ngIf","WORKSPACES"===a.type)("ngIfElse",b)}},j7a=function(a){a&1&&(H(0,"div"),K(1,"b-team-display",39),J());a&2&&(a=P(3).item,C(1),G("teamId",a.teamId)("componentId",a.componentId))},k7a=function(a){a&1&&R(0,j7a,2,2,"div",30);if(a&2){P();var b=Se(8);P();a=P();G("ngIf","TEAM"===a.type)("ngIfElse",b)}},l7a=function(a){if(a&1){var b=x();H(0,"div")(1,"a",40);O("click",function(){z(b);var c=P(4);return A(c.trackClick("postmortem"))});
S(2);J()()}a&2&&(a=P(3).item,C(1),Pe("href","https://pm.corp.google.com/",a,"",vd),Be("aria-label","Postmortem ",a,""),C(1),Te(" ",a," "))},m7a=function(a){a&1&&R(0,l7a,3,3,"div",30);if(a&2){P();var b=Se(10);P();a=P();G("ngIf","POSTMORTEMS"===a.type)("ngIfElse",b)}},n7a=function(a){a&1&&(H(0,"div"),K(1,"b-truncated-span",42),J());if(a&2){a=P(3).item;var b=P();C(1);G("maxWidth",150)("modelValue",a)("disabled",!b.truncate)}},o7a=function(a){a&1&&K(0,"b-user-membership-chip",46);if(a&2){a=P(4).item;
var b=P();G("user",b.getUser(a))("email",a)("teamId",b.teamId)("enableSmallChip",!0)}},p7a=function(a){a&1&&(H(0,"b-person-hovercard",47),S(1),J());a&2&&(a=P(4).item,G("email",a),C(1),Te(" ",a," "))},q7a=function(a){a&1&&(H(0,"div",43),R(1,o7a,1,4,"b-user-membership-chip",44),R(2,p7a,2,2,"b-person-hovercard",45),J());a&2&&(a=P(4),C(1),G("ngIf",a.enableTeamAnnotations),C(1),G("ngIf",!a.enableTeamAnnotations))},r7a=function(a){a&1&&(R(0,n7a,2,3,"div",3),R(1,q7a,3,2,"div",41));if(a&2){a=P(2).item;var b=
P();G("ngIf",!b.isUser&&b.isString(a));C(1);G("ngIf",b.isUser&&b.isString(a))}},s7a=function(a){if(a&1){var b=x();H(0,"button",48,49);O("click",function(){z(b);var d=P(2).$index,e=P();return A(e.removeItem(d))});J()}if(a&2){a=P(2).item;var c=P();Ce("aria-label","Remove ",a," from ",c.title,"");G("disabled",c.listFieldDisabled)("matTooltip","Remove item")}},t7a=function(a){a&1&&(H(0,"div",28)(1,"div",29),R(2,g7a,2,1,"div",30),R(3,i7a,1,2,"ng-template",null,31,of),R(5,k7a,1,2,"ng-template",null,32,
of),R(7,m7a,1,2,"ng-template",null,33,of),R(9,r7a,2,2,"ng-template",null,34,of),J(),R(11,s7a,2,4,"button",35),K(12,"div",36),J());if(a&2){var b=Se(4);P();a=P();C(2);G("ngIf","CHANGELISTS"===a.type)("ngIfElse",b);C(9);G("ngIf",!a.readonly&&"REPEATED_ENUM"!==a.type)}},u7a=function(a,b){a&1&&R(0,t7a,13,3,"div",27);a&2&&(a=b.$index,b=P(),G("ngIf",b.showingAll||a<b.defaultLineCount||!!b.values&&b.values.length===b.defaultLineCount+1))},v7a=function(a){if(a&1){var b=x();H(0,"div",51,52);O("click",function(c){z(b);
var d=P(2);return A(sn(d,!1,c))})("keydown.enter",function(c){z(b);var d=P(2);return A(sn(d,!1,c))})("keydown.space",function(c){z(b);var d=P(2);return A(sn(d,!1,c))});S(2," (show fewer) ");J()}a&2&&(a=P(2),Ce("aria-label","Show at most ",a.defaultLineCount," ",a.title," items"),Pe("matTooltip","Show a truncated list of at most ",a.defaultLineCount," items"))},w7a=function(a){if(a&1){var b=x();H(0,"div")(1,"div",53);S(2);H(3,"span",54,55);O("click",function(c){z(b);var d=P(2);return A(sn(d,!0,c))})("keydown.enter",
function(c){z(b);var d=P(2);return A(sn(d,!0,c))})("keydown.space",function(c){z(b);var d=P(2);return A(sn(d,!0,c))});S(5," (show all) ");J()()()}a&2&&(a=P(2),C(2),Te(" ... and ",a.values.length-a.defaultLineCount," more "),C(1),Ce("aria-label","Show all ",null==a.values?null:a.values.length," ",a.title," items"),Pe("matTooltip","Show all ",null==a.values?null:a.values.length," items in the list"))},x7a=function(a){a&1&&(R(0,v7a,3,3,"div",50),R(1,w7a,6,4,"div",3));a&2&&(a=P(),G("ngIf",a.showingAll&&
!!a.values&&a.values.length>a.defaultLineCount+1),C(1),G("ngIf",!a.showingAll&&!!a.values&&a.values.length>a.defaultLineCount+1))},y7a=function(a,b){if(a&1){var c=x();H(0,"button",57);O("click",function(d){var e=z(c).$implicit,g=P(2);e=e.value;g.enumPendingValues.has(e)?g.enumPendingValues.delete(e):g.enumPendingValues.add(e);null==d||d.stopPropagation();return A()});H(1,"span",58);K(2,"mat-icon",59);J();S(3);J()}a&2&&(a=b.$implicit,b=P(2),Ie("b-menu-item-checked",b.enumPendingValues.has(a.value)),
G("disabled",b.listFieldDisabled),Ae("aria-label",a.displayText),C(3),Te(" ",a.displayText," "))},z7a=function(a){a&1&&R(0,y7a,4,5,"button",56);a&2&&(a=P(),G("ngForOf",a.sortedEnumChoices)("ngForTrackBy",a.trackByIndex))},A7a=function(a){a&1&&K(0,"input",69);a&2&&(a=P(2),Be("aria-label","Addition to ",a.title,""),G("bContactAutocomplete","MULTI"))},B7a=function(a){a&1&&K(0,"input",70);a&2&&(a=P(2),Be("aria-label","Addition to ",a.title,""),G("type","REPEATED_NUMERIC"===a.type?"number":"text"))},C7a=
function(a){a&1&&(H(0,"mat-error"),S(1),J());a&2&&(a=P(2),Ce("aria-label","",a.title," error: ",a.invalidMessage,""),C(1),Te(" ",a.invalidMessage," "))},F7a=function(a){if(a&1){var b=x();H(0,"xap-dialog-layout")(1,"xap-dialog-layout-content")(2,"form",60,61);O("ngSubmit",function(){z(b);var d=Se(3),e=Se(4),g=P();return A(D7a(g,d,e))});R(5,A7a,1,2,"input",62);R(6,B7a,1,2,"input",63);H(7,"div",64)(8,"button",65);K(9,"mat-icon",66);J();H(10,"button",67);O("click",function(){z(b);var d=P();return A(E7a(d,
!0))});K(11,"mat-icon",68);J()();R(12,C7a,2,3,"mat-error",3);J()()()}if(a&2){var c=Se(3);a=P();C(5);G("ngIf",a.isUser);C(1);G("ngIf",!a.isUser);C(2);Be("aria-label","Apply addition to ",a.title,"");G("disabled",!c.valid||a.listFieldDisabled);C(2);Be("aria-label","Discard addition to ",a.title,"");C(2);G("ngIf",a.invalidMessage)}},G7a=function(a){if(a&1){var b=x();H(0,"b-date-time-picker-content",71);O("dateChange",function(c){z(b);var d=P();return A(c&&d.addItems(c))})("cancelClicked",function(){z(b);
var c=P();return A(E7a(c,!1))});J()}a&2&&G("required",!0)("renderPanel",!1)},H7a=function(a,b){return{originX:a,originY:b}},I7a=function(a,b){return{overlayX:a,overlayY:b}},J7a=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}},K7a=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},N7a=function(a){if(a&1){var b=x();H(0,"b-edit-field",3);O("valueChange",function(e){z(b);var g=P(2);return A(g.save.emit(e))});J()}if(a&2){a=P().ngIf;var c=P(),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",L7a(c))("displayValueOverride",c.getDisplayValue())("choices",null!==(d=a.choices)&&void 0!==d?d:Ye(11,M7a))("showEnumTitle",!0)("disabled",c.disabled)}},P7a=function(a){if(a&1){var b=x();H(0,"b-list-field",4);O("valuesChange",function(d){z(b);var e=P(2);return A(e.save.emit(d.values))});J()}if(a&2){a=P().ngIf;var c=P();G("readonly",c.readonly)("defaultLineCount",3)("title",c.field.name)("type",c.field.type)("tooltip",c.getTooltip())("values",O7a(c))("displayValuesOverride",
a.displayValues)("enumChoices",a.choices)("listFieldDisabled",c.disabled)}},Q7a=function(a,b){a&1&&(L(0),R(1,N7a,1,12,"b-edit-field",1),R(2,P7a,1,9,"b-list-field",2),M());a&2&&(a=b.ngIf,C(1),G("ngIf",!a.isRepeated()),C(1),G("ngIf",a.isRepeated()))},R7a=function(a){a&1&&(H(0,"div"),S(1," Loading custom fields... "),J())},S7a=function(a){a&1&&(H(0,"div"),S(1),J());a&2&&(a=P(2),C(1),Te(" There are no custom fields in component ",a.selectedComponent.name,". "))},T7a=function(a,b){a&1&&(H(0,"mat-option",
9),S(1),J());a&2&&(a=b.$implicit,G("value",a),C(1),Te(" ",a.name," "))},U7a=function(a){if(a&1){var b=x();H(0,"div")(1,"mat-form-field",6)(2,"mat-label");S(3,"Custom field");J();H(4,"mat-select",7);O("selectionChange",function(c){z(b);var d=P(2);return A(d.fieldSelected.emit(c.value))});R(5,T7a,2,2,"mat-option",8);J()()()}a&2&&(a=P(2),C(5),G("ngForOf",a.customFields))},V7a=function(a){a&1&&(H(0,"div",4),R(1,R7a,2,0,"div",5),R(2,S7a,2,1,"div",5),R(3,U7a,6,1,"div",5),J());a&2&&(a=P(),C(1),G("ngIf",
null==a.customFields),C(1),G("ngIf",a.customFields&&!a.customFields.length),C(1),G("ngIf",null==a.customFields?null:a.customFields.length))},W7a=function(a){a&1&&Le(0)},X7a=function(){},Y7a=function(a){a&1&&(L(0),S(1),M());a&2&&(a=P().value,C(1),Ve(a.textValue))},Z7a=function(a){a&1&&(L(0),K(1,"b-formatted-date-time",5),M());if(a&2){a=P().value;var b=P();C(1);G("date",b.toDate(a.dateValue))}},$7a=function(a){a&1&&(L(0),S(1),M());a&2&&(a=P().value,C(1),Ve(a.enumValue))},a8a=function(a){a&1&&(L(0),
S(1),M());a&2&&(a=P().value,C(1),Ve(a.numericValue))},b8a=function(a,b){a&1&&(L(0),S(1),M());a&2&&(a=b.$implicit,b=b.last,C(1),We("",a,"",b?"":", ",""))},c8a=function(a){a&1&&(L(0),R(1,b8a,2,2,"ng-container",6),M());a&2&&(a=P().value,C(1),G("ngForOf",a.repeatedTextValue.values))},d8a=function(a,b){a&1&&(L(0),K(1,"b-formatted-date-time",5),S(2),M());if(a&2){a=b.$implicit;b=b.last;var c=P(3);C(1);G("date",c.toDate(a));C(1);Ve(b?"":", ")}},e8a=function(a){a&1&&(L(0),R(1,d8a,3,2,"ng-container",6),M());
a&2&&(a=P().value,C(1),G("ngForOf",a.repeatedDateValue.values))},f8a=function(a,b){a&1&&(L(0),S(1),M());a&2&&(a=b.$implicit,b=b.last,C(1),We("",a,"",b?"":", ",""))},g8a=function(a){a&1&&(L(0),R(1,f8a,2,2,"ng-container",6),M());a&2&&(a=P().value,C(1),G("ngForOf",a.repeatedEnumValue.values))},h8a=function(a,b){a&1&&(L(0),S(1),M());a&2&&(a=b.$implicit,b=b.last,C(1),We("",a,"",b?"":", ",""))},i8a=function(a){a&1&&(L(0),R(1,h8a,2,2,"ng-container",6),M());a&2&&(a=P().value,C(1),G("ngForOf",a.repeatedNumericValue.values))},
j8a=function(a,b){a&1&&(R(0,Y7a,2,1,"ng-container",4),R(1,Z7a,2,1,"ng-container",4),R(2,$7a,2,1,"ng-container",4),R(3,a8a,2,1,"ng-container",4),R(4,c8a,2,1,"ng-container",4),R(5,e8a,2,1,"ng-container",4),R(6,g8a,2,1,"ng-container",4),R(7,i8a,2,1,"ng-container",4));a&2&&(a=b.value,b=P(),G("ngIf",null!=a.textValue),C(1),G("ngIf",b.isNonemptyJsonDateValue(a.dateValue)),C(1),G("ngIf",null!=a.enumValue),C(1),G("ngIf",null!=a.numericValue),C(1),G("ngIf",null!=a.repeatedTextValue),C(1),G("ngIf",null!=a.repeatedDateValue),
C(1),G("ngIf",null!=a.repeatedEnumValue),C(1),G("ngIf",null!=a.repeatedNumericValue))},m8a=function(a){var b=void 0===b?k8a:b;var c=ua(a),d=function(e){e=k(e);e.next();e=vja(e);return b(c,e)};return function(){var e=Fc.apply(0,arguments),g=this||ca,h=l8a.get(g);h||(h={},l8a.set(g,h));g=h;h=[this].concat(Jc(e));e=d?d(h):h;if(Object.prototype.hasOwnProperty.call(g,e))g=g[e];else{var l=k(h);h=l.next().value;l=vja(l);h=a.apply(h,l);g=g[e]=h}return g}},tn=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},un=function(a,b){for(var c in a)if(c.toLowerCase()===b.toLowerCase())return a[c]},n8a=function(a,b){for(var c in a)if(c.toLowerCase()===b.toLowerCase()){delete a[c];break}},p8a=function(a){a=Wb(a);for(var b=0;b<o8a.length;++b){var c=o8a[b],d=un(a,c);d&&(a["X-Goog-Upload-Header-"+c]=d,n8a(a,c))}return a},q8a=function(a){a=Wb(a);n8a(a,"X-Goog-Upload-Status");return a},s8a=function(a){if(a&
1){var b=x();H(0,"button",3);O("fileSelected",function(c){z(b);var d=P();return A(r8a(d,c))});K(1,"mat-icon",4);J()}a&2&&(a=P(),G("selectorType",a.SelectorType.MULTIPLE_FILE_SELECTION)("disableAutoUpload",!0)("disabled",a.disabled))},t8a=function(a){if(a&1){var b=x();H(0,"button",5);O("fileSelected",function(c){z(b);var d=P();return A(r8a(d,c))});K(1,"mat-icon",4);S(2," Add attachments ");J()}a&2&&(a=P(),G("selectorType",a.SelectorType.MULTIPLE_FILE_SELECTION)("disableAutoUpload",!0)("disabled",a.disabled))},
u8a=function(a){a&1&&(H(0,"span"),S(1),T(2,"humanFileSize"),T(3,"humanFileSize"),J());if(a&2){a=P().$implicit;var b;C(1);We(" ",U(2,2,a.transferredBytes)," of ",U(3,4,null!==(b=a.size)&&void 0!==b?b:0)," ")}},v8a=function(a){a&1&&(H(0,"span",11),S(1),J());a&2&&(a=P().$implicit,C(1),Te(" ",a.errorMessage," "))},w8a=function(a){a&1&&(H(0,"span",11),S(1),T(2,"humanFileSize"),J());if(a&2){a=P().$implicit;var b;C(1);Te(" ",U(2,1,null!==(b=a.size)&&void 0!==b?b:0)," ")}},y8a=function(a,b){if(a&1){var c=
x();H(0,"div",3)(1,"div",4);K(2,"mat-icon",5);H(3,"span",6);S(4);J();H(5,"span",7);R(6,u8a,4,6,"span",8);R(7,v8a,2,1,"span",9);R(8,w8a,3,3,"span",9);J()();H(9,"button",10);O("click",function(){var d=z(c).$implicit,e=P(2);return A(e.cancel(d))});J()()}a&2&&(a=b.$implicit,b=P(2),G("ngClass",Ze(8,x8a,a.state===b.uploadStates.ERROR)),C(3),G("matTooltip",a.name),C(1),Ve(a.name),C(2),G("ngIf",a.state===b.uploadStates.UPLOADING),C(1),G("ngIf",a.state===b.uploadStates.ERROR),C(1),G("ngIf",a.state===b.uploadStates.COMPLETE),
C(1),G("matTooltip",a.state===b.uploadStates.UPLOADING?"Cancel upload":"Remove attachment"),Ae("aria-label","Remove attachment"+a.name))},z8a=function(a){a&1&&(H(0,"div",1),R(1,y8a,10,10,"div",2),J());a&2&&(a=P(),C(1),G("ngForOf",a.uploads))},A8a=function(a){this.action=a;this.wfv=!1},B8a=function(a,b){A8a.call(this,"set-drive-options");this.appId=a;this.appOrigin=b},C8a=function(a){a=a&&a.getWindow()||window;return a.gadgets&&a.gadgets.rpc},E8a=function(a,b){var c=b&&b.getWindow()||window;if(C8a(b))a();
else if(D8a)D8a.push(a);else var d=D8a=[a],e=c.setInterval(function(){if(C8a(b)){c.clearInterval(e);for(var g=0;g<d.length;g++)d[g]();D8a=null}},100)},G8a=function(a,b){var c;a:{for(c=b.target;c;){if(1==c.nodeType){var d=vn(c,"overflowY");if("auto"==d||"scroll"==d)break a}c=c.parentNode}c=null}(!c||!F8a(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()},H8a=function(a){if(a&1){var b=x();H(0,
"div",1);K(1,"mat-icon",2);H(2,"div",3);S(3," Comment and vote +1 on this issue to increase visibility ");J();H(4,"div",4)(5,"button",5);O("click",function(){z(b);var c=P();return A(c.onClick())});S(6,"Comment and vote +1");J()()()}a&2&&(C(1),G("matTooltip","The +1 button is located in the top right corner of the issue details page"))},I8a=function(a){if(a&1){var b=x();L(0);H(1,"b-plus-one-comment-callout",7);O("onSubmitComment",function(){z(b);P().onSubmit.emit();return A()});J();M()}a&2&&(a=P(),
C(1),G("isPlusOneText","+1"===a.comment.value.trim()))},J8a=function(a){if(a&1){var b=x();H(0,"b-drive-attachment",12);O("onPickDoc",function(c){z(b);var d=P(2);d.comment&&(d.comment.value+="\n\n"+c.url+" ("+c.name+")");return A()})("onCloneBlob",function(c){z(b);var d=P(2);return A(d.addUpload(c))});J()}a&2&&(a=P(2),G("disabled",a.attachmentsDisabled))},K8a=function(a){if(a&1){var b=x();L(0);H(1,"button",16);O("click",function(){z(b);var c=P(3);return A(c.onRestrict.emit())});K(2,"mat-icon",17);
J();M()}a&2&&(a=P(3),C(1),G("disabled",a.attachmentsDisabled))},L8a=function(a){if(a&1){var b=x();H(0,"button",18);O("click",function(){z(b);var c=P(3);return A(c.onRestrict.emit())});K(1,"mat-icon",17);S(2);J()}a&2&&(a=P(3),C(2),Te(" ",a.getRestrictedLabel()," "))},M8a=function(a){a&1&&(H(0,"div",13),R(1,K8a,3,1,"ng-container",14),R(2,L8a,3,1,"ng-template",null,15,of),J());if(a&2){var b=Se(3);a=P(2);C(1);G("ngIf",!a.isRestricted())("ngIfElse",b)}},N8a=function(a){if(a&1){var b=x();H(0,"div",8);Oe(1,
1,["class","goog-inline-block"]);H(2,"b-attachment-selector",9);O("onSelect",function(d){z(b);var e=P();return A(e.uploadFile(d))});J();R(3,J8a,1,1,"b-drive-attachment",10);T(4,"async");R(5,M8a,4,2,"div",11);J()}if(a&2){a=P();var c;C(2);G("disabled",a.attachmentsDisabled);C(1);G("ngIf",!(null!==(c=U(4,3,a.currentTracker.inTracker$))&&void 0!==c&&c));C(2);G("ngIf",a.showRestrictionOptions)}},O8a=function(a){a&1&&(H(0,"div"),K(1,"b-live-preview",19),J());a&2&&(a=P(),C(1),G("comment",a.comment.value)("issueId",
a.issueId)("audience",a.audience)("formattingMode",a.comment.formattingMode))},Q8a=function(a,b){if(a&1){var c=x();H(0,"button",13);O("click",function(){var d=z(c).$implicit,e=P(3);return A(P8a(e.issueEditBuilder,d))});S(1);J()}a&2&&(a=b.$implicit,b=P(3),G("disabled",b.issueEditBuilder.issueState==a),C(1),Te(" ",a.displayValue," "))},R8a=function(a){if(a&1){var b=x();H(0,"div",27)(1,"span");S(2,"Multiple");J();H(3,"a",28);O("click",function(){z(b);var c=P(4);return A(c.issueEditBuilder.clearAssignee())});
S(4,"X");J()()}},S8a=function(a){if(a&1){var b=x();H(0,"div",27)(1,"span");S(2,"Possibly multiple");J();H(3,"a",28);O("click",function(){z(b);var c=P(4);return A(c.issueEditBuilder.clearAssignee())});S(4,"X");J()()}},U8a=function(a){if(a&1){var b=x();H(0,"div")(1,"input",29);O("ngModelChange",function(c){z(b);var d=P(4);return A(d.issueEditBuilder.commonAssignee=c)})("ngModelChange",function(){z(b);var c=P(4);return A(T8a(c.issueEditBuilder))});J()()}a&2&&(a=P(4),C(1),G("ngModel",a.issueEditBuilder.commonAssignee)("bContactAutocomplete",
"SINGLE"),Ae("cdkFocusInitial",a.focus===a.FocusableField.ASSIGNEE||null))},W8a=function(a){if(a&1){var b=x();H(0,"div",27)(1,"span");S(2);J();H(3,"a",30);O("click",function(){z(b);var c=P(4);return A(c.issueEditBuilder.clearVerifier())});S(4,"X");J()()}a&2&&(a=P(4),Ie("bv2-invalid-multiple-user-chip",!V8a(a.issueEditBuilder)),C(2),Te(" Multiple ",V8a(a.issueEditBuilder)?"":"(some unset)"," "))},X8a=function(a){if(a&1){var b=x();H(0,"div",27)(1,"span");S(2);J();H(3,"a",30);O("click",function(){z(b);
var c=P(4);return A(c.issueEditBuilder.clearVerifier())});S(4,"X");J()()}a&2&&(a=P(4),Ie("bv2-invalid-multiple-user-chip",!V8a(a.issueEditBuilder)),C(2),Te(" Possibly multiple ",V8a(a.issueEditBuilder)?"":"(some unset)"," "))},Y8a=function(a){if(a&1){var b=x();H(0,"div")(1,"input",31);O("ngModelChange",function(c){z(b);var d=P(4);return A(d.issueEditBuilder.commonVerifier=c)});J()()}a&2&&(a=P(4),C(1),G("ngModel",a.issueEditBuilder.commonVerifier)("required","VERIFIED"==(null==a.issueEditBuilder.issueState?
null:a.issueEditBuilder.issueState.status))("bContactAutocomplete","SINGLE"),Ae("cdkFocusInitial",a.focus===a.FocusableField.VERIFIER||null))},Z8a=function(a){a&1&&(H(0,"div")(1,"div",21)(2,"label",22),S(3," Assignee "),J(),H(4,"div",15),R(5,R8a,5,0,"div",23),R(6,S8a,5,0,"div",23),R(7,U8a,2,3,"div",24),J()(),H(8,"div",21)(9,"label",25),S(10," Verifier "),J(),H(11,"div",15),R(12,W8a,5,3,"div",26),R(13,X8a,5,3,"div",26),R(14,Y8a,2,4,"div",24),J()()());a&2&&(a=P(3),C(4),G("ngSwitch",a.issueEditBuilder.selectedAssigneesStatus),
C(1),G("ngSwitchCase","MULTIPLE"),C(1),G("ngSwitchCase","POSSIBLY_MULTIPLE"),C(5),G("ngSwitch",a.issueEditBuilder.selectedVerifiersStatus),C(1),G("ngSwitchCase","MULTIPLE"),C(1),G("ngSwitchCase","POSSIBLY_MULTIPLE"))},$8a=function(a){if(a&1){var b=x();H(0,"div",21)(1,"label",32);S(2," Issue ID ");J();H(3,"input",33);O("ngModelChange",function(c){z(b);var d=P(3);return A(d.issueEditBuilder.commonDuplicateOf=c.trim())});J()()}a&2&&(a=P(3),C(3),G("ngModel",a.issueEditBuilder.commonDuplicateOf),Ae("cdkFocusInitial",
a.focus===a.FocusableField.DUPE_ID||null))},a9a=function(a,b){a&1&&(H(0,"li"),S(1),K(2,"b-access-level-indicator",36),J());a&2&&(a=b.$implicit,C(1),Te(" ",a.path," "),C(1),G("accessLevel",a.accessLevel))},b9a=function(a){a&1&&(H(0,"div",34)(1,"div")(2,"strong"),S(3,"You are editing issues in components that have external viewers:"),J()(),H(4,"ul"),R(5,a9a,3,2,"li",35),J()());a&2&&(a=P(3),C(5),G("ngForOf",a.externalWarnings))},c9a=function(a){if(a&1){var b=x();H(0,"div",9)(1,"button",10)(2,"span");
S(3);J();K(4,"b-icon",11);J();H(5,"mat-menu",null,12)(7,"button",13);O("click",function(){z(b);var d=P(2);return A(d.issueEditBuilder.issueState=void 0)});S(8,"No change ");J();R(9,Q8a,2,2,"button",14);J();H(10,"div",15);R(11,Z8a,15,6,"div",16);R(12,$8a,4,2,"div",17);J();H(13,"div")(14,"b-comment-box",18);O("onSubmit",function(){z(b);var d;null==(d=P(2).matDialogRef)||d.close(!0);return A()});J()();K(15,"div",19);R(16,b9a,6,1,"div",20);J()}if(a&2){var c=Se(6);a=P(2);C(1);G("matMenuTriggerFor",c);
C(2);Ve(a.issueEditBuilder.issueState?a.issueEditBuilder.issueState.displayValue:"No change");C(4);G("disabled",!a.issueEditBuilder.issueState);C(2);G("ngForOf",a.issueStates);C(1);G("ngSwitch",!a.issueEditBuilder.issueState||"DUPLICATE"!==a.issueEditBuilder.issueState.status);C(1);G("ngSwitchCase",!0);C(3);G("comment",a.comment)("showToolbar",!1);C(2);G("ngIf",0<a.externalWarnings.length)}},d9a=function(a){if(a&1){var b=x();H(0,"div",37)(1,"b-recaptcha",38);O("onUpdate",function(c){z(b);var d=P(2);
return A(d.issueEditBuilder.recaptchaResponse=c)});J()()}},f9a=function(a){a&1&&(H(0,"form",null,1)(2,"h1",2),S(3,"Change issue status"),J(),H(4,"div",3)(5,"span"),S(6,"Enter updated issue status information below"),J(),R(7,c9a,17,9,"div",4),J(),R(8,d9a,2,0,"div",5),H(9,"div",6)(10,"button",7),S(11," Cancel "),J(),H(12,"button",8),S(13," Save "),J()()());if(a&2){var b=Se(1);a=P();C(7);G("ngIf",a.issueEditBuilder);C(1);G("ngIf",a.issueEditBuilder&&a.enableRecaptcha);C(2);G("mat-dialog-close",!1);C(2);
var c=G("mat-dialog-close",!0),d;if(!(d=b.invalid))a:{if(null!=a.issueEditBuilder){d=e9a(a.issueEditBuilder);var e=d.get("status");if("DUPLICATE"===e){d=!d.get("duplicateOfIssueId");break a}if("VERIFIED"===e){d=!V8a(a.issueEditBuilder)&&!d.get("verifier");break a}}d=!1}c("disabled",d||!(!a.enableRecaptcha||""!==a.issueEditBuilder.recaptchaResponse))}},wn=function(a){var b;a=null==a?void 0:null==(b=a.accessLimit)?void 0:b.accessLevel;return"EXTERNAL_PARTNER"===a||"EXTERNAL_PUBLIC"===a},g9a=function(a){var b;
return"EXTERNAL_PARTNER"===(null==a?void 0:null==(b=a.accessLimit)?void 0:b.accessLevel)},xn=function(a){var b;return"EXTERNAL_PUBLIC"===(null==a?void 0:null==(b=a.accessLimit)?void 0:b.accessLevel)},h9a=function(a,b){return a?a.join(" > "):String(b)},i9a=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""}},j9a=function(a){a&1&&(H(0,"div")(1,"p"),S(2),J()());a&2&&(a=P(),C(2),We(" Checking if you have permissions to mark these issues as spam. Checked ",a.issuesChecked," of ",a.issuesToFlag.length,"... "))},k9a=function(a,b){a&1&&(H(0,"li"),S(1),J());a&2&&(a=b.$implicit,C(1),We(" ",a.issueId," - ",a.title," "))},l9a=function(a){a&1&&(H(0,"div")(1,"p"),S(2),J(),H(3,"ul"),R(4,k9a,2,2,"li",9),J()());a&2&&(a=P(),C(2),Te(" You do not have permissions to mark ",
a.protectedIssues.length," issues. These will not be flagged as spam. "),C(2),G("ngForOf",a.protectedIssues))},m9a=function(a){if(a&1){var b=x();H(0,"mat-dialog-content")(1,"mat-form-field")(2,"mat-label");S(3);J();H(4,"input",5);O("ngModelChange",function(c){z(b);var d=P();return A(d.numericEstimatedEffort=c)})("keypress",function(c){z(b);var d=P();return A(/^(\d*\.)?\d*$/.test(d.numericEstimatedEffort+c.key))});J()()()}a&2&&(a=P(),C(3),Te(" ",a.effortSpecName," "),C(1),G("ngModel",a.numericEstimatedEffort))},
n9a=function(a){if(a&1){var b=x();H(0,"div",6)(1,"label");S(2);J();H(3,"onedev-single-select",7);O("valueChange",function(c){z(b);var d=P();return A(d.currentEnumLabel=c)});J()()}a&2&&(a=P(),C(2),Te(" ",a.effortSpecName," "),C(1),G("value",a.currentEnumLabel)("includeEmptyOption",!0)("options",a.allowedLabels))},t9a=function(a,b){if(a&1){var c=x();H(0,"div",18,19);O("click",function(){var e=z(c).$implicit,g=P(2);o9a(g,e)||p9a(g,e);return A()});H(2,"mat-pseudo-checkbox",20);O("click",function(e){var g=
z(c).$implicit,h=P(2);e.stopPropagation();return A(q9a(h,g))});J();H(3,"span");S(4);J()()}if(a&2){a=b.$implicit;b=b.index;var d=P(2);He("display",d.shouldShowHotlist[a.hotlistId]?"block":"none");Ie("focused",b===d.focusedRowIndex);Qe("title",a.name);Ae("id","hotlist-item-"+a.hotlistId)("aria-checked",r9a(d.selectedHotlistMap[a.hotlistId]))("aria-disabled",o9a(d,a));C(2);G("state",s9a(d.selectedHotlistMap[a.hotlistId]))("disabled",o9a(d,a));C(2);Te(" ",a.name," ")}},u9a=function(a){a&1&&(H(0,"span"),
S(1),J());a&2&&(a=P(2),C(1),Te(" (",a.filterText,")"))},v9a=function(a){if(a&1){var b=x();H(0,"div",21,22);O("click",function(){z(b);var c=P(2);return A(c.loadHotlist())})("keydown.enter",function(){z(b);var c=P(2);return A(c.loadHotlist())});S(2,"Load hotlist from id ");H(3,"span");S(4);J()()}a&2&&(a=P(2),Ie("focused",a.focusedRowIndex===a.choices.length+1),Ae("aria-label","Load hotlist from"+a.filterText),C(4),Te("(",a.filterText,")"))},x9a=function(a){if(a&1){var b=x();H(0,"div",23,24);O("click",
function(){z(b);var c=P(2);return A(w9a(c))})("keydown.enter",function(){z(b);var c=P(2);return A(w9a(c))});S(2,"Apply");J()}a&2&&(a=P(2),Ie("focused",a.focusedRowIndex===a.choices.length+2))},y9a=function(a){if(a&1){var b=x();H(0,"div",5)(1,"div",10,11);R(3,t9a,5,11,"div",12);J()();K(4,"mat-divider");H(5,"div",13,14);O("click",function(){z(b);var c=P();return A(c.createHotlist())})("keydown.enter",function(){z(b);var c=P();return A(c.createHotlist())});S(7,"Create new hotlist ");R(8,u9a,2,1,"span",
15);J();R(9,v9a,5,4,"div",16);R(10,x9a,3,2,"div",17)}a&2&&(a=P(),C(3),G("ngForOf",a.choices),C(2),Ie("focused",a.focusedRowIndex===a.choices.length),G("disabled",!a.canCreate),Ae("aria-label","Create new hotlist"+a.filterText),C(3),G("ngIf",!!a.filterText),C(1),G("ngIf",a.canLoad),C(1),G("ngIf",a.pendingChanges))},A9a=function(a){if(a&1){var b=x();H(0,"b-app-bar-bulk-edit-menus",6);O("onBulkEdit",function(d){z(b);var e=P();return A(e.bulkEdit(d))})("onQuickBulkEdit",function(d){z(b);var e=P();return A(e.quickBulkEdit(d))})("onBulkEditIssueRelation",
function(d){z(b);var e=P();return A(e.bulkEditIssueRelation(d))})("onBulkMarkIssueRead",function(){z(b);var d=P();return A(d.bulkMarkIssueRead())});T(1,"async");J()}if(a&2){a=P();var c;G("readStatePrompt",z9a(a))("enableBulkEstimatedEffortOption",null!==(c=U(1,2,a.enableBulkEstimatedEffortOption$))&&void 0!==c?c:!1)}},E9a=function(a){if(a&1){var b=x();H(0,"b-copy-issue-id-button",7);O("onClickCopyIssueIds",function(){z(b);var c=P();return A(B9a(c.copyIssueIdService,yn(c)))})("onClickCopyIssueShortLinks",
function(){z(b);var c=P();return A(C9a(c.copyIssueIdService,yn(c)))})("onClickCopyAsIssueSearch",function(){z(b);var c=P();return A(D9a(c.copyIssueIdService,yn(c)))});J()}a&2&&(a=P(),G("shortLinkPrefix",a.copyIssueIdService.shortLinkPrefix)("shouldShowCopyIssueShortLinks",a.activeSession.isInternalSession()))},F9a=function(a){if(a&1){var b=x();H(0,"div",8)(1,"b-hotlist-picker",9);O("onApply",function(c){z(b);var d=P();return A(d.handleHotlistPickerSave(c))})("onCreate",function(c){z(b);var d=P();
return A(d.onCreateHotlist.emit(c))})("onLoad",function(c){z(b);var d=P();return A(d.onLoadHotlist.emit(c))});J()()}a&2&&(a=P(),C(1),G("selectedHotlistIds",a.hotlistIdMatrix)("choices",a.hotlistChoices))},H9a=function(a){if(a&1){var b=x();H(0,"b-comment-box",16);O("commentChange",function(c){z(b);var d=P(2);return A(d.comment=c)})("onSubmit",function(){z(b);var c=P(2);return A(G9a(c))});J()}a&2&&(a=P(2),G("comment",a.comment)("showToolbar",!1))},I9a=function(a,b){a&1&&(H(0,"li"),S(1),K(2,"b-access-level-indicator",
19),J());a&2&&(a=b.$implicit,C(1),Te(" ",a.path," "),C(1),G("accessLevel",a.accessLevel))},J9a=function(a){a&1&&(H(0,"div",17)(1,"div")(2,"strong"),S(3,"You are commenting on issues in components that have external viewers:"),J()(),H(4,"ul"),R(5,I9a,3,2,"li",18),J()());a&2&&(a=P(2),C(5),G("ngForOf",a.externalWarnings))},K9a=function(a){if(a&1){var b=x();H(0,"div",20)(1,"b-recaptcha",21);O("onUpdate",function(c){z(b);var d=P(2);return A(d.recaptchaResponse=c)});J()()}},L9a=function(a){a&1&&(H(0,"h1",
10),S(1,"Add comment"),J(),H(2,"mat-dialog-content"),R(3,H9a,1,2,"b-comment-box",11),R(4,J9a,6,1,"div",12),J(),R(5,K9a,2,0,"div",13),H(6,"mat-dialog-actions")(7,"button",14),S(8," Cancel "),J(),H(9,"button",15),S(10," Save "),J()());a&2&&(a=P(),C(3),G("ngIf",a.comment),C(1),G("ngIf",0<a.externalWarnings.length),C(1),G("ngIf",a.enableRecaptcha),C(2),G("mat-dialog-close",!1),C(2),G("disabled",a.enableRecaptcha&&""===a.recaptchaResponse)("mat-dialog-close",!0))},O9a=function(a){for(var b=k(M9a),c=b.next();!c.done;c=
b.next())if(c=c.value,c.accessLevel===a)return c.title;return N9a.title},P9a=function(a){a&1&&K(0,"mat-icon",10);a&2&&(a=P(),G("matTooltip",a.disabledDropdownTooltip))},Q9a=function(a,b){if(a&1){var c=x();H(0,"button",11);O("click",function(){var d=z(c).$implicit,e=P();e.selectedDisplay$.next(d);e.updatedAccessLimitLevel.emit(d.accessLevel);return A()});H(1,"div",12);K(2,"mat-icon",13);H(3,"span",14);S(4);J()();H(5,"div",15);S(6);J()()}a&2&&(a=b.$implicit,b=P(),C(2),G("svgIcon",a.icon),C(2),Te(" ",
a.title," "),C(2),Te(" ",b.implicitAccessEnabled?a.descriptionWithExpandedAccess:a.descriptionNoExpandedAccess," "))},R9a=function(a){a&1&&(H(0,"span"),S(1,"Edit"),J())},S9a=function(a){a&1&&(H(0,"span"),S(1,"Cancel"),J())},Y9a=function(a){if(a&1){var b=x();L(0);H(1,"td")(2,"div")(3,"div",11);S(4);J();H(5,"div",12)(6,"a",13);S(7);J()()()();H(8,"td",3)(9,"mat-radio-button",14);O("change",function(d){z(b);var e=P(2);return A(T9a(e,d.value))});J()();H(10,"td",3)(11,"b-button",15);O("onAction",function(){z(b);
var d=P().$implicit,e=P();return A(U9a(e,d))});R(12,R9a,2,0,"span",9);R(13,S9a,2,0,"span",9);J()();H(14,"td",3)(15,"b-button",16);O("onAction",function(){z(b);var d=P().$implicit,e=P();return A(V9a(e,d))});S(16," Delete ");J()();M()}if(a&2){a=P().$implicit;var c=P();C(3);Ie("selected",W9a(c,a));C(1);Te(" ",a.name," ");C(2);G("href",X9a(c,a),vd);Ae("aria-label",a.name+"- Click to create a new issue");C(1);Te(" ",X9a(c,a)," ");C(2);Pe("id","template-default-radio-",a.index,"");G("checked",c.defaultIndex===
a.index)("aria-label","Make template "+a.name+" as default template")("value",a.index);C(2);G("bAriaLabel",W9a(c,a)?"Cancel editing "+a.name:"Edit "+a.name);C(1);G("ngIf",!W9a(c,a));C(1);G("ngIf",W9a(c,a));C(2);G("bAriaLabel","Delete "+a.name)("disabled",!(0<=a.index&&!c.templates[a.index].default))}},Z9a=function(a){a&1&&(H(0,"h2",69),S(1," Create Template "),J())},$9a=function(a){a&1&&(H(0,"h2",69),S(1),J());a&2&&(a=P(2).$implicit,C(1),We(' Edit template "',a.name,'" ',a.editableTemplate.isDirty()?
"(changed)":""," "))},a$a=function(a){if(a&1){var b=x();H(0,"div",20)(1,"div",21)(2,"label",70);S(3,"Issue Access Level");J()();H(4,"b-issue-access-limits-dropdown",71);O("updatedAccessLimitLevel",function(d){z(b);var e=P(2).$implicit;return A(e.editableTemplate.onAccessLimitLevelSelected(d))});J()()}if(a&2){a=P(2).$implicit;var c=P();C(4);G("disabled",!1)("defaultAccessLimitLevel",a.editableTemplate.issueAccessLimitLevel)("implicitAccessEnabled",c.implicitAccessEnabled)}},c$a=function(a,b){if(a&
1){var c=x();H(0,"button",72);O("click",function(){var e=z(c).$implicit,g=P(2).$implicit,h=P();g.issueType=e.value;return A(b$a(h))});S(1);J()}if(a&2){a=b.$implicit;b=P(2).$implicit;var d;G("disabled",b.issueType===a.value)("matTooltip",null!==(d=a.altText)&&void 0!==d?d:"");C(1);Te(" ",a.displayText," ")}},d$a=function(a,b){if(a&1){var c=x();H(0,"button",73);O("click",function(){var d=z(c).$implicit,e=P(2).$implicit;e.editableTemplate.priority=d.value;e.editableTemplate.dirty=!0;return A()});S(1);
J()}a&2&&(a=b.$implicit,b=P(2).$implicit,G("disabled",b.editableTemplate.priority===a.value),C(1),Te(" ",a.displayText," "))},e$a=function(a,b){if(a&1){var c=x();H(0,"button",73);O("click",function(){var d=z(c).$implicit,e=P(2).$implicit;e.editableTemplate.severity=d.value;e.editableTemplate.dirty=!0;return A()});S(1);J()}a&2&&(a=b.$implicit,b=P(2).$implicit,G("disabled",b.editableTemplate.severity===a.value),C(1),Te(" ",a.displayText," "))},f$a=function(a,b){if(a&1){var c=x();H(0,"div",74)(1,"b-hotlist-chip",
75);O("removeHotlist",function(){var d=z(c).$implicit,e=P(3);return A(e.removeHotlist(d.hotlistId))});J()()}a&2&&(a=b.$implicit,C(1),G("hotlist",a))},g$a=function(a){a&1&&(H(0,"h3"),S(1,"Custom issue fields"),J())},h$a=function(a){if(a&1){var b=x();H(0,"input",83);O("ngModelChange",function(d){z(b);var e=P().$implicit,g=P(2).$implicit;return A(g.editableTemplate.customFieldValues[e.id].textValue=d)})("ngModelChange",function(){z(b);P(3).$implicit.editableTemplate.dirty=!0;return A()});J()}if(a&2){a=
P().$implicit;var c=P(2).$implicit;Be("id","template-cf-",a.id,"");G("ngModel",c.editableTemplate.customFieldValues[a.id].textValue)}},i$a=function(a){if(a&1){var b=x();H(0,"input",84);O("ngModelChange",function(d){z(b);var e=P().$implicit,g=P(2).$implicit;return A(g.editableTemplate.customFieldValues[e.id].numericValue=d)})("ngModelChange",function(){z(b);P(3).$implicit.editableTemplate.dirty=!0;return A()});J()}if(a&2){a=P().$implicit;var c=P(2).$implicit;Be("id","template-cf-",a.id,"");G("ngModel",
c.editableTemplate.customFieldValues[a.id].numericValue)}},k$a=function(a){if(a&1){var b=x();H(0,"b-edit-field",85);O("valueChange",function(h){z(b);var l=P().$implicit,q=P(2).$implicit,v=P();return A(v.setCustomField(q,l.id,h))});J()}if(a&2){a=P().$implicit;var c=P(2).$implicit,d=P(),e,g;Be("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!==(g=a.enumFields)&&void 0!==g?g:Ye(6,j$a))}},l$a=function(a){if(a&1){var b=x();H(0,"bv2-input-date-picker",86);O("boundValueChange",function(e){z(b);var g=P().$implicit,h=P(2).$implicit,l=P();return A(h.editableTemplate.customFieldValues[g.id].dateValue=l.getDateValue(e))})("boundValueChange",function(){z(b);P(3).$implicit.editableTemplate.dirty=!0;return A()});J()}if(a&2){a=P().$implicit;var c=P(2).$implicit,d;Be("id","template-cf-",a.id,"");G("boundValue",null!==
(d=c.editableTemplate.customFieldValues[a.id].dateValue)&&void 0!==d?d:void 0)}},n$a=function(a){if(a&1){var b=x();H(0,"b-list-field",87);O("valuesChange",function(e){z(b);var g=P().$implicit,h=P(2).$implicit,l=P();return A(l.setCustomField(h,g.id,e.values))});J()}if(a&2){a=P().$implicit;var c=P(2).$implicit,d=P();Be("id","template-cf-",a.id,"");G("defaultLineCount",2)("type",d.getListFieldType(a.type))("values",m$a(c.editableTemplate.customFieldValues[a.id]))("enumChoices",a.enumFields)("truncate",
!0)}},o$a=function(a,b){a&1&&(H(0,"div")(1,"div",21)(2,"label",76),S(3),J()(),H(4,"div",77),R(5,h$a,1,2,"input",78),R(6,i$a,1,2,"input",79),R(7,k$a,1,7,"b-edit-field",80),R(8,l$a,1,2,"bv2-input-date-picker",81),R(9,n$a,1,6,"b-list-field",82),J()());a&2&&(a=b.$implicit,Je("cell-",a.cellType,""),C(2),Pe("for","template-cf-",a.id,""),C(1),We("",a.name," (id=",a.id,")"),C(1),G("ngSwitch",a.type),C(1),G("ngSwitchCase","TEXT"),C(1),G("ngSwitchCase","NUMERIC"),C(1),G("ngSwitchCase","ENUM"),C(1),G("ngSwitchCase",
"DATE"))},t$a=function(a){if(a&1){var b=x();H(0,"td",17)(1,"div",18);R(2,Z9a,2,0,"h2",19);R(3,$9a,2,2,"h2",19);H(4,"div",20)(5,"div",21)(6,"label",22);S(7,"Template Name");J()();H(8,"input",23);O("ngModelChange",function(h){z(b);var l=P().$implicit;return A(l.editableTemplate.name=h)})("ngModelChange",function(){z(b);P().$implicit.editableTemplate.dirty=!0;return A()});J()();H(9,"div",20)(10,"div",21)(11,"label",24);S(12,"Description of Template");J()();H(13,"input",25);O("ngModelChange",function(h){z(b);
var l=P().$implicit;return A(l.editableTemplate.description=h)})("ngModelChange",function(){z(b);P().$implicit.editableTemplate.dirty=!0;return A()});J()();H(14,"div",26)(15,"h3");S(16," Standard issue fields ");J();R(17,a$a,5,3,"div",27);H(18,"div",20)(19,"div",21)(20,"label",28);S(21,"Title");J()();H(22,"input",29);O("ngModelChange",function(h){z(b);var l=P().$implicit;return A(l.editableTemplate.title=h)})("ngModelChange",function(){z(b);P().$implicit.editableTemplate.dirty=!0;return A()});J()();
H(23,"div",30)(24,"div",21)(25,"label",31);S(26,"Type");J()();H(27,"button",32)(28,"span");S(29);J();K(30,"b-icon",33);J();H(31,"mat-menu",34,35);R(33,c$a,2,3,"button",36);J()();H(34,"div",30)(35,"div",21)(36,"label",37);S(37,"Priority");J()();H(38,"button",38)(39,"span");S(40);J();K(41,"b-icon",33);J();H(42,"mat-menu",34,39);R(44,d$a,2,2,"button",40);J()();H(45,"div",30)(46,"div",21)(47,"label",41);S(48,"Severity");J()();H(49,"button",42)(50,"span");S(51);J();K(52,"b-icon",33);J();H(53,"mat-menu",
34,43);R(55,e$a,2,2,"button",40);J()();H(56,"div",44)(57,"div",21)(58,"label",45);S(59,"Default Hotlists");J()();H(60,"b-hotlist-picker",46);O("onApply",function(h){z(b);var l=P(2);return A(l.handleHotlistPickerSave(h))})("onCreate",function(h){z(b);var l=P(2);return A(l.createHotlist(h))})("onLoad",function(h){z(b);var l=P(2);return A(l.loadHotlist(h))});J();R(61,f$a,2,1,"div",47);J();K(62,"div",48);H(63,"div",49)(64,"div",21)(65,"label",50);S(66,"Assignee");J()();H(67,"input",51);O("ngModelChange",
function(h){z(b);var l=P().$implicit;return A(l.editableTemplate.assignee=h)})("ngModelChange",function(){z(b);P().$implicit.editableTemplate.dirty=!0;return A()});J()();H(68,"div",49)(69,"div",21)(70,"label",52);S(71,"Verifier");J()();H(72,"input",53);O("ngModelChange",function(h){z(b);var l=P().$implicit;return A(l.editableTemplate.verifier=h)})("ngModelChange",function(){z(b);P().$implicit.editableTemplate.dirty=!0;return A()});J()();H(73,"div",20)(74,"div",21)(75,"label",54);S(76,"Collaborators");
J();K(77,"mat-icon",55);J();H(78,"input",56);O("ngModelChange",function(h){z(b);var l=P().$implicit;return A(p$a(l.editableTemplate,h))});J()();H(79,"div",20)(80,"div",21)(81,"label",57);S(82,"CC");J()();H(83,"input",58);O("ngModelChange",function(h){z(b);var l=P().$implicit;return A(q$a(l.editableTemplate,h))});J()();H(84,"div",20)(85,"div",21)(86,"label",59);S(87,"Initial Comment");J()();H(88,"textarea",60);O("ngModelChange",function(h){z(b);var l=P().$implicit;return A(l.editableTemplate.comment=
h)})("ngModelChange",function(){z(b);P().$implicit.editableTemplate.dirty=!0;return A()});S(89,"              ");J();H(90,"b-markdown-toggle",61);O("change",function(h){z(b);var l=P().$implicit;return A(l.editableTemplate.setFormattingMode(h))});J()();H(91,"div",20)(92,"div",21)(93,"label",62);S(94,"In Prod");J()();H(95,"b-slide-toggle",63);O("modelChange",function(){z(b);var h=P().$implicit.editableTemplate;h.inProd=!h.inProd;h.dirty=!0;return A()});J()()();H(96,"div",64);R(97,g$a,2,0,"h3",9);R(98,
o$a,10,11,"div",65);J();H(99,"div",66)(100,"b-button",67);O("onAction",function(){z(b);var h=P(2);return A(r$a(h))});S(101," Save ");J();H(102,"b-button",68);O("onAction",function(){z(b);var h=P(2);return A(s$a(h))});S(103," Cancel ");J()()()()}if(a&2){var c=Se(32),d=Se(43),e=Se(54);a=P().$implicit;var g=P();C(2);G("ngIf",a.editableTemplate.new);C(1);G("ngIf",!a.editableTemplate.new);C(5);G("ngModel",a.editableTemplate.name);C(5);G("ngModel",a.editableTemplate.description);C(4);G("ngIf",g.enableIssueAccessLimits);
C(5);G("ngModel",a.editableTemplate.title);C(5);G("matMenuTriggerFor",c);C(2);Ve(a.issueType);C(2);G("overlapTrigger",!0);C(2);G("ngForOf",g.issueTypeChoices);C(5);G("matMenuTriggerFor",d);C(2);Ve(a.editableTemplate.priority);C(2);G("overlapTrigger",!0);C(2);G("ngForOf",g.priorityChoices);C(5);G("matMenuTriggerFor",e);C(2);Ve(a.editableTemplate.severity);C(2);G("overlapTrigger",!0);C(2);G("ngForOf",g.severityChoices);C(5);G("selectedHotlistIds",g.selectedHotlistIds)("choices",g.hotlists);C(1);G("ngForOf",
g.selectedHotlists);C(6);G("bContactAutocomplete","SINGLE")("ngModel",a.editableTemplate.assignee);C(5);G("bContactAutocomplete","SINGLE")("ngModel",a.editableTemplate.verifier);C(6);G("bContactAutocomplete","MULTI")("ngModel",a.editableTemplate.collaborators.join(", "));C(5);G("bContactAutocomplete","MULTI")("ngModel",a.editableTemplate.cc.join(", "));C(5);G("ngModel",a.editableTemplate.comment);C(2);G("initialValue",a.editableTemplate.formattingMode);C(5);G("model",a.editableTemplate.inProd);C(2);
G("ngIf",0<g.customFieldRows.length);C(1);G("ngForOf",g.customFieldRows);C(2);G("disabled",!a.editableTemplate.isDirty())}},u$a=function(a,b){a&1&&(H(0,"tr"),R(1,Y9a,17,15,"ng-container",9),R(2,t$a,104,35,"td",10),J());a&2&&(a=b.$implicit,C(1),G("ngIf",!a.editableTemplate),C(1),G("ngIf",!!a.editableTemplate))},v$a=function(a,b){a&1&&(H(0,"div",88),S(1),J(),H(2,"div",89)(3,"button",90),S(4," Cancel "),J(),H(5,"button",91),S(6," Confirm "),J()());a&2&&(a=b.$implicit,C(1),Te(' Are you sure you want to delete the template "',
a.name,'"? '),C(2),G("mat-dialog-close",!1),C(2),G("mat-dialog-close",!0))},w$a=function(a,b){a&1&&(H(0,"div",88),S(1),J(),H(2,"div",89)(3,"button",92),S(4," Cancel "),J(),H(5,"button",92),S(6," Don't Save "),J(),H(7,"button",93),S(8," Save "),J()());a&2&&(a=b.$implicit,C(1),Te(' Do you want to save changes to template "',a.name,'" before closing? '),C(2),G("mat-dialog-close",void 0),C(2),G("mat-dialog-close",!1),C(2),G("mat-dialog-close",!0))},y$a=function(a){if("CUSTOM_FIELD"===a.type)return new zn({name:a.customFieldId?
String(a.customFieldId):a.customFieldName||"",label:a.customFieldName||"",fullLabel:a.customFieldName||"",isCustomField:!0,sortable:void 0!==a.customFieldId,tooltip:""});a=nsa(a.type);"canonicalIssueId"===a&&(a="duplicateOfIssueId");return x$a.includes(a)?An(a):null},A$a=function(a){return z$a(a.map(y$a).filter(function(b){return!!b}))},B$a=function(a){return a.map(function(b){b.isCustomField?b={type:"CUSTOM_FIELD",customFieldId:Ig(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})},z$a=function(a){return fk(a,function(b){return b.name})},An=function(a){var b={name:a,label:a.toUpperCase()},c=C$a[a];c?Object.assign(b,c):x$a.includes(a)||(b.isCustomField=!0);b.fullLabel=b.fullLabel||b.label.charAt(0).toUpperCase()+b.label.slice(1).toLowerCase();return new zn(b)},E$a=function(a,b){b=void 0===b?document.documentElement:b;return(0,F.concat)((0,F.defer)(function(){return(0,F.of)(b.querySelector(a))}),
D$a(b,{childList:!0,subtree:!0}).pipe(Zd(function(c){return c.some(function(d){return 0<d.addedNodes.length})}),E(function(){return b.querySelector(a)}))).pipe(Zd(eh),ge(),E(function(c){return c}))},D$a=function(a,b){return new F.Observable(function(c){var d=new MutationObserver(function(e){c.next(e)});d.observe(a,b);return function(){d.disconnect()}})},Bn=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)}}},F$a=function(a,
b){a&1&&K(0,"col");a&2&&Je("",b.$implicit.name,"-col")},G$a=function(a){a&1&&Le(0)},I$a=function(a,b){a&1&&(L(0),R(1,G$a,1,0,"ng-container",8),M());a&2&&(a=b.$implicit,b=P(),C(1),G("ngTemplateOutlet",b.headerCellTemplates[a.name]||b.defaultHeaderCellTemplate)("ngTemplateOutletContext",Ze(2,H$a,a)))},J$a=function(a){a&1&&Le(0)},L$a=function(a,b){a&1&&(L(0),R(1,J$a,1,0,"ng-container",8),M());if(a&2){a=b.$implicit;b=b.index;var c=P(),d=c.$implicit;c=c.index;var e=P().ngIf;C(1);G("ngTemplateOutlet",e[b])("ngTemplateOutletContext",
af(K$a,d,a,c))}},M$a=function(a,b){if(a&1){var c=x();H(0,"tr",10,11);O("click",function(){var e=z(c).index,g=P(2);g.focusedRowIndex!==e&&(g.focusedRowIndex=e,g.focusedRowIndexChange.emit(e));return A()})("focus",function(){var e=z(c).index,g=P(2);g.focusedRowIndex!==e&&(g.focusedRowIndex=e,g.focusedRowIndexChange.emit(e));return A()});R(2,L$a,2,6,"ng-container",4);J()}if(a&2){a=b.$implicit;b=b.index;var d=P(2);Ie("selected",a.selected)("unread",!d.readUnreadOptOut&&!a.isRead&&!a.isClosed)("closed",
a.isClosed)("grid-focus",d.focusedRowIndex===b);Ae("data-row-id",a.id)("data-is-read",a.isRead)("aria-label",d.renderRowLabel(a,b)+(a.selected?", row starred":""));C(2);G("ngForOf",d.columns)}},N$a=function(a){a&1&&(L(0),R(1,M$a,3,12,"tr",9),M());a&2&&(a=P(),C(1),G("ngForOf",a.list))},O$a=function(a,b){a&1&&(H(0,"th"),K(1,"pop-grid-default-th",12),J());a&2&&(a=b.column,C(1),G("column",a))},P$a=function(a,b){a&1&&(H(0,"td"),K(1,"pop-grid-default-cell",13),J());a&2&&(a=b.row,b=b.column,C(1),G("row",
a)("column",b))},Q$a=function(a){if(a&1){var b=x();H(0,"b-sortable-header",3);O("sortChanged",function(c){z(b);var d=P();d.grid&&d.grid.sortChange.emit(c);return A()});J()}a&2&&(a=P(),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||""))},R$a=function(a){a&1&&(H(0,"span",6),S(1),J());a&2&&(a=P(2),C(1),Te("column-",a.column.name,""))},S$a=function(a){a&1&&(H(0,
"div",4),R(1,R$a,2,1,"span",5),S(2),J());a&2&&(a=P(),Ae("aria-label",a.column.label),C(1),G("ngIf",!a.column.label),C(1),Te(" ",a.column.label," "))},T$a=function(a){if(a&1){var b=x();H(0,"div",13,14);O("menuOpened",function(){z(b);var d=P();return A(d.menuOpen=!0)})("menuClosed",function(){z(b);var d=P();return A(d.menuOpen=!1)})("keydown.enter",function(d){z(b);Se(1).openMenu();d.preventDefault();return A(d.stopPropagation())})("keydown.space",function(){z(b);var d=Se(1);return A(d.openMenu())});
J()}if(a&2){a=P();var c=Se(5);Ie("columnpicker-button-active",a.menuOpen);Be("aria-label","",a.column.fullLabel," column configuration");G("matMenuTriggerFor",c)}},W$a=function(a,b){if(a&1){var c=x();H(0,"button",15);O("click",function(){var d=z(c).$implicit,e=P();return A(U$a(e,d.name))});K(1,"b-icon",16);H(2,"span",17);S(3);J()()}a&2&&(a=b.$implicit,b=P(),Ie("b-menu-item-checked",V$a(a.name).get(b.listViewPrefs)),C(3),Te(" ",a.menuItem," "))},X$a=function(a){a&1&&K(0,"mat-divider")},Y$a=function(a){if(a&
1){var b=x();H(0,"button",22);O("click",function(){z(b);var c=P().$implicit,d=P().before,e=P();return A(e.add(c,d))});S(1);J()}a&2&&(a=P().$implicit,G("matTooltip",a.tooltip),C(1),Te(" ",a.fullLabel," "))},$$a=function(a){a&1&&(H(0,"button",9)(1,"span"),S(2),J()());if(a&2){a=P().$implicit;var b=P().before;P();var c=Se(18);G("matMenuTriggerFor",c)("matMenuTriggerData",$e(3,Z$a,a.columns,b));C(2);Ve(a.label)}},aab=function(a,b){a&1&&(L(0),R(1,Y$a,2,2,"button",20),R(2,$$a,3,6,"button",21),M());a&2&&
(a=b.$implicit,b=P(2),C(1),G("ngIf",b.isIssueGridColumn(a)),C(1),G("ngIf",!b.isIssueGridColumn(a)))},cab=function(a){if(a&1){var b=x();H(0,"button",18);O("click",function(){var c=z(b).before,d=P();return A(bab(d,c))});S(1," Custom Field ");J();K(2,"mat-divider");R(3,aab,3,2,"ng-container",19)}a&2&&(a=P(),C(3),G("ngForOf",a.currentAvailableItems))},dab=function(a,b){if(a&1){var c=x();H(0,"button",18);O("click",function(){var d=z(c).$implicit,e=P().before,g=P();return A(g.add(d,e))});S(1);J()}a&2&&
(a=b.$implicit,C(1),Te(" ",a.fullLabel," "))},eab=function(a,b){a&1&&R(0,dab,2,1,"button",23);a&2&&G("ngForOf",b.columns)},V$a=function(a){switch(a){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("ke`"+
a);}},fab=function(a){a&1&&(L(0),S(1," This issue has not been modified since "),K(2,"b-formatted-date-time",4),S(3," and is scheduled for deletion on "),H(4,"strong"),K(5,"b-formatted-date-time",4),J(),S(6,". "),M());a&2&&(a=P(2),C(2),G("mode","date")("timestamp",a.modifiedTime),C(3),G("mode","date")("timestamp",a.retentionExpireTime))},gab=function(a){a&1&&S(0," This issue is retained indefinitely. ")},hab=function(a){a&1&&(L(0),R(1,fab,7,4,"ng-container",1),R(2,gab,1,0,"ng-template",null,2,of),
H(4,"a",3),S(5,"Learn more"),J(),M());if(a&2){var b=Se(3);a=P();C(1);G("ngIf",a.retentionState.retentionPeriod)("ngIfElse",b);C(3);G("href",a.documentationLink,vd)}},iab=function(a){a&1&&(H(0,"b-base-chip",1)(1,"div",2),K(2,"retention-text",3),J(),H(3,"div",4),K(4,"retention-help-text",5),J()());a&2&&(a=P(),G("compactMode",a.compactMode)("labelClass",a.dangerZone?"danger":"expiring")("labelOnlyMode",a.labelOnlyMode),C(2),G("retentionState",a.retentionState)("compactMode",a.compactMode),C(2),G("retentionState",
a.retentionState)("modifiedTime",a.modifiedTime))},jab=function(a){var b=void 0===b?new Date:b;var c=rl(fCa(a.scheduledDeletionTime));b=b.getTime();a=(a=eCa(a.retentionPeriod))?1E3*a.getSeconds()+(a.getNanos()||0)/1E6:0;return b>=c-Math.max(12096E5,.2*a)},kab=function(a){a&1&&Le(0)},lab=function(a,b){a&1&&(H(0,"th",22),R(1,kab,1,0,"ng-container",23),J());a&2&&(a=b.column,b=P(),Ae("data-stable-column-name",a.name),C(1),G("ngIf",b.isIssueGridColumn(a)))},mab=function(a){a&1&&Le(0)},nab=function(a,b){a&
1&&(H(0,"th",24),R(1,mab,1,0,"ng-container",23),J());a&2&&(a=b.column,b=P(),Ae("data-stable-column-name",a.name),C(1),G("ngIf",b.isIssueGridColumn(a)))},pab=function(a){if(a&1){var b=x();L(0);H(1,"mat-pseudo-checkbox",26);O("click",function(c){z(b);var d=P(2);c.stopPropagation();return A(d.toggleAllIssueSelection())})("keydown.enter",function(c){z(b);var d=P(2);c.stopPropagation();return A(d.toggleAllIssueSelection())})("keydown.space",function(c){z(b);var d=P(2);c.stopPropagation();return A(d.toggleAllIssueSelection())});
J();M()}a&2&&(a=P(2),C(1),G("state",a.getHeaderCheckboxState()),Ae("aria-checked",oab(a)))},qab=function(a,b){a&1&&(H(0,"th",25),R(1,pab,2,2,"ng-container",23),J());a&2&&(a=b.column,b=P(),Ae("data-stable-column-name",a.name),C(1),G("ngIf",b.isIssueGridColumn(a)))},rab=function(a){a&1&&Le(0)},sab=function(a,b){a&1&&(H(0,"th"),R(1,rab,1,0,"ng-container",23),J());a&2&&(a=b.column,b=P(),Ae("data-stable-column-name",a.name),C(1),G("ngIf",b.isIssueGridColumn(a)))},tab=function(a){a&1&&(L(0),K(1,"pop-grid-default-th",
27),M());a&2&&(a=P().column,C(1),G("column",a))},uab=function(a,b){a&1&&(H(0,"th"),R(1,tab,2,1,"ng-container",23),J());a&2&&(a=b.column,b=P(),Ae("data-stable-column-name",a.name),C(1),G("ngIf",b.isIssueGridColumn(a)))},vab=function(a){if(a&1){var b=x();H(0,"b-column-picker",30);O("selectedColumnsChange",function(d){z(b);var e=P(3);e.columns=d;e.columnsChange.emit(d);e.cdr.detectChanges();return A()});J()}if(a&2){a=P(2).column;var c=P();G("column",a)("availableColumns",c.availableColumns)("selectedColumns",
c.columns)}},wab=function(a){a&1&&K(0,"pop-grid-default-th",27);a&2&&(a=P(2).column,G("column",a))},xab=function(a){a&1&&(L(0),R(1,vab,1,3,"b-column-picker",28),R(2,wab,1,1,"pop-grid-default-th",29),M());a&2&&(a=P(2),C(1),G("ngIf",a.enableColumnSaving),C(1),G("ngIf",!a.enableColumnSaving))},yab=function(a,b){a&1&&(H(0,"th"),R(1,xab,3,2,"ng-container",23),J());a&2&&(a=b.column,b=P(),Ae("data-stable-column-name",a.name),C(1),G("ngIf",b.isIssueGridColumn(a)))},zab=function(a){a&1&&Le(0)},Aab=function(a){a&
1&&(H(0,"td",22),R(1,zab,1,0,"ng-container",23),J());a&2&&(P(),C(1),G("ngIf",!0))},Bab=function(a){a&1&&Le(0)},Cab=function(a){a&1&&(H(0,"td",31),R(1,Bab,1,0,"ng-container",23),J());a&2&&(P(),C(1),G("ngIf",!0))},Dab=function(a){if(a&1){var b=x();L(0);H(1,"mat-pseudo-checkbox",32);O("click",function(c){z(b);var d=P(),e=d.index;d=d.row;var g=P();c.stopPropagation();return A(g.onCheckboxClicked(c,e,d))});J();M()}a&2&&(a=P().row,C(1),G("state",a.selected?"checked":"unchecked"),Ae("aria-label","Select issue "+
a.issueId)("aria-checked",a.selected))},Eab=function(a){a&1&&(H(0,"td",25),R(1,Dab,2,3,"ng-container",23),J());a&2&&(P(),C(1),G("ngIf",!0))},Fab=function(a){if(a&1){var b=x();L(0);H(1,"b-star-toggle",34);O("starClicked",function(){z(b);var d=P().row,e=P();return A(e.toggleStar(d))});J();M()}if(a&2){a=P().row;var c=P();C(1);G("starred",a.starred)("disabled",c.starInProgress[a.issueId])("starMessage","Star this issue")("unStarMessage","Un-star this issue")}},Gab=function(a){a&1&&(H(0,"td",33),R(1,Fab,
2,4,"ng-container",23),J());a&2&&(P(),C(1),G("ngIf",!0))},Hab=function(a){a&1&&(L(0),H(1,"span"),S(2),J(),M());a&2&&(a=P().row,C(1),Ae("title",a.position),C(1),Te(" ",a.position," "))},Iab=function(a){a&1&&(H(0,"td"),R(1,Hab,3,2,"ng-container",23),J());a&2&&(P(),C(1),G("ngIf",!0))},Jab=function(a){a&1&&(L(0),H(1,"a",36),S(2),J(),M());if(a&2){a=P().row;var b=P();C(1);G("href",b.paths.editIssue(a.issueId),vd);Ae("title",a.title);C(1);Te(" ",a.issueId," ")}},Kab=function(a){a&1&&(H(0,"td",35),R(1,Jab,
3,3,"ng-container",23),J());a&2&&(P(),C(1),G("ngIf",!0))},Lab=function(a){a&1&&K(0,"archived-issue-indicator")},Mab=function(a,b){a&1&&K(0,"b-hotlist-chip-smart",47);a&2&&G("id",b.$implicit)("removable",!1)},Nab=function(a){a&1&&(H(0,"div",45),R(1,Mab,1,2,"b-hotlist-chip-smart",46),J());a&2&&(a=P(2).row,C(1),G("ngForOf",a.hotlistId))},Oab=function(a){a&1&&(L(0),H(1,"div",38),R(2,Lab,1,0,"archived-issue-indicator",23),K(3,"b-access-level-indicator",39)(4,"b-tracker-chip-smart",40)(5,"b-retention-chip",
41),H(6,"div",42)(7,"a",43),S(8),J()(),R(9,Nab,2,1,"div",44),J(),M());if(a&2){a=P().row;var b=P();C(1);Ie("bv2-grid-cell-flex-wrap",b.listViewPrefs&&b.listViewPrefs.wrapTitles);C(1);G("ngIf",a.archived);C(1);G("accessLevel",a.accessLevel)("compactMode",!0);C(1);G("trackerId",a.trackerId)("compactMode",!0);C(1);G("retentionState",a.retentionState)("showOnlyInDangerZone",!0)("compactMode",!0)("modifiedTime",a.modifiedTime);C(2);G("href",b.paths.editIssue(a.issueId),vd);Ae("title",a.title);C(1);Te(" ",
a.title," ");C(1);G("ngIf",b.listViewPrefs&&b.listViewPrefs.showHotlists)}},Pab=function(a){a&1&&(H(0,"td",37),R(1,Oab,10,15,"ng-container",23),J());a&2&&(a=P(),Ie("bv2-grid-cell-variable-height",a.listViewPrefs&&a.listViewPrefs.wrapTitles),C(1),G("ngIf",!0))},Rab=function(a){a&1&&(L(0),H(1,"div",49),S(2),J(),M());if(a&2){a=P().row;var b=P();C(1);G("ngClass",af(Qab,b.isLowPriority(a),b.isHighPriority(a),b.isP0Priority(a)));C(1);Te(" P",a.priority," ")}},Sab=function(a){a&1&&(H(0,"td",48),R(1,Rab,
3,6,"ng-container",23),J());a&2&&(P(),C(1),G("ngIf",!0))},Uab=function(a){a&1&&(L(0),H(1,"div",49),S(2),J(),M());a&2&&(a=P().row,P(),C(1),G("ngClass",af(Qab,2<=Number(a.severity),2>Number(a.severity),0===Number(a.severity))),C(1),Te(" S",a.severity," "))},Vab=function(a){a&1&&(H(0,"td",50),R(1,Uab,3,6,"ng-container",23),J());a&2&&(P(),C(1),G("ngIf",!0))},Wab=function(a){a&1&&K(0,"mat-icon",56);if(a&2){a=P().$implicit;var b=P(3);G("svgIcon",b.STATUS_ICON[a])}},Xab=function(a){a&1&&(L(0),S(1),M());
if(a&2){a=P().$implicit;var b=P(3);C(1);Ve(b.STATUS_TERSE[a])}},Yab=function(a){a&1&&(H(0,"span"),S(1),J());if(a&2){a=P().$implicit;var b=P(3);Je("chippy status-",a," margin-left-auto");C(1);Te(" ",b.STATUS_TERSE[a]," ")}},Zab=function(a,b){a&1&&(L(0),H(1,"span",52),R(2,Wab,1,1,"mat-icon",53),R(3,Xab,2,1,"ng-container",54),R(4,Yab,2,4,"span",55),J(),M());a&2&&(a=b.$implicit,b=P(3),C(1),G("ngSwitch",null==b.listViewPrefs?null:null==b.listViewPrefs.fieldStatus?null:b.listViewPrefs.fieldStatus.mode)("title",
b.STATUS_FULL_TEXT[a]===b.STATUS_TERSE[a]?"":b.STATUS_FULL_TEXT[a]),C(1),G("ngSwitchCase","icon"),C(1),G("ngSwitchCase","plain"))},$ab=function(a){a&1&&(L(0),R(1,Zab,5,4,"ng-container",23),M());if(a&2){a=P().row;var b=P();C(1);G("ngIf",b.convertIssueStatusStrToTag(a.status))}},abb=function(a){a&1&&(H(0,"td",51),R(1,$ab,2,1,"ng-container",23),J());a&2&&(P(),C(1),G("ngIf",!0))},bbb=function(a){a&1&&(L(0),S(1),T(2,"enumToHuman"),M());a&2&&(a=P().row,C(1),Te(" ",U(2,1,a.type)," "))},cbb=function(a){a&
1&&(H(0,"td",57),R(1,bbb,3,3,"ng-container",23),J());a&2&&(P(),C(1),G("ngIf",!0))},dbb=function(a){a&1&&(H(0,"b-person-hovercard",60),T(1,"omitObfuscatedEmail"),S(2),J());a&2&&(a=P(2).row,G("email",U(1,2,a.reporter)),C(2),Te(" ",a.reporter," "))},ebb=function(a){a&1&&(H(0,"span"),S(1,"--"),J())},fbb=function(a){a&1&&(L(0),R(1,dbb,3,4,"b-person-hovercard",59),T(2,"omitObfuscatedEmail"),R(3,ebb,2,0,"span",23),M());a&2&&(a=P().row,C(1),G("ngIf",U(2,2,a.reporter)),C(2),G("ngIf",!a.reporter))},gbb=function(a){a&
1&&(H(0,"td",58),R(1,fbb,4,4,"ng-container",23),J());a&2&&(P(),C(1),G("ngIf",!0))},hbb=function(a){a&1&&(H(0,"b-person-hovercard",60),T(1,"omitObfuscatedEmail"),S(2),J());a&2&&(a=P(2).row,G("email",U(1,2,a.assignee)),C(2),Te(" ",a.assignee," "))},ibb=function(a){a&1&&(H(0,"span"),S(1,"--"),J())},jbb=function(a){a&1&&(L(0),R(1,hbb,3,4,"b-person-hovercard",59),T(2,"omitObfuscatedEmail"),R(3,ibb,2,0,"span",23),M());a&2&&(a=P().row,C(1),G("ngIf",U(2,2,a.assignee)),C(2),G("ngIf",!a.assignee))},kbb=function(a){a&
1&&(H(0,"td",58),R(1,jbb,4,4,"ng-container",23),J());a&2&&(P(),C(1),G("ngIf",!0))},lbb=function(a){a&1&&(H(0,"b-person-hovercard",60),T(1,"omitObfuscatedEmail"),S(2),J());a&2&&(a=P(2).row,G("email",U(1,2,a.verifier)),C(2),Te(" ",a.verifier," "))},mbb=function(a){a&1&&(H(0,"span"),S(1,"--"),J())},nbb=function(a){a&1&&(L(0),R(1,lbb,3,4,"b-person-hovercard",59),T(2,"omitObfuscatedEmail"),R(3,mbb,2,0,"span",23),M());a&2&&(a=P().row,C(1),G("ngIf",U(2,2,a.verifier)),C(2),G("ngIf",!a.verifier))},obb=function(a){a&
1&&(H(0,"td",58),R(1,nbb,4,4,"ng-container",23),J());a&2&&(P(),C(1),G("ngIf",!0))},pbb=function(a){a&1&&(L(0),H(1,"span"),T(2,"arrayToHuman"),S(3),T(4,"arrayToHuman"),J(),M());a&2&&(a=P().row,C(1),Ae("title",U(2,2,a.cc)),C(2),Te(" ",U(4,4,a.cc)," "))},qbb=function(a){a&1&&(H(0,"td",58),R(1,pbb,5,6,"ng-container",23),J());a&2&&(P(),C(1),G("ngIf",!0))},rbb=function(a){a&1&&(L(0),H(1,"span"),T(2,"arrayToHuman"),S(3),T(4,"arrayToHuman"),J(),M());a&2&&(a=P().row,C(1),Ae("title",U(2,2,a.changelist)),C(2),
Te(" ",U(4,4,a.changelist)," "))},sbb=function(a){a&1&&(H(0,"td",58),R(1,rbb,5,6,"ng-container",23),J());a&2&&(P(),C(1),G("ngIf",!0))},tbb=function(a){a&1&&(L(0),H(1,"span"),T(2,"arrayToHuman"),S(3),T(4,"arrayToHuman"),J(),M());a&2&&(a=P().row,C(1),Ae("title",U(2,2,a.postmortem)),C(2),Te(" ",U(4,4,a.postmortem)," "))},ubb=function(a){a&1&&(H(0,"td",58),R(1,tbb,5,6,"ng-container",23),J());a&2&&(P(),C(1),G("ngIf",!0))},vbb=function(a){a&1&&Le(0)},wbb=function(a){a&1&&(H(0,"span"),S(1,", "),J())},ybb=
function(a,b){a&1&&(L(0),R(1,vbb,1,0,"ng-container",62),R(2,wbb,2,0,"span",23),M());if(a&2){a=b.$implicit;b=b.last;P(3);var c=Se(48);C(1);G("ngTemplateOutlet",c)("ngTemplateOutletContext",Ze(3,xbb,a));C(1);G("ngIf",!b)}},zbb=function(a){a&1&&(L(0),R(1,ybb,3,5,"ng-container",61),M());a&2&&(a=P().row,C(1),G("ngForOf",a.blockingIssueId))},Abb=function(a){a&1&&(H(0,"td",58),R(1,zbb,2,1,"ng-container",23),J());a&2&&(P(),C(1),G("ngIf",!0))},Bbb=function(a){a&1&&Le(0)},Cbb=function(a){a&1&&(H(0,"span"),
S(1,", "),J())},Dbb=function(a,b){a&1&&(L(0),R(1,Bbb,1,0,"ng-container",62),R(2,Cbb,2,0,"span",23),M());if(a&2){a=b.$implicit;b=b.last;P(3);var c=Se(48);C(1);G("ngTemplateOutlet",c)("ngTemplateOutletContext",Ze(3,xbb,a));C(1);G("ngIf",!b)}},Ebb=function(a){a&1&&(L(0),R(1,Dbb,3,5,"ng-container",61),M());a&2&&(a=P().row,C(1),G("ngForOf",a.blockedByIssueId))},Fbb=function(a){a&1&&(H(0,"td",58),R(1,Ebb,2,1,"ng-container",23),J());a&2&&(P(),C(1),G("ngIf",!0))},Gbb=function(a){a&1&&Le(0)},Hbb=function(a){a&
1&&(L(0),R(1,Gbb,1,0,"ng-container",62),M());if(a&2){a=P(2).row;P();var b=Se(48);C(1);G("ngTemplateOutlet",b)("ngTemplateOutletContext",Ze(2,xbb,a.duplicateOfIssueId))}},Ibb=function(a){a&1&&(L(0),R(1,Hbb,2,4,"ng-container",23),M());a&2&&(a=P().row,C(1),G("ngIf",a.duplicateOfIssueId))},Jbb=function(a){a&1&&(H(0,"td",58),R(1,Ibb,2,1,"ng-container",23),J());a&2&&(P(),C(1),G("ngIf",!0))},Kbb=function(a){a&1&&(L(0),K(1,"b-formatted-date-time",64),M());a&2&&(a=P().row,C(1),G("timestamp",a.createdTime))},
Lbb=function(a){a&1&&(H(0,"td",63),R(1,Kbb,2,1,"ng-container",23),J());a&2&&(P(),C(1),G("ngIf",!0))},Mbb=function(a){a&1&&(L(0),K(1,"b-formatted-date-time",64),M());a&2&&(a=P().row,C(1),G("timestamp",a.modifiedTime))},Nbb=function(a){a&1&&(H(0,"td",63),R(1,Mbb,2,1,"ng-container",23),J());a&2&&(P(),C(1),G("ngIf",!0))},Obb=function(a){a&1&&(L(0),K(1,"b-formatted-date-time",64),M());a&2&&(a=P().row,C(1),G("timestamp",a.resolvedTime))},Pbb=function(a){a&1&&(H(0,"td",63),R(1,Obb,2,1,"ng-container",23),
J());a&2&&(P(),C(1),G("ngIf",!0))},Qbb=function(a){a&1&&(L(0),K(1,"b-formatted-date-time",64),M());a&2&&(a=P().row,C(1),G("timestamp",a.verifiedTime))},Rbb=function(a){a&1&&(H(0,"td",63),R(1,Qbb,2,1,"ng-container",23),J());a&2&&(P(),C(1),G("ngIf",!0))},Sbb=function(a){a&1&&(L(0),H(1,"span"),T(2,"arrayToHuman"),S(3),T(4,"arrayToHuman"),J(),M());a&2&&(a=P().row,C(1),Ae("title",U(2,2,a.foundInVersion)),C(2),Te(" ",U(4,4,a.foundInVersion)," "))},Tbb=function(a){a&1&&(H(0,"td",58),R(1,Sbb,5,6,"ng-container",
23),J());a&2&&(P(),C(1),G("ngIf",!0))},Ubb=function(a){a&1&&(L(0),H(1,"span"),T(2,"arrayToHuman"),S(3),T(4,"arrayToHuman"),J(),M());a&2&&(a=P().row,C(1),Ae("title",U(2,2,a.targetedToVersion)),C(2),Te(" ",U(4,4,a.targetedToVersion)," "))},Vbb=function(a){a&1&&(H(0,"td",58),R(1,Ubb,5,6,"ng-container",23),J());a&2&&(P(),C(1),G("ngIf",!0))},Wbb=function(a){a&1&&(L(0),H(1,"span"),T(2,"arrayToHuman"),S(3),T(4,"arrayToHuman"),J(),M());a&2&&(a=P().row,C(1),Ae("title",U(2,2,a.verifiedInVersion)),C(2),Te(" ",
U(4,4,a.verifiedInVersion)," "))},Xbb=function(a){a&1&&(H(0,"td",58),R(1,Wbb,5,6,"ng-container",23),J());a&2&&(P(),C(1),G("ngIf",!0))},Ybb=function(a){a&1&&(L(0),S(1),T(2,"yesNo"),M());a&2&&(a=P().row,C(1),Te(" ",U(2,1,a.inProd)," "))},Zbb=function(a){a&1&&(H(0,"td",58),R(1,Ybb,3,3,"ng-container",23),J());a&2&&(P(),C(1),G("ngIf",!0))},$bb=function(a){a&1&&(L(0),S(1),T(2,"yesNo"),M());a&2&&(a=P().row,C(1),Te(" ",U(2,1,a.archived)," "))},acb=function(a){a&1&&(H(0,"td",58),R(1,$bb,3,3,"ng-container",
23),J());a&2&&(P(),C(1),G("ngIf",!0))},bcb=function(a){a&1&&(L(0),H(1,"div",38)(2,"div",42)(3,"span"),S(4),J()()(),M());if(a&2){a=P().row;var b=P();C(3);Ae("title",b.getComponentPath(a.componentPath));C(1);Ve(b.getComponentPath(a.componentPath))}},dcb=function(a){a&1&&(H(0,"td",65),R(1,bcb,5,2,"ng-container",23),J());if(a&2){a=P();var b;var c=!(null==(b=a.listViewPrefs)||!b.rtlComponentPath);G("ngClass",$e(2,ccb,a.listViewPrefs&&a.listViewPrefs.wrapComponents,c));C(1);G("ngIf",!0)}},ecb=function(a){a&
1&&(H(0,"slo-status-card",68),K(1,"b-aggregated-slo-status-indicator",69),J());a&2&&(a=P(2).row,G("sloId",a.sloId)("sloStatus",a.sloStatus)("sloSnoozeUntil",a.sloSnoozeUntil),C(1),G("sloStatus",a.sloStatus)("sloSnoozeUntil",a.sloSnoozeUntil))},fcb=function(a){a&1&&(L(0),R(1,ecb,2,5,"slo-status-card",67),M());a&2&&(a=P().row,C(1),G("ngIf",a.sloStatus))},gcb=function(a){a&1&&(H(0,"td",66),R(1,fcb,2,1,"ng-container",23),J());a&2&&(P(),C(1),G("ngIf",!0))},hcb=function(a){a&1&&(H(0,"slo-status-card",71),
K(1,"b-slo-time-indicator",72),J());a&2&&(a=P(2).row,G("sloId",a.sloId)("sloStatus",a.sloStatus)("sloSnoozeUntil",a.sloSnoozeUntil)("onlyShowMetric","RESPONSE"),C(1),G("sloBounds",a.sloStatus.responseBounds))},icb=function(a){a&1&&(L(0),R(1,hcb,2,5,"slo-status-card",70),M());a&2&&(a=P().row,C(1),G("ngIf",a.sloStatus))},jcb=function(a){a&1&&(H(0,"td",66),R(1,icb,2,1,"ng-container",23),J());a&2&&(P(),C(1),G("ngIf",!0))},kcb=function(a){a&1&&(H(0,"slo-status-card",71),K(1,"b-slo-time-indicator",72),
J());a&2&&(a=P(2).row,G("sloId",a.sloId)("sloStatus",a.sloStatus)("sloSnoozeUntil",a.sloSnoozeUntil)("onlyShowMetric","ASSIGNMENT"),C(1),G("sloBounds",a.sloStatus.assignmentBounds))},lcb=function(a){a&1&&(L(0),R(1,kcb,2,5,"slo-status-card",70),M());a&2&&(a=P().row,C(1),G("ngIf",a.sloStatus))},mcb=function(a){a&1&&(H(0,"td",66),R(1,lcb,2,1,"ng-container",23),J());a&2&&(P(),C(1),G("ngIf",!0))},ncb=function(a){a&1&&(H(0,"slo-status-card",71),K(1,"b-slo-time-indicator",72),J());a&2&&(a=P(2).row,G("sloId",
a.sloId)("sloStatus",a.sloStatus)("sloSnoozeUntil",a.sloSnoozeUntil)("onlyShowMetric","CLOSURE"),C(1),G("sloBounds",a.sloStatus.closureBounds))},ocb=function(a){a&1&&(L(0),R(1,ncb,2,5,"slo-status-card",70),M());a&2&&(a=P().row,C(1),G("ngIf",a.sloStatus))},pcb=function(a){a&1&&(H(0,"td",66),R(1,ocb,2,1,"ng-container",23),J());a&2&&(P(),C(1),G("ngIf",!0))},qcb=function(a,b){a&1&&K(0,"b-formatted-date-time",74);a&2&&(a=b.$implicit,P(3),G("timestamp",1E3*a.seconds))},rcb=function(a){a&1&&(L(0),R(1,qcb,
1,1,"b-formatted-date-time",73),M());a&2&&(a=P().row,C(1),G("ngIf",null==a.retentionState?null:a.retentionState.scheduledDeletionTime))},scb=function(a){a&1&&(H(0,"td",58),R(1,rcb,2,1,"ng-container",23),J());a&2&&(P(),C(1),G("ngIf",!0))},tcb=function(a){a&1&&K(0,"div",76)},ucb=function(a){a&1&&(H(0,"div"),K(1,"b-team-display",77),J());a&2&&(a=P(2).row,C(1),G("teamId",a.teamId.toString())("componentId",a.componentId.toString())("anchorLinkEnabled",!1))},vcb=function(a){a&1&&(L(0),R(1,tcb,1,0,"div",
75),R(2,ucb,2,3,"div",23),M());a&2&&(a=P(2),C(1),G("ngIf",a.isLoadingTeams),C(1),G("ngIf",!a.isLoadingTeams))},wcb=function(a){a&1&&(H(0,"td",58),R(1,vcb,3,2,"ng-container",23),J());a&2&&(P(),C(1),G("ngIf",!0))},xcb=function(a){a&1&&(L(0),S(1),M());a&2&&(a=P().row,C(1),Te(" ",null==a.effort?null:a.effort.estimate," "))},ycb=function(a){a&1&&(H(0,"td",58),R(1,xcb,2,1,"ng-container",23),J());a&2&&(P(),C(1),G("ngIf",!0))},zcb=function(a){a&1&&(L(0),S(1),M());if(a&2){a=P().row;var b=P();C(1);Te(" ",b.isTotalEstimatesEnabled?
(null==a.effort?null:a.effort.totalOpen)||"":""," ")}},Acb=function(a){a&1&&(H(0,"td",58),R(1,zcb,2,1,"ng-container",23),J());a&2&&(P(),C(1),G("ngIf",!0))},Bcb=function(a){a&1&&(L(0),S(1),M());if(a&2){a=P().row;var b=P();C(1);Te(" ",b.isTotalEstimatesEnabled?(null==a.effort?null:a.effort.totalComplete)||"":""," ")}},Ccb=function(a){a&1&&(H(0,"td",58),R(1,Bcb,2,1,"ng-container",23),J());a&2&&(P(),C(1),G("ngIf",!0))},Dcb=function(a){a&1&&K(0,"b-issue-card",81,82);if(a&2){var b=Se(1);a=P().id;G("onedevIsHovercardReady",
b.init)("issueId",a)}},Ecb=function(a,b){a&1&&(H(0,"onedev-hovercard",null,78),R(2,Dcb,2,2,"b-issue-card",79),J(),H(3,"span",80),S(4),J());if(a&2){a=b.id;var c=Se(1);C(3);G("onedevHovercardTrigger",c);C(1);Ve(a)}},Fcb=function(a){if(a&1){var b=x();H(0,"b-app-bar-bulk-edit-menus",10);O("onBulkEdit",function(d){z(b);var e=P();return A(e.bulkEdit(d))})("onQuickBulkEdit",function(d){z(b);var e=P();return A(e.quickBulkEdit(d))})("onBulkEditIssueRelation",function(d){z(b);var e=P();return A(e.bulkEditIssueRelation(d))})("onBulkMarkIssueRead",
function(){z(b);var d=P();return A(d.bulkMarkIssueRead())});T(1,"async");J()}if(a&2){a=P();var c;G("enableBulkEstimatedEffortOption",null!==(c=U(1,2,a.enableBulkEstimatedEffortOption$))&&void 0!==c?c:!1)("readStatePrompt",z9a(a))}},Gcb=function(a){if(a&1){var b=x();H(0,"b-copy-issue-id-button",11);O("onClickCopyIssueIds",function(){z(b);var c=P();return A(B9a(c.copyIssueIdService,yn(c)))})("onClickCopyIssueShortLinks",function(){z(b);var c=P();return A(C9a(c.copyIssueIdService,yn(c)))})("onClickCopyAsIssueSearch",
function(){z(b);var c=P();return A(D9a(c.copyIssueIdService,yn(c)))});J()}a&2&&(a=P(),G("shortLinkPrefix",a.copyIssueIdService.shortLinkPrefix)("shouldShowCopyIssueShortLinks",a.activeSession.isInternalSession()))},Hcb=function(a){if(a&1){var b=x();H(0,"div",12)(1,"b-hotlist-picker",13);O("onApply",function(c){z(b);var d=P();return A(d.handleHotlistPickerSave(c))})("onCreate",function(c){z(b);var d=P();return A(d.onCreateHotlist.emit(c))})("onLoad",function(c){z(b);var d=P();return A(d.onLoadHotlist.emit(c))});
J()()}a&2&&(a=P(),C(1),G("selectedHotlistIds",a.hotlistIdMatrix)("choices",a.hotlistChoices))},Icb=function(a){if(a&1){var b=x();H(0,"hotlist-add-issue-btn",16);O("issueAddedToHotlist",function(){z(b);var c=P(2);return A(c.refresh())});J()}a&2&&(a=P(2),G("hotlistId",a.currentHotlistId))},Jcb=function(a){a&1&&K(0,"hotlist-archive-btn",17);a&2&&(a=P(2),G("hotlistId",a.currentHotlistId))},Kcb=function(a){a&1&&(L(0),R(1,Icb,1,1,"hotlist-add-issue-btn",14),R(2,Jcb,1,1,"hotlist-archive-btn",15),M());a&
2&&(a=P(),C(1),G("ngIf",a.enableBulkEditUi),C(1),G("ngIf",a.isHotlistAdmin))},Lcb=function(a){a&1&&(H(0,"span",21),S(1,"Reporting"),J())},Mcb=function(a){if(a&1){var b=x();H(0,"b-button",18);O("onAction",function(){z(b);var c=P();return A(c.openInEstado())});K(1,"b-icon",19);R(2,Lcb,2,0,"span",20);J()}a&2&&(a=P(),G("size",a.hasSelectedIssues()?"large":"medium")("format",a.hasSelectedIssues()?"icon":"flat"),C(2),G("ngIf",!a.hasSelectedIssues()))},Ncb=function(a){if(a&1){var b=x();H(0,"b-comment-box",
28);O("commentChange",function(c){z(b);var d=P(2);return A(d.comment=c)})("onSubmit",function(){z(b);var c=P(2);return A(G9a(c))});J()}a&2&&(a=P(2),G("comment",a.comment)("showToolbar",!1))},Ocb=function(a,b){a&1&&(H(0,"li"),S(1),K(2,"b-access-level-indicator",31),J());a&2&&(a=b.$implicit,C(1),Te(" ",a.path," "),C(1),G("accessLevel",a.accessLevel))},Pcb=function(a){a&1&&(H(0,"div",29)(1,"div")(2,"strong"),S(3,"You are commenting on issues in components that have external viewers:"),J()(),H(4,"ul"),
R(5,Ocb,3,2,"li",30),J()());a&2&&(a=P(2),C(5),G("ngForOf",a.externalWarnings))},Qcb=function(a){if(a&1){var b=x();H(0,"div",32)(1,"b-recaptcha",33);O("onUpdate",function(c){z(b);var d=P(2);return A(d.recaptchaResponse=c)});J()()}},Rcb=function(a){a&1&&(H(0,"h1",22),S(1,"Add comment"),J(),H(2,"mat-dialog-content"),R(3,Ncb,1,2,"b-comment-box",23),R(4,Pcb,6,1,"div",24),J(),R(5,Qcb,2,0,"div",25),H(6,"mat-dialog-actions")(7,"button",26),S(8," Cancel "),J(),H(9,"button",27),S(10," Save "),J()());a&2&&(a=
P(),C(3),G("ngIf",a.comment),C(1),G("ngIf",0<a.externalWarnings.length),C(1),G("ngIf",a.enableRecaptcha),C(2),G("mat-dialog-close",!1),C(2),G("disabled",a.enableRecaptcha&&""===a.recaptchaResponse)("mat-dialog-close",!0))},Tcb=function(a,b){if(a&1){var c=x();H(0,"div",5)(1,"b-contact-chip",6);O("chipSelection",function(){var d=z(c).index,e=P();e.selectedChipIndex!==d&&Cn(e,d)&&(Scb(e),e.selectedChipIndex=d,e.items[d].isSelected=!0);return A()})("chipClear",function(){z(c);var d=P();return A(Scb(d))})("chipRemove",
function(){var d=z(c).index,e=P();return A(e.removeItem(d))});J()()}a&2&&(a=b.$implicit,b=P(),C(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()))},Wcb=function(a){if(a&1){var b=x();H(0,"input",7,8);O("autocompleteActive",function(){z(b);var c=P();return A(c.chipifyFn())})("ngModelChange",
function(c){z(b);var d=P();return A(d.typedText=c)})("focus",function(){z(b);var c=P();return A(Ucb(c))})("blur",function(){z(b);var c=P();Vcb(c,c.typedText.split(",")[0].trim());c.isFocused=!1;return A()});J()}a&2&&(a=P(),G("bContactAutocomplete","MULTI")("additionalContactsCallback",a.additionalContactsFn)("ngModel",a.typedText)("disabled",a.isWidgetDisabled()),Ae("id",a.idForInputBox))},Xcb=function(a){a&1&&(H(0,"span"),S(1," Groups cannot be granted Restricted+ reader permission. "),H(2,"a",9),
S(3,"Learn more"),J()());a&2&&(a=P(),C(2),Ae("href",Xl(a.documentationLinks)+"#components",vd))},Ycb=function(a){a&1&&(H(0,"span"),S(1," Invalid user(s). "),J())},Zcb=function(a){a&1&&(H(0,"span"),S(1,' "Public" or external users are not allowed for component designated as "internal access". '),J())},$cb=function(a){a&1&&(H(0,"span"),S(1,' "Public" is not allowed for components designated as "external partner access". '),J())},adb=function(a){a&1&&(H(0,"span"),S(1," SLO lead can not be a group. "),
J())},bdb=function(a){a&1&&(H(0,"span"),S(1," SLO lead can only be a full-time Googler. "),J())},cdb=function(a){if(a&1){var b=x();H(0,"div",7)(1,"button",8);O("click",function(){z(b);var c=P();return A(c.onPressSave())});S(2," Save ");J();H(3,"button",9);O("click",function(){z(b);var c=P();return A(c.onPressRevert())});S(4," Revert changes ");J()()}a&2&&(a=P(),C(1),G("disabled",a.hasNoChanges()||a.hotlistAccessPolicyFridge.isSaving()||a.isInvalid())("matTooltip",a.isInvalid()?"Invalid form data":
a.hasNoChanges()?"No changes":"Save these changes"),C(2),G("disabled",a.hasNoChanges()||a.hotlistAccessPolicyFridge.isSaving())("matTooltip",a.hasNoChanges()?"No changes":"Go back to the last saved state"))},ddb=function(a){if(a&1){var b=x();H(0,"div",7)(1,"button",8);O("click",function(){z(b);var d=P();return A(d.save())});S(2," Save ");J();H(3,"button",9);O("click",function(){z(b);var d=P();return A(d.revert())});S(4," Revert changes ");J();K(5,"hotlist-archive-btn",10);T(6,"async");J()}if(a&2){a=
P();var c;C(1);G("disabled",a.hasNoChanges()||a.fridge.isSaving())("matTooltip",a.hasNoChanges()?"No changes":"Save these changes");C(2);G("disabled",a.hasNoChanges()||a.fridge.isSaving())("matTooltip",a.hasNoChanges()?"No changes":"Go back to the last saved state");C(2);G("hotlistId",null!==(c=U(6,5,a.id$))&&void 0!==c?c:void 0)}},edb=function(a,b){a&1&&(L(0),S(1),M());a&2&&(a=b.$implicit,C(1),Te(" ",a.name," "))},fdb=function(a){a&1&&(H(0,"strong",4),S(1,"(archived)"),J())},gdb=function(a){a&1&&
K(0,"b-spinner")},hdb=function(a){a&1&&(K(0,"hotlist-add-issue-btn",5),T(1,"async"));if(a&2){a=P();var b;G("hotlistId",null!==(b=U(1,1,a.id$))&&void 0!==b?b:void 0)}},idb=function(a){a&1&&(H(0,"p",8),S(1," This hotlist cannot be edited because you are not an administrator of it. "),J())},jdb=function(a){a&1&&(L(0),K(1,"b-edit-hotlist-toolbar",1),H(2,"div",2),K(3,"b-edit-hotlist-header",1),H(4,"mat-tab-group",3)(5,"mat-tab",4),K(6,"b-edit-hotlist-basic",5),T(7,"async"),J(),H(8,"mat-tab",6),K(9,"b-edit-hotlist-acl",
5),T(10,"async"),J()(),R(11,idb,2,0,"p",7),T(12,"async"),J(),M());a&2&&(a=P(),C(1),G("hotlistId",a.id),C(2),G("hotlistId",a.id),C(1),G("selectedIndex",a.tabIndex),C(2),G("hotlistId",a.id)("isReadOnly",!1===U(7,8,a.isAdmin$)),C(3),G("hotlistId",a.id)("isReadOnly",!1===U(10,10,a.isAdmin$)),C(2),G("ngIf",!1===U(12,12,a.isAdmin$)))},kdb=function(a,b){a&1&&(L(0),K(1,"empty-toolbar"),H(2,"div",9)(3,"h2"),S(4,"Error"),J(),H(5,"p"),S(6),J()(),M());a&2&&(a=b.$implicit,C(6),Ve(a))},ldb=function(a){a&1&&(H(0,
"b-callout",1)(1,"b-callout-body"),S(2),J()());a&2&&(a=P(),C(2),Ve(a.error))},mdb=function(a){a&1&&Le(0)},ndb=function(a){a&1&&(H(0,"span"),S(1,"Details"),J())},odb=function(a){a&1&&(H(0,"span"),S(1,"Members"),J())},qdb=function(a){a&1&&(H(0,"div",13)(1,"a",14),R(2,ndb,2,0,"span",15),R(3,odb,2,0,"span",15),J()());if(a&2){a=P(2);C(1);if(void 0===a.email)var b="";else{b=encodeURIComponent(a.getName());var c=encodeURIComponent(a.email);b=pdb(a.email)?"https://ganpati2.corp.google.com/group/"+b+".corp":
nDa(a.email)?"https://twosync.corp.google.com/rosterz/"+c:"https://groups.google.com/a/google.com/forum/#!members/"+b}G("href",b,vd);C(1);G("ngIf",pdb(a.email));C(1);G("ngIf",!pdb(a.email))}},rdb=function(a){a&1&&(L(0),H(1,"span",2),R(2,mdb,1,0,"ng-container",3),J(),H(3,"onedev-hovercard",null,4)(5,"div",5)(6,"div",6)(7,"div",7)(8,"div",8)(9,"div",9)(10,"h3"),S(11),J()(),H(12,"div",10),K(13,"mat-icon",11),H(14,"span"),S(15),J()()(),R(16,qdb,4,3,"div",12),J()()()(),M());if(a&2){var b=Se(4);a=P();var c=
Se(2);C(1);G("onedevHovercardTrigger",b);C(1);G("ngTemplateOutlet",c);C(9);Ve(a.getName());C(4);Ve(a.email);C(1);G("ngIf",a.shouldShowLinks())}},sdb=function(a){a&1&&Oe(0)},tdb=function(a,b){a&1&&K(0,"mat-icon",8);a&2&&G("svgIcon",b.ngIf)},udb=function(a){a&1&&(H(0,"b-person-hovercard",9),S(1),J());a&2&&(a=P(),G("email",a.value),C(1),Te(" ",a.displayText," "))},vdb=function(a){a&1&&(H(0,"b-group-email-card",9),S(1),J());a&2&&(a=P(),G("email",a.value),C(1),Te(" ",a.displayText," "))},wdb=function(a){a&
1&&(H(0,"div"),S(1),J());a&2&&(a=P(),C(1),Te(" ",a.displayText," "))},xdb=function(a){if(a&1){var b=x();H(0,"div",10);O("click",function(){z(b);var c=P();return A(c.chipRemove.emit())});K(1,"mat-icon",11);J()}a&2&&(a=P(),Pe("matTooltip","'Remove ",a.displayText,"'"),Ae("aria-label","Remove "+a.displayText))},ydb=function(a,b){a&1&&(H(0,"div",19),K(1,"b-contact-chip",20),J());a&2&&(a=b.$implicit,b=P(2),C(1),G("value",a.value)("detailedUserType",a.detailedUserType)("principalType",a.principalType)("accessLevel",
b.accessLevel)("displayText",a.displayText))},zdb=function(a){a&1&&(H(0,"div",12)(1,"div",13)(2,"div",14),R(3,ydb,2,5,"div",15),H(4,"div",16),K(5,"div",17)(6,"div",18),J()()()());a&2&&(a=P(),C(3),G("ngForOf",a.nestedChips))},Adb=function(a){a&1&&(L(0),S(1,", "),M())},Bdb=function(a,b){a&1&&(L(0),S(1),R(2,Adb,2,0,"ng-container",14),M());if(a&2){a=b.$implicit;b=b.last;var c=P(2);C(1);Te(" ",c.convertUserToString(a)," ");C(1);G("ngIf",!b)}},Cdb=function(a,b){if(a&1){var c=x();H(0,"tr",7);O("click",function(){var e=
z(c).$implicit,g=P();return A(g.editHotlist(e))})("focus",function(){var e=z(c).index,g=P();return A(g.setFocusOnIndex(e))});K(1,"td",2);H(2,"td",8)(3,"a",9);O("click",function(e){return e.stopPropagation()});S(4);J()();H(5,"td",10);S(6);J();H(7,"td",11);R(8,Bdb,3,2,"ng-container",12);J();H(9,"td",13);S(10);J()()}if(a&2){a=b.$implicit;b=b.index;var d=P();Ie("grid-focus",d.isFocused(b));Ae("aria-selected",d.isFocused(b))("aria-label",d.renderRowLabel(b));C(3);G("href",d.paths.editHotlist(a.hotlistId),
vd);C(1);Te(" ",a.name," ");C(2);Te(" ",a.description," ");C(2);G("ngForOf",a.adminUsers);C(2);Te(" ",a.hotlistId," ")}},Ddb=function(a){if(a&1){var b=x();H(0,"button",9);O("click",function(){z(b);var c=P(2);return A(c.appEvents.dashboardPanels.moveToTop.next(c.panelId))});S(1," Move to top ");J()}},Edb=function(a){if(a&1){var b=x();H(0,"button",10);O("click",function(){z(b);var c=P(2);return A(c.appEvents.dashboardPanels.moveUp.next(c.panelId))});S(1," Move up ");J()}},Fdb=function(a){if(a&1){var b=
x();H(0,"button",11);O("click",function(){z(b);var c=P(2);return A(c.appEvents.dashboardPanels.moveDown.next(c.panelId))});S(1," Move down ");J()}},Gdb=function(a){if(a&1){var b=x();H(0,"button",12);O("click",function(){z(b);var c=P(2);return A(c.appEvents.dashboardPanels.moveToBottom.next(c.panelId))});S(1," Move to bottom ");J()}},Hdb=function(a){if(a&1){var b=x();R(0,Ddb,2,0,"button",4);R(1,Edb,2,0,"button",5);R(2,Fdb,2,0,"button",6);R(3,Gdb,2,0,"button",7);H(4,"button",8);O("click",function(){z(b);
var c=P();return A(c.removePanel())});S(5," Remove ");J()}a&2&&(a=P(),G("ngIf",!a.first),C(1),G("ngIf",!a.first),C(1),G("ngIf",!a.last),C(1),G("ngIf",!a.last))},Idb=function(a){a&1&&(H(0,"span"),S(1),J());a&2&&(a=P(),Ae("title",a.getValue()),C(1),Te(" ",a.getValue(),"\n"))},Jdb=function(a){a&1&&K(0,"b-custom-field-value-display",2);a&2&&(a=P(),G("customFieldValue",a.getCustomFieldValue()))},Kdb=function(a){a&1&&K(0,"b-actions-menu",7);a&2&&(a=P(),G("menuItems",a.menuItems))},Ldb=function(a){a&1&&
(H(0,"span",8)(1,"strong"),S(2),J(),S(3,"\u00a0of\u00a0"),H(4,"strong"),S(5),J()());a&2&&(a=P(),C(2),We("",a.searchResults.startIndex,"\u00a0-\u00a0",a.searchResults.endIndex,""),C(3),Ve(a.searchResults.totalText))},Mdb=function(a){a&1&&(H(0,"div"),S(1," Hotlist not found. "),J())},Ndb=function(a){a&1&&(H(0,"div"),S(1," Loading details... "),J())},Odb=function(a){a&1&&K(0,"b-panel-controls",11);a&2&&(a=P(2),G("panelId",a.panel.panelId))},Pdb=function(a){a&1&&(H(0,"span",12),S(1," \u00a0(changed) "),
J())},Qdb=function(a){a&1&&(H(0,"div"),R(1,Odb,1,1,"b-panel-controls",6),H(2,"span",7),S(3," Hotlist: "),H(4,"a",8)(5,"span",9),S(6),J()()(),R(7,Pdb,2,0,"span",10),J());a&2&&(a=P(),C(1),G("ngIf",a.isDashboardEditable),C(3),G("href",a.paths.viewHotlist(a.hotlistId),vd),C(1),Qe("matTooltip",a.resource.description),C(1),Ve(a.resource.name),C(1),G("ngIf",a.hasParamChanges()))},Rdb=function(a){if(a&1){var b=x();H(0,"div",13)(1,"button",14);O("click",function(){z(b);var c=P();return A(c.save())});S(2,"Save ");
J();H(3,"button",15);O("click",function(){z(b);var c=P();return A(c.discardChanges())});S(4," Discard changes ");J()()}},Sdb=function(a){a&1&&(H(0,"span"),S(1),J());a&2&&(a=P(3),C(1),Te(" Searching for ",a.searchParams.query," ..."))},Tdb=function(a){a&1&&(H(0,"div",19),K(1,"b-spinner",20),R(2,Sdb,2,1,"span",3),J());a&2&&(a=P(2),C(1),G("large",!1),C(1),G("ngIf",a.searchParams&&(null==a.searchParams?null:a.searchParams.query)))},Udb=function(a){a&1&&(H(0,"div",21),S(1," No issues in hotlist. "),J())},
Wdb=function(a){if(a&1){var b=x();H(0,"div",22)(1,"b-issues-grid",23);O("init",function(c){z(b);var d=P(2);return A(Vdb(d,c))})("focusedRowIndexChange",function(c){z(b);var d=P(2);return A(d.focusedRowIndex=c)})("columnsChange",function(c){z(b);var d=P(2);return A(d.issueColumns=c)})("sortChange",function(c){z(b);var d=P(2);return A(d.setSort(c.field,c.direction))})("onRowDragDrop",function(c){z(b);var d=P(2);return A(d.repositionIssue(c.srcIndex,c.destIndex))})("rowClick",function(c){z(b);var d=
P(2);return A(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",function(){z(b);var c=P(2);return A(c.goToPage(c.page+1))})("onPrevPage",function(){z(b);var c=P(2);return A(c.goToPage(c.page-1))});J()()}a&2&&(a=P(2),C(1),G("searchResults",a.searchResults)("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns)("enableColumnSaving",a.isColumnSaveEnabled)("sort",a.getSort()))},Xdb=function(a){a&1&&(H(0,"div"),R(1,Tdb,3,2,"div",16),R(2,Udb,2,0,"div",17),R(3,Wdb,2,5,"div",18),J());a&2&&(a=P(),
C(1),G("ngIf",a.isLoading),C(1),G("ngIf",!a.isLoading&&!(null==a.searchResults?0:null==a.searchResults.issues?0:a.searchResults.issues.length)),C(1),G("ngIf",!a.isLoading&&(null==a.searchResults?null:null==a.searchResults.issues?null:a.searchResults.issues.length)))},Ydb=function(a){a&1&&(H(0,"div"),S(1," Saved search not found. "),J())},Zdb=function(a){a&1&&(H(0,"div"),S(1," Loading details... "),J())},$db=function(a){a&1&&K(0,"b-panel-controls",11);a&2&&(a=P(2),G("panelId",a.panel.panelId))},aeb=
function(a){a&1&&(H(0,"span",12),S(1," \u00a0(changed) "),J())},beb=function(a){a&1&&(H(0,"div",6),R(1,$db,1,1,"b-panel-controls",7),H(2,"span",6),S(3," Saved search: "),H(4,"a",8)(5,"span",9),S(6),J()()(),R(7,aeb,2,0,"span",10),J());a&2&&(a=P(),C(1),G("ngIf",a.isDashboardEditable),C(3),G("href",a.paths.viewSavedSearch(a.savedSearchId),vd),C(1),Qe("matTooltip",a.resource.description),C(1),Ve(a.resource.name),C(1),G("ngIf",a.hasParamChanges()))},ceb=function(a,b){a&1&&(H(0,"span"),S(1),J());a&2&&(a=
b.ngIf,C(1),Te("Searching for ",a,"..."))},deb=function(a){a&1&&(H(0,"div",16),K(1,"b-spinner",17),R(2,ceb,2,1,"span",3),J());a&2&&(a=P(2),C(1),G("large",!1),C(1),G("ngIf",null==a.searchParams?null:a.searchParams.query))},eeb=function(a){a&1&&(H(0,"div",18),S(1," No issues in saved search. "),J())},feb=function(a){if(a&1){var b=x();H(0,"div",19)(1,"b-issues-grid",20);O("init",function(c){z(b);var d=P(2);return A(Vdb(d,c))})("focusedRowIndexChange",function(c){z(b);var d=P(2);return A(d.focusedRowIndex=
c)})("columnsChange",function(c){z(b);var d=P(2);return A(d.columnsChange(c))})("sortChange",function(c){z(b);var d=P(2);return A(d.setSort(c.field,c.direction))})("rowClick",function(c){z(b);var d=P(2);return A(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",function(){z(b);var c=P(2);return A(c.goToPage(c.page+1))})("onPrevPage",function(){z(b);var c=P(2);return A(c.goToPage(c.page-1))});J()()}a&2&&(a=P(2),C(1),G("searchResults",a.searchResults)("focusedRowIndex",a.focusedRowIndex)("columns",
a.issueColumns)("enableColumnSaving",a.isColumnSaveEnabled)("sort",a.getSort()))},geb=function(a){a&1&&(H(0,"div"),R(1,deb,3,2,"div",13),R(2,eeb,2,0,"div",14),R(3,feb,2,5,"div",15),J());a&2&&(a=P(),C(1),G("ngIf",a.isLoading),C(1),G("ngIf",!a.isLoading&&a.searchResults&&0===a.searchResults.issues.length),C(1),G("ngIf",!a.isLoading&&a.searchResults&&0!==a.searchResults.issues.length))},heb=function(a,b){a&1&&(H(0,"span",3)(1,"a",4),S(2),J()());a&2&&(a=b.$implicit,C(1),Pe("routerLink","/teams/",a.id,
"/edit"),G("preserveFragment",!0),C(1),Ve(a.name))},ieb=function(a){a&1&&(H(0,"p")(1,"span",6),S(2,"NOTE:"),J(),S(3),H(4,"a",7),S(5,"Learn more"),J()());a&2&&(a=P(),C(3),Te(" ",a.data.noteText," "),C(1),G("href",a.getDisablingFieldsHelpLink(),vd))},jeb=function(a){a&1&&(L(0),K(1,"span",26)(2,"b-icon",27),M());a&2&&(a=P(),C(1),G("innerHTML",a.menuLabel,ud))},keb=function(a){a&1&&(H(0,"div",28),S(1," This includes emails about major updates and: "),H(2,"ul",29)(3,"li"),S(4,"All title, hotlist, and status changes."),
J(),H(5,"li"),S(6,"Blocking, Blocked By, or Duplicate changes."),J(),H(7,"li"),S(8,"Changes to Reporter, Verifier, and CCs."),J(),H(9,"li"),S(10,"Changes to Type, Found In, Targeted To, Verified In, and In Prod. "),J(),H(11,"li"),S(12,"Changes to custom fields marked as minor."),J()()())},leb=function(a){a&1&&(H(0,"div",30),S(1," This includes emails about: "),H(2,"ul",29)(3,"li"),S(4,"New comments."),J(),H(5,"li"),S(6,"Priority or Severity changes."),J(),H(7,"li"),S(8,"Assignee changes."),J(),H(9,
"li"),S(10,"Component changes."),J(),H(11,"li"),S(12,"Issue closure or reopening."),J(),H(13,"li"),S(14,"Changes to custom fields marked as major."),J()()())},meb=function(a,b){a&1&&(H(0,"mat-option",6),S(1),J());a&2&&(a=b.$implicit,G("value",a),C(1),Te(" ",a.name," "))},neb=function(a){a&1&&(H(0,"span",11),S(1," (must be between 30 days and 10 years) "),J())},peb=function(a){if(a&1){var b=x();H(0,"div",12)(1,"b-duration-picker",13);O("durationDaysChange",function(c){z(b);var d=P();d.model.retentionPeriodDays=
null!==c&&void 0!==c?c:null;d.modelChange.emit(d.model);Dn(d);return A()});J();H(2,"div",14);S(3);J()()}a&2&&(a=P(),C(1),G("disabled",a.issueRetentionDisabled)("durationDays",a.model.retentionPeriodDays),C(2),Te(" Issues will be marked for deletion when they have not been modified for ",oeb(a.model.retentionPeriodDays),". "))},qeb=function(a){a&1&&(H(0,"div",15)(1,"p"),S(2,"Please note indefinite retention is not appropriate in many circumstances. Before selecting this option, you should make sure "),
H(3,"b"),S(4,"one or more"),J(),S(5," of the following is true:"),J(),H(6,"ol")(7,"li"),S(8,"There is no personal data, user data, or any other forms of sensitive data being stored."),J(),H(9,"li"),S(10,"You have a process in place to manually delete this data within an approved period of time."),J(),H(11,"li"),S(12,"Legal and Privacy have approved this non-standard retention period."),J()()())},reb=function(a){a&1&&(H(0,"span",11),S(1," (Issue Retention is shorter than default Restricted Retention) "),
J())},teb=function(a){a&1&&(H(0,"span",11),S(1),J());a&2&&(a=P(),C(1),Te(" ",seb(a)," "))},ueb=function(a){a&1&&(H(0,"div",21)(1,"p"),S(2," Please note restricted retention longer than 4 months is not appropriate in many circumstances for personal data, user data, or any other forms of sensitive data being stored. Before selecting it, you should make sure that Legal and Privacy have approved this non-standard retention period."),J()())},xeb=function(a){if(a&1){var b=x();H(0,"div",12)(1,"div")(2,"span",
16);S(3,"Restricted retention:");J();H(4,"b-duration-picker",17);O("durationDaysChange",function(c){z(b);var d=P();d.model.piiRetentionPeriodDays=null!==c&&void 0!==c?c:null;d.modelChange.emit(d.model);Dn(d);return A()});J()();H(5,"div",18)(6,"p");S(7);J()();H(8,"div")(9,"span",16);S(10,"Restricted+ retention:");J();H(11,"b-duration-picker",19);O("durationDaysChange",function(c){z(b);var d=P();d.model.spiiRetentionPeriodDays=null!==c&&void 0!==c?c:null;d.modelChange.emit(d.model);Dn(d);return A()});
J()();H(12,"div",18)(13,"p");S(14);J()();R(15,ueb,3,0,"div",20);J()}a&2&&(a=P(),C(4),G("disabled",!veb(a))("durationDays",a.model.piiRetentionPeriodDays),C(3),Te(" Restricted comments and attachments will be marked for deletion when the containing issue has not been modified for ",oeb(a.model.piiRetentionPeriodDays),". "),C(4),G("disabled",!veb(a))("durationDays",a.model.spiiRetentionPeriodDays),C(3),Te(" Restricted+ comments and attachments will be marked for deletion when the containing issue has not been modified for ",
oeb(a.model.spiiRetentionPeriodDays),". "),C(1),G("ngIf",a.model.piiRetentionSelection===a.RetentionSelection.CUSTOM_PERIOD&&web(a)))},yeb=function(a){a&1&&(H(0,"div",22)(1,"p"),S(2," Please note restricted retention longer than 4 months is not appropriate in many circumstances for personal data, user data, or any other forms of sensitive data being stored. Before selecting it, you should make sure that Legal and Privacy have approved this non-standard retention period."),J()())},Aeb=function(a,b,
c,d){var e=a.slice(0,b);e=(e=zeb(e,c))&&e.index||0;var g=a.slice(b);c=(new RegExp(d||c,"gi")).exec(g);return{val:a.slice(e,(c?c.index:g.length)+b),idx:e}},zeb=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},En=function(a,b){return(void 0===b?0:b)?-1<a.search(/^\d+\+?$/):-1<a.search(/^\d+$/)},Beb=function(a){return"-"===a.charAt(0)?{negated:!0,token:a.slice(1)}:{negated:!1,token:a}},Fn=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?Jg(q,e):ha(q,e):!1});b=b.idx;for(var g=b+e.length,h=k(a),l=h.next();!l.done;l=h.next())l=l.value.completionCfg,l.startIdx=b,l.endIdx=g,l.matchingString=e;return a},Gn=function(a,b,c,d){return{trackId:b+":"+a,name:a,id:a,label:c,completionCfg:{enableShadowPlaceholder:!0,completionValue:a,type:d}}},Eeb=function(a,b){if(a&1){var c=x();H(0,"div",9)(1,"div",10);O("click",function(d){var e=z(c).$implicit,g=P();e=e.key;
if(d=void 0===d?null:d)d.preventDefault(),d.stopPropagation();d=g.options.propertyValues[e];d.value=!d.value;Ceb(g);Deb(g);g.optionsChange.emit(g.options);return A()});H(2,"mat-checkbox",11);O("change",function(d){var e=z(c).$implicit,g=P();e.value.value=d.checked;Ceb(g);Deb(g);g.optionsChange.emit(g.options);return A()})("click",function(d){return d.stopPropagation()});S(3);J()()()}a&2&&(a=b.$implicit,Ae("aria-checked",a.value.value),C(2),G("checked",a.value.value),C(1),Te(" ",a.value.displayString,
" "))},Feb=function(a){a&1&&(H(0,"div",12),S(1),J());a&2&&(a=P(),C(1),Te(" ",a.errorString," "))},Heb=function(a){if(a&1){var b=x();H(0,"span",4)(1,"input",5);O("ngModelChange",function(c){z(b);var d=P(2);return A(d.businessDayString=c)})("ngModelChange",function(){z(b);var c=P(2);return A(Geb(c))});J();H(2,"span",8);S(3,"days,");J()()}a&2&&(a=P(2),C(1),Ie("ng-invalid",!!a.errorString),G("ngModel",a.businessDayString))},Jeb=function(a,b){a&1&&(H(0,"mat-option",9),S(1),J());a&2&&(a=b.$implicit,b=P(2),
G("value",a),C(1),Te(" ",Ieb(b,a)," "))},Qeb=function(a){if(a&1){var b=x();H(0,"span",2);R(1,Heb,4,3,"span",3);H(2,"span",4)(3,"input",5);O("ngModelChange",function(c){z(b);var d=P();return A(d.intervalString=c)})("ngModelChange",function(){z(b);var c=P();return A(Geb(c))});J();H(4,"mat-select",6);O("ngModelChange",function(c){z(b);var d=P();return A(d.intervalUnit=c)})("selectionChange",function(){z(b);var c=P();Keb(c);Leb(c);return A()});R(5,Jeb,2,2,"mat-option",7);J()()()}a&2&&(a=P(),C(1),G("ngIf",
Meb(a)),C(2),Ie("invalid",!!a.errorString),G("ngModel",a.intervalString),C(1),G("ngModel",a.intervalUnit),C(1),G("ngForOf",Meb(a)?[Neb,Oeb]:[Neb,Oeb,Peb]))},Reb=function(a){a&1&&(H(0,"span",13),S(1),J());a&2&&(a=P(2),C(1),We(" ",a.objectiveBusinessDays," day",1!=a.objectiveBusinessDays?"s":""," "))},Seb=function(a){a&1&&(H(0,"span"),S(1,", "),J())},Teb=function(a){a&1&&(H(0,"span"),R(1,Seb,2,0,"span",12),H(2,"span"),S(3),J()());a&2&&(a=P(2),C(1),G("ngIf",a.objectiveBusinessDays),C(2),We("",a.intervalString,
" ",Ieb(a,a.intervalUnit),""))},Ueb=function(a){a&1&&(H(0,"span",10),R(1,Reb,2,2,"span",11),R(2,Teb,4,3,"span",12),J());a&2&&(a=P(),C(1),G("ngIf",a.objectiveBusinessDays),C(1),G("ngIf",a.intervalString&&"0"!=a.intervalString))},Web=function(a){if(a&1){var b=x();H(0,"b-icon",22);O("click",function(){z(b);var c=P(2);return A(Veb(c,0))});J()}a&2&&G("name","add")("size","small")},Yeb=function(a){if(a&1){var b=x();H(0,"span",17)(1,"span",18)(2,"span",19);R(3,Web,1,2,"b-icon",20);J();H(4,"span",19)(5,"b-icon",
21);O("click",function(c){z(b);var d=P();return A(Xeb(d,c))});J()()()()}a&2&&(a=P(),C(3),G("ngIf",a.canPerformActions),C(2),G("name","delete")("size","small"))},Zeb=function(a){a&1&&K(0,"td",42)},$eb=function(a){if(a&1){var b=x();H(0,"td",43)(1,"slo-element-property-picker",44);O("optionsChange",function(c){z(b);var d=P().$implicit;return A(d.typePickerValues=c)});J()()}a&2&&(a=P().$implicit,C(1),G("selectAllText","Any type")("validator",a.validateTypePicker)("options",a.typePickerValues))},afb=function(a){if(a&
1){var b=x();H(0,"td",45)(1,"slo-element-property-picker",46);O("optionsChange",function(c){z(b);var d=P().$implicit;return A(d.priorityPickerValues=c)});J()()}a&2&&(a=P().$implicit,C(1),G("selectAllText","Any priority")("validator",a.validatePriorityPicker)("options",a.priorityPickerValues))},bfb=function(a){if(a&1){var b=x();H(0,"td",47)(1,"slo-element-property-picker",48);O("optionsChange",function(d){z(b);var e=P().$implicit;return A(e.postmortemPickerValues=d)});J()()}if(a&2){a=P().$implicit;
var c=P(2);C(1);G("selectAllText",c.postmortemAllSummaryValue)("validator",a.validatePostmortemPicker)("options",a.postmortemPickerValues)}},dfb=function(a,b){a&1&&(H(0,"mat-option",53),S(1),J());a&2&&(a=b.$implicit,P(4),G("value",a),C(1),Te(" ",cfb(a)," "))},efb=function(a){if(a&1){var b=x();H(0,"td",49)(1,"mat-form-field",50)(2,"mat-select",51);O("ngModelChange",function(d){z(b);var e=P().$implicit;return A(e.selectedMetric=d)});R(3,dfb,2,2,"mat-option",52);J()()()}if(a&2){a=P().$implicit;var c=
P(2);C(2);G("ngModel",a.selectedMetric)("customValidators",a.metricValidators);C(1);G("ngForOf",c.metricChoices)}},ffb=function(a){if(a&1){var b=x();H(0,"td",54)(1,"slo-objective-selector",55);O("objectiveDurationChange",function(c){z(b);var d=P().$implicit;return A(d.selectedObjectiveDuration=c)})("objectiveBusinessDaysChange",function(c){z(b);var d=P().$implicit;return A(d.selectedObjectiveBusinessDays=c)});J()()}a&2&&(a=P().$implicit,C(1),G("dayType",a.selectedDayType)("objectiveDuration",a.selectedObjectiveDuration)("objectiveBusinessDays",
a.selectedObjectiveBusinessDays)("validator",a.validateObjective))},hfb=function(a,b){a&1&&(H(0,"mat-option",53),S(1),J());a&2&&(a=b.$implicit,P(4),G("value",a),C(1),Te(" ",gfb.get(a||"CALENDAR")," "))},ifb=function(a){if(a&1){var b=x();H(0,"td",56)(1,"mat-form-field",57)(2,"mat-select",58);O("ngModelChange",function(d){z(b);var e=P().$implicit;return A(e.selectedDayType=d)})("selectionChange",function(){z(b);var d=P().$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 A()});R(3,hfb,2,2,"mat-option",52);J()()()}if(a&2){a=P().$implicit;var c=P(2);C(2);G("ngModel",a.selectedDayType);C(1);G("ngForOf",c.dayTypes)}},mfb=function(a){if(a&1){var b=x();H(0,"td",59)(1,"span",18)(2,"span",19)(3,
"b-icon",60);O("click",function(){z(b);var c=P(3);if(c.openRow)if(c.openRow.isValid())jfb(c.openRow.typePickerValues)&&jfb(c.openRow.priorityPickerValues)&&jfb(c.openRow.postmortemPickerValues)?c.confirmationDialogService.open({title:"SLO validation error",content:yl("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}):kfb(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:yl('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 A()});J()();H(4,
"span",19)(5,"b-icon",61);O("click",function(){z(b);var c=P().$implicit,d=P(2);return A(lfb(d,c))});J()()()()}a&2&&(C(3),G("name","done")("size","small"),C(2),G("name","delete")("size","small"))},nfb=function(a){a&1&&K(0,"td",62)},ofb=function(a){a&1&&(H(0,"div"),S(1),J());a&2&&(a=P(2).$implicit,C(1),Te("ERROR: ",a.parseResult.error,""))},pfb=function(a,b){a&1&&(H(0,"span",68)(1,"span",69),S(2),J()());a&2&&(a=b.$implicit,C(2),Ve(a))},rfb=function(a){a&1&&(H(0,"span",66),R(1,pfb,3,1,"span",67),J());
if(a&2){a=P(2).$implicit;C(1);if(0===a.parseResult.types.length)a=["Any"];else{for(var b=[],c=k(a.controllerReference.sloParseService.jspbTypeToString.keys()),d=c.next();!d.done;d=c.next())d=d.value,a.parseResult.types.includes(d)&&b.push(qfb(a.controllerReference,d));a=b}G("ngForOf",a)}},sfb=function(a){a&1&&(H(0,"td",63),R(1,ofb,2,1,"div",64),R(2,rfb,2,1,"span",65),J());a&2&&(a=P().$implicit,C(1),G("ngIf",a.parseResult.error),C(1),G("ngIf",!a.parseResult.error))},tfb=function(a){a&1&&(H(0,"div"),
S(1),J());a&2&&(a=P(2).$implicit,C(1),Te("ERROR: ",a.parseResult.error,""))},ufb=function(a,b){a&1&&(H(0,"span",68)(1,"span",69),S(2),J()());a&2&&(a=b.$implicit,C(2),Ve(a))},wfb=function(a){a&1&&(H(0,"span",66),R(1,ufb,3,1,"span",67),J());if(a&2){a=P(2).$implicit;C(1);if(0===a.parseResult.priorities.length)a=["Any"];else{for(var b=[],c=k(a.controllerReference.sloParseService.jspbPriorityToString.keys()),d=c.next();!d.done;d=c.next())d=d.value,a.parseResult.priorities.includes(d)&&b.push(vfb(a.controllerReference,
d));a=b}G("ngForOf",a)}},xfb=function(a){a&1&&(H(0,"td",70),R(1,tfb,2,1,"div",64),R(2,wfb,2,1,"span",65),J());a&2&&(a=P().$implicit,C(1),G("ngIf",a.parseResult.error),C(1),G("ngIf",!a.parseResult.error))},yfb=function(a){a&1&&(H(0,"div"),S(1),J());a&2&&(a=P(2).$implicit,C(1),Te("ERROR: ",a.parseResult.error,""))},zfb=function(a,b){a&1&&(H(0,"span",68)(1,"span",69),S(2),J()());a&2&&(a=b.$implicit,C(2),Ve(a))},Afb=function(a){a&1&&(H(0,"span",66),R(1,zfb,3,1,"span",67),J());if(a&2){a=P(2).$implicit;
C(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)}},Bfb=function(a){a&1&&(H(0,"td",71),R(1,yfb,2,1,"div",64),R(2,Afb,2,1,"span",65),J());a&2&&(a=P().$implicit,C(1),G("ngIf",a.parseResult.error),C(1),G("ngIf",!a.parseResult.error))},Cfb=function(a){a&1&&(H(0,"td",72),S(1),J());a&2&&(a=P().$implicit,P(2),C(1),Te(" ",cfb(a.sloElement.metric),
" "))},Dfb=function(a){if(a&1){var b=x();H(0,"td",73)(1,"slo-objective-selector",74);O("objectiveDurationChange",function(c){z(b);var d=P().$implicit;return A(d.selectedObjectiveDuration=c)})("objectiveBusinessDaysChange",function(c){z(b);var d=P().$implicit;return A(d.selectedObjectiveBusinessDays=c)});J()()}a&2&&(a=P().$implicit,C(1),G("dayType",a.selectedDayType)("objectiveDuration",a.selectedObjectiveDuration)("objectiveBusinessDays",a.selectedObjectiveBusinessDays)("isDisabled",!a.isEditingInternal))},
Efb=function(a){a&1&&(H(0,"td",75),S(1),J());a&2&&(a=P().$implicit,P(2),C(1),Te(" ",gfb.get(a.sloElement.dayType||"CALENDAR")," "))},Gfb=function(a){if(a&1){var b=x();H(0,"b-icon",85);O("click",function(c){z(b);var d=P(2).$implicit,e=P(2);return A(Ffb(e,d,c))});J()}a&2&&G("name","edit")("size","small")},Hfb=function(a){a&1&&K(0,"b-icon",86);if(a&2){P();var b=Se(8);G("name","more-settings-vertical")("size","small")("matMenuTriggerFor",b)}},Jfb=function(a){if(a&1){var b=x();H(0,"button",87);O("click",
function(){z(b);var c=P(2).$implicit,d=P(2);return A(Ifb(d,c,1))});S(1," Move row down ");J()}},Kfb=function(a){if(a&1){var b=x();H(0,"button",88);O("click",function(){z(b);var c=P(2).$implicit,d=P(2);return A(Ifb(d,c,-1))});S(1," Move row up ");J()}},Mfb=function(a){if(a&1){var b=x();H(0,"td",76)(1,"span",18)(2,"span",19);R(3,Gfb,1,2,"b-icon",77);J();H(4,"span",19)(5,"span");R(6,Hfb,1,3,"b-icon",78);J();H(7,"mat-menu",null,79);R(9,Jfb,2,0,"button",80);R(10,Kfb,2,0,"button",81);H(11,"button",82);
O("click",function(){z(b);var d=P().$implicit,e=P(2);Veb(e,e.collection.indexOf(d)+1);return A()});S(12," Add row below ");J();H(13,"button",83);O("click",function(){z(b);var d=P().$implicit,e=P(2);Veb(e,e.collection.indexOf(d));return A()});S(14," Add row above ");J();H(15,"button",84);O("click",function(){z(b);var d=P().$implicit,e=P(2);return A(lfb(e,d))});S(16," Remove ");J()()()()()}if(a&2){a=P().$implicit;var c=P(2);C(3);G("ngIf",a.canEdit);C(3);G("ngIf",a.canEdit);C(3);G("ngIf",Lfb(c,a,1).valid);
C(1);G("ngIf",Lfb(c,a,-1).valid)}},Nfb=function(a,b){a&1&&(H(0,"tr",25),R(1,Zeb,1,0,"td",26),R(2,$eb,2,3,"td",27),R(3,afb,2,3,"td",28),R(4,bfb,2,3,"td",29),R(5,efb,4,3,"td",30),R(6,ffb,2,4,"td",31),R(7,ifb,4,2,"td",32),R(8,mfb,6,4,"td",33),R(9,nfb,1,0,"td",34),R(10,sfb,3,2,"td",35),R(11,xfb,3,2,"td",36),R(12,Bfb,3,2,"td",37),R(13,Cfb,2,1,"td",38),R(14,Dfb,2,4,"td",39),R(15,Efb,2,1,"td",40),R(16,Mfb,17,4,"td",41),J());a&2&&(a=b.$implicit,b=P(2),Ie("draggable",!b.isDisabled&&null==b.openRow),C(1),G("ngIf",
a.isEditingInternal),C(1),G("ngIf",a.isEditingInternal),C(1),G("ngIf",a.isEditingInternal),C(1),G("ngIf",a.isEditingInternal),C(1),G("ngIf",a.isEditingInternal),C(1),G("ngIf",a.isEditingInternal),C(1),G("ngIf",a.isEditingInternal),C(1),G("ngIf",a.isEditingInternal),C(1),G("ngIf",!a.isEditingInternal),C(1),G("ngIf",!a.isEditingInternal),C(1),G("ngIf",!a.isEditingInternal),C(1),G("ngIf",!a.isEditingInternal),C(1),G("ngIf",!a.isEditingInternal),C(1),G("ngIf",!a.isEditingInternal),C(1),G("ngIf",!a.isEditingInternal),
C(1),G("ngIf",!a.isEditingInternal))},Ofb=function(a){if(a&1){var b=x();H(0,"tbody",23);O("cdkDropListDropped",function(c){z(b);var d=P();return A(d.onDrop(c))});R(1,Nfb,17,18,"tr",24);J()}a&2&&(a=P(),G("cdkDropListData",a.collection)("cdkDropListDisabled",a.isDisabled||null!=a.openRow),C(1),G("ngForOf",a.collection))},Pfb=function(a){a&1&&(H(0,"div",89),S(1," There are currently no rules for this SLO "),J())},Qfb=function(a,b){if(a&1){var c=x();H(0,"tr",7);O("click",function(){var e=z(c).$implicit,
g=P();return A(g.editSlo(e))})("focus",function(){var e=z(c).index,g=P();return A(g.setFocusOnIndex(e))});K(1,"td",2);H(2,"td",8)(3,"a",9);O("click",function(e){return e.stopPropagation()});S(4);J()();H(5,"td",10);S(6);J()()}if(a&2){a=b.$implicit;b=b.index;var d=P();Ie("grid-focus",d.isFocused(b));Ae("aria-selected",d.isFocused(b))("aria-label",d.renderRowLabel(b));C(3);G("href",d.paths.editSlo(a.sloId),vd);C(1);Te(" ",a.name," ");C(2);Te(" ",a.description," ")}},Rfb=function(a){if(a)return(Array.isArray(a)?
a.map(function(b){return Ig(b)}):[Ig(a)]).filter(function(b){return!isNaN(b)})},Sfb=function(a,b){if(b&&!Array.isArray(b))return a.find(function(c){return!Hn(c,b)})},Tfb=function(a,b){"string"===typeof a&&(a=a.trim())&&b(Yg(a))},Ufb=function(a,b){if(!a)return[];a=k("string"===typeof a?a.split(","):a);for(var c=a.next();!c.done;c=a.next())Tfb(c.value,function(d){return b.push(d)});return esa(b)},Vfb=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("pe");}},Wfb=function(a,b,c){b=[b,c].map(function(d){return null!=d?d:""}).join(";");a.setAttribute("pkd-ac-state",String(Kf(b)))},Xfb=function(a,b){b=[String(b.getId()),b.getValue()].join(";");a.setAttribute("pkd-target",String(Kf(b)))},Yfb=function(a,b){a.setAttribute("pkd-ps-state",String(Kf("1")));b.warmUpCache().then(function(){a.setAttribute("pkd-ps-state",String(Kf("2")))},function(){a.setAttribute("pkd-ps-state",
String(Kf("3")))})},bgb=function(a){var b=Mm(Zfb,{id:In($fb)});a.appendChild(b);return new agb(b)},cgb=function(a,b,c){var d=Math.max(b,c);return a>Math.min(b,c)&&a<d},egb=function(a,b,c){return new Jn(new dgb(void 0===a?0:a,null!=b?b:[],null!=c?c:null))},fgb=function(a,b,c,d){if(a){var e="";c&&c.length&&(e="; track:"+c.join(",").trim());c="";d&&d.length&&(c="; "+d.join("; ").trim());a.setAttribute("jslog",b+e+c);a.LSWHIf=void 0}},ggb=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},igb=function(a){var b=a.getCaller(),c=a.getClient();a=a.getRequestType();return b&&c&&a?JSON.stringify([b.serialize(),c.serialize(),a]):null},jgb=function(a){var b=new Kn;if(a instanceof Ln)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},kgb=function(a){a=void 0===a?null:a;var b=(new Mn).setExperimentFlags(new Nn).setSource(3);a&&b.setError(jgb(a));return b},ugb=function(a){var b=void 0===b?new lgb:b;if(mgb)return mgb;var c=new ngb(a),d=new ogb(a);if(b.storage_)try{b.storage_.setItem("__sak","1");b.storage_.removeItem("__sak");var e=!0}catch(g){e=!1}else e=!1;b=e?new pgb(a,b):new qgb(a);b.clean();
c=new rgb(new sgb(b,c),d);return mgb=new tgb(a,c)},On=function(a){if(a=a.getAttribute("pk-log")){var b=k(a.split(";"));a=b.next().value;var c=b.next().value,d=b.next().value;b=b.next().value;return{id:a,veid:Number(c),action:d.split(","),pairs:b.split(",")}}return null},Pn=function(a,b,c,d){d=void 0===d?[]:d;vgb()?(fgb(a,b,c,d),b=a.getAttribute("jslog").concat("; cid:peopleweb"),a.setAttribute("jslog",b)):(d=void 0===d?[]:d,b=[In(wgb),b,c.join(","),d.join(",")].join(";"),b=Kf(b),a.setAttribute("pk-log",
String(b)))},ygb=function(a){var b;return Object.freeze({id:"ENOWEf",iconUrl:null==(b=xgb.get(a))?void 0:b.get("ENOWEf"),label:"Hide suggestion",keyboardShortcut:[],veid:181476})},zgb=function(a){return a.map(function(b){if(Qn)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)}})},Cgb=function(a,b){var c=In(Rn.getInstance()),d=Object,
e=d.assign;c=c+":"+a.id;var g=zgb(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("re`"+b);}d=Mm(Agb,e.call(d,{},a,{id:c,keyboardShortcut:g,densityClass:b}));a.veid&&Pn(d,a.veid,["impression","pk-click"]);return new Bgb(d,a)},Fgb=function(a){var b=new Dgb([]);return new Egb(a,b)},Sn=function(a,b){return a.querySelector('[peoplekit-id="'+
b+'"]')},Ggb=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"))})},Un=function(a){return new Tn(a)},Hgb=function(a,b){b=b.ownerDocument.createEvent("CustomEvent");b.initEvent(a,!0,!0);return b},Jgb=function(a,b){return new Igb(a,b)},Sgb=function(a,b,c,d,e){var g=Kgb(c),h=Lgb(a),l=Mgb(a);l&&h.intersection(Ngb(l));Ogb(h,
Lm(a),Lm(c));a=Pgb(a,b);b=h.left;a&4?b+=h.width:a&2&&(b+=h.width/2);h=new Vn(b,h.top+(a&1?h.height:0));h=Qgb(h,g);a=Pgb(c,d);h=Rgb(h,Wn(c),a).rect;c=Mgb(c);c.top-=g.y;c.right-=g.x;c.bottom-=g.y;c.left-=g.x;g=h;g.left<c.left?g.left=c.left:g.left+g.width>c.right&&(g.left=c.right-g.width);h=g;e&&(e=h,d&1?e.top<c.top&&(d=c.top-e.top,e.top+=d,e.height-=d):(d=e.top+e.height,d>c.bottom&&(e.height-=d-c.bottom)),h=e);return h},Vgb=function(a,b){Xn(a,new Vn(b.left,b.top));b=b.getSize();Tgb(Wn(a),b)||Ugb(a,
b)},Wgb=function(a,b,c){return new Yn(a,b,c)},Xgb=function(a){return Hgb("pk-click",a)},$gb=function(a,b,c,d){var e=Mm(Ygb);Pn(e,28041,["impression"]);var g=new Zgb(e);a.appendChild(e);return new Zn(e,b,c,g,d)},chb=function(a,b){b=Mm(ahb,{label:b.label});a.appendChild(b);return new bhb(b)},ehb=function(a,b){for(var c=k(["peoplekitThemeLight","peoplekitThemeDark"]),d=c.next();!d.done;d=c.next())a.classList.remove(d.value);(b=dhb.get(b))&&a.classList.add(b)},hhb=function(a,b,c,d){b=Mm(fhb,{content:b,
header:d});a.appendChild(b);a=chb(Sn(b,"TvD9Pc"),{label:"Close"});ehb(b,c.getTheme());return new ghb(b,a)},jhb=function(a,b){var c=ihb({header:"Couldn't hide suggestion"});var d=$n("<div>There was a problem and this person could not be hidden</div>");return hhb(a,d,b,c)},khb=function(a,b){var c=ihb({header:"Couldn't hide suggestion"});var d=$n("<div>Groups of 2 or more people can't be hidden</div>");return hhb(a,d,b,c)},lhb=function(a,b){var c=ihb({header:"Couldn't show suggestion"});var d=$n("<div>There was a problem and this person could not be shown in suggestions</div>");
return hhb(a,d,b,c)},mhb=function(a){var b=new Image;b.src=a;a=b.complete;b.src="";return a},qhb=function(a,b,c,d,e,g){e=void 0===e?new ao:e;g=void 0===g?"":g;b=Mm(nhb,{imageUrls:b.map(function(h){return h||"https://lh3.googleusercontent.com/a/default-user"}),backupUrl:g||"https://lh3.googleusercontent.com/a/default-user",size:c,preloadSize:d,pixelRatio:ohb()});e=new phb(b,e);a.appendChild(b);return e},shb=function(a,b){var c="",d=0;b=k(b);for(var e=b.next();!e.done;e=b.next())e=e.value,c=c+a.substring(d,
e.getStart())+"#\ufe0f\u20e3\u20e31\ufe0f\u20e3\u20e3"+a.substring(e.getStart(),e.getEnd())+"2\ufe0f\u20e3\u20e3*\ufe0f\u20e3\u20e3",d=e.getEnd();c+=a.substring(d,a.length);return rhb(rhb(mn(c),"#\ufe0f\u20e3\u20e31\ufe0f\u20e3\u20e3","<b>"),"2\ufe0f\u20e3\u20e3*\ufe0f\u20e3\u20e3","</b>")},thb=function(a){var b=a.getDisplayName();return b?shb(b,a.getMatchInfo().getDisplayNameMatches()):""},uhb=function(a){var b=a.getDisplayValue();return b?shb(b,a.getMatchInfo().getDisplayValueMatches()):""},vhb=
function(a,b){var c=b?thb(a):mn(a.getDisplayName());b=b?uhb(a):mn(a.getDisplayValue());c=c||b;b=b||mn(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()]}},zhb=function(a,b,c,d){var e=b.result().getMemberList();1===e.length?(b=vhb(e[0],!1),b={hovercardId:b.hovercardId,label:b.label,sublabel:b.sublabel,name:"",photos:b.photos}):(e=b.result(),e=vhb(e,!1),b=b.getDisplayNameWithOverrideApplied(),
b={label:mn(b)||e.sublabel,sublabel:e.sublabel,name:b,photos:e.photos,hovercardId:e.hovercardId});var g=b.hovercardId,h=b.name;var l=b.label;var q=b.sublabel;e=$n;g='<div peoplekit-id="'+bo("tJHJj")+'" class="'+bo("peoplekitComponentsHideconfirmationdialogImplHeader")+'" data-hovercard-id="'+bo(g)+'" data-name="'+bo(h)+'"><div class="'+bo("peoplekitComponentsHideconfirmationdialogImplHeaderRow")+'"><div class="'+bo("peoplekitComponentsHideconfirmationdialogImplLeft")+'">';h=$n('<div class="'+bo("peoplekitComponentsHideconfirmationdialogImplAvatar")+
'"><div class="'+bo("peoplekitComponentsHideconfirmationdialogImplAvatarContainer")+'" peoplekit-id="'+bo("d6MZcd")+'"></div></div>');g=g+h+'</div><div class="'+bo("peoplekitComponentsHideconfirmationdialogImplCenter")+'">';l=$n('<div class="'+bo("peoplekitComponentsHideconfirmationdialogImplLabelContainer")+'"><div peoplekit-id="'+bo("E0kCZc")+'" class="'+bo("peoplekitComponentsHideconfirmationdialogImplLabel")+" "+bo("peoplekitComponentsHideconfirmationdialogImplLabelRow")+'" translate="no">'+co(eo(l))+
"</div>"+(q?'<div class="'+bo("peoplekitComponentsHideconfirmationdialogImplSublabel")+" "+bo("peoplekitComponentsHideconfirmationdialogImplLabelRow")+'" translate="no">'+co(eo(q))+"</div>":"")+"</div>");l=e(g+l+"</div></div></div>");e=0===d?"Hide":"Show";q='<div peoplekit-id="'+bo("bN97Pc")+'" class="'+bo("peoplekitComponentsHideconfirmationdialogImplContent")+'"><div class="'+bo("peoplekitComponentsHideconfirmationdialogImplHeadline")+'">';q=(0==d?q+"Hide Suggestion?":q+"Show Suggestion?")+('</div><div class="'+
bo("peoplekitComponentsHideconfirmationdialogImplDescription")+'">');d=$n((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=Mm(whb,{content:d,header:l});a.appendChild(d);a=chb(Sn(d,"IbE0S"),{label:"Cancel"});l=l={confirmButtonText:e};l=l.confirmButtonText;q="";switch(ta(l)?l.toString():l){case "Confirm":q+="Confirm";break;case "Hide":q+="Hide";break;case "Show":q+="Show";break;default:q+="Apply"}l=
chb(Sn(d,"McfNlf"),{label:q});ehb(d,c.getTheme());q=l.getRoot();switch(e){case "Hide":Pn(q,131909,["pk-click","impression"]);break;case "Show":Pn(q,131910,["pk-click","impression"])}a=new xhb(d,a,l);d=Sn(a.getRoot(),"d6MZcd");qhb(d,b.photos,36,36,c);return new yhb(a)},Ahb=function(a){switch(a){case 0:return 40;case 1:return 32;case 2:return 28;default:throw Error("re`"+a);}},Bhb=function(a){switch(a){case 0:return"googleMaterialDefaultDensity";case 1:return"workspaceMaterialComfortableDensity";case 2:return"workspaceMaterialCompactDensity";
default:throw Error("re`"+a);}},Dhb=function(a,b,c,d){var e=vhb(a,!0);a=Chb(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}},Chb=function(a,b,c,d){var e=[];vi(fo.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:In(Ehb),hovercardId:b.hovercardId,label:b.label,sublabel:b.sublabel,photos:b.photos,densityClass:d,tags:e,allowSublabelTranslation:!1}},Hhb=function(a,b,c){var d="",e=mn(a.getDescription()),g=!1,h=a.getMemberList().length;if(1<h||a.getDisplayName())d=a.getMemberList().map(function(l){var q="";if(l.getPrimaryTarget().getName()){var v,y;(q=(q=null==(v=l.getPrimaryTarget())?
void 0:null==(y=v.getName())?void 0:y.getGivenName())?shb(q,l.getMatchInfo().getGivenNameMatches()):"")||(q=thb(l))}q||(q=uhb(l));return q}),b&&(d=d.reverse()),d=thb(a)||Fhb({memberNames:d}),e||c||null===a.getTotalMemberCount()||(e=Number(a.getTotalMemberCount()),e=Ghb({memberCount:e}),g=!0);else if(1===h)return d=a.getMemberList()[0],e=vhb(d,!0),Object.assign({},e,{type:a.getPrimaryTarget().getTargetType(),flatResult:d,allowSublabelTranslation:!1});b=a.getPhotoUrl();b=a.getDisplayName()&&b?[b]:a.getMemberList().map(function(l){return l.getPhotoUrl()});
return{hovercardId:"",label:d,sublabel:e,type:a.getPrimaryTarget().getTargetType(),photos:b,allowSublabelTranslation:g}},Jhb=function(a,b,c,d,e,g){a=Hhb(a,d,e);if(a.flatResult)return g=Chb(a.flatResult,a,b,g),b=g.sublabel,d=g.allowSublabelTranslation,c.customSublabel&&(b=c.customSublabel.sublabel,d=c.customSublabel.shouldAllowTranslation),{id:g.id,hovercardId:g.hovercardId,label:g.label,sublabel:c.shouldHideSublabel?"":b,photos:g.photos,densityClass:g.densityClass,tags:g.tags,type:a.type,allowSublabelTranslation:d};
b=a.sublabel;d=a.allowSublabelTranslation;c.customSublabel&&(b=c.customSublabel.sublabel,d=c.customSublabel.shouldAllowTranslation);return{id:In(Ihb),hovercardId:a.hovercardId,label:a.label,sublabel:c.shouldHideSublabel?"":b,type:a.type,photos:a.photos,densityClass:g,tags:[],allowSublabelTranslation:d}},Lhb=function(a,b,c,d,e,g){return new Khb(a,b,c,d,e,g)},Nhb=function(a,b){return new Mhb(a,void 0===b?"":b)},Ohb=function(a){var b=-1;(a=go(a))&&qj(a,2)&&(b=Ag(a,2,0));return"index:"+b},Uhb=function(a,
b){var c=Mm(Phb,{icon:b.icon,tooltipLabel:b.tooltipLabel,ariaLabel:b.ariaLabel});a.appendChild(c);var d=c.classList,e=d.add;a:{var g=b.density||0;switch(g){case 0:g="googleMaterialDefaultDensity";break a;case 1:g="workspaceMaterialComfortableDensity";break a;case 2:g="workspaceMaterialCompactDensity";break a;default:throw Error("re`"+g);}}e.call(d,g);if(b.tooltipLabel){e=c.getAttribute("data-tooltip-id")||"";d={label:b.tooltipLabel,ariaLabel:b.ariaLabel};e=Mm(Qhb,{label:d.label,id:e,ariaLabel:d.ariaLabel});
a.appendChild(e);var h=new Rhb(e,d.showDelayMs,d.hideDelayMs);Shb(h,c)}return new Thb(c,b.icon,b.disabledIcon,h,b.disableNavigationFocus,b.onClick)},Whb=function(a,b,c,d){var e=Object.assign({},c);e.onClick=function(g){d.select(a.getSelection(),1);var h;null==(h=c.onClick)||h.call(c,g)};return new Vhb(a,b,e)},Zhb=function(a,b){var c=(new Xhb).filterResult(b.result)===b.result;vi(b.clientConfig.internal,7,!1)&&c?a=new Yhb(a,b.appearanceConfig,b.clientConfig,b.interactions):b.resultCustomization.secondaryActionButtonConfig&&
(a=Whb(a,b.appearanceConfig,b.resultCustomization.secondaryActionButtonConfig,b.interactions));return a},aib=function(a,b){var c=(new Xhb).filterResult(b.result)===b.result;vi(b.clientConfig.internal,7,!1)&&!c&&(a=new $hb(a,b.appearanceConfig,b.clientConfig,b.result));return a},fib=function(){return function(a){var b=a.result;var c=a.selectionsState;var d=a.resultConfig,e=a.appearanceConfig,g=a.resultCustomization,h=Dhb(b,d,g,Bhb(e.getDensity())),l=Mm(bib,h);Pn(l,25285,["impression","pk-select","pk-deselect"],
[Ohb(b.getPrimaryTarget().getLoggingToken())]);var q=Sn(l,"d6MZcd"),v=Ahb(e.getDensity()),y;g=null!=(y=g.backupAvatarUrl)?y:"";e=qhb(q,h.photos,v,v,e,g);b=new cib(l,b,c,d,h.tags,e);c=new dib(new eib(b,c));return aib(Zhb(c,a),a)}},jib=function(a){return function(b){var c=b.result,d=b.resultConfig,e=b.appearanceConfig,g=b.clientConfig,h=b.resultCustomization;b=b.isRightToLeft;var l=c.getPrimaryTarget().getId();g=ho(l)||gib(l)?Jhb(c,d,h,b,vi(g.internal,6,!1),Bhb(e.getDensity())):Dhb(c,d,h,Bhb(e.getDensity()));
b=Object;l=b.assign;a:switch(a){case 1:var q=$n('<div class="'+bo("peoplekitComponentsResultlistitemDisabledIconIndicator")+'" aria-label="'+bo(". Already selected")+'">'+$n('<svg xmlns="http://www.w3.org/2000/svg" height="18px" viewBox="0 0 24 24" width="18px" class="'+(bo("peoplekitComponentsResultlistitemDisabledSelectedIcon")+'"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"/></svg>'))+"</div>");break a;case 2:q=$n("");break a;default:q='<div class="'+
bo("peoplekitComponentsResultlistitemDisabledTextIndicator")+'">',q=$n(q+"DISABLED</div>")}b=Mm(hib,l.call(b,{},g,{disableReason:q}));l=Sn(b,"d6MZcd");q=Ahb(e.getDensity());var v;h=null!=(v=h.backupAvatarUrl)?v:"";e=qhb(l,g.photos,q,q,e,h);return new iib(b,c,d,g.tags,e)}},lib=function(a,b,c,d,e,g,h,l){b=d.getResultCustomizationCallback()(a,b);var q=!!c.get(a.getPrimaryTarget().getId());if(b.shouldDisable)q=6;else{var v=a.getPrimaryTarget().getId();q=gib(v)?3:ho(v)?2:q&&!d.getAllowResultDeselection()?
5:1===a.getTargetList().length?1:1<a.getTargetList().length?4:0}q=kib.get(q);if(!q)throw Error("Ce");return q({result:a,selectionsState:c,resultConfig:d,appearanceConfig:e,clientConfig:g,isRightToLeft:h,interactions:l,resultCustomization:b})},qib=function(a,b,c){b=Mm(mib,{iconSize:b.iconSize,padding:b.padding});a.appendChild(b);a=Sn(b,"lLe7uf");var d=Sn(b,"DN7cSe");c=Mm(nib,{learnMoreMessage:c.learnMoreMessage,learnMoreUrl:c.learnMoreUrl,learnMoreLinkText:c.learnMoreLinkText});a.appendChild(c);c=
new oib(c,d);return new pib(b,c)},tib=function(a){var b=In(Rn.getInstance());b=Mm(rib,{id:b,header:a});return new sib(b,a)},vib=function(a,b,c){return new uib(a,b,c)},xib=function(a,b,c){return(b=b.getGroupName(c))?new wib(a,b):a},Aib=function(a,b,c){b=b.getGroupName(c);c=yib();return b&&c.infoGroupConfig?new zib(a,c.infoGroupConfig):a},Bib=function(a,b,c){b=b.getGroupName(c);c=yib();return b&&c.collapsibleGroupConfig?new jo(a,c.collapsibleGroupConfig):a},Eib=function(a,b,c,d,e,g,h,l){h=Mm(Cib,{header:h||
""});a.appendChild(h);a=bgb(Sn(h,"tjneg"));return{resultList:new Dib(a,b,c,d,e,g,l),list:a}},Hib=function(a,b,c,d,e,g,h,l,q){a=Eib(a,b,c,d,e,l,q,g);b=a.resultList;b=new Fib(b,a.list,h);return new Gib(b,g)},Jib=function(a,b){return new Iib(a,b)},Kib=function(a){return a.map(function(b){return b.getLoggingToken()}).filter(Boolean)},ko=function(a){return a.filter(function(b){return!b.isPlaceholder()}).map(function(b){return b.selectionToken().getLoggingToken()}).filter(Boolean)},Lib=function(a,b,c,d){var e;
d=k(d);for(var g=d.next();!g.done;g=d.next()){g=g.value;try{g(a,b,c)}catch(h){e||(e=h)}}if(e)throw e;},Mib=function(a,b,c,d,e){e=k(e);for(var g=e.next();!g.done;g=e.next())g=g.value,g(a,b,c,d)},Nib=function(a){var b=document.createElement("div");fgb(b,a.veid,a.action,a.pairs);return b},Oib=function(a){return Array.from(a).filter(function(b){return b instanceof Element}).flatMap(function(b){var c=Array.from(b.querySelectorAll("[pk-log]"));b.hasAttribute("pk-log")&&c.push(b);return c})},Qib=function(a){if(Pib.has(a))return Pib.get(a);
throw Error("Ge`"+a);},Sib=function(a){if(Rib.has(a))return Rib.get(a);throw Error("He`"+a);},Tib=function(a){for(var b=new Map,c=k(Object.keys(a)),d=c.next();!d.done;d=c.next())d=d.value,b.set(a[d].string,a[d].xid);return b},Vib=function(a){return a?a.__owner?a.__owner:a.parentNode&&11===a.parentNode.nodeType?a.parentNode.host:Uib(a):null},Wib=function(a,b,c){for(c||(a=Vib(a));a&&!b(a);)a=Vib(a)},$ib=function(a,b){var c=new lo,d=sOa();b=(new Xib).setClientId(a.getClientId()).setApplication(a.getSocialApplicationOrUndefined()).setEntryPoint(b).setVersionName("1.0").setBaselineCl(536574007);
c=new Yib(c,1394,d,void 0,void 0,void 0,new Zib(b));c.setClientSideLogOnlyForDevelopment(!a.getEnableClearcut()||!1);a=new mo;d=fo.getExperimentIds();a=bb(a,3,d,Sa);c.clearcut_.setClearExperimentIds(a);return c},bjb=function(a,b,c,d,e,g){var h=c.beginSession(function(){},g.sessionOptions||new no);return ajb(a,b,c,h,d,e,g)},ajb=function(a,b,c,d,e,g,h){g.internal.getClearcut().setInterfaceType(4);g.internal.getClearcut().setComponentFlow(7);var l=g.internal,q=e.getEnvironmentConfig(),v=q.experimentsConfig_.getProfileId();
if(v)if(l.getExperiments().getIsEnabled()){var y=Wa(cjb||(cjb=djb('[null,null,null,null,null,null,null,"AIzaSyBAMHkvD9gqERVdYmGsYLnAtfzigZdAqJQ"]')));y=new ejb(y,7)}else y=new oo;else y=new oo;l=l.getExperiments();q=y.loadExperiments(l.getApplication(),(new fjb).setPeopleApiEnv(q.apiEnv_),v);fo=new gjb(l,q);q=Mm(hjb);a.appendChild(q);ehb(q,e.getTheme());Pn(q,64611,["impression"]);a=new ijb;v=e.getEntryPoint();v=new jjb(d,a,v);l=g.internal.getClearcut();y=new kjb(l);y=po(y);l=l.getInterfaceType();
l=new ljb(new mjb(y,l));var B=new njb(h.intelligence);h=Mm(ojb);q.appendChild(h);y=Mm(pjb);Pn(y,85843,["impression"]);h.appendChild(y);var I=Sn(y,"tjneg");a:{var N=e.getAutocompleteHeader();var Q=e.getAutocompleteCustomGrouping();switch(e.getAutocompleteGroupingType()){case 1:Q=Hib(I,e,e,g,a,v,new qjb(e.getAutocompleteGroupingLabel()),B,N);break a;case 2:Q=Hib(I,e,e,g,a,v,new rjb(e.getAutocompleteGroupingLabel()),B,N);break a;case 3:if(!Q)break;Q=Hib(I,e,e,g,a,v,Q,B,N);break a;case 4:if(Q){B=Mm(Cib,
{header:N||""});I.appendChild(B);B=bgb(Sn(B,"tjneg"));Q=new sjb(B,e,e,g,a,v,Q);Q=new Gib(Q,v);break a}}Q=Eib(I,e,e,g,a,B,N,v);Q=new Gib(Q.resultList,v)}I=Sn(I,"rymPhb");b.setAttribute("aria-owns",I.id);b.setAttribute("aria-controls",I.id);I.setAttribute("aria-labelledby",b.id);B=e.getNoResultsMessage();I=Mm(tjb);B?B.display?B=new ujb(I,B):(B=Mm(vjb,B),I.appendChild(B),B=new wjb):B=new xjb;y.appendChild(I);l=new yjb(y,b,Q,d,l,e,B,g);vi(g.internal,7,!1)&&(l=new zjb(l,c,d,g,e,b));b=new Ajb(h,b,l,a,e);
Yfb(b.getRoot(),c);c=g.internal.getClearcut();g=e.getEntryPoint();vgb()?c=new Bjb(q,$ib(c,g)):(d=fo.getExperiments(),vi(d,2,!1)||vi(c,6,!0)?(c=$ib(c,g),q.hasAttribute("pk-log")?(c=new Cjb(new Djb(q),c),c=new Ejb(q,c),c=new Fjb(c)):c=new Gjb):c=new Gjb);c.start();return new Hjb(q,b,a,v,c,e)},Jjb=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);Ijb.lastIndex=0;for(var d=Ijb.exec(a);d&&d.index<c;d=Ijb.exec(a))b.push(a.substring(Number(Ijb.lastIndex)));
return b},Njb=function(a){a=Array.from(a).flatMap(function(g){return(g||"").split(Kjb)}).filter(Boolean);if(!a.length)return a;var b=new Set;a=k(a);for(var c=a.next();!c.done;c=a.next()){c=qo(Ljb(c.value)).replace(Mjb,"").toUpperCase().toLowerCase();c=k(Jjb(c).filter(Boolean));for(var d=c.next();!d.done;d=c.next())b.add(d.value)}var e="";return Array.from(b).sort().reverse().filter(function(g){if(e.startsWith(g))return!1;e=g;return!0})},Pjb=function(a){var b;return Ojb(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)})},Qjb=function(a,b){return isFinite(a.fieldAffinity)?a.fieldAffinity:b&&ho(a.id)&&9!==a.id.getType()?isFinite(a.itemAffinity)?a.itemAffinity:-Infinity:-Infinity},Tjb=function(a,b,c){if(ho(a.id)||ho(b.id)){var d=Rjb.has(a.id.getType()),e=Rjb.has(b.id.getType());if(d!==e)return d?-1:1;if(ho(a.id)&&ho(b.id))return Sjb(a,b,c,!1)}d=Qjb(a,c);c=Qjb(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},Sjb=function(a,b,c,d){var e=isFinite(a.itemAffinity)?a.itemAffinity:-Infinity,g=isFinite(b.itemAffinity)?b.itemAffinity:-Infinity;return e!==g?e>g?-1:1:d?Tjb(a,b,c):0},Zjb=function(a,b,c){var d=Ujb(b.getTargetType(),b.getValue()),e=[].concat(Jc(b.getProfileIdList().map(Vjb)),Jc(Bg(b,6).map(Wjb)),Jc(b.getCustomSourceIdList().map(Xjb)));Yjb.includes(d.getType())&&e.push(d);return{id:d,containerIds:e,dataSource:Bg(b,6).length?1:2,
isMe:!!b.getIsMe(),isPrimary:a.getTargetList()[0]===b,itemAffinity:a.hasAffinity()?a.getAffinity().getValue():-Infinity,fieldAffinity:b.hasAffinity()?b.getAffinity().getValue():-Infinity,provenance:c,resultExtendedData:a.hasExtendedData()?a.getExtendedData():void 0,targetData:b,resultData:a}},$jb=function(a){return(a||"").trim()},hkb=function(a){var b=a.resultData,c=a.targetData,d=akb(ro(a.id).setDataSource(a.dataSource||0),!!a.isMe);a.containerIds&&(d.sourceIds_=a.containerIds||[]);b.hasResultType()&&
bkb(d,b.getResultType());c.hasValue()&&d.setValue($jb(c.getValue()));c.hasDescription()&&d.setDescription(c.getDescription());if(c.hasName()){var e=c.getName();d.setName((new ckb).setDisplayName(e.getDisplayName()).setGivenName(e.getGivenName()).setFamilyName(e.getFamilyName()).setSourceType(e.getSourceType()))}c.hasPhoto()&&(e=c.getPhoto(),d.setPhoto((new dkb).setUrl(e.getUrl()).setType(e.getType()).setSourceType(e.getSourceType()).setGlyph(e.getGlyph())));if(b.hasTotalMemberCount()){var g;a.totalMemberCount=
null!=(g=b.getTotalMemberCount())?g:void 0}b.hasAffinity()&&d.setPersonLoggingId(b.getAffinity().getLoggingId()||"");c.hasAffinity()&&d.setFieldLoggingId(c.getAffinity().getLoggingId()||"");c.hasOrgState()&&ekb(d,c.getOrgState());c.hasDataSource()&&d.setDataSource(c.getDataSource());c.getTagList().length&&fkb(d,c.getTagList().map(function(h){return gkb(h.altText_).setIconUrl(h.getIconUrl())}));c.hasExtendedData()&&d.setExtendedData(c.getExtendedData());return d},jkb=function(a){return a?ikb.get(a)||
0:0},mkb=function(a){switch(a.getValueCase()){case 2:return so(a.getEmail().getValue()||"");case 3:var b=a.getPhone();return b.getOriginalValue()&&m(b,2)?(a=kkb(b.getOriginalValue()||""),b=kkb(m(b,2)||""),!a.equals(b)&&a.getValue().startsWith(b.getValue())?a:b):kkb(m(b,2)||b.getDisplayValue()||b.getOriginalValue()||"");case 4:a=Fi(a,to,4,uo);if(a.hasProfileId())return a=a.getProfileId()||"",new vo(8,Hm(a).toLowerCase(),a);switch(rh(a,wo)){case 2:return a=a.getEmail()||"",new vo(6,Hm(a).toLowerCase(),
a);case 3:return lkb(a.getPhone()||"")}}return xo},nkb=function(a){return a.getSourceIdsList().map(function(b){switch(b.getIdCase()){case 1:return Vjb(b.getProfileId()||"");case 2:return Wjb(b.getContactId()||"");default:return null}}).filter(Boolean)},okb=function(a,b){return qi(a,yo,3)&&W(a,yo,3).getIsPlaceholder()?3:Db(b,8)?1:0},pkb=function(a){return a&&a.hasAffinity()?Number(a.getAffinity().getValue_legacyNullable()):-Infinity},qkb=function(a){return a.hasAffinity()?Number(a.getAffinity().getValue_legacyNullable()):
-Infinity},rkb=function(a){return!!a&&!!a.getPrimary()},tkb=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"+skb(a):""},wkb=function(a){var b=void 0;if(W(a,yo,3)){var c;b=null!=(c=b)?c:new zo;Ao(b,ukb,W(a,yo,3))}if(a.getPeopleStackPersonExtendedData()){var d;b=null!=
(d=b)?d:new zo;Ao(b,vkb,a.getPeopleStackPersonExtendedData())}return b},ykb=function(a){var b=void 0;if(W(a,Bo,9)){var c;b=null!=(c=b)?c:new zo;Ao(b,xkb,W(a,Bo,9))}return b},Akb=function(a){var b=new Co,c=a?2:1;zkb(b.setEventType(4),c).setToken(a);return b},Ckb=function(a,b){var c=new Do;c=(new Co).setLookupInfo(c);Eo(c.setEventType(6),9).setItemCount(a.length).setQueryScope(Bkb.get(b)||0);return c},Dkb=function(){var a=new Co;Eo(a.setEventType(6),11);return a},Ekb=function(){var a=new Co;Eo(a.setEventType(6),
10);return a},Fkb=function(a,b){var c=new Co;Eo(c.setEventType(6),6).setQueryLength(a.length).setQueryScope(Bkb.get(b)||0);return c},Gkb=function(a){var b=new Co;Eo(b.setEventType(6),5).setQueryScope(Bkb.get(a)||0);return b},Hkb=function(a,b){switch(a){case 8:case 3:case 17:return(new Fo).setProfileId(b);case 1:case 6:return(new Fo).setEmail(b);case 7:case 2:return(new Fo).setPhone(b);default:return null}},Jkb=function(a){return((a=yg(a,Go,2).find(function(b){return 1===m(b,1)}))?Ikb.get(m(a,2)):
0)||0},Mkb=function(a,b){b.hasAffinity()&&a.setFieldLoggingId(Kkb(sda(Fb(b.getAffinity(),1))||""));if(b.hasName()){var c=b.getName(),d=a.setName,e=(new ckb).setDisplayName(c.getValue()).setGivenName(c.getGivenName()).setFamilyName(c.getFamilyName()),g=e.setSourceType;a:switch(c.getSourceType()){case 1:c=3;break a;case 2:c=4;break a;default:c=0}d.call(a,g.call(e,c))}b.hasPhoto()&&(b=b.getPhoto(),a.setPhoto((new dkb).setUrl(b.getUrl()).setGlyph(b.getGlyph()).setType(Lkb.get(b.getType())||0)))},Nkb=
function(a,b){if(b.hasProfileId())switch(rh(b,wo)){case 2:var c=b.getEmail()||"";return ro(a.id).setValue(b.getProfileId()||"").setOriginatingField((new Ho).setType(1).setValue(c));case 3:return c=b.getPhone()||"",ro(a.id).setValue(b.getProfileId()||"").setOriginatingField((new Ho).setType(2).setValue(c));default:return b=b.getProfileId()||"",ro(a.id).setValue(b)}switch(rh(b,wo)){case 2:return b=b.getEmail()||"",ro(a.id).setValue(b).setOriginatingField((new Ho).setType(1).setValue(b));case 3:return b=
b.getPhone()||"",ro(a.id).setValue(b).setOriginatingField((new Ho).setType(2).setValue(b));default:return b=b.getProfileId()||"",ro(a.id).setValue(b)}},Pkb=function(a,b){var c=akb(ro(a.id),!!a.isMe);a.containerIds&&(c.sourceIds_=a.containerIds||[]);b&&Mkb(c,b);a.group&&((b=yg(a.group,Io,6).find(function(d){return null!=Am(d,1,Okb)}))?c.setValue(Am(b,1,Okb)||""):a.group.hasGroupId()&&c.setValue(a.group.getGroupId()||""));a.targetExtendedData&&c.setExtendedData(a.targetExtendedData);a.target=c},Rkb=
function(a){return new Qkb(a)},Ukb=function(a){if(8===a.getTargetType()){var b=a.getOriginatingField();if(b&&(b=b.getType(),b=Skb.get(b)))return b}return(b=Tkb.get(a.getTargetType()))?b:ho(a.getId())?8:0},Wkb=function(a,b,c){var d=new Jo,e=new Ko;Oh(d,Ko,2,e);e.setProvenance(b);b=new Lo;Oh(d,Lo,1,b);xi(b,9,1===c);b.setProfileId(a.getProfileId()||null);b.setContactId(a.getContactId()||null);c=8===Ukb(a)?8:a.getIsPersonalResult()?4:3;n(b,8,c);c=null;8===a.getTargetType()&&(e=a.getOriginatingField())&&
Skb.has(e.getType())&&(c=e.getValue());c||(c=a.getValue());c&&b.setFieldValue(c);ho(a.getId())||b.setName(a.getName()?a.getName().getDisplayName():null);b.setFieldType(Ukb(a));b.setFieldLoggingId(a.getFieldLoggingId()||null);b.setPersonLoggingId(a.getPersonLoggingId()||null);b.setIsPlaceholder(3===a.getDataSource());8===b.getFieldType_legacyNullable()&&b.setGroupId(a.getId().getValue());return new Vkb(a,d)},Ykb=function(a){a=Xkb.indexOf(a.provenance);return 0>a?Xkb.length:a},Zkb=function(a){return a.containerIds&&
a.containerIds.some(function(b){return 3===b.getType()})},alb=function(a,b){var c=a.getPrimaryTarget(),d=a.getTargetList().map(function(e){return e===c?b:e});return new Jn(new $kb(a,d))},clb=function(a,b){b.useOriginalDisplayValue_&&(a=new Map(Array.from(a,function(c){var d=k(c);c=d.next().value;d=d.next().value;if(c.equals(d.getPrimaryTarget().getId())&&c.getOriginalValue()!==d.getDisplayValue()&&d.getPrimaryTarget().getValue()===d.getDisplayValue()){var e=c.getOriginalValue(),g=d.getPrimaryTarget();
d=alb(d,new blb(g,e))}return[c,d]})));return a},dlb=function(a){return 0!==a&&12!==a},flb=function(){return new elb(Fc.apply(0,arguments))},hlb=function(){return new glb(Fc.apply(0,arguments))},jlb=function(){var a=Fc.apply(0,arguments);return 1===a.length?a[0]:new ilb(a)},klb=function(a,b){return new Promise(function(c){0<b?setTimeout(function(){return c(a)},b):c(a)})},llb=function(a,b,c){b=klb(b,c);return Promise.race([a,b])},mlb=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)}}},qlb=function(a,b,c,d){b=nlb(a,b).map(function(e){var g=k(e);e=g.next().value;g=g.next().value;return new olb(e,g)});c=nlb(a,c).map(function(e){var g=k(e);e=g.next().value;g=g.next().value;return new olb(e,g)});a=nlb(a,d).map(function(e){var g=k(e);e=g.next().value;g=g.next().value;return new olb(e,g)});return new plb(b,c,a)},
rlb=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}},slb=function(a){return a.reduce(function(b,c){var d=rlb(c);if(b.has(d)){var e;null==(e=b.get(d))||e.push(c)}else b.set(d,[c]);return b},new Map)},tlb=function(a,b){b=void 0===b?new Mo:b;var c=new Map;a=k(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;for(var e=k(d.data.keys()),g=e.next();!g.done;g=e.next())g=g.value,c.set(g,d.data.get(g))}return{data:c,metadata:b}},
vlb=function(a){return!a||a instanceof ulb?a:new ulb(a)},xlb=function(a){return wlb.get(a)||0},Alb=function(a,b){var c=ylb(No(new Oo,"PeopleStore").setLogSource(Fh(a,4,574)).setApplication(a.getSocialApplication()).setEnvironment(b.getPeopleApiEnv()).setVersion("1004").setBaselineCl(536574007).setEnableClearcut(a.getEnableClearcut()),[].concat(Jc(b.getExperiments().getExperimentIdsList()),Jc(zlb?zlb.getExperimentIds():[]))).setClientAgent(2);b.getClearcutUrl()&&c.setClearcutUrl(b.getClearcutUrl());
(a=yg(a,Po,5).find(function(d){return 0===d.getEntryPoint()}))&&c.setEventSource(Qo(a,4));return c},Blb=function(a){return(qi(a,Ro,12)?W(W(a,Ro,12),Po,2):a.getSources())||new Po},Clb=function(a){return(qi(a,Ro,12)?W(W(a,Ro,12),Po,3):a.getSources())||new Po},Dlb=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)},Elb=function(a){if(!a.hasSessionState())return"";a=a.getSessionState();return Wh(a,3,0)+":"+Wh(a,4,0)+":"+Wh(a,5,0)+":"+a.getInstanceId()},
Flb=function(a){return qi(a,Ko,2)?go(a).getContext()||0:0},Glb=function(a){var b=new Map;a=k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=c.getSessionState();d=d?Wh(d,3,0)+"-"+Wh(d,4,0)+"-"+Wh(d,5,0)+"-"+d.getInstanceId():"";b.has(d)?b.get(d).push(c):b.set(d,[c])}return Array.from(b.values())},To=function(a,b,c,d){d=void 0===d?!1:d;a=a.filter(function(h){return!vi(h,4,!1)});if(d){d=k(a);for(var e=d.next();!e.done;e=d.next())xi(e.value,4,!0)}if(c)for(d=a.filter(function(h){return h&&!h.hasSessionState()}),
d=k(d),e=d.next();!e.done;e=d.next())e.value.setSessionState(c.clone());a=Glb(a);c=[];a=k(a);for(d=a.next();!d.done;d=a.next())if(d=d.value,e=d.find(function(h){return h&&h.hasSessionState()})){e=e.getSessionState();var g=new So;g.setSessionState(e);g.setEventType(b);Th(g,3,d);g.setEventSources(e.getSources());c.push(g)}return c},Hlb=function(a){var b;a=a.getMetadata();a.hasCacheState()&&(a=a.getCacheState(),a.hasSource()&&(b=a.getSource()));return b||new Uo},Ilb=function(a){a&1&&(H(0,"a",3),S(1),
T(2,"async"),J());if(a&2){a=P();var b;G("href",a.manageComponentLink,vd);C(1);Ve(null==(b=U(2,2,a.component$))?null:b.name)}},Jlb=function(a){a&1&&(H(0,"output"),S(1),J());a&2&&(a=P(),C(1),Ve(a.componentId))},Klb=function(a){a&1&&(H(0,"li")(1,"label"),S(2,"Component"),J(),K(3,"b-async-component",7),J());a&2&&(a=P(2),C(3),G("componentId",a.issueComponentId))},Llb=function(a){a&1&&(H(0,"li")(1,"label"),S(2,"Team"),J(),K(3,"b-team-display",8),J());a&2&&(a=P(2),C(3),G("teamId",a.issueTeamId))},Mlb=function(a){a&
1&&(H(0,"ol",3)(1,"li")(2,"label"),S(3,"ID"),J(),H(4,"output"),S(5),J()(),H(6,"li")(7,"label"),S(8,"Type"),J(),H(9,"output"),S(10),J()(),H(11,"li")(12,"label"),S(13,"Priority"),J(),K(14,"b-issue-priority-display",4),J(),H(15,"li")(16,"label"),S(17,"Severity"),J(),H(18,"output"),S(19),J()(),H(20,"li")(21,"label"),S(22,"Status"),J(),H(23,"output"),S(24),J()(),H(25,"li")(26,"label"),S(27,"Last modified"),J(),H(28,"output"),S(29),T(30,"date"),J()(),H(31,"li")(32,"label"),S(33,"Issue access limit"),J(),
H(34,"output"),S(35),H(36,"a",5),S(37,"Learn more"),J()()(),R(38,Klb,4,1,"li",6),R(39,Llb,4,1,"li",6),J());a&2&&(a=P(),C(5),Ve(a.issueId),C(5),Ve(a.issueType),C(4),G("issuePriority",a.issuePriority),C(5),Ve(a.issueSeverity),C(5),Ve(a.issueStatus),C(5),Ve(bf(30,10,a.issueLastModified,"medium")),C(6),Te("",a.accessLimitLevel," "),C(1),G("href",a.documentationLinks.getIssueAccessLimit(),vd),C(2),G("ngIf",a.issueComponentId),C(1),G("ngIf",a.issueTeamId))},Nlb=function(a){return a.startsWith('"')&&a.endsWith('"')||
a.startsWith("'")&&a.endsWith("'")?a.toLowerCase().substr(1,a.length-2):a.toLowerCase()},Olb=function(a){a.label||(a=Gg(a),a.label={customFieldId:void 0,field:"_TEXT_"});return a},Qlb=function(a){return{type:Plb[a.getType()],value:a.getValue()}},Slb=function(a){var b,c;return{type:Rlb[a.getType()],values:(null!=(b=a.getValuesList())?b:[]).map(Slb),simpleValues:(null!=(c=yg(a,Vo,3))?c:[]).map(Qlb)}},Wlb=function(a){var b,c=Tlb[a.getType()],d=(null!=(b=a.getValuesList())?b:[]).map(Slb);b=vi(a,3);if(a.hasLabel()){var e=
a.getLabel();e={field:Ulb[e.getField()],customFieldId:Number(e.getCustomFieldId())}}else e=void 0;return{type:c,values:d,negated:b,label:e,operator:Vlb[Fh(a,5,0)]}},Ylb=function(a){switch(a.getKindCase()){case 2:return{syntaxErrorResponse:{syntaxError:mh(Fi(a,Wo,2,Xo),1)},queryBuilderResponse:void 0};case 1:a=Fi(a,Yo,1,Xo);var b;return{syntaxErrorResponse:void 0,queryBuilderResponse:{type:Xlb[a.getType()],expressions:(null!=(b=yg(a,Zo,2))?b:[]).map(Wlb)}};default:return{syntaxErrorResponse:void 0,
queryBuilderResponse:void 0}}},Zlb=function(a){a&1&&(H(0,"span",11),S(1," > "),J())},bmb=function(a,b){if(a&1){var c=x();H(0,"span")(1,"a",9);O("click",function(d){var e=z(c).$implicit,g=P(2);e=new $lb(e.pathIds,e.pathNames);g.onTeamSelect.emit(e);d.stopPropagation();d.preventDefault();amb(g.autocompleteTrigger);return A()});S(2);J();R(3,Zlb,2,0,"span",10);J()}a&2&&(a=b.$implicit,b=b.last,C(1),G("matTooltip",a.pathNameText),C(1),Ve(a.name),C(1),G("ngIf",!b))},cmb=function(a,b){a&1&&(H(0,"mat-option",
6)(1,"div"),R(2,bmb,4,3,"span",7),J(),H(3,"span",8),S(4),T(5,"slice"),J()());a&2&&(a=b.$implicit,G("value",a),C(2),G("ngForOf",a.teamPath),C(1),G("matTooltip",a.description),C(1),Te("",cf(5,4,a.description,0,100)," "))},dmb=function(a,b){a&1&&(H(0,"mat-option",5)(1,"div",6),S(2),J()());a&2&&(a=b.$implicit,G("value",a),C(2),Te(" ",a.name," "))},emb=function(a,b){a&1&&(H(0,"mat-option",13),S(1),J());a&2&&(a=b.$implicit,G("value",a.key),C(1),Te(" ",a.value," "))},fmb=function(a){if(a&1){var b=x();H(0,
"mat-form-field",10)(1,"mat-select",11);O("ngModelChange",function(c){z(b);var d=P(2);return A(d.expressionType=c)});R(2,emb,2,2,"mat-option",12);T(3,"keyvalue");J()()}a&2&&(a=P(2),C(1),G("ngModel",a.expressionType),C(1),G("ngForOf",U(3,2,a.globalTypeLabels)))},gmb=function(a,b){a&1&&(H(0,"mat-option",13),S(1),J());a&2&&(a=b.$implicit,G("value",a[0]),C(1),Te(" ",a[1]," "))},hmb=function(a,b){a&1&&(H(0,"mat-option",13),S(1),J());if(a&2){a=b.$implicit;b=P(2).$implicit;var c=P(2);G("value",a);C(1);Te(" ",
c.getTypeLabel(b,a)," ")}},imb=function(a){if(a&1){var b=x();H(0,"mat-form-field",10)(1,"mat-select",21);O("ngModelChange",function(c){z(b);var d=P().$implicit;return A(d.type=c)});R(2,hmb,2,2,"mat-option",12);J()()}a&2&&(a=P().$implicit,C(1),G("ngModel",a.type),C(1),G("ngForOf",a.getLegalTypes()))},jmb=function(a,b){if(a&1){var c=x();H(0,"div",28)(1,"mat-checkbox",29);O("change",function(d){var e=z(c).$implicit,g=P(3).$implicit;return A(g.enumValues[e.id]=d.checked)});S(2);J()()}a&2&&(a=b.$implicit,
b=P(3).$implicit,C(1),G("checked",b.enumValues[a.id]),C(1),Te(" ",a.label||a.id," "))},kmb=function(a){a&1&&(H(0,"div",26),R(1,jmb,3,2,"div",27),J());a&2&&(a=P(2).$implicit,C(1),G("ngForOf",a.getOptions()))},lmb=function(a){if(a&1){var b=x();H(0,"div")(1,"input",30);O("ngModelChange",function(c){z(b);var d=P(3).$implicit;return A(d.csv=c)});J()()}a&2&&(a=P(3).$implicit,C(1),G("ngModel",a.csv)("bContactAutocomplete","MULTI"))},mmb=function(a){if(a&1){var b=x();H(0,"div",22)(1,"input",31);O("ngModelChange",
function(c){z(b);var d=P(3).$implicit;return A(d.csv=c)});J()()}a&2&&(a=P(3).$implicit,C(1),G("ngModel",a.csv))},nmb=function(a){if(a&1){var b=x();H(0,"div",22)(1,"input",32);O("ngModelChange",function(c){z(b);var d=P(3).$implicit;return A(d.csv=c)});J()()}a&2&&(a=P(3).$implicit,C(1),G("ngModel",a.csv))},omb=function(a){if(a&1){var b=x();H(0,"div",22)(1,"input",33);O("ngModelChange",function(c){z(b);var d=P(3).$implicit;return A(d.csv=c)});J()()}a&2&&(a=P(3).$implicit,C(1),G("ngModel",a.csv))},pmb=
function(a){a&1&&(H(0,"div"),R(1,lmb,2,2,"div",24),R(2,mmb,2,1,"div",18),R(3,nmb,2,1,"div",18),R(4,omb,2,1,"div",18),J());a&2&&(a=P(2).$implicit,C(1),G("ngIf","user"==a.getWidgetType()),C(1),G("ngIf","csv"==a.getWidgetType()),C(1),G("ngIf","id"==a.getWidgetType()),C(1),G("ngIf","number"==a.getWidgetType()))},qmb=function(a,b){if(a&1){var c=x();H(0,"div",37)(1,"div",38)(2,"input",33);O("ngModelChange",function(d){var e=z(c).$implicit;return A(e.value=d)});J()();H(3,"button",39);O("click",function(){var d=
z(c).$implicit,e=P(3).$implicit,g=P(2);return A($o(g,e,d))});J()()}a&2&&(a=b.$implicit,C(2),G("ngModel",a.value))},rmb=function(a){if(a&1){var b=x();H(0,"button",40);O("click",function(){z(b);var c=P(3).$implicit,d=P(2);return A(ap(d,c))});S(1);J()}a&2&&(a=P(3).$implicit,C(1),Te(" + ","OR"==a.type||"NOR"==a.type?"OR":"AND"," "))},smb=function(a){a&1&&(H(0,"div",34),R(1,qmb,4,1,"div",35),R(2,rmb,2,1,"button",36),J());a&2&&(a=P(2).$implicit,C(1),G("ngForOf",a.values),C(1),G("ngIf",a.type))},umb=function(a){if(a&
1){var b=x();H(0,"div",49);O("click",function(){z(b);var d=P(2).$implicit,e=P(5);return A(tmb(e,d))});H(1,"span",50);S(2);J()()}if(a&2){a=P(2).$implicit;var c=P(5);G("title",c.getComponentPath(c.components[a.value]));C(2);Te(" ",c.getComponentPath(c.components[a.value])," ")}},wmb=function(a){if(a&1){var b=x();H(0,"div",38)(1,"b-team-component-picker",51);O("selectedComponentChange",function(c){z(b);var d=P(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;vmb(d);return A()});J()()}a&2&&(a=P(7),C(1),G("selectedComponent",a.componentUnderEdit)("placeholder","Choose Component")("isRequired",!0))},xmb=function(a){if(a&1){var b=x();H(0,"div",43);R(1,umb,3,2,"div",44);R(2,wmb,2,3,"div",45);H(3,"button",46);O("click",function(){z(b);var d=P().$implicit;P(5);d.includeSubs=!d.includeSubs;return A()});K(4,"mat-icon",47);J();H(5,"button",
48);O("click",function(){z(b);var d=P().$implicit,e=P(3).$implicit,g=P(2);return A($o(g,e,d))});J()()}if(a&2){a=P().$implicit;var c=P(5);C(1);G("ngIf",c.chipUnderEdit!==a);C(1);G("ngIf",c.chipUnderEdit===a);C(1);G("title",a.includeSubs?"Subcomponents are included":"Subcomponents are not included");Ae("aria-checked",a.includeSubs);C(1);G("svgIcon",a.includeSubs?"child-components-24px":"child-components-hide-24px")}},ymb=function(a,b){a&1&&(L(0),R(1,xmb,6,5,"div",42),M());a&2&&(a=b.$implicit,b=P(5),
C(1),G("ngIf",b.chipUnderEdit===a||a.value))},zmb=function(a){if(a&1){var b=x();H(0,"button",40);O("click",function(){z(b);var c=P(3).$implicit,d=P(2);return A(ap(d,c))});S(1);J()}a&2&&(a=P(3).$implicit,C(1),Te(" + ","OR"==a.type||"NAND"==a.type?"OR":"AND"," "))},Amb=function(a){a&1&&(H(0,"div",34),R(1,ymb,2,1,"ng-container",41),R(2,zmb,2,1,"button",36),J());a&2&&(a=P(2).$implicit,C(1),G("ngForOf",a.values),C(1),G("ngIf",a.type))},Cmb=function(a){if(a&1){var b=x();H(0,"div",49);O("click",function(){z(b);
var d=P(2).$implicit,e=P(5);return A(Bmb(e,d))});H(1,"span",50);S(2);J()()}if(a&2){a=P(2).$implicit;var c=P(5);G("title",null==c.trackers[a.value]?null:c.trackers[a.value].name);C(2);Te(" ",null==c.trackers[a.value]?null:c.trackers[a.value].name," ")}},Dmb=function(a){if(a&1){var b=x();H(0,"div",38)(1,"b-tracker-picker",54);O("onTrackerSelect",function(c){z(b);var d=P(7);d.analytics.trackEvent(Yl.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;vmb(d);return A()});J()()}a&2&&(a=P(7),C(1),G("selectedTracker",a.trackerUnderEdit))},Emb=function(a){if(a&1){var b=x();H(0,"div",53);R(1,Cmb,3,2,"div",44);R(2,Dmb,2,1,"div",45);H(3,"button",48);O("click",function(){z(b);var d=P().$implicit,e=P(3).$implicit,g=P(2);return A($o(g,e,d))});J()()}if(a&2){a=P().$implicit;var c=P(5);C(1);G("ngIf",c.chipUnderEdit!==a);C(1);G("ngIf",c.chipUnderEdit===a)}},Fmb=function(a,b){a&1&&(L(0),R(1,Emb,4,
2,"div",52),M());a&2&&(a=b.$implicit,b=P(5),C(1),G("ngIf",b.chipUnderEdit===a||a.value))},Gmb=function(a){if(a&1){var b=x();H(0,"button",40);O("click",function(){z(b);var c=P(3).$implicit,d=P(2);return A(ap(d,c))});S(1);J()}a&2&&(a=P(3).$implicit,C(1),Te(" + ","OR"==a.type||"NAND"==a.type?"OR":"AND"," "))},Hmb=function(a){a&1&&(H(0,"div",34),R(1,Fmb,2,1,"ng-container",41),R(2,Gmb,2,1,"button",36),J());a&2&&(a=P(2).$implicit,C(1),G("ngForOf",a.values),C(1),G("ngIf",a.type))},Jmb=function(a){if(a&1){var b=
x();H(0,"div",49);O("click",function(){z(b);var d=P(2).$implicit,e=P(6);return A(Imb(e,d))});T(1,"teamPath");H(2,"span",50);S(3);T(4,"teamPath");J()()}if(a&2){a=P(2).$implicit;var c=P(6);G("title",U(1,2,c.teams[a.value]));C(3);Te(" ",U(4,4,c.teams[a.value])," ")}},Lmb=function(a){if(a&1){var b=x();H(0,"div",38)(1,"b-team-picker",58);O("onTeamSelect",function(c){z(b);var d=P(8);return A(Kmb(d,c))});J()()}a&2&&(a=P(8),C(1),G("teamSelected",a.teamUnderEdit))},Mmb=function(a){if(a&1){var b=x();H(0,"div",
56);R(1,Jmb,5,6,"div",44);R(2,Lmb,2,1,"div",45);H(3,"button",57);O("click",function(){z(b);var d=P().$implicit;P(6);d.includeSubs=!d.includeSubs;return A()});K(4,"mat-icon",47);J();H(5,"button",48);O("click",function(){z(b);var d=P().$implicit,e=P(4).$implicit,g=P(2);return A($o(g,e,d))});J()()}if(a&2){a=P().$implicit;var c=P(6);C(1);G("ngIf",c.chipUnderEdit!==a);C(1);G("ngIf",c.chipUnderEdit===a);C(1);G("title",a.includeSubs?"Subteams are included":"Subteams are not included");Ae("aria-checked",
a.includeSubs);C(1);G("svgIcon",a.includeSubs?"child-teams-24px":"child-teams-hide-24px")}},Nmb=function(a,b){a&1&&(L(0),R(1,Mmb,6,5,"div",55),M());a&2&&(a=b.$implicit,b=P(6),C(1),G("ngIf",b.chipUnderEdit===a||a.value))},Omb=function(a){if(a&1){var b=x();H(0,"button",40);O("click",function(){z(b);var c=P(4).$implicit,d=P(2);return A(ap(d,c))});S(1);J()}a&2&&(a=P(4).$implicit,C(1),Te(" + ","OR"==a.type||"NAND"==a.type?"OR":"AND"," "))},Pmb=function(a){a&1&&(L(0),R(1,Nmb,2,1,"ng-container",41),R(2,
Omb,2,1,"button",36),M());a&2&&(a=P(3).$implicit,C(1),G("ngForOf",a.values),C(1),G("ngIf",a.type))},Qmb=function(a){a&1&&(H(0,"div",34),R(1,Pmb,3,2,"ng-container",24),J());a&2&&(a=P(4),C(1),G("ngIf",a.sessionIsInternal))},Smb=function(a){if(a&1){var b=x();H(0,"div")(1,"bv2-input-date-picker",59);O("boundValueChange",function(c){z(b);P(3).$implicit.dateFrom=Rmb(c);return A()});J();S(2," and ");H(3,"bv2-input-date-picker",59);O("boundValueChange",function(c){z(b);P(3).$implicit.dateTo=Rmb(c);return A()});
J()()}a&2&&(a=P(3).$implicit,C(1),G("boundValue",a.dateFrom)("isRequired",!0),C(2),G("boundValue",a.dateTo)("isRequired",!0))},Tmb=function(a){if(a&1){var b=x();H(0,"div");S(1," the last ");H(2,"input",60);O("ngModelChange",function(c){z(b);var d=P(3).$implicit;return A(d.duration=c)});J();S(3," days. ");J()}a&2&&(a=P(3).$implicit,C(2),G("ngModel",a.duration))},Umb=function(a){if(a&1){var b=x();H(0,"div")(1,"bv2-input-date-picker",59);O("boundValueChange",function(c){z(b);P(3).$implicit.dateFrom=
Rmb(c);return A()});J()()}a&2&&(a=P(3).$implicit,C(1),G("boundValue",a.dateFrom)("isRequired",!0))},Vmb=function(a){a&1&&(H(0,"div"),R(1,Smb,4,4,"div",24),R(2,Tmb,4,1,"div",24),R(3,Umb,2,2,"div",24),J());a&2&&(a=P(2).$implicit,C(1),G("ngIf","RANGE"==a.type||"NRANGE"==a.type),C(1),G("ngIf","DURATION"==a.type||"NDURATION"==a.type),C(1),G("ngIf","LE"==a.type||"LT"==a.type||"GE"==a.type||"GT"==a.type||"OR"==a.type))},Wmb=function(a){if(a&1){var b=x();H(0,"div",49);O("click",function(){z(b);var d=P(2).$implicit,
e=P(5);return A(bp(e,d))});H(1,"span",50);S(2);J()()}if(a&2){a=P(2).$implicit;var c=P(5);G("title",(null==c.hotlists[a.value]?null:c.hotlists[a.value].name)||a.value);C(2);Te(" ",(null==c.hotlists[a.value]?null:c.hotlists[a.value].name)||a.value," ")}},Xmb=function(a,b){a&1&&(H(0,"mat-option",13),S(1),J());a&2&&(a=b.$implicit,G("value",a.hotlistId),C(1),Te(" ",a.name," "))},Ymb=function(a){if(a&1){var b=x();H(0,"mat-form-field",64)(1,"mat-select",65);O("ngModelChange",function(d){z(b);var e=P(2).$implicit;
return A(e.value=d)})("selectionChange",function(){z(b);var d=P(7);return A(vmb(d))});R(2,Xmb,2,2,"mat-option",12);J()()}if(a&2){a=P(2).$implicit;var c=P(5);C(1);G("ngModel",a.value);C(1);G("ngForOf",c.userHotlists)}},Zmb=function(a){if(a&1){var b=x();H(0,"div",62);R(1,Wmb,3,2,"div",44);R(2,Ymb,3,2,"mat-form-field",63);H(3,"button",48);O("click",function(){z(b);var d=P().$implicit,e=P(3).$implicit,g=P(2);return A($o(g,e,d))});J()()}if(a&2){a=P().$implicit;var c=P(5);C(1);G("ngIf",c.chipUnderEdit!==
a);C(1);G("ngIf",c.chipUnderEdit===a)}},$mb=function(a,b){a&1&&(L(0),R(1,Zmb,4,2,"div",61),M());a&2&&(a=b.$implicit,b=P(5),C(1),G("ngIf",b.chipUnderEdit===a||a.value))},anb=function(a){if(a&1){var b=x();H(0,"button",40);O("click",function(){z(b);var c=P(3).$implicit,d=P(2);return A(ap(d,c))});S(1);J()}a&2&&(a=P(3).$implicit,C(1),Te(" + ","OR"==a.type||"NAND"==a.type?"OR":"AND"," "))},bnb=function(a){a&1&&(H(0,"div",34),R(1,$mb,2,1,"ng-container",41),R(2,anb,2,1,"button",36),J());a&2&&(a=P(2).$implicit,
C(1),G("ngForOf",a.values),C(1),G("ngIf",a.type))},cnb=function(a){if(a&1){var b=x();H(0,"div",49);O("click",function(){z(b);var d=P(2).$implicit,e=P(5);return A(bp(e,d))});H(1,"span",50);S(2);J()()}if(a&2){a=P(2).$implicit;var c=P(5);G("title",(null==c.savedSearches[a.value]?null:c.savedSearches[a.value].name)||a.value);C(2);Te(" ",(null==c.savedSearches[a.value]?null:c.savedSearches[a.value].name)||a.value," ")}},dnb=function(a,b){a&1&&(H(0,"mat-option",13),S(1),J());a&2&&(a=b.$implicit,G("value",
a.searchId),C(1),Te(" ",a.name," "))},enb=function(a){if(a&1){var b=x();H(0,"mat-form-field",64)(1,"mat-select",66);O("ngModelChange",function(d){z(b);var e=P(2).$implicit;return A(e.value=d)})("selectionChange",function(){z(b);var d=P(7);return A(vmb(d))});R(2,dnb,2,2,"mat-option",12);J()()}if(a&2){a=P(2).$implicit;var c=P(5);C(1);G("ngModel",a.value);C(1);G("ngForOf",c.userSavedSearches)}},fnb=function(a){if(a&1){var b=x();H(0,"div",62);R(1,cnb,3,2,"div",44);R(2,enb,3,2,"mat-form-field",63);H(3,
"button",48);O("click",function(){z(b);var d=P().$implicit,e=P(3).$implicit,g=P(2);return A($o(g,e,d))});J()()}if(a&2){a=P().$implicit;var c=P(5);C(1);G("ngIf",c.chipUnderEdit!==a);C(1);G("ngIf",c.chipUnderEdit===a)}},gnb=function(a,b){a&1&&(L(0),R(1,fnb,4,2,"div",61),M());a&2&&(a=b.$implicit,b=P(5),C(1),G("ngIf",b.chipUnderEdit===a||a.value))},hnb=function(a){if(a&1){var b=x();H(0,"button",40);O("click",function(){z(b);var c=P(3).$implicit,d=P(2);return A(ap(d,c))});S(1);J()}a&2&&(a=P(3).$implicit,
C(1),Te(" + ","OR"==a.type||"NAND"==a.type?"OR":"AND"," "))},inb=function(a){a&1&&(H(0,"div",34),R(1,gnb,2,1,"ng-container",41),R(2,hnb,2,1,"button",36),J());a&2&&(a=P(2).$implicit,C(1),G("ngForOf",a.values),C(1),G("ngIf",a.type))},jnb=function(a){a&1&&(H(0,"div",22),R(1,kmb,2,1,"div",23),R(2,pmb,5,4,"div",24),R(3,smb,3,2,"div",25),R(4,Amb,3,2,"div",25),R(5,Hmb,3,2,"div",25),R(6,Qmb,2,1,"div",25),R(7,Vmb,4,3,"div",24),R(8,bnb,3,2,"div",25),R(9,inb,3,2,"div",25),J());if(a&2){a=P().$implicit;var b=
P(2);C(1);G("ngIf","enum"===a.getWidgetType());C(1);G("ngIf",a instanceof cp);C(1);G("ngIf","text"==a.getWidgetType());C(1);G("ngIf","component"==a.getWidgetType());C(1);G("ngIf",b.isTrackerSearchEnabled&&"tracker"==a.getWidgetType());C(1);G("ngIf","team"==a.getWidgetType());C(1);G("ngIf","date"===a.getWidgetType());C(1);G("ngIf","hotlist"==a.getWidgetType());C(1);G("ngIf","savedsearch"==a.getWidgetType())}},knb=function(a){a&1&&(H(0,"div",67),S(1),J());if(a&2){a=P().$implicit;var b=P(2);C(1);Te(" ",
b.getCustomFieldName(a)," ")}},nnb=function(a){if(a&1){var b=x();H(0,"div",68)(1,"b-custom-field-picker",69);O("fieldSelected",function(c){z(b);var d=P().index,e=P(2),g=c.customFieldId;e.customFields[g]=c;e.expressions[d]=lnb(e.searchRuleFactory,"CUSTOM_FIELD",e.customFields[g]);mnb(e,e.expressions[d]);return A()});J()()}},pnb=function(a,b){if(a&1){var c=x();H(0,"div",14)(1,"div",15)(2,"mat-form-field",10)(3,"mat-select",16);O("ngModelChange",function(d){var e=z(c).$implicit;return A(e.label.field=
d)})("selectionChange",function(){var d=z(c).index,e=P(2);return A(onb(e,d))});R(4,gmb,2,2,"mat-option",12);J()();R(5,imb,3,2,"mat-form-field",3);J();H(6,"button",17);O("click",function(){var d=z(c).$implicit,e=P(2);return A(e.removeExpression(d))});J();R(7,jnb,10,9,"div",18);R(8,knb,2,1,"div",19);R(9,nnb,2,0,"div",20);J()}a&2&&(a=b.$implicit,b=P(2),C(3),G("ngModel",a.label.field),C(1),G("ngForOf",b.availableLabels),C(1),G("ngIf",!a.isPendingCustomField),C(2),G("ngIf",!a.isPendingCustomField),C(1),
G("ngIf",a.label.customFieldId),C(1),G("ngIf",a.isPendingCustomField))},qnb=function(a,b){if(a&1){var c=x();H(0,"button",70);O("click",function(){var d=z(c).$implicit,e=P(2);e.expressions.push({label:{field:d[0]}});onb(e,e.expressions.length-1);return A()});S(1);J()}a&2&&(a=b.$implicit,C(1),Te(" ",a[1]," "))},rnb=function(a){a&1&&(H(0,"div",1)(1,"span",2),S(2,"Advanced search query builder"),J(),R(3,fmb,4,4,"mat-form-field",3),R(4,pnb,10,6,"div",4),H(5,"div",5)(6,"button",6),S(7),J(),H(8,"mat-menu",
7,8),R(10,qnb,2,1,"button",9),J()()());if(a&2){var b=Se(9);a=P();C(3);G("ngIf",a.expressions.length);C(1);G("ngForOf",a.expressions)("ngForTrackBy",a.trackByIndex);C(2);G("matMenuTriggerFor",b);C(1);Te(" ",a.expressionType," ... ");C(3);G("ngForOf",a.availableLabels)}},unb=function(a){return{experimentId:a.getExperimentId(),state:snb[a.getState()],userGroup:tnb[Fh(a,3,0)],title:a.getTitle(),description:a.getDescription(),learnMoreLink:mh(a,6)}},vnb=function(a){a&1&&K(0,"div",3)},wnb=function(a){a&
1&&K(0,"div",4)},ynb=function(a){if(a&1){var b=x();H(0,"button",2);O("click",function(){z(b);var c=P();return A(xnb(c))});K(1,"mat-icon",3);S(2);J()}a&2&&(a=P(),G("matTooltip","Open release notes"),C(1),G("svgIcon",a.alertMode?"release-notes-alert":"release-notes-default"),C(1),Te(" ",a.buttonLabel," "))},znb=function(a){if(a&1){var b=x();H(0,"button",4);O("click",function(){z(b);var c=P();return A(xnb(c))});S(1);J()}a&2&&(a=P(),C(1),Te(" ",a.buttonLabel," "))},Anb=function(a){if(a&1){var b=x();H(0,
"button",9);O("click",function(c){z(b);var d=P();return A(d.manageSlos(c))});S(1,"Manage SLOs");J()}},Bnb=function(a){a&1&&(H(0,"a",13),S(1,"Early Access "),K(2,"b-feature-stage-label",14),J())},Cnb=function(a){a&1&&(L(0),K(1,"mat-divider")(2,"b-whats-new-button",15),M());a&2&&(C(2),G("menuMode",!0))},Dnb=function(a){a&1&&K(0,"b-whats-new-button",4);a&2&&(a=P(),G("alertMode",a.majorReleaseNotesUpdated))},Enb=function(a){if(a&1){var b=x();H(0,"button",5);O("click",function(){z(b);P().userFeedback.startFeedback();
return A()});K(1,"mat-icon",6);J()}},Fnb=function(a,b){if(a&1){var c=x();H(0,"button",6);O("click",function(){var d=z(c).$implicit,e=P();e.currentTracker.setTrackerId(d.trackerId);e.appSearchState.searchTriggered$.next("switch-trackers");return A()});K(1,"img",7);H(2,"span",8);S(3);J()()}a&2&&(a=b.$implicit,G("value",a.trackerId),Ae("title",a.name),C(1),G("src",null==a.branding?null:a.branding.logoUrl,vd),C(2),Ve(a.name))},Gnb=function(a){if(a&1){var b=x();H(0,"button",5);O("click",function(){z(b);
var c=P();return A(c.clickMenu.emit())});K(1,"mat-icon",6);J()}},Jnb=function(a,b){a&1&&(H(0,"output",7),S(1),J());a&2&&(a=b.$implicit,G("ngClass",a.color?Ze(2,Hnb,a.color):Ye(4,Inb)),C(1),Ve(a.name))},Knb=function(a){a&1&&K(0,"tracker-switcher",2);a&2&&(a=P(),G("associatedTrackers",a.associatedTrackers))},Lnb=function(a){a&1&&(H(0,"span"),S(1," Currently selected hotlist: "),H(2,"strong"),S(3),J()());a&2&&(a=P(3),C(3),Ve(a.header.hotlist.name))},Mnb=function(a){a&1&&S(0," Showing your subscribed hotlists. Start typing a hotlist name or ID to filter. ")},
Nnb=function(a){a&1&&(L(0),R(1,Lnb,4,1,"span",5),R(2,Mnb,1,0,"ng-template",null,6,of),M());if(a&2){var b=Se(3);a=P(2);C(1);G("ngIf",a.header.hotlist)("ngIfElse",b)}},Onb=function(a){a&1&&(H(0,"span"),S(1,"Currently selected saved search: "),H(2,"strong"),S(3),J()());a&2&&(a=P(3),C(3),Ve(a.header.savedSearch.name))},Pnb=function(a){a&1&&S(0," Showing your saved searches. Start typing a saved search name or ID to filter. ")},Qnb=function(a){a&1&&(L(0),R(1,Onb,4,1,"span",5),R(2,Pnb,1,0,"ng-template",
null,7,of),M());if(a&2){var b=Se(3);a=P(2);C(1);G("ngIf",a.header.savedSearch)("ngIfElse",b)}},Rnb=function(a){a&1&&(H(0,"span"),S(1," and "),H(2,"strong"),S(3,"subcomponents"),J()())},Snb=function(a){a&1&&(H(0,"span"),S(1," Currently selected component: "),H(2,"strong",9),S(3),J(),K(4,"b-access-level-indicator",10)(5,"b-tracker-chip-smart",11),R(6,Rnb,4,0,"span",4),J());if(a&2){a=P(3);C(3);var b=a.header.component;var c=dp(a.currentTracker,b.componentPathInfo);b=c&&c.componentPathName?c.componentPathName.join(" > "):
b.name;Ve(b);C(1);G("accessLevel",null==a.header.component.accessLimit?null:a.header.component.accessLimit.accessLevel);C(1);G("trackerId",a.header.component.trackerId);C(1);G("ngIf",a.header.includeChildren)}},Tnb=function(a){a&1&&S(0," Start typing a component name or ID to see auto-complete suggestions. ")},Unb=function(a){a&1&&(L(0),R(1,Snb,7,4,"span",5),R(2,Tnb,1,0,"ng-template",null,8,of),M());if(a&2){var b=Se(3);a=P(2);C(1);G("ngIf",a.header.component)("ngIfElse",b)}},Vnb=function(a){a&1&&
(H(0,"span"),S(1," Currently selected tracker: "),H(2,"strong"),S(3),J()());a&2&&(a=P(3),C(3),Ve(a.header.tracker.name))},Wnb=function(a){a&1&&S(0," Start typing a tracker name or ID to see auto-complete suggestions. ")},Xnb=function(a){a&1&&(L(0),R(1,Vnb,4,1,"span",5),R(2,Wnb,1,0,"ng-template",null,12,of),M());if(a&2){var b=Se(3);a=P(2);C(1);G("ngIf",a.header.tracker)("ngIfElse",b)}},Ynb=function(a){a&1&&(H(0,"span"),S(1," and "),H(2,"strong"),S(3,"subteams"),J()())},Znb=function(a){a&1&&(H(0,"span"),
S(1," Currently selected team: "),H(2,"strong"),S(3),J(),R(4,Ynb,4,0,"span",4),J());a&2&&(a=P(3),C(3),Ve(a.header.team.name),C(1),G("ngIf",a.header.includeChildren))},$nb=function(a){a&1&&S(0," Start typing a team name or ID to see auto-complete suggestions. ")},aob=function(a){a&1&&(L(0),R(1,Znb,5,2,"span",5),R(2,$nb,1,0,"ng-template",null,13,of),M());if(a&2){var b=Se(3);a=P(2);C(1);G("ngIf",a.header.team)("ngIfElse",b)}},bob=function(a,b){a&1&&(H(0,"span"),S(1," Currently selected custom field: "),
H(2,"strong"),S(3),J(),S(4," of type "),H(5,"strong"),S(6),T(7,"lowercase"),J(),S(8,". "),J());a&2&&(a=b.$implicit,C(3),Ve(a.name),C(3),Ve(U(7,2,a.type)))},cob=function(a){a&1&&S(0," customfield[id]: [value] ")},dob=function(a){a&1&&(L(0),R(1,bob,9,4,"span",5),R(2,cob,1,0,"ng-template",null,14,of),M());if(a&2){var b=Se(3);a=P(2);C(1);G("ngIf",a.header.customField)("ngIfElse",b)}},eob=function(a){a&1&&(H(0,"div",3),R(1,Nnb,4,2,"ng-container",4),R(2,Qnb,4,2,"ng-container",4),R(3,Unb,4,2,"ng-container",
4),R(4,Xnb,4,2,"ng-container",4),R(5,aob,4,2,"ng-container",4),R(6,dob,4,2,"ng-container",4),J());a&2&&(a=P(),C(1),G("ngIf","hotlist"===a.header.type),C(1),G("ngIf","savedsearch"===a.header.type),C(1),G("ngIf","component"===a.header.type),C(1),G("ngIf","tracker"===a.header.type),C(1),G("ngIf","team"===a.header.type),C(1),G("ngIf","customfield"===a.header.type))},fob=function(a){a&1&&(H(0,"span"),S(1),J());a&2&&(a=P().$implicit,C(1),We(" ",a.id,": ",a.name," "))},gob=function(a){a&1&&(H(0,"span"),
S(1),H(2,"span"),S(3),J()());a&2&&(a=P().$implicit,C(1),Te(" Hotlist ",a.hotlistId,": "),C(2),Ve(a.name))},hob=function(a){a&1&&(H(0,"span"),S(1),H(2,"span"),S(3),J(),K(4,"br"),H(5,"span",16),S(6),J()());a&2&&(a=P().$implicit,C(1),Te(" Saved search ",a.searchId,": "),C(2),Ve(a.name),C(3),Ve(a.query))},iob=function(a){a&1&&(H(0,"span"),S(1),J());a&2&&(a=P().$implicit,C(1),Te(" ",a.name," "))},job=function(a){a&1&&(H(0,"span"),S(1," > "),J())},lob=function(a,b){if(a&1){var c=x();L(0);H(1,"span",19);
O("click",function(d){var e=z(c).$implicit;kob(e);return A(d.stopPropagation())});S(2);J();R(3,job,2,0,"span",4);M()}a&2&&(a=b.$implicit,b=b.last,C(1),Re("title","",a.id,": ",a.name,""),C(1),Ve(a.name),C(1),G("ngIf",!b))},mob=function(a){a&1&&(H(0,"span"),S(1," Component "),H(2,"strong",9),S(3),J(),K(4,"b-access-level-indicator",10)(5,"b-tracker-chip-smart",11),H(6,"span",17),R(7,lob,4,4,"ng-container",18),J()());a&2&&(a=P().$implicit,C(3),Ve(a.componentId),C(1),G("accessLevel",null==a.accessLimit?
null:a.accessLimit.accessLevel),C(1),G("trackerId",a.trackerId),C(2),G("ngForOf",a.componentPath))},nob=function(a){a&1&&(H(0,"span"),S(1),H(2,"span"),S(3),J()());a&2&&(a=P().$implicit,C(1),Te(" Tracker ",a.trackerId,": "),C(2),Ve(a.name))},oob=function(a){a&1&&(H(0,"span"),S(1," > "),J())},pob=function(a,b){if(a&1){var c=x();L(0);H(1,"span",19);O("click",function(d){var e=z(c).$implicit;kob(e);return A(d.stopPropagation())});S(2);J();R(3,oob,2,0,"span",4);M()}a&2&&(a=b.$implicit,b=b.last,C(1),Re("title",
"",a.id,": ",a.name,""),C(1),Ve(a.name),C(1),G("ngIf",!b))},qob=function(a){a&1&&(H(0,"span"),S(1," Team "),H(2,"strong"),S(3),J(),H(4,"span",17),R(5,pob,4,4,"ng-container",18),J()());a&2&&(a=P().$implicit,C(3),Ve(a.id),C(2),G("ngForOf",a.teamPath))},rob=function(a){a&1&&(H(0,"span"),S(1),J());a&2&&(a=P().$implicit,C(1),We(" ",a.label,": ",a.name," "))},tob=function(a,b){if(a&1){var c=x();H(0,"b-app-search-auto-complete-option",15);O("optionClicked",function(e){z(c);var g=P();0<=e&&e<g.items.length&&
(e=g.items[e],e.id&&e.completionCfg&&sob(e),g.itemSelected.emit(e));return A()});R(1,fob,2,2,"span",4);R(2,gob,4,2,"span",4);R(3,hob,7,3,"span",4);R(4,iob,2,1,"span",4);R(5,mob,8,4,"span",4);R(6,nob,4,2,"span",4);R(7,qob,6,2,"span",4);R(8,rob,2,2,"span",4);J()}if(a&2){a=b.$implicit;b=b.index;var d=P();Be("id","b-app-search-option-",b,"");G("index",b)("isActive",0<=b&&b<d.items.length?b===d.activeItemIndex:!1);C(1);G("ngIf","issue"===a.completionCfg.type);C(1);G("ngIf","hotlist"===a.completionCfg.type);
C(1);G("ngIf","savedsearch"===a.completionCfg.type);C(1);G("ngIf","atom"===a.completionCfg.type);C(1);G("ngIf","component"===a.completionCfg.type);C(1);G("ngIf","tracker"===a.completionCfg.type);C(1);G("ngIf","team"===a.completionCfg.type);C(1);G("ngIf",!d.SPECIAL_ITEM_TYPES.includes(a.completionCfg.type))}},vob=function(a){if(a&1){var b=x();H(0,"div",21)(1,"input",22,23);O("ngModelChange",function(c){z(b);var d=P();return A(d.searchName=c)})("keydown.Tab",function(){z(b);var c=P();return A(uob(c))})("keydown.enter",
function(){z(b);var c=P();return A(c.saveSearch())});J();H(3,"button",24);O("click",function(){z(b);var c=P();return A(c.saveSearch())});K(4,"mat-icon",25);J()()}a&2&&(a=P(),C(1),G("ngModel",a.searchName),C(2),G("disabled",!a.searchName))},wob=function(a){a&1&&(L(0),H(1,"span",10),S(2),J(),M());a&2&&(a=P(),C(1),Ie("muted",a.disabled),C(1),Ve(a.cardTitle))},xob=function(a){a&1&&K(0,"mat-icon",11)},yob=function(a){a&1&&K(0,"mat-icon",12)},zob=function(a){a&1&&(H(0,"mat-select-trigger"),K(1,"mat-icon",
20),H(2,"span"),S(3),J()());a&2&&(a=P(3),C(1),G("svgIcon",a.selectedOption.icon),C(2),Ve(a.selectedOption.displayText))},Aob=function(a){a&1&&K(0,"mat-icon",20);a&2&&(a=P().$implicit,G("svgIcon",a.icon))},Bob=function(a,b){a&1&&(H(0,"mat-option",21),R(1,Aob,1,1,"mat-icon",22),S(2),J());a&2&&(a=b.$implicit,G("value",a),C(1),G("ngIf",a.icon),C(1),Te("",a.displayText," "))},Cob=function(a){if(a&1){var b=x();H(0,"mat-form-field",16)(1,"mat-label");S(2," Choose type... ");J();H(3,"mat-select",17);O("valueChange",
function(c){z(b);var d=P(2);return A(d.selectedOption=c)})("selectionChange",function(c){z(b);P(2).dropdownSelectionChanged.emit(c.value);return A()});R(4,zob,4,2,"mat-select-trigger",18);R(5,Bob,3,3,"mat-option",19);J()()}a&2&&(a=P(2),C(3),G("disabled",a.disabled)("value",a.selectedOption),C(1),G("ngIf",a.selectedOption&&a.selectedOption.icon),C(1),G("ngForOf",a.dropdownOptions))},Dob=function(a){if(a&1){var b=x();H(0,"mat-form-field",13)(1,"input",14);O("ngModelChange",function(c){z(b);var d=P();
return A(d.cardTitleChange.emit(c))});J()();R(2,Cob,6,4,"mat-form-field",15)}a&2&&(a=P(),C(1),Ie("muted",a.disabled||!a.selected),G("placeholder",a.placeholderForCardTitle)("disabled",a.disabled||!a.selected)("ngModel",a.cardTitle),Ae("aria-label",a.ariaLabelForCardTitle),C(1),G("ngIf",a.dropdownOptions.length))},Eob=function(a){a&1&&(H(0,"div",23),Oe(1),J())},Fob=function(a){a&1&&(H(0,"button",31),K(1,"mat-icon",32),J());a&2&&(a=P(2),G("disabled",a.disabled))},Gob=function(a){a&1&&K(0,"mat-divider",
33);a&2&&G("vertical",!0)},Hob=function(a){a&1&&(H(0,"mat-slide-toggle",34),S(1," Required "),J());a&2&&(a=P(2),G("disabled",a.disabled))},Iob=function(a){if(a&1){var b=x();H(0,"mat-slide-toggle",35);O("change",function(c){z(b);var d=P(2);return A(d.isInheritedChange.emit(c))});S(1," Inherited ");J()}a&2&&(a=P(2),G("checked",a.isInherited)("disabled",a.inheritedDisabled)("matTooltip",a.inheritedDisabledTooltipText)("matTooltipDisabled",!a.inheritedDisabled))},Job=function(a){if(a&1){var b=x();H(0,
"div",24)(1,"button",25);O("click",function(){z(b);var c=P();return A(c.onSave())});S(2," Save ");J();H(3,"button",26);O("click",function(){z(b);var c=P();return A(c.onCancel())});S(4," Cancel ");J();R(5,Fob,2,1,"button",27);R(6,Gob,1,1,"mat-divider",28);R(7,Hob,2,1,"mat-slide-toggle",29);R(8,Iob,2,4,"mat-slide-toggle",30);J()}a&2&&(a=P(),C(1),G("disabled",a.isSaveButtonDisabled),C(2),G("disabled",a.disabled),C(2),G("ngIf",a.showDeleteButton),C(1),G("ngIf",a.showDeleteButton&&a.showRequiredToggle),
C(1),G("ngIf",a.showRequiredToggle),C(1),G("ngIf",a.showInheritedToggle))},Kob=function(a){a&1&&(H(0,"h3"),S(1),J());a&2&&(a=P(2),C(1),Te(" Edit Custom Field ",a.editableField.customFieldId," "))},Lob=function(a){a&1&&(H(0,"h3"),S(1," Create Custom Field "),J())},Mob=function(a){a&1&&(H(0,"div",40),S(1),J());a&2&&(a=P(2),C(1),Te(" ",a.serverError," "))},Oob=function(a,b){a&1&&(H(0,"button",41),S(1),T(2,"enumToHuman"),J());if(a&2){a=b.$implicit;P();var c=Se(32);G("matMenuTriggerFor",c)("matMenuTriggerData",
Ze(5,Nob,a));C(1);Te(" ",U(2,3,a)," ")}},Pob=function(a,b){if(a&1){var c=x();H(0,"button",43);O("click",function(){var d=z(c).$implicit,e=P().type,g=P(2);return A(g.setType(e,"Multiple"===d))});S(1);J()}a&2&&(a=b.$implicit,C(1),Te(" ",a," "))},Qob=function(a){a&1&&R(0,Pob,2,1,"button",42);a&2&&(a=P(2),G("ngForOf",a.secondaryTypes))},Sob=function(a){if(a&1){var b=x();H(0,"td",7)(1,"label",44);S(2," Allowed Values: ");J();H(3,"b-list-field",45);O("valuesChange",function(c){z(b);var d=P(2);return A(Rob(d,
c.values))});J()()}a&2&&(a=P(2),C(3),G("defaultLineCount",3)("type",a.ListFieldType.REPEATED_TEXT)("values",a.editableField.allowedValue)("listFieldDisabled",a.isSaving)("preventDuplicates",!0)("isDefaultOrAllowedValues",!0)("truncate",!0))},Tob=function(a){a&1&&(H(0,"label",46),S(1," Default Value: "),J())},Wob=function(a,b){if(a&1){var c=x();H(0,"b-edit-field",47);O("valueChange",function(d){z(c);var e=P(2);Uob(e,d);return A()});J()}a&2&&(a=b.ngIf,b=P(2),G("name","Default")("type",a)("tooltip",
"Set default value")("value",Vob(b))("choices",b.allowedValues)("showEnumTitle",!0)("disabled",b.isSaving)("truncate",!0)("clearable",!0))},Xob=function(a){a&1&&(H(0,"label",48),S(1," Default Values: "),J())},Yob=function(a,b){if(a&1){var c=x();H(0,"b-list-field",49);O("valuesChange",function(d){z(c);var e=P(2);Uob(e,d.values);return A()});J()}a&2&&(a=b.ngIf,b=P(2),G("defaultLineCount",3)("type",a)("tooltip","Set default values")("values",b.getListFieldValues())("enumChoices",b.allowedValues)("isDefaultOrAllowedValues",
!0)("listFieldDisabled",b.isSaving)("truncate",!0))},Zob=function(a,b){if(a&1){var c=x();H(0,"button",50);O("click",function(){var d=z(c).$implicit,e=P(2);return A(e.setFieldSignificance(d))});S(1);T(2,"enumToHuman");J()}a&2&&(a=b.$implicit,C(1),Te(" ",U(2,1,a)," "))},$ob=function(a){if(a&1){var b=x();H(0,"div",4);R(1,Kob,2,1,"h3",3);R(2,Lob,2,0,"h3",3);R(3,Mob,2,1,"div",5);H(4,"form",6)(5,"div",7)(6,"label",8);S(7,"Name:");J();H(8,"input",9);O("ngModelChange",function(h){z(b);var l=P();return A(l.editableField.name=
h)});J()();H(9,"div",7)(10,"label",10);S(11,"Description:");J();H(12,"textarea",11);O("ngModelChange",function(h){z(b);var l=P();return A(l.editableField.description=h)});J()();H(13,"table",12)(14,"tr")(15,"td",7)(16,"div",13)(17,"label",14);S(18," Type: ");J();H(19,"onedev-hovercard",null,15)(21,"div",16)(22,"div",17);S(23," You can only choose type of field when creating a new custom field. You won't be able to edit it after the custom field is created. ");J()()()();H(24,"button",18);S(25);T(26,
"enumToHuman");K(27,"b-icon",19);J();H(28,"mat-menu",null,20);R(30,Oob,3,7,"button",21);J();H(31,"mat-menu",null,22);R(33,Qob,1,1,"ng-template",23);J()();R(34,Sob,4,7,"td",24);H(35,"td",7);R(36,Tob,2,0,"label",25);R(37,Wob,1,9,"b-edit-field",26);R(38,Xob,2,0,"label",27);R(39,Yob,1,8,"b-list-field",28);J();H(40,"td",7)(41,"label",29);S(42," Required: ");J();H(43,"b-edit-field",30);O("valueChange",function(h){z(b);var l=P();return A(l.editableField.required=!!h)});J()();H(44,"td",7)(45,"div",13)(46,
"label",31);S(47," Field Significance: ");J();H(48,"onedev-hovercard",null,32)(50,"div",33)(51,"div",17);S(52," This affects whether users will receive notifications when changes are made to this field. ");K(53,"br");S(54," See\u00a0 ");H(55,"a",34);S(56,"Email Settings ");J()()()()();H(57,"button",35);S(58);T(59,"enumToHuman");K(60,"b-icon",19);J();H(61,"mat-menu",null,36);R(63,Zob,3,3,"button",37);J()()()();H(64,"button",38);O("click",function(){z(b);var h=P();return A(h.save())});S(65," Save ");
J();H(66,"button",39);O("click",function(){z(b);var h=P();return A(h.cancel())});S(67," Cancel ");J()()()}if(a&2){var c=Se(20),d=Se(29),e=Se(49),g=Se(62);a=P();C(1);G("ngIf",!!a.editableField.customFieldId);C(1);G("ngIf",!a.editableField.customFieldId);C(1);G("ngIf",a.serverError);C(5);G("bFocus",a.editableField&&!a.isLoading)("ngModel",a.editableField.name)("disabled",a.isSaving);C(4);G("ngModel",a.editableField.description)("disabled",a.isSaving);C(5);G("onedevHovercardTrigger",c);C(7);G("matMenuTriggerFor",
d)("disabled",!!a.editableField.customFieldId);C(1);Te(" ",U(26,28,a.editableField.type)," ");C(5);G("ngForOf",a.typeChoices);C(4);G("ngIf",["REPEATED_ENUM","ENUM"].includes(a.editableField.type));C(2);G("ngIf",!a.editableField.isRepeated());C(1);G("ngIf",a.getSingleEditFieldType(a.editableField));C(1);G("ngIf",a.editableField.isRepeated());C(1);G("ngIf",a.getListFieldType(a.editableField));C(4);G("name","Required")("type",a.FieldType.BOOL)("tooltip","Whether the field is required")("value",a.editableField.required);
C(3);G("onedevHovercardTrigger",e);C(9);G("href",a.documentationLinks.baseDocumentationUrl+"/concepts/settings#email",vd);C(2);G("matMenuTriggerFor",g);C(1);Te(" ",U(59,30,a.editableField.fieldSignificance)," ");C(5);G("ngForOf",a.significanceChoices);C(1);G("disabled",!a.hasUnsavedChanges()||!a.editableField.name)}},apb=function(a){a&1&&(H(0,"div",51),K(1,"b-spinner",52),J());a&2&&(C(1),G("large",!0))},bpb=function(a){a&1&&(H(0,"th"),S(1,"Actions"),J())},dpb=function(a){if(a&1){var b=x();H(0,"td",
59)(1,"button",60);O("click",function(){z(b);var c=P().index,d=P(2);return A(d.editField(c))});S(2,"Edit");J();H(3,"button",60);O("click",function(){z(b);var c=P().index,d=P(2);return A(cpb(d,c))});S(4,"Delete");J()()}},epb=function(a,b){a&1&&(H(0,"tr",56)(1,"td"),S(2),J(),H(3,"td"),S(4),J(),H(5,"td"),S(6),T(7,"enumToHuman"),J(),H(8,"td"),S(9),J(),H(10,"td"),S(11),T(12,"yesNo"),J(),H(13,"td"),K(14,"b-custom-field-value-display",57),J(),H(15,"td"),S(16),T(17,"arrayToHuman"),J(),H(18,"td"),S(19),T(20,
"enumToHuman"),J(),R(21,dpb,5,0,"td",58),J());a&2&&(a=b.$implicit,b=P(2),G("ngClass",a.enabledOnIssues?"enabled-field":"disabled-field"),C(2),Ve(a.name),C(2),Ve(a.customFieldId),C(2),Ve(U(7,10,a.type)),C(3),Ve(a.description),C(2),Ve(U(12,12,a.required)),C(3),G("customFieldValue",a.typedDefaultValue),C(2),Ve(U(17,14,a.allowedValue)),C(3),Ve(U(20,16,a.fieldSignificance)),C(2),G("ngIf",b.editMode))},fpb=function(a){a&1&&(H(0,"tr")(1,"td",61),S(2," There are no custom fields defined on this component. "),
J()())},gpb=function(a){a&1&&(H(0,"tr")(1,"td",62)(2,"strong"),S(3,"Fields inherited from parent components"),J()()())},hpb=function(a){a&1&&(L(0),K(1,"b-component-card",69,70),M());if(a&2){var b=Se(2);a=P().$implicit;C(1);G("onedevIsHovercardReady",b.init)("componentId",a.componentId.toString())}},jpb=function(a){if(a&1){var b=x();H(0,"b-field-state-menu",71,72);O("fieldStateChange",function(d){z(b);var e=P(),g=e.$implicit;e=e.index;var h=P(3);return A(h.updateCustomFieldState(g,d,e))});J()}if(a&
2){a=P().$implicit;var c=P(3);G("fieldName",a.name)("fieldState",a.stateOnIssues)("enabledOnParent",ipb(c,a.customFieldId))("disabled",!c.editMode)("matTooltip",c.msgFieldStateTip);Ae("aria-label",c.msgFieldStateTip)}},kpb=function(a,b){if(a&1){var c=x();H(0,"tr",56)(1,"td");S(2);J();H(3,"td");S(4);J();H(5,"td");S(6);T(7,"enumToHuman");J();H(8,"td");S(9);J();H(10,"td");S(11);T(12,"yesNo");J();H(13,"td");K(14,"b-custom-field-value-display",57);J();H(15,"td");S(16);T(17,"arrayToHuman");J();H(18,"td");
S(19);T(20,"enumToHuman");J();H(21,"td",59)(22,"div",63)(23,"div",64);S(24,"Inherited From");J();H(25,"a",65);O("click",function(){z(c);var e=P(3);return A(e.trackClick("parentCustomFields"))});S(26);J();H(27,"onedev-hovercard",null,66);R(29,hpb,3,2,"ng-container",67);J()();R(30,jpb,2,6,"b-field-state-menu",68);J()()}if(a&2){a=b.$implicit;var d=Se(28);b=P(3);G("ngClass",a.enabledOnIssues?"enabled-field":"disabled-field");C(2);Ve(a.name);C(2);Ve(a.customFieldId);C(2);Ve(U(7,13,a.type));C(3);Ve(a.description);
C(2);Ve(U(12,15,a.required));C(3);G("customFieldValue",a.typedDefaultValue);C(2);Ve(U(17,17,a.allowedValue));C(3);Ve(U(20,19,a.fieldSignificance));C(6);G("onedevHovercardTrigger",d)("href",b.paths.manageComponent(a.componentId,"customFields"),vd);C(1);Te(" ",b.componentIdsToNames[a.componentId]," ");C(4);G("ngIf",b.editMode)}},lpb=function(a){a&1&&(L(0),R(1,kpb,31,21,"tr",54),M());a&2&&(a=P(2),C(1),G("ngForOf",a.inheritedCustomFields))},mpb=function(a){a&1&&(H(0,"tfoot")(1,"tr")(2,"td",62),S(3," Custom fields in this table are sorted alphabetically. To see or modify field ordering, go to the "),
H(4,"a",73),S(5,"Field Ordering"),J(),S(6," tab."),K(7,"br"),S(8," Before removing custom fields or adding/changing required state, ensure that no automation depends on them. "),J()()())},npb=function(a){if(a&1){var b=x();H(0,"div",74)(1,"button",75);O("click",function(){z(b);var c=P(2);c.editableField=new Ng;c.originalEditableFieldValue=Gg(c.editableField);c.setType("TEXT");c.allowedValues=[];c.serverError=null;return A()});S(2," Add a Custom Field ");J()()}},opb=function(a){a&1&&(H(0,"div")(1,"table",
53)(2,"tr")(3,"th"),S(4,"Name"),J(),H(5,"th"),S(6,"ID"),J(),H(7,"th"),S(8,"Type"),J(),H(9,"th"),S(10,"Description"),J(),H(11,"th"),S(12,"Required?"),J(),H(13,"th"),S(14,"Default Value"),J(),H(15,"th"),S(16,"Allowed Values"),J(),H(17,"th"),S(18,"Field Significance"),J(),R(19,bpb,2,0,"th",3),J(),R(20,epb,22,18,"tr",54),R(21,fpb,3,0,"tr",3),R(22,gpb,4,0,"tr",3),R(23,lpb,2,1,"ng-container",3),R(24,mpb,9,0,"tfoot",3),J(),R(25,npb,3,0,"div",55),J());a&2&&(a=P(),C(19),G("ngIf",a.editMode),C(1),G("ngForOf",
a.customFields),C(1),G("ngIf",!a.customFields.length),C(1),G("ngIf",a.inheritedCustomFields.length),C(1),G("ngIf",a.inheritedCustomFields.length),C(1),G("ngIf",a.customFields.length),C(1),G("ngIf",a.editMode))},ppb=function(a){if(a&1){var b=x();H(0,"button",18);O("click",function(){z(b);var c=P().index,d=P();return A(d.removeAtIndex.emit(c))});K(1,"mat-icon",19);J()}a&2&&(a=P().$implicit,Ae("aria-label","Delete row "+a.label))},qpb=function(a,b){if(a&1){var c=x();H(0,"div",9)(1,"div",10);K(2,"mat-icon",
11);H(3,"div",1)(4,"mat-form-field",12)(5,"input",13,14);O("change",function(g){var h=z(c).index,l=P();l.options[h].label=g.target.value;l.optionsChange.emit(l.options);return A()});J()()();H(7,"div",1)(8,"mat-form-field",12)(9,"input",15,16);O("change",function(g){var h=z(c).index,l=P();return A(l.valueChange(g,h))});J()()();R(11,ppb,2,1,"button",17);J()()}if(a&2){a=b.$implicit;var d=Se(6),e=Se(10);b=P();C(4);G("appearance",d.focused||e.focused?"standard":"none");C(1);Ie("muted",b.disabled);G("value",
a.label)("placeholder",null==a.label?"Dropdown value":"")("disabled",b.disabled);C(3);G("appearance",d.focused||e.focused?"standard":"none");C(1);Ie("muted",b.disabled);G("value",a.value)("placeholder",null==a.value?"Average days":"")("disabled",b.disabled);C(2);G("ngIf",!b.disabled)}},rpb=function(a){if(a&1){var b=x();H(0,"button",20);O("click",function(){z(b);var c=P();return A(c.addRow.emit())});S(1," Add row\n");J()}},spb=function(a){a&1&&Le(0)},tpb=function(a){a&1&&(L(0),R(1,spb,1,0,"ng-container",
5),M());if(a&2){P();var b=Se(7);C(1);G("ngTemplateOutlet",b)}},upb=function(a){if(a&1){var b=x();L(0);H(1,"b-numeric-config",6);O("valueChange",function(c){z(b);var d=P();return A(d.numericSpecMultiplier=c)});J();M()}a&2&&(a=P(),C(1),G("disabled",a.disabled)("value",a.numericSpecMultiplier))},vpb=function(a){a&1&&Le(0)},wpb=function(a){if(a&1){var b=x();H(0,"div",7)(1,"label",8);S(2,"Aggregation Rule");J();H(3,"a",9);K(4,"mat-icon",10);J();K(5,"br");H(6,"mat-form-field",11)(7,"mat-select",12);O("valueChange",
function(c){z(b);var d=P();return A(d.selectedAggregationRule=c)});H(8,"mat-select-trigger");S(9);T(10,"aggregationRuleText");J();H(11,"mat-option",13)(12,"div",14);S(13);T(14,"aggregationRuleText");J();H(15,"div",15);S(16,"All parents and children are added to the total");J()();H(17,"mat-option",13)(18,"div",14);S(19);T(20,"aggregationRuleText");J();H(21,"div",15);S(22,"Take the assigned estimate if larger than total of all immediate children");J()()()()()}a&2&&(a=P(),C(7),G("value",a.selectedAggregationRule)("disabled",
a.disabled),C(2),Te(" ",U(10,7,a.selectedAggregationRule)," "),C(2),G("value",a.aggregationRules.SUM),C(2),Ve(U(14,9,a.aggregationRules.SUM)),C(4),G("value",a.aggregationRules.MAX),C(2),Ve(U(20,11,a.aggregationRules.MAX)))},xpb=function(a){if(a&1){var b=x();H(0,"b-config-grid",16);O("optionsChange",function(c){z(b);var d=P();return A(d.enumSpecOptions=c)})("addRow",function(){z(b);var c=P();return A(c.addRow())})("removeAtIndex",function(c){z(b);P().enumSpecOptions.splice(c,1);return A()});J()}a&
2&&(a=P(),G("options",a.enumSpecOptions)("disabled",a.disabled||a.inherit))},ypb=function(a){return a&&"0"!==a.teamId?a.deleted?"DELETED":"VALID":"MISSING"},zpb=function(a){if(a&1){var b=x();H(0,"div",6);S(1," Select a team from the suggestions below, or edit in ");H(2,"a",7);O("click",function(){z(b);var c=P();return A(c.trackClick("viewTeamAssociationOnComponent"))});S(3,"component settings");J();S(4,".\n");J()}a&2&&(a=P(),C(2),G("href",a.componentSetting,vd))},Apb=function(a){a&1&&(H(0,"div",6),
S(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),S(3,"component settings"),J(),S(4,".\n"),J());a&2&&(a=P(),C(2),G("href",a.componentSetting,vd))},Bpb=function(a){if(a&1){var b=x();H(0,"mat-radio-group",9);O("ngModelChange",function(c){z(b);var d=P();return A(d.teamAction=c)});H(1,"p")(2,"mat-radio-button",10);S(3," Don't make any changes ");J()();H(4,"p")(5,"mat-radio-button",11);S(6," Map component to selected team ");
J()()()}a&2&&(a=P(),G("ngModel",a.teamAction))},Cpb=function(a){a&1&&(L(0),H(1,"span",19),S(2),J(),M());a&2&&(a=P().$implicit,C(2),Ve(a.teamPath))},Dpb=function(a){a&1&&S(0," -- ")},Epb=function(a,b){a&1&&(R(0,Cpb,3,1,"ng-container",17),R(1,Dpb,1,0,"ng-template",null,18,of));if(a&2){a=b.$implicit;var c=Se(2);G("ngIf",a)("ngIfElse",c)}},Fpb=function(a){if(a&1){var b=x();H(0,"div",12)(1,"onedev-single-select",13);O("valueChange",function(d){z(b);var e=P();return A(e.selectedTeam=d)})("valueChange",
function(d){z(b);var e=P();return A(e.selectOption(d))});J();R(2,Epb,3,2,"ng-template",null,14,of);H(4,"a",15);O("click",function(){z(b);var d=P();return A(d.trackClick("viewTeamInMoma"))});K(5,"mat-icon",16);J()()}if(a&2){var c=Se(3);a=P();C(1);G("disabled","NONE"===a.teamAction)("value",a.selectedTeam)("options",a.teamOptions)("includeEmptyOption",!1)("optionTemplate",c);C(3);Ae("href",a.getMomaTeamLink(),vd)}},Gpb=function(a){if(a&1){var b=x();H(0,"b-callout-actions")(1,"b-button",2);O("click",
function(){z(b);var c=P();return A(c.openDialog())});S(2);J()()}a&2&&(a=P(),C(2),Ve(a.buttonName))},Hpb=function(a){a&1&&(H(0,"div",8),K(1,"b-team-warning",9),J());a&2&&(a=P().ngIf,C(1),G("warningType",a)("messageOnly",!0))},Ipb=function(a,b){a&1&&(L(0),R(1,Hpb,2,2,"div",7),M());a&2&&(a=b.ngIf,b=P(),C(1),G("ngIf",b.isAdmin&&("MISSING"===a||"DELETED"===a)))},Jpb=function(a){if(a&1){var b=x();H(0,"div",10)(1,"mat-checkbox",11);O("change",function(c){z(b);var d=P();d.inherit=!c.checked;d.model.inherit=
d.inherit;!d.isTopLevel&&d.inherit&&d.parentModel&&(d.model.id=d.parentModel.id);d.teamIdChanged$.next(d.model.id);d.modelChange.emit(d.model);return A()});S(2," Override the inherited team ");J()()}a&2&&(a=P(),C(1),G("disabled",!a.isAdmin)("checked",!a.inherit))},Lpb=function(a){if(a&1){var b=x();H(0,"a",13);O("click",function(){z(b);P(2);jl(Yl.MANAGE_COMPONENT,"navigate","to-internal-team-page");return A()});K(1,"mat-icon",14);J()}a&2&&(a=P(2),G("routerLink",Kpb(a)?"/teams/"+a.model.id+"/edit":
null)("target",a.anchorTarget))},Mpb=function(a){a&1&&(L(0),R(1,Lpb,2,2,"a",12),M());a&2&&(a=P(),C(1),G("ngIf",Kpb(a)))},Npb=function(a){if(a&1){var b=x();H(0,"a",16);O("click",function(){z(b);var c=P(2);jl(Yl.MANAGE_COMPONENT,"linkout-moma","team",Number(c.model.id));return A()});K(1,"mat-icon",14);J()}a&2&&(a=P(2),Ae("href",a.getMomaTeamLink(),vd))},Opb=function(a){a&1&&R(0,Npb,2,1,"a",15);a&2&&(a=P(),G("ngIf",Kpb(a)))},Rpb=function(a,b){if(a&1){var c=x();H(0,"li",11);O("keydown",function(e){var g=
z(c).index,h=P();return A(h.onKeyDown(e,g))})("focus",function(){var e=z(c).index,g=P();return A(g.onFocus(e))});K(1,"mat-icon",12);H(2,"span");S(3);J();H(4,"div",13)(5,"button",14);O("click",function(){var e=z(c).index,g=P();return A(Ppb(g,e))});K(6,"mat-icon",15);J();H(7,"button",16);O("click",function(){var e=z(c).index,g=P();return A(Qpb(g,e))});K(8,"mat-icon",17);J()()()}if(a&2){a=b.$implicit;b=b.index;var d=P();Ae("aria-label",a.name)("aria-grabbed",b===d.grabbedIndex);C(3);Ve(a.name);C(2);
Ie("invisible",0===b);C(2);Ie("invisible",b===d.fields.length-1)}},Spb=function(a){a&1&&(H(0,"th",14),S(1," Order"),J())},Tpb=function(a,b){a&1&&(H(0,"td",15),S(1),J());a&2&&(a=b.index,C(1),Te(" ",a+1," "))},Upb=function(a){a&1&&(H(0,"th",14),S(1," Name"),J())},Vpb=function(a,b){a&1&&(H(0,"td",15),S(1),J());a&2&&(a=b.$implicit,C(1),Te(" ",a.name," "))},Wpb=function(a){a&1&&(H(0,"th",14),S(1," Type"),J())},Xpb=function(a,b){a&1&&(H(0,"td",15),S(1),T(2,"toCustomFieldTypeDisplayValue"),J());a&2&&(a=
b.$implicit,C(1),Te(" ",U(2,1,a.type)," "))},Ypb=function(a){a&1&&(H(0,"th",14),S(1," Required"),J())},Zpb=function(a,b){a&1&&(H(0,"td",15),S(1),J());a&2&&(a=b.$implicit,C(1),Te(" ",a.required?"Yes":"No"," "))},$pb=function(a){a&1&&(H(0,"th",14),S(1," ID"),J())},aqb=function(a,b){a&1&&(H(0,"td",15),S(1),J());a&2&&(a=b.$implicit,C(1),Te(" ",a.customFieldId," "))},bqb=function(a){a&1&&K(0,"tr",16)},cqb=function(a){a&1&&K(0,"tr",17)},dqb=function(a){a&1&&(H(0,"div",18),S(1," There are no custom fields defined on this component. "),
J())},gqb=function(a){if(a&1){var b=x();H(0,"div",19)(1,"div")(2,"button",20);O("click",function(){z(b);var c=P();return A(eqb(c))});S(3," Reorder fields ");J();H(4,"button",20);O("click",function(){z(b);var c=P();return A(fqb(c))});S(5," Reset ordering ");J()()()}a&2&&(a=P(),C(2),G("disabled",0===a.fields.length),C(2),G("disabled","CUSTOMIZED"!==a.fieldOrdering))},hqb=function(a){a&1&&(H(0,"span"),S(1),J());a&2&&(a=P(),C(1),a=a.lineNumbers.length,Te(" (",a+(1==a?" TODO":" TODOs"),") "))},jqb=function(a,
b){if(a&1){var c=x();H(0,"li",5)(1,"a",6);O("click",function(){z(c);var d=P(2);return A(d.trackClick("lineNumber"))});S(2);J()()}a&2&&(a=b.$implicit,b=P(2),C(1),G("href",iqb(b,a),vd),C(1),Ve(a))},kqb=function(a){a&1&&(H(0,"span"),S(1," ("),H(2,"ul",3),R(3,jqb,3,2,"li",4),J(),S(4,") "),J());a&2&&(a=P(),C(3),G("ngForOf",a.lineNumbers))},lqb=function(a){a&1&&K(0,"div",2)},mqb=function(a){a&1&&(L(0),Oe(1),M())},nqb=function(a){a&1&&(Xc(),H(0,"svg",1),K(1,"path",2),J());a&2&&(a=P(),G("matTooltip",a.warning))},
oqb=function(a){a&1&&Le(0)},rqb=function(a){if(a&1){var b=x();H(0,"div",1);O("keydown",function(c){z(b);var d=P();return A(d.processKeydown(c))});H(1,"div",2);R(2,oqb,1,0,"ng-container",3);J();H(3,"div",4)(4,"button",5);O("click",function(){z(b);var c=P();return A(pqb(c))});S(5,"Save");J();H(6,"button",6);O("click",function(){z(b);var c=P();return A(qqb(c))});S(7,"Cancel");J()()()}a&2&&(a=P(),G("cdkTrapFocusAutoCapture",!0),C(2),G("ngTemplateOutlet",a.editorTemplate))},sqb=function(a){a&1&&Le(0)},
uqb=function(a){a&1&&(L(0),R(1,sqb,1,0,"ng-container",8),M());a&2&&(a=P(),C(1),G("ngTemplateOutlet",a.valueTemplate)("ngTemplateOutletContext",Ze(2,tqb,a.value)))},vqb=function(a){a&1&&S(0);a&2&&(a=P(),Ve(null!=a.value?a.value:"--"))},wqb=function(a){a&1&&(Xc(),H(0,"svg",9),K(1,"path",10),J())},xqb=function(a){if(a&1){var b=x();H(0,"input",11);O("ngModelChange",function(c){z(b);var d=P();return A(d.editingValue=c)});J()}a&2&&(a=P(),G("ngModel",a.editingValue))},yqb=function(a){return null!=a?Number(a):
void 0},zqb=function(a){a&1&&K(0,"mat-icon",12);if(a&2){P();var b=Se(5);G("onedevHovercardTrigger",b)}},Aqb=function(a){if(a&1){var b=x();L(0);H(1,"onedev-numeric-field",13);O("valueChange",function(d){z(b);var e=P(2);e.selectedNumericEstimate=d;null==d?e.effortChange.emit(void 0):e.effortChange.emit({estimate:String(d)});return A()});J();M()}if(a&2){a=P(2);var c=Se(2);C(1);G("value",a.selectedNumericEstimate)("valueTemplate",c)("disabled",a.disabled)("displayEditIcon",!a.disabled)}},Bqb=function(a){a&
1&&(L(0),S(1),M());a&2&&(a=P().$implicit,C(1),Te(" ",a.label," "))},Cqb=function(a){a&1&&S(0," -- ")},Dqb=function(a,b){a&1&&(R(0,Bqb,2,1,"ng-container",16),R(1,Cqb,1,0,"ng-template",null,17,of));if(a&2){a=b.$implicit;var c=Se(2);G("ngIf",a)("ngIfElse",c)}},Fqb=function(a){if(a&1){var b=x();L(0);H(1,"onedev-single-select",14);O("valueChange",function(e){z(b);var g=P(2);return A(g.selectOption(e))});J();R(2,Dqb,3,2,"ng-template",null,15,of);M()}if(a&2){var c=Se(3);a=P(2);var d;C(1);G("value",a.selectedOption)("options",
null!==(d=null==a.effortSpec.enumSpec?null:a.effortSpec.enumSpec.options)&&void 0!==d?d:Ye(6,Eqb))("includeEmptyOption",!0)("optionTemplate",c)("disabled",a.disabled)("displayArrowIcon",!a.disabled)}},Gqb=function(a){a&1&&(L(0),S(1),M());a&2&&(a=P(2),C(1),Te(" ",null==a.effort?null:a.effort.estimate," "))},Hqb=function(a){a&1&&(H(0,"onedev-edit-field")(1,"onedev-field-label",2),S(2),R(3,zqb,1,1,"mat-icon",3),J(),H(4,"onedev-hovercard",null,4)(6,"div",5)(7,"div",6),S(8," This estimate was made under a different configuration and needs to be updated. "),
H(9,"a",7),S(10,"Learn more"),J()()()(),H(11,"onedev-field-value",8),L(12,9),R(13,Aqb,2,4,"ng-container",10),R(14,Fqb,4,7,"ng-container",10),R(15,Gqb,2,1,"ng-container",11),M(),J()());a&2&&(a=P(),C(1),G("thinking",a.thinking),C(1),Te(" ",a.fieldName," "),C(1),G("ngIf",!a.isCompatibleValue),C(8),G("thinking",a.thinking),C(1),G("ngSwitch",a.fieldType),C(1),G("ngSwitchCase","NUMERIC"),C(1),G("ngSwitchCase","DROPDOWN"))},Iqb=function(a){a&1&&(L(0),S(1),M());a&2&&(a=P(2),C(1),Te(" ",null==a.effort?null:
a.effort.estimate," "))},Jqb=function(a){a&1&&S(0);a&2&&(a=P().$implicit,Te(" ",null!=a?a:"--"," "))},Kqb=function(a,b){a&1&&(R(0,Iqb,2,1,"ng-container",16),R(1,Jqb,1,1,"ng-template",null,18,of));if(a&2){a=b.$implicit;var c=Se(2);b=P();G("ngIf",b.isNaN(a))("ngIfElse",c)}},Lqb=function(a){a&1&&K(0,"mat-icon",13)},Mqb=function(a){a&1&&K(0,"mat-icon",14)},Nqb=function(a){a&1&&(H(0,"span"),K(1,"b-formatted-date-time",23),J());a&2&&(a=P(2),C(1),G("timestamp",a.sloSnoozeUntil))},Oqb=function(a){a&1&&(H(0,
"span"),K(1,"b-formatted-date-time",23),J());a&2&&(a=P(2),C(1),G("timestamp",a.issueCreationTimestamp/1E3))},Pqb=function(a){if(a&1){var b=x();H(0,"snooze-date-time-picker",24);O("closePicker",function(){z(b);var c=P(2);return A(c.isSloStartEditTimePickerOpen=!1)})("sloEditCommit",function(c){z(b);P(2).onSnoozeChange.next(c);return A()});J()}a&2&&(a=P(2),G("sloStatus",a.sloStatus)("sloEditTime",a.sloSnoozeUntil))},Qqb=function(a){if(a&1){var b=x();H(0,"div",15);S(1," Start Date: ");H(2,"div",16)(3,
"a",17,18);O("keydown.enter",function(){z(b);var d=P();d.isSloStartEditTimePickerOpen=!d.isSloStartEditTimePickerOpen;return A()})("keydown.space",function(){z(b);var d=P();d.isSloStartEditTimePickerOpen=!d.isSloStartEditTimePickerOpen;return A()})("click",function(){z(b);var d=P();d.isSloStartEditTimePickerOpen=!d.isSloStartEditTimePickerOpen;return A()});R(5,Nqb,2,1,"span",19);R(6,Oqb,2,1,"span",19);J();H(7,"a",20);K(8,"mat-icon",21);J();R(9,Pqb,1,2,"ng-template",22);J()()}if(a&2){var c=Se(4);a=
P();C(5);G("ngIf",a.sloSnoozeUntil);C(1);G("ngIf",!a.sloSnoozeUntil);C(3);G("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",a.isSloStartEditTimePickerOpen)}},Rqb=function(a){a&1&&(H(0,"span"),K(1,"b-formatted-date-time",23),J());a&2&&(a=P(2),C(1),G("timestamp",a.sloEndTime))},Sqb=function(a){a&1&&(H(0,"span"),K(1,"b-formatted-date-time",23),J());a&2&&(a=P(2),C(1),G("timestamp",1E3*a.closureSloTarget))},Tqb=function(a){if(a&1){var b=x();H(0,"snooze-date-time-picker",24);O("closePicker",function(){z(b);
var c=P(2);return A(c.isSloEndEditTimePickerOpen=!1)})("sloEditCommit",function(c){z(b);var d=P(2);return A(d.updateSloEndTime(c))});J()}a&2&&(a=P(2),G("sloStatus",a.sloStatus)("sloEditTime",a.sloEndTime))},Uqb=function(a){if(a&1){var b=x();H(0,"div",25);S(1," End date: ");H(2,"div",16)(3,"a",26,18);O("click",function(){z(b);var d=P();d.isSloEndEditTimePickerOpen=!d.isSloEndEditTimePickerOpen;return A()})("keydown.enter",function(){z(b);var d=P();d.isSloEndEditTimePickerOpen=!d.isSloEndEditTimePickerOpen;
return A()})("keydown.space",function(){z(b);var d=P();d.isSloEndEditTimePickerOpen=!d.isSloEndEditTimePickerOpen;return A()});R(5,Rqb,2,1,"span",19);R(6,Sqb,2,1,"span",19);J();H(7,"a",20);K(8,"mat-icon",21);J();R(9,Tqb,1,2,"ng-template",22);J()()}if(a&2){var c=Se(4);a=P();C(5);G("ngIf",a.sloEndTime);C(1);G("ngIf",!a.sloEndTime);C(3);G("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",a.isSloEndEditTimePickerOpen)}},Vqb=function(a,b){if(a&1){var c=x();H(0,"a",29);O("click",function(){z(c);
var d=P(2);return A(d.trackOpenSlo())});S(1);J()}a&2&&(a=b.ngIf,b=P(2),Ae("href",b.editSloLink,vd),C(1),Te(" ",a.name," "))},Wqb=function(a){a&1&&(H(0,"div",27),S(1," SLO definition: "),R(2,Vqb,2,2,"a",28),T(3,"async"),J());a&2&&(a=P(),C(2),G("ngIf",U(3,1,a.slo$)))},Xqb=function(a){if(a&1){var b=x();H(0,"div",27)(1,"a",30);O("click",function(){z(b);P();jl(Yl.MANAGE_COMPONENT,"open","fromIssueSloBox");return A()});S(2,"Select an SLO");J()()}a&2&&(a=P(),C(1),Ae("href",a.componentSloLink,vd))},Yqb=function(a){a&
1&&(H(0,"a",10),S(1," Create Component "),J());a&2&&(a=P(),G("href",a.createComponentPath,vd))},Zqb=function(a){if(a&1){var b=x();H(0,"xap-dialog-layout",11)(1,"xap-dialog-layout-content")(2,"b-team-component-picker",12);O("selectedComponentChange",function(d){z(b);var e=P();return A(e.viewComponent(null!==d&&void 0!==d?d:null,"openFromSearch"))});T(3,"async");J()()()}if(a&2){a=P();var c;C(2);G("includeArchived",null!==(c=U(3,4,a.includeArchived$))&&void 0!==c?c:!1)("placeholder","Choose Component to navigate to that component")("shouldFocus",
!0)("isRequired",!1)}},arb=function(a){if(a&1){var b=x();H(0,"div",13)(1,"b-slide-toggle",14);O("modelChange",function(d){z(b);var e=P();e.includeArchived$.next(d);d=e.componentTree;d=d.focusedController?d.focusedController.selectedId?d.focusedController.selectedId:-1:d.rootController.selectedId?d.rootController.selectedId:-1;0<d&&$qb(e,d,(0,F.firstValueFrom)(e.topLevelComponents$));return A()});T(2,"async");J()()}if(a&2){a=P();var c;C(1);G("model",null!==(c=U(2,2,a.includeArchived$))&&void 0!==c?
c:!1)("tooltip",a.includeArchived?"Show archived components.":"Hide archived components.")}},brb=function(a){a&1&&(H(0,"div",15),K(1,"b-spinner",16),J())},crb=function(a){a&1&&(H(0,"p",3),S(1),J());a&2&&(a=P(),C(1),Ve(a.packageMentionSet.packageName))},drb=function(a,b){a&1&&(H(0,"li"),K(1,"b-file-mention",4),J());a&2&&(a=b.$implicit,b=P(),C(1),G("issueId",b.issueId)("packageName",b.packageMentionSet.packageName)("filename",a.filename)("lineNumbers",a.lineNumber)("changeNumber",a.changeNumber))},
erb=function(a){a&1&&(H(0,"span",6),S(1," Select at least one tracker "),J())},frb=function(a,b){if(a&1){var c=x();H(0,"div",7)(1,"mat-checkbox",8);O("change",function(d){var e=z(c).$implicit,g=P();return A(g.trackerCheckboxValues[e.trackerId]=d.checked)});S(2);J()()}a&2&&(a=b.$implicit,b=P(),C(1),G("checked",b.trackerCheckboxValues[a.trackerId]||!1),C(1),Te(" ",a.name," "))},grb=function(a){a&1&&(K(0,"b-tracker-search",6),T(1,"async"),T(2,"async"));a&2&&(a=P(),G("currentTrackerId",U(1,2,a.currentTracker.trackerId$))("availableTrackers",
U(2,4,a.currentTracker.availableTrackers$)))},hrb=function(a){a&1&&(H(0,"div",7),K(1,"b-spinner"),H(2,"span"),S(3,"Initializing query builder..."),J()())},irb=function(a){a&1&&(H(0,"div",10),K(1,"mat-icon",11),H(2,"p"),S(3," The query is too complex to show in the query builder. You can still perform the search or save the search. "),J()())},jrb=function(a){a&1&&(H(0,"div"),S(1," We cannot understand your query because it seems to be incorrect (syntactically). Make sure all parentheses are balanced and all labels have values. "),
J())},krb=function(a){a&1&&(H(0,"div",8),R(1,irb,4,0,"div",9),R(2,jrb,2,0,"div",5),J());a&2&&(a=P(),C(1),G("ngIf","NOT_REPRESENTABLE"===(null==a.advancedSearchCtrl?null:a.advancedSearchCtrl.getState())),C(1),G("ngIf","SYNTAX_ERROR"===(null==a.advancedSearchCtrl?null:a.advancedSearchCtrl.getState())))},lrb=function(a){a&1&&(H(0,"div",8),S(1," We encountered a problem while retrieving the interpretation of the search query from the server. Please try again. "),J())},mrb=function(a){a&1&&K(0,"b-tracker-account-menu-hack")},
nrb=function(a){a&1&&(H(0,"span"),S(1),K(2,"span",16),J());a&2&&(a=P(2).$implicit,C(1),Te(" ",a.diff.oldValue," "))},orb=function(a){a&1&&(H(0,"span")(1,"label"),S(2),J(),R(3,nrb,3,1,"span",15),S(4),J());a&2&&(a=P().$implicit,C(2),Te("",a.fieldName,":"),C(1),G("ngIf",a.diff.oldValue),C(1),Te(" ",a.diff.newValue," "))},prb=function(a,b){a&1&&(H(0,"div")(1,"label"),S(2),J(),S(3),J());a&2&&(a=b.$implicit,b=P(3).$implicit,C(2),Te("-",b.fieldName,":"),C(1),Te(" ",a," "))},qrb=function(a){a&1&&(L(0),R(1,
prb,4,2,"div",17),M());a&2&&(a=P(2).$implicit,C(1),G("ngForOf",a.diff.removed))},rrb=function(a,b){a&1&&(H(0,"div")(1,"label"),S(2),J(),S(3),J());a&2&&(a=b.$implicit,b=P(3).$implicit,C(2),Te("+",b.fieldName,":"),C(1),Te(" ",a," "))},srb=function(a){a&1&&(L(0),R(1,rrb,4,2,"div",17),M());a&2&&(a=P(2).$implicit,C(1),G("ngForOf",a.diff.added))},trb=function(a){a&1&&(H(0,"div"),R(1,qrb,2,1,"ng-container",15),R(2,srb,2,1,"ng-container",15),J());a&2&&(a=P().$implicit,C(1),G("ngIf",a.diff.removed),C(1),G("ngIf",
a.diff.added))},urb=function(a,b){a&1&&(H(0,"div",14),R(1,orb,5,3,"span",15),R(2,trb,3,2,"div",15),J());a&2&&(a=b.$implicit,C(1),G("ngIf","SINGLE_VALUE"==a.diffType),C(1),G("ngIf","COLLECTION"==a.diffType))},vrb=function(a,b){a&1&&(H(0,"li",5)(1,"div",6),K(2,"b-user-image",7),J(),H(3,"div",8)(4,"h4"),K(5,"b-user-display-name",9),H(6,"span",10),K(7,"b-formatted-date-time",11),J()(),H(8,"div",12),R(9,urb,3,2,"div",13),J()()());a&2&&(a=b.$implicit,b=P(),C(2),G("email",b.userToDisplay(a.author)),C(3),
G("email",b.userToDisplay(a.author)),C(2),G("timestamp",a.timestamp),C(2),G("ngForOf",a.diffs))},wrb=function(a){var b=window.homepagePreferences;if(a&&"EXPERIMENTAL_HOMEPAGE"===(null==b?void 0:b.resourceType))return"/dash";if("NEEDS_ATTENTION"===(null==b?void 0:b.resourceType))return"/attention";if(null==b||!b.resourceId)return"/issues";switch(b.resourceType){case "BOOKMARK_GROUP":return"/dashboard/"+b.resourceId;case "SAVED_SEARCH":return"/savedsearches/"+b.resourceId;case "HOTLIST":return"/hotlists/"+
b.resourceId;default:return"/issues"}},xrb=function(a,b){a&1&&(H(0,"mat-option",3),S(1),K(2,"br"),H(3,"span",4),S(4),J()());a&2&&(a=b.$implicit,G("value",a),C(1),Te(" ",a.title,""),C(3),Ve(a.description))},zrb=function(a,b){a&1&&(L(0),Le(1,5),M());if(a&2){a=b.$implicit;P();var c=Se(2);C(1);G("ngTemplateOutlet",c)("ngTemplateOutletContext",Ze(2,yrb,a))}},Arb=function(a){a&1&&(L(0),Le(1,5),M());if(a&2){a=P().question;P();var b=Se(4);C(1);G("ngTemplateOutlet",b)("ngTemplateOutletContext",Ze(2,yrb,a))}},
Brb=function(a){a&1&&(L(0),Le(1,5),M());if(a&2){a=P().question;P();var b=Se(6);C(1);G("ngTemplateOutlet",b)("ngTemplateOutletContext",Ze(2,yrb,a))}},Crb=function(a){a&1&&(L(0),Le(1,5),M());if(a&2){a=P().question;P();var b=Se(8);C(1);G("ngTemplateOutlet",b)("ngTemplateOutletContext",Ze(2,yrb,a))}},Drb=function(a,b){a&1&&(L(0,6),R(1,Arb,2,4,"ng-container",7),R(2,Brb,2,4,"ng-container",7),R(3,Crb,2,4,"ng-container",7),M());a&2&&(a=b.question,b=P(),G("ngSwitch",a.type),C(1),G("ngSwitchCase",b.CustomQuestionType.INPUT),
C(1),G("ngSwitchCase",b.CustomQuestionType.TEXT),C(1),G("ngSwitchCase",b.CustomQuestionType.SELECT))},Erb=function(a,b){if(a&1){var c=x();K(0,"h4",8);H(1,"mat-form-field",9)(2,"input",10);O("ngModelChange",function(d){var e=z(c).question;return A(e.response=d)});J()()}a&2&&(a=b.question,G("innerHtml",a.question,ud),C(2),G("ngModel",a.response),Ae("aria-label",a.question))},Frb=function(a,b){if(a&1){var c=x();K(0,"h4",8);H(1,"mat-form-field",11)(2,"textarea",10);O("ngModelChange",function(d){var e=
z(c).question;return A(e.response=d)});S(3,"    ");J()()}a&2&&(a=b.question,G("innerHtml",a.question,ud),C(2),G("ngModel",a.response),Ae("aria-label",a.question))},Hrb=function(a,b){a&1&&(H(0,"mat-option",15),S(1),J());a&2&&(a=b.$implicit,P(2),G("value",a),C(1),Te(" ",Grb(a)?a.text:a," "))},Irb=function(a){a&1&&Le(0,5);if(a&2){a=P().question;P();var b=Se(2);G("ngTemplateOutlet",b)("ngTemplateOutletContext",Ze(2,yrb,a.response.child))}},Krb=function(a,b){if(a&1){var c=x();K(0,"h4",8);H(1,"mat-form-field",
9)(2,"mat-select",12);O("valueChange",function(d){var e=z(c).question,g=P();e.response=d;return A(Jrb(g))});R(3,Hrb,2,2,"mat-option",13);J()();R(4,Irb,1,4,"ng-container",14)}a&2&&(a=b.question,P(),G("innerHtml",a.question,ud),C(2),G("value",a.response),C(1),G("ngForOf",a.options),C(1),G("ngIf",Grb(a.response)))},Lrb=function(a){a&1&&Oe(0)},Mrb=function(a){a&1&&Le(0,8);a&2&&(a=P(),G("ngTemplateOutlet",a.iconOverrides[a.state])("ngTemplateOutletContext",a._getIconContext()))},Nrb=function(a){a&1&&(H(0,
"span",13),S(1),J());a&2&&(a=P(2),C(1),Ve(a._getDefaultTextForState(a.state)))},Orb=function(a){a&1&&(H(0,"span",14),S(1),J());a&2&&(a=P(2),C(1),Ve(a._intl.completedLabel))},Prb=function(a){a&1&&(H(0,"span",14),S(1),J());a&2&&(a=P(2),C(1),Ve(a._intl.editableLabel))},Qrb=function(a){a&1&&(H(0,"mat-icon",13),S(1),J());a&2&&(a=P(2),C(1),Ve(a._getDefaultTextForState(a.state)))},Rrb=function(a){a&1&&(L(0,9),R(1,Nrb,2,1,"span",10),R(2,Orb,2,1,"span",11),R(3,Prb,2,1,"span",11),R(4,Qrb,2,1,"mat-icon",12),
M());a&2&&(a=P(),G("ngSwitch",a.state),C(1),G("ngSwitchCase","number"),C(1),G("ngIf","done"===a.state),C(1),G("ngIf","edit"===a.state))},Srb=function(a){a&1&&(H(0,"div",15),Le(1,16),J());a&2&&(a=P(),C(1),G("ngTemplateOutlet",a._templateLabel().template))},Trb=function(a){a&1&&(H(0,"div",15),S(1),J());a&2&&(a=P(),C(1),Ve(a.label))},Urb=function(a){a&1&&(H(0,"div",17),S(1),J());a&2&&(a=P(),C(1),Ve(a._intl.optionalLabel))},Vrb=function(a){a&1&&(H(0,"div",18),S(1),J());a&2&&(a=P(),C(1),Ve(a.errorMessage))},
Wrb=function(){},Xrb=function(a){a&1&&(Oe(0),R(1,Wrb,0,0,"ng-template",0));a&2&&(a=P(),C(1),G("cdkPortalOutlet",a._portal))},Yrb=function(a){a&1&&K(0,"div",11)},$rb=function(a,b){a&1&&(L(0),Le(1,9),R(2,Yrb,1,0,"div",10),M());if(a&2){a=b.$implicit;var c=b.index;b=b.last;P(2);var d=Se(4);C(1);G("ngTemplateOutlet",d)("ngTemplateOutletContext",$e(3,Zrb,a,c));C(1);G("ngIf",!b)}},csb=function(a,b){if(a&1){var c=x();H(0,"div",12);O("@horizontalStepTransition.done",function(e){z(c);var g=P(2);return A(g._animationDone.next(e))});
Le(1,13);J()}if(a&2){a=b.$implicit;b=b.index;var d=P(2);Ie("mat-horizontal-stepper-content-inactive",d.selectedIndex!==b);G("@horizontalStepTransition",$e(8,asb,d._getAnimationDirection(b),Ze(6,bsb,d._getAnimationDuration())))("id",d._getStepContentId(b));Ae("aria-labelledby",d._getStepLabelId(b));C(1);G("ngTemplateOutlet",a.content)}},dsb=function(a){a&1&&(H(0,"div",4)(1,"div",5),R(2,$rb,3,6,"ng-container",6),J(),H(3,"div",7),R(4,csb,2,11,"div",8),J()());a&2&&(a=P(),C(2),G("ngForOf",a.steps),C(2),
G("ngForOf",a.steps))},esb=function(a,b){if(a&1){var c=x();H(0,"div",15);Le(1,9);H(2,"div",16)(3,"div",17);O("@verticalStepTransition.done",function(h){z(c);var l=P(2);return A(l._animationDone.next(h))});H(4,"div",18);Le(5,13);J()()()()}if(a&2){a=b.$implicit;var d=b.index;b=b.last;var e=P(2),g=Se(4);C(1);G("ngTemplateOutlet",g)("ngTemplateOutletContext",$e(10,Zrb,a,d));C(1);Ie("mat-stepper-vertical-line",!b);C(1);Ie("mat-vertical-stepper-content-inactive",e.selectedIndex!==d);G("@verticalStepTransition",
$e(15,asb,e._getAnimationDirection(d),Ze(13,bsb,e._getAnimationDuration())))("id",e._getStepContentId(d));Ae("aria-labelledby",e._getStepLabelId(d));C(2);G("ngTemplateOutlet",a.content)}},fsb=function(a){a&1&&(L(0),R(1,esb,6,18,"div",14),M());a&2&&(a=P(),C(1),G("ngForOf",a.steps))},gsb=function(a,b){if(a&1){var c=x();H(0,"mat-step-header",19);O("click",function(){var e=z(c).step;return A(e.select())})("keydown",function(e){z(c);var g=P();return A(g._onKeydown(e))});J()}if(a&2){a=b.step;b=b.i;var d=
P();Ie("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);Ae("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)}},isb=function(a){if(a&1){var b=x();L(0);H(1,"h4",2);S(2,"Which of the following best describes the issue that you are reporting?");J();H(3,"wizard-category-select",47);O("categoryChange",function(c){z(b);var d=
P();return A(d.model.category=c)});J();H(4,"mat-card",48)(5,"mat-card-header");S(6," Avoid duplicate issue reports: ");J();H(7,"mat-card-content")(8,"mat-checkbox",49);O("ngModelChange",function(c){z(b);var d=P();return A(d.ackDupes=c)});S(9," By checking this box, I'm acknowledging that I have searched for ");H(10,"a",50);S(11,"existing issues");J();S(12," that already report this problem. ");J()()();H(13,"div",32)(14,"button",35);S(15," Next ");K(16,"mat-icon",36);J()();M()}a&2&&(a=P(),C(3),G("persona",
a.model.persona)("category",a.model.category),C(5),G("ngModel",a.ackDupes),C(6),G("disabled",!hsb(a,0)))},jsb=function(a){a&1&&(H(0,"div")(1,"h3"),S(2,"Prefer to file an issue manually?"),J(),H(3,"p"),S(4," It's usually best to work through this short wizard so that your issue is given the labels needed for the right team to see it. Otherwise it might take longer for your issue to be triaged and resolved. "),J(),H(5,"p"),S(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),S(8,"form"),J(),S(9,". "),J()());a&2&&(a=P(),C(7),G("href",a.paths.createIssue(),vd))},ksb=function(a){if(a&1){var b=x();H(0,"wizard-custom-questions",52);O("responses",function(c){z(b);var d=P();return A(d.model.customQuestionResponses=c)});J()}a&2&&(a=P(),G("category",a.model.category.value))},lsb=function(a){if(a&1){var b=x();H(0,"div",53)(1,"b-recaptcha",54);O("onUpdate",function(c){z(b);var d=P();return A(d.recaptchaResponse=c)});J()()}},msb=function(){},nsb=function(){},osb=function(){},
qsb=function(a){return a.length?"# Custom Questions\n"+psb(a).map(function(b){var c;return"#### "+(null!=(c=b.answerPrefix)?c:b.question)+"\n"+b.response}).join("\n\n"):""},psb=function(a){var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next())c=c.value,Grb(c.response)?(b.push({type:c.type,question:c.question,response:c.response.text}),b.push.apply(b,Jc(psb([c.response.child])))):b.push(c);return b},rsb=function(a){a&1&&(L(0),S(1," > "),M())},ssb=function(a,b){a&1&&(L(0),H(1,"a",7),S(2),J(),R(3,rsb,
2,0,"ng-container",3),M());a&2&&(a=b.$implicit,b=b.last,C(1),Be("aria-label","View recent issues in ",a.name,""),G("routerLinkObj",a.route),C(1),Ve(a.name),C(1),G("ngIf",!b))},tsb=function(a){a&1&&(H(0,"span"),S(1," [Archived]"),J())},usb=function(a){a&1&&(H(0,"div",5),R(1,ssb,4,4,"ng-container",6),T(2,"async"),R(3,tsb,2,0,"span",3),T(4,"async"),J());a&2&&(a=P(),C(1),G("ngForOf",U(2,2,a.componentPath$)),C(2),G("ngIf",U(4,4,a.isArchived$)))},vsb=function(a,b){a&1&&(L(0),H(1,"div",8),K(2,"mat-icon",
9),H(3,"div",10),S(4),J()(),H(5,"p",11),S(6),J(),H(7,"p",10),S(8),J(),M());a&2&&(a=b.$implicit,C(4),Ve(a.name),C(2),Te("Component ID: ",a.componentId,""),C(2),Ve(a.description))},wsb=function(a,b){a&1&&(H(0,"div",12)(1,"a",13),S(2,"View recent open issues"),J(),H(3,"a",14),S(4,"View component settings"),J(),H(5,"a",15),S(6,"Create issue in this component"),J()());a&2&&(a=b.$implicit,C(1),G("routerLinkObj",a.recentIssues),C(2),G("routerLinkObj",a.componentSettings),C(2),G("routerLinkObj",a.createIssue))},
xsb=function(a){a&1&&(H(0,"a",15),S(1," Create Component "),J())},ysb=function(a){a&1&&(H(0,"p",19),S(1," None found. "),H(2,"a",20),S(3,"Learn More"),J()())},zsb=function(a){a&1&&(L(0),K(1,"b-component-path-card",31,32),M());if(a&2){var b=Se(2);a=P().$implicit;C(1);G("onedevIsHovercardReady",b.init)("componentId",a.componentId)}},Asb=function(a,b){a&1&&(H(0,"li")(1,"a",21)(2,"div",22)(3,"span",23),S(4),K(5,"b-access-level-indicator",24)(6,"b-tracker-chip-smart",25),J(),H(7,"p",26),S(8),J()(),H(9,
"div",27)(10,"a",28),S(11," Edit "),J(),H(12,"a",28),S(13," Create Issue "),J()()(),H(14,"onedev-hovercard",null,29),R(16,zsb,3,2,"ng-container",30),J()());if(a&2){a=b.$implicit;var c=Se(15);b=P(2);C(1);G("routerLinkObj",b.viewIssues(a.componentId));C(1);G("onedevHovercardTrigger",c);C(2);Te(" ",a.name||a.componentId," ");C(1);G("accessLevel",null==a.accessLimit?null:a.accessLimit.accessLevel)("labelOnlyMode",!0);C(1);G("trackerId",a.trackerId)("showHovercard",!1);C(2);Ve(a.description);C(2);G("routerLinkObj",
b.componentSettings(a.componentId));C(2);G("routerLinkObj",b.createIssue(a.componentId))}},Bsb=function(a,b){a&1&&(L(0),R(1,ysb,4,0,"p",16),H(2,"ol",17),R(3,Asb,17,10,"li",18),J(),M());a&2&&(a=b.$implicit,C(1),G("ngIf",0===a.length),C(2),G("ngForOf",a))},Dsb=function(a){a&1&&(H(0,"a",25),S(1," Learn more "),J());a&2&&(P(),G("href",Csb(),vd))},Esb=function(a){var b;return(null!=(b=a.getIssueDigestsList())?b:[]).map(vua)},Gsb=function(a){var b=new Set,c=0;a=k(a.matchAll(Fsb));for(var d=a.next();!d.done;d=
a.next())if(d=k(d.value).next().value,!b.has(d)){c+=d.length;if(2049<c)break;b.add(d)}return[].concat(Jc(b))},Hsb=function(a){a&1&&(H(0,"div"),K(1,"b-spinner"),H(2,"span"),S(3,"Loading..."),J()())},Isb=function(a){a&1&&(H(0,"div",2),R(1,Hsb,4,0,"div",3),J());if(a&2){a=P();var b=Se(2);C(1);G("ngIf",a.isInitiallyLoading)("ngIfElse",b)}},Jsb=function(a){a&1&&(H(0,"span",17)(1,"strong"),S(2),J(),S(3," of "),H(4,"strong"),S(5),J()());a&2&&(a=P(4),C(2),We("",a.startIndex,"\u2013",a.endIndex,""),C(3),Ve(a.totalText))},
Ksb=function(a){if(a&1){var b=x();H(0,"div",11);R(1,Jsb,6,3,"span",12);H(2,"b-button",13);O("onAction",function(){z(b);var c=P(3);return A(c.fetchIssues(c.page-1))});K(3,"b-icon",14);J();H(4,"b-button",15);O("onAction",function(){z(b);var c=P(3);return A(c.fetchIssues(c.page+1))});K(5,"b-icon",16);J()()}a&2&&(a=P(3),C(1),G("ngIf",!a.isRefreshing),C(1),G("disabled",1>=a.page),C(2),G("disabled",a.page>=a.numPages))},Lsb=function(a){if(a&1){var b=x();H(0,"button",18);O("click",function(){z(b);var c=
P(3);return A(c.triggerSimilarIssuesSurvey())});K(1,"mat-icon",19);J()}},Msb=function(a){a&1&&(H(0,"li")(1,"h3"),S(2),J(),R(3,Ksb,6,3,"div",9),R(4,Lsb,2,0,"button",10),J());a&2&&(a=P(2),C(2),Ve(a.getHeader()),C(1),G("ngIf",!a.enableSimilarIssues),C(1),G("ngIf",a.showSuggestedDupes))},Nsb=function(a){a&1&&(H(0,"div",20),S(1,"There may already be issues opened on this topic. Please consider +1 to the canonical issue if that is the case."),J())},Osb=function(a){if(a&1){var b=x();H(0,"b-issue-card",26,
27);O("init",function(){z(b);var e=P(4);return A(e.trackTitleHoverOver())});J()}if(a&2){var c=Se(1);a=P().$implicit;var d=P(3);G("onedevIsHovercardReady",c.init)("issueId",a.id)("location",d.CATEGORIES.MAGIC_BOX+d.getGroupName())}},Psb=function(a,b){if(a&1){var c=x();H(0,"li",22)(1,"onedev-hovercard",null,23);R(3,Osb,2,3,"b-issue-card",24);J();H(4,"a",25);O("click",function(){z(c);var e=P(3);return A(e.trackTitleClick())});S(5);J()()}if(a&2){a=b.$implicit;var d=Se(2);b=P(3);G("ngClass",b.enableSimilarIssues?
"magic-box-item-new":"magic-box-item");C(4);Pe("href","issues/",a.id,"",vd);G("onedevHovercardTrigger",d);C(1);Te(" ",a.title," ")}},Qsb=function(a){a&1&&(L(0),R(1,Psb,6,4,"li",21),M());a&2&&(a=P(2),C(1),G("ngForOf",a.magicBoxIssues))},Rsb=function(a){a&1&&(H(0,"li"),S(1),J());a&2&&(a=P(2),C(1),Te(" No ",a.getHeader().toLowerCase()," found. "))},Ssb=function(a){a&1&&(H(0,"li",28)(1,"a",29),S(2," View All Issues \u2192 "),J()());a&2&&(a=P(2),C(1),Qe("href",a.viewAllHref,vd))},Tsb=function(a){if(a&
1){var b=x();H(0,"li",30)(1,"button",31);O("click",function(){z(b);var c=P(2);c.fetchIssues(c.page+1);c.analytics.trackEvent(Yl.MAGIC_BOX,"loadMore");return A()});K(2,"mat-icon",32);S(3," Load more ");J()()}},Usb=function(a){if(a&1){var b=x();H(0,"li",33)(1,"a",29)(2,"button",34);O("click",function(){z(b);P(2).analytics.trackEvent(Yl.MAGIC_BOX,"viewAll");return A()});S(3,"View all ");K(4,"mat-icon",35);J()()()}a&2&&(a=P(2),C(1),Qe("href",a.viewAllHref,vd))},Vsb=function(a){a&1&&(H(0,"li"),K(1,"b-spinner"),
H(2,"span"),S(3,"Loading..."),J()())},Wsb=function(a){a&1&&(H(0,"ul"),R(1,Msb,5,3,"li",4),R(2,Nsb,2,0,"div",5),R(3,Qsb,2,1,"ng-container",4),R(4,Rsb,2,1,"li",4),R(5,Ssb,3,1,"li",6),R(6,Tsb,4,0,"li",7),R(7,Usb,5,1,"li",8),R(8,Vsb,4,0,"li",4),J());a&2&&(a=P(),C(1),G("ngIf",!a.hideHeader),C(1),G("ngIf",a.showSuggestedDupes),C(1),G("ngIf",!a.isRefreshing),C(1),G("ngIf",0==a.magicBoxIssues.length&&!a.isRefreshing),C(1),G("ngIf",!a.isRefreshing&&1<a.numPages&&!a.enableSimilarIssues&&a.viewAllHref),C(1),
G("ngIf",!a.isRefreshing&&a.endIndex<a.numTotalResults&&a.enableSimilarIssues),C(1),G("ngIf",!a.isRefreshing&&1<a.numPages&&a.enableSimilarIssues&&a.viewAllHref),C(1),G("ngIf",a.isRefreshing))},Xsb=function(a){a&1&&Le(0)},Zsb=function(a){a&1&&(L(0),R(1,Xsb,1,0,"ng-container",8),M());a&2&&(a=P(),C(1),G("ngTemplateOutlet",a.valueTemplate)("ngTemplateOutletContext",Ze(2,Ysb,a.value)))},$sb=function(a){a&1&&S(0);a&2&&(a=P(),Ve(a.value||"--"))},atb=function(a){a&1&&(Xc(),H(0,"svg",9),K(1,"path",10),J());
a&2&&(a=P(),Ie("centered",a.centerEditIcon))},btb=function(a){a&1&&K(0,"textarea",15);a&2&&(a=P(3),G("formControl",a.editingValue)("cdkAutosizeMaxRows",a.multilineMaxLines))},ctb=function(a){a&1&&K(0,"input",16);a&2&&(a=P(3),G("formControl",a.editingValue))},dtb=function(a){a&1&&(L(0),H(1,"div",12),R(2,btb,1,2,"textarea",13),R(3,ctb,1,1,"ng-template",null,14,of),J(),M());if(a&2){var b=Se(4);a=P(2);C(2);G("ngIf",a.allowMultipleLines)("ngIfElse",b)}},etb=function(a){a&1&&Le(0)},gtb=function(a){a&1&&
(L(0),R(1,etb,1,0,"ng-container",8),M());a&2&&(a=P(2),C(1),G("ngTemplateOutlet",a.editorTemplate)("ngTemplateOutletContext",Ze(2,ftb,a.editingValue)))},htb=function(a){a&1&&(R(0,dtb,5,2,"ng-container",11),R(1,gtb,2,4,"ng-container",11));a&2&&(a=P(),G("ngIf",!a.editorTemplate),C(1),G("ngIf",a.editorTemplate))},itb=function(){},jtb=function(a){a&1&&K(0,"span",2);a&2&&(a=P(),G("@indicatorRotate",a._getExpandedState()))},ktb=function(a){if(a&1){var b=x();H(0,"b-hotlist-picker",24);O("onApply",function(c){z(b);
var d=P();return A(d.handleHotlistPickerSave(c))})("onLoad",function(c){z(b);var d=P();return A(d.loadHotlist(c))})("onCreate",function(c){z(b);var d=P();return A(d.createHotlist(c))});J()}a&2&&(a=P(),G("selectedHotlistIds",a.selectedHotlistIds)("choices",a.hotlists))},ptb=function(a){a&1&&(H(0,"div",25),K(1,"b-icon",26),H(2,"span"),S(3),J(),H(4,"a",27),S(5,"View access settings"),J()());a&2&&(a=P(),G("ngClass",$e(5,ltb,mtb(a),ntb(a))),C(1),G("name","alert")("size","small"),C(2),Te("",otb(a),"\u00a0"),
C(1),G("href",a.selectedComponent?a.paths.manageComponent(a.selectedComponent.componentId,"access"):"",vd))},stb=function(a){a&1&&(H(0,"div",30),S(1),J());a&2&&(a=P(2),C(1),Te(" Error: The following required field(s) have not been filled: ",qtb(a).concat(rtb(a)).join(", ")," "))},ttb=function(a){a&1&&(H(0,"li"),S(1),J());if(a&2){a=P(3);C(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"):"";Ve(a)}},utb=function(a){a&1&&(H(0,"li"),S(1),J());a&2&&(a=P(3),C(1),Te(" Collaborators: you cannot add ",a.invalidCollaboratorsInput.join(", ")," "))},vtb=function(a){a&1&&(H(0,"div",30),S(1," Error: The following field(s) have invalid values: "),H(2,"ul"),R(3,ttb,2,1,"li",20),R(4,utb,2,1,"li",20),J()());a&2&&(a=P(2),C(3),G("ngIf",!a.isBlockedByIssueIdValid||!a.isBlockingIssueIdValid||!a.isParentIssueIdsValid),
C(1),G("ngIf",!a.isCollaboratorsValid))},wtb=function(a){a&1&&(H(0,"div",30),S(1," Error: There is at least one upload ongoing. Please cancel or wait for it to be finished. "),J())},ytb=function(a){a&1&&(H(0,"div",28),R(1,stb,2,1,"div",29),R(2,vtb,5,2,"div",29),R(3,wtb,2,0,"div",29),J());a&2&&(a=P(),C(1),G("ngIf",0!==qtb(a).length||0!==rtb(a).length),C(1),G("ngIf",!a.isBlockedByIssueIdValid||!a.isBlockingIssueIdValid||!a.isParentIssueIdsValid||!a.isCollaboratorsValid),C(1),G("ngIf",xtb(a.comment)))},
ztb=function(a,b){if(a&1){var c=x();H(0,"div",33)(1,"b-hotlist-chip",34);O("removeHotlist",function(){var d=z(c).$implicit,e=P(2);return A(e.removeHotlist(d.hotlistId))});J()()}a&2&&(a=b.$implicit,C(1),G("hotlist",a))},Atb=function(a){a&1&&(H(0,"div",31),R(1,ztb,2,1,"div",32),J());a&2&&(a=P(),C(1),G("ngForOf",a.selectedHotlists))},Btb=function(a,b){if(a&1){var c=x();H(0,"button",43);O("click",function(){var d=z(c).$implicit,e=P(2);e.selectedTemplate=d;e.getIssueTemplate();return A()});S(1);J()}a&
2&&(a=b.$implicit,C(1),Ve(a.name))},Ctb=function(a){if(a&1){var b=x();H(0,"button",43);O("click",function(){z(b);var c=P(2);c.selectedTemplate=c.availableExistingIssueTemplate;c.getIssueTemplate();return A()});S(1);J()}a&2&&(a=P(2),C(1),Ve(a.availableExistingIssueTemplate.name))},Dtb=function(a){a&1&&(H(0,"div",35)(1,"div",14)(2,"label",36),S(3,"Template"),J()(),H(4,"button",37),S(5),K(6,"b-icon",38),J(),H(7,"mat-menu",39,40),R(9,Btb,2,1,"button",41),R(10,Ctb,2,1,"button",42),J()());if(a&2){var b=
Se(8);a=P();var c;C(4);G("matMenuTriggerFor",b);C(1);Ve(null!==(c=null==a.selectedTemplate?null:a.selectedTemplate.name)&&void 0!==c?c:"");C(2);G("overlapTrigger",!0);C(2);G("ngForOf",a.availablePredefinedTemplates);C(1);G("ngIf",a.availableExistingIssueTemplate)}},Etb=function(a){a&1&&(H(0,"div",44)(1,"div",30),S(2," You do not have permission to create issues in this component. "),J()())},Ftb=function(a){if(a&1){var b=x();H(0,"div",69)(1,"b-magic-box",70);O("headerChange",function(c){z(b);var d=
P(3);return A(d.magicBoxHeader=c)});J()()}a&2&&(a=P(3),C(1),G("componentId",a.issue.componentId)("hideHeader",!0)("showInline",a.showRecentIssuesInline)("issueTitle",a.issue.title)("issue",a.issue)("customFieldMap",a.customFieldMap))},Htb=function(a){if(a&1){var b=x();H(0,"div",65)(1,"div",66)(2,"a",67);O("click",function(){z(b);var c=P(2);return A(Gtb(c))})("keydown.enter",function(){z(b);var c=P(2);return A(Gtb(c))})("keydown.space",function(){z(b);var c=P(2);return A(Gtb(c))});S(3);J()();R(4,Ftb,
2,6,"div",68);J()}a&2&&(a=P(2),C(3),We(" ",a.showRecentIssuesInline?"Hide":"View"," ",a.magicBoxHeader.toLowerCase()," "),C(1),G("ngIf",a.showRecentIssuesInline&&a.issue.componentId))},Itb=function(a,b){if(a&1){var c=x();H(0,"button",74);O("click",function(){var d=z(c).$implicit,e=P(3);return A(e.setPriority(d.value))});S(1);J()}a&2&&(a=b.$implicit,C(1),Ve(a.displayText))},Jtb=function(a){if(a&1){var b=x();H(0,"div",35)(1,"div",14)(2,"label",71);S(3,"Priority");J()();H(4,"button",72);S(5);K(6,"b-icon",
38);J();H(7,"mat-menu",39,73)(9,"button",74);O("click",function(){z(b);var d=P(2);return A(d.setPriority(void 0))});S(10,"--");J();R(11,Itb,2,1,"button",75);J()()}if(a&2){var c=Se(8);a=P(2);C(4);G("matMenuTriggerFor",c);Ae("aria-label","Priority, required"+(a.issue.priority?", "+a.issue.priority:""));C(1);Te("",a.issue.priority?a.issue.priority:"--"," ");C(2);G("overlapTrigger",!0);C(4);G("ngForOf",a.priorityChoices)}},Ltb=function(a,b){if(a&1){var c=x();H(0,"button",79);O("click",function(){var d=
z(c).$implicit,e=P(3);return A(Ktb(e,d.value))});S(1);J()}a&2&&(a=b.$implicit,Qe("title",a.altText||""),C(1),Ve(a.displayText))},Mtb=function(a){if(a&1){var b=x();H(0,"div",35)(1,"div",14)(2,"label",76);S(3,"Type");J()();H(4,"button",72);T(5,"enumToHuman");S(6);T(7,"enumToHuman");K(8,"b-icon",38);J();H(9,"mat-menu",39,77)(11,"button",74);O("click",function(){z(b);var d=P(2);return A(Ktb(d))});S(12,"--");J();R(13,Ltb,2,2,"button",78);J()()}if(a&2){var c=Se(10);a=P(2);C(4);G("matMenuTriggerFor",c);
Ae("aria-label","Type, required"+(a.issue.type?U(5,5,", "+a.issue.type):""));C(2);Te("",U(7,7,a.issue.type||"--")," ");C(3);G("overlapTrigger",!0);C(4);G("ngForOf",a.issueTypeChoices)}},Ntb=function(a){if(a&1){var b=x();H(0,"div",80)(1,"div",14)(2,"label",81);S(3,"Assignee");J()();H(4,"div",82)(5,"input",83);O("ngModelChange",function(c){z(b);var d=P(2);return A(d.assigneeText=c)});J()()()}a&2&&(a=P(2),C(5),G("ngModel",a.assigneeText)("bContactAutocomplete","SINGLE"))},Otb=function(a){a&1&&(H(0,"mat-error"),
S(1," Collaborators only accepts individual users. "),J())},Qtb=function(a){if(a&1){var b=x();H(0,"div",84)(1,"div",14)(2,"label",85);S(3,"Collaborators");J();K(4,"mat-icon",86);J();H(5,"div",82)(6,"input",87);O("ngModelChange",function(c){z(b);var d=P(2);return A(d.collaboratorsText=Ptb(c))});J()();R(7,Otb,2,0,"mat-error",20);J()}a&2&&(a=P(2),C(6),Ie("invalid",!a.isCollaboratorsValid),G("ngModel",ep(a.collaboratorsText))("bContactAutocomplete","MULTI"),C(1),G("ngIf",!a.isCollaboratorsValid&&a.submitRequested))},
Rtb=function(a){if(a&1){var b=x();H(0,"div",88)(1,"div",14)(2,"label",89);S(3,"CC");J()();H(4,"div",82)(5,"input",90);O("ngModelChange",function(c){z(b);var d=P(2);return A(d.ccsText=Ptb(c))});J()()()}a&2&&(a=P(2),C(5),G("ngModel",ep(a.ccsText))("bContactAutocomplete","MULTI"))},Stb=function(a){if(a&1){var b=x();H(0,"div",12)(1,"div",13)(2,"div",14)(3,"label",91);S(4," Issue access level ");J()();H(5,"b-issue-access-limits-dropdown",92);O("updatedAccessLimitLevel",function(c){z(b);var d=P(2);return A(d.onAccessLimitLevelSelected(c))});
J()()()}a&2&&(a=P(2),C(5),G("disabled",!1)("implicitAccessEnabled",a.componentHasExpandedAccessEnabled)("defaultAccessLimitLevel",a.selectedAccessLimitLevel))},Ttb=function(a,b){if(a&1){var c=x();H(0,"button",74);O("click",function(){var d=z(c).$implicit,e=P(3);return A(e.issue.severity=e.toIssueSeverity(d.value))});S(1);J()}a&2&&(a=b.$implicit,C(1),Ve(a.displayText))},Utb=function(a){a&1&&(H(0,"span"),S(1,"*"),J())},Vtb=function(a){a&1&&(H(0,"span"),S(1,"*"),J())},Wtb=function(a){a&1&&(H(0,"span"),
S(1,"*"),J())},Ytb=function(a){if(a&1){var b=x();H(0,"div",100)(1,"div",14)(2,"label",118);S(3," Parents ");R(4,Wtb,2,0,"span",20);J()();H(5,"input",119);O("ngModelChange",function(c){z(b);var d=P(3);d.parentIssueIds=Xtb(d,c).map(Cl);c=ep(d.parentIssueIds);d.isParentIssueIdsValid=d.ISSUE_ID_LIST_PATTERN.test(c);return A()});J()()}a&2&&(a=P(3),C(4),G("ngIf",!a.isParentIssueIdsValid),C(1),G("ngModel",ep(a.parentIssueIds)))},Ztb=function(a){a&1&&(H(0,"span"),S(1,"*"),J())},$tb=function(a){if(a&1){var b=
x();H(0,"div",100)(1,"div",14)(2,"label",120);S(3," Children ");R(4,Ztb,2,0,"span",20);J()();H(5,"input",121);O("ngModelChange",function(c){z(b);var d=P(3);d.childrenIssueIds=Xtb(d,c).map(Cl);c=ep(d.childrenIssueIds);d.isChildIssueIdsValid=d.ISSUE_ID_LIST_PATTERN.test(c);return A()});J()()}a&2&&(a=P(3),C(4),G("ngIf",!a.isChildIssueIdsValid),C(1),G("ngModel",ep(a.childrenIssueIds)))},aub=function(a){if(a&1){var b=x();H(0,"div",100)(1,"div",14)(2,"label",91);S(3," Issue access level ");J()();H(4,"b-issue-access-limits-dropdown",
122);O("updatedAccessLimitLevel",function(c){z(b);var d=P(3);return A(d.onAccessLimitLevelSelected(c))});J()()}a&2&&(a=P(3),C(4),G("disabled",!1)("defaultAccessLimitLevel",a.selectedAccessLimitLevel)("implicitAccessEnabled",a.componentHasExpandedAccessEnabled))},bub=function(a){if(a&1){var b=x();H(0,"onedev-text-field",126);O("valueChange",function(d){z(b);var e=P(2).$implicit,g=P(3);return A(g.setCustomFieldValue(e,d))});J()}if(a&2){a=P(2).$implicit;var c=P(3);Pe("id","bv2-custom-field-",a.customFieldId,
"");G("value",a.textValue);Ae("required",c.isCustomFieldRequired(a))("aria-labelledby","bv2-custom-field-"+a.customFieldId+"-label")}},cub=function(a){if(a&1){var b=x();H(0,"onedev-numeric-field",126);O("valueChange",function(d){z(b);var e=P(2).$implicit,g=P(3);return A(g.setCustomFieldValue(e,d))});J()}if(a&2){a=P(2).$implicit;var c=P(3);Pe("id","bv2-custom-field-",a.customFieldId,"");G("value",a.numericValue);Ae("required",c.isCustomFieldRequired(a))("aria-labelledby","bv2-custom-field-"+a.customFieldId+
"-label")}},dub=function(a){if(a&1){var b=x();H(0,"div")(1,"bv2-input-date-picker",127);O("boundValueChange",function(d){z(b);var e=P(2).$implicit,g=P(3);return A(g.setCustomFieldValue(e,d))});J()()}if(a&2){a=P(2).$implicit;var c=P(3);C(1);Qe("bv2AriaLabelledby","bv2-custom-field-"+a.customFieldId+"-label");G("boundValue",a.dateValue)("isRequired",c.isCustomFieldRequired(a))("bv2Id","bv2-custom-field-"+a.customFieldId)}},eub=function(a){if(a&1){var b=x();H(0,"onedev-single-select",128);O("valueChange",
function(d){z(b);var e=P(2).$implicit,g=P(3);return A(g.setCustomFieldValue(e,d))});J()}if(a&2){a=P(2).$implicit;var c=P(3);G("value",a.enumValue)("options",c.getCustomFieldAllowedValues(a))("includeEmptyOption",!0);Ae("aria-labelledby","bv2-custom-field-"+a.customFieldId+"-label")}},fub=function(a,b){a&1&&(H(0,"div"),R(1,bub,1,4,"onedev-text-field",124),R(2,cub,1,4,"onedev-numeric-field",124),R(3,dub,2,4,"div",20),R(4,eub,1,4,"onedev-single-select",125),J());a&2&&(a=b.ngIf,b=P(4),C(1),G("ngIf",a===
b.FieldType.TEXT),C(1),G("ngIf",a===b.FieldType.NUMERIC),C(1),G("ngIf",a===b.FieldType.DATE),C(1),G("ngIf",a===b.FieldType.ENUM))},gub=function(a,b){if(a&1){var c=x();H(0,"div")(1,"b-list-field",129);O("valuesChange",function(e){z(c);var g=P().$implicit,h=P(3);return A(h.setCustomFieldValue(g,e.values))});J()()}if(a&2){a=b.ngIf;b=P().$implicit;var d=P(3);C(1);G("defaultLineCount",2)("type",a)("values",d.getListFieldValues(b))("enumChoices",d.customFieldAllowedValuesMap[b.customFieldId]||null)("truncate",
!0);Ae("aria-labelledby","bv2-custom-field-"+b.customFieldId+"-label")}},iub=function(a,b){a&1&&(H(0,"div",100)(1,"div",14)(2,"label",123),S(3),J()(),R(4,fub,5,4,"div",20),R(5,gub,2,6,"div",20),J());if(a&2){a=b.$implicit;b=P(3);C(2);Pe("id","bv2-custom-field-",a.customFieldId,"-label");var c=b.customFieldMap[a.customFieldId];Qe("title",(c&&c.description?c.description:"Custom Field")+" [ID: "+a.customFieldId+"]");G("ngClass",Ze(7,hub,b.isCustomFieldRequired(a)));var d=(c=b.customFieldMap[a.customFieldId])?
c.name:"";c&&b.canEditIssuesInComponent&&b.customFieldMap[a.customFieldId].required&&(d+=", required field");Ae("aria-label",d);C(1);Te(" ",b.getCustomFieldName(a)," ");C(1);G("ngIf",b.getSingleEditFieldType(b.customFieldMap[a.customFieldId]));C(1);G("ngIf",b.getListFieldType(b.customFieldMap[a.customFieldId]))}},jub=function(a){if(a&1){var b=x();H(0,"mat-expansion-panel",93)(1,"mat-expansion-panel-header")(2,"mat-panel-title");S(3," Advanced fields (Required fields marked with");H(4,"span",94);S(5,
"*");J();S(6,") ");J()();H(7,"div",95)(8,"div",96)(9,"div",14)(10,"label",97);S(11," Severity ");J()();H(12,"button",98);S(13);K(14,"b-icon",38);J();H(15,"mat-menu",39,99);R(17,Ttb,2,1,"button",75);J()();H(18,"div",100)(19,"div",14)(20,"label",101);S(21," Found in ");J()();H(22,"input",102);O("ngModelChange",function(d){z(b);var e=P(2);return A(e.issue.foundInVersion=Ptb(d))});J()();H(23,"div",103)(24,"div",14)(25,"label",104);S(26," In prod ");J()();H(27,"mat-slide-toggle",105);O("ngModelChange",
function(d){z(b);var e=P(2);return A(e.issue.inProd=d)});J()();K(28,"div",57);H(29,"div",100)(30,"div",14)(31,"label",106);S(32," Reporter ");J()();H(33,"input",107);O("ngModelChange",function(d){z(b);var e=P(2);return A(e.reporterText=d)});J()();H(34,"div",100)(35,"div",14)(36,"label",108);S(37," Verifier ");J()();H(38,"input",109);O("ngModelChange",function(d){z(b);var e=P(2);return A(e.verifierText=d)});J()();H(39,"div",100)(40,"div",14)(41,"label",110);S(42," Targeted to ");J()();H(43,"input",
111);O("ngModelChange",function(d){z(b);var e=P(2);return A(e.issue.targetedToVersion=Ptb(d))});J()();K(44,"div",57);H(45,"div",100)(46,"div",14)(47,"label",112);S(48," Blocked by ");R(49,Utb,2,0,"span",20);J()();H(50,"input",113);O("ngModelChange",function(d){z(b);var e=P(2);e.issue.blockedByIssueId=Xtb(e,d);d=ep(e.issue.blockedByIssueId);e.isBlockedByIssueIdValid=e.ISSUE_ID_LIST_PATTERN.test(d);return A()});J()();H(51,"div",100)(52,"div",14)(53,"label",114);S(54," Blocking ");R(55,Vtb,2,0,"span",
20);J()();H(56,"input",115);O("ngModelChange",function(d){z(b);var e=P(2);e.issue.blockingIssueId=Xtb(e,d);d=ep(e.issue.blockingIssueId);e.isBlockingIssueIdValid=e.ISSUE_ID_LIST_PATTERN.test(d);return A()});J()();R(57,Ytb,6,2,"div",116);R(58,$tb,6,2,"div",116);R(59,aub,5,3,"div",116);K(60,"div",57);R(61,iub,6,9,"div",117);J()()}if(a&2){var c=Se(16);a=P(2);C(12);G("matMenuTriggerFor",c);Ae("aria-label","Severity"+(a.issue.severity?", "+a.issue.severity:""));C(1);Ve(a.issue.severity);C(2);G("overlapTrigger",
!0);C(2);G("ngForOf",a.severityChoices);C(5);G("ngModel",ep(a.originalIssueCopy.foundInVersion));C(5);G("ngModel",a.issue.inProd);C(6);G("ngModel",a.reporterText)("bContactAutocomplete","SINGLE");C(5);G("ngModel",a.verifierText)("bContactAutocomplete","SINGLE");C(5);G("ngModel",ep(a.originalIssueCopy.targetedToVersion));C(6);G("ngIf",!a.isBlockedByIssueIdValid);C(1);G("ngModel",ep(a.issue.blockedByIssueId));C(5);G("ngIf",!a.isBlockingIssueIdValid);C(1);G("ngModel",ep(a.issue.blockingIssueId));C(1);
G("ngIf",!a.sessionIsExternal);C(1);G("ngIf",!a.sessionIsExternal);C(1);G("ngIf",a.enableIssueAccessLimits&&!xn(a.selectedComponent));C(2);G("ngForOf",a.issue.customField)}},kub=function(a){a&1&&(H(0,"div",25),K(1,"b-icon",26),H(2,"span"),S(3),J(),H(4,"a",27),S(5,"View access settings"),J()());a&2&&(a=P(2),G("ngClass",$e(5,ltb,mtb(a),ntb(a))),C(1),G("name","alert")("size","small"),C(2),Te("",otb(a),"\u00a0"),C(1),G("href",a.selectedComponent?a.paths.manageComponent(a.selectedComponent.componentId,
"access"):"",vd))},lub=function(a){if(a&1){var b=x();H(0,"div",130)(1,"b-recaptcha",131);O("onUpdate",function(c){z(b);var d=P(2);return A(d.recaptchaResponse=c)});J()()}},qub=function(a){if(a&1){var b=x();H(0,"div");R(1,Htb,5,3,"div",45);H(2,"div",12)(3,"div",13)(4,"div",14)(5,"label",46);S(6,"Title");J()();H(7,"div",47)(8,"input",48);O("ngModelChange",function(c){z(b);var d=P();return A(d.setTitle(c))});J()()();R(9,Jtb,12,5,"div",18);R(10,Mtb,14,9,"div",18);J();L(11);H(12,"div",12);R(13,Ntb,6,2,
"div",49);R(14,Qtb,8,5,"div",50);J();H(15,"div",12);R(16,Rtb,6,2,"div",51);J();M();H(17,"div",52)(18,"div",12)(19,"div",13)(20,"div",14)(21,"label",53);S(22,"Description");J()();H(23,"b-comment-box",54);O("commentChange",function(c){z(b);var d=P();return A(d.comment=c)})("onChange",function(){z(b);var c=P();return A(c.saveCommentDraft())})("onSubmit",function(c){z(b);var d=P();return A(mub(d,!c))})("onRestrict",function(){z(b);var c=P();return A(c.showNewContentJudgementDialog())});H(24,"b-markdown-toggle",
55);O("change",function(c){z(b);var d=P();return A(d.comment.formattingMode=c)});J()()()();R(25,Stb,6,3,"div",56);K(26,"div",57);H(27,"div",58);R(28,jub,62,20,"mat-expansion-panel",59);J();R(29,kub,6,8,"div",9);R(30,lub,2,0,"div",60);H(31,"div",61)(32,"b-button",62);O("onAction",function(){z(b);var c=P();return A(mub(c,!0))});S(33," Create ");J();H(34,"b-button",63);O("onAction",function(){z(b);var c=P();return A(mub(c,!1))});S(35," Create & Start Another ");J();H(36,"b-button",64);O("onAction",function(){z(b);
var c=P();c.draftStore.$window.sessionStorage.removeItem(tl("0"));nub(c.reloadService);return A()});S(37," Discard ");J()()()()}a&2&&(a=P(),C(1),G("ngIf",a.selectedComponent),C(7),G("ngModel",a.issue.title)("bFocus",a.newIssueStarted),C(1),G("ngIf",a.canEditIssuesInComponent),C(1),G("ngIf",a.canEditIssuesInComponent),C(3),G("ngIf",a.canEditIssuesInComponent),C(1),G("ngIf",a.canEditIssuesInComponent),C(2),G("ngIf",a.canEditIssuesInComponent),C(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",Ze(26,oub,xtb(a.comment))),C(1),G("initialValue",a.comment.formattingMode),C(1),G("ngIf",a.canEditIssuesInComponent&&a.enableIssueAccessLimits&&!!xn(a.selectedComponent)),C(3),G("ngIf",a.canEditIssuesInComponent),
C(1),G("ngIf",mtb(a)||ntb(a)),C(1),G("ngIf",a.enableRecaptcha),C(2),G("disabled",pub(a)),C(2),G("disabled",pub(a)),C(2),G("disabled",pub(a)))},rub=function(a,b){a&1&&(H(0,"h2",132),S(1,"This component has a default description"),J(),H(2,"mat-dialog-content"),S(3," You have already entered a description, but the component you chose has a default description: "),H(4,"div",133),S(5),J()(),H(6,"mat-dialog-actions")(7,"button",134),S(8,"Use component description"),J(),H(9,"button",135),S(10,"Keep my description"),
J()());a&2&&(a=b.$implicit,C(5),Ve(a),C(2),G("mat-dialog-close",!0))},sub=function(a,b){b.assigneeText=Qg(a.assigneeUser);b.reporterText=Qg(a.reporterUser);b.verifierText=Qg(a.verifierUser);b.collaboratorsText=Rg(a.collaboratorsUsers);b.ccsText=Rg(a.ccUsers)},uub=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=Yg(a.assigneeText));null!=a.reporterText&&(b.reporterUser=Yg(a.reporterText));
null!=a.verifierText&&(b.verifierUser=Yg(a.verifierText));a.collaboratorsText&&(c=tub(a.collaboratorsText),c.length?b.collaboratorsUsers=c:b.collaboratorsUsers=void 0);a.ccsText&&(a=tub(a.ccsText),a.length?b.ccUsers=a:b.ccUsers=void 0)},tub=function(a){var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next())(c=Yg(c.value))&&b.push(c);return b},wub=function(a,b){for(var c=k(Object.keys(b)),d=c.next();!d.done;d=c.next()){d=d.value;var e=b[d],g=vub[d];"customField"===d||Fg(e,g)||(Array.isArray(e)?a[d]?
(e=esa([].concat(Jc(e),Jc(a[d]))),a[d]=e):a[d]=e:""!==e&&(a[d]=e))}},xub=function(a){a=Object.assign({},a);return delete a.hotlistId,a},yub=function(a){var b={};a=k(a);for(var c=a.next();!c.done;c=a.next())c=c.value,c.allowedValue&&(b[c.customFieldId]=c.allowedValue.map(function(d){return{value:d,displayText:d}}));return b},zub=function(a){if(a&1){var b=x();H(0,"b-star-toggle",12);O("starClicked",function(){z(b);var c=P(2);return A(c.toggleStar())});J()}a&2&&(a=P(2),G("starMessage","Star this bookmark group")("unStarMessage",
"Un-star this bookmark group")("starred",a.isStarred))},Aub=function(a){a&1&&K(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)},Bub=function(a){if(a&1){var b=x();H(0,"div")(1,"div",7);R(2,zub,1,3,"b-star-toggle",8);R(3,Aub,1,4,"b-star-toggle",9);H(4,"span",10);S(5);H(6,"span")(7,"button",11);O("click",function(){z(b);
var c=P();return A(c.editBookmarkGroup())});J()()()()()}a&2&&(a=P(),C(2),G("ngIf",!a.isAdmin),C(1),G("ngIf",a.isAdmin),C(2),Te("",a.bookmarkGroup.name," "))},Eub=function(a){if(a&1){var b=x();H(0,"b-saved-search-panel",17);O("focusedRowIndexChange",function(g){z(b);var h=P().$implicit,l=P();return A(Cub(l,h,g))})("selectionChange",function(g){z(b);var h=P(2);return A(Dub(h,g))})("resultsLoaded",function(g){z(b);var h=P(2);return A(h.loadHotlists(g))});J()}if(a&2){var c=P();a=c.$implicit;var d=c.first;
c=c.last;var e=P();G("panel",a)("isDashboardEditable",e.isAdmin)("focusedRowIndex",a.focusedRowIndex)("savedSearchId",a.resourceId)("first",d)("last",c)}},Fub=function(a){if(a&1){var b=x();H(0,"b-hotlist-panel",18);O("focusedRowIndexChange",function(g){z(b);var h=P().$implicit,l=P();return A(Cub(l,h,g))})("selectionChange",function(g){z(b);var h=P(2);return A(Dub(h,g))})("resultsLoaded",function(g){z(b);var h=P(2);return A(h.loadHotlists(g))});J()}if(a&2){var c=P();a=c.$implicit;var d=c.first;c=c.last;
var e=P();G("panel",a)("isDashboardEditable",e.isAdmin)("focusedRowIndex",a.focusedRowIndex)("hotlistId",a.resourceId)("first",d)("last",c)}},Gub=function(a,b){a&1&&(H(0,"div",14),R(1,Eub,1,6,"b-saved-search-panel",15),R(2,Fub,1,6,"b-hotlist-panel",16),J());a&2&&(G("ngSwitch",b.$implicit.type),C(1),G("ngSwitchCase","SAVED_SEARCH"),C(1),G("ngSwitchCase","HOTLIST"))},Hub=function(a){if(a&1){var b=x();H(0,"button",8);O("click",function(){z(b);var c=P();return A(c.archive())});S(1," Archive bookmark group ");
J()}a&2&&(a=P(),G("disabled",a.hasUnsavedChanges()||a.isSaving()))},Iub=function(a){if(a&1){var b=x();H(0,"button",8);O("click",function(){z(b);var c=P();return A(c.unarchive())});S(1," Unarchive bookmark group ");J()}a&2&&(a=P(),G("disabled",a.hasUnsavedChanges()||a.isSaving()))},Jub=function(a){a&1&&(H(0,"span",32),S(1," (archived) "),J())},Lub=function(a,b){if(a&1){var c=x();H(0,"div")(1,"b-hotlist-chip-smart",48);O("removeHotlist",function(){var d=z(c).ngIf,e=P(4);return A(Kub(e,d))});J()()}a&
2&&(a=b.ngIf,C(1),G("id",a))},Nub=function(a,b){if(a&1){var c=x();H(0,"div",49)(1,"a",50);S(2);J();H(3,"span",51);O("click",function(){var e=z(c).ngIf,g=P(4);return A(Mub(g,e))})("keydown.enter",function(){var e=z(c).ngIf,g=P(4);return A(Mub(g,e))})("keydown.space",function(){var e=z(c).ngIf,g=P(4);return A(Mub(g,e))});S(4," \u00d7 ");J()()}if(a&2){a=b.ngIf;b=P().$implicit;var d=P(3);C(1);G("href",d.paths.viewSavedSearch(a),vd)("matTooltip","Go to saved search: "+d.getDisplayName(b));C(1);Te(" S: ",
d.getDisplayName(b)," ");C(1);G("matTooltip","Remove item: "+d.getDisplayName(b));Ae("aria-label","Remove item: "+d.getDisplayName(b))}},Oub=function(a){a&1&&(H(0,"span",52),S(1,"<None>"),J())},Pub=function(a,b){a&1&&(H(0,"div",45),R(1,Lub,2,1,"div",7),R(2,Nub,5,5,"div",46),R(3,Oub,2,0,"span",47),J());if(a&2){a=b.$implicit;b=P(3);C(1);var c;var d="HOTLIST"===a.resourceType?null==(c=a.hotlistId)?void 0:c.toString():void 0;G("ngIf",d);C(1);G("ngIf","SAVED_SEARCH"===a.resourceType?a.savedSearchId:void 0);
C(1);G("ngIf",!(null==b.bookmarkGroupUnderEdit.item?0:b.bookmarkGroupUnderEdit.item.length))}},Rub=function(a,b){if(a&1){var c=x();H(0,"button",61);O("click",function(){var d=z(c).$implicit,e=P(5);return A(Qub(e,d))});S(1);J()}a&2&&(a=b.$implicit,C(1),Te("",a.name," "))},Sub=function(a){a&1&&R(0,Rub,2,1,"button",60);a&2&&(a=P(4),G("ngForOf",a.savedSearchChoices))},Tub=function(a){a&1&&(H(0,"div",53)(1,"label",54),S(2,"Add from saved searches:"),J(),H(3,"button",55)(4,"span",56),S(5,"Select"),J(),
K(6,"mat-icon",57),J(),H(7,"mat-menu",null,58),R(9,Sub,1,1,"ng-template",59),J()());if(a&2){var b=Se(8);C(3);G("matMenuTriggerFor",b)}},Yub=function(a){if(a&1){var b=x();L(0);H(1,"div",30)(2,"label",33)(3,"span",18);S(4,"Selected items");J()();H(5,"div",34,35);R(7,Pub,4,3,"div",36);J()();H(8,"div",37)(9,"div",38)(10,"label",39);S(11,"Add hotlist from favorites:");J();H(12,"b-hotlist-picker",40);O("onApply",function(c){z(b);var d=P(2);return A(Uub(d,c))})("onCreate",function(c){z(b);var d=P(2);return A(Vub(d,
c))})("onLoad",function(c){z(b);var d=P(2);return A(Wub(d,c))});J()();H(13,"div",41)(14,"label",42);S(15,"Add hotlist by query:");J();H(16,"b-hotlist-search",43);O("itemSelect",function(c){z(b);var d=P(2);"hotlistId"in c&&!d.selectedHotlistIds[0].includes(c.hotlistId)&&(Xub(d,c.hotlistId),d.bookmarkGroupUnderEdit.item.push({name:c.name,resourceType:"HOTLIST",hotlistId:c.hotlistId}));return A()});J()();R(17,Tub,10,1,"div",44);J();M()}a&2&&(a=P(2),C(7),G("ngForOf",a.bookmarkGroupUnderEdit.item),C(5),
G("selectedHotlistIds",a.selectedHotlistIds)("choices",a.userHotlists)("checkEditAcl",!1),C(4),G("showGroups",!1)("allowStarring",!1),C(1),G("ngIf",0<a.savedSearchChoices.length))},$ub=function(a){a&1&&(H(0,"span"),S(1),H(2,"a",65),S(3),J()());if(a&2){a=P().$implicit;var b=P(3);C(1);Te(" Hotlist ",a.hotlistId,": ");C(1);G("href",Zub(b,a),vd);C(1);Te(" ",a.name||"(name not available)"," ")}},avb=function(a){a&1&&(H(0,"span"),S(1),H(2,"a",65),S(3),J()());if(a&2){a=P().$implicit;var b=P(3);C(1);Te(" Saved search ",
a.savedSearchId,": ");C(1);G("href",Zub(b,a),vd);C(1);Te(" ",a.name||"(name not available)"," ")}},bvb=function(a,b){a&1&&(H(0,"li"),R(1,$ub,4,3,"span",7),R(2,avb,4,3,"span",7),J());a&2&&(a=b.$implicit,C(1),G("ngIf","HOTLIST"===a.resourceType),C(1),G("ngIf","SAVED_SEARCH"===a.resourceType))},cvb=function(a){a&1&&(H(0,"div",62)(1,"label")(2,"span",18),S(3,"Items"),J()(),H(4,"div",63)(5,"ul"),R(6,bvb,3,2,"li",64),J()()());a&2&&(a=P(2),C(6),G("ngForOf",a.bookmarkGroup.item))},dvb=function(a){if(a&1){var b=
x();H(0,"div",66)(1,"button",67);O("click",function(){z(b);var c=P(2);return A(c.saveMetadata())});S(2," Update ");J();H(3,"button",68);O("click",function(){z(b);var c=P(2);return A(c.revertMetadataChanges())});S(4," Revert changes ");J()()}a&2&&(a=P(2),C(1),G("disabled",!a.hasUnsavedMetadataChanges()||a.isSaving()))},evb=function(a){if(a&1){var b=x();H(0,"div",66)(1,"button",67);O("click",function(){z(b);var c=P(2);return A(c.saveAccessPolicy())});S(2," Update ");J();H(3,"button",68);O("click",function(){z(b);
var c=P(2);return A(c.revertAccessPolicyChanges())});S(4," Revert changes ");J()()}a&2&&(a=P(2),C(1),G("disabled",!a.hasUnsavedAccessPolicyChanges()||a.isSaving()||!a.isAdminsFieldValid||!a.isReaderFieldValid))},ivb=function(a){if(a&1){var b=x();L(0);H(1,"div",9)(2,"h2");S(3);J();R(4,Jub,2,0,"span",10);H(5,"a",11);S(6," (View Dashboard)");J()();H(7,"mat-tab-group",12);O("selectedIndexChange",function(d){z(b);var e=P();return A(e.selectedTabIndex=d)})("selectedIndexChange",function(d){z(b);var e=P();
return A(e.tabChange(d))});H(8,"mat-tab",13)(9,"div",14);K(10,"b-error-banner",15);H(11,"div",16)(12,"label",17)(13,"span",18);S(14,"Name");J()();H(15,"input",19,20);O("ngModelChange",function(d){z(b);var e=P();return A(e.bookmarkGroupUnderEdit.name=d)});J()();H(17,"div",16)(18,"label",21)(19,"span",18);S(20,"Description");J()();H(21,"textarea",22);O("ngModelChange",function(d){z(b);var e=P();return A(e.bookmarkGroupUnderEdit.description=d)});J()();R(22,Yub,18,7,"ng-container",23);R(23,cvb,7,1,"ng-template",
null,24,of);R(25,dvb,5,1,"div",25);J()();H(26,"mat-tab",26)(27,"div",14)(28,"div",16)(29,"label")(30,"span",18);S(31,"Admins");J();H(32,"p",27);S(33," Edit access controls, edit name and description, reorder items, add/remove items ");J()();H(34,"b-multi-user-input",28);O("usersChange",function(d){z(b);var e=P();return A(e.accessPolicyUnderEdit.admins=d)})("isValid",function(d){z(b);var e=P();return A(e.isAdminsFieldValid=d)});J()();H(35,"div",16)(36,"label")(37,"span",18);S(38,"View only");J();H(39,
"p",27);S(40," View the bookmark group ");J();H(41,"b-multi-user-input",29);O("usersChange",function(d){z(b);var e=P();return A(e.accessPolicyUnderEdit.readers=d)})("isValid",function(d){z(b);var e=P();return A(e.isReaderFieldValid=d)});J()()();H(42,"div",30);S(43," See ");H(44,"a",31);S(45,"access control documentation");J();S(46," for an explanation of the settings. ");J();R(47,evb,5,1,"div",25);J()()();M()}if(a&2){var c=Se(24);a=P();C(3);We(" Bookmark group ",a.bookmarkGroup.bookmarkGroupId,": ",
a.bookmarkGroup.name," ");C(1);G("ngIf",a.isArchived());C(1);G("href",a.paths.dashboard(a.bookmarkGroup.bookmarkGroupId),vd);C(2);G("selectedIndex",a.selectedTabIndex);C(3);G("error",a.error);C(1);G("ngClass",Ze(28,fvb,a.isEditDisabled()));C(4);G("ngModel",a.bookmarkGroupUnderEdit.name)("disabled",a.isEditDisabled());C(2);G("ngClass",Ze(30,fvb,a.isEditDisabled()));C(4);G("ngModel",a.bookmarkGroupUnderEdit.description)("disabled",a.isEditDisabled());C(1);G("ngIf",a.isAdmin)("ngIfElse",c);C(3);G("ngIf",
a.isAdmin);C(3);G("ngClass",Ze(32,fvb,a.isEditDisabled()));C(6);Ie("disabled",a.isEditDisabled());G("users",a.accessPolicyUnderEdit.admins);C(1);G("ngClass",Ze(34,fvb,a.isEditDisabled()));C(6);Ie("disabled",a.isEditDisabled());G("users",a.accessPolicyUnderEdit.readers)("includeAliases",!0)("includeViewAliases",!0)("containerChips",Ze(38,gvb,Ze(36,hvb,a.accessPolicyUnderEdit.admins)));C(3);G("href",Xl(a.documentationLinks)+"#bookmark-groups",vd);C(3);G("ngIf",a.isAdmin)}},jvb=function(a){if(a&1){var b=
x();H(0,"button",8);O("click",function(){z(b);var c=P();return A(c.delete())});S(1," Delete saved search ");J()}a&2&&(a=P(),G("disabled",a.hasUnsavedChanges()||a.isSaving()))},kvb=function(a){a&1&&(L(0),H(1,"div",9)(2,"h2"),S(3," Saved search not found "),J()(),M())},lvb=function(a){if(a&1){var b=x();H(0,"div",34)(1,"button",35);O("click",function(){z(b);var c=P(2);return A(c.saveMetadata())});S(2," Update ");J();H(3,"button",36);O("click",function(){z(b);var c=P(2);return A(c.revertMetadataChanges())});
S(4," Revert changes ");J()()}a&2&&(a=P(2),C(1),G("disabled",!a.hasUnsavedMetadataChanges()||a.isSaving()))},mvb=function(a){if(a&1){var b=x();H(0,"div",34)(1,"button",35);O("click",function(){z(b);var c=P(2);return A(c.saveAccessPolicy())});S(2," Update ");J();H(3,"button",36);O("click",function(){z(b);var c=P(2);return A(c.revertAccessPolicyChanges())});S(4," Revert changes ");J()()}a&2&&(a=P(2),C(1),G("disabled",!a.hasUnsavedAccessPolicyChanges()||a.isSaving()||!a.isAdminsFieldValid||!a.isReaderFieldValid))},
qvb=function(a){if(a&1){var b=x();L(0);H(1,"div",9)(2,"h2");S(3);J();H(4,"a",10);S(5," (View Issues)");J()();H(6,"mat-tab-group",11);O("selectedIndexChange",function(c){z(b);var d=P();return A(d.selectedTabIndex=c)})("selectedIndexChange",function(c){z(b);var d=P();return A(d.tabChange(c))});H(7,"mat-tab",12)(8,"div",13);K(9,"b-error-banner",14);H(10,"div",15)(11,"label",16)(12,"span",17);S(13,"Name");J()();H(14,"input",18,19);O("ngModelChange",function(c){z(b);var d=P();return A(d.savedSearchUnderEdit.name=
c)});J()();H(16,"div",15)(17,"label",20)(18,"span",17);S(19,"Description");J()();H(20,"textarea",21);O("ngModelChange",function(c){z(b);var d=P();return A(d.savedSearchUnderEdit.description=c)});S(21,"            ");J()();H(22,"div",22)(23,"label",23)(24,"span",17);S(25,"Query");J();H(26,"p",24);S(27," To modify query and display preferences, run the saved search and modify its parameters ");J();H(28,"div",25);S(29);J()()();R(30,lvb,5,1,"div",26);J()();H(31,"mat-tab",27)(32,"div",13)(33,"div",15)(34,
"label",28)(35,"span",17);S(36,"Admins");J();H(37,"p",24);S(38," Edit access controls, edit name and description, edit query ");J()();H(39,"b-multi-user-input",29);O("usersChange",function(c){z(b);var d=P();return A(d.accessPolicyUnderEdit.admins=c)})("isValid",function(c){z(b);var d=P();return A(d.isAdminsFieldValid=c)});J()();H(40,"div",15)(41,"label",30)(42,"span",17);S(43,"View and execute search");J()();H(44,"b-multi-user-input",31);O("usersChange",function(c){z(b);var d=P();return A(d.accessPolicyUnderEdit.readers=
c)})("isValid",function(c){z(b);var d=P();return A(d.isReaderFieldValid=c)});J()();H(45,"div",32);S(46," See ");H(47,"a",33);S(48,"access control documentation");J();S(49," for an explanation of the settings. ");J();R(50,mvb,5,1,"div",26);J()()();M()}a&2&&(a=P(),C(3),We(" Saved search ",a.savedSearch.searchId,": ",a.savedSearch.name," "),C(1),G("href",a.paths.viewSavedSearch(a.savedSearch.searchId),vd),C(2),G("selectedIndex",a.selectedTabIndex),C(3),G("error",a.error),C(1),G("ngClass",Ze(26,nvb,a.isEditDisabled())),
C(4),G("ngModel",a.savedSearchUnderEdit.name)("disabled",a.isEditDisabled()),C(2),G("ngClass",Ze(28,nvb,a.isEditDisabled())),C(4),G("ngModel",a.savedSearchUnderEdit.description)("disabled",a.isEditDisabled()),C(9),Te(" ",a.savedSearch.query," "),C(1),G("ngIf",a.isAdmin),C(3),G("ngClass",Ze(30,nvb,a.isEditDisabled())),C(6),Ie("disabled",a.isEditDisabled()),G("users",a.accessPolicyUnderEdit.admins),C(1),G("ngClass",Ze(32,nvb,a.isEditDisabled())),C(4),Ie("disabled",a.isEditDisabled()),G("users",a.accessPolicyUnderEdit.readers)("includeAliases",
!0)("includeViewAliases",!0)("containerChips",Ze(36,ovb,Ze(34,pvb,a.accessPolicyUnderEdit.admins))),C(3),G("href",Xl(a.documentationLinks)+"#saved-searches",vd),C(3),G("ngIf",a.isAdmin))},rvb=function(a){a&1&&(H(0,"div",7),K(1,"b-spinner"),J())},svb=function(a){if(a&1){var b=x();H(0,"div",39)(1,"span",40)(2,"mat-checkbox",41);O("change",function(c){z(b);var d=P(2);return A(d.alertState.setValue(c.checked))});J()();H(3,"div")(4,"strong",42);S(5,"SLO Notifications");J();H(6,"div",43);S(7," When checked, admins will be notified when any component that would be automatically assigned this SLO overrides their SLO settings. ");
J()()()}a&2&&(a=P(2),Ie("bv2-edit-resource-readonly",a.isEditDisabled()),C(2),G("checked",a.alertState.getValue())("disabled",a.isEditDisabled()))},tvb=function(a){a&1&&(H(0,"div",44),S(1," Action is required to keep your SLO definitions in Buganizer and BugScope in sync. "),H(2,"a",45),S(3," Learn more "),J()())},vvb=function(a){if(a&1){var b=x();H(0,"b-button",50);O("onAction",function(){z(b);var c=P(3);return A(uvb(c,!0))});S(1," Archive ");J()}a&2&&(a=P(3),G("disabled",a.hasUnsavedMetadataChanges()||
a.isSaving()))},wvb=function(a){if(a&1){var b=x();H(0,"b-button",51);O("onAction",function(){z(b);var c=P(3);return A(uvb(c,!1))});S(1," Unarchive ");J()}a&2&&(a=P(3),G("disabled",a.hasUnsavedMetadataChanges()||a.isSaving()))},xvb=function(a){if(a&1){var b=x();H(0,"div",26)(1,"b-button",46);O("onAction",function(){z(b);var d=P(2);return A(d.saveMetadata())});S(2," Update ");J();H(3,"b-button",47);O("onAction",function(){z(b);var d=P(2);return A(d.revertMetadataChanges())});S(4," Revert changes ");
J();R(5,vvb,2,1,"b-button",48);R(6,wvb,2,1,"b-button",49);J()}if(a&2){P();var c=Se(9);a=P();C(1);G("disabled",!a.hasUnsavedMetadataChanges()||a.isSaving()||!a.elementPickerIsValid||!!c.pending||!!c.invalid);C(2);G("disabled",!a.hasUnsavedMetadataChanges()||a.isSaving()||!!c.pending||!!c.invalid);C(2);G("ngIf",a.slo&&!a.slo.isArchived);C(1);G("ngIf",a.slo&&a.slo.isArchived)}},yvb=function(a){if(a&1){var b=x();H(0,"div",25)(1,"b-button",52);O("onAction",function(){z(b);var c=P(2);return A(c.saveAccessPolicy())});
S(2," Update ");J();H(3,"b-button",53);O("onAction",function(){z(b);var c=P(2);return A(c.revertAccessPolicyChanges())});S(4," Revert changes ");J()()}a&2&&(a=P(2),C(1),G("disabled",!a.hasUnsavedAccessPolicyChanges()||a.isSaving()||a.isInvalid()))},zvb=function(a){if(a&1){var b=x();H(0,"div")(1,"div",8)(2,"h2")(3,"span",9);S(4);J()()();H(5,"mat-tab-group",10);O("selectedIndexChange",function(c){z(b);var d=P();return A(d.selectedTabIndex=c)})("selectedIndexChange",function(c){z(b);var d=P();return A(d.tabChange(c))});
H(6,"mat-tab",11)(7,"div",12)(8,"form",13,14)(10,"div",15)(11,"label",16)(12,"span",17);S(13,"Name");J()();H(14,"input",18);O("ngModelChange",function(c){z(b);var d=P();return A(d.editableCopy.name=c)});J()();H(15,"div",15)(16,"label",19)(17,"span",17);S(18,"Description");J()();H(19,"textarea",20);O("ngModelChange",function(c){z(b);var d=P();return A(d.editableCopy.description=c)});S(20,"              ");J()();R(21,svb,8,4,"div",21);J();R(22,tvb,4,0,"div",22);H(23,"div",15)(24,"slo-elements-picker",
23);O("onCollectionUpdate",function(c){z(b);var d=P();return A(d.updateCollection(c))})("onValidation",function(c){z(b);var d=P();return A(d.elementPickerIsValid=c)});J()();H(25,"div",24)(26,"div",25)(27,"div",26)(28,"b-button",27);O("onAction",function(){z(b);var c=P();return A(c.showUpdateHistoryModal())});S(29," View history ");J()()();H(30,"div",25);R(31,xvb,7,4,"div",28);J()()()();H(32,"mat-tab",29)(33,"div",30)(34,"form",31)(35,"div",15)(36,"label",32)(37,"span",17);S(38,"Admins");J();H(39,
"p",33);S(40," Edit name, description and metrics ");J()();H(41,"b-multi-user-input",34);O("usersChange",function(c){z(b);var d=P();return A(d.editableAccessPolicy.admins=c)})("isValid",function(c){z(b);var d=P();return A(d.validity.admins=c)});J()();H(42,"div",15)(43,"label",35)(44,"span",17);S(45,"Readers");J();H(46,"p",33);S(47," View the SLO definition (this is not required to see an issue's SLO status) ");J()();H(48,"b-multi-user-input",36);O("usersChange",function(c){z(b);var d=P();return A(d.editableAccessPolicy.readers=
c)})("isValid",function(c){z(b);var d=P();return A(d.validity.readers=c)});J()()();H(49,"div",15);S(50," See ");H(51,"a",37);S(52,"access control documentation");J();S(53," for an explanation of the settings. ");J();R(54,yvb,5,1,"div",38);J()()()()}a&2&&(a=P(),C(4),We(" SLO ",a.slo.sloId,": ",a.slo.name," "),C(1),G("selectedIndex",a.selectedTabIndex),C(5),Ie("bv2-edit-resource-readonly",a.isEditDisabled()),C(4),G("required",!0)("ngModel",a.editableCopy.name)("disabled",a.isEditDisabled()),C(1),Ie("bv2-edit-resource-readonly",
a.isEditDisabled()),C(4),G("ngModel",a.editableCopy.description)("disabled",a.isEditDisabled()),C(2),G("ngIf",a.isImportedFromBugScope||a.alertState.getSavedValue()),C(1),G("ngIf",a.isUneditedFromBugScope&&a.isAdmin()),C(1),Ie("bv2-edit-resource-readonly",a.isEditDisabled()),C(1),G("isDisabled",a.isEditDisabled())("collection",a.editableCopy.elements),C(7),G("ngIf",a.isAdmin()),C(4),Ie("bv2-edit-resource-readonly",a.isEditDisabled()),C(6),G("users",a.editableAccessPolicy.admins),Ae("disabled",a.isEditDisabled()?
!0:null),C(1),Ie("bv2-edit-resource-readonly",a.isEditDisabled()),C(6),G("users",a.editableAccessPolicy.readers)("includeAliases",!0)("includeViewAliases",!0),Ae("disabled",a.isEditDisabled()?!0:null),C(3),Pe("href","",Xl(a.documentationLinks),"#slos",vd),C(3),G("ngIf",a.isAdmin()))},Avb=function(a){if(a&1){var b=x();H(0,"div",5);K(1,"img",6)(2,"img",7);H(3,"p",8);S(4," This issue is not blocking anything \u00a0\ud83e\udd73 ");J();H(5,"p",9);S(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);S(8,"Learn more");J()();H(9,"button",11);O("click",function(){z(b);var c=P(2);return A(c.onClickAdd())});S(10," Add ");J()()}a&2&&(a=P(2),C(1),G("src",a.TEA_LIGHT,vd),C(1),G("src",a.TEA_DARK,vd))},Bvb=function(a,b){a&1&&K(0,"b-issues-table",18);a&2&&(a=b.ngIf,b=P(6),G("issueIds",a)("menuItemFactory",b.getMenuItems))},Cvb=function(a){a&1&&(L(0),R(1,Bvb,1,2,"b-issues-table",17),T(2,"async"),M());a&2&&(a=P(5),C(1),G("ngIf",U(2,1,a.blockedAndOpenIds$)))},Dvb=function(a){a&1&&(H(0,"p",19),
S(1,"Not blocking any open issues \ud83e\udd73"),J())},Evb=function(a,b){a&1&&(L(0),H(1,"h4",15),S(2),J(),R(3,Cvb,3,3,"ng-container",12),R(4,Dvb,2,0,"ng-template",null,16,of),M());if(a&2){a=b.$implicit;var c=Se(5);C(2);Te("Open (",a.length,")");C(1);G("ngIf",0<a.length)("ngIfElse",c)}},Fvb=function(a,b){a&1&&K(0,"b-issues-table",18);a&2&&(a=b.ngIf,b=P(6),G("issueIds",a)("menuItemFactory",b.getMenuItems))},Gvb=function(a){a&1&&(L(0),H(1,"h4",15),S(2),J(),R(3,Fvb,1,2,"b-issues-table",17),T(4,"async"),
M());if(a&2){a=P().$implicit;var b=P(4);C(2);Te("Closed (",a.length,")");C(1);G("ngIf",U(4,2,b.blockedAndClosedIds$))}},Hvb=function(a,b){a&1&&(L(0),R(1,Gvb,5,4,"ng-container",1),M());a&2&&(a=b.$implicit,C(1),G("ngIf",0<a.length))},Ivb=function(a){a&1&&(L(0),R(1,Evb,6,3,"ng-container",1),T(2,"async"),R(3,Hvb,2,1,"ng-container",1),T(4,"async"),M());a&2&&(a=P(3),C(1),G("ngIf",U(2,2,a.blockedAndOpen$)),C(2),G("ngIf",U(4,4,a.blockedAndClosed$)))},Jvb=function(a,b){a&1&&(H(0,"li")(1,"a",22)(2,"span",9),
S(3),J(),H(4,"aside",23),K(5,"button",24),J()()());a&2&&(a=b.$implicit,C(1),Pe("routerLink","/issues/",a,""),Be("aria-label","Issue ",a,""),C(2),Te("b/",a,""))},Kvb=function(a){a&1&&(H(0,"h4",15),S(1,"Loading..."),J(),H(2,"ol",20),R(3,Jvb,6,3,"li",21),J());a&2&&(a=P(2).$implicit,C(3),G("ngForOf",a))},Lvb=function(a,b){a&1&&(L(0),H(1,"a",25),S(2," View as search results "),J(),M());a&2&&(a=b.ngIf,C(1),G("routerLink",a.path)("queryParams",a.params))},Mvb=function(a){if(a&1){var b=x();R(0,Ivb,5,6,"ng-container",
12);T(1,"async");R(2,Kvb,4,1,"ng-template",null,13,of);H(4,"aside",14)(5,"button",11);O("click",function(){z(b);var d=P(2);return A(d.onClickAdd())});S(6," Add ");J();R(7,Lvb,3,2,"ng-container",1);T(8,"async");J()}if(a&2){var c=Se(3);a=P(2);G("ngIf",U(1,3,a.issuesBeingBlocked$))("ngIfElse",c);C(7);G("ngIf",U(8,5,a.searchUrl$))}},Nvb=function(a,b){a&1&&(L(0),R(1,Avb,11,2,"div",3),R(2,Mvb,9,7,"ng-template",null,4,of),M());if(a&2){a=b.$implicit;var c=Se(3);C(1);G("ngIf",0===a.length)("ngIfElse",c)}},
Ovb=function(a){a&1&&(H(0,"aside",26),K(1,"b-spinner"),J())},Pvb=function(a,b){if(a&&a.length)return a.map(b)},Qvb=function(a){return{filename:a.getFilename(),lineNumber:xg(a,2),changeNumber:Wh(a,3)}},Rvb=function(a){return{packageName:a.getPackageName(),fileMentionSet:Pvb(yg(a,fp,2),Qvb)}},Svb=function(a){return{totalMentions:Ag(a,1),truncated:vi(a,2),packageMentionSet:Pvb(yg(a,gp,3),Rvb)}},Uvb=function(a){var b=Tvb(a.open);a=Tvb(a.total);return b===a?"("+b+")":"("+b+"/"+a+")"},Tvb=function(a){var b=
a.count;a=a.exact;return 0===b||a?""+b:b+"+"},Vvb=function(a){return"("+Tvb(a)+")"},hp=function(a){return{count:99<a?99:a,exact:99<a?!1:!0}},Wvb=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:og(b)}},Xvb=function(a){a&1&&Le(0)},Yvb=function(a){a&1&&(L(0),R(1,Xvb,1,0,"ng-container",9),M());if(a&2){P();
var b=Se(15);C(1);G("ngTemplateOutlet",b)}},Zvb=function(a,b){a&1&&(L(0),K(1,"b-issues-table",10),M());a&2&&(a=b.ngIf,b=P(2),C(1),G("issueIds",a)("tableColumns",b.tableColumns)("menuItemFactory",b.getMenuItems)("filters",b.filters)("initialSort",b.initialSort))},$vb=function(a){a&1&&(L(0),R(1,Zvb,2,5,"ng-container",4),T(2,"async"),M());a&2&&(a=P(),C(1),G("ngIf",U(2,1,a.blockerIds$)))},awb=function(a,b){if(a&1){var c=x();H(0,"p",11);S(1);H(2,"button",12);O("click",function(){z(c);var d=P();return A(d.shouldResetFilters.next())});
S(3,"Show all");J()()}a&2&&(a=b.$implicit,C(1),We(" Filtering ",a," issue",1===a?"":"s",". "))},bwb=function(a){a&1&&Le(0)},cwb=function(a){a&1&&(H(0,"div")(1,"span",11),S(2,"This issue is not blocked "),H(3,"span",13),S(4,"\ud83c\udf89"),J()(),R(5,bwb,1,0,"ng-container",9),J());if(a&2){P();var b=Se(15);C(5);G("ngTemplateOutlet",b)}},ewb=function(a){if(a&1){var b=x();H(0,"b-button",14);O("onAction",function(){z(b);var c=P();return A(dwb(c))});T(1,"async");S(2," Add blocker ");J()}a&2&&(a=P(),G("disabled",
!U(1,1,a.canEdit$)))},fwb=function(a){a&1&&K(0,"th",27)},gwb=function(a){if(a&1){var b=x();H(0,"td",28,29);O("click",function(c){z(b);Se(1).focus();return A(c.stopPropagation())});J()}},hwb=function(a){a&1&&K(0,"th",27)},iwb=function(a){if(a&1){var b=x();H(0,"td",30,31);O("click",function(c){z(b);Se(1).focus();return A(c.stopPropagation())})("dragstart",function(c){z(b);var d=P();return A(d.handleDragStart(c))});K(2,"mat-icon",32);J()}},jwb=function(a){a&1&&(H(0,"th",27),S(1," Id "),J())},kwb=function(a,
b){a&1&&(H(0,"td",33),K(1,"b-issue-id-cell",34),J());a&2&&(a=b.$implicit,C(1),G("id",a.id))},lwb=function(a){a&1&&(H(0,"th",27),S(1," Id "),J())},mwb=function(a){a&1&&(H(0,"td",33),S(1,"--"),J())},nwb=function(a){a&1&&(H(0,"th",27),S(1," Title "),J())},owb=function(a,b){if(a&1){var c=x();H(0,"td",33)(1,"b-expandable-issue-title-cell",35);O("expansionChange",function(){var d=z(c).$implicit,e=P();return A(e.toggleExpansion(d))});T(2,"async");T(3,"async");J()()}a&2&&(a=b.$implicit,C(1),G("issue",U(2,
4,a.issue$))("expandable",U(3,6,a.hasChildren$))("expanded",!!a.expandedCount)("level",a.level))},pwb=function(a){a&1&&(H(0,"th",27),S(1," Type "),J())},qwb=function(a,b){a&1&&(H(0,"td",33),K(1,"b-issue-type-cell",36),T(2,"async"),J());a&2&&(a=b.$implicit,C(1),G("issue",U(2,1,a.issue$)))},rwb=function(a){a&1&&(H(0,"th",27),S(1," Assignee "),J())},swb=function(a,b){a&1&&(H(0,"td",33),K(1,"b-issue-assignee-cell",36),T(2,"async"),J());a&2&&(a=b.$implicit,C(1),G("issue",U(2,1,a.issue$)))},twb=function(a){a&
1&&(H(0,"th",27),S(1," Status "),J())},uwb=function(a,b){a&1&&(H(0,"td",33),K(1,"b-issue-status-cell",36),T(2,"async"),J());a&2&&(a=b.$implicit,C(1),G("issue",U(2,1,a.issue$)))},vwb=function(a){a&1&&(H(0,"th",27),S(1," Team "),J())},wwb=function(a,b){a&1&&(H(0,"td",33),K(1,"b-issue-team-cell",36),T(2,"async"),J());a&2&&(a=b.$implicit,C(1),G("issue",U(2,1,a.issue$)))},xwb=function(a){a&1&&K(0,"th",27)},ywb=function(a,b){a&1&&(H(0,"td",33)(1,"b-actions-menu",37),O("click",function(c){return c.stopPropagation()}),
J()());a&2&&(a=b.$implicit,b=P(),C(1),G("menuItems",b.getMenuItems(a)))},zwb=function(a){a&1&&K(0,"th",27)},Awb=function(a){a&1&&(H(0,"b-actions-menu",37),O("click",function(c){return c.stopPropagation()}),J());if(a&2){a=P().$implicit;var b=P();G("menuItems",b.getMenuItemsForDraft(a))}},Bwb=function(a){a&1&&K(0,"b-spinner")},Cwb=function(a,b){a&1&&(H(0,"td",38),R(1,Awb,1,1,"b-actions-menu",39),R(2,Bwb,1,0,"ng-template",null,40,of),J());if(a&2){a=b.$implicit;var c=Se(3);C(1);G("ngIf",!a.saving)("ngIfElse",
c)}},Dwb=function(a,b){if(a&1){var c=x();H(0,"td",33)(1,"b-async-data-placeholder",41);T(2,"async");H(3,"b-button",42);O("onAction",function(){var d=z(c).$implicit,e=P();return A(e.displayAllSiblings(d))});H(4,"span",43);S(5);J()()()()}a&2&&(a=b.$implicit,b=P(),He("padding-left",24*a.level+b.TITLE_FIXED_OFFSET_PX,"px"),Ae("colspan",b.tableColumns.length),C(1),G("isReady",!!U(2,5,a.parentIssue$)),C(4),Te("Display ",a.truncatedSiblingCount," more"))},Ewb=function(a){a&1&&(H(0,"th",27),S(1," Title "),
J())},Fwb=function(a,b){if(a&1){var c=x();H(0,"td",33)(1,"div",44)(2,"b-text-input-cell",45);O("valueChange",function(d){var e=z(c).$implicit;return A(e.title=d)})("commit",function(){var d=z(c).$implicit,e=P();return A(e.saveDraft(d))});J();H(3,"b-button",46);O("onAction",function(){var d=z(c).$implicit,e=P();return A(e.saveDraft(d))});S(4," Create ");J();H(5,"b-button",47);O("onAction",function(){var d=z(c).$implicit,e=P();return A(e.cancelDraft(d))});S(6," Cancel ");J()()()}a&2&&(a=b.$implicit,
He("padding-left",24*(a.level+1),"px"),C(2),G("value",a.title)("readonly",a.saving),C(1),G("disabled",!a.title||a.saving),C(2),G("disabled",a.saving))},Gwb=function(a){a&1&&K(0,"tr",48)},Hwb=function(a,b){if(a&1){var c=x();H(0,"tr",49);O("click",function(d){var e=z(c).$implicit,g=P();return A(g.navigateToIssue(d,e))})("mouseup",function(d){var e=z(c).$implicit,g=P();return A(g.navigateToIssue(d,e))})("focusin",function(){var d=z(c).$implicit,e=P();return A(Tl(e.focusManager,d))})("keydown",function(d){var e=
z(c).$implicit,g=P();return A(g.onRowKeydown(e,d))});T(1,"async");T(2,"async");J()}a&2&&(a=b.$implicit,b=P(),Ie("selected",U(1,8,wMa(b.selectionModel,a.ancestorChain)))("closed",b.isClosed(U(2,10,a.issue$))),G("row",a),Ae("data-level",a.level)("data-type",a.type)("data-ancestorchain",a.ancestorChain.hash()))},Iwb=function(a,b){if(a&1){var c=x();H(0,"tr",50);O("focusin",function(){var d=z(c).$implicit,e=P();return A(Tl(e.focusManager,d))})("keydown",function(d){var e=z(c).$implicit,g=P();return A(g.onRowKeydown(e,
d))});J()}a&2&&(a=b.$implicit,G("row",a),Ae("data-level",a.level)("data-type",a.type)("data-ancestorchain",a.ancestorChain.hash()))},Jwb=function(a,b){if(a&1){var c=x();H(0,"tr",51);O("keydown",function(d){var e=z(c).$implicit,g=P();return A(g.onRowKeydown(e,d))})("keydown.escape",function(){var d=z(c).$implicit,e=P();return A(e.cancelDraft(d))})("keydown.backspace",function(){var d=z(c).$implicit,e=P();return A(d.title||e.cancelDraft(d))})("focusin",function(){var d=z(c).$implicit,e=P();return A(Tl(e.focusManager,
d))});J()}a&2&&(a=b.$implicit,G("row",a),Ae("data-type",a.type))},Kwb=function(a,b){a&1&&(L(0),K(1,"b-issues-table",1),M());a&2&&(a=b.ngIf,b=P(),C(1),G("issueIds",a)("tableColumns",b.tableColumns)("filters",b.filters)("issueUrlFactory",b.editIssueDependencies)("menuItemFactory",b.getMenuItems))},Lwb=function(a,b){a&1&&(H(0,"span",10),S(1),J());a&2&&(a=b.ngIf,Pe("title","",a," applied filter(s)"),C(1),Ve(a))},Mwb=function(a){a&1&&(L(0),R(1,Lwb,2,2,"span",9),T(2,"async"),M());a&2&&(a=P(),C(1),G("ngIf",
U(2,1,a.internalSelectedOptions.size$)))},Nwb=function(a){a&1&&(H(0,"h1",11),S(1),J());a&2&&(a=P(),C(1),Ve(a.overlayTitle))},Owb=function(a){a&1&&(H(0,"h1"),S(1),J());a&2&&(a=P().$implicit,C(1),Ve(a.title))},Pwb=function(a){a&1&&(H(0,"p"),S(1),J());a&2&&(a=P().$implicit,C(1),Ve(a.description))},Qwb=function(a,b){if(a&1){var c=x();H(0,"div",12)(1,"div",13)(2,"mat-checkbox",14);O("change",function(d){var e=z(c).$implicit,g=P();e=e.key;d.checked?g.internalSelectedOptions.add(e):g.internalSelectedOptions.delete(e);
g.onChange.emit(new Set(g.internalSelectedOptions));return A()});T(3,"async");J();H(4,"div");R(5,Owb,2,1,"h1",3);R(6,Pwb,2,1,"p",3);J()()()}a&2&&(a=b.$implicit,b=P(),C(2),G("checked",U(3,3,Sl(b.internalSelectedOptions,a.key))),C(3),G("ngIf",a.title),C(1),G("ngIf",a.description))},Rwb=function(a){if(a&1){var b=x();L(0);K(1,"mat-divider");H(2,"div",15)(3,"button",16);O("click",function(){z(b);var c=P(),d=Se(1);return A(c.cancel(d))});S(4);J();H(5,"button",17);O("click",function(){z(b);var c=P(),d=Se(1);
return A(c.confirm(d))});S(6);J()();M()}a&2&&(a=P(),C(4),Ve(a.cancelButtonLabel),C(2),Ve(a.confirmButtonLabel))},Swb=function(a){a&1&&K(0,"b-spinner")},Twb=function(a){a&1&&Le(0)},Uwb=function(a){a&1&&(L(0),R(1,Twb,1,0,"ng-container",23),M());if(a&2){P(2);var b=Se(12);C(1);G("ngTemplateOutlet",b)}},Vwb=function(a){a&1&&(K(0,"b-parents-table",24),T(1,"async"),T(2,"async"));if(a&2){a=P().ngIf;var b=P();G("issueId",a)("parentIds",U(1,3,b.parentIds$))("filters",U(2,5,b.issueFilters.value$))}},Wwb=function(a){a&
1&&Le(0)},Ywb=function(a){a&1&&(L(0),R(1,Wwb,1,0,"ng-container",25),T(2,"async"),M());if(a&2){a=P(2);var b=Se(10);C(1);G("ngTemplateOutlet",b)("ngTemplateOutletContext",Ze(4,Xwb,U(2,2,null==a.parentsTable?null:a.parentsTable.filteredRowCount$)))}},Zwb=function(a){a&1&&Le(0)},$wb=function(a){a&1&&(H(0,"div")(1,"span",26),S(2,"This issue has no parents"),J(),R(3,Zwb,1,0,"ng-container",23),J());if(a&2){P(2);var b=Se(12);C(3);G("ngTemplateOutlet",b)}},axb=function(a){a&1&&Le(0)},bxb=function(a){a&1&&
(L(0),R(1,axb,1,0,"ng-container",23),M());if(a&2){P(2);var b=Se(14);C(1);G("ngTemplateOutlet",b)}},cxb=function(a){a&1&&(H(0,"div",27)(1,"section",28)(2,"div",29),S(3," Progress: "),J(),H(4,"div",29),S(5),T(6,"number"),T(7,"async"),T(8,"number"),T(9,"async"),J(),H(10,"div",30),T(11,"async"),H(12,"div",31)(13,"div",32),T(14,"async"),J(),H(15,"onedev-hovercard",null,33)(17,"div",34)(18,"div",35),S(19),T(20,"async"),J()()()()(),K(21,"mat-icon",36),H(22,"onedev-hovercard",null,37)(24,"div",34)(25,"div",
38)(26,"p"),S(27," The progress of child issues takes into consideration all child issues and descendant issues which have estimation data. If a child issue doesn\u2019t have an estimate, their progress is not reflected in the progress bar. "),J()()()()()());if(a&2){var b=Se(16),c=Se(23);a=P(2);C(5);We(" ",bf(6,8,U(7,11,a.totalDaysComplete$),"1.0-2")," of ",bf(8,13,U(9,16,a.totalDaysCount$),"1.0-2")," days complete ");C(5);Be("aria-label","",U(11,18,a.totalDaysDisplayPercent$)," Percentage of effort completed");
C(2);G("onedevHovercardTrigger",b);C(1);He("width",U(14,20,a.totalDaysDisplayPercent$),"%");C(6);Te(" ",U(20,22,a.progressHovercardContent$)," ");C(2);G("onedevHovercardTrigger",c)}},dxb=function(a){a&1&&Le(0)},exb=function(a){a&1&&(L(0),R(1,dxb,1,0,"ng-container",25),T(2,"async"),M());if(a&2){a=P(2);var b=Se(10);C(1);G("ngTemplateOutlet",b)("ngTemplateOutletContext",Ze(4,Xwb,U(2,2,null==a.relationsTable?null:a.relationsTable.filteredRowCount$)))}},fxb=function(a){a&1&&Le(0)},gxb=function(a){a&1&&
(L(0),H(1,"span",26),S(2,"This issue has no children"),J(),R(3,fxb,1,0,"ng-container",23),M());if(a&2){P(3);var b=Se(14);C(3);G("ngTemplateOutlet",b)}},hxb=function(a){a&1&&(L(0),R(1,gxb,4,1,"ng-container",1),T(2,"async"),T(3,"async"),M());if(a&2){a=P(2);var b;C(1);G("ngIf",0===U(2,1,a.unarchivedChildIssueCount$)&&0===((null==(b=U(3,3,null==a.relationsTable?null:a.relationsTable.rows$))?null:b.length)||0))}},ixb=function(a,b){if(a&1){var c=x();H(0,"div",9)(1,"section",10)(2,"div",11)(3,"h4",12)(4,
"div",13);K(5,"mat-icon",14);J();S(6);T(7,"async");J();R(8,Uwb,2,1,"ng-container",1);T(9,"async");J();R(10,Vwb,3,7,"b-parents-table",15);T(11,"async");R(12,Ywb,3,6,"ng-container",1);T(13,"async");R(14,$wb,4,1,"ng-template",null,16,of);J();H(16,"section")(17,"b-blockers-table",17);O("shouldResetFilters",function(){z(c);var h=P();return A(h.shouldResetFilters())});T(18,"async");J()();H(19,"section")(20,"div",18)(21,"h4",12)(22,"div",19);K(23,"mat-icon",20);J();S(24);T(25,"async");J();R(26,bxb,2,1,"ng-container",
1);T(27,"async");T(28,"async");J();R(29,cxb,28,24,"div",21);T(30,"async");T(31,"async");K(32,"b-issue-relations-table",22);T(33,"async");T(34,"async");T(35,"async");R(36,exb,3,6,"ng-container",1);T(37,"async");R(38,hxb,4,5,"ng-container",1);T(39,"async");J()()}if(a&2){a=b.ngIf;var d=Se(15);b=P();var e,g;C(6);Te(" Parents ",U(7,15,b.counts.countParentsDisplay$)," ");C(2);G("ngIf",U(9,17,b.parentsCount$));C(2);G("ngIf",U(11,19,b.parentsCount$))("ngIfElse",d);C(2);G("ngIf",U(13,21,b.issueFilters.value$));
C(5);G("filters",U(18,23,b.issueFilters.value$));C(7);Te(" Child issues ",U(25,25,b.counts.countChildrenDisplay$)," ");C(2);G("ngIf",U(27,27,b.unarchivedChildIssueCount$)||0<((null==(e=U(28,29,null==b.relationsTable?null:b.relationsTable.rows$))?null:e.length)||0));C(3);G("ngIf",b.isTotalEstimatesEnabled&&U(30,31,b.unarchivedChildIssueCount$)&&U(31,33,b.totalDaysCount$));C(3);Ie("hidden",!(null==(g=U(33,35,null==b.relationsTable?null:b.relationsTable.rows$))?0:g.length)&&!U(34,37,null==b.relationsTable?
null:b.relationsTable.filteredRowCount$));G("rootIssueId",a)("filters",U(35,39,b.issueFilters.value$));C(4);G("ngIf",U(37,41,b.issueFilters.value$));C(2);G("ngIf",null!==U(39,43,b.unarchivedChildIssueCount$))}},jxb=function(a){if(a&1){var b=x();H(0,"p",26);S(1);H(2,"button",40);O("click",function(){z(b);var c=P(2);return A(c.issueFilters.reset([]))});S(3,"Show all");J()()}a&2&&(a=P().filteredCount,C(1),We(" Filtering ",a," issue",1===a?"":"s",". "))},kxb=function(a,b){a&1&&R(0,jxb,4,2,"p",39);a&2&&
G("ngIf",b.filteredCount)},mxb=function(a){if(a&1){var b=x();H(0,"b-button",41);O("onAction",function(){z(b);var c=P();return A(lxb(c))});T(1,"async");S(2," Add parent ");J()}a&2&&(a=P(),G("disabled",!U(1,1,a.canEdit$)))},nxb=function(a){if(a&1){var b=x();H(0,"b-button",44);O("onAction",function(){z(b);var c=P(2);return A(c.createChild())});T(1,"async");S(2," Create new child ");J()}a&2&&(a=P(2),G("disabled",!U(1,1,a.canEdit$)))},oxb=function(a){if(a&1){var b=x();R(0,nxb,3,3,"b-button",42);H(1,"b-button",
43);O("onAction",function(){z(b);var c=P();return A(c.addChild())});T(2,"async");S(3," Add existing child ");J()}a&2&&(a=P(),G("ngIf",a.isNonPublicSession),C(1),G("disabled",!U(2,2,a.canEdit$)))},pxb=function(a,b){return(0,F.combineLatest)([a,b]).pipe(E(function(c){var d=k(c);c=d.next().value;d=d.next().value;return 0===d?0:Math.round(100*c/d*100)/100}))},qxb=function(a){return 1===a?a+" day":a+" days"},rxb=function(a){a&1&&(H(0,"div",3),K(1,"mat-icon",4),H(2,"span",5),S(3),T(4,"async"),J()());if(a&
2){a=P();var b;C(3);Te("",null==(b=U(4,1,a.issues$))?null:b.length," parent issues")}},sxb=function(a){a&1&&(H(0,"div",3),K(1,"mat-icon",6),H(2,"span",5),S(3),T(4,"async"),J()());if(a&2){a=P();var b;C(3);Te("Blocked by ",null==(b=U(4,1,a.issues$))?null:b.length," issues")}},txb=function(a,b){a&1&&(H(0,"span"),S(1),J());a&2&&(a=b.$implicit,b=P(4),Je("chippy status-",a," margin-s-left"),C(1),Te(" ",b.STATUS_TERSE[a]," "))},uxb=function(a){a&1&&(L(0),H(1,"a",8)(2,"div",9)(3,"div",10)(4,"div",11),S(5),
J(),H(6,"div",12),S(7),J()(),H(8,"div",10)(9,"div",13),S(10),J(),R(11,txb,2,4,"span",14),J()()(),M());if(a&2){var b=P();a=b.$implicit;b=b.last;var c=P(2);C(1);Pe("routerLink","/issues/",a.issueId,"");C(1);Ie("border-bottom",!b);C(3);Ve(a.issueId);C(2);Ve(a.snapshot[0].title);C(2);G("ngClass",c.priorityClass(a.snapshot[0].priority));C(1);Ve(a.snapshot[0].priority);C(1);G("ngIf",c.convertIssueStatusStrToTag(a.snapshot[0].status))}},vxb=function(a,b){a&1&&(L(0),R(1,uxb,12,8,"ng-container",2),M());a&
2&&(a=b.index,C(1),G("ngIf",5>a))},xxb=function(a){if(a&1){var b=x();L(0);H(1,"div",15)(2,"button",16);O("click",function(){z(b);var c=P(2);return A(wxb(c))});S(3,"View all parent issues");J()();M()}},yxb=function(a){if(a&1){var b=x();L(0);H(1,"div",15)(2,"button",16);O("click",function(){z(b);var c=P(2),d;null==(d=c.hovercardInstance)||d.closeHovercard$.next();ip(c.router,"/issues/"+c.currentIssueId+"/dependencies");return A()});S(3,"View all blockers");J()();M()}},zxb=function(a,b){a&1&&(H(0,"div"),
R(1,vxb,2,1,"ng-container",7),R(2,xxb,4,0,"ng-container",2),R(3,yxb,4,0,"ng-container",2),J());a&2&&(a=b.$implicit,b=P(),C(1),G("ngForOf",a),C(1),G("ngIf",5<a.length&&b.mode===b.ListIssuesHovercardMode.PARENT_ISSUES),C(1),G("ngIf",5<a.length&&b.mode===b.ListIssuesHovercardMode.BLOCKED_BY_ISSUES))},Axb=function(a){a&1&&K(0,"mat-icon",7)},Bxb=function(a){a&1&&(L(0),K(1,"b-list-issues-card",8,9),M());if(a&2){var b=Se(2);P();var c=Se(5);a=P();C(1);G("onedevIsHovercardReady",b.init)("hovercardInstance",
c)("currentIssueId",a.issueId)("issueIds",a.multiParentIssueIds)("mode",a.ListIssuesHovercardMode.PARENT_ISSUES)}},Cxb=function(a){a&1&&(L(0),H(1,"a",3),S(2),J(),R(3,Axb,1,0,"mat-icon",4),H(4,"onedev-hovercard",null,5),R(6,Bxb,3,5,"ng-container",6),J(),M());if(a&2){var b=Se(5);a=P();C(1);Pe("title","",a.multiParentIssueIds.length," parents at this position");G("onedevHovercardTrigger",b);C(1);Te("",a.multiParentIssueIds.length," Parents\u2026");C(1);G("ngIf",1<a.multiParentIssueIds.length)}},Dxb=
function(a,b){a&1&&(L(0),H(1,"b-issue-reference-widget",10),S(2),J(),K(3,"mat-icon",7),M());if(a&2){a=b.$implicit;b=b.last;var c=P();C(1);G("href",c.getIssueLink(a))("issueId",a);C(1);c.issueIdToTitle.has(a)?(a=c.issueIdToTitle.get(a),a=zDa(a)):a=String(a);Ve(a);C(1);Ie("last",b)}},Exb=function(a){a&1&&(L(0),S(1,"\u2026 >"),M())},Fxb=function(a){a&1&&(L(0),S(1,"\u2026"),M())},Gxb=function(a){if(a&1){var b=x();H(0,"a",16);O("click",function(){z(b);var c=P(4);return A(c.compactMode$.next(!1))});R(1,
Exb,2,0,"ng-container",6);R(2,Fxb,2,0,"ng-container",6);J()}a&2&&(a=P().$implicit,C(1),G("ngIf",a.isSpliced),C(1),G("ngIf",a.isTruncated))},Hxb=function(a){a&1&&(H(0,"a",17),S(1),J());if(a&2){a=P().$implicit;var b=Se(7);Ie("muted",a.name==a.id);G("routerLinkObj",a.route)("onedevHovercardTrigger",b);C(1);Ve(a.name)}},Ixb=function(a){a&1&&(H(0,"span",18),S(1),J());a&2&&(a=P().$implicit,Ie("muted",a.name==a.id),C(1),Ve(a.name))},Jxb=function(a){a&1&&(L(0),S(1," > "),M())},Kxb=function(a){a&1&&(L(0),
K(1,"b-component-path-card",19,20),M());if(a&2){var b=Se(2);a=P().$implicit;C(1);G("onedevIsHovercardReady",b.init)("componentId",a.id)}},Lxb=function(a,b){a&1&&(L(0),R(1,Gxb,3,2,"a",11),R(2,Hxb,2,5,"a",12),R(3,Ixb,2,3,"ng-template",null,13,of),R(5,Jxb,2,0,"ng-container",6),H(6,"onedev-hovercard",null,14),R(8,Kxb,3,2,"ng-container",15),J(),M());if(a&2){a=b.$implicit;b=b.last;var c=Se(4),d=P(3);C(1);G("ngIf",a.isSpliced||a.isTruncated);C(1);G("ngIf",!d.viewOnly)("ngIfElse",c);C(3);G("ngIf",!b)}},Mxb=
function(a,b){a&1&&(H(0,"span",9),R(1,Lxb,9,4,"ng-container",10),J());a&2&&(a=b.$implicit,C(1),G("ngForOf",a))},Nxb=function(a){a&1&&(H(0,"span"),S(1,"[Archived]"),J())},Oxb=function(a){if(a&1){var b=x();H(0,"button",21);O("click",function(){z(b);P(2).editing=!0;return A()});K(1,"mat-icon",22);J()}},Pxb=function(a){a&1&&(H(0,"a",23),T(1,"async"),K(2,"mat-icon",24),J());if(a&2){a=P(2);var b;G("routerLinkObj",a.popoutLink(null==(b=U(1,1,a.component$))?null:b.componentId))}},Qxb=function(a){a&1&&(H(0,
"b-async-data-placeholder",2),T(1,"async"),H(2,"div",3),K(3,"mat-icon",4),R(4,Mxb,2,1,"span",5),T(5,"async"),R(6,Nxb,2,0,"span",6),T(7,"async"),R(8,Oxb,2,0,"button",7),R(9,Pxb,3,3,"a",8),J()());a&2&&(a=P(),G("isReady",U(1,6,a.isReady$)),C(3),G("svgIcon",a.currentTracker.enableTrackersComponentPathTruncation&&a.currentTracker.inTracker?"folder_special_24px":"folder"),C(1),G("ngIf",U(5,8,a.componentPath$)),C(2),G("ngIf",U(7,10,a.isArchived$)),C(2),G("ngIf",!a.viewOnly),C(1),G("ngIf",a.popoutLink))},
Sxb=function(a){if(a&1){var b=x();H(0,"b-team-component-picker",25);O("selectedComponentChange",function(c){z(b);var d=P();d.editing=!1;c&&Rxb(d.issueEditComponentService,d.issueId,c);return A()})("dropdownClosed",function(){z(b);P().editing=!1;return A()});T(1,"async");J()}a&2&&(a=P(),G("selectedComponent",U(1,3,a.component$))("isRequired",!0)("shouldFocus",!0))},Txb=function(a){a&1&&(Xc(),Yc(),L(0),S(1,"Insights"),M())},Uxb=function(){function a(){var c,d,e;return null==(c=window.google)?void 0:
null==(d=c.corp)?void 0:null==(e=d.devops)?void 0:e.tools}var b=100;return new Promise(function(c,d){function e(){var g=a();null!=g?c(g):(setTimeout(e,b),b*=2)}e();setTimeout(function(){var g=a();null!=g?c(g):d("timeout: 5000")},5E3)})},Vxb=function(a){return["PROD","NIGHTLY"].includes(a)?"production":"autopush"},Wxb=function(a){if(a&1){var b=x();H(0,"b-insights-graph-menu",2);O("openSidebar",function(d){z(b);var e=P(2);return A(e.openSidebar(d.panel))});J()}if(a&2){a=P().ngIf;var c=P();G("availablePanels",
a)("iconOnly",c.iconOnly)("buttonClassname",c.buttonClassname)}},Xxb=function(a){a&1&&(L(0),R(1,Wxb,1,3,"b-insights-graph-menu",1),T(2,"async"),M());a&2&&(a=P(),C(1),G("ngIf",U(2,1,a.shouldShowInsightsGraphMenu$)))},Yxb=function(a){a&1&&Le(0)},Zxb=function(a){a&1&&(L(0),R(1,Yxb,1,0,"ng-container",5),M());a&2&&(a=P(),C(1),G("ngTemplateOutlet",a.content))},$xb=function(a,b){if(a&1){var c=x();H(0,"button",13);O("click",function(e){var g=z(c).$implicit;return A(g.action(e))});K(1,"mat-icon",14);S(2);
J()}if(a&2){a=b.$implicit;var d;G("disabled",a.disabled)("title",a.title);Ae("aria-label",a.title);C(1);G("svgIcon",null!==(d=a.icon)&&void 0!==d?d:"");C(1);Te(" ",a.label," ")}},ayb=function(a){if(a&1){var b=x();L(0);H(1,"button",15);O("click",function(d){z(b);var e=P(2);d.stopPropagation();d.preventDefault();var g;null==(g=e.helpHover)||g.toggle();return A()});K(2,"mat-icon",16);S(3," Retention: ");K(4,"retention-text",17);S(5," \u00a0 ");K(6,"help-hover",18);J();M()}if(a&2){a=P().ngIf;var c=Se(14);
C(4);G("retentionState",a.retentionState);C(2);G("content",c)}},byb=function(a){a&1&&(L(0),K(1,"retention-help-text",19),M());a&2&&(a=P(2).ngIf,C(1),G("retentionState",a.retentionState)("modifiedTime",a.modifiedTimeMilliseconds))},cyb=function(a){a&1&&R(0,byb,2,2,"ng-container",0);a&2&&(a=P().ngIf,G("ngIf",a.retentionState&&a.modifiedTimeMilliseconds))},dyb=function(a,b){if(a&1){var c=x();L(0);K(1,"b-app-vote-button",1)(2,"hotlist-picker-btn",2);H(3,"smart-dupe-btn",3,4);O("onHotkey",function(){z(c);
var e=Se(4);return A(WTa(e))});J();H(5,"b-notification-menu",5);O("subscriptionChange",function(e){z(c);var g=P();return A(g.updateSubscription(e))})("showNotificationSettings",function(e){z(c);var g=P();return A(g.showNotificationSettings(e))});J();K(6,"insights-graph-menu-smart",6);H(7,"button",7);K(8,"mat-icon",8);J();H(9,"mat-menu",9,10);R(11,$xb,3,5,"button",11);R(12,ayb,7,2,"ng-container",0);J();R(13,cyb,1,1,"ng-template",null,12,of);M()}if(a&2){a=b.ngIf;var d=Se(10);b=P();C(1);G("issueId",
a.issueId)("voteCount",a.voteCount)("upvoted",a.voted);C(1);G("issueId",a.issueId);C(1);G("issueId",a.issueId)("hotkey",b.HOTKEYS.TOGGLE_MARK_AS_DUPLICATE);C(2);G("subscription",a.notificationSubscription)("issueId",a.issueId)("iconOnly",!0);C(1);G("iconOnly",!0);C(1);G("matMenuTriggerFor",d);C(4);G("ngForOf",a.menuItems);C(1);G("ngIf",b.retentionEnabled)}},eyb=function(){},fyb=function(a){a&1&&(H(0,"output"),S(1),T(2,"async"),J());if(a&2){a=P().ngIf;var b=P();C(1);We(" ",a," of ",U(2,2,b.currentSearchResults.totalText$),
" ")}},jyb=function(a,b){if(a&1){var c=x();L(0);R(1,fyb,3,4,"output",0);H(2,"span",1)(3,"button",2);O("onHotkey",function(){z(c);var d=P();return A(gyb(d.currentSearchResults))})("click",function(){z(c);var d=P();return A(gyb(d.currentSearchResults))});T(4,"async");K(5,"mat-icon",3);J();H(6,"button",4);O("onHotkey",function(){z(c);var d=P();return A(hyb(d.currentSearchResults))})("click",function(){z(c);var d=P();return A(hyb(d.currentSearchResults))});T(7,"async");K(8,"mat-icon",5);J()();M()}a&2&&
(a=b.ngIf,b=P(),C(1),G("ngIf",-1!==a),C(1),G("ngClass",Ze(10,iyb,-1===a)),C(1),G("hotkey",b.HOTKEYS.GO_TO_PREVIOUS_ISSUE)("disabled",!U(4,6,b.currentSearchResults.hasPreviousIssue$)),C(3),G("hotkey",b.HOTKEYS.GO_TO_NEXT_ISSUE)("disabled",!U(7,8,b.currentSearchResults.hasNextIssue$)))},kyb=function(a){if(a&1){var b=x();L(0);H(1,"button",16);O("click",function(){z(b);var c=P();return A(c.onPressCancel())});S(2," Cancel ");J();H(3,"button",17);O("click",function(){z(b);var c=P();return A(c.onPressSave())});
T(4,"async");S(5," Save ");J();M()}a&2&&(a=P(),C(3),G("disabled",!U(4,1,a.hasSelectionChanged$)))},lyb=function(a){if(a&1){var b=x();H(0,"button",18);O("click",function(){z(b);var c=P();return A(c.onPressCancel())});S(1," Close ");J()}},myb=function(a){a&1&&K(0,"b-access-level-indicator",6);a&2&&(a=P(2).$implicit,G("accessLevel",a.accessLevel))},nyb=function(a){a&1&&K(0,"b-access-limits-chip",7);a&2&&(a=P(2).$implicit,G("issueId",a.issueId)("componentId",a.componentId)("accessLimitLevel",a.issueAccessLimitLevel))},
oyb=function(a){a&1&&K(0,"b-retention-chip",8);a&2&&(a=P(2).$implicit,G("retentionState",a.retentionState)("compactMode",!1)("modifiedTime",a.modifiedTime))},pyb=function(a){a&1&&(H(0,"div",2),R(1,myb,1,1,"b-access-level-indicator",3),R(2,nyb,1,3,"b-access-limits-chip",4),R(3,oyb,1,3,"b-retention-chip",5),J());a&2&&(a=P().$implicit,C(1),G("ngIf",a.isShowingPublicPartner),C(1),G("ngIf",a.isAccessLimited),C(1),G("ngIf",a.isShowingRetention))},qyb=function(a,b){a&1&&(L(0),R(1,pyb,4,3,"div",1),M());a&
2&&(a=b.$implicit,C(1),G("ngIf",a.isShowingPublicPartner||a.isShowingRetention||a.isAccessLimited))},ryb=function(a){a&1&&Le(0)},syb=function(a){a&1&&(L(0),R(1,ryb,1,0,"ng-container",23),M());if(a&2){P();var b=Se(12);C(1);G("ngTemplateOutlet",b)}},tyb=function(a,b){a&1&&K(0,"ancestors-breadcrumbs",30);a&2&&(a=b.ngIf,b=P(3),G("ancestors",a)("issueId",b.issueId))},uyb=function(a){a&1&&(L(0),K(1,"b-component-breadcrumb-chip",26),T(2,"async"),H(3,"div",27),R(4,tyb,1,2,"ancestors-breadcrumbs",28),T(5,
"async"),K(6,"b-issue-id-picker",29),T(7,"async"),T(8,"async"),T(9,"async"),J(),M());a&2&&(a=P(2),C(1),G("componentId",U(2,8,a.componentId$))("compactMode",!0)("issueId",a.issueId),C(3),G("ngIf",U(5,10,a.ancestors$)),C(2),G("issueId",a.issueId)("componentId",U(7,12,a.componentId$))("issueTitle",U(8,14,a.issueTitle$))("isExternalIssue",!!U(9,16,a.isWithinExternalComponent$)))},vyb=function(a){if(a&1){var b=x();H(0,"b-team-chip",24);O("onTeamLoaded",function(){z(b);var c=P();return A(c.isTeamLoaded=
!0)});T(1,"async");T(2,"async");J();R(3,uyb,10,18,"ng-container",25)}a&2&&(a=P(),G("componentId",U(1,3,a.componentId$))("teamId",U(2,5,a.teamId$)),C(3),G("ngIf",a.isTeamLoaded))},wyb=function(a){a&1&&(L(0),K(1,"b-component-breadcrumb-chip",31),T(2,"async"),H(3,"div",32),K(4,"b-issue-id-picker",33),T(5,"async"),T(6,"async"),T(7,"async"),J(),M());a&2&&(a=P(2),C(1),G("componentId",U(2,6,a.componentId$))("issueId",a.issueId),C(3),G("issueId",a.issueId)("componentId",U(5,8,a.componentId$))("issueTitle",
U(6,10,a.issueTitle$))("isExternalIssue",!!U(7,12,a.isWithinExternalComponent$)))},xyb=function(a){if(a&1){var b=x();H(0,"b-team-chip",24);O("onTeamLoaded",function(){z(b);var c=P();return A(c.isTeamLoaded=!0)});T(1,"async");T(2,"async");J();R(3,wyb,8,14,"ng-container",25)}a&2&&(a=P(),G("componentId",U(1,3,a.componentId$))("teamId",U(2,5,a.teamId$)),C(3),G("ngIf",a.isTeamLoaded))},yyb=function(a){a&1&&(L(0),S(1),M());a&2&&(a=P().$implicit,C(1),Te(" ",a," "))},zyb=function(a,b){a&1&&(H(0,"div",34),
K(1,"mat-icon",35),R(2,yyb,2,1,"ng-container",25),J());if(a&2){a=b.$implicit;P();var c=Se(36);G("onedevHovercardTrigger",c);C(2);G("ngIf",2<=a)}},Ayb=function(a){a&1&&(L(0),K(1,"b-list-issues-card",36,37),T(3,"async"),M());if(a&2){var b=Se(2);a=P();var c=Se(36);C(1);G("onedevIsHovercardReady",b.init)("hovercardInstance",c)("currentIssueId",a.issueId)("issueIds",U(3,5,a.blockedByids$))("mode",a.ListIssuesHovercardMode.BLOCKED_BY_ISSUES)}},Byb=function(a){return 1===a?"Blocked":"Blocked by "+a+" issues"},
Cyb=function(a){if(0!==a.length)return 1===a.length?jp.ISSUE(a[0]):jp.ISSUE_LIST},Dyb=function(a,b){a&1&&(H(0,"div",1),K(1,"img",2),H(2,"h3"),S(3),J(),H(4,"a",3),T(5,"async"),S(6),J()());a&2&&(a=b.$implicit,b=P(),C(1),G("src",null==a.branding?null:a.branding.logoUrl,vd),C(2),Te("This issue is a part of the ",a.name," tracker."),C(1),G("href",U(5,4,b.trackerRedirectUrl$),vd),C(2),Te(" View in ",a.name," Tracker "))},Eyb=function(a){a&1&&(H(0,"div")(1,"ol")(2,"li")(3,"label"),S(4,"Issue ID"),J(),H(5,
"output"),S(6),J()(),H(7,"li")(8,"label"),S(9,"Type"),J(),H(10,"output"),S(11),J()(),H(12,"li")(13,"label"),S(14,"Status"),J(),H(15,"output"),S(16),J()()()());a&2&&(a=P(2),C(6),Ve(a.issueId),C(5),Ve(a.issueType),C(5),Ve(a.issueStatus))},Fyb=function(a){a&1&&(H(0,"div",1)(1,"div",2),K(2,"img",3),T(3,"async"),K(4,"mat-icon",4)(5,"img",3),T(6,"async"),J(),H(7,"h3",5),S(8),T(9,"async"),J(),R(10,Eyb,17,3,"div",6),H(11,"div",7)(12,"a",8),T(13,"async"),S(14,"Continue"),J()()());a&2&&(a=P(),C(2),G("src",
U(3,5,a.currentTrackerLogo$),vd),C(3),G("src",U(6,7,a.trackerLogo$),vd),C(3),Te(" Redirecting to ",U(9,9,a.trackerName$)," "),C(2),G("ngIf",null!=a.issue),C(2),G("href",U(13,11,a.trackerRedirectUrl$),vd))},Gyb=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))},Hyb=function(a){if(a&
1){var b=x();H(0,"input",3,4);O("peoplekitAutocompleteSelectionChange",function(c){z(b);var d=P();0<c.length&&(d.inputValue=c[0].result().getPrimaryTarget().getValue());return A()})("ngModelChange",function(c){z(b);var d=P();return A(d.inputValue=c)});J()}a&2&&(a=P(),G("peoplekitAutocompleteConfig",a.mergedAutocompleteConfig)("peoplekitSearchSessionOptions",a.sessionOptions)("ngModel",a.inputValue))},Iyb=function(a){a&1&&Le(0)},Kyb=function(a){a&1&&(L(0),R(1,Iyb,1,0,"ng-container",6),M());a&2&&(a=
P(),C(1),G("ngTemplateOutlet",a.selectedUserTemplate)("ngTemplateOutletContext",Ze(2,Jyb,a.email)))},Lyb=function(a){a&1&&S(0);a&2&&(a=P(),Te(" ",a.email," "))},Myb=function(a){a&1&&(Xc(),H(0,"svg",7),K(1,"path",8),J())},Nyb=function(a){a&1&&K(0,"b-user-membership-chip",4);if(a&2){a=P().$implicit;var b=P(),c;G("email",a)("teamId",null!==(c=b.teamId)&&void 0!==c?c:"")("enableSmallChip",!0)}},Oyb=function(a,b){a&1&&R(0,Nyb,1,3,"b-user-membership-chip",3);a&2&&G("ngIf",b.$implicit)},Pyb=function(a){a&
1&&Le(0)},Qyb=function(a){a&1&&(L(0),R(1,Pyb,1,0,"ng-container",48),M());if(a&2){P();var b=Se(109);C(1);G("ngTemplateOutlet",b)}},Syb=function(a,b){a&1&&K(0,"b-list-field",50);a&2&&(a=b.ngIf,b=P(3),G("readonly",!0)("defaultLineCount",3)("title","Team")("type",b.ListFieldType.TEAM)("values",Ze(5,Ryb,a)))},Tyb=function(a){a&1&&(L(0),R(1,Syb,1,7,"b-list-field",49),T(2,"async"),M());a&2&&(a=P(2),C(1),G("ngIf",U(2,1,a.teamHovercardInputs$)))},Vyb=function(a){if(a&1){var b=x();H(0,"div",52)(1,"b-team-warning",
53);O("updateTeam",function(){z(b);var h=P(3);h.issueFridge.poke(h.issueId);return A()});T(2,"async");T(3,"async");J()()}if(a&2){a=P().ngIf;var c=P().ngIf,d=P(),e,g;C(1);G("warningType",a)("componentId",c.componentId)("parentComponentId",(null==(e=U(2,4,d.component$))?null:e.parentComponentId)||0)("teamSuggestions",null!==(g=U(3,6,d.teamSuggestions$))&&void 0!==g?g:Ye(8,Uyb))}},Wyb=function(a){a&1&&(L(0),R(1,Vyb,4,9,"div",51),T(2,"async"),M());a&2&&(a=P(2),C(1),G("ngIf",U(2,1,a.shouldDisplayTeamSuggestions$)))},
Yyb=function(a){if(a&1){var b=x();L(0);H(1,"b-edit-field",54,55);O("valueChange",function(g){z(b);var h=Se(2),l=P(2);return A(Xyb(l,h,null!==g&&void 0!==g?g:""))});T(3,"async");T(4,"async");T(5,"async");J();M()}if(a&2){a=P().ngIf;var c=P(),d,e;C(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",!U(3,10,c.hasAclToEdit$))("disabled",!!U(4,12,c.isSaving$("reporter")))("showAvailability",
!0)("teamId",null!==(e=U(5,14,c.teamId$))&&void 0!==e?e:"")}},$yb=function(a){if(a&1){var b=x();H(0,"onedev-edit-field")(1,"onedev-field-label");S(2,"Reporter");J();H(3,"onedev-field-value",56);T(4,"async");H(5,"b-user-picker",57);O("emailChange",function(e){z(b);var g=P(2);return A(Zyb(g.editIssueService,g.issueId,e))});T(6,"async");T(7,"async");J()()()}if(a&2){a=P().ngIf;var c=P(),d;C(3);G("thinking",!!U(4,4,c.isSaving$("reporter")));C(2);G("user",a.reporterUser)("teamId",null!==(d=U(6,6,c.teamId$))&&
void 0!==d?d:"")("disabled",!U(7,8,c.hasAclToEdit$))}},azb=function(a){a&1&&Le(0)},bzb=function(a){a&1&&(L(0),R(1,azb,1,0,"ng-container",48),M());if(a&2){P();var b=Se(111);C(1);G("ngTemplateOutlet",b)}},czb=function(a,b){if(a&1){var c=x();H(0,"div",59);K(1,"div",60);H(2,"span",61);O("click",function(){var d=z(c).ngIf,e=P(3);return A(kp(e,d))})("keydown.enter",function(d){var e=z(c).ngIf;kp(P(3),e);d.stopPropagation();return A(d.preventDefault())})("keydown.space",function(d){var e=z(c).ngIf;kp(P(3),
e);d.stopPropagation();return A(d.preventDefault())});T(3,"async");T(4,"async");S(5);J()()}a&2&&(a=b.ngIf,b=P(3),C(2),Ie("disabled",!!U(3,6,b.isSaving$("status"))),G("matTooltip",a.description||""),Ae("aria-disabled",!!U(4,8,b.isSaving$("status")))("aria-label",a.displayText||null),C(3),Te(" ",a.displayText," "))},dzb=function(a){a&1&&(L(0),R(1,czb,6,10,"div",58),T(2,"async"),M());a&2&&(a=P(2),C(1),G("ngIf",U(2,1,a.issueStatusQuickAction$)))},ezb=function(a){a&1&&(K(0,"b-issue-card",62,63),T(2,"async"));
if(a&2){var b=Se(1);a=P(2);G("onedevIsHovercardReady",b.init)("issueId",U(2,2,a.canonicalIssueId$))}},gzb=function(a){if(a&1){var b=x();H(0,"b-estimated-effort-row",64);O("effortChange",function(e){z(b);var g=P(2);return A(fzb(g.editIssueService,g.issueId,e))});T(1,"async");T(2,"async");T(3,"async");J()}if(a&2){a=P(2);var c,d;G("effort",null!==(c=U(1,3,a.effort$))&&void 0!==c?c:void 0)("effortSpec",null!==(d=U(2,5,a.effortSpec$))&&void 0!==d?d:void 0)("disabled",!U(3,7,a.hasAclToEdit$))}},hzb=function(a){a&
1&&(H(0,"div"),S(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",70),S(3,"Learn more"),J()());a&2&&(a=P(3),C(2),G("href",Xl(a.documentationLinks)+"#expanded-access",vd))},izb=function(a){a&1&&(H(0,"div",65)(1,"span",66),S(2,"Expanded Access"),J(),H(3,"xap-bubble",67)(4,"xap-icon-trigger"),K(5,"mat-icon",68),J(),R(6,hzb,4,1,"ng-template",null,69,of),J()());if(a&2){var b=Se(7);
C(3);G("panelTemplate",b)}},jzb=function(a){a&1&&(H(0,"span",76),T(1,"async"),S(2),J());if(a&2){a=P().ngIf;var b=P(4);Ie("disabled",!!U(1,3,b.isSaving$("assignee")));C(2);Te(" ",a.displayText," ")}},kzb=function(a,b){if(a&1){var c=x();H(0,"div",74);O("onHotkey",function(){var d=z(c).ngIf,e=P(4);return A(kp(e,d))})("click",function(){var d=z(c).ngIf,e=P(4);return A(kp(e,d))})("keydown.enter",function(d){var e=z(c).ngIf;kp(P(4),e);d.stopPropagation();return A(d.preventDefault())})("keydown.space",function(d){var e=
z(c).ngIf;kp(P(4),e);d.stopPropagation();return A(d.preventDefault())});T(1,"async");K(2,"div",60);R(3,jzb,3,5,"span",75);T(4,"async");J()}a&2&&(a=b.ngIf,b=P(4),G("hotkey",b.HOTKEYS.ASSIGN_ISSUE_TO_DEFAULT_ASSIGNEE)("matTooltip",a.description),Ae("aria-disabled",!!U(1,5,b.isSaving$("assignee")))("aria-label",a.description),C(3),G("ngIf",U(4,7,b.hasAclToEdit$)))},lzb=function(a){a&1&&(L(0),R(1,kzb,5,9,"div",73),T(2,"async"),M());a&2&&(a=P(3),C(1),G("ngIf",U(2,1,a.issueAssigneeQuickAction$)))},nzb=
function(a){if(a&1){var b=x();L(0);H(1,"b-edit-field",71,72);O("onHotkey",function(){z(b);var g=Se(2);return A(rn(g,null,!0,!1))})("valueChange",function(g){z(b);var h=Se(2),l=P(2);return A(mzb(l,h,null!==g&&void 0!==g?g:""))});T(3,"async");T(4,"async");T(5,"async");J();R(6,lzb,3,3,"ng-container",0);M()}if(a&2){a=P().ngIf;var c=P(),d,e;C(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",!U(3,12,c.hasAclToEdit$))("disabled",!!U(4,14,c.isSaving$("assignee")))("showAvailability",!0)("teamId",null!==(e=U(5,16,c.teamId$))&&void 0!==e?e:"");C(5);G("ngIf",c.defaultAssigneeQuickActionEnabled)}},pzb=function(a){if(a&1){var b=x();H(0,"div",81);O("click",function(){z(b);var c=P(3);return A(ozb(c.editIssueService,c.issueId,""))});S(1," Un-assign ");J()}},qzb=function(a,b){if(a&1){var c=x();H(0,"div",83);O("onHotkey",function(){var d=z(c).ngIf,e=P(4);return A(kp(e,
d))})("click",function(){var d=z(c).ngIf,e=P(4);return A(kp(e,d))})("keydown.enter",function(d){var e=z(c).ngIf;kp(P(4),e);d.stopPropagation();return A(d.preventDefault())})("keydown.space",function(d){var e=z(c).ngIf;kp(P(4),e);d.stopPropagation();return A(d.preventDefault())});T(1,"async");T(2,"async");S(3);J()}a&2&&(a=b.ngIf,b=P(4),Ie("disabled",!!U(1,7,b.isSaving$("assignee"))),G("hotkey",b.HOTKEYS.ASSIGN_ISSUE_TO_DEFAULT_ASSIGNEE)("matTooltip",a.description),Ae("aria-disabled",!!U(2,9,b.isSaving$("assignee")))("aria-label",
a.description),C(3),Te(" ",a.displayText," "))},rzb=function(a){a&1&&(L(0),R(1,qzb,4,11,"div",82),T(2,"async"),M());a&2&&(a=P(3),C(1),G("ngIf",U(2,1,a.issueAssigneeQuickAction$)))},szb=function(a){if(a&1){var b=x();H(0,"onedev-edit-field")(1,"onedev-field-label");S(2,"Assignee");J();H(3,"onedev-field-value",56);T(4,"async");H(5,"b-user-picker",77,78);O("onHotkey",function(){z(b);var e=Se(6);return A(e.openPopOver())})("emailChange",function(e){z(b);var g=P(2);return A(ozb(g.editIssueService,g.issueId,
e))});T(7,"async");T(8,"async");J();H(9,"div",79);R(10,pzb,2,0,"div",80);T(11,"async");R(12,rzb,3,3,"ng-container",0);T(13,"async");J()()()}if(a&2){a=P().ngIf;var c=P(),d;C(3);G("thinking",!!U(4,7,c.isSaving$("assignee")));C(2);G("hotkey",c.HOTKEYS.CHANGE_ASSIGNEE)("user",a.assigneeUser)("teamId",null!==(d=U(7,9,c.teamId$))&&void 0!==d?d:"")("disabled",!U(8,11,c.hasAclToEdit$));C(5);G("ngIf",a.assigneeUser&&U(11,13,c.hasAclToEdit$));C(2);G("ngIf",c.defaultAssigneeQuickActionEnabled&&U(13,15,c.hasAclToEdit$))}},
uzb=function(a){if(a&1){var b=x();L(0);H(1,"b-edit-field",84,85);O("valueChange",function(g){z(b);var h=Se(2),l=P(2);return A(tzb(l,h,null!==g&&void 0!==g?g:""))});T(3,"async");T(4,"async");T(5,"async");J();M()}if(a&2){a=P().ngIf;var c=P(),d,e;C(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",!U(3,10,c.hasAclToEdit$))("disabled",!!U(4,12,c.isSaving$("verifier")))("showAvailability",
!0)("teamId",null!==(e=U(5,14,c.teamId$))&&void 0!==e?e:"")}},wzb=function(a){if(a&1){var b=x();H(0,"onedev-edit-field")(1,"onedev-field-label");S(2,"Verifier");J();H(3,"onedev-field-value",56);T(4,"async");H(5,"b-user-picker",57);O("emailChange",function(e){z(b);var g=P(2);return A(vzb(g.editIssueService,g.issueId,e))});T(6,"async");T(7,"async");J()()()}if(a&2){a=P().ngIf;var c=P(),d;C(3);G("thinking",!!U(4,4,c.isSaving$("verifier")));C(2);G("user",a.verifierUser)("teamId",null!==(d=U(6,6,c.teamId$))&&
void 0!==d?d:"")("disabled",!U(7,8,c.hasAclToEdit$))}},xzb=function(a){a&1&&(H(0,"span"),S(1," Remove me "),J())},yzb=function(a){a&1&&(H(0,"span"),S(1," Add me "),J())},Azb=function(a){if(a&1){var b=x();H(0,"div",16);O("click",function(){z(b);var c=P(2);return A(zzb(c))})("keydown.enter",function(c){z(b);var d=P(2);zzb(d);c.stopPropagation();c.preventDefault();return A()})("keydown.space",function(c){z(b);var d=P(2);zzb(d);c.stopPropagation();c.preventDefault();return A()});T(1,"async");T(2,"async");
T(3,"async");T(4,"async");R(5,xzb,2,0,"span",0);T(6,"async");R(7,yzb,2,0,"span",0);T(8,"async");T(9,"async");J()}a&2&&(a=P(2),Ie("disabled",!!U(1,7,a.isSaving$("collaborators"))),G("matTooltip",U(4,13,a.isCurrentUserCollaborator$)?"Remove yourself from collaborators":"Add yourself to collaborators"),Ae("aria-disabled",!!U(2,9,a.isSaving$("collaborators")))("aria-label",U(3,11,a.isCurrentUserCollaborator$)?"Remove yourself from collaborators":"Add yourself to collaborators"),C(5),G("ngIf",U(6,15,a.isCurrentUserCollaborator$)),
C(2),G("ngIf",!U(8,17,a.isCurrentUserCollaborator$)&&U(9,19,a.hasAclToEdit$)))},Bzb=function(a){a&1&&(H(0,"span"),S(1," Un-CC me "),J())},Czb=function(a){a&1&&(H(0,"span"),S(1," CC me "),J())},Ezb=function(a){if(a&1){var b=x();H(0,"div",16);O("click",function(){z(b);var c=P(2);return A(Dzb(c))})("keydown.enter",function(c){z(b);var d=P(2);Dzb(d);c.stopPropagation();c.preventDefault();return A()})("keydown.space",function(c){z(b);var d=P(2);Dzb(d);c.stopPropagation();c.preventDefault();return A()});
T(1,"async");T(2,"async");T(3,"async");T(4,"async");R(5,Bzb,2,0,"span",0);T(6,"async");R(7,Czb,2,0,"span",0);T(8,"async");T(9,"async");J()}a&2&&(a=P(2),Ie("disabled",!!U(1,7,a.isSaving$("ccs"))),G("matTooltip",U(4,13,a.isCurrentUserCCd$)?"Remove yourself from CC":"Add yourself to CC"),Ae("aria-disabled",!!U(2,9,a.isSaving$("ccs")))("aria-label",U(3,11,a.isCurrentUserCCd$)?"Remove yourself from CC":"Add yourself to CC"),C(5),G("ngIf",U(6,15,a.isCurrentUserCCd$)),C(2),G("ngIf",!U(8,17,a.isCurrentUserCCd$)&&
U(9,19,a.isAllowedToEditCC$)))},Fzb=function(a){a&1&&Le(0)},Gzb=function(a){a&1&&(L(0),R(1,Fzb,1,0,"ng-container",48),M());if(a&2){P();var b=Se(113);C(1);G("ngTemplateOutlet",b)}},Hzb=function(a){a&1&&K(0,"b-list-field",86);if(a&2){a=P().ngIf;var b=P(2);G("readonly",!0)("defaultLineCount",3)("title","TaskFlow Workspaces")("type",b.ListFieldType.WORKSPACES)("values",a)("tooltip","Links to TaskFlow workspaces this issue belongs to")}},Izb=function(a,b){a&1&&(L(0),R(1,Hzb,1,6,"b-list-field",35),T(2,
"async"),M());a&2&&(a=b.ngIf,b=P(2),C(1),G("ngIf",U(2,1,b.shouldDisplayWtdmUi$)&&a.length))},Jzb=function(a){a&1&&K(0,"b-list-field",86);if(a&2){a=P().ngIf;var b=P();G("readonly",!0)("defaultLineCount",3)("title","Postmortems")("type",b.ListFieldType.POSTMORTEMS)("values",a.postmortems)("tooltip","Postmortems (auto-populated from a daily dump of Requiem)")}},Lzb=function(a,b){a&1&&(H(0,"div"),Le(1,87),J());if(a&2){a=b.$implicit;P();var c=Se(125);C(1);G("ngTemplateOutlet",c)("ngTemplateOutletContext",
Ze(2,Kzb,a))}},Mzb=function(a){a&1&&Le(0)},Nzb=function(a){a&1&&(L(0),R(1,Mzb,1,0,"ng-container",48),M());if(a&2){P();var b=Se(123);C(1);G("ngTemplateOutlet",b)}},Ozb=function(a){a&1&&K(0,"hr",88)},Pzb=function(a){a&1&&Le(0)},Qzb=function(a){a&1&&(L(0),R(1,Pzb,1,0,"ng-container",48),M());if(a&2){P(2);var b=Se(109);C(1);G("ngTemplateOutlet",b)}},Rzb=function(a){a&1&&Le(0)},Szb=function(a){a&1&&(L(0),R(1,Rzb,1,0,"ng-container",48),M());if(a&2){P(2);var b=Se(111);C(1);G("ngTemplateOutlet",b)}},Tzb=function(a){a&
1&&Le(0)},Uzb=function(a){a&1&&(L(0),R(1,Tzb,1,0,"ng-container",48),M());if(a&2){P(2);var b=Se(113);C(1);G("ngTemplateOutlet",b)}},Vzb=function(a,b){a&1&&(H(0,"div"),Le(1,87),J());if(a&2){a=b.$implicit;P(2);var c=Se(125);C(1);G("ngTemplateOutlet",c)("ngTemplateOutletContext",Ze(2,Kzb,a))}},Wzb=function(a){a&1&&Le(0)},Xzb=function(a){a&1&&(L(0),R(1,Wzb,1,0,"ng-container",48),M());if(a&2){P(2);var b=Se(123);C(1);G("ngTemplateOutlet",b)}},Yzb=function(a){a&1&&(H(0,"collapsible-panel",89),T(1,"async"),
R(2,Qzb,2,1,"ng-container",0),T(3,"async"),R(4,Szb,2,1,"ng-container",0),T(5,"async"),R(6,Uzb,2,1,"ng-container",0),T(7,"async"),R(8,Vzb,2,4,"div",36),T(9,"async"),R(10,Xzb,2,1,"ng-container",0),T(11,"async"),J());if(a&2){a=P(2);var b;G("titleWhenCollapsed",null!==(b=U(1,8,a.showHiddenFieldsLabel$))&&void 0!==b?b:"")("titleWhenExpanded","Hide additional fields");C(2);G("ngIf",a.showSloStatus&&!U(3,10,a.isSloStatusPrimary$));C(2);G("ngIf",!U(5,12,a.isSeverityPrimary$));C(2);G("ngIf",a.showChangelists&&
!U(7,14,a.isChangelistPrimary$));C(2);G("ngForOf",U(9,16,a.hiddenCustomFields$))("ngForTrackBy",a.trackCustomField);C(2);G("ngIf",!U(11,18,a.isForgottenFourPrimary$))}},$zb=function(a){if(a&1){var b=x();H(0,"b-issue-slo-box",91);O("onSnoozeChange",function(h){z(b);var l=P(3);return A(Zzb(l.editIssueService,l.issueId,h.date))})("onSloEndTimeChange",function(h){z(b);var l=P(3);return A(l.editIssueService.updateSloEndTime(l.issueId,h.date))});T(1,"async");T(2,"async");T(3,"async");T(4,"async");J()}if(a&
2){a=P(2).ngIf;var c=P(),d,e,g;G("sloStatus",null!==(d=U(1,7,c.sloStatus$))&&void 0!==d?d:void 0)("sloSnoozeUntil",a.sloSnoozeUntil)("sloEndTime",a.sloEndTime)("sloId",null!==(e=U(2,9,c.sloId$))&&void 0!==e?e:void 0)("componentId",a.componentId)("isEditable",!!U(3,11,c.hasAclToEdit$))("issueCreationTimestamp",null!==(g=U(4,13,c.createdTimeMicros$))&&void 0!==g?g:0)}},aAb=function(a){a&1&&R(0,$zb,5,15,"ng-template",90);a&2&&(a=P(2),G("refreshable",a.refreshMonitor.getObservable()))},cAb=function(a){if(a&
1){var b=x();H(0,"b-edit-field",92);O("valueChange",function(d){z(b);var e=P(2);return A(bAb(e.editIssueService,e.issueId,null!==d&&void 0!==d?d:""))});T(1,"async");T(2,"async");J()}if(a&2){a=P().ngIf;var c=P();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",!U(1,8,c.hasAclToEdit$))("disabled",!!U(2,10,c.isSaving$("severity")))}},
dAb=function(a){if(a&1){var b=x();H(0,"insights-graph-btn",96);O("pressed",function(){z(b);var c=P(3).issueInsightsSidebarService;c.analytics.trackEvent(Yl.SIDEBAR,"ingress-click");c.openSidebar("deployments");return A()});J()}},fAb=function(a){if(a&1){var b=x();H(0,"b-list-field",93);O("valuesChange",function(h){z(b);var l=P(2);return A(eAb(l.editIssueService,l.issueId,h.values))});T(1,"async");T(2,"async");H(3,"div",94);R(4,dAb,1,0,"insights-graph-btn",95);T(5,"async");J()();K(6,"b-list-field",
86);T(7,"async");T(8,"async");T(9,"async")}if(a&2){a=P().ngIf;var c=P(),d,e,g;G("readonly",!U(1,15,c.hasAclToEdit$))("defaultLineCount",3)("title","Changelists")("type",c.ListFieldType.CHANGELISTS)("values",a.changelist)("listFieldDisabled",!!U(2,17,c.isSaving$("changelists")));C(4);G("ngIf",U(5,19,c.issueInsightsSidebarService.shouldShowInsightsGraphButton$));C(2);Ie("bv2-issue-metadata-error",null==(d=U(7,21,c.pendingChangelists$))?null:d.hasError);G("readonly",!0)("defaultLineCount",3)("title",
"Pending Changelists")("type",c.ListFieldType.CHANGELISTS)("values",null!==(e=null==(e=U(8,23,c.pendingChangelists$))?null:e.cls)&&void 0!==e?e:Ye(27,Uyb))("tooltip",(null==(g=U(9,25,c.pendingChangelists$))?0:g.hasError)?"Error fetching pending CLs":"Pending changelists (auto-populated)")}},hAb=function(a){if(a&1){var b=x();H(0,"b-edit-field",97);O("valueChange",function(d){z(b);var e=P(2);return A(gAb(e.editIssueService,e.issueId,null!==d&&void 0!==d?d:""))});T(1,"csv");T(2,"async");T(3,"async");
J()}if(a&2){a=P().ngIf;var c=P();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",U(1,8,a.foundInVersion))("readonly",!U(2,10,c.hasAclToEdit$))("disabled",!!U(3,12,c.isSaving$("foundInVersion")))}},jAb=function(a){if(a&1){var b=x();H(0,"b-edit-field",98);O("valueChange",function(d){z(b);var e=P(2);return A(iAb(e.editIssueService,e.issueId,null!==d&&void 0!==d?
d:""))});T(1,"csv");T(2,"async");T(3,"async");J()}if(a&2){a=P().ngIf;var c=P();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",U(1,8,a.targetedToVersion))("readonly",!U(2,10,c.hasAclToEdit$))("disabled",!!U(3,12,c.isSaving$("targetedToVersion")))}},lAb=function(a){if(a&1){var b=x();H(0,"b-edit-field",97);O("valueChange",function(d){z(b);var e=
P(2);return A(kAb(e.editIssueService,e.issueId,null!==d&&void 0!==d?d:""))});T(1,"csv");T(2,"async");T(3,"async");J()}if(a&2){a=P().ngIf;var c=P();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",U(1,8,a.verifiedInVersion))("readonly",!U(2,10,c.hasAclToEdit$))("disabled",!!U(3,12,c.isSaving$("verifiedInVersion")))}},nAb=function(a){if(a&1){var b=
x();H(0,"b-edit-field",99);O("valueChange",function(d){z(b);var e=P(2);return A(mAb(e.editIssueService,e.issueId,null!==d&&void 0!==d?d:!1))});T(1,"async");T(2,"async");J()}if(a&2){a=P().ngIf;var c=P();G("name","inProd")("title","In Prod")("type",c.FieldType.BOOL)("value",a.inProd)("tooltip","Set if this issue occurs in production")("readonly",!U(1,7,c.hasAclToEdit$))("disabled",!!U(2,9,c.isSaving$("inProd")))}},oAb=function(a){a&1&&Le(0)},pAb=function(a){a&1&&Le(0)},qAb=function(a){a&1&&Le(0)},rAb=
function(a){a&1&&Le(0)},sAb=function(a){a&1&&(H(0,"div",4),R(1,oAb,1,0,"ng-container",48),R(2,pAb,1,0,"ng-container",48),R(3,qAb,1,0,"ng-container",48),R(4,rAb,1,0,"ng-container",48),J());if(a&2){P();var b=Se(115),c=Se(117),d=Se(119),e=Se(121);C(1);G("ngTemplateOutlet",b);C(1);G("ngTemplateOutlet",c);C(1);G("ngTemplateOutlet",d);C(1);G("ngTemplateOutlet",e)}},uAb=function(a,b){if(a&1){var c=x();H(0,"b-custom-field-editor",100);O("save",function(e){var g=z(c).$implicit,h=P(2);return A(tAb(h.editIssueService,
h.issueId,g.customFieldId,e))});T(1,"async");T(2,"async");J()}if(a&2){a=b.$implicit;b=P().ngIf;var d=P();G("issue",b)("field",a)("readonly",!U(1,4,d.hasAclToEdit$))("disabled",!!U(2,6,d.isSaving$(a.customFieldId)))}},AAb=function(a,b){if(a&1){var c=x();L(0);R(1,Qyb,2,1,"ng-container",0);T(2,"async");R(3,Tyb,3,3,"ng-container",0);R(4,Wyb,3,3,"ng-container",0);T(5,"async");R(6,Yyb,6,16,"ng-container",1);R(7,$yb,8,10,"ng-template",null,2,of);H(9,"b-edit-field",3);O("valueChange",function(I){z(c);var N=
P();return A(vAb(N.editIssueService,N.issueId,null!==I&&void 0!==I?I:""))});T(10,"async");T(11,"async");J();H(12,"div",4)(13,"b-edit-field",5);O("onHotkey",function(I){z(c);var N=P();(I=ck("P"+I))&&wAb(N.editIssueService,N.issueId,I);return A()})("valueChange",function(I){z(c);var N=P();return A(wAb(N.editIssueService,N.issueId,null!==I&&void 0!==I?I:""))});T(14,"async");T(15,"async");J();R(16,bzb,2,1,"ng-container",0);T(17,"async");J();H(18,"div",6)(19,"b-edit-field",7);O("valueChange",function(I){z(c);
var N=P();return A(xAb(N,null!==I&&void 0!==I?I:""))});T(20,"async");T(21,"async");T(22,"async");T(23,"async");J();R(24,dzb,3,3,"ng-container",0);T(25,"async");J();H(26,"onedev-hovercard",null,8);R(28,ezb,3,4,"b-issue-card",9);J();R(29,gzb,4,9,"b-estimated-effort-row",10);T(30,"async");T(31,"async");H(32,"div",11)(33,"div",12)(34,"div",13)(35,"label");S(36,"Access");J()();H(37,"div",14)(38,"span",15);S(39);T(40,"async");J();H(41,"div",16);O("click",function(){z(c);var I=P();return A(I.toggleAccessLimits())})("keydown.enter",
function(I){z(c);var N=P();return A(N.toggleAccessLimitsWithKeystroke(I))})("keydown.space",function(I){z(c);var N=P();return A(N.toggleAccessLimitsWithKeystroke(I))});T(42,"async");T(43,"async");H(44,"span");S(45);T(46,"async");J()()()();H(47,"onedev-hovercard",null,17)(49,"div",18)(50,"div",19)(51,"span",20);S(52," Issue access level can only be set by Issue admins and it enables issue-level access control. ");H(53,"a",21);S(54,"Learn more");J()()()()()();H(55,"div",22);T(56,"async");R(57,izb,8,
1,"div",23);T(58,"async");H(59,"div",24);R(60,nzb,7,18,"ng-container",1);R(61,szb,14,17,"ng-template",null,25,of);J();R(63,uzb,6,16,"ng-container",1);R(64,wzb,8,10,"ng-template",null,26,of);L(66);H(67,"b-collaborators-field",27,28);O("valuesChange",function(I){z(c);var N=Se(68),Q=P();return A(yAb(Q,N,I.values))});T(69,"async");T(70,"async");T(71,"async");H(72,"div",29);R(73,Azb,10,21,"div",30);T(74,"async");T(75,"async");T(76,"async");J()();H(77,"onedev-hovercard",null,31)(79,"div",18)(80,"div",19)(81,
"span",20);S(82," Collaborators are users who are actively working on an issue. ");H(83,"a",32);S(84,"Learn more.");J()()()()();H(85,"b-list-field",33,34);O("valuesChange",function(I){z(c);var N=Se(86),Q=P();return A(zAb(Q,N,I.values))});T(87,"async");T(88,"async");T(89,"async");H(90,"div",29);R(91,Ezb,10,21,"div",30);T(92,"async");T(93,"async");T(94,"async");J()();M();J();R(95,Gzb,2,1,"ng-container",0);T(96,"async");R(97,Izb,3,3,"ng-container",0);T(98,"async");R(99,Jzb,1,6,"b-list-field",35);R(100,
Lzb,2,4,"div",36);T(101,"async");R(102,Nzb,2,1,"ng-container",0);T(103,"async");R(104,Ozb,1,0,"hr",37);T(105,"async");R(106,Yzb,12,20,"collapsible-panel",38);T(107,"async");R(108,aAb,1,1,"ng-template",null,39,of);R(110,cAb,3,12,"ng-template",null,40,of);R(112,fAb,10,28,"ng-template",null,41,of);R(114,hAb,4,14,"ng-template",null,42,of);R(116,jAb,4,14,"ng-template",null,43,of);R(118,lAb,4,14,"ng-template",null,44,of);R(120,nAb,3,11,"ng-template",null,45,of);R(122,sAb,5,4,"ng-template",null,46,of);R(124,
uAb,3,8,"ng-template",null,47,of);M()}if(a&2){a=b.ngIf;var d=Se(8),e=Se(27),g=Se(48),h=Se(62),l=Se(65),q=Se(78);b=P();var v,y,B;C(1);G("ngIf",b.showSloStatus&&U(2,79,b.isSloStatusPrimary$));C(2);G("ngIf",b.sessionIsInternal);C(1);G("ngIf",U(5,81,b.teamWarningType$));C(2);G("ngIf",!b.enablePeoplekitAc)("ngIfElse",d);C(3);G("name","type")("title","Type")("type",b.FieldType.ENUM)("value",a.type)("choices",b.typeChoices)("readonly",!U(10,83,b.hasAclToEdit$))("disabled",!!U(11,85,b.isSaving$("type")));
C(4);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",!U(14,87,b.hasAclToEdit$))("disabled",!!U(15,89,b.isSaving$("priority")));C(3);G("ngIf",U(17,91,b.isSeverityPrimary$));C(3);G("name","status")("title","Status")("type",b.FieldType.ENUM)("value",a.status)("choices",null!==(v=U(20,93,b.statusChoices$))&&
void 0!==v?v:Ye(155,Uyb))("readonly",!U(21,95,b.hasAclToEdit$))("disabled",!!U(22,97,b.isSaving$("status")))("onedevHovercardActive",!!U(23,99,b.canonicalIssueId$))("onedevHovercardTrigger",e);C(5);G("ngIf",U(25,101,b.hasAclToEdit$));C(5);G("ngIf",b.sessionIsInternal&&U(30,103,b.isEffortEnabled$)&&!U(31,105,b.isWithinExternalComponent$));C(4);G("onedevHovercardTrigger",g)("onedevHovercardActive",!0)("onedevHovercardConfig",b.ACCESS_LIMITS_HOVERCARD_CONFIG);C(6);Ve(b.getAccessLimitLevelDisplay(U(40,
107,b.accessLimitLevel$)));C(2);G("matTooltip",U(43,111,b.hasAclToAdmin$)?"Manage issue level access limits":"View issue level access limits");Ae("aria-label",U(42,109,b.hasAclToAdmin$)?"Edit":"View");C(4);Te(" ",U(46,113,b.hasAclToAdmin$)?"Edit":"View"," ");C(8);G("href",b.documentationLinks.getIssueAccessLimit(),vd);C(2);Ie("implicit-access-box",U(56,115,b.isImplicitAccessEnabled$));C(2);G("ngIf",U(58,117,b.isImplicitAccessEnabled$));C(3);G("ngIf",!b.enablePeoplekitAc)("ngIfElse",h);C(3);G("ngIf",
!b.enablePeoplekitAc)("ngIfElse",l);C(4);G("readonly",!U(69,119,b.hasAclToEdit$))("collaborators",a.collaborators)("collaboratorsUsers",a.collaboratorsUsers)("listFieldDisabled",!!U(70,121,b.isSaving$("collaborators")))("teamId",null!==(y=U(71,123,b.teamId$))&&void 0!==y?y:"")("isCollapsible",!0)("onedevHovercardTrigger",q)("onedevHovercardActive",!0)("onedevHovercardConfig",b.COLLABORATORS_HOVERCARD_CONFIG);C(6);G("ngIf",U(74,125,b.isCurrentUserCollaborator$)||!U(75,127,b.isCurrentUserCollaborator$)&&
U(76,129,b.hasAclToEdit$));C(12);Re("collapsiblePanelTitle","",a.cc.length," ",1===a.cc.length?"user":"users","");G("defaultLineCount",5)("readonly",!U(87,131,b.isAllowedToEditCC$))("type",b.ListFieldType.USERCHIP)("isUser",!0)("values",a.cc)("users",a.ccUsers)("listFieldDisabled",!!U(88,133,b.isSaving$("ccs")))("isCollapsible",!0)("isExpanded",!0)("teamId",null!==(B=U(89,135,b.teamId$))&&void 0!==B?B:"");C(6);G("ngIf",U(92,137,b.isCurrentUserCCd$)||!U(93,139,b.isCurrentUserCCd$)&&U(94,141,b.isAllowedToEditCC$));
C(4);G("ngIf",b.showChangelists&&U(96,143,b.isChangelistPrimary$));C(2);G("ngIf",U(98,145,b.workspaces$));C(2);G("ngIf",!b.sessionIsExternal&&(null==a.postmortems?null:a.postmortems.length));C(1);G("ngForOf",U(101,147,b.visibleCustomFields$))("ngForTrackBy",b.trackCustomField);C(2);G("ngIf",U(103,149,b.isForgottenFourPrimary$));C(2);G("ngIf",U(105,151,b.hasHiddenFields$));C(2);G("ngIf",U(107,153,b.hasHiddenFields$))}},BAb=function(a){a&1&&K(0,"edit-issue-metadata",5);a&2&&(a=P(),G("issueId",a.issueId))},
CAb=function(a,b){if(a instanceof Element){var c=Zg(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)}}},DAb=function(a,b){a&1&&(H(0,"h2",5),S(1),J());a&2&&(a=b.ngIf,C(1),Te("Issue ",a,""))},EAb=function(a){a&1&&K(0,"div")},FAb=function(a){a&1&&(H(0,"a",19),S(1,"Learn more"),J())},GAb=function(a){if(a&1){var b=x();H(0,"button",20);O("click",function(){var c=
z(b).ngIf,d=P(5);return A(d.editIssueService.unarchive(c))});S(1," Unarchive ");J()}},HAb=function(a){a&1&&(H(0,"b-callout",16)(1,"b-callout-body"),S(2,"This issue has been archived. "),R(3,FAb,2,0,"a",17),J(),H(4,"b-callout-actions"),R(5,GAb,2,0,"button",18),T(6,"async"),J()());a&2&&(a=P(4),G("messageType","caution")("format","app")("iconOverride","archive_24px"),C(3),G("ngIf",a.activeSession.isInternalSession()),C(2),G("ngIf",U(6,5,a.id$)))},IAb=function(a){a&1&&(H(0,"a",23),S(1,"Learn more"),J())},
JAb=function(a){a&1&&(H(0,"b-callout",21)(1,"b-callout-body"),S(2," This issue is in an archived component. "),R(3,IAb,2,0,"a",22),J()());a&2&&(a=P(4),G("format","app")("iconOverride","archive_24px"),C(3),G("ngIf",a.activeSession.isInternalSession()))},KAb=function(a,b){a&1&&(L(0),S(1," Reason: "),H(2,"code"),S(3),J(),S(4,". "),M());a&2&&(a=b.$implicit,C(3),Ve(a))},LAb=function(a){a&1&&(H(0,"a",27),S(1,"Learn more"),J())},NAb=function(a){if(a&1){var b=x();H(0,"button",28);O("click",function(){var d=
z(b).ngIf,e=P(5);return A(MAb(e.editIssueService,d))});T(1,"async");T(2,"async");S(3," Undelete ");J()}if(a&2){a=P(5);var c;G("matTooltip",null!==(c=U(1,2,a.undeleteButtonTooltip$))&&void 0!==c?c:"")("disabled",!U(2,4,a.permissions.canUndeleteIssue$))}},OAb=function(a){a&1&&(H(0,"b-callout",24)(1,"b-callout-body"),S(2," This issue has been deleted. "),R(3,KAb,5,1,"ng-container",6),T(4,"async"),R(5,LAb,2,0,"a",25),J(),H(6,"b-callout-actions"),R(7,NAb,4,6,"button",26),T(8,"async"),J()());if(a&2){a=
P(4);var b;C(3);G("ngIf",null==(b=U(4,3,a.snapshot$))?null:b.deletionReason);C(2);G("ngIf",a.activeSession.isInternalSession());C(2);G("ngIf",U(8,5,a.id$))}},PAb=function(a,b){a&1&&(H(0,"output",37),S(1),J());a&2&&(a=b.$implicit,C(1),Te(" ",a," "))},RAb=function(a,b){a&1&&(H(0,"a",34,35),S(2),R(3,PAb,2,1,"output",36),T(4,"async"),J());if(a&2){a=b.$implicit;var c=Se(1);G("routerLink",a.link)("active",c.isActive)("routerLinkActiveOptions",Ye(7,QAb));C(2);Te(" ",a.title," ");C(1);G("ngIf",U(4,5,a.count$))}},
SAb=function(a,b){a&1&&(H(0,"header",29),K(1,"b-tracker-banner",30),T(2,"async"),T(3,"async"),K(4,"issue-header",31),H(5,"nav",32),R(6,RAb,5,8,"a",33),J()());a&2&&(a=b.$implicit,b=P(4),C(1),G("issueId",U(2,4,b.id$))("trackerId",U(3,6,b.issueTrackerId$)),C(3),G("issueId",a),C(2),G("ngForOf",b.tabs))},TAb=function(a,b){a&1&&K(0,"issue-metadata-sidebar",31);a&2&&G("issueId",b.ngIf)},UAb=function(a){a&1&&(H(0,"div",8),T(1,"async"),R(2,HAb,7,7,"b-callout",9),T(3,"async"),R(4,JAb,4,3,"b-callout",10),T(5,
"async"),R(6,OAb,9,7,"b-callout",11),T(7,"async"),R(8,SAb,7,8,"header",12),T(9,"async"),H(10,"div",13)(11,"article",14),K(12,"router-outlet"),J(),R(13,TAb,1,1,"issue-metadata-sidebar",15),T(14,"async"),J()());a&2&&(a=P(3),Ie("issue-editor-false",!U(1,7,a.permissions.hasAclToEdit$)),C(2),G("ngIf",U(3,9,a.archived$)),C(2),G("ngIf",U(5,11,a.inArchivedComponent$)),C(2),G("ngIf",U(7,13,a.deleted$)),C(2),G("ngIf",U(9,15,a.id$)),C(5),G("ngIf",U(14,17,a.id$)))},VAb=function(a){a&1&&(H(0,"div"),R(1,UAb,15,
19,"div",7),T(2,"async"),J());if(a&2){a=P(2);var b=Se(7);C(1);G("ngIf",!U(2,2,a.showTrackerRedirect$))("ngIfElse",b)}},WAb=function(a){a&1&&(R(0,VAb,3,4,"div",6),T(1,"async"));a&2&&(a=P(),G("ngIf",!U(1,1,a.issue404$)))},XAb=function(a){a&1&&(H(0,"div",38),K(1,"b-tracker-redirect",39),T(2,"async"),J());a&2&&(a=P(),C(1),G("issue",U(2,1,a.issue$)))},YAb=function(a){a&1&&(H(0,"div",38),K(1,"b-access-denied-metadata",40),T(2,"async"),J());a&2&&(a=P(),C(1),G("issueMetadata",U(2,1,a.issueMetadata$)))},ZAb=
function(a,b){a&1&&(L(0),K(1,"b-issues-table",1),M());a&2&&(a=b.ngIf,b=P(),C(1),G("issueIds",a)("menuItemFactory",b.getMenuItems)("tableColumns",b.tableColumns)("initialSort",b.initialSort))},aBb=function(a){if(a&1){var b=x();H(0,"div",5);K(1,"img",6);H(2,"p",7);S(3," This issue has no duplicates ");J();H(4,"p",8);S(5," A duplicate is an issue with similar content. ");J();H(6,"p",8);S(7,' Any issue added here will be closed as a duplicate of this one, making this the "canonical issue". ');H(8,"a",
9);S(9,"Learn more");J()();H(10,"button",10);O("click",function(){z(b);var c=P(2);return A($Ab(c))});S(11," Add ");J()()}a&2&&(a=P(2),C(1),G("src",a.ROBOT_SLEEPING,vd))},bBb=function(a,b){a&1&&K(0,"b-duplicates-table",15);a&2&&(a=b.$implicit,b=P(2).$implicit,G("issueId",a)("duplicateIds",b))},cBb=function(a,b){a&1&&(L(0),H(1,"a",16),S(2," View as search results "),J(),M());a&2&&(a=b.ngIf,C(1),G("routerLink",a.path)("queryParams",a.params))},dBb=function(a){if(a&1){var b=x();H(0,"h4",11);S(1);T(2,
"async");H(3,"button",12);O("click",function(){z(b);var c=P(2);return A($Ab(c))});S(4," Add ");J()();R(5,bBb,1,2,"b-duplicates-table",13);T(6,"async");H(7,"aside",14);R(8,cBb,3,2,"ng-container",1);T(9,"async");J()}a&2&&(a=P(2),C(1),Te("Duplicates ",U(2,3,a.counts.countDuplicateDisplay$)," "),C(4),G("ngIf",U(6,5,a.id$)),C(3),G("ngIf",U(9,7,a.dupeUrl$)))},eBb=function(a){a&1&&(L(0),R(1,aBb,12,1,"div",3),T(2,"async"),R(3,dBb,10,9,"ng-template",null,4,of),M());if(a&2){var b=Se(4);a=P();C(1);G("ngIf",
!U(2,2,a.showTable$))("ngIfElse",b)}},fBb=function(a){a&1&&(H(0,"aside",17),K(1,"b-spinner"),J())},gBb=function(a,b){a&1&&(H(0,"mat-option",9)(1,"div",10),S(2),J(),H(3,"div",11),S(4),J()());a&2&&(a=b.$implicit,G("value",a),C(2),Ve(a.name),C(2),Ve(a.description))},hBb=function(a){if(a&1){var b=x();H(0,"mat-form-field",6)(1,"mat-select",7);O("valueChange",function(c){z(b);var d=P();return A(d.selectedFilter=c)})("selectionChange",function(c){z(b);var d=P();c=c.value;d.preferences.save({commentFilterPreferences:{commentFilter:c.commentFilterType}}).pipe(qe(d.destroyed$)).subscribe();
d.analytics.trackEvent(Yl.EDIT_ISSUE,"click",c.commentFilterType);return A()});H(2,"mat-select-trigger");S(3);J();R(4,gBb,5,3,"mat-option",8);J()()}a&2&&(a=P(),C(1),G("value",a.selectedFilter),C(2),Ve(null==a.selectedFilter?null:a.selectedFilter.displayName),C(1),G("ngForOf",a.filters))},iBb=function(a){a&1&&(L(0),K(1,"mat-icon",12),H(2,"span"),S(3,"Oldest first"),J(),M())},jBb=function(a){a&1&&(L(0),K(1,"mat-icon",13),H(2,"span"),S(3,"Newest first"),J(),M())},oBb=function(a){switch(a){case "FULL_HISTORY":return kBb;
case "ALL_COMMENTS":return lBb;case "HUMAN_ONLY":return mBb;case "TEAM_AND_ASSIGNEE":return nBb;default:return lBb}},pBb=function(a){a&1&&(L(0),S(1,", "),K(2,"br"),M())},qBb=function(a){a&1&&(L(0),S(1," reacted"),M())},rBb=function(a,b){a&1&&(L(0),H(1,"div"),S(2),R(3,pBb,3,0,"ng-container",3),R(4,qBb,2,0,"ng-container",3),T(5,"async"),J(),M());if(a&2){a=b.$implicit;b=b.last;var c=P();C(2);Te(" ",a,"");C(1);G("ngIf",!b);C(1);G("ngIf",!U(5,3,c.isOverflowReactionCount$)&&b)}},tBb=function(a){if(a&1){var b=
x();H(0,"span");S(1," and ");H(2,"button",4);O("click",function(){z(b);var c=P();if(c.commentNumber&&c.issueId){var d,e,g=null!=(e=null==(d=ol(c.reactionState$))?void 0:d.type)?e:"REACTION_TYPE_UNSPECIFIED";c.matDialogService.open(sBb,{width:"560px",data:{commentNumber:c.commentNumber,issueId:c.issueId,reactionType:g}})}return A()});S(3);T(4,"async");J();S(5," reacted ");J()}a&2&&(a=P(),C(3),Te(" ",U(4,1,a.overflowReactionCount$)," more "))},uBb=function(a){a&1&&(L(0),S(1),M());a&2&&(a=P(2),C(1),
Te(" by ",Qg(a.event.lastCommentEditorUser),""))},vBb=function(a){a&1&&(L(0)(1),S(2,"Message last modified"),M(),R(3,uBb,2,1,"ng-container",0),L(4),S(5," on "),K(6,"b-formatted-date-time",1),M()());a&2&&(a=P(),C(3),G("ngIf",0===a.event.version&&!!a.event.lastCommentEditorUser),C(3),G("timestamp",a.event.commentLastModifiedAtDate))},wBb=function(a){a&1&&K(0,"b-user-email",5);a&2&&(a=P().$implicit,G("email",a.text)("withProfile",!0))},xBb=function(a){a&1&&(H(0,"b-issue-reference-widget",6),L(1),S(2),
M(),J());if(a&2){a=P().$implicit;var b=P();G("href",Gk(a.text))("issueId",b.getIssueId(a));C(2);Ve(a.text)}},yBb=function(a){a&1&&(L(0),S(1),M());a&2&&(a=P().$implicit,C(1),Ve(a.text))},zBb=function(a,b){a&1&&(L(0)(1,1),R(2,wBb,1,2,"b-user-email",2),R(3,xBb,3,3,"b-issue-reference-widget",3),R(4,yBb,2,1,"ng-container",4),M()());a&2&&(a=b.$implicit,C(1),G("ngSwitch",a.tag),C(1),G("ngSwitchCase","user"),C(1),G("ngSwitchCase","bug"))},ABb=function(a){a&1&&(L(0),K(1,"b-component-card",3,4),M());if(a&2){var b=
Se(2);a=P();C(1);G("onedevIsHovercardReady",b.init)("componentId",a.id)}},BBb=function(a){a&1&&(H(0,"span"),S(1),J());if(a&2){a=P(5);var b;C(1);Ve(null!==(b=a.effortSpecName)&&void 0!==b?b:"Estimated Effort")}},CBb=function(a){a&1&&(H(0,"label"),R(1,BBb,2,1,"span",11),S(2,":\u200b "),J());if(a&2){a=P(4);var b=Se(5);C(1);G("ngIf",a.effortEnabled)("ngIfElse",b)}},DBb=function(a){a&1&&(H(0,"label"),S(1),J());a&2&&(a=P(3).$implicit,C(1),Te("",a.displayName,":\u200b"))},EBb=function(a){a&1&&(H(0,"span"),
K(1,"b-user-display-name",14),J());a&2&&(a=P().$implicit,C(1),G("email",a)("showEmail",!0))},FBb=function(a){a&1&&(L(0),K(1,"plain-component-path",15),M());a&2&&(a=P(4).$implicit,C(1),G("id",a.oldValue))},GBb=function(a){a&1&&K(0,"b-formatted-date-time",17);if(a&2){a=P(2).$implicit;var b=P(4);G("timestamp",1E3*b.asNumber(a))}},HBb=function(a){a&1&&(H(0,"span"),S(1,"[Issue creation date]"),J())},IBb=function(a){a&1&&(H(0,"span"),R(1,GBb,1,1,"b-formatted-date-time",16),R(2,HBb,2,0,"span",5),J());a&
2&&(a=P().$implicit,C(1),G("ngIf","<none>"!==a),C(1),G("ngIf","<none>"===a))},JBb=function(a){a&1&&K(0,"b-formatted-date-time",17);if(a&2){a=P(2).$implicit;var b=P(4);G("timestamp",1E3*b.asNumber(a))}},KBb=function(a){a&1&&(H(0,"span"),S(1,"[Unset]"),J())},LBb=function(a){a&1&&(H(0,"span"),R(1,JBb,1,1,"b-formatted-date-time",16),R(2,KBb,2,0,"span",5),J());a&2&&(a=P().$implicit,C(1),G("ngIf","<none>"!==a),C(1),G("ngIf","<none>"===a))},MBb=function(a){a&1&&(L(0),H(1,"span"),S(2),J(),M());if(a&2){a=
P().$implicit;var b=P(4);C(2);Ve(b.getAccessLimitLevel(a))}},NBb=function(a){a&1&&(H(0,"span"),S(1),J());a&2&&(a=P().$implicit,C(1),Ve(a))},OBb=function(a){a&1&&(L(0),R(1,EBb,2,2,"span",5),R(2,FBb,2,1,"ng-container",5),R(3,IBb,3,2,"span",5),R(4,LBb,3,2,"span",5),R(5,MBb,3,1,"ng-container",5),R(6,NBb,2,1,"span",5),S(7," \u00a0 "),K(8,"span",13),S(9," \u00a0 "),M());a&2&&(a=P(3).$implicit,C(1),G("ngIf",a.isUser),C(1),G("ngIf","component"===a.name),C(1),G("ngIf","sloSnoozeUntil"==a.name),C(1),G("ngIf",
"sloEndTime"==a.name),C(1),G("ngIf","access_limit"===a.name),C(1),G("ngIf",!a.isUser&&"component"!==a.name&&"sloSnoozeUntil"!==a.name&&"sloEndTime"!==a.name&&"access_limit"!==a.name))},PBb=function(a){a&1&&K(0,"b-user-display-name",14);a&2&&(a=P().$implicit,G("email",a)("showEmail",!0))},QBb=function(a){a&1&&(H(0,"span"),K(1,"plain-component-path",15),J());a&2&&(a=P(4).$implicit,C(1),G("id",a.newValue))},RBb=function(a){a&1&&K(0,"b-formatted-date-time",17);if(a&2){a=P(2).$implicit;var b=P(4);G("timestamp",
1E3*b.asNumber(a))}},SBb=function(a){a&1&&(H(0,"span"),S(1,"[Issue creation date]"),J())},TBb=function(a){a&1&&(H(0,"span"),R(1,RBb,1,1,"b-formatted-date-time",16),R(2,SBb,2,0,"span",5),J());a&2&&(a=P().$implicit,C(1),G("ngIf","<none>"!==a),C(1),G("ngIf","<none>"===a))},UBb=function(a){a&1&&K(0,"b-formatted-date-time",17);if(a&2){a=P(2).$implicit;var b=P(4);G("timestamp",1E3*b.asNumber(a))}},VBb=function(a){a&1&&(H(0,"span"),S(1,"[Unset]"),J())},WBb=function(a){a&1&&(H(0,"span"),R(1,UBb,1,1,"b-formatted-date-time",
16),R(2,VBb,2,0,"span",5),J());a&2&&(a=P().$implicit,C(1),G("ngIf","<none>"!==a),C(1),G("ngIf","<none>"===a))},XBb=function(a){a&1&&(L(0),H(1,"span"),S(2),J(),M());if(a&2){a=P().$implicit;var b=P(4);C(2);Ve(b.getAccessLimitLevel(a))}},ZBb=function(a){a&1&&(H(0,"span",20),S(1),J());if(a&2){a=P().$implicit;var b=P(3).$implicit;G("ngClass",Ze(2,YBb,b.oldValue&&"title"==b.name));C(1);Ve(a)}},$Bb=function(a){a&1&&(L(0),R(1,PBb,1,2,"b-user-display-name",18),R(2,QBb,2,1,"span",5),R(3,TBb,3,2,"span",5),R(4,
WBb,3,2,"span",5),R(5,XBb,3,1,"ng-container",5),R(6,ZBb,2,4,"span",19),M());a&2&&(a=P(3).$implicit,C(1),G("ngIf",a.isUser),C(1),G("ngIf","component"===a.name),C(1),G("ngIf","sloSnoozeUntil"===a.name),C(1),G("ngIf","sloEndTime"===a.name),C(1),G("ngIf","access_limit"===a.name),C(1),G("ngIf",!a.isUser&&"component"!=a.name&&"sloSnoozeUntil"!=a.name&&"sloEndTime"!=a.name&&"access_limit"!=a.name))},aCb=function(a){a&1&&(H(0,"div",10),R(1,CBb,3,2,"label",11),R(2,DBb,2,1,"ng-template",null,12,of),R(4,OBb,
10,6,"ng-container",5),R(5,$Bb,7,6,"ng-container",5),J());if(a&2){var b=Se(3);a=P(2).$implicit;C(1);G("ngIf","effort"===a.name)("ngIfElse",b);C(3);G("ngIf",a.oldValue);C(1);G("ngIf",a.newValue)}},bCb=function(a){a&1&&(H(0,"span"),S(1,", "),J())},cCb=function(a,b){a&1&&(H(0,"span"),K(1,"b-user-display-name",14),R(2,bCb,2,0,"span",5),J());a&2&&(a=b.$implicit,b=b.last,C(1),G("email",a)("showEmail",!0),C(1),G("ngIf",!b))},dCb=function(a){a&1&&(H(0,"span"),R(1,cCb,3,3,"span",21),J());a&2&&(a=P(4).$implicit,
C(1),G("ngForOf",a.added))},eCb=function(a){a&1&&(H(0,"span"),S(1,", "),J())},fCb=function(a,b){a&1&&(H(0,"span")(1,"span"),S(2),J(),R(3,eCb,2,0,"span",5),J());a&2&&(a=b.$implicit,b=b.last,C(2),Ve(a),C(1),G("ngIf",!b))},gCb=function(a){a&1&&(H(0,"span"),R(1,fCb,4,2,"span",21),J());a&2&&(a=P(4).$implicit,C(1),G("ngForOf",a.added))},hCb=function(a){a&1&&(H(0,"div")(1,"label"),S(2),J(),R(3,dCb,2,1,"span",5),R(4,gCb,2,1,"span",5),J());a&2&&(a=P(3).$implicit,C(2),Te("+",a.displayName,":\u200b"),C(1),G("ngIf",
a.isUser),C(1),G("ngIf",!a.isUser))},iCb=function(a){a&1&&(H(0,"span"),S(1,", "),J())},jCb=function(a,b){a&1&&(H(0,"span"),K(1,"b-user-display-name",14),R(2,iCb,2,0,"span",5),J());a&2&&(a=b.$implicit,b=b.last,C(1),G("email",a)("showEmail",!0),C(1),G("ngIf",!b))},kCb=function(a){a&1&&(H(0,"span"),R(1,jCb,3,3,"span",21),J());a&2&&(a=P(4).$implicit,C(1),G("ngForOf",a.removed))},lCb=function(a){a&1&&(H(0,"span"),S(1,", "),J())},mCb=function(a,b){a&1&&(H(0,"span")(1,"span"),S(2),J(),R(3,lCb,2,0,"span",
5),J());a&2&&(a=b.$implicit,b=b.last,C(2),Ve(a),C(1),G("ngIf",!b))},nCb=function(a){a&1&&(H(0,"span"),R(1,mCb,4,2,"span",21),J());a&2&&(a=P(4).$implicit,C(1),G("ngForOf",a.removed))},oCb=function(a){a&1&&(H(0,"div")(1,"label"),S(2),J(),R(3,kCb,2,1,"span",5),R(4,nCb,2,1,"span",5),J());a&2&&(a=P(3).$implicit,C(2),Te("-",a.displayName,":\u200b"),C(1),G("ngIf",a.isUser),C(1),G("ngIf",!a.isUser))},pCb=function(a){a&1&&(H(0,"div",10),R(1,hCb,5,3,"div",5),R(2,oCb,5,3,"div",5),J());if(a&2){a=P(2).$implicit;
var b=P();C(1);G("ngIf",a.added&&a.added.length&&b.isStringArray(a.added));C(1);G("ngIf",a.removed&&a.removed.length&&b.isStringArray(a.removed))}},qCb=function(a){a&1&&Le(0)},sCb=function(a,b){a&1&&(H(0,"span"),R(1,qCb,1,0,"ng-container",22),J());if(a&2){a=b.$implicit;b=b.last;var c=P(4).$implicit;P();var d=Se(3);C(1);G("ngTemplateOutlet",d)("ngTemplateOutletContext",af(rCb,c,a,b))}},tCb=function(a){a&1&&(H(0,"div")(1,"label"),S(2),J(),R(3,sCb,2,6,"span",21),J());a&2&&(a=P(3).$implicit,C(2),Te("+",
a.displayName,":\u200b"),C(1),G("ngForOf",a.added))},uCb=function(a){a&1&&Le(0)},vCb=function(a,b){a&1&&(H(0,"span"),R(1,uCb,1,0,"ng-container",22),J());if(a&2){a=b.$implicit;b=b.last;var c=P(4).$implicit;P();var d=Se(3);C(1);G("ngTemplateOutlet",d)("ngTemplateOutletContext",af(rCb,c,a,b))}},wCb=function(a){a&1&&(H(0,"div")(1,"label"),S(2),J(),R(3,vCb,2,6,"span",21),J());a&2&&(a=P(3).$implicit,C(2),Te("-",a.displayName,":\u200b"),C(1),G("ngForOf",a.removed))},xCb=function(a){a&1&&(H(0,"div",10),R(1,
tCb,4,2,"div",5),R(2,wCb,4,2,"div",5),J());if(a&2){a=P(2).$implicit;var b=P();C(1);G("ngIf",a.added&&a.added.length&&b.isLinkedItemArray(a.added));C(1);G("ngIf",a.removed&&a.removed.length&&b.isLinkedItemArray(a.removed))}},yCb=function(a){a&1&&K(0,"b-formatted-date-time",17);a&2&&(a=P().$implicit,G("timestamp",a))},zCb=function(a){a&1&&(H(0,"span"),S(1," - "),J())},ACb=function(a,b){a&1&&(H(0,"span"),K(1,"b-formatted-date-time",17),R(2,zCb,2,0,"span",5),J());a&2&&(a=b.$implicit,b=b.last,C(1),G("timestamp",
a),C(1),G("ngIf",!b))},BCb=function(a){a&1&&(H(0,"span"),R(1,ACb,3,2,"span",21),J());a&2&&(a=P(4).$implicit,C(1),G("ngForOf",a.oldValue.split(", ")))},CCb=function(a){a&1&&(H(0,"span"),S(1),J());a&2&&(a=P().$implicit,C(1),Ve(a))},FCb=function(a){a&1&&(L(0),R(1,yCb,1,1,"b-formatted-date-time",16),R(2,BCb,2,1,"span",5),R(3,CCb,2,1,"span",5),S(4," \u00a0 "),K(5,"span",13),S(6," \u00a0 "),M());if(a&2){a=P(3).$implicit;var b=P();C(1);G("ngIf",DCb(b,a,"oldValue"));C(1);G("ngIf",ECb(b,a,"oldValue"));C(1);
G("ngIf",!DCb(b,a,"oldValue")&&!ECb(b,a,"oldValue"))}},GCb=function(a){a&1&&K(0,"b-formatted-date-time",17);a&2&&(a=P().$implicit,G("timestamp",a))},HCb=function(a){a&1&&(H(0,"span"),S(1," - "),J())},ICb=function(a,b){a&1&&(H(0,"span"),K(1,"b-formatted-date-time",17),R(2,HCb,2,0,"span",5),J());a&2&&(a=b.$implicit,b=b.last,C(1),G("timestamp",a),C(1),G("ngIf",!b))},JCb=function(a){a&1&&(H(0,"span"),R(1,ICb,3,2,"span",21),J());a&2&&(a=P(4).$implicit,C(1),G("ngForOf",a.newValue.split(", ")))},KCb=function(a){a&
1&&(H(0,"span"),S(1),J());a&2&&(a=P().$implicit,C(1),Ve(a))},LCb=function(a){a&1&&(L(0),R(1,GCb,1,1,"b-formatted-date-time",16),R(2,JCb,2,1,"span",5),R(3,KCb,2,1,"span",5),M());if(a&2){a=P(3).$implicit;var b=P();C(1);G("ngIf",DCb(b,a,"newValue"));C(1);G("ngIf",ECb(b,a,"newValue"));C(1);G("ngIf",!DCb(b,a,"newValue")&&!ECb(b,a,"newValue"))}},MCb=function(a){a&1&&(H(0,"div",10)(1,"label"),S(2),J(),R(3,FCb,7,3,"ng-container",5),R(4,LCb,4,3,"ng-container",5),J());if(a&2){a=P(2).$implicit;var b=P();C(1);
Ae("title",b.customFieldName(a));C(1);Te("",b.customFieldName(a),":\u200b");C(1);G("ngIf",a.oldValue);C(1);G("ngIf",a.newValue)}},NCb=function(a){a&1&&(H(0,"span",26),S(1,"Updated"),J())},OCb=function(a){a&1&&(H(0,"span"),S(1,"Deleted"),J())},PCb=function(a){a&1&&(H(0,"span"),S(1),J());a&2&&(a=P().$implicit,C(1),Te("Edited (unknown status '",a.status,"')"))},QCb=function(a,b){a&1&&(L(0)(1,7),R(2,NCb,2,0,"span",23),R(3,OCb,2,0,"span",24),R(4,PCb,2,1,"span",25),M()());a&2&&(a=b.$implicit,C(1),G("ngSwitch",
a.status),C(1),G("ngSwitchCase","ACTIVE"),C(1),G("ngSwitchCase","DELETED"))},RCb=function(a){a&1&&(H(0,"div",10)(1,"label"),S(2),J(),R(3,QCb,5,3,"ng-container",5),J());a&2&&(a=P(2).$implicit,C(2),Te("",a.displayName,":\u200b"),C(1),G("ngIf",null==a.statusUpdateDiff?null:a.statusUpdateDiff.entityStatus))},SCb=function(a){a&1&&(H(0,"div",10)(1,"label"),S(2),J(),H(3,"pre",27),S(4),T(5,"json"),J()());a&2&&(a=P(2).$implicit,C(2),Te("",a.displayName,":\u200b"),C(2),Ve(U(5,2,a)))},TCb=function(a){a&1&&(L(0),
K(1,"b-formatted-date-time",6),L(2,7),R(3,aCb,6,4,"div",8),R(4,pCb,3,2,"div",8),R(5,xCb,3,2,"div",8),R(6,MCb,5,4,"div",8),R(7,RCb,4,2,"div",8),R(8,SCb,6,4,"div",9),M()());a&2&&(a=P().$implicit,C(1),G("timestamp",a.timestamp),C(1),G("ngSwitch",!0),C(1),G("ngSwitchCase","SINGLE_VALUE"===a.type),C(1),G("ngSwitchCase","COLLECTION"===a.type||"USER_COLLECTION"===a.type),C(1),G("ngSwitchCase","LINKED_COLLECTION"===a.type),C(1),G("ngSwitchCase","CUSTOM_FIELD"===a.type),C(1),G("ngSwitchCase","STATUS_UPDATE"===
a.type))},UCb=function(a,b){a&1&&(H(0,"div",4),R(1,TCb,9,7,"ng-container",5),J());a&2&&(a=b.$implicit,b=P(),C(1),G("ngIf","sloSnoozeUntil"===(null==a?void 0:a.name)||"sloEndTime"===(null==a?void 0:a.name)?b.activeSession.isInternalSession():!0))},VCb=function(a){a&1&&(H(0,"span"),S(1,", "),J())},WCb=function(a){a&1&&(H(0,"span")(1,"b-issue-reference-widget",29),S(2),J(),R(3,VCb,2,0,"span",5),J());if(a&2){a=P().$implicit;var b=P(),c=b.change;b=b.isLast;C(1);G("href",c.href)("issueId",a);C(1);Ve(a);
C(1);G("ngIf",!b)}},XCb=function(a){a&1&&(H(0,"span"),S(1,", "),J())},YCb=function(a){a&1&&(L(0),K(1,"hotlist-link",15),R(2,XCb,2,0,"span",5),M());if(a&2){a=P(2).$implicit;var b=P().isLast;C(1);G("id",a);C(1);G("ngIf",!b)}},ZCb=function(a){a&1&&(H(0,"span"),S(1,", "),J())},$Cb=function(a){a&1&&(H(0,"a",31),S(1),J(),R(2,ZCb,2,0,"span",5));if(a&2){a=P(2).$implicit;var b=P(),c=b.isLast;G("href",b.change.href,vd);C(1);Ve(a);C(1);G("ngIf",!c)}},aDb=function(a){a&1&&(R(0,YCb,3,2,"ng-container",11),R(1,
$Cb,3,3,"ng-template",null,30,of));if(a&2){var b=Se(2);a=P(2).diff;var c=P();G("ngIf",c.isHotlistDiff(a))("ngIfElse",b)}},bDb=function(a){a&1&&(L(0),R(1,WCb,4,4,"span",11),R(2,aDb,3,2,"ng-template",null,28,of),M());if(a&2){var b=Se(3);a=P().diff;var c=P();C(1);G("ngIf",c.isIssueDiff(a))("ngIfElse",b)}},cDb=function(a,b){a&1&&R(0,bDb,4,2,"ng-container",5);a&2&&G("ngIf",b.change.value)},dDb=function(a){a&1&&(H(0,"span"),S(1,"Estimated Effort (disabled)"),J())},eDb=function(a,b){a&1&&(K(0,"b-user-membership-chip",
29),T(1,"async"));if(a&2){a=b.ngIf;b=P(2);var c;G("user",b.event.userPerformingActionUser)("email",a)("teamId",null!==(c=U(1,3,b.teamId$))&&void 0!==c?c:"")}},fDb=function(a){a&1&&K(0,"b-user-display",30);a&2&&(a=P(2),G("model",a.event.userPerformingActionUser))},gDb=function(a){a&1&&Le(0)},hDb=function(a){a&1&&(L(0),H(1,"span",31),R(2,gDb,1,0,"ng-container",32),J(),H(3,"onedev-hovercard",null,33),K(5,"b-issue-person-card",34),J(),M());if(a&2){var b=Se(4);P();var c=Se(11);a=P();C(1);G("onedevHovercardTrigger",
b);C(1);G("ngTemplateOutlet",c);C(3);G("email",a.getUserEmailIfAvailable())}},iDb=function(a){a&1&&(H(0,"span",35),S(1),J());a&2&&(a=P(2),C(1),Te(" <",Qg(a.event.userPerformingActionUser),"> "))},jDb=function(a){if(a&1){var b=x();H(0,"span")(1,"a",36);O("click",function(c){z(b);var d=P(2);return A(d.scrollCommentIntoView(c,d.event.commentNumber))});S(2);J()()}a&2&&(a=P(2),C(1),G("routerLinkObj",a.getCommentNumberLink(a.event.commentNumber)),Ae("aria-label","Comment number"+a.event.commentNumber),
C(1),Te(" #",a.event.commentNumber,""))},lDb=function(a){if(a&1){var b=x();H(0,"button",37);O("click",function(){z(b);var c=P(2);return A(kDb(c.issueCommentDialogsService,c.issueId,c.deobfuscatedEvent||c.event))});J()}},mDb=function(a){a&1&&K(0,"b-restricted-chip",38);if(a&2){a=P(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)}},oDb=function(a){a&1&&(K(0,
"b-actions-menu",39,40),T(2,"async"));if(a&2){a=P(2);var b;G("buttonLabel","Comment actions")("menuItems",null!==(b=U(2,2,a.commentActionMenuItems$))&&void 0!==b?b:Ye(4,nDb))}},pDb=function(a){a&1&&(H(0,"div",41),K(1,"b-tagged-text",42),J());a&2&&(a=P(2),C(1),G("texts",a.event.taggedSummary))},qDb=function(a){a&1&&(K(0,"b-issue-event-details",43),T(1,"async"),T(2,"async"),T(3,"async"));if(a&2){a=P().ngIf;var b=P(),c,d;G("diffs",null!==(c=U(1,4,b.preEventDiffs$))&&void 0!==c?c:Ye(10,nDb))("customFieldMap",
a.customFieldMap)("effortSpecName",null==(d=U(2,6,b.effortSpec$))?null:d.name)("effortEnabled",!!U(3,8,b.isEffortEnabled$))}},rDb=function(a){a&1&&(H(0,"div",44),S(1," Comment has been deleted. "),J())},sDb=function(a){if(a&1){var b=x();H(0,"b-restricted-comment-placeholder",45);O("onConfirm",function(){z(b);var c=P(2);return A(c.loadRestrictedComment())});T(1,"async");J()}a&2&&(a=P(2),G("disabled",!U(1,1,a.mayReadPii$)))},tDb=function(a){a&1&&K(0,"b-note-container",46);a&2&&(a=P(2),G("issueId",a.issueId)("issueAccessLevel",
a.issueAccessLevel)("note",a.deobfuscatedEvent||a.event)("formattingMode",a.formattingMode))},uDb=function(a){if(a&1){var b=x();L(0);K(1,"b-summarized-note-container",46);H(2,"button",47);O("click",function(){z(b);var c=P(2);c.wasSummarized=!0;c.isSummarized=!c.isSummarized;return A()});K(3,"mat-icon",48);S(4,"Expand details");J();M()}a&2&&(a=P(2),C(1),G("issueId",a.issueId)("issueAccessLevel",a.issueAccessLevel)("note",a.deobfuscatedEvent||a.event)("formattingMode",a.formattingMode))},vDb=function(a){if(a&
1){var b=x();L(0);H(1,"button",47);O("click",function(){z(b);var c=P(2);c.wasSummarized=!0;c.isSummarized=!c.isSummarized;return A()});K(2,"mat-icon",49);S(3,"Collapse details");J();M()}},wDb=function(a){a&1&&K(0,"b-formatted-date-time",50);a&2&&(a=P(2),G("timestamp",a.event.modifiedDate))},xDb=function(a){a&1&&K(0,"mat-icon",58)},yDb=function(a){a&1&&K(0,"mat-icon",59)},zDb=function(a,b){a&1&&(H(0,"span"),S(1),J());a&2&&(a=b.ngIf,C(1),Ve(a))},ADb=function(a){a&1&&K(0,"b-comment-reaction-responders-card",
60);a&2&&(a=P(3),G("reactionState",null==a.event.commentReactions?null:a.event.commentReactions.get(a.ReactionType.UPVOTE))("issueId",a.issueId)("commentNumber",a.event.commentNumber))},FDb=function(a){if(a&1){var b=x();H(0,"div",51)(1,"button",52,53);O("click",function(){z(b);var d=P(2);return A(BDb(d))});T(3,"async");T(4,"async");T(5,"async");R(6,xDb,1,0,"mat-icon",54);R(7,yDb,1,0,"mat-icon",55);R(8,zDb,2,1,"span",0);T(9,"async");J();H(10,"onedev-hovercard",null,56);R(12,ADb,1,3,"b-comment-reaction-responders-card",
57);T(13,"async");J()()}if(a&2){var c=Se(11);a=P(2);C(1);G("ariaLabel",CDb(a,a.ReactionType.UPVOTE))("ngClass",Ze(20,DDb,U(3,10,a.noUpvoteReactions$)))("onedevHovercardTrigger",c)("onedevHovercardConfig",a.commentReactionsHovercardConfig)("onedevHovercardActive",!!U(5,14,a.showCommentReactionHovercard$));Ae("aria-disabled",!U(4,12,a.hasAclToUpvoteReact$)||a.commentReactionIsSaving);C(5);G("ngIf",!EDb(a,a.ReactionType.UPVOTE));C(1);G("ngIf",EDb(a,a.ReactionType.UPVOTE));C(1);G("ngIf",U(9,16,a.upvoteReactionCountDisplayString$));
C(4);G("ngIf",!U(13,18,a.noUpvoteReactions$))}},GDb=function(a){if(a&1){var b=x();H(0,"a",64);O("click",function(){z(b);var c=P(3);return A(c.showCommentHistoryDialog(c.event.commentNumber))});S(1," Show History ");J()}},HDb=function(a){a&1&&(H(0,"div",61),K(1,"b-comment-edit-timestamp-message",62),R(2,GDb,2,0,"a",63),J());a&2&&(a=P(2),C(1),G("event",a.event),C(1),G("ngIf",a.commentHistoryEnabled))},IDb=function(a){a&1&&(K(0,"b-issue-event-details",43),T(1,"async"),T(2,"async"),T(3,"async"));if(a&
2){a=P().ngIf;var b=P(),c,d;G("diffs",null!==(c=U(1,4,b.postEventDiffs$))&&void 0!==c?c:Ye(10,nDb))("customFieldMap",a.customFieldMap)("effortSpecName",null==(d=U(2,6,b.effortSpec$))?null:d.name)("effortEnabled",!!U(3,8,b.isEffortEnabled$))}},JDb=function(a,b){a&1&&(H(0,"div",67),K(1,"b-attachment-viewer",68),J());a&2&&(a=b.$implicit,b=P(3),Pe("id","attachment",a.attachmentId,""),C(1),G("issueId",b.issueId)("attachment",a)("attachmentUploader",b.getUserEmailIfAvailable()))},KDb=function(a){a&1&&(H(0,
"div",65),R(1,JDb,2,4,"div",66),J());a&2&&(a=P(2),C(1),G("ngForOf",a.event.attachments))},MDb=function(a){a&1&&(L(0),H(1,"div",1),K(2,"b-user-image",2),J(),H(3,"div",3)(4,"h4",4),T(5,"async"),R(6,eDb,2,5,"b-user-membership-chip",5),R(7,fDb,1,1,"ng-template",null,6,of),R(9,hDb,6,3,"ng-container",7),R(10,iDb,2,1,"ng-template",null,8,of),R(12,jDb,3,3,"span",0),R(13,lDb,1,0,"button",9),T(14,"async"),H(15,"span",10),R(16,mDb,1,3,"b-restricted-chip",11),K(17,"b-formatted-date-time",12),R(18,oDb,3,5,"b-actions-menu",
13),J()(),K(19,"div",14),R(20,pDb,2,1,"div",15),R(21,qDb,4,11,"b-issue-event-details",16),T(22,"async"),K(23,"div",14),H(24,"div",17)(25,"div",18),R(26,rDb,2,0,"div",19),R(27,sDb,2,3,"b-restricted-comment-placeholder",20),H(28,"div",21),R(29,tDb,1,4,"b-note-container",22),R(30,uDb,5,4,"ng-container",0),R(31,vDb,4,0,"ng-container",0),J(),H(32,"div",23)(33,"div",24),R(34,wDb,1,1,"b-formatted-date-time",25),T(35,"async"),J(),R(36,FDb,14,22,"div",26),J()(),R(37,HDb,3,2,"div",27),J(),R(38,IDb,4,11,"b-issue-event-details",
16),T(39,"async"),K(40,"div",14),R(41,KDb,2,1,"div",28),K(42,"div",14),J(),M());if(a&2){var b=Se(8),c=Se(11);a=P();C(2);G("email",a.getUserEmailIfAvailable());C(2);Ae("aria-label",U(5,23,a.ariaLabelHeading$));C(2);G("ngIf",a.enableTeamAnnotations&&a.getUserEmailIfAvailable())("ngIfElse",b);C(3);G("ngIf",a.isNonObfuscatedEmail(a.getUserEmailIfAvailable()))("ngIfElse",c);C(3);G("ngIf",a.isCommentEvent(a.event));C(1);G("ngIf",U(14,25,a.canEditComment$)&&!lp(a));C(3);G("ngIf",a.isRestricted());C(1);G("timestamp",
a.event.modifiedDate);C(1);G("ngIf",a.isCommentEvent(a.event));C(2);G("ngIf",a.event.taggedSummary&&a.event.taggedSummary.length);C(1);G("ngIf","FULL_HISTORY"===U(22,27,a.showFullHistoryFromFiltering$));C(5);G("ngIf",a.isDeleted());C(1);G("ngIf",lp(a)&&!a.isDeleted());C(2);G("ngIf",LDb(a)&&!lp(a)&&!a.isDeleted()&&!a.isSummarized);C(1);G("ngIf",LDb(a)&&!lp(a)&&!a.isDeleted()&&a.isSummarized);C(1);G("ngIf",a.wasSummarized&&!a.isSummarized);C(3);G("ngIf",U(35,29,a.isShowingCommentTimestamp$));C(2);var d,
e=a.ReactionType.UPVOTE,g,h=!a.issuePermissionService.hasAclToComment()&&0===(null==(d=a.event.commentReactions)?void 0:null==(g=d.get(e))?void 0:g.count);d=a.isInternalSession&&a.commentReactionsEnabled&&LDb(a)&&!a.isDeleted()&&!lp(a)&&!h;G("ngIf",d);C(1);G("ngIf",a.isCommentEvent(a.event)&&0<(a.event.commentVersion||0)&&!lp(a));C(1);G("ngIf","FULL_HISTORY"===U(39,31,a.showFullHistoryFromFiltering$));C(3);G("ngIf",null==a.event?null:null==a.event.attachments?null:a.event.attachments.length)}},NDb=
function(a){a&1&&(H(0,"aside",3),K(1,"b-spinner"),J())},ODb=function(a){a&1&&(L(0),S(1,"s"),M())},PDb=function(a){if(a&1){var b=x();L(0);H(1,"div",6)(2,"button",7);O("click",function(){z(b);var g=P().index,h=P(),l,q,v=null!=(q=null==(l=h.foldedCommentsCounts.get(g))?void 0:l.eventFoldedCount)?q:0;for(l=0;l<v&&((ik(h.internalEvents[g-l])||jk(h.internalEvents[g-l]))&&h.eventDisplayMode.set(g-l,"full"),0!==g-l);l++);h.foldedCommentsCounts.delete(g);return A()});S(3);R(4,ODb,2,0,"ng-container",4);J();
K(5,"div",8);J();M()}if(a&2){a=P().index;var c=P(),d,e;C(3);Te(" ",null==(d=c.foldedCommentsCounts.get(a))?null:d.commentFoldedCount," update");C(1);G("ngIf",1<(null!==(e=null==(e=c.foldedCommentsCounts.get(a))?null:e.commentFoldedCount)&&void 0!==e?e:1))}},QDb=function(a){a&1&&(H(0,"div",9),K(1,"b-history-event",10),J());if(a&2){var b=P();a=b.$implicit;b=b.index;var c=P();C(1);G("issueId",c.internalIssueId)("issueAccessLevel",c.issueAccessLevel)("event",a)("isSummarized",c.eventDisplayMode.get(b)===
c.eventDisplayModes.SUMMARIZED)}},SDb=function(a,b){a&1&&(L(0),R(1,PDb,6,2,"ng-container",4),R(2,QDb,2,4,"div",5),M());if(a&2){a=b.$implicit;b=b.index;var c=P(),d;C(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));C(1);if(d=c.internalIssueId)if(c.enableCommentFiltering)d=RDb(c.eventDisplayMode.get(b));else{var e,g;d=(c.showFullHistory||a.isMajorEvent)&&(ik(a)&&!!a.unlinkifiedComment||
jk(a)||0<(null==(e=a.preDiffs)?void 0:e.length)||0<(null==(g=a.postDiffs)?void 0:g.length))}G("ngIf",d)}},TDb=function(a){a&1&&(H(0,"aside",3),K(1,"b-spinner"),J())},UDb=function(a){if(a&1){var b=x();H(0,"div",12)(1,"b-recaptcha",13);O("onUpdate",function(c){z(b);var d=P(4);return A(d.recaptchaResponse$.next(c))});J()()}},WDb=function(a){if(a&1){var b=x();H(0,"span")(1,"mat-checkbox",14);O("change",function(){z(b);var c=P(4);return A(VDb(c))});T(2,"async");T(3,"async");S(4," CC Me ");J()()}a&2&&(a=
P(4),C(1),G("checked",!!U(2,2,a.autoCcOnComment$))("disabled",!!U(3,4,a.isCurrentUserCCd$)))},XDb=function(a){a&1&&(H(0,"mat-checkbox",17),S(1," CC Me "),J());a&2&&G("checked",!0)("disabled",!0)},YDb=function(a){a&1&&(H(0,"span",15),R(1,XDb,2,2,"mat-checkbox",16),T(2,"async"),J());a&2&&(a=P(4),C(1),G("ngIf",U(2,1,a.isCurrentUserCCd$)))},ZDb=function(a){if(a&1){var b=x();H(0,"b-markdown-toggle",18);O("change",function(c){z(b);var d=P().ngIf;return A(d.formattingMode=c)});J()}a&2&&(a=P().ngIf,G("initialValue",
a.formattingMode))},aEb=function(a,b){if(a&1){var c=x();L(0);H(1,"b-comment-box",3,4);O("onHotkey",function(){z(c);var l=Se(2);return A($Db(l,"editpage-hotkey"))})("onChange",function(){z(c);var l=P(3);return A(l.saveCommentDraft())})("onFocusEvent",function(){z(c);var l=P(3);return A(l.wasFocused=!0)})("onSubmit",function(){z(c);var l=P(3);return A(l.submitCommentBox())})("onRestrict",function(){z(c);var l=P(3);return A(l.showNewContentJudgementDialog())})("onPlusOneTextEntered",function(l){z(c);
var q=P(3);q.commentButtonStyle=q.isPlusOneCalloutEnabled()&&l?"hairline":"fill";return A()});T(3,"async");T(4,"async");T(5,"async");T(6,"async");R(7,UDb,2,0,"div",5);T(8,"async");H(9,"div",6)(10,"b-button",7);O("onAction",function(){z(c);var l=P(3);return A(l.submitCommentBox())})("click",function(){z(c);var l=P(3);return A(l.submitCommentBox())});T(11,"async");S(12," Comment ");J();H(13,"div",8);R(14,WDb,5,6,"span",0);T(15,"async");T(16,"async");R(17,YDb,3,3,"span",9);T(18,"async");T(19,"async");
R(20,ZDb,1,1,"b-markdown-toggle",10);T(21,"async");J();K(22,"b-access-level-indicator",11);T(23,"async");J()();M()}if(a&2){a=b.ngIf;b=P(2).ngIf;var d=P(),e,g,h;C(1);G("hotkey",d.HOTKEYS.FOCUS_COMMENT_BOX)("supportsPreview",!0)("issueId",b.issueId)("comment",a)("componentId",b.componentId)("placeholder",null!==(e=U(3,17,d.commentPlaceholderText$))&&void 0!==e?e:void 0)("judgementForNewContent",null!==(g=U(4,19,d.judgementForNewContent$))&&void 0!==g?g:void 0)("audience",null!==(h=U(5,21,d.audience$))&&
void 0!==h?h:void 0)("disabled",!1===U(6,23,d.commentBoxEnabled$))("isPlusOneCalloutEnabled",d.isPlusOneCalloutEnabled());C(6);G("ngIf",U(8,25,d.showRecaptcha$));C(3);G("format",d.commentButtonStyle)("disabled",!1===U(11,27,d.commentButtonEnabled$));C(4);G("ngIf",!U(15,29,d.isCurrentUserCCd$)&&U(16,31,d.hasAclToEdit$));C(3);G("ngIf",U(18,33,d.isCurrentUserCCd$)||!U(19,35,d.hasAclToEdit$));C(3);G("ngIf",U(21,37,d.hasAclToComment$));C(2);G("accessLevel",U(23,39,d.accessLevel$))}},cEb=function(a){a&
1&&(L(0),H(1,"h3",1),S(2,"Add comment"),J(),H(3,"div",2),T(4,"async"),R(5,aEb,24,41,"ng-container",0),T(6,"async"),J(),M());a&2&&(a=P(2),C(3),G("ngClass",$e(6,bEb,U(4,2,a.empty$),!a.wasFocused)),C(2),G("ngIf",U(6,4,a.comment$)))},dEb=function(a,b){a&1&&(L(0),R(1,cEb,7,9,"ng-container",0),M());a&2&&(a=b.ngIf,C(1),G("ngIf",!a.isDeleted))},eEb=function(a,b){a&1&&(K(0,"b-note-container",25),T(1,"async"));if(a&2){a=b.ngIf;b=P().ngIf;var c=P();G("issueId",b)("issueAccessLevel",U(1,4,c.canonicalAccessLevel$))("formattingMode",
a.formattingMode)("note",a)}},fEb=function(a,b){a&1&&(H(0,"div",26),S(1),J());a&2&&(a=b.ngIf,b=P(2),Je("chippy status-",a,""),G("title",b.STATUS_FULL_TEXT[a]),C(1),Te(" ",b.STATUS_TERSE[a]," "))},gEb=function(a,b){a&1&&(L(0),K(1,"span",27),H(2,"span",28),S(3),J(),M());a&2&&(a=b.ngIf,C(3),We(" ",a.length," duplicate",1===a.length?"":"s"," "))},hEb=function(a,b){a&1&&(L(0),K(1,"span",27),H(2,"div",29)(3,"span",30),S(4),J(),K(5,"mat-icon",31),J(),M());a&2&&(a=b.ngIf,C(2),Pe("matTooltip","",a.voteCount,
" votes on this issue"),C(2),Ve(9999<a.voteCount?"9999+":a.voteCount))},iEb=function(a,b){a&1&&(L(0),K(1,"span",27),H(2,"div",32)(3,"span",30),S(4),J(),K(5,"mat-icon",33),J(),M());a&2&&(a=b.ngIf,C(2),Pe("matTooltip","",a.length," comments on this issue"),C(2),Ve(a.length))},jEb=function(a,b){a&1&&(L(0),K(1,"span",27)(2,"b-formatted-date-time",34),M());a&2&&(a=b.ngIf,C(2),G("timestamp",a/1E3))},kEb=function(a,b){if(a&1){var c=x();H(0,"button",35);O("click",function(){var d=z(c).$implicit;P();var e=
Se(31);P().reject(d);var g;null==(g=e.trigger)||g.close();return A()});H(1,"span");S(2);J()()}a&2&&(a=b.$implicit,b=P(2),C(2),Ve(b.REJECT_REASON_TO_DISPLAY[a]))},mEb=function(a,b){if(a&1){var c=x();H(0,"div",5)(1,"div",6)(2,"a",7)(3,"span",8);S(4);T(5,"async");J();K(6,"mat-icon",9);J();R(7,eEb,2,6,"b-note-container",10);T(8,"async");H(9,"div",11);K(10,"b-issue-id-picker",12);T(11,"async");T(12,"async");T(13,"async");K(14,"b-issue-priority-display",13);T(15,"async");R(16,fEb,2,5,"div",14);T(17,"async");
R(18,gEb,4,2,"ng-container",15);T(19,"async");R(20,hEb,6,2,"ng-container",15);T(21,"async");R(22,iEb,6,2,"ng-container",15);T(23,"async");R(24,jEb,3,1,"ng-container",15);T(25,"async");J()();H(26,"div",16)(27,"button",17);O("click",function(){z(c);var d=P();return A(d.accept())});K(28,"mat-icon",18);S(29," Accept ");J();H(30,"split-button",19,20)(32,"button",21);O("click",function(){z(c);var d=P();return A(d.reject())});K(33,"mat-icon",22);S(34," Reject ");J();H(35,"div",23);R(36,kEb,3,1,"button",
24);J()()()()}a&2&&(a=b.ngIf,b=P(),C(2),G("href",b.getIssueLink(a),vd),C(2),Ve(U(5,18,b.canonicalTitle$)),C(3),G("ngIf",U(8,20,b.canonicalDescription$)),C(3),G("issueId",a)("enableHotkeys",!1)("componentId",U(11,22,b.canonicalComponentId$))("issueTitle",U(12,24,b.canonicalTitle$))("isExternalIssue",!!U(13,26,b.isCanonicalInExternalComponent$)),C(4),G("issuePriority",U(15,28,b.canonicalPriority$)),C(2),G("ngIf",U(17,30,b.statusForChip$)),C(2),G("ngIf",U(19,32,b.canonicalDuplicates$)),C(2),G("ngIf",
Ze(40,lEb,U(21,34,b.canonicalVoteCount$)||0)),C(2),G("ngIf",U(23,36,b.canonicalComments$)),C(2),G("ngIf",U(25,38,b.canonicalCreateMicros$)),C(3),G("disabled",b.isSaving),C(3),G("disabled",b.isSaving),C(2),G("disabled",b.isSaving),C(4),G("ngForOf",b.REJECT_REASONS))},nEb=function(a){a&1&&(K(0,"canonical-recommendation",8,9),T(2,"async"));if(a&2){var b=Se(1);a=P().$implicit;Ie("hidden",!U(2,3,b.show$));G("currentIssueId",a)}},oEb=function(a,b){a&1&&(L(0),K(1,"issue-description-area",4),R(2,nEb,3,5,
"canonical-recommendation",5),T(3,"async"),K(4,"status-update",6)(5,"b-issue-description",7),M());a&2&&(a=b.$implicit,b=P(),C(1),G("id",a),C(1),G("ngIf",b.enableIDPCanonicalRecommendation&&U(3,4,b.issuePermissionService.hasAclToEdit$)),C(2),G("issueId",a),C(1),G("id",a))},pEb=function(a,b){a&1&&(K(0,"issue-summary-card",10,11),T(2,"async"));if(a&2){a=b.$implicit;var c=Se(1);Ie("hidden",!U(2,3,c.shouldShowSummaryCard$));G("issueId",a)}},qEb=function(a){a&1&&K(0,"issue-event-list",14);a&2&&(a=P().$implicit,
G("id",a))},rEb=function(a){a&1&&K(0,"issue-event-list",14);a&2&&(a=P().$implicit,G("id",a))},sEb=function(a,b){a&1&&(H(0,"div",12),K(1,"b-event-stream-header"),R(2,qEb,1,1,"issue-event-list",13),K(3,"b-post-comment",6),R(4,rEb,1,1,"issue-event-list",13),J());a&2&&(a=b.$implicit,b=P(),Ie("recent-first",b.showRecentEventsFirst),C(2),G("ngIf",!b.showRecentEventsFirst),C(1),G("issueId",a),C(1),G("ngIf",b.showRecentEventsFirst))},tEb=function(a){a&1&&(H(0,"section")(1,"h4"),K(2,"mat-icon",2),S(3),J(),
K(4,"inline-images-summary",3)(5,"br")(6,"hr",4),J());if(a&2){a=P(2).ngIf;var b=P().ngIf;C(3);Te(" Screenshots (",a.length,") ");C(1);G("issueId",b.issueId)("imageLinks",a)("paginate",!0)}},uEb=function(a){a&1&&(L(0),R(1,tEb,7,4,"section",1),M());a&2&&(a=P().ngIf,C(1),G("ngIf",a.length))},vEb=function(a){a&1&&(L(0),R(1,uEb,2,1,"ng-container",1),M());a&2&&(a=P(2),C(1),G("ngIf",a.isInternalSession))},wEb=function(a){a&1&&(H(0,"section")(1,"h4"),K(2,"mat-icon",5),S(3),J(),K(4,"b-mentioned-issues",6)(5,
"br")(6,"hr",4),J());if(a&2){a=P().ngIf;var b=P().ngIf;C(3);Te(" Mentioned issues (",a.length,") ");C(1);G("issueReferences",a)("currentIssueId",b.issueId)("paginate",!0)}},xEb=function(a,b){a&1&&(L(0),R(1,wEb,7,4,"section",1),M());a&2&&(a=b.ngIf,C(1),G("ngIf",a.length))},yEb=function(a){a&1&&(H(0,"section")(1,"h4"),K(2,"mat-icon",7),S(3),J(),K(4,"related-links-widget",8),J());if(a&2){a=P().ngIf;var b=P().ngIf;C(3);Te(" Links (",a.length,") ");C(1);G("links",a)("issueId",b.issueId)("paginate",!0)}},
zEb=function(a,b){a&1&&(L(0),R(1,yEb,5,4,"section",1),M());a&2&&(a=b.ngIf,C(1),G("ngIf",a.length))},AEb=function(a){a&1&&(L(0),R(1,vEb,2,1,"ng-container",1),T(2,"async"),R(3,xEb,2,1,"ng-container",1),T(4,"async"),R(5,zEb,2,1,"ng-container",1),T(6,"async"),M());a&2&&(a=P(),C(1),G("ngIf",U(2,3,a.imageLinks$)),C(2),G("ngIf",U(4,5,a.issueReferences$)),C(2),G("ngIf",U(6,7,a.otherLinks$)))},BEb=function(a){a&1&&(H(0,"div",4),K(1,"img",5),H(2,"p",6),S(3," This issue has no TODOs "),J(),H(4,"p",7),S(5," Buganizer uses a separate service to look for TODOs in the codebase. It didn't find any. "),
H(6,"a",8),S(7,"Learn more"),J()()());a&2&&(a=P(3),C(1),G("src",a.ROBOT_SLEEPING,vd))},CEb=function(a,b){a&1&&K(0,"b-package-mentions-listing",12);if(a&2){a=b.$implicit;b=P(3).ngIf;var c=P().ngIf,d=P();G("issueId",c)("packageMentionSet",a)("displayPackageName",d.displayPackageNames(b))}},DEb=function(a){if(a&1){var b=x();L(0);R(1,CEb,1,3,"b-package-mentions-listing",9);H(2,"p",10)(3,"a",11);O("click",function(){z(b);var c=P(4);return A(c.trackSqueegeeClick())});S(4,"View in Squeegee");J()();M()}a&
2&&(a=P(2).ngIf,C(1),G("ngForOf",a.mentions.packageMentionSet),C(2),G("href",a.link,vd))},EEb=function(a){a&1&&R(0,DEb,5,2,"ng-container",1);a&2&&(a=P().ngIf,G("ngIf",a.mentions))},FEb=function(a,b){a&1&&(L(0),R(1,BEb,8,1,"div",2),R(2,EEb,1,1,"ng-template",null,3,of),M());if(a&2){a=b.ngIf;var c=Se(3);P(2);C(1);G("ngIf",!(a.mentions&&0<a.mentions.totalMentions))("ngIfElse",c)}},GEb=function(a){a&1&&(L(0),R(1,FEb,4,2,"ng-container",1),T(2,"async"),M());a&2&&(a=P(),C(1),G("ngIf",U(2,1,a.codeMentionsState$)))},
HEb=function(a){a&1&&K(0,"b-spinner",6);a&2&&G("large",!0)},IEb=function(a){a&1&&K(0,"b-hotlist-grid",7);a&2&&(a=P(),G("hotlists",a.hotlists))},JEb=function(a){a&1&&(H(0,"div",9),K(1,"b-spinner"),H(2,"span"),S(3),J()());a&2&&(a=P(),C(3),Te(" Searching",a.query?" for "+a.query:"","..."))},KEb=function(a){a&1&&(L(0),S(1," No issues match your search. "),M())},LEb=function(a){a&1&&S(0," Use search box to find issues. ")},NEb=function(a){a&1&&(H(0,"a",16),S(1," Click to see all open issues"),J());a&2&&
G("queryParams",Ye(1,MEb))},OEb=function(a){a&1&&(H(0,"a",17),S(1,"Learn more about searching"),J())},PEb=function(a){a&1&&(H(0,"div",10),K(1,"img",11),R(2,KEb,2,0,"ng-container",12),R(3,LEb,1,0,"ng-template",null,13,of),R(5,NEb,2,2,"a",14),T(6,"async"),R(7,OEb,2,0,"ng-template",null,15,of),J());if(a&2){var b=Se(4),c=Se(8);a=P();var d;G("bFocus",!0);C(1);G("src",a.SPACE_EMPTY_STATE,vd);C(1);G("ngIf",a.query)("ngIfElse",b);C(3);G("ngIf",null!==(d=U(6,6,a.currentTracker.inTracker$))&&void 0!==d?d:!1)("ngIfElse",
c)}},REb=function(a){if(a&1){var b=x();H(0,"div",18)(1,"b-issues-grid",19);O("init",function(c){z(b);var d=P();return A(d.resultsGrid=c)})("columnsChange",function(c){z(b);var d=P();return A(d.issueColumns=c)})("columnsChange",function(){z(b);P();QEb();return A()})("sortChange",function(c){z(b);var d=P();return A(d.setSort(c.field,c.direction))})("rowClick",function(c){z(b);var d=P();return A(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",function(){z(b);var c=P();return A(mp(c,c.page,1))})("onPrevPage",
function(){z(b);var c=P();return A(mp(c,c.page,-1))});J()()}a&2&&(a=P(),C(1),G("searchResults",a.searchResults)("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns)("enableColumnSaving",!!a.isColumnSaveEnabled)("sort",a.getSort()))},SEb=function(a){a&1&&(H(0,"div",9),K(1,"b-spinner"),S(2," Loading recent issues... "),J())},TEb=function(a){a&1&&(H(0,"div",10),S(1," No recent issues found. "),J())},UEb=function(a){if(a&1){var b=x();H(0,"div",11)(1,"b-issues-grid",12);O("init",function(c){z(b);
var d=P();return A(d.resultsGrid=c)})("columnsChange",function(c){z(b);var d=P();return A(d.issueColumns=c)})("sortChange",function(c){z(b);var d=P();return A(d.setSort(c.field,c.direction))})("rowClick",function(c){z(b);var d=P();return A(d.goToIssue(c.id,c.isRead,c.event))})("onNextPage",function(){z(b);var c=P(),d;return A(c.goToPage((null!==(d=c.page)&&void 0!==d?d:0)+1))})("onPrevPage",function(){z(b);var c=P(),d;return A(c.goToPage((null!==(d=c.page)&&void 0!==d?d:0)-1))});J()()}a&2&&(a=P(),
C(1),G("searchResults",a.searchResults)("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns)("enableColumnSaving",!!a.isColumnSaveEnabled)("sort",a.getSort()))},VEb=function(a,b){return b.map(function(c){var d=a.indexOf(String(c.id));return[a.length-d,c]}).sort(function(c,d){var e=k(c);c=e.next().value;e.next();d=k(d);e=d.next().value;d.next();return c-e}).map(function(c){c=k(c);c.next();return c.next().value})},WEb=function(a){a&1&&(H(0,"div",6)(1,"h2"),S(2,"Manage SLOs"),J(),H(3,"p",7),
S(4,"You have admin rights for all SLOs listed below."),J()())},XEb=function(a){a&1&&K(0,"b-spinner",8);a&2&&G("large",!0)},YEb=function(a){a&1&&(H(0,"div",11),S(1,"You have no Active SLOs"),J())},ZEb=function(a){a&1&&K(0,"b-slo-grid",12);a&2&&(a=P(2),G("slos",a.activeSlos))},$Eb=function(a){a&1&&(L(0),R(1,YEb,2,0,"div",9),R(2,ZEb,1,1,"b-slo-grid",10),M());a&2&&(a=P(),C(1),G("ngIf",!a.activeSlos.length),C(1),G("ngIf",a.activeSlos.length))},aFb=function(a){a&1&&(H(0,"p",19),S(1," You have no archived SLOs. "),
J())},bFb=function(a){a&1&&K(0,"b-slo-grid",12);a&2&&(a=P(3),G("slos",a.archivedSlos))},cFb=function(a){a&1&&(H(0,"div",17),R(1,aFb,2,0,"p",18),R(2,bFb,1,1,"b-slo-grid",10),J());a&2&&(a=P(2),C(1),G("ngIf",!a.archivedSlos.length),C(1),G("ngIf",a.archivedSlos.length))},dFb=function(a){if(a&1){var b=x();L(0);H(1,"button",13);O("click",function(){z(b);var c=P();c.areArchivedSlosExpanded=!c.areArchivedSlosExpanded;return A()});H(2,"h4",14);K(3,"mat-icon",15);S(4);J()();R(5,cFb,3,2,"div",16);M()}a&2&&(a=
P(),C(3),Ie("rotate-180",a.areArchivedSlosExpanded),G("svgIcon","arrow-dropdown"),C(1),Te(" Archived SLOs (",a.archivedSlos.length,") "),C(1),G("ngIf",a.areArchivedSlosExpanded))},eFb=function(a){a&1&&(L(0),H(1,"p"),S(2,"Team inheritance path:"),J(),K(3,"b-team-breadcrumb",1),M());a&2&&(a=P(),C(3),G("teamPath",a.teamPath))},fFb=function(a){a&1&&(L(0),H(1,"p"),S(2,"Component inheritance path:"),J(),K(3,"b-component-breadcrumb",2),M());a&2&&(a=P(),C(3),G("componentPathInfo",a.componentPath))},gFb=function(a){var b=
{};a=k(a.groupMetadata);for(var c=a.next();!c.done;c=a.next())c=c.value,b[c.groupEmail]=c;return b},jFb=function(a){return{approximateSize:Wh(a,2),groupEmail:mh(a,1),sizeCategory:hFb[Fh(a,3,0)],permissionCategory:iFb[Fh(a,5,0)]}},kFb=function(a){var b;return{groupMetadata:(null!=(b=yg(a,np,1))?b:[]).map(jFb)}},mFb=function(a,b){var c=[];if(!b||!a)return c;for(var d=k(lFb),e=d.next();!e.done;e=d.next()){e=e.value;var g=Kg(e.accessor(b)||[],e.accessor(a)||[]);g.length&&c.push({field:e.field,addedPrincipals:g})}return c},
oFb=function(a,b){if(!a.appenders||!b||Fg(b.appenders,a.appenders))return!1;a=k(a.appenders||[]);for(var c=a.next();!c.done;c=a.next())if(c=c.value,nFb.has(c)&&!b.appenders.includes(c))return!0;return!1},pFb=function(a){var b=new Map;a=k(a);for(var c=a.next();!c.done;c=a.next())switch(c=c.value,c.sizeCategory){case "LARGE":case "HUGE":case "ENORMOUS":b.set(c.groupEmail,c)}return b},qFb=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"},rFb=function(a){if(0===a.size)return op;for(var b=1===a.size?Al("P",{},"The following large group is added: "):Al("P",{},"The following large groups are added: "),c=[],d=k(a.keys()),e=d.next();!e.done;e=d.next()){e=e.value;var g=a.get(e).approximateSize;c.push(Al("P",{},Bl(Al("B",{},e)," has approximately ",Al("B",{},g)," Googlers.")))}return Bl(b,c)},sFb=function(a){if(0===
a.size)return op;var b=1===a.size?Al("P",{},"The following open group is added: "):Al("P",{},"The following open groups are added: "),c=[];a=k(a.keys());for(var d=a.next();!d.done;d=a.next())c.push(Al("P",{},Al("B",{},d.value)));return Bl(b,c)},tFb=function(a){var b=new Map;a=k(a);for(var c=a.next();!c.done;c=a.next())c=c.value,"OPEN_TO_JOIN"===c.permissionCategory&&b.set(c.groupEmail,c);return b},uFb=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},
vFb=function(a,b,c){a="USER:"+a;b=b.admins.concat(b.inheritedAdmins);var d=c.admins.concat(c.inheritedAdmins);c=b.filter(function(g){return!d.includes(g)});b=c.filter(function(g){return g.startsWith("GROUP:")});var e=c.filter(function(g){return g.startsWith("USER:")});return d.includes(a)||0===c.length?!1:e.includes(a)?!0:b.length?!0:!1},pp=function(a){var b=a.split(":");a=b[0];return"ALIAS"===a?(b=b[1],{value:b,displayText:Csa(b),principalType:a,detailedUserType:null}):{value:b[1],displayText:b[1],
principalType:a,detailedUserType:null}},wFb=function(a,b){a&1&&K(0,"b-contact-chip",6);a&2&&(a=b.$implicit,b=P(2),G("value",a.value)("detailedUserType",a.detailedUserType)("principalType",a.principalType)("accessLevel",b.accessLevel)("displayText",a.displayText))},xFb=function(a,b){a&1&&(L(0),H(1,"tr",3)(2,"th",4),S(3),J(),H(4,"td"),R(5,wFb,1,5,"b-contact-chip",5),J()(),M());a&2&&(a=b.$implicit,C(3),Ve(a.permission),C(2),G("ngForOf",a.principals))},BFb=function(a){var b="minimal";b=void 0===b?"expanded":
b;a=yFb(a);a=zCa(a,function(c){c=zFb(c);return AFb(c,b)});return yFb(a)},DFb=function(a){a=yFb(a);a=zCa(a,function(b){b=CFb(b);return zFb(b)});return yFb(a)},AFb=function(a,b){var c="expanded"===b?EFb:FFb;return new Set([].concat(Jc(a)).flatMap(function(d){return[].concat(Jc(c.get(d)))}))},CFb=function(a){return new Set(GFb.filter(function(b){return csa(a,FFb.get(b))}))},zFb=function(a){a=AFb(a,"expanded");var b=CFb(a);return new Set([].concat(Jc(b)).filter(function(c){return[].concat(Jc(HFb.get(c))).every(function(d){return!b.has(d)})}))},
yFb=function(a){var b=new Map;a=k(a.entries());for(var c=a.next();!c.done;c=a.next()){var d=k(c.value);c=d.next().value;d=d.next().value;d=k(d);for(var e=d.next();!e.done;e=d.next()){e=e.value;var g=void 0;b.set(e,(null!=(g=b.get(e))?g:new Set).add(c))}}return b},JFb=function(){function a(g,h){c.has(g)||c.set(g,new Set);var l=c.get(g);l.add(h);var q;h=k(null!=(q=b.get(h))?q:[]);for(q=h.next();!q.done;q=h.next())q=q.value,l.has(q)||a(g,q)}var b=IFb,c=new Map,d=[].concat(Jc(b.values())).flatMap(function(g){return[].concat(Jc(g))});
d=k(new Set([].concat(Jc(b.keys()),Jc(d))));for(var e=d.next();!e.done;e=d.next())e=e.value,a(e,e);return c},KFb=function(a){var b=BFb(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(Jc(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")}}},LFb=function(a){var b=a.componentAccessPolicy;a=a.issueAccessPolicy;return gk([].concat(Jc(b?[].concat(Jc(b.inheritedAdmins||[]),Jc(b.admins||[]),Jc(b.appenders||[])):[]),Jc(a?[].concat(Jc(a.admins||[]),Jc(a.editors||[]),Jc(a.appenders||[]),Jc(a.readers||[]),Jc(a.restrictedReaders||[]),Jc(a.restrictedPlusReaders||[])):[]))).sort()},NFb=function(a){function b(e){var g;return[].concat(Jc(null!=(g=d.get(e))?
g:[])).sort()}if(!a)return MFb;var c=a.issueAccessPolicy;a=a.componentAccessPolicy;var d=DFb(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}},OFb=function(a,b){var c;(c=!b)||(c=!(!Fg([].concat(Jc(b.admins)).sort(),[].concat(Jc(a.admins)).sort())||
!Fg([].concat(Jc(b.appenders)).sort(),[].concat(Jc(a.appenders)).sort())||!Fg(b.implicitAccess,a.implicitAccess)));return!c},PFb=function(a,b){return b&&a?!Fg([].concat(Jc(a.admins)).sort(),[].concat(Jc(b.admins)).sort())||!Fg([].concat(Jc(a.editors)).sort(),[].concat(Jc(b.editors)).sort())||!Fg([].concat(Jc(a.appenders)).sort(),[].concat(Jc(b.appenders)).sort())||!Fg([].concat(Jc(a.readers)).sort(),[].concat(Jc(b.readers)).sort())||!Fg([].concat(Jc(a.restrictedReaders)).sort(),[].concat(Jc(b.restrictedReaders)).sort())||
!Fg([].concat(Jc(a.restrictedPlusReaders)).sort(),[].concat(Jc(b.restrictedPlusReaders)).sort()):!1},QFb=function(a,b){var c=Object.keys(a);c=k(c);for(var d=c.next();!d.done;d=c.next())if(d=d.value,!Pwa(a[d],b[d]))return!0;return!1},RFb=function(a){if(a&1){var b=x();H(0,"input",17);O("ngModelChange",function(c){z(b);var d=P(2);return A(d.rolesEditor.component.accessLimit.accessLevel=c)});J()}a&2&&(a=P(2),G("disabled",!a.rolesEditor.isAdmin)("ngModel",a.rolesEditor.component.accessLimit.accessLevel))},
SFb=function(a){if(a&1){var b=x();H(0,"input",18);O("ngModelChange",function(c){z(b);var d=P(2);return A(d.rolesEditor.component.accessLimit.accessLevel=c)});J()}a&2&&(a=P(2),G("disabled",!a.rolesEditor.isAdmin||!a.isParentPartner())("ngModel",a.rolesEditor.component.accessLimit.accessLevel))},TFb=function(a){if(a&1){var b=x();H(0,"input",19);O("ngModelChange",function(c){z(b);var d=P(2);return A(d.rolesEditor.component.accessLimit.accessLevel=c)});J()}a&2&&(a=P(2),G("disabled",!a.rolesEditor.isAdmin||
!a.isParentPublic())("ngModel",a.rolesEditor.component.accessLimit.accessLevel))},UFb=function(a){a&1&&(H(0,"div",3)(1,"div",4)(2,"span",5),S(3,"Component visibility: "),J()(),H(4,"div",6)(5,"div",7),R(6,RFb,1,2,"input",8),H(7,"label",9),S(8),J()(),H(9,"div",7),R(10,SFb,1,2,"input",10),H(11,"label",11),S(12),J()(),H(13,"div",12),R(14,TFb,1,2,"input",13),H(15,"label",14),S(16),J()()(),H(17,"p",15)(18,"a",16),S(19," Learn more "),J()()());a&2&&(a=P(),C(6),G("ngIf",a.rolesEditor.component&&a.rolesEditor.component.accessLimit),
C(2),Te(" ",i9a(a.AccessLevelStrings.INTERNAL)," "),C(2),G("ngIf",a.rolesEditor.component&&a.rolesEditor.component.accessLimit),C(2),Te(" ",i9a(a.AccessLevelStrings.EXTERNAL_PARTNER)," "),C(2),G("ngIf",a.rolesEditor.component&&a.rolesEditor.component.accessLimit),C(2),Te(" ",i9a(a.AccessLevelStrings.EXTERNAL_PUBLIC)," "),C(2),a=a.documentationLinks,a=a.session.isExternalSession()?a.baseDocumentationUrl+"/concepts/external-access":"http://go/buganizer-external-access",G("href",a,vd))},ZFb=function(a,
b){if(a&1){var c=x();L(0);H(1,"tr")(2,"td")(3,"div",2)(4,"div",3)(5,"label",4);S(6);J();H(7,"button",5);K(8,"mat-icon",6);J()();H(9,"b-multi-user-input",7);O("usersChange",function(e){var g=z(c).$implicit,h=P();return A(h.updateRolesMap(g.roleType,e))})("isValid",function(e){var g=z(c).$implicit,h=P();h.aclFormValidity.set(g.roleType,e);e=[].concat(Jc(h.aclFormValidity.values())).every(Boolean);h.formIsValid.emit(e);return A()});J()()();H(10,"td");K(11,"b-icon",8);J();H(12,"td");K(13,"b-icon",8);
J();H(14,"td");K(15,"b-icon",8);J();H(16,"td");K(17,"b-icon",8);J();H(18,"td");K(19,"b-icon",8);J();H(20,"td");K(21,"b-icon",8);J();H(22,"td");K(23,"b-icon",8);J();H(24,"td");K(25,"b-icon",8);J()();M()}if(a&2){a=b.$implicit;b=P();var d;C(3);Ie("bv2-edit-resource-readonly",b.canEdit);C(2);G("htmlFor",a.roleType);C(1);Ve(a.label);C(1);G("matTooltip",a.tooltip);C(2);G("idForInputBox",a.roleType)("users",a.users)("ariaLabel",a.ariaLabel)("accessLevel",b.accessLevel)("customValidators",null!==(d=a.customValidators)&&
void 0!==d?d:Ye(22,VFb))("includeAliases",a.includeAliases)("includeViewAliases",a.includeViewAliases)("containerChips",(null==a.chips?0:a.chips.values)&&0<a.chips.values.length?Ze(26,WFb,$e(23,XFb,a.chips.displayText,a.chips.values)):Ye(28,YFb));Ae("disabled",b.canEdit?null:!0);C(2);G("name",b.getIconName(a,"componentAdmin"));C(2);G("name",b.getIconName(a,"createIssues"));C(2);G("name",b.getIconName(a,"issueAdmin"));C(2);G("name",b.getIconName(a,"issueEditor"));C(2);G("name",b.getIconName(a,"issueCommenter"));
C(2);G("name",b.getIconName(a,"issueReader"));C(2);G("name",b.getIconName(a,"restrictedReader"));C(2);G("name",b.getIconName(a,"restrictedPlusReader"))}},$Fb=function(a){a&1&&(H(0,"div",1)(1,"p"),S(2," Your component is only using advanced roles. Simplify your component\u2019s role assignment by moving some users to standard roles. "),H(3,"a",2),S(4,"Learn more"),J()()());a&2&&(a=P(),C(3),Pe("href","",Xl(a.documentationLinks),"#role-based-permissions",vd))},aGb=function(a){a&1&&(H(0,"div",2),K(1,
"b-spinner"),J())},cGb=function(a){if(a&1){var b=x();H(0,"div")(1,"div",3)(2,"mat-tab-group")(3,"mat-tab",4)(4,"roles-view",5);O("saveRolesMap",function(c){z(b);var d=P();bGb(d.rolesEditor,c);return A()});J()();H(5,"mat-tab",6);K(6,"permissions-view",7);J()()()()}a&2&&(a=P(),C(4),G("rolesMap",a.rolesEditor.rolesMap)("isSaving",a.isSaving())("component",a.rolesEditor.component)("rolesEditor",a.rolesEditor),C(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))},eGb=function(a){if(a&1){var b=x();H(0,"b-button",14,15);O("onAction",function(){z(b);var c=P(3);return A(dGb(c))});S(2);J()}a&2&&(a=P(3),G("disabled",a.isSaving()),C(2),Te(" ",a.archiveAction," Component "))},fGb=function(a){if(a&1){var b=x();H(0,"b-button",16);O("onAction",function(){z(b);var c=P(3);return A(c.createIssue())});
S(1," Create Issue ");J()}a&2&&(a=P(3),G("tooltip",a.isArchived()?"Cannot create issue in archived component":"")("disabled",a.isArchived()))},gGb=function(a){a&1&&(L(0),H(1,"a",11),S(2," Browse Components "),J(),R(3,eGb,3,2,"b-button",12),R(4,fGb,2,2,"b-button",13),M());a&2&&(a=P(2),C(1),G("routerLinkObj",a.componentListRoute(a.component.componentId)),C(2),G("ngIf",a.isAdmin()),C(1),G("ngIf",!a.isAnonymous))},hGb=function(a){a&1&&(H(0,"div",17),K(1,"b-spinner"),J())},iGb=function(a){a&1&&(H(0,"span",
38),S(1," (archived) "),J())},jGb=function(a){a&1&&Le(0)},kGb=function(a){a&1&&Le(0)},lGb=function(a){a&1&&Le(0)},mGb=function(a){a&1&&Le(0)},nGb=function(a){a&1&&Le(0)},pGb=function(a){if(a&1){var b=x();H(0,"div",78)(1,"div",48)(2,"label",79)(3,"span",45);S(4,"Parent Component");J()();H(5,"span",50)(6,"div",80)(7,"strong");S(8,"Careful!");J();S(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);K(11,"div",53)(12,"div",54);J()()()();H(13,"b-team-component-picker",81);O("selectedComponentChange",function(c){z(b);var d=P(4);return A(d.parentComponent=null!==c&&void 0!==c?c:null)});J()()}a&2&&(a=P(4),C(2),Ie("required",a.isParentComponentRequired&&!oGb(a)),C(11),G("selectedComponent",a.parentComponent)("placeholder","Choose Component")("isRequired",a.isParentComponentRequired&&!oGb(a)))},qGb=function(a){a&1&&(H(0,"a",82),S(1," Learn more "),J());a&2&&(P(4),G("href",Csb(),vd))},
rGb=function(a){if(a&1){var b=x();H(0,"div",83)(1,"label",84)(2,"span",45);S(3,"Retention Settings");J()();H(4,"div",85)(5,"p");S(6,"Please choose a period of time to retain the data stored in this component.");K(7,"br");H(8,"a",86);S(9," Learn more ");J()()();H(10,"div",87)(11,"b-retention-settings-form",88);O("modelChange",function(c){z(b);var d=P(4);return A(d.component.retentionSettings=c)})("validChange",function(c){z(b);P(4).retentionIsValid=c;return A()});J()()()}a&2&&(a=P(4),Ie("bv2-edit-resource-readonly",
!a.isAdmin()),C(8),G("href",qp(),vd),C(3),G("issueRetentionDisabled",a.isAccessEditDisabled())("isExternal",a.isExternal())("initialModel",a.component.retentionSettings))},tGb=function(a){if(a&1){var b=x();H(0,"div",92)(1,"b-component-team-picker",93);O("modelChange",function(c){z(b);var d=P(5);d.component.team=c;d.componentTeam$.next(d.component.team);d.component.slo.inherit&&sGb(d);return A()});J()()}a&2&&(a=P(5),C(1),Qe("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))},uGb=function(a){a&1&&(H(0,"div",89)(1,"label",90)(2,"span",45),S(3,"Team Configuration"),J()(),R(4,tGb,2,6,"div",91),J());a&2&&(a=P(4),Ie("bv2-edit-resource-readonly",!a.isAdmin()),C(4),G("ngIf",a.component.team))},vGb=function(a){a&1&&(H(0,"a",106),S(1),J());if(a&2){a=P().ngIf;var b=P(5),c;G("routerLinkObj",b.getSloManagementLink(a.id));C(1);Te(" ",null!==
(c=null==a.slo?null:a.slo.name)&&void 0!==c?c:a.id," ")}},wGb=function(a){a&1&&S(0," None ")},xGb=function(a,b){a&1&&(H(0,"div",103),S(1," Inherited SLO Policy: "),R(2,vGb,2,2,"a",104),R(3,wGb,1,0,"ng-template",null,105,of),J());if(a&2){a=b.ngIf;var c=Se(4);C(2);G("ngIf","0"!==a.id)("ngIfElse",c)}},yGb=function(a){a&1&&(H(0,"a",111),S(1),T(2,"titlecase"),J());a&2&&(a=P().ngIf,G("routerLinkObj",a.link),C(1),We(" (",U(2,3,a.type),") ",a.name," "))},zGb=function(a){a&1&&S(0," None ")},AGb=function(a){a&
1&&(H(0,"div",113),K(1,"slo-inheritance-breadcrumbs",114),J());a&2&&(a=P().ngIf,C(1),G("componentPath",a.componentPath)("teamPath",a.teamPath))},BGb=function(a){a&1&&(L(0),R(1,AGb,2,2,"div",112),M());a&2&&(a=P(6),C(1),G("ngIf",a.showSloInheritancePath))},CGb=function(a,b){if(a&1){var c=x();H(0,"div",107);S(1," Policy Source: ");R(2,yGb,3,5,"a",108);R(3,zGb,1,0,"ng-template",null,109,of);H(5,"button",110);O("click",function(){z(c);var e=P(5);return A(e.showSloInheritancePath=!e.showSloInheritancePath)});
S(6);J();R(7,BGb,2,1,"ng-container",7);T(8,"async");J()}if(a&2){a=b.ngIf;var d=Se(4);b=P(5);C(2);G("ngIf",a.link)("ngIfElse",d);C(3);Ae("aria-expanded",b.showSloInheritancePath);C(1);Te(" ",b.showSloInheritancePath?"Hide":"Show"," full path ");C(1);G("ngIf",U(8,5,b.policySourcePath$))}},DGb=function(a){a&1&&(L(0),S(1,", "),H(2,"a",116),S(3,"Team Leads"),J(),M());a&2&&(a=P(7),C(2),G("routerLinkObj",{path:"/teams/"+a.component.team.id+"/edit",fragment:"basic"}))},EGb=function(a){a&1&&(L(0),S(1," SLO Admins: "),
H(2,"a",116),S(3,"Component Admins"),J(),R(4,DGb,4,1,"ng-container",7),M());a&2&&(a=P(6),C(2),G("routerLinkObj",a.componentPermissions(a.componentId)),C(2),G("ngIf",a.component.team&&"0"!==a.component.team.id))},FGb=function(a){a&1&&(H(0,"div",115),R(1,EGb,5,2,"ng-container",7),J());a&2&&(a=P(5),C(1),G("ngIf",a.enableTeamLeadSloEditingUi))},GGb=function(a){a&1&&(L(0),K(1,"mat-icon",118),S(2," on "),M())},HGb=function(a){a&1&&(K(0,"mat-icon",119),S(1," off "))},IGb=function(a){a&1&&(L(0),S(1," Lock: "),
R(2,GGb,3,0,"ng-container",0),T(3,"async"),R(4,HGb,2,0,"ng-template",null,117,of),M());if(a&2){var b=Se(5);a=P(5);C(2);G("ngIf",U(3,2,a.sloLocked$))("ngIfElse",b)}},KGb=function(a){if(a&1){var b=x();H(0,"div",120)(1,"mat-checkbox",121);O("change",function(c){z(b);var d=P(5);c=c.checked;d.component.slo.inherit=!c;c||sGb(d);return A()});H(2,"span");S(3,"Override the inherited SLO policy");J()()()}a&2&&(a=P(5),C(1),G("checked",!a.component.slo.inherit)("disabled",!JGb(a)))},MGb=function(a){if(a&1){var b=
x();H(0,"div",128)(1,"label",129);S(2," Justification ");J();K(3,"mat-icon",130);H(4,"textarea",131);O("ngModelChange",function(c){z(b);var d=P(6);return A(d.component.slo.comment=c)});J()()}a&2&&(a=P(6),C(4),G("ngModel",a.component.slo.comment)("disabled",!LGb(a)))},NGb=function(a){a&1&&(H(0,"a",132),K(1,"mat-icon",133),J());a&2&&(a=P(6),Qe("target",a.hasUnsavedChanges()?"_blank":"_self"),G("routerLinkObj",a.getSloManagementLink(a.component.slo.id)))},RGb=function(a){if(a&1){var b=x();L(0);R(1,MGb,
5,2,"div",122);H(2,"mat-slide-toggle",123);O("ngModelChange",function(c){z(b);var d=P(5);return A(d.isEnableSloChecked=c)})("change",function(c){z(b);var d=P(5);c=c.checked;d.isEnableSloChecked=c;c||(d.component.slo.id="0");return A()});S(3," Enable SLO ");J();H(4,"div",124)(5,"label",125);S(6,"SLO policy");J();H(7,"slo-picker",126);O("onSloSelect",function(c){z(b);var d=P(5);return A(d.onSloChange(c))});J();R(8,NGb,2,2,"a",127);J();M()}a&2&&(a=P(5),C(1),G("ngIf",OGb(a)),C(1),Ie("indented",PGb(a)),
G("ngModel",a.isEnableSloChecked)("disabled",!QGb(a)),C(5),G("bv2Disabled",!a.isEnableSloChecked||!QGb(a))("boundId",a.component.slo.id)("bv2Placeholder",a.isEnableSloChecked&&QGb(a)?"Type to search for an SLO":"SLO disabled"),C(1),G("ngIf",a.component.slo.id&&"0"!==a.component.slo.id))},SGb=function(a){a&1&&(H(0,"div",94)(1,"div",48)(2,"label",95)(3,"span",45),S(4,"SLO Configuration"),J()(),H(5,"span",50)(6,"div",96)(7,"strong"),S(8,"Careful!"),J(),S(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),K(11,"div",53)(12,"div",54),J()()()(),H(13,"div",97),R(14,xGb,5,2,"div",98),T(15,"async"),R(16,CGb,9,7,"div",99),T(17,"async"),R(18,FGb,2,1,"div",100),H(19,"div",101),R(20,IGb,6,4,"ng-container",7),J()(),R(21,KGb,4,2,"div",102),R(22,RGb,9,9,"ng-container",7),J());if(a&2){a=P(4);Ie("bv2-edit-resource-readonly",!LGb(a));C(14);G("ngIf",U(15,8,a.inheritedSlo$));C(2);G("ngIf",U(17,10,a.sloPolicySource$));C(2);G("ngIf",a.sessionIsInternal);C(2);G("ngIf",a.enableSloLockingUi);C(1);G("ngIf",
PGb(a));C(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)}},TGb=function(a){a&1&&K(0,"recommendation-settings",134);a&2&&(a=P(4),G("componentId",a.componentId))},UGb=function(a){if(a&1){var b=x();H(0,"div",74)(1,"b-button",135);O("onAction",function(){z(b);var c=P(4);return A(c.saveMetadata())});S(2," Update ");J();H(3,"b-button",136);O("onAction",function(){z(b);var c=
P(4);return A(c.revertMetadataChanges())});S(4," Revert Changes ");J();H(5,"b-button",136);O("onAction",function(){z(b);var c=P(4);return A(c.createChild())});S(6," Create Child Component ");J()()}a&2&&(a=P(4),C(1),G("disabled",a.isSaving()||!a.hasUnsavedMetadataChanges()),C(2),G("disabled",a.isSaving()||!a.hasUnsavedMetadataChanges()),C(2),G("disabled",a.hasUnsavedMetadataChanges()))},VGb=function(a){if(a&1){var b=x();H(0,"b-button",137);O("onAction",function(){z(b);var c=P(4);return A(c.showUpdateHistoryModal())});
S(1," View History ");J()}},WGb=function(a){a&1&&K(0,"b-spinner")},XGb=function(a){if(a&1){var b=x();H(0,"b-component-children-list",138);O("onVisit",function(){z(b);var c=P(4);return A(c.trackClick("openChildComponent"))});J()}a&2&&(a=P(4),G("children",a.childComponents))},YGb=function(a){a&1&&(H(0,"span"),S(1," No child components. "),J())},$Gb=function(a){if(a&1){var b=x();H(0,"div",39)(1,"form",40,41);K(3,"b-error-banner",42);H(4,"div",43)(5,"label",44)(6,"span",45);S(7,"Name");J()();H(8,"input",
46);O("ngModelChange",function(c){z(b);var d=P(3);return A(d.component.name=c)});J()();H(9,"div",47)(10,"div",48)(11,"label",49)(12,"span",45);S(13,"Description");J()();H(14,"span",50)(15,"div",51);S(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);K(18,"div",53)(19,"div",54);J()()()();H(20,"textarea",55);O("ngModelChange",function(c){z(b);var d=P(3);return A(d.component.description=
c)});S(21,"            ");J()();R(22,pGb,14,5,"div",56);H(23,"div",57)(24,"div",58)(25,"mat-checkbox",59);O("change",function(c){z(b);var d=P(3);return A(d.setCommentEditState(c.checked))});J()();H(26,"div")(27,"strong",60);S(28,"Editable Comments");J();H(29,"div",61);S(30," When checked, users with comment access can modify their own issue comments, and editors can modify the first issue comment. ");K(31,"br");R(32,qGb,2,1,"a",62);J()()();R(33,rGb,12,6,"div",63);R(34,uGb,5,3,"div",64);R(35,SGb,23,
12,"div",65);H(36,"div",66)(37,"div",48)(38,"label",67)(39,"span",45);S(40,"Component Alias");J()();H(41,"span",50)(42,"div",68);S(43," You can create a new issue in this component by sending an email to this alias. ");K(44,"br");H(45,"a",69);S(46," Learn more ");J();H(47,"div",52);K(48,"div",53)(49,"div",54);J()()()();H(50,"div")(51,"a",70);S(52);J()()();R(53,TGb,1,1,"recommendation-settings",71);H(54,"div",72);R(55,UGb,7,3,"div",73);H(56,"div",74);R(57,VGb,2,0,"b-button",75);J()();H(58,"div",76)(59,
"label")(60,"span",45);S(61,"Child Components");J()();R(62,WGb,1,0,"b-spinner",7);R(63,XGb,1,1,"b-component-children-list",77);R(64,YGb,2,0,"span",7);J()()()}a&2&&(a=P(3),C(1),Ie("show-errors",a.error),C(2),G("error",a.error),C(1),Ie("bv2-edit-resource-readonly",ZGb(a)),C(4),G("ngModel",a.component.name)("disabled",ZGb(a)),C(1),Ie("bv2-edit-resource-readonly",ZGb(a)),C(11),G("ngModel",a.component.description)("disabled",ZGb(a)),C(2),G("ngIf",a.isAdmin()),C(1),Ie("bv2-edit-resource-readonly",a.isAccessEditDisabled()),
C(2),G("checked",a.commentEditsEnabled)("disabled",ZGb(a)),C(7),G("ngIf",!a.sessionIsExternal),C(1),G("ngIf",!a.sessionIsExternal),C(1),G("ngIf",a.sessionIsInternal),C(1),G("ngIf",a.component.slo&&a.sessionIsInternal),C(10),G("href",a.documentationLinks.baseDocumentationUrl+"/guides/create-issue-email",vd),C(6),Pe("href","mailto:",a.component.emailAlias,"",vd),Ae("aria-label","Component Alias -"+a.component.emailAlias),C(1),Ve(a.component.emailAlias),C(1),G("ngIf",a.enableRecommendationSettingsPage),
C(2),G("ngIf",a.isEditorInternal||LGb(a)),C(2),G("ngIf",a.componentHistoryUiEnabled),C(5),G("ngIf",void 0===a.childComponents),C(1),G("ngIf",a.childComponents&&0<a.childComponents.length),C(1),G("ngIf",a.childComponents&&0===a.childComponents.length))},aHb=function(a){a&1&&(H(0,"div",143),S(1," Standard Fields "),J())},cHb=function(a){if(a&1){var b=x();H(0,"b-component-standard-fields",144);O("updateComponent",function(c){z(b);var d=P(4);return A(bHb(d,c))});J()}a&2&&(a=P(4),G("effortSpec",a.component.effortSpec)("parentEffortSpec",
null==a.parentComponent?null:a.parentComponent.effortSpec)("disabled",!a.isEditorInternal))},dHb=function(a){a&1&&(H(0,"div",145),S(1," Custom Fields "),J())},eHb=function(a){a&1&&(R(0,aHb,2,0,"div",139),R(1,cHb,1,3,"b-component-standard-fields",140),R(2,dHb,2,0,"div",141),K(3,"b-component-custom-fields",142));a&2&&(a=P(3),G("ngIf",a.sessionIsInternal&&!a.isExternal()),C(1),G("ngIf",a.sessionIsInternal&&!a.isExternal()),C(1),G("ngIf",a.sessionIsInternal&&!a.isExternal()),C(1),G("editMode",a.isEditorInternal)("isSaving",
a.isSaving())("component",a.component)("parentComponent",a.parentComponent))},gHb=function(a){a&1&&(H(0,"a",149),S(1," Learn more "),J());a&2&&(P(4),G("href",fHb(),vd))},iHb=function(a){if(a&1){var b=x();H(0,"div",39)(1,"div",146);S(2," Field ordering will be applied to all issues and templates in this component, including the right panel on the Issue Detail page. ");R(3,gHb,2,1,"a",147);J();H(4,"b-field-reorder",148);O("onReload",function(){z(b);var c=P(3);return A(hHb(c))});J()()}a&2&&(a=P(3),C(3),
G("ngIf",a.sessionIsInternal),C(1),G("fields",a.effectiveCustomFields)("componentId",a.componentId)("fieldOrdering",a.component.fieldOrdering)("isAdmin",a.isAdmin()))},jHb=function(a){a&1&&K(0,"b-edit-templates",151);a&2&&(a=P(4),G("componentId",a.componentId)("supportCustomFields",!0))},kHb=function(a){a&1&&(H(0,"div"),S(1),J());a&2&&(a=P().$implicit,C(1),Ve(a.description))},lHb=function(a,b){a&1&&(H(0,"div",153)(1,"label"),S(2),J(),R(3,kHb,2,1,"div",7),H(4,"div")(5,"a",70),S(6),J()()());a&2&&(a=
b.$implicit,C(2),Ve(a.name),C(1),G("ngIf",a.description),C(2),G("href",a.url,vd),Ae("aria-label","Click to open the template "+a.name),C(1),Ve(a.url))},mHb=function(a){a&1&&(L(0),R(1,lHb,7,5,"div",152),M());a&2&&(a=P(4),C(1),G("ngForOf",a.templates))},nHb=function(a){a&1&&(H(0,"div",39),R(1,jHb,1,2,"b-edit-templates",150),R(2,mHb,2,1,"ng-container",7),J());a&2&&(a=P(3),C(1),G("ngIf",a.isEditorInternal),C(1),G("ngIf",!a.isEditorInternal))},oHb=function(a){a&1&&K(0,"role-based-permissions")},pHb=function(a){if(a&
1){var b=x();H(0,"div")(1,"div",18)(2,"h2");S(3);J();R(4,iGb,2,0,"span",19);H(5,"a",20);O("click",function(){z(b);var l=P(2);return A(l.trackClick("recentIssues"))});S(6," (Recent Issues)");J();K(7,"b-access-level-indicator",21)(8,"b-tracker-chip-smart",22);J();H(9,"div",23);K(10,"b-component-breadcrumb",24)(11,"div",25);J();H(12,"mat-tab-group",26);O("selectedIndexChange",function(l){z(b);var q=P(2);return A(q.tabChange(l))});H(13,"mat-tab",27);R(14,jGb,1,0,"ng-container",28);J();H(15,"mat-tab",
29);R(16,kGb,1,0,"ng-container",28);J();H(17,"mat-tab",30);R(18,lGb,1,0,"ng-container",28);J();H(19,"mat-tab",31);R(20,mGb,1,0,"ng-container",28);J();H(21,"mat-tab",32);R(22,nGb,1,0,"ng-container",28);J()();R(23,$Gb,65,30,"ng-template",null,33,of);R(25,eHb,4,7,"ng-template",null,34,of);R(27,iHb,5,5,"ng-template",null,35,of);R(29,nHb,3,2,"ng-template",null,36,of);R(31,oHb,1,0,"ng-template",null,37,of);J()}if(a&2){var c=Se(24),d=Se(26),e=Se(28),g=Se(30),h=Se(32);a=P(2);C(3);We(" Component ",a.component.componentId,
": ",a.currentName," ");C(1);G("ngIf",a.isArchived());C(1);G("routerLinkObj",a.getRecentIssuesLink());C(2);G("accessLevel",a.getComponentAccessLevel());C(1);G("trackerId",a.component.trackerId);C(2);G("componentPathInfo",a.component.componentPathInfo)("isArchived",a.isArchived())("label","Parent Component");C(2);G("selectedIndex",a.selectedTabIndex);C(1);G("id",a.Tab.BASIC);C(1);G("ngTemplateOutlet",c);C(1);G("id",a.Tab.CUSTOM_FIELDS)("label",a.sessionIsInternal&&!a.isExternal()?"Fields":"Custom Fields");
C(1);G("ngTemplateOutlet",d);C(1);G("id",a.Tab.FIELD_ORDERING);C(1);G("ngTemplateOutlet",e);C(1);G("id",a.Tab.TEMPLATES);C(1);G("ngTemplateOutlet",g);C(1);G("id",a.Tab.ACCESS);C(1);G("ngTemplateOutlet",h)}},qHb=function(a){a&1&&(H(0,"span")(1,"p"),S(2," Archiving a component causes it and its subcomponents and all issues in those components to be hidden from normal use."),K(3,"br"),H(4,"a",159),S(5," Learn more "),J()(),H(6,"p"),S(7," If you no longer have a reason to retain the data stored in these components, please change the retention period as needed "),
K(8,"br"),S(9," so they can be scheduled for deletion. "),H(10,"a",160),S(11," Learn more "),J()()());a&2&&(P(3),C(4),G("href","http://go/archived-components",vd),C(6),G("href",qp(),vd))},rHb=function(a){a&1&&(H(0,"span"),S(1," : "),H(2,"b"),S(3),J()());if(a&2){a=P().$implicit;var b=P(3);Ie("b-archive-warning-indef",!a.retentionSettings.retentionPeriodDays);C(3);Ve(b.getRetentionPeriod(a))}},sHb=function(a,b){a&1&&(H(0,"span")(1,"span"),S(2),J(),R(3,rHb,4,3,"span",161),K(4,"br"),J());a&2&&(a=b.$implicit,
b=P(3),C(2),Ve(a.componentPath),C(1),G("ngIf","Archive"===b.archiveAction))},tHb=function(a){if(a&1){var b=x();H(0,"h2",154);S(1);J();H(2,"mat-dialog-content");R(3,qHb,12,2,"span",7);H(4,"p");S(5," The following components will be affected: ");J();H(6,"div",155);R(7,sHb,5,2,"span",156);J()();H(8,"mat-dialog-actions")(9,"button",157);O("click",function(){z(b);var c=P(2);c.archive();c.isArchiving=!1;return A()});S(10," Yes ");J();H(11,"button",158);O("click",function(){z(b);P(2).isArchiving=!1;return A()});
S(12," No ");J()()}a&2&&(a=P(2),C(1),Ve(a.component&&a.archiveAction?"Are you sure you want to "+a.archiveAction.toLowerCase()+' "'+a.component.name+'" and its subcomponents?':""),C(2),G("ngIf","Archive"===a.archiveAction),C(4),G("ngForOf",a.descendants))},uHb=function(a){if(a&1){var b=x();L(0);H(1,"div",2)(2,"div",3)(3,"div",4)(4,"b-button",5);O("onAction",function(){z(b);var c=P();return A(c.back())});K(5,"b-icon",6);J();R(6,gGb,5,3,"ng-container",7);J()()();H(7,"div",8);R(8,hGb,2,0,"div",9);R(9,
pHb,33,21,"div",7);J();R(10,tHb,13,3,"ng-template",null,10,of);M()}a&2&&(a=P(),C(6),G("ngIf",a.component),C(2),G("ngIf",a.isLoading),C(1),G("ngIf",!a.isLoading&&a.component&&a.component.componentId))},vHb=function(a){a&1&&(H(0,"div",162),K(1,"b-tracker-redirect",163),J());a&2&&(a=P(),C(1),G("component",a.component))},wHb=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}},
xHb=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)}},yHb=function(a,b,c,d){(null==c?0:c.inherit)||"0"!==(null==c?void 0:c.id)||!d||(a=d);if(!a)return null;c=a.pathNames;a=a.pathIds;d=[];for(var e=a.findIndex(function(g){return g===b});e<a.length;e++)d.push({id:a[e],name:c[e]});return d},zHb=function(a,b){a&1&&(H(0,"div",39),K(1,"b-team-breadcrumb",
40),J());a&2&&(a=b.ngIf,C(1),G("teamPath",a))},AHb=function(a,b){a&1&&(L(0),S(1),M());a&2&&(a=b.ngIf,C(1),Ve(a.trim()))},BHb=function(a){a&1&&S(0," No description ")},CHb=function(a,b){a&1&&(L(0),K(1,"b-multi-user-input",41),M());a&2&&(a=b.ngIf,C(1),G("users",a),Ae("disabled",!0))},DHb=function(a){a&1&&(L(0),H(1,"p"),S(2,"No child teams"),J(),M())},EHb=function(a,b){a&1&&(L(0),K(1,"br"),H(2,"a",44),S(3),J(),M());a&2&&(a=b.$implicit,C(2),Pe("routerLink","/teams/",a.id,"/edit"),C(1),Ve(a.name))},FHb=
function(a){a&1&&R(0,EHb,4,2,"ng-container",43);a&2&&(a=P().ngIf,G("ngForOf",a))},GHb=function(a,b){a&1&&(L(0),R(1,DHb,3,0,"ng-container",18),R(2,FHb,1,1,"ng-template",null,42,of),M());if(a&2){a=b.ngIf;var c=Se(3);C(1);G("ngIf",0===a.length)("ngIfElse",c)}},HHb=function(a){a&1&&(H(0,"a",48),S(1),J());if(a&2){a=P().ngIf;var b;G("routerLinkObj",a.link);C(1);Te(" ",null!==(b=null==a.slo?null:a.slo.name)&&void 0!==b?b:a.id," ")}},IHb=function(a){a&1&&S(0," None ")},JHb=function(a,b){a&1&&(H(0,"div",45),
S(1," Inherited SLO Policy: "),R(2,HHb,2,2,"a",46),R(3,IHb,1,0,"ng-template",null,47,of),J());if(a&2){a=b.ngIf;var c=Se(4);C(2);G("ngIf",a.link)("ngIfElse",c)}},KHb=function(a,b){a&1&&(H(0,"a",49),S(1),J());a&2&&(a=b.ngIf,G("routerLinkObj",a.link),C(1),Te(" ",a.name," "))},LHb=function(a){a&1&&S(0," None ")},MHb=function(a){a&1&&(L(0),K(1,"mat-icon",51),S(2," on "),M())},NHb=function(a){a&1&&(K(0,"mat-icon",52),S(1," off "))},OHb=function(a){a&1&&(L(0),S(1," Lock: "),R(2,MHb,3,0,"ng-container",18),
R(3,NHb,2,0,"ng-template",null,50,of),M());if(a&2){var b=Se(4);a=P(2);C(2);G("ngIf",a.originalSloLock)("ngIfElse",b)}},PHb=function(a){if(a&1){var b=x();H(0,"div",54)(1,"mat-checkbox",55);O("change",function(c){z(b);var d=P(3);d.isSloInheritEnabled=!c.checked;d.isSloInheritEnabled&&(d.sloId=d.parentTeam.slo.sloId);return A()});H(2,"span");S(3,"Override the inherited SLO");J()()()}a&2&&(a=P(3),C(1),G("disabled",!a.hasEditAccess)("checked",!a.isSloInheritEnabled))},QHb=function(a){if(a&1){var b=x();
H(0,"div",60)(1,"label",61);S(2," Justification to override the org SLO ");J();K(3,"mat-icon",62);H(4,"textarea",63);O("ngModelChange",function(c){z(b);var d=P(4);return A(d.sloJustification$.next(c))});T(5,"async");J()()}a&2&&(a=P(4),C(3),G("matTooltip",a.justificationRequiredText),Ae("aria-label",a.justificationRequiredText),C(1),G("ngModel",U(5,4,a.sloJustification$))("disabled",!a.hasEditAccess))},RHb=function(a,b){a&1&&(H(0,"a",64),T(1,"async"),K(2,"mat-icon",9),J());a&2&&(a=b.ngIf,b=P(4),Qe("target",
U(1,2,b.hasUnsavedChanges$)?"_blank":"_self"),G("routerLinkObj",a))},SHb=function(a){if(a&1){var b=x();L(0);R(1,QHb,6,6,"div",56);H(2,"div",14)(3,"mat-slide-toggle",57);O("ngModelChange",function(d){z(b);var e=P(3);return A(e.enableSloChecked=d)})("change",function(d){z(b);var e=P(3);return A(e.enableSloChecked=d.checked)});S(4," Enable SLO ");J();H(5,"slo-picker",58);O("onSloSelect",function(d){z(b);var e=P(3);return A(e.onSloChange(d))});J();R(6,RHb,3,4,"a",59);T(7,"async");J();M()}if(a&2){a=P().ngIf;
var c=P(2);C(1);G("ngIf",!a.value);C(2);Ie("indented",!a.value);G("ngModel",c.enableSloChecked)("disabled",!c.hasEditAccess);C(2);G("boundId",c.sloId)("bv2Disabled",!c.hasEditAccess||!c.enableSloChecked||c.isSloInheritEnabled)("bv2Placeholder",c.enableSloChecked?"Type to search for an SLO":"SLO disabled");C(1);G("ngIf",U(7,9,c.sloPickerLink$))}},THb=function(a,b){a&1&&(L(0),R(1,PHb,4,2,"div",53),R(2,SHb,8,11,"ng-container",6),M());a&2&&(a=b.ngIf,b=P(2),C(1),G("ngIf",!a.value),C(1),G("ngIf",!b.isSloInheritEnabled))},
UHb=function(a){if(a&1){var b=x();H(0,"div",14)(1,"mat-checkbox",65);O("change",function(c){z(b);var d=P(2);return A(d.sloLocked=c.checked)});H(2,"span");S(3,"Lock for all child teams");J()()()}a&2&&(a=P(2),C(1),G("checked",a.sloLocked)("disabled",!a.canEditSloLock))},XHb=function(a){if(a&1){var b=x();H(0,"div",14)(1,"div",20)(2,"label",21)(3,"span",16);S(4," SLO lead ");J()();H(5,"span",22)(6,"div",23);S(7," Single team lead receiving SLO reports of unassigned issues. ");H(8,"div",24);K(9,"div",
25)(10,"div",26);J()()()();H(11,"div");L(12);H(13,"b-multi-user-input",66);O("usersChange",function(c){z(b);var d=P(2);1<c.length||(d.sloLead=1===c.length?c[0]:"");return A()})("isValid",function(c){z(b);var d=P(2);return A(d.isSloLeadValid=c)});J();M();J()()}a&2&&(a=P(2),C(13),G("users",a.sloLead?Ze(5,VHb,a.sloLead):Ye(7,WHb))("customValidators",a.sloLeadUserValidators)("detailedUserValidators",a.sloLeadGooglerValidators)("maxUserAllowed",1),Ae("disabled",a.hasEditAccess?null:!0))},$Hb=function(a){if(a&
1){var b=x();H(0,"div",67)(1,"div",68)(2,"button",69);O("click",function(){z(b);var c=P().ngIf,d=P();return A(YHb(d,c))});T(3,"async");S(4," Update ");J();H(5,"button",70);O("click",function(){z(b);var c=P(2);return A(ZHb(c))});T(6,"async");S(7," Revert changes ");J()()()}a&2&&(a=P(2),C(2),G("disabled",!U(3,2,a.hasUnsavedChanges$)),C(3),G("disabled",!U(6,4,a.hasUnsavedChanges$)))},aIb=function(a){a&1&&(L(0),H(1,"p"),S(2,"No mapped components"),J(),M())},bIb=function(a,b){a&1&&(H(0,"ul")(1,"li")(2,
"a",44),S(3),J()()());a&2&&(a=b.$implicit,C(2),Pe("routerLink","/components/",a.componentId,"/manage"),C(1),Te(" ",a.name," "))},cIb=function(a){a&1&&(R(0,bIb,4,2,"ul",43),T(1,"async"));a&2&&(a=P(3),G("ngForOf",U(1,1,a.associatedComponents$)))},dIb=function(a,b){a&1&&(L(0),R(1,aIb,3,0,"ng-container",18),R(2,cIb,2,3,"ng-template",null,71,of),M());if(a&2){a=b.ngIf;var c=Se(3);C(1);G("ngIf",0===a.length)("ngIfElse",c)}},fIb=function(a,b){if(a&1){var c=x();L(0);H(1,"div",7)(2,"h2");S(3);H(4,"a",8);S(5);
K(6,"mat-icon",9);J()()();R(7,zHb,2,1,"div",10);T(8,"async");H(9,"mat-tab-group",11);O("selectedIndexChange",function(g){z(c);var h=P();return A(h.selectedTabIndex=g)})("selectedIndexChange",function(g){z(c);var h=P();return A(h.tabChange(g))});H(10,"mat-tab",12)(11,"div",13);S(12," Team information on this page comes from ");H(13,"a",8);S(14," Team Graph ");K(15,"mat-icon",9);J();S(16," and is view only. ");H(17,"div",14)(18,"div",15)(19,"label")(20,"span",16);S(21,"Description");J()();H(22,"div",
17);R(23,AHb,2,1,"ng-container",18);R(24,BHb,1,0,"ng-template",null,19,of);J()()();H(26,"div",14)(27,"div",20)(28,"label",21)(29,"span",16);S(30," Team admins ");J();H(31,"span",22)(32,"div",23);S(33," Team admins are team leads from Team Graph. ");H(34,"div",24);K(35,"div",25)(36,"div",26);J()()()();R(37,CHb,2,2,"ng-container",6);T(38,"async");J()();H(39,"div",14)(40,"div",15)(41,"label")(42,"span",16);S(43,"Child team(s)");J()();R(44,GHb,4,2,"ng-container",6);T(45,"async");J()()()();H(46,"mat-tab",
27)(47,"div",13)(48,"div",20)(49,"label",21)(50,"span",16);S(51,"SLO configuration");J()();H(52,"span",22)(53,"div",28)(54,"strong");S(55,"Careful!");J();S(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);K(58,"div",25)(59,"div",26);J()()()();H(60,"div",29);R(61,JHb,5,2,"div",30);T(62,"async");H(63,"div",31);S(64," Policy Source: ");R(65,KHb,2,2,"a",32);T(66,"async");R(67,
LHb,1,0,"ng-template",null,33,of);J();H(69,"div",34);R(70,OHb,5,2,"ng-container",6);J()();K(71,"b-error-banner",35);R(72,THb,3,2,"ng-container",6);T(73,"async");R(74,UHb,4,2,"div",36);R(75,XHb,14,8,"div",36);R(76,$Hb,8,6,"div",37);J()();H(77,"mat-tab",38)(78,"div",13)(79,"div",14)(80,"div",15)(81,"label")(82,"span",16);S(83," Component(s) that have mapped to this team ");J()()();R(84,dIb,4,2,"ng-container",6);T(85,"async");J()()()();M()}if(a&2){a=b.ngIf;var d=Se(25),e=Se(68);b=P();C(3);Te(" Team ",
a.teamId,": ");C(1);Pe("href","https://moma.corp.google.com/team/",a.teamId,"",vd);C(1);Te(" ",a.name," ");C(2);G("ngIf",U(8,23,b.teamPath$));C(2);G("selectedIndex",b.selectedTabIndex);C(1);G("id",b.Tab.BASIC);C(3);Pe("href","https://moma.corp.google.com/team/",a.teamId,"",vd);C(10);G("ngIf",a.description)("ngIfElse",d);C(14);G("ngIf",U(38,25,b.adminsAndLeads$));C(7);G("ngIf",U(45,27,b.childTeams$));C(2);G("id",b.Tab.SLO);C(15);G("ngIf",U(62,29,b.inheritedSlo$));C(4);G("ngIf",U(66,31,b.sloPolicySource$))("ngIfElse",
e);C(5);G("ngIf",b.enableSloLockingUi);C(1);G("error",b.error);C(1);G("ngIf",Ze(37,eIb,U(73,33,b.isRootTeam$)));C(2);G("ngIf",b.enableSloLockingUi);C(1);G("ngIf",b.enableSloLead);C(1);G("ngIf",b.hasEditAccess);C(1);G("id",b.Tab.MAPPINGS);C(7);G("ngIf",U(85,35,b.associatedComponents$))}},gIb=function(a,b){a&1&&(H(0,"div",14),K(1,"mat-checkbox",15),H(2,"div")(3,"label",16),S(4),J(),H(5,"label",17),S(6),J()()());if(a&2){a=b.ngIf;b=P().$implicit;var c=P().ngIf;C(1);G("id","select-signal-checkbox-"+b)("aria-labelledby",
"checkbox-label-"+b)("value",b)("checked",c.includes(b));C(2);Pe("id","checkbox-label-",b,"")("for","select-signal-checkbox-",b,"-input");C(1);Te(" ",a.header," ");C(1);Pe("for","select-signal-checkbox-",b,"-input");C(1);Te(" ",a.body," ")}},iIb=function(a,b){a&1&&(L(0),R(1,gIb,7,9,"div",13),M());a&2&&(a=b.$implicit,P(3),C(1),G("ngIf",hIb.has(a)?hIb.get(a):null))},jIb=function(a){a&1&&(H(0,"div",11),R(1,iIb,2,1,"ng-container",12),J());a&2&&(a=P(2),C(1),G("ngForOf",a.ALL_SIGNAL_TYPES))},kIb=function(a){if(a&
1){var b=x();H(0,"div",4)(1,"p",5);S(2," Select alerts ");H(3,"button",6);O("click",function(){z(b);var c=P();c=k(c.checkboxes);for(var d=c.next();!d.done;d=c.next())d=d.value,d.checked||d.toggle();return A()});S(4," Select all ");J()();R(5,jIb,2,1,"div",7);T(6,"async");K(7,"mat-divider");H(8,"div",8)(9,"button",9);O("click",function(){z(b);var c=P();return A(c.closeMenu())});S(10,"Cancel");J();H(11,"button",10);O("click",function(){z(b);var c=P();return A(c.emitSelection())});S(12,"Apply");J()()()}a&
2&&(a=P(),C(5),G("ngIf",U(6,1,a.selectedSignals$)))},lIb=function(a){a&1&&(L(0),S(1),M());a&2&&(a=P(3),C(1),Te("(",a.count,")"))},mIb=function(a){a&1&&(L(0),S(1),R(2,lIb,2,1,"ng-container",3),M());if(a&2){a=P().ngIf;var b=P();C(1);Te(" ",a.text," ");C(1);G("ngIf",-1<b.count)}},nIb=function(a){if(a&1){var b=x();H(0,"button",5);O("click",function(){z(b);var c=P(2);return A(c.onClickRemove())});H(1,"span",6);S(2);J();K(3,"mat-icon",7);J()}a&2&&(a=P().ngIf,C(2),Te("remove filter ",a.text,""))},oIb=function(a,
b){a&1&&(H(0,"span",1),T(1,"async"),K(2,"mat-icon",2),R(3,mIb,3,2,"ng-container",3),R(4,nIb,4,1,"button",4),J());a&2&&(a=b.ngIf,b=P(),Je("chippy rounded ",a.className," margin-xs-right"),Ie("full-chip",!b.iconOnly)("selected",b.isSelected),G("matTooltip",U(1,12,b.getSignalTypeTooltip()))("matTooltipShowDelay",b.matTooltipShowDelay),C(2),G("svgIcon",a.icon),C(1),G("ngIf",!b.iconOnly),C(1),G("ngIf",b.removable))},pIb=function(a){a&1&&(H(0,"span",19),S(1,"No filters selected"),J())},rIb=function(a,b){if(a&
1){var c=x();L(0);H(1,"b-signal-chip",20);O("onRemove",function(){var d=z(c).$implicit,e=P(2);return A(e.toggleSignal(d))});J();M()}a&2&&(a=b.$implicit,C(1),G("removable",!0)("generalDescriptionOnly",!0)("iconOnly",!1)("isSelected",!0)("matTooltipShowDelay",750)("signal",Ze(6,qIb,a)))},uIb=function(a){if(a&1){var b=x();H(0,"div",8)(1,"div",9)(2,"button",10);O("click",function(){z(b);var d=P();return A(d.fetchIssues())})("onHotkey",function(){z(b);var d=P();return A(d.fetchIssues())});K(3,"mat-icon",
11);J();H(4,"p",12);S(5," Applied alerts ");J();H(6,"a",13);K(7,"mat-icon",14);J()();H(8,"section",15)(9,"select-signals-menu",16);O("selected",function(d){z(b);var e=P();return A(sIb(e,d))});J();R(10,pIb,2,0,"span",17);T(11,"async");R(12,rIb,2,8,"ng-container",18);T(13,"async");J()()}if(a&2){a=P();var c;C(2);G("hotkey",a.HOTKEYS.REFRESH_ISSUE_LIST);C(7);G("selectedSignals$",a.selectedSignals$);C(1);G("ngIf",0===(null!==(c=U(11,4,a.selectedSignals$))&&void 0!==c?c:Ye(8,tIb)).length);C(2);G("ngForOf",
U(13,6,a.selectedSignals$))}},wIb=function(a){if(a&1){var b=x();H(0,"div")(1,"button",21);O("click",function(){z(b);var c=P();return A(vIb(c))});S(2," Dismiss selected ");J()()}a&2&&(a=P(),C(1),G("disabled",a.dismissSelectedInProgress))},xIb=function(a){a&1&&(H(0,"div",22),K(1,"b-spinner"),H(2,"span"),S(3," Searching for issues needing attention..."),J()())},yIb=function(a){a&1&&(H(0,"p",28),S(1," No alerts are selected. Select alerts via the filter icon above. "),J())},zIb=function(a){a&1&&(H(0,
"p",28),S(1,"No issues matching the current filters."),J())},AIb=function(a){a&1&&(H(0,"div",23),K(1,"img",24),H(2,"p",25),S(3,"So empty"),J(),R(4,yIb,2,0,"p",26),T(5,"async"),R(6,zIb,2,0,"ng-template",null,27,of),J());if(a&2){var b=Se(7);a=P();var c;C(1);G("src",a.SPACE_EMPTY_STATE,vd);C(3);G("ngIf",0===(null!==(c=U(5,3,a.selectedSignals$))&&void 0!==c?c:Ye(5,tIb)).length)("ngIfElse",b)}},BIb=function(a,b){a&1&&(H(0,"th",44)(1,"span",0),S(2),J()());a&2&&(a=b.column,Ae("data-stable-column-name",a.name),
C(2),Te("column-",a.name,""))},DIb=function(a,b){if(a&1){var c=x();H(0,"th",45);L(1);H(2,"mat-pseudo-checkbox",46);O("click",function(d){z(c);var e=P(2);d.stopPropagation();return A(e.toggleAllIssueSelection())})("keydown.enter",function(d){z(c);var e=P(2);d.stopPropagation();return A(e.toggleAllIssueSelection())})("keydown.space",function(d){z(c);var e=P(2);d.stopPropagation();return A(e.toggleAllIssueSelection())});J();M();J()}a&2&&(a=b.column,b=P(2),Ae("data-stable-column-name",a.name),C(2),G("state",
b.getHeaderCheckboxState()),Ae("aria-checked",CIb(b)))},EIb=function(a,b){a&1&&(H(0,"th"),L(1),K(2,"pop-grid-default-th",47),M(),J());a&2&&(a=b.column,Ae("data-stable-column-name",a.name),C(2),G("column",a))},FIb=function(a){a&1&&K(0,"td",44)},GIb=function(a,b){if(a&1){var c=x();H(0,"td",45);L(1);H(2,"mat-pseudo-checkbox",48);O("click",function(d){var e=z(c),g=e.index;e=e.row;var h=P(2);d.stopPropagation();return A(h.onCheckboxClicked(d,g,e))});J();M();J()}a&2&&(a=b.row,C(2),G("state",a.selected?
"checked":"unchecked"),Ae("aria-label","Select issue "+a.issueId)("aria-checked",a.selected))},HIb=function(a,b){if(a&1){var c=x();H(0,"td",49);L(1);H(2,"b-star-toggle",50);O("starClicked",function(){var d=z(c).row,e=P(2);return A(e.toggleStar(d))});J();M();J()}a&2&&(a=b.row,b=P(2),C(2),G("starred",a.starred)("disabled",b.starInProgress[a.issueId])("starMessage","Star this issue")("unStarMessage","Un-star this issue"))},JIb=function(a,b){if(a&1){var c=x();H(0,"td",51);L(1);H(2,"a",52);O("click",function(){var d=
z(c).row,e=P(2);return A(IIb(e,d.issueId))});S(3);J();M();J()}a&2&&(a=b.row,b=P(2),C(2),G("href",b.paths.editIssue(a.issueId),vd),Ae("title",a.title),C(1),Te(" ",a.issueId," "))},KIb=function(a,b){a&1&&(L(0),K(1,"b-signal-chip",54),M());a&2&&(a=b.$implicit,b=P(3),C(1),G("signal",a)("iconOnly",!0)("isSelected",b.selectedSignals$.value.includes(a.signalType)))},LIb=function(a,b){a&1&&(H(0,"td",53),R(1,KIb,2,3,"ng-container",18),J());a&2&&(a=b.row,C(1),G("ngForOf",a.signals))},MIb=function(a,b){if(a&
1){var c=x();H(0,"td");L(1);H(2,"button",21);O("click",function(){var d=z(c).row,e=P(2);return A(e.dismissIssue(d))});S(3," Dismiss ");J();M();J()}a&2&&(a=b.row,b=P(2),C(2),G("disabled",b.dismissInProgress[a.issueId]))},NIb=function(a){a&1&&K(0,"archived-issue-indicator")},OIb=function(a,b){a&1&&K(0,"b-hotlist-chip-smart",64);a&2&&G("id",b.$implicit)("removable",!1)},PIb=function(a){a&1&&(H(0,"div",62),R(1,OIb,1,2,"b-hotlist-chip-smart",63),J());a&2&&(a=P().row,C(1),G("ngForOf",a.hotlistId))},QIb=
function(a,b){if(a&1){var c=x();H(0,"td",55);T(1,"async");L(2);H(3,"div",56);T(4,"async");R(5,NIb,1,0,"archived-issue-indicator",3);K(6,"b-access-level-indicator",57)(7,"b-retention-chip",58);H(8,"div",59)(9,"a",60);O("click",function(){var h=z(c).row,l=P(2);return A(IIb(l,h.issueId))});S(10);J()();R(11,PIb,2,1,"div",61);T(12,"async");J();M();J()}if(a&2){a=b.row;b=P(2);var d,e,g;Ie("bv2-grid-cell-variable-height",null==(d=U(1,15,b.listViewPrefs$))?null:d.wrapTitles);C(3);Ie("bv2-grid-cell-flex-wrap",
null==(e=U(4,17,b.listViewPrefs$))?null:e.wrapTitles);C(2);G("ngIf",a.archived);C(1);G("accessLevel",a.accessLevel)("compactMode",!0);C(1);G("retentionState",a.retentionState)("showOnlyInDangerZone",!0)("compactMode",!0)("modifiedTime",a.modifiedTime);C(2);G("href",b.paths.editIssue(a.issueId),vd);Ae("title",a.title);C(1);Te(" ",a.title," ");C(1);G("ngIf",null==(g=U(12,19,b.listViewPrefs$))?null:g.showHotlists)}},RIb=function(a,b){a&1&&(H(0,"td",65),L(1),H(2,"div",66),S(3),J(),M(),J());a&2&&(a=b.row,
b=P(2),C(2),Ie("low",b.isLowPriority(a))("high",b.isHighPriority(a))("p0",b.isP0Priority(a)),C(1),Te(" P",a.priority," "))},SIb=function(a){a&1&&K(0,"mat-icon",72);if(a&2){a=P().$implicit;var b=P(4);G("svgIcon",b.STATUS_ICON[a])}},TIb=function(a){a&1&&(L(0),S(1),M());if(a&2){a=P().$implicit;var b=P(4);C(1);Ve(b.STATUS_TERSE[a])}},UIb=function(a){a&1&&(H(0,"span"),S(1),J());if(a&2){a=P().$implicit;var b=P(4);Je("chippy status-",a,"");C(1);Te(" ",b.STATUS_TERSE[a]," ")}},VIb=function(a,b){a&1&&(L(0),
H(1,"span",68),T(2,"async"),R(3,SIb,1,1,"mat-icon",69),R(4,TIb,2,1,"ng-container",70),R(5,UIb,2,4,"span",71),J(),M());if(a&2){a=b.$implicit;b=P(4);var c;C(1);G("ngSwitch",null==(c=U(2,4,b.listViewPrefs$))?null:null==c.fieldStatus?null:c.fieldStatus.mode)("title",b.STATUS_FULL_TEXT[a]===b.STATUS_TERSE[a]?"":b.STATUS_FULL_TEXT[a]);C(2);G("ngSwitchCase","icon");C(1);G("ngSwitchCase","plain")}},WIb=function(a){a&1&&(L(0),R(1,VIb,6,6,"ng-container",3),M());if(a&2){a=P().row;var b=P(2);C(1);G("ngIf",b.convertIssueStatusStrToTag(a.status))}},
XIb=function(a){a&1&&(H(0,"td",67),R(1,WIb,2,1,"ng-container",3),J());a&2&&(P(2),C(1),G("ngIf",!0))},YIb=function(a,b){a&1&&(H(0,"b-person-hovercard",75),S(1),J());a&2&&(a=b.ngIf,b=P().row,G("email",a),C(1),Te(" ",b.assignee," "))},ZIb=function(a){a&1&&(H(0,"span"),S(1,"--"),J())},$Ib=function(a,b){a&1&&(H(0,"td",73),L(1),R(2,YIb,2,2,"b-person-hovercard",74),T(3,"omitObfuscatedEmail"),R(4,ZIb,2,0,"span",3),M(),J());a&2&&(a=b.row,C(2),G("ngIf",U(3,2,a.assignee)),C(2),G("ngIf",!a.assignee))},bJb=function(a){if(a&
1){var b=x();H(0,"div",29)(1,"pop-grid",30);O("focusedRowIndexChange",function(c){z(b);var d=P();return A(d.focusedRowIndex=c)})("rowClick",function(c){z(b);var d=P();return A(d.goToIssue(c.id,c.isRead,c.event))})("sortChange",function(c){z(b);var d=P();return A(d.onSortChange(c))});R(2,BIb,3,2,"th",31);R(3,DIb,3,3,"th",32);R(4,EIb,3,2,"th",33);R(5,FIb,1,0,"td",34);R(6,GIb,3,3,"td",35);R(7,HIb,3,4,"td",36);R(8,JIb,4,3,"td",37);R(9,LIb,2,1,"td",38);R(10,MIb,4,1,"td",39);R(11,QIb,13,21,"td",40);R(12,
RIb,4,7,"td",41);R(13,XIb,2,1,"td",42);R(14,$Ib,5,4,"td",43);J()()}a&2&&(a=P(),C(1),G("list",aJb(a))("columns",a.columns)("focusedRowIndex",a.focusedRowIndex)("enableDragDropHeader",!1)("rowLabelRenderer",a.issueDescription)("sort",a.sortConfig),C(1),G("forHeaderCell","focused"),C(1),G("forHeaderCell","selected"),C(2),G("forViewCell","focused"),C(1),G("forViewCell","selected"),C(1),G("forViewCell","starred"),C(1),G("forViewCell","issueId"),C(1),G("forViewCell","alerts"),C(1),G("forViewCell","dismiss"),
C(1),G("forViewCell","title"),C(1),G("forViewCell","priority"),C(1),G("forViewCell","status"),C(1),G("forViewCell","assignee"))},cJb=function(a){a&1&&Le(0)},eJb=function(a,b){a&1&&(L(0),R(1,cJb,1,0,"ng-container",7),M());if(a&2){a=b.$implicit;P(3);var c=Se(5);C(1);G("ngTemplateOutlet",c)("ngTemplateOutletContext",Ze(2,dJb,a))}},fJb=function(a){a&1&&(H(0,"div",4)(1,"div",5),S(2,"TEAMFOOD"),J(),R(3,eJb,2,4,"ng-container",6),T(4,"async"),J());a&2&&(a=P(2),C(3),G("ngForOf",U(4,1,a.beapFeaturesTF$)))},
gJb=function(a){a&1&&Le(0)},hJb=function(a,b){a&1&&(L(0),R(1,gJb,1,0,"ng-container",7),M());if(a&2){a=b.$implicit;P(3);var c=Se(5);C(1);G("ngTemplateOutlet",c)("ngTemplateOutletContext",Ze(2,dJb,a))}},iJb=function(a){a&1&&(H(0,"div",4)(1,"div",5),S(2,"EARLY ACCESS"),J(),R(3,hJb,2,4,"ng-container",6),T(4,"async"),J());a&2&&(a=P(2),C(3),G("ngForOf",U(4,1,a.beapFeaturesEA$)))},jJb=function(a){a&1&&(L(0),R(1,fJb,5,3,"div",3),T(2,"async"),R(3,iJb,5,3,"div",3),T(4,"async"),M());a&2&&(a=P(),C(1),G("ngIf",
U(2,2,a.hasFeaturesTF$)),C(2),G("ngIf",U(4,4,a.hasFeaturesEA$)))},kJb=function(a){a&1&&(H(0,"div",8),S(1,"No available experiments"),J())},lJb=function(a){a&1&&(H(0,"a",23),S(1," Learn more"),J());a&2&&(a=P().feature,Ae("href",a.learnMoreLink,vd))},mJb=function(a){a&1&&(H(0,"b-callout",24)(1,"b-callout-body"),S(2," Reload page to see changes. "),J()())},nJb=function(a,b){if(a&1){var c=x();H(0,"div",9)(1,"div",10)(2,"div",11);K(3,"mat-slide-toggle",12);T(4,"featureState");T(5,"featureState");J();H(6,
"div",13)(7,"div",14);S(8);J();H(9,"span",15);S(10);R(11,lJb,2,1,"a",16);J();H(12,"div",17)(13,"a",18);O("click",function(){var d=z(c).feature;P().linkClicked[d.experimentId]=!0;return A()});K(14,"mat-icon",19);S(15);T(16,"featureState");J()();R(17,mJb,3,0,"b-callout",20);J();H(18,"div",21);K(19,"b-app-beap-state-indicator",22);J()()()}a&2&&(a=b.feature,b=P(),C(3),G("checked",U(4,10,a.state))("matTooltip",U(5,12,a.state)?"Opted in":"Opted out")("disabled",!0),C(5),Te(" ",a.title," "),C(2),Te("",a.description,
" "),C(1),G("ngIf",a.learnMoreLink),C(2),Ae("href","https://webdog.corp.google.com/app/list;frontend=buganizer;id="+a.experimentId,vd),C(2),Te(" ",U(16,14,a.state)?"Opt out":"Opt in"," "),C(2),G("ngIf",!!b.linkClicked[a.experimentId]),C(2),G("experimentId",a.experimentId))},oJb=function(a){a&1&&(H(0,"mat-option",26),S(1),J());a&2&&(a=P().$implicit,G("value",a),C(1),Te(" ",a.name," "))},pJb=function(a,b){a&1&&(L(0),R(1,oJb,2,2,"mat-option",25),M());a&2&&(a=b.$implicit,C(1),G("ngIf",a.shouldDisplay()))},
qJb=function(a,b){a&1&&(H(0,"mat-option",29),S(1),J());a&2&&(a=b.$implicit,G("value",a.id),C(1),Te(" ",a.name," "))},sJb=function(a){if(a&1){var b=x();H(0,"mat-form-field",5)(1,"mat-select",27);O("ngModelChange",function(c){z(b);var d=P();return A(d.preferredHomepage.selectedOptionId=c)})("selectionChange",function(){z(b);var c=P();return A(rJb(c.preferredHomepage))});R(2,qJb,2,2,"mat-option",28);J()()}a&2&&(a=P(),C(1),G("ngModel",a.preferredHomepage.selectedOptionId),C(1),G("ngForOf",a.preferredHomepage.selectedMainOption.options))},
tJb=function(a,b){a&1&&(H(0,"mat-option",30),S(1),J());a&2&&(a=b.$implicit,G("value",a.value),C(1),Te(" ",a.label," "))},uJb=function(a,b){a&1&&(H(0,"mat-option",30),S(1),J());a&2&&(a=b.$implicit,G("value",a.value),C(1),Te(" ",a.label," "))},vJb=function(a,b){a&1&&(H(0,"mat-option",30),S(1),J());a&2&&(a=b.$implicit,G("value",a.value),C(1),Te(" ",a.label," "))},wJb=function(a){if(a&1){var b=x();H(0,"div",20)(1,"mat-slide-toggle",31);O("change",function(c){z(b);var d=P();c=c.checked;d.userPreferences.showInlineImages=
c;d.save("showInlineImages",c.toString());return A()});S(2," Show SnipIt images inline in comments ");J()()}a&2&&(a=P(),C(1),G("checked",a.getShowInlineImages()))},xJb=function(a){if(a&1){var b=x();L(0);H(1,"div",0)(2,"div",1)(3,"p",2);S(4,"Other");J()();H(5,"div")(6,"div")(7,"mat-slide-toggle",32);O("change",function(c){z(b);var d=P();d.userPreferences.bugScreensaverPreferences.enableBugScreensaver=c.checked;return A(d.save("saveBugScreensaverPreferences"))});S(8," Enable bug screensaver ");J()()()();
M()}a&2&&(a=P(),C(7),G("checked",a.userPreferences.bugScreensaverPreferences.enableBugScreensaver))},yJb=function(a,b){a&1&&(H(0,"mat-option",20),S(1),T(2,"toNewEmailPreference"),J());a&2&&(a=b.$implicit,G("value",a),C(1),Te(" ",U(2,2,a)," "))},zJb=function(a,b){a&1&&(H(0,"mat-option",20),S(1),T(2,"toNewEmailPreference"),J());a&2&&(a=b.$implicit,G("value",a),C(1),Te(" ",U(2,2,a)," "))},AJb=function(a,b){a&1&&(H(0,"mat-option",20),S(1),T(2,"toNewEmailPreference"),J());a&2&&(a=b.$implicit,G("value",
a),C(1),Te(" ",U(2,2,a)," "))},BJb=function(a,b){a&1&&(H(0,"mat-option",20),S(1),T(2,"toNewEmailPreference"),J());a&2&&(a=b.$implicit,G("value",a),C(1),Te(" ",U(2,2,a)," "))},CJb=function(a,b){a&1&&(H(0,"mat-option",20),S(1),T(2,"toNewEmailPreference"),J());a&2&&(a=b.$implicit,G("value",a),C(1),Te(" ",U(2,2,a)," "))},DJb=function(a,b){a&1&&(H(0,"mat-option",20),S(1),T(2,"toNewEmailPreference"),J());a&2&&(a=b.$implicit,G("value",a),C(1),Te(" ",U(2,2,a)," "))},EJb=function(a,b){a&1&&(H(0,"mat-option",
3),S(1),J());a&2&&(a=b.$implicit,G("value",a.id),C(1),Te(" ",a.displayName," "))},FJb=function(a){a&1&&(L(0),K(1,"b-spinner"),M())},GJb=function(a){a&1&&(H(0,"mat-hint"),S(1,"This field is read-only"),J())},HJb=function(a,b){a&1&&(H(0,"mat-option",20),S(1),J());a&2&&(a=b.$implicit,G("value",a.frequency),C(1),Te(" ",a.display," "))},IJb=function(a,b){a&1&&(H(0,"mat-option",20),S(1),J());a&2&&(a=b.$implicit,G("value",a.ordinal),C(1),Te(" ",a.display," "))},KJb=function(a){if(a&1){var b=x();H(0,"div")(1,
"mat-form-field",14)(2,"mat-label");S(3," Repeat on ");J();H(4,"mat-select",16);O("ngModelChange",function(d){z(b);var e=P(2).ngIf,g=P(2);JJb(g,Object.assign({},e,{ordinal:d}));return A()});R(5,IJb,2,2,"mat-option",17);J()()()}if(a&2){a=P(2).ngIf;var c=P(2);C(4);G("ngModel",a.ordinal);C(1);G("ngForOf",c.repeatOnOptions.get(a.frequency))}},LJb=function(a,b){a&1&&(H(0,"mat-option",20),S(1),J());a&2&&(a=b.$implicit,G("value",a.timeOfDay),C(1),Te(" ~",a.display," "))},MJb=function(a,b){if(a&1){var c=
x();L(0);H(1,"div")(2,"mat-form-field",14)(3,"mat-label");S(4," Repeat at ");J();H(5,"mat-select",21);O("ngModelChange",function(e){z(c);var g=P(2).ngIf,h=P(2);JJb(h,Object.assign({},g,{timeOfDay:e}));return A()});R(6,LJb,2,2,"mat-option",17);J()()();M()}if(a&2){a=b.ngIf;b=P(2).ngIf;var d=P(2);C(5);G("ngModel",b.timeOfDay)("compareWith",d.compareTimeOfDay);C(1);G("ngForOf",a)}},NJb=function(a){a&1&&(H(0,"div",22),S(1),J());a&2&&(a=P(2).ngIf,C(1),Te(" Subscription ID: ",a.id," "))},OJb=function(a){if(a&
1){var b=x();L(0);H(1,"div")(2,"mat-form-field",14)(3,"mat-label");S(4," Frequency ");J();H(5,"mat-select",16);O("ngModelChange",function(d){z(b);var e=P().ngIf,g=P(2);return A(g.setFrequency(d,e))});R(6,HJb,2,2,"mat-option",17);J()()();R(7,KJb,6,2,"div",0);R(8,MJb,7,3,"ng-container",0);T(9,"async");H(10,"div")(11,"b-timezone-picker",18);O("timezoneIdChange",function(d){z(b);var e=P().ngIf,g=P(2);return A(g.setTimeZone(d,e))});J()();R(12,NJb,2,1,"div",19);M()}if(a&2){a=P().ngIf;var c=P(2);C(5);G("ngModel",
a.frequency);C(1);G("ngForOf",c.frequencyOptions);C(1);G("ngIf",a.frequency!==c.DAILY);C(1);G("ngIf",U(9,7,c.repeatAtOptions$));C(3);G("timezoneId",a.timeZone.id)("fullWidth",!0);C(1);G("ngIf",a.id)}},QJb=function(a,b){if(a&1){var c=x();L(0);H(1,"div")(2,"div",7)(3,"mat-slide-toggle",13);O("change",function(){z(c);var d=P(2);return A(PJb(d))});T(4,"async");S(5," Subscribe to your own reports ");R(6,FJb,2,0,"ng-container",0);T(7,"async");J()();H(8,"div")(9,"mat-form-field",14)(10,"mat-label");S(11,
"Scope");J();H(12,"input",15);O("focus",function(){z(c);var d=P(2);return A(d.inputHasFocus=!0)})("blur",function(){z(c);var d=P(2);return A(d.inputHasFocus=!1)});J();R(13,GJb,2,0,"mat-hint",0);J()();R(14,OJb,13,9,"ng-container",0);J();M()}a&2&&(a=b.ngIf,b=P(2),C(3),G("disabled",U(4,6,b.isThinking$))("checked",0!==a.id),C(3),G("ngIf",U(7,8,b.isThinking$)),C(6),G("ngModel",b.currentUser.email),C(1),G("ngIf",b.inputHasFocus),C(1),G("ngIf",0!==a.id))},RJb=function(a){a&1&&(L(0),H(1,"div",1)(2,"div",
2)(3,"p",3),S(4,"Frequency settings"),J(),H(5,"p",10),S(6," Choose when to receive your own reports. "),H(7,"a",11),S(8,"Learn more"),J()()(),R(9,QJb,15,10,"ng-container",0),T(10,"async"),J(),K(11,"hr",12),M());a&2&&(a=P(),C(9),G("ngIf",U(10,1,a.userSubscription$)))},SJb=function(a){a&1&&(L(0),K(1,"b-spinner"),M())},TJb=function(a){a&1&&(H(0,"th",31),S(1,"Scope"),J())},UJb=function(a,b){a&1&&(H(0,"td",32),S(1),J());a&2&&(a=b.$implicit,C(1),Te(" ",a.lead.emailAddress," "))},VJb=function(a){a&1&&(H(0,
"th",31),S(1,"Frequency"),J())},YJb=function(a,b){a&1&&(H(0,"td",32),S(1),T(2,"async"),T(3,"async"),J());if(a&2){a=b.$implicit;b=P(2);var c;C(1);Wla(" ",b.frequencyDisplayMap.get(a.frequency)," ",a.ordinal?"weekly"===a.frequency?"- "+WJb[a.ordinal-1].display:"monthly"===a.frequency?"- "+XJb(a.ordinal):"":""," - ",null==(c=U(2,4,b.hourOfDayDisplayMap$))?null:c.get(a.timeOfDay.hours)," - ",null==(c=U(3,6,b.timeZoneDisplayMap$))?null:c.get(a.timeZone.id)," ")}},ZJb=function(a){a&1&&K(0,"th",31)},aKb=
function(a){if(a&1){var b=x();H(0,"td",32)(1,"button",33);K(2,"mat-icon",34);J();H(3,"mat-menu",null,35)(5,"button",36);O("click",function(){var d=z(b).$implicit,e=P(2);return A(e.openDialog(d))});S(6," Edit subscription ");J();H(7,"button",37);O("click",function(){var d=z(b).$implicit,e=P(2);return A($Jb(e,d))});S(8," Delete subscription ");J()()()}if(a&2){var c=Se(4);C(1);G("matMenuTriggerFor",c)}},bKb=function(a){a&1&&K(0,"tr",38)},cKb=function(a,b){a&1&&K(0,"tr",39);a&2&&(a=b.$implicit,Ae("aria-label",
"Subscription with ID "+a.id+" and scoped to "+a.lead.emailAddress))},dKb=function(a){a&1&&(L(0),H(1,"table",23),L(2,24),R(3,TJb,2,0,"th",25),R(4,UJb,2,1,"td",26),M(),L(5,27),R(6,VJb,2,0,"th",25),R(7,YJb,4,8,"td",26),M(),L(8,28),R(9,ZJb,1,0,"th",25),R(10,aKb,9,1,"td",26),M(),R(11,bKb,1,0,"tr",29),R(12,cKb,1,1,"tr",30),J(),M());a&2&&(a=P(),C(1),G("dataSource",a.subscriptions$),C(10),G("matHeaderRowDef",a.columns),C(1),G("matRowDefColumns",a.columns))},eKb=function(a){a&1&&(H(0,"mat-error"),S(1,"Please select a valid, single user"),
J())},fKb=function(a){a&1&&(H(0,"mat-error"),S(1,"Report for sundar@ cannot be generated"),J())},gKb=function(a,b){a&1&&(H(0,"mat-option",20),S(1),J());a&2&&(a=b.$implicit,G("value",a.frequency),C(1),Te(" ",a.display," "))},hKb=function(a,b){a&1&&(H(0,"mat-option",20),S(1),J());a&2&&(a=b.$implicit,G("value",a.ordinal),C(1),Te(" ",a.display," "))},iKb=function(a){if(a&1){var b=x();H(0,"div")(1,"mat-form-field",14)(2,"mat-label");S(3," Repeat on ");J();H(4,"mat-select",16);O("ngModelChange",function(d){z(b);
var e=P().$implicit;return A(e.ordinal=d)});R(5,hKb,2,2,"mat-option",17);J()()()}if(a&2){a=P().$implicit;var c=P();C(4);G("ngModel",a.ordinal);C(1);G("ngForOf",c.repeatOnOptions.get(a.frequency))}},jKb=function(a,b){a&1&&(H(0,"mat-option",20),S(1),J());a&2&&(a=b.$implicit,G("value",a.timeOfDay),C(1),Te(" ~",a.display," "))},kKb=function(a,b){if(a&1){var c=x();L(0);H(1,"div")(2,"mat-form-field",14)(3,"mat-label");S(4," Repeat at ");J();H(5,"mat-select",21);O("ngModelChange",function(e){z(c);var g=
P().$implicit;return A(g.timeOfDay=e)});R(6,jKb,2,2,"mat-option",17);J()()();M()}if(a&2){a=b.ngIf;b=P().$implicit;var d=P();C(5);G("ngModel",b.timeOfDay)("compareWith",d.compareTimeOfDay);C(1);G("ngForOf",a)}},lKb=function(a){a&1&&(H(0,"div",22),S(1),J());a&2&&(a=P().$implicit,C(1),Te(" Subscription ID: ",a.id," "))},oKb=function(a,b){if(a&1){var c=x();H(0,"h1",40);S(1,"Add report subscription");J();H(2,"mat-dialog-content")(3,"p",41);S(4," Select the user (scope) and frequency of the report you wish to receive. ");
J();H(5,"div")(6,"mat-form-field",42)(7,"mat-label");S(8,"Scope");J();H(9,"input",43);O("ngModelChange",function(e){var g=z(c).$implicit,h=P();return A(g.lead=h.emailToUser(e))});J();R(10,eKb,2,0,"mat-error",0);R(11,fKb,2,0,"mat-error",0);J()();H(12,"div")(13,"mat-form-field",14)(14,"mat-label");S(15," Frequency ");J();H(16,"mat-select",16);O("ngModelChange",function(e){var g=z(c).$implicit;return A(g.frequency=e)})("ngModelChange",function(e){var g=z(c).$implicit;P();return A(mKb(e,g))});R(17,gKb,
2,2,"mat-option",17);J()()();R(18,iKb,6,2,"div",0);R(19,kKb,7,3,"ng-container",0);T(20,"async");H(21,"div")(22,"b-timezone-picker",18);O("timezoneIdChange",function(e){var g=z(c).$implicit;return A(g.timeZone.id=e)});J()();R(23,lKb,2,1,"div",19);H(24,"p",44);S(25," You are the only recipient of your subscription. Anyone else wishing to receive this report will need to subscribe for themselves. ");J();H(26,"a",45);S(27,"Learn more");J()();H(28,"mat-dialog-actions")(29,"button",46);S(30,"Cancel");J();
H(31,"button",8);O("click",function(){var e=z(c).$implicit,g=P();return A(nKb(g,e))});S(32);J()()}if(a&2){a=b.$implicit;b=P();var d;C(9);G("ngModel",null!==(d=null==a.lead?null:a.lead.emailAddress)&&void 0!==d?d:"")("bContactAutocomplete","SINGLE");C(1);G("ngIf",b.dialogInvalidEmailFormat);C(1);G("ngIf",b.ceoSelected);C(5);G("ngModel",a.frequency);C(1);G("ngForOf",b.frequencyOptions);C(1);G("ngIf",a.frequency!==b.DAILY);C(1);G("ngIf",U(20,13,b.repeatAtOptions$));C(3);G("timezoneId",a.timeZone.id)("fullWidth",
!0);C(1);G("ngIf",a.id);C(8);G("disabled",!a.lead||!a.lead.emailAddress);C(1);Te(" ",0===a.id?"Add":"Update"," ")}},XJb=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"},pKb=function(a){a&1&&(H(0,"mat-tab",7)(1,"div",3),K(2,"b-slo-reports-settings"),J()())},qKb=function(a){a&1&&(H(0,"mat-tab",8)(1,"div",3),K(2,"b-beap-settings"),J()())},rKb=function(a){if(a&1){var b=x();H(0,"b-star-toggle",13);O("starClicked",
function(){z(b);var c=P(2);return A(c.toggleStar())});J()}a&2&&(a=P(2),G("starMessage","Star this bookmark group")("unStarMessage","Un-star this bookmark group")("starred",a.isStarred))},sKb=function(a){a&1&&K(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)},tKb=function(a,b){a&1&&(H(0,"li")(1,"a",15),S(2),J()());a&2&&
(a=b.$implicit,b=P(2),C(1),G("href",b.getUrl(a),vd)("title",a.description),C(1),Te(" ",b.getDisplayName(a)," "))},uKb=function(a){if(a&1){var b=x();H(0,"div")(1,"div",4)(2,"div",5);R(3,rKb,1,3,"b-star-toggle",6);R(4,sKb,1,4,"b-star-toggle",7);H(5,"span",8);S(6);J();H(7,"button",9);O("click",function(){z(b);var c=P();return A(c.openEditBookmarkGroup())});J()();H(8,"div",10);S(9);J()();H(10,"ul",11);R(11,tKb,3,3,"li",12);J()()}a&2&&(a=P(),C(3),G("ngIf",!a.userIsAdmin),C(1),G("ngIf",a.userIsAdmin),C(2),
Te("Bookmark Group: ",a.bookmarkGroup.name," "),C(3),Ve(a.bookmarkGroup.description),C(2),G("ngForOf",a.bookmarkGroup.item))},vKb=function(a){if(a&1){var b=x();H(0,"b-star-toggle",16);O("starClicked",function(){z(b);var c=P(2);return A(c.toggleStar())})("keydown.space",function(c){return c.stopPropagation()})("keydown.enter",function(c){return c.stopPropagation()});J()}a&2&&(a=P(2),G("starMessage","Star this hotlist")("unStarMessage","Un-star this hotlist")("starred",a.isStarred))},wKb=function(a){a&
1&&K(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)},xKb=function(a){a&1&&K(0,"b-star-toggle",17);a&2&&G("starMessage","")("unStarMessage","")("starred",!1)("disabled",!0)},yKb=function(a){a&1&&(H(0,"div",18),S(1," Hotlist not found. "),J());a&2&&G("bFocus",!0)},zKb=function(a){a&1&&(H(0,"div"),S(1," Loading details... "),J())},AKb=
function(a){a&1&&(H(0,"span",25),S(1," (archived) "),J())},BKb=function(a){a&1&&(H(0,"span",26),S(1," \u00a0(changed) "),J())},CKb=function(a){if(a&1){var b=x();H(0,"div")(1,"span",19);S(2," Hotlist: ");H(3,"span",20);S(4);J()();R(5,AKb,2,0,"span",21);H(6,"div",22)(7,"button",23);O("click",function(){z(b);var c=P(2);return A(c.openEditHotlist())});J()();R(8,BKb,2,0,"span",24);J()}a&2&&(a=P(2),C(3),G("matTooltip",a.hotlist.description),C(1),Te(" ",a.hotlist.name," "),C(1),G("ngIf",a.hotlist.archived),
C(3),G("ngIf",a.hasParamChanges()))},DKb=function(a){if(a&1){var b=x();H(0,"div",27)(1,"button",28);O("click",function(){z(b);var c=P(2);return A(c.save())});S(2,"Save ");J();H(3,"button",29);O("click",function(){z(b);var c=P(2);return A(c.discardChanges())});S(4,"Discard changes ");J()()}},EKb=function(a){a&1&&(H(0,"div",9),R(1,vKb,1,3,"b-star-toggle",10),R(2,wKb,1,4,"b-star-toggle",11),R(3,xKb,1,4,"b-star-toggle",11),H(4,"div",12),R(5,yKb,2,1,"div",13),R(6,zKb,2,0,"div",14),R(7,CKb,9,4,"div",14),
J(),R(8,DKb,5,0,"div",15),J());a&2&&(a=P(),C(1),G("ngIf",!a.isDirectAdmin()&&a.hotlist&&!a.hotlist.archived),C(1),G("ngIf",a.isDirectAdmin()&&a.hotlist&&!a.hotlist.archived),C(1),G("ngIf",!a.hotlist),C(2),G("ngIf",!a.hotlist&&!a.hotlistLoading),C(1),G("ngIf",a.hotlistLoading),C(1),G("ngIf",a.hotlist&&!a.hotlistLoading),C(1),G("ngIf",a.hasParamChanges()))},FKb=function(a){a&1&&(H(0,"div",30),K(1,"b-spinner"),H(2,"span"),S(3),J()());a&2&&(a=P(),C(3),Te(" Loading hotlist: ",a.hotlistId,""))},GKb=function(a){a&
1&&(H(0,"div",31),S(1),J());a&2&&(a=P(),G("bFocus",!0),C(1),Te(" No issues in hotlist ",a.hotlistId,". "))},HKb=function(a){if(a&1){var b=x();H(0,"div",32)(1,"b-issues-grid",33);O("init",function(c){z(b);var d=P();return A(d.resultsGrid=c)})("focusedRowIndexChange",function(c){z(b);var d=P();return A(d.focusedRowIndex=c)})("columnsChange",function(c){z(b);var d=P();return A(d.issueColumns=c)})("sortChange",function(c){z(b);var d=P();return A(d.setSort(c.field,c.direction))})("rowClick",function(c){z(b);
var d=P();return A(d.goToIssue(c.id,c.isRead,c.event))})("onRowDragDrop",function(c){z(b);var d=P();return A(d.repositionIssue(c.srcIndex,c.destIndex))})("onNextPage",function(){z(b);var c=P();return A(mp(c,c.page,1))})("onPrevPage",function(){z(b);var c=P();return A(mp(c,c.page,-1))});J()()}a&2&&(a=P(),C(1),G("searchResults",a.searchResults)("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns)("enableColumnSaving",!!a.isColumnSaveEnabled)("sort",a.getSort()))},IKb=function(a){a&1&&(H(0,
"div"),S(1," Loading details... "),J())},JKb=function(a){a&1&&(H(0,"div"),S(1," Saved search not found. "),J())},KKb=function(a){a&1&&(H(0,"span",15),S(1," \u00a0(changed) "),J())},LKb=function(a){if(a&1){var b=x();H(0,"div",11);S(1," Saved search: ");H(2,"span",12);S(3);J();H(4,"button",13);O("click",function(){z(b);var c=P(2);return A(c.openEditSavedSearch())});J();R(5,KKb,2,0,"span",14);J()}a&2&&(a=P(2),C(2),G("matTooltip",a.savedSearch.description),C(1),Te(" ",a.savedSearch.name," "),C(2),G("ngIf",
a.hasParamChanges()))},MKb=function(a){a&1&&(H(0,"div",9),R(1,IKb,2,0,"div",8),R(2,JKb,2,0,"div",8),R(3,LKb,6,3,"div",10),J());a&2&&(a=P(),C(1),G("ngIf",!a.savedSearch&&a.isLoading),C(1),G("ngIf",!a.savedSearch&&!a.isLoading),C(1),G("ngIf",a.savedSearch))},NKb=function(a){if(a&1){var b=x();H(0,"div",16)(1,"button",17);O("click",function(){z(b);var c=P();return A(c.save())});S(2,"Save ");J();H(3,"button",18);O("click",function(){z(b);var c=P();return A(c.discardChanges())});S(4,"Discard changes ");
J();H(5,"span",19)(6,"a",20);O("click",function(){z(b);var c=P();c.analytics.trackEvent(c.ANALYTICS_CATEGORY,"backToNormalSearch");return A()});S(7," Back to normal search");J()()()}a&2&&(a=P(),C(6),G("href",a.exitLink,vd))},OKb=function(a){a&1&&(H(0,"span"),S(1),J());a&2&&(a=P(3),C(1),Te(" Searching",a.searchParams.query?" for "+a.searchParams.query:"","..."))},PKb=function(a){a&1&&(H(0,"div",24),K(1,"b-spinner"),R(2,OKb,2,1,"span",8),J());a&2&&(a=P(2),C(2),G("ngIf",a.searchParams))},QKb=function(a){a&
1&&(H(0,"div",25),S(1," No issues in saved search. "),J());a&2&&G("bFocus",!0)},RKb=function(a){if(a&1){var b=x();H(0,"div",26)(1,"b-issues-grid",27);O("init",function(c){z(b);var d=P(2);return A(d.resultsGrid=c)})("focusedRowIndexChange",function(c){z(b);var d=P(2);return A(d.focusedRowIndex=c)})("columnsChange",function(c){z(b);var d=P(2);return A(d.issueColumns=c)})("sortChange",function(c){z(b);var d=P(2);return A(d.setSort(c.field,c.direction))})("rowClick",function(c){z(b);var d=P(2);return A(d.goToIssue(c.id,
c.isRead,c.event))})("onNextPage",function(){z(b);var c=P(2);return A(mp(c,c.page,1))})("onPrevPage",function(){z(b);var c=P(2);return A(mp(c,c.page,-1))});J()()}a&2&&(a=P(2),C(1),G("searchResults",a.searchResults)("focusedRowIndex",a.focusedRowIndex)("columns",a.issueColumns)("enableColumnSaving",!!a.isColumnSaveEnabled)("sort",a.getSort()))},SKb=function(a){a&1&&(H(0,"div"),R(1,PKb,3,1,"div",21),R(2,QKb,2,1,"div",22),R(3,RKb,2,5,"div",23),J());a&2&&(a=P(),C(1),G("ngIf",a.isLoading),C(1),G("ngIf",
!a.isLoading&&!a.hasResults()),C(1),G("ngIf",!a.isLoading&&a.hasResults()))},TKb=function(a,b){return bk().config.enabledFlags.get(a)?[b]:[]},UKb=function(){var a=wc(rp).getEnvironmentType(),b={};return(b.DEV="Dev",b.NIGHTLY="Autopush",b.QA="Dev",b.PROD="Prod",b)[a]},WKb=function(){return new VKb(new sp("https://people-pa.googleapis.com","AIzaSyClMyMjdjUv-Z9gej4bgUQoU3CSbak7a9s",{withCredentials:!0,"googleapis.config/auth/useFirstPartyAuth":!0,"googleapis.config/auth/useFirstPartyAuthV2":!0}))},XKb=
function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}},YKb="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},ZKb=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");},gg=ZKb(this),
tp=function(a,b){if(b)a:{var c=gg;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&&YKb(c,a,{configurable:!0,writable:!0,value:b})}};
tp("Symbol",function(a){if(a)return a;var b=function(g,h){this.$jscomp$symbol$id_=g;YKb(this,"description",{configurable:!0,writable:!0,value:h})};b.prototype.toString=function(){return this.$jscomp$symbol$id_};var c="jscomp_symbol_"+(1E9*Math.random()>>>0)+"_",d=0,e=function(g){if(this instanceof e)throw new TypeError("b");return new b(c+(g||"")+"_"+d++,g)};return e});
tp("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=gg[b[c]];"function"===typeof d&&"function"!=typeof d.prototype[a]&&YKb(d.prototype,a,{configurable:!0,writable:!0,value:function(){return $Kb(XKb(this))}})}return a});tp("Symbol.asyncIterator",function(a){return a?a:Symbol("d")});
var $Kb=function(a){a={next:a};a[Symbol.iterator]=function(){return this};return a},up=function(a){return a.raw=a},k=function(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];if(b)return b.call(a);if("number"==typeof a.length)return{next:XKb(a)};throw Error("e`"+String(a));},vja=function(a){for(var b,c=[];!(b=a.next()).done;)c.push(b.value);return c},Jc=function(a){return a instanceof Array?a:vja(k(a))},vp=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},aLb=
"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)vp(d,e)&&(a[e]=d[e])}return a};tp("Object.assign",function(a){return a||aLb});var bLb="function"==typeof Object.create?Object.create:function(a){var b=function(){};b.prototype=a;return new b},cLb;
if("function"==typeof Object.setPrototypeOf)cLb=Object.setPrototypeOf;else{var dLb;a:{var eLb={a:!0},fLb={};try{fLb.__proto__=eLb;dLb=fLb.a;break a}catch(a){}dLb=!1}cLb=dLb?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError("f`"+a);return a}:null}
var wp=cLb,V=function(a,b){a.prototype=bLb(b.prototype);a.prototype.constructor=a;if(wp)wp(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},gLb=function(){this.isRunning_=!1;this.yieldAllIterator_=null;this.yieldResult=void 0;this.nextAddress=1;this.finallyAddress_=this.catchAddress_=0;this.finallyContexts_=this.abruptCompletion_=null};f=gLb.prototype;
f.start_=function(){if(this.isRunning_)throw new TypeError("h");this.isRunning_=!0};f.next_=function(a){this.yieldResult=a};f.throw_=function(a){this.abruptCompletion_={exception:a,isException:!0};this.nextAddress=this.catchAddress_||this.finallyAddress_};f.return=function(a){this.abruptCompletion_={return:a};this.nextAddress=this.finallyAddress_};f.yield=function(a,b){this.nextAddress=b;return{value:a}};f.jumpTo=function(a){this.nextAddress=a};
var Qd=function(a){a.nextAddress=0},Md=function(a,b,c){a.catchAddress_=b;void 0!=c&&(a.finallyAddress_=c)},xp=function(a,b){a.nextAddress=b;a.catchAddress_=0},Pd=function(a){a.catchAddress_=0;var b=a.abruptCompletion_.exception;a.abruptCompletion_=null;return b},Nd=function(a,b,c,d){d?a.finallyContexts_[d]=a.abruptCompletion_:a.finallyContexts_=[a.abruptCompletion_];a.catchAddress_=b||0;a.finallyAddress_=c||0},Od=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},hLb=function(a){this.context_=new gLb;this.program_=a};hLb.prototype.next_=function(a){this.context_.start_();if(this.context_.yieldAllIterator_)return iLb(this,this.context_.yieldAllIterator_.next,a,this.context_.next_);this.context_.next_(a);return jLb(this)};
var kLb=function(a,b){a.context_.start_();var c=a.context_.yieldAllIterator_;if(c)return iLb(a,"return"in c?c["return"]:function(d){return{value:d,done:!0}},b,a.context_.return);a.context_.return(b);return jLb(a)};hLb.prototype.throw_=function(a){this.context_.start_();if(this.context_.yieldAllIterator_)return iLb(this,this.context_.yieldAllIterator_["throw"],a,this.context_.next_);this.context_.throw_(a);return jLb(this)};
var iLb=function(a,b,c,d){try{var e=b.call(a.context_.yieldAllIterator_,c);if(!(e instanceof Object))throw new TypeError("g`"+e);if(!e.done)return a.context_.isRunning_=!1,e;var g=e.value}catch(h){return a.context_.yieldAllIterator_=null,a.context_.throw_(h),jLb(a)}a.context_.yieldAllIterator_=null;d.call(a.context_,g);return jLb(a)},jLb=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}},lLb=function(a){this.next=function(b){return a.next_(b)};this.throw=function(b){return a.throw_(b)};this.return=function(b){return kLb(a,b)};this[Symbol.iterator]=function(){return this}},Ojb=function(a){var b=Pjb;a=new lLb(new hLb(a));wp&&b.prototype&&wp(a,
b.prototype);return a},mLb=function(a){function b(d){return a.next(d)}function c(d){return a.throw(d)}return new Promise(function(d,e){function g(h){h.done?d(h.value):Promise.resolve(h.value).then(b,c).then(g,e)}g(a.next())})},Ld=function(a){return mLb(new lLb(new hLb(a)))},aja=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))})},Fc=function(){for(var a=Number(this),b=[],c=a;c<arguments.length;c++)b[c-a]=arguments[c];return b};tp("Reflect.setPrototypeOf",function(a){return a?a:wp?function(b,c){try{return wp(b,c),!0}catch(d){return!1}}:null});
tp("Promise",function(a){function b(){this.batch_=null}function c(h){return h instanceof e?h:new e(function(l){l(h)})}if(a)return a;b.prototype.asyncExecute=function(h){if(null==this.batch_){this.batch_=[];var l=this;this.asyncExecuteFunction(function(){l.executeBatch_()})}this.batch_.push(h)};var d=gg.setTimeout;b.prototype.asyncExecuteFunction=function(h){d(h,0)};b.prototype.executeBatch_=function(){for(;this.batch_&&this.batch_.length;){var h=this.batch_;this.batch_=[];for(var l=0;l<h.length;++l){var q=
h[l];h[l]=null;try{q()}catch(v){this.asyncThrow_(v)}}}this.batch_=null};b.prototype.asyncThrow_=function(h){this.asyncExecuteFunction(function(){throw h;})};var e=function(h){this.state_=0;this.result_=void 0;this.onSettledCallbacks_=[];this.isRejectionHandled_=!1;var l=this.createResolveAndReject_();try{h(l.resolve,l.reject)}catch(q){l.reject(q)}};e.prototype.createResolveAndReject_=function(){function h(v){return function(y){q||(q=!0,v.call(l,y))}}var l=this,q=!1;return{resolve:h(this.resolveTo_),
reject:h(this.reject_)}};e.prototype.resolveTo_=function(h){if(h===this)this.reject_(new TypeError("i"));else if(h instanceof e)this.settleSameAsPromise_(h);else{a:switch(typeof h){case "object":var l=null!=h;break a;case "function":l=!0;break a;default:l=!1}l?this.resolveToNonPromiseObj_(h):this.fulfill_(h)}};e.prototype.resolveToNonPromiseObj_=function(h){var l=void 0;try{l=h.then}catch(q){this.reject_(q);return}"function"==typeof l?this.settleSameAsThenable_(l,h):this.fulfill_(h)};e.prototype.reject_=
function(h){this.settle_(2,h)};e.prototype.fulfill_=function(h){this.settle_(1,h)};e.prototype.settle_=function(h,l){if(0!=this.state_)throw Error("j`"+h+"`"+l+"`"+this.state_);this.state_=h;this.result_=l;2===this.state_&&this.scheduleUnhandledRejectionCheck_();this.executeOnSettledCallbacks_()};e.prototype.scheduleUnhandledRejectionCheck_=function(){var h=this;d(function(){if(h.notifyUnhandledRejection_()){var l=gg.console;"undefined"!==typeof l&&l.error(h.result_)}},1)};e.prototype.notifyUnhandledRejection_=
function(){if(this.isRejectionHandled_)return!1;var h=gg.CustomEvent,l=gg.Event,q=gg.dispatchEvent;if("undefined"===typeof q)return!0;"function"===typeof h?h=new h("unhandledrejection",{cancelable:!0}):"function"===typeof l?h=new l("unhandledrejection",{cancelable:!0}):(h=gg.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)g.asyncExecute(this.onSettledCallbacks_[h]);this.onSettledCallbacks_=null}};var g=new b;e.prototype.settleSameAsPromise_=function(h){var l=this.createResolveAndReject_();h.callWhenSettled_(l.resolve,l.reject)};e.prototype.settleSameAsThenable_=function(h,l){var q=this.createResolveAndReject_();try{h.call(l,q.resolve,q.reject)}catch(v){q.reject(v)}};e.prototype.then=function(h,l){function q(I,N){return"function"==typeof I?function(Q){try{v(I(Q))}catch(Z){y(Z)}}:
N}var v,y,B=new e(function(I,N){v=I;y=N});this.callWhenSettled_(q(h,v),q(l,y));return B};e.prototype.catch=function(h){return this.then(void 0,h)};e.prototype.callWhenSettled_=function(h,l){function q(){switch(v.state_){case 1:h(v.result_);break;case 2:l(v.result_);break;default:throw Error("k`"+v.state_);}}var v=this;null==this.onSettledCallbacks_?g.asyncExecute(q):this.onSettledCallbacks_.push(q);this.isRejectionHandled_=!0};e.resolve=c;e.reject=function(h){return new e(function(l,q){q(h)})};e.race=
function(h){return new e(function(l,q){for(var v=k(h),y=v.next();!y.done;y=v.next())c(y.value).callWhenSettled_(l,q)})};e.all=function(h){var l=k(h),q=l.next();return q.done?c([]):new e(function(v,y){function B(Q){return function(Z){I[Q]=Z;N--;0==N&&v(I)}}var I=[],N=0;do I.push(void 0),N++,c(q.value).callWhenSettled_(B(I.length-1),y),q=l.next();while(!q.done)})};return e});var yp=function(a,b,c){if(null==a)throw new TypeError("l`"+c);if(b instanceof RegExp)throw new TypeError("m`"+c);return a+""};
tp("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=yp(this,b,"startsWith"),e=d.length,g=b.length;c=Math.max(0,Math.min(c|0,d.length));for(var h=0;h<g&&c<e;)if(d[c++]!=b[h++])return!1;return h>=g}});var nLb=function(a,b,c){a instanceof String&&(a=String(a));for(var d=a.length,e=0;e<d;e++){var g=a[e];if(b.call(c,g,e,a))return{i:e,v:g}}return{i:-1,v:void 0}};tp("Array.prototype.find",function(a){return a?a:function(b,c){return nLb(this,b,c).v}});
tp("WeakMap",function(a){function b(){}function c(q){var v=typeof q;return"object"===v&&null!==q||"function"===v}function d(q){if(!vp(q,g)){var v=new b;YKb(q,g,{value:v})}}function e(q){var v=Object[q];v&&(Object[q]=function(y){if(y instanceof b)return y;Object.isExtensible(y)&&d(y);return v(y)})}if(function(){if(!a||!Object.seal)return!1;try{var q=Object.seal({}),v=Object.seal({}),y=new a([[q,2],[v,3]]);if(2!=y.get(q)||3!=y.get(v))return!1;y.delete(q);y.set(v,4);return!y.has(q)&&4==y.get(v)}catch(B){return!1}}())return a;
var g="$jscomp_hidden_"+Math.random();e("freeze");e("preventExtensions");e("seal");var h=0,l=function(q){this.id_=(h+=Math.random()+1).toString();if(q){q=k(q);for(var v;!(v=q.next()).done;)v=v.value,this.set(v[0],v[1])}};l.prototype.set=function(q,v){if(!c(q))throw Error("n");d(q);if(!vp(q,g))throw Error("o`"+q);q[g][this.id_]=v;return this};l.prototype.get=function(q){return c(q)&&vp(q,g)?q[g][this.id_]:void 0};l.prototype.has=function(q){return c(q)&&vp(q,g)&&vp(q[g],this.id_)};l.prototype.delete=
function(q){return c(q)&&vp(q,g)&&vp(q[g],this.id_)?delete q[g][this.id_]:!1};return l});
tp("Map",function(a){if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var l=Object.seal({x:4}),q=new a(k([[l,"s"]]));if("s"!=q.get(l)||1!=q.size||q.get({x:4})||q.set({x:4},"t")!=q||2!=q.size)return!1;var v=q.entries(),y=v.next();if(y.done||y.value[0]!=l||"s"!=y.value[1])return!1;y=v.next();return y.done||4!=y.value[0].x||"t"!=y.value[1]||!v.next().done?!1:!0}catch(B){return!1}}())return a;var b=new WeakMap,c=function(l){this.data_={};this.head_=
g();this.size=0;if(l){l=k(l);for(var q;!(q=l.next()).done;)q=q.value,this.set(q[0],q[1])}};c.prototype.set=function(l,q){l=0===l?0:l;var v=d(this,l);v.list||(v.list=this.data_[v.id]=[]);v.entry?v.entry.value=q:(v.entry={next:this.head_,previous:this.head_.previous,head:this.head_,key:l,value:q},v.list.push(v.entry),this.head_.previous.next=v.entry,this.head_.previous=v.entry,this.size++);return this};c.prototype.delete=function(l){l=d(this,l);return l.entry&&l.list?(l.list.splice(l.index,1),l.list.length||
delete this.data_[l.id],l.entry.previous.next=l.entry.next,l.entry.next.previous=l.entry.previous,l.entry.head=null,this.size--,!0):!1};c.prototype.clear=function(){this.data_={};this.head_=this.head_.previous=g();this.size=0};c.prototype.has=function(l){return!!d(this,l).entry};c.prototype.get=function(l){return(l=d(this,l).entry)&&l.value};c.prototype.entries=function(){return e(this,function(l){return[l.key,l.value]})};c.prototype.keys=function(){return e(this,function(l){return l.key})};c.prototype.values=
function(){return e(this,function(l){return l.value})};c.prototype.forEach=function(l,q){for(var v=this.entries(),y;!(y=v.next()).done;)y=y.value,l.call(q,y[1],y[0],this)};c.prototype[Symbol.iterator]=c.prototype.entries;var d=function(l,q){var v=q&&typeof q;"object"==v||"function"==v?b.has(q)?v=b.get(q):(v=""+ ++h,b.set(q,v)):v="p_"+q;var y=l.data_[v];if(y&&vp(l.data_,v))for(l=0;l<y.length;l++){var B=y[l];if(q!==q&&B.key!==B.key||q===B.key)return{id:v,list:y,index:l,entry:B}}return{id:v,list:y,index:-1,
entry:void 0}},e=function(l,q){var v=l.head_;return $Kb(function(){if(v){for(;v.head!=l.head_;)v=v.previous;for(;v.next!=v.head;)return v=v.next,{done:!1,value:q(v)};v=null}return{done:!0,value:void 0}})},g=function(){var l={};return l.previous=l.next=l.head=l},h=0;return c});tp("Object.is",function(a){return a?a:function(b,c){return b===c?0!==b||1/b===1/c:b!==b&&c!==c}});
tp("Array.prototype.includes",function(a){return a?a:function(b,c){var d=this;d instanceof String&&(d=String(d));var e=d.length;c=c||0;for(0>c&&(c=Math.max(c+e,0));c<e;c++){var g=d[c];if(g===b||Object.is(g,b))return!0}return!1}});tp("String.prototype.includes",function(a){return a?a:function(b,c){return-1!==yp(this,b,"includes").indexOf(b,c||0)}});tp("Number.MAX_SAFE_INTEGER",function(){return 9007199254740991});
tp("Number.isFinite",function(a){return a?a:function(b){return"number"!==typeof b?!1:!isNaN(b)&&Infinity!==b&&-Infinity!==b}});tp("Number.isNaN",function(a){return a?a:function(b){return"number"===typeof b&&isNaN(b)}});tp("Number.isInteger",function(a){return a?a:function(b){return Number.isFinite(b)?b===Math.floor(b):!1}});tp("Number.isSafeInteger",function(a){return a?a:function(b){return Number.isInteger(b)&&Math.abs(b)<=Number.MAX_SAFE_INTEGER}});
var oLb=function(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&c<a.length){var g=c++;return{value:b(g,a[g]),done:!1}}d=!0;return{done:!0,value:void 0}}};e[Symbol.iterator]=function(){return e};return e};tp("Array.prototype.entries",function(a){return a?a:function(){return oLb(this,function(b,c){return[b,c]})}});tp("Array.prototype.keys",function(a){return a?a:function(){return oLb(this,function(b){return b})}});
tp("Array.from",function(a){return a?a:function(b,c,d){c=null!=c?c:function(l){return l};var e=[],g="undefined"!=typeof Symbol&&Symbol.iterator&&b[Symbol.iterator];if("function"==typeof g){b=g.call(b);for(var h=0;!(g=b.next()).done;)e.push(c.call(d,g.value,h++))}else for(g=b.length,h=0;h<g;h++)e.push(c.call(d,b[h],h));return e}});tp("Array.prototype.values",function(a){return a?a:function(){return oLb(this,function(b,c){return c})}});
tp("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 zp=function(a){return a?a:Array.prototype.fill};tp("Int8Array.prototype.fill",zp);tp("Uint8Array.prototype.fill",zp);tp("Uint8ClampedArray.prototype.fill",zp);tp("Int16Array.prototype.fill",zp);tp("Uint16Array.prototype.fill",zp);tp("Int32Array.prototype.fill",zp);
tp("Uint32Array.prototype.fill",zp);tp("Float32Array.prototype.fill",zp);tp("Float64Array.prototype.fill",zp);tp("Object.setPrototypeOf",function(a){return a||wp});
tp("Set",function(a){if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var c=Object.seal({x:4}),d=new a(k([c]));if(!d.has(c)||1!=d.size||d.add(c)!=d||1!=d.size||d.add({x:4})!=d||2!=d.size)return!1;var e=d.entries(),g=e.next();if(g.done||g.value[0]!=c||g.value[1]!=c)return!1;g=e.next();return g.done||g.value[0]==c||4!=g.value[0].x||g.value[1]!=g.value[0]?!1:e.next().done}catch(h){return!1}}())return a;var b=function(c){this.map_=new Map;if(c){c=
k(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.map_.size};b.prototype.add=function(c){c=0===c?0:c;this.map_.set(c,c);this.size=this.map_.size;return this};b.prototype.delete=function(c){c=this.map_.delete(c);this.size=this.map_.size;return c};b.prototype.clear=function(){this.map_.clear();this.size=0};b.prototype.has=function(c){return this.map_.has(c)};b.prototype.entries=function(){return this.map_.entries()};b.prototype.values=function(){return this.map_.values()};b.prototype.keys=
b.prototype.values;b.prototype[Symbol.iterator]=b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.map_.forEach(function(g){return c.call(d,g,g,e)})};return b});tp("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)vp(b,d)&&c.push([d,b[d]]);return c}});tp("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}});
tp("String.prototype.endsWith",function(a){return a?a:function(b,c){var d=yp(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}});tp("String.prototype.repeat",function(a){return a?a:function(b){var c=yp(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}});tp("Object.getOwnPropertySymbols",function(a){return a?a:function(){return[]}});
tp("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}});tp("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}});tp("Array.prototype.findIndex",function(a){return a?a:function(b,c){return nLb(this,b,c).i}});
tp("Array.prototype.flatMap",function(a){return a?a:function(b,c){var d=[];Array.prototype.forEach.call(this,function(e,g){e=b.call(c,e,g,this);Array.isArray(e)?d.push.apply(d,e):d.push(e)});return d}});
tp("String.prototype.matchAll",function(a){return a?a:function(b){if(b instanceof RegExp&&!b.global)throw new TypeError("q");var c=new RegExp(b,b instanceof RegExp?void 0:"g"),d=this,e=!1,g={next:function(){if(e)return{value:void 0,done:!0};var h=c.exec(d);if(!h)return e=!0,{value:void 0,done:!0};""===h[0]&&(c.lastIndex+=1);return{value:h,done:!1}}};g[Symbol.iterator]=function(){return g};return g}});
tp("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;})})}});tp("Promise.allSettled",function(a){function b(d){return{status:"fulfilled",value:d}}function c(d){return{status:"rejected",reason:d}}return a?a:function(d){var e=this;d=Array.from(d,function(g){return e.resolve(g).then(b,c)});return e.all(d)}});
tp("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}});tp("String.prototype.padStart",function(a){return a?a:function(b,c){var d=yp(this,null,"padStart");b-=d.length;c=void 0!==c?String(c):" ";return(0<b&&c?c.repeat(Math.ceil(b/c.length)).substring(0,b):"")+d}});
tp("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)vp(b,d)&&c.push(b[d]);return c}});tp("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)}});tp("Array.of",function(a){return a?a:function(b){return Array.from(arguments)}});
tp("String.prototype.codePointAt",function(a){return a?a:function(b){var c=yp(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 pLb=pLb||{},ca=this||self,Em=function(a,b){a=a.split(".");b=b||ca;for(var c=0;c<a.length;c++)if(b=b[a[c]],null==b)return null;return b},Rb=function(a){var b=typeof a;return"object"!=b?b:a?Array.isArray(a)?"array":b:"null"},sa=function(a){var b=Rb(a);return"array"==b||"object"==b&&"number"==typeof a.length},ta=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b},ua=function(a){return Object.prototype.hasOwnProperty.call(a,qLb)&&a[qLb]||(a[qLb]=++rLb)},qLb="closure_uid_"+(1E9*Math.random()>>>
0),rLb=0,sLb=function(a,b,c){return a.call.apply(a.bind,arguments)},tLb=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)}},Ap=function(a,b,c){Ap=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?sLb:tLb;return Ap.apply(null,arguments)},Bp=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)}},uLb=function(a){(0,eval)(a)},vLb=function(a,b){a=a.split(".");var c=ca;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},Cp=function(a,b){function c(){}c.prototype=b.prototype;a.superClass_=b.prototype;a.prototype=new c;a.prototype.constructor=
a;a.base=function(d,e,g){for(var h=Array(arguments.length-2),l=2;l<arguments.length;l++)h[l-2]=arguments[l];return b.prototype[e].apply(d,h)}},wLb=function(a){return a};Cp(aa,Error);aa.prototype.name="CustomError";var xLb;Cp(aaa,aa);aaa.prototype.name="AssertionError";var yLb=void 0,zLb,ALb,BLb="undefined"!==typeof TextDecoder,CLb,DLb="undefined"!==typeof TextEncoder;var Jg=function(a,b){return 0==a.lastIndexOf(b,0)},Dp=function(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c},pdb=function(a){return 0==Hn("@ldap.google.com",a.slice(a.length-16))},nj=function(a){return/^[\s\xa0]*$/.test(a)},Lg=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},Hn=function(a,b){a=String(a).toLowerCase();b=String(b).toLowerCase();return a<b?-1:a==b?0:1},LLb=function(a){if(!ELb.test(a))return a;-1!=a.indexOf("&")&&
(a=a.replace(FLb,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace(GLb,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(HLb,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(ILb,"&quot;"));-1!=a.indexOf("'")&&(a=a.replace(JLb,"&#39;"));-1!=a.indexOf("\x00")&&(a=a.replace(KLb,"&#0;"));return a},FLb=/&/g,GLb=/</g,HLb=/>/g,ILb=/"/g,JLb=/'/g,KLb=/\x00/g,ELb=/[\x00&<>"']/,ha=function(a,b){return-1!=a.indexOf(b)},vaa=function(a,b){return ha(a.toLowerCase(),b.toLowerCase())},waa=function(a,b){var c=0;a=Lg(String(a)).split(".");
b=Lg(String(b)).split(".");for(var d=Math.max(a.length,b.length),e=0;0==c&&e<d;e++){var g=a[e]||"",h=b[e]||"";do{g=/(\d*)(\D*)(.*)/.exec(g)||["","","",""];h=/(\d*)(\D*)(.*)/.exec(h)||["","","",""];if(0==g[0].length&&0==h[0].length)break;c=MLb(0==g[1].length?0:parseInt(g[1],10),0==h[1].length?0:parseInt(h[1],10))||MLb(0==g[2].length,0==h[2].length)||MLb(g[2],h[2]);g=g[3];h=h[3]}while(0==c)}return c},MLb=function(a,b){return a<b?-1:a>b?1:0};var ea,NLb=Em("WIZ_global_data.oxN3nb"),OLb=NLb&&NLb[610401301];ea=null!=OLb?OLb:!1;var fa,PLb=ca.navigator;fa=PLb?PLb.userAgentData||null:null;var Aaa=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if("string"===typeof a)return"string"!==typeof b||1!=b.length?-1:a.indexOf(b,0);for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},oa=Array.prototype.forEach?function(a,b,c){Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e="string"===typeof a?a.split(""):a,g=0;g<d;g++)g in e&&b.call(c,e[g],g,a)},QLb=Array.prototype.filter?function(a,b,c){return Array.prototype.filter.call(a,
b,c)}:function(a,b,c){for(var d=a.length,e=[],g=0,h="string"===typeof a?a.split(""):a,l=0;l<d;l++)if(l in h){var q=h[l];b.call(c,q,l,a)&&(e[g++]=q)}return e},RLb=Array.prototype.map?function(a,b){return Array.prototype.map.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=Array(c),e="string"===typeof a?a.split(""):a,g=0;g<c;g++)g in e&&(d[g]=b.call(void 0,e[g],g,a));return d},SLb=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 TLb=function(a){TLb[" "](a);return a};TLb[" "]=function(){};var ULb=function(a,b){try{return TLb(a[b]),!0}catch(c){}return!1};var VLb=eaa(),Ep=faa(),Fp=ia("Edge"),j2a=Fp||Ep,Gp=ia("Gecko")&&!(vaa(da(),"WebKit")&&!ia("Edge"))&&!(ia("Trident")||ia("MSIE"))&&!ia("Edge"),Hp=vaa(da(),"WebKit")&&!ia("Edge"),WLb=Hp&&ia("Mobile"),Qn=saa(),XLb=taa(),YLb=(paa()?"Linux"===fa.platform:ia("Linux"))||uaa(),ZLb=ca.navigator||null;ZLb&&ha(ZLb.appVersion||"","X11");var $Lb=qaa(),aMb=raa(),bMb=ia("iPad"),cMb=ia("iPod"),dMb=ma();vaa(da(),"KaiOS");var eMb=function(){var a=ca.document;return a?a.documentMode:void 0},fMb;
a:{var gMb="",hMb=function(){var a=da();if(Gp)return/rv:([^\);]+)(\)|;)/.exec(a);if(Fp)return/Edge\/([\d\.]+)/.exec(a);if(Ep)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(Hp)return/WebKit\/(\S+)/.exec(a);if(VLb)return/(?:Version)[ \/]?(\S+)/.exec(a)}();hMb&&(gMb=hMb?hMb[1]:"");if(Ep){var iMb=eMb();if(null!=iMb&&iMb>parseFloat(gMb)){fMb=String(iMb);break a}}fMb=gMb}var jMb=fMb,kMb;if(ca.document&&Ep){var lMb=eMb();kMb=lMb?lMb:parseInt(jMb,10)||void 0}else kMb=void 0;var Ip=kMb;var mMb=iaa(),nMb=raa()||ia("iPod"),oMb=ia("iPad"),pMb=laa(),qMb=jaa(),rMb=kaa()&&!ma();var sMb={},tMb=null,uMb=Gp||Hp||!rMb&&!Ep&&"function"==typeof ca.atob,Oaa=function(a,b){void 0===b&&(b=0);vMb();b=sMb[b];for(var c=Array(Math.floor(a.length/3)),d=b[64]||"",e=0,g=0;e<a.length-2;e+=3){var h=a[e],l=a[e+1],q=a[e+2],v=b[h>>2];h=b[(h&3)<<4|l>>4];l=b[(l&15)<<2|q>>6];q=b[q&63];c[g++]=v+h+l+q}v=0;q=d;switch(a.length-e){case 2:v=a[e+1],q=b[(v&15)<<2]||d;case 1:a=a[e],c[g]=b[a>>2]+b[(a&3)<<4|v>>4]+q+d}return c.join("")},Kkb=function(a){if(uMb)return ca.atob(a);var b="";wMb(a,function(c){b+=
String.fromCharCode(c)});return b},xMb=function(a){var b=[];wMb(a,function(c){b.push(c)});return b},Saa=function(a){var b=a.length,c=3*b/4;c%3?c=Math.floor(c):ha("=.",a[b-1])&&(c=ha("=.",a[b-2])?c-2:c-1);var d=new Uint8Array(c),e=0;wMb(a,function(g){d[e++]=g});return e!==c?d.subarray(0,e):d},wMb=function(a,b){function c(q){for(;d<a.length;){var v=a.charAt(d++),y=tMb[v];if(null!=y)return y;if(!nj(v))throw Error("H`"+v);}return q}vMb();for(var d=0;;){var e=c(-1),g=c(0),h=c(64),l=c(64);if(64===l&&-1===
e)break;b(e<<2|g>>4);64!=h&&(b(g<<4&240|h>>2),64!=l&&b(h<<6&192|l))}},vMb=function(){if(!tMb){tMb={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));sMb[c]=d;for(var e=0;e<d.length;e++){var g=d[e];void 0===tMb[g]&&(tMb[g]=e)}}}};var Vaa="undefined"!==typeof Uint8Array,Naa=!Ep&&"function"===typeof btoa,Taa=/[-_.]/g,Qaa={"-":"+",_:"/",".":"="},Xaa,ya={};var yMb,xa=function(a,b){if(b!==ya)throw Error("I");this.value_=a;if(null!=a&&0===a.length)throw Error("J");},va=function(){return yMb||(yMb=new xa(null,ya))},jca=function(a){var b=a.value_;return null==b?"":"string"===typeof b?b:a.value_=Paa(b)},mOa=function(a){return(a=$aa(a))?new Uint8Array(a):Yaa()};xa.prototype.isEmpty=function(){return null==this.value_};xa.prototype.sizeBytes=function(){var a=$aa(this);return a?a.length:0};
var $aa=function(a){if(ya!==ya)throw Error("I");var b=a.value_;null==b||Waa(b)||("string"===typeof b?b=Uaa(b):(Rb(b),b=null));return null==b?b:a.value_=b};var zMb="function"===typeof Uint8Array.prototype.slice,Aa=0,Ba=0,hba="function"===typeof BigInt;var Kb=function(a,b){this.bytes_=null;this.bytesAreImmutable_=!1;this.cursor_=this.end_=this.start_=0;this.init(a,void 0,void 0,b)};f=Kb.prototype;f.init=function(a,b,c,d){d=void 0===d?{}:d;this.aliasBytesFields=void 0===d.aliasBytesFields?!1:d.aliasBytesFields;a&&(a=aba(a),this.bytes_=a.buffer,this.bytesAreImmutable_=a.isImmutable,this.start_=b||0,this.end_=void 0!==c?this.start_+c:this.bytes_.length,this.cursor_=this.start_)};f.free=function(){this.clear();100>AMb.length&&AMb.push(this)};
f.clear=function(){this.bytes_=null;this.bytesAreImmutable_=!1;this.cursor_=this.end_=this.start_=0;this.aliasBytesFields=!1};f.getEnd=function(){return this.end_};f.setEnd=function(a){this.end_=a};f.reset=function(){this.cursor_=this.start_};f.getCursor=function(){return this.cursor_};var BMb=function(a,b){a.cursor_=b};Kb.prototype.advance=function(a){CMb(this,this.cursor_+a)};
Kb.prototype.readSplitVarint64=function(a){var b=0,c=0,d=0,e=this.bytes_,g=this.cursor_;do{var h=e[g++];b|=(h&127)<<d;d+=7}while(32>d&&h&128);32<d&&(c|=(h&127)>>4);for(d=3;32>d&&h&128;d+=7)h=e[g++],c|=(h&127)<<d;CMb(this,g);if(128>h)return a(b>>>0,c>>>0);throw Error("B");};var CMb=function(a,b){a.cursor_=b;if(b>a.end_)throw Error("C`"+b+"`"+a.end_);};
Kb.prototype.readSignedVarint32=function(){var a=this.bytes_,b=this.cursor_,c=a[b++],d=c&127;if(c&128&&(c=a[b++],d|=(c&127)<<7,c&128&&(c=a[b++],d|=(c&127)<<14,c&128&&(c=a[b++],d|=(c&127)<<21,c&128&&(c=a[b++],d|=c<<28,c&128&&a[b++]&128&&a[b++]&128&&a[b++]&128&&a[b++]&128&&a[b++]&128)))))throw Error("B");CMb(this,b);return d};var Hb=function(a){return a.readSignedVarint32()>>>0};f=Kb.prototype;f.readZigzagVarint32=function(){var a=Hb(this);return a>>>1^-(a&1)};f.readUnsignedVarint64=function(){return this.readSplitVarint64(dba)};
f.readSignedVarint64=function(){return this.readSplitVarint64(eba)};f.readSignedVarint64String=function(){return this.readSplitVarint64(kba)};f.readUint8=function(){var a=this.bytes_[this.cursor_];this.advance(1);return a};f.readUint32=function(){var a=this.bytes_,b=this.cursor_,c=a[b],d=a[b+1],e=a[b+2];a=a[b+3];this.advance(4);return(c<<0|d<<8|e<<16|a<<24)>>>0};f.readUint64=function(){var a=this.readUint32(),b=this.readUint32();return dba(a,b)};
f.readUint64String=function(){var a=this.readUint32(),b=this.readUint32();return jba(a,b)};f.readInt8=function(){var a=this.bytes_[this.cursor_];this.advance(1);return a<<24>>24};f.readInt32=function(){var a=this.bytes_,b=this.cursor_,c=a[b],d=a[b+1],e=a[b+2];a=a[b+3];this.advance(4);return c<<0|d<<8|e<<16|a<<24};f.readInt64=function(){var a=this.readUint32(),b=this.readUint32();return eba(a,b)};f.readInt64String=function(){var a=this.readUint32(),b=this.readUint32();return kba(a,b)};
f.readFloat=function(){var a=this.readUint32(),b=2*(a>>31)+1,c=a>>>23&255;a&=8388607;return 255==c?a?NaN:Infinity*b:0==c?b*Math.pow(2,-149)*a:b*Math.pow(2,c-150)*(a+Math.pow(2,23))};f.readDouble=function(){var a=this.readUint32(),b=this.readUint32(),c=2*(b>>31)+1,d=b>>>20&2047;a=4294967296*(b&1048575)+a;return 2047==d?a?NaN:Infinity*c:0==d?c*Math.pow(2,-1074)*a:c*Math.pow(2,d-1075)*(a+4503599627370496)};
f.readBool=function(){for(var a=0,b=this.cursor_,c=b+10,d=this.bytes_;b<c;){var e=d[b++];a|=e;if(0===(e&128))return CMb(this,b),!!(a&127)}throw Error("B");};f.readEnum=function(){return this.readSignedVarint32()};var DMb=function(a,b){if(0>b)throw Error("D`"+b);var c=a.cursor_,d=c+b;if(d>a.end_)throw Error("C`"+(a.end_-c)+"`"+b);a.cursor_=d;return c};
Kb.prototype.readString=function(a,b){var c=DMb(this,a),d=this.bytes_;if(BLb){var e;b?(e=zLb)||(e=zLb=new TextDecoder("utf-8",{fatal:!0})):(e=ALb)||(e=ALb=new TextDecoder("utf-8",{fatal:!1}));var g=c+a;d=0===c&&g===d.length?d:d.subarray(c,g);try{var h=e.decode(d)}catch(y){if(b){if(void 0===yLb){try{e.decode(new Uint8Array([128]))}catch(B){}try{e.decode(new Uint8Array([97])),yLb=!0}catch(B){yLb=!1}}b=!yLb}b&&(zLb=void 0);throw y;}}else{a=c+a;h=[];for(var l=null,q,v;c<a;)q=d[c++],128>q?h.push(q):224>
q?c>=a?ba(b,h):(v=d[c++],194>q||128!==(v&192)?(c--,ba(b,h)):h.push((q&31)<<6|v&63)):240>q?c>=a-1?ba(b,h):(v=d[c++],128!==(v&192)||224===q&&160>v||237===q&&160<=v||128!==((e=d[c++])&192)?(c--,ba(b,h)):h.push((q&15)<<12|(v&63)<<6|e&63)):244>=q?c>=a-2?ba(b,h):(v=d[c++],128!==(v&192)||0!==(q<<28)+(v-144)>>30||128!==((e=d[c++])&192)||128!==((g=d[c++])&192)?(c--,ba(b,h)):(q=(q&7)<<18|(v&63)<<12|(e&63)<<6|g&63,q-=65536,h.push((q>>10&1023)+55296,(q&1023)+56320))):ba(b,h),8192<=h.length&&(l=baa(l,h),h.length=
0);h=baa(l,h)}return h};Kb.prototype.readByteString=function(a){if(0==a)return va();var b=DMb(this,a);if(this.aliasBytesFields&&this.bytesAreImmutable_)b=this.bytes_.subarray(b,b+a);else{var c=this.bytes_;a=b+a;b=b===a?Yaa():zMb?c.slice(b,a):new Uint8Array(c.subarray(b,a))}return Zaa(b)};var AMb=[],ida=void 0;var vb=function(a){var b=void 0;if(AMb.length){var c=AMb.pop();c.init(a,void 0,void 0,b);a=c}else a=new Kb(a,b);this.decoder_=a;this.fieldCursor_=this.decoder_.getCursor();this.nextWireType_=this.nextTag_=this.nextField_=-1;this.setOptions(b)};f=vb.prototype;f.setOptions=function(a){a=void 0===a?{}:a;this.discardUnknownFields=void 0===a.discardUnknownFields?!1:a.discardUnknownFields};f.free=function(){this.decoder_.clear();this.nextWireType_=this.nextField_=this.nextTag_=-1;100>EMb.length&&EMb.push(this)};
f.getCursor=function(){return this.decoder_.getCursor()};f.getTag=function(){return this.nextTag_};f.reset=function(){this.decoder_.reset();this.fieldCursor_=this.decoder_.getCursor();this.nextWireType_=this.nextField_=this.nextTag_=-1};f.advance=function(a){this.decoder_.advance(a)};
var tb=function(a){var b=a.decoder_;if(b.cursor_==b.end_)return!1;a.fieldCursor_=a.decoder_.getCursor();b=Hb(a.decoder_);var c=b>>>3,d=b&7;if(!(0<=d&&5>=d))throw Error("v`"+d+"`"+a.fieldCursor_);if(1>c)throw Error("w`"+c+"`"+a.fieldCursor_);a.nextTag_=b;a.nextField_=c;a.nextWireType_=d;return!0},FMb=function(a){if(2!=a.nextWireType_)ub(a);else{var b=Hb(a.decoder_);a.decoder_.advance(b)}},ub=function(a){switch(a.nextWireType_){case 0:0!=a.nextWireType_?ub(a):a.decoder_.readBool();break;case 1:a.decoder_.advance(8);
break;case 2:FMb(a);break;case 5:a.decoder_.advance(4);break;case 3:var b=a.nextField_;do{if(!tb(a))throw Error("y");if(4==a.nextWireType_){if(a.nextField_!=b)throw Error("z");break}ub(a)}while(1);break;default:throw Error("v`"+a.nextWireType_+"`"+a.fieldCursor_);}},Cca=function(a,b){var c=a.fieldCursor_;ub(a);GMb(a,b,c)},GMb=function(a,b,c){if(!a.discardUnknownFields){var d=a.decoder_.getCursor()-c;a.decoder_.cursor_=c;a=a.decoder_.readByteString(d);(c=b.internalUnknownFields_)?c.push(a):b.internalUnknownFields_=
[a]}},rb=function(a,b,c){var d=a.decoder_.getEnd(),e=Hb(a.decoder_),g=a.decoder_.getCursor()+e,h=g-d;0>=h&&(a.decoder_.setEnd(g),c(b,a,void 0,void 0,void 0),h=g-a.decoder_.getCursor());if(h)throw Error("u`"+e+"`"+(e-h));a.decoder_.cursor_=g;a.decoder_.setEnd(d);return b},HMb=function(a,b,c,d){d(c,a);if(4!==a.nextWireType_)throw Error("A");if(a.nextField_!==b)throw Error("z");},IMb=function(a,b){for(var c=0,d=0;tb(a)&&4!=a.nextWireType_;)16!==a.getTag()||c?26!==a.getTag()||d?ub(a):c?(d=-1,rb(a,c,b)):
(d=a.fieldCursor_,FMb(a)):(c=a.readUint32(),d&&(a.decoder_.cursor_=d,d=0));if(12!==a.getTag()||!d||!c)throw Error("x");};f=vb.prototype;f.readInt32=function(){return this.decoder_.readSignedVarint32()};f.readInt64=function(){return this.decoder_.readSignedVarint64()};f.readInt64String=function(){return this.decoder_.readSignedVarint64String()};f.readUint32=function(){return Hb(this.decoder_)};f.readUint64=function(){return this.decoder_.readUnsignedVarint64()};f.readUint64String=function(){return this.decoder_.readSplitVarint64(jba)};
f.readFloat=function(){return this.decoder_.readFloat()};f.readDouble=function(){return this.decoder_.readDouble()};f.readBool=function(){return this.decoder_.readBool()};f.readEnum=function(){return this.decoder_.readSignedVarint32()};f.readString=function(){return this.readStringRequireUtf8()};f.readStringRequireUtf8=function(){var a=Hb(this.decoder_);return this.decoder_.readString(a,!0)};f.readByteString=function(){var a=Hb(this.decoder_);return this.decoder_.readByteString(a)};
f.readSplitVarint64=function(a){return this.decoder_.readSplitVarint64(a)};var Jb=function(a,b,c){var d=Hb(a.decoder_);for(d=a.decoder_.getCursor()+d;a.decoder_.getCursor()<d;)c.push(b.call(a.decoder_))},EMb=[];var JMb=function(a,b){this.lo=a>>>0;this.hi=b>>>0},LMb=function(a){if(!a)return KMb||(KMb=new JMb(0,0));if(!/^\d+$/.test(a))return null;lba(a);return new JMb(Aa,Ba)},KMb,MMb=function(a,b){this.lo=a>>>0;this.hi=b>>>0},mba=function(a){if(!a)return NMb||(NMb=new MMb(0,0));if(!/^-?\d+$/.test(a))return null;lba(a);return new MMb(Aa,Ba)},NMb;var Jp=function(){this.buffer_=[]};Jp.prototype.length=function(){return this.buffer_.length};Jp.prototype.end=function(){var a=this.buffer_;this.buffer_=[];return a};Jp.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)};Jp.prototype.writeSplitFixed64=function(a,b){this.writeUint32(a);this.writeUint32(b)};
var Kp=function(a,b){for(;127<b;)a.buffer_.push(b&127|128),b>>>=7;a.buffer_.push(b)},Lp=function(a,b){if(0<=b)Kp(a,b);else{for(var c=0;9>c;c++)a.buffer_.push(b&127|128),b>>=7;a.buffer_.push(1)}},OMb=function(a,b){lba(b);fba(function(c,d){a.writeSplitVarint64(c>>>0,d>>>0)})};f=Jp.prototype;f.writeUint8=function(a){this.buffer_.push(a>>>0&255)};f.writeUint32=function(a){this.buffer_.push(a>>>0&255);this.buffer_.push(a>>>8&255);this.buffer_.push(a>>>16&255);this.buffer_.push(a>>>24&255)};
f.writeUint64=function(a){bba(a);this.writeUint32(Aa);this.writeUint32(Ba)};f.writeInt8=function(a){this.buffer_.push(a>>>0&255)};f.writeInt32=function(a){this.buffer_.push(a>>>0&255);this.buffer_.push(a>>>8&255);this.buffer_.push(a>>>16&255);this.buffer_.push(a>>>24&255)};f.writeInt64=function(a){Ca(a);this.writeSplitFixed64(Aa,Ba)};
f.writeFloat=function(a){var b=+a;if(0===b)0<1/b?Aa=Ba=0:(Ba=0,Aa=2147483648);else if(isNaN(b))Ba=0,Aa=2147483647;else if(b=(a=0>b?-2147483648:0)?-b:b,3.4028234663852886E38<b)Ba=0,Aa=(a|2139095040)>>>0;else if(1.1754943508222875E-38>b)b=Math.round(b/Math.pow(2,-149)),Ba=0,Aa=(a|b)>>>0;else{var c=Math.floor(Math.log(b)/Math.LN2);b*=Math.pow(2,-c);b=Math.round(8388608*b);16777216<=b&&++c;Ba=0;Aa=(a|c+127<<23|b&8388607)>>>0}this.writeUint32(Aa)};
f.writeDouble=function(a){var b=+a;if(0===b)Ba=0<1/b?0:2147483648,Aa=0;else if(isNaN(b))Ba=2147483647,Aa=4294967295;else if(b=(a=0>b?-2147483648:0)?-b:b,1.7976931348623157E308<b)Ba=(a|2146435072)>>>0,Aa=0;else if(2.2250738585072014E-308>b){var c=b/Math.pow(2,-1074);Ba=(a|c/4294967296)>>>0;Aa=c>>>0}else{var d=b;c=0;if(2<=d)for(;2<=d&&1023>c;)c++,d/=2;else for(;1>d&&-1022<c;)d*=2,c--;b*=Math.pow(2,-c);Ba=(a|c+1023<<20|1048576*b&1048575)>>>0;Aa=4503599627370496*b>>>0}this.writeUint32(Aa);this.writeUint32(Ba)};
f.writeBool=function(a){this.buffer_.push(a?1:0)};f.writeEnum=function(a){Lp(this,a)};f.writeBytes=function(a){for(;8192<a.length;)Array.prototype.push.apply(this.buffer_,a.subarray(0,8192)),a=a.subarray(8192);Array.prototype.push.apply(this.buffer_,a)};var qb=function(){this.blocks_=[];this.totalLength_=0;this.encoder_=new Jp},wb=function(a,b){0!==b.length&&(a.blocks_.push(b),a.totalLength_+=b.length)},zb=function(a,b){Mp(a,b,2);b=a.encoder_.end();wb(a,b);b.push(a.totalLength_);return b},Ab=function(a,b){var c=b.pop();for(c=a.totalLength_+a.encoder_.length()-c;127<c;)b.push(c&127|128),c>>>=7,a.totalLength_++;b.push(c);a.totalLength_++},Mp=function(a,b,c){Kp(a.encoder_,8*b+c)},PMb=function(a,b,c){null!=c&&(Mp(a,b,0),"number"===typeof c?(a=a.encoder_,
Ca(c),a.writeSplitVarint64(Aa,Ba)):(c=LMb(c),a.encoder_.writeSplitVarint64(c.lo,c.hi)))},Wca=function(a,b,c){null!=c&&(Mp(a,b,0),"number"===typeof c?(a=a.encoder_,Ca(c),a.writeSplitVarint64(Aa,Ba)):(c=mba(c),a.encoder_.writeSplitVarint64(c.lo,c.hi)))};qb.prototype.writeInt32=function(a,b){null!=b&&null!=b&&(Mp(this,a,0),Lp(this.encoder_,b))};qb.prototype.writeInt64=function(a,b){null!=b&&(nba(b),Wca(this,a,b))};
qb.prototype.writeUint32=function(a,b){null!=b&&null!=b&&(Mp(this,a,0),Kp(this.encoder_,b))};qb.prototype.writeUint64=function(a,b){null!=b&&("string"===typeof b&&LMb(b),PMb(this,a,b))};var ada=function(a,b,c){null!=c&&("string"===typeof c&&LMb(c),Mp(a,b,1),"number"===typeof c?a.encoder_.writeUint64(c):(b=LMb(c),a.encoder_.writeSplitFixed64(b.lo,b.hi)))};f=qb.prototype;f.writeFloat=function(a,b){null!=b&&(Mp(this,a,5),this.encoder_.writeFloat(b))};
f.writeDouble=function(a,b){null!=b&&(Mp(this,a,1),this.encoder_.writeDouble(b))};f.writeBool=function(a,b){null!=b&&(Mp(this,a,0),this.encoder_.writeBool(b))};f.writeEnum=function(a,b){null!=b&&(b=parseInt(b,10),Mp(this,a,0),Lp(this.encoder_,b))};
f.writeString=function(a,b){if(null!=b){var c=!1;c=void 0===c?!1:c;if(DLb){if(c&&/(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])/.test(b))throw Error("F");b=(CLb||(CLb=new TextEncoder)).encode(b)}else{for(var d=0,e=new Uint8Array(3*b.length),g=0;g<b.length;g++){var h=b.charCodeAt(g);if(128>h)e[d++]=h;else{if(2048>h)e[d++]=h>>6|192;else{if(55296<=h&&57343>=h){if(56319>=h&&g<b.length){var l=b.charCodeAt(++g);if(56320<=l&&57343>=l){h=1024*(h-55296)+l-56320+65536;e[d++]=h>>18|
240;e[d++]=h>>12&63|128;e[d++]=h>>6&63|128;e[d++]=h&63|128;continue}else g--}if(c)throw Error("F");h=65533}e[d++]=h>>12|224;e[d++]=h>>6&63|128}e[d++]=h&63|128}}b=d===e.length?e:e.subarray(0,d)}Mp(this,a,2);Kp(this.encoder_,b.length);wb(this,this.encoder_.end());wb(this,b)}};f.writeBytes=function(a,b){null!=b&&(b=aba(b).buffer,Mp(this,a,2),Kp(this.encoder_,b.length),wb(this,this.encoder_.end()),wb(this,b))};var uca=function(a,b,c,d){null!=c&&(b=zb(a,b),d(c,a),Ab(a,b))};
qb.prototype.writeSplitFixed64=function(a,b){Mp(this,a,1);this.encoder_.writeSplitFixed64(b)};qb.prototype.writeSplitVarint64=function(a,b){Mp(this,a,0);this.encoder_.writeSplitVarint64(b)};var Sca=function(a,b){this.$$binaryReaderFn=a;this.$$binaryWriterFn=b};var Ea="function"===typeof Symbol&&"symbol"===typeof Symbol()?Symbol():void 0;var Jba={},QMb,Xa=Object.freeze(Ha([],23)),RMb=function(a){this.idx_=0;this.arr_=a};RMb.prototype.next=function(){return this.idx_<this.arr_.length?{done:!1,value:this.arr_[this.idx_++]}:{done:!0,value:void 0}};RMb.prototype[Symbol.iterator]=function(){return this};var Yba={};var Mba="function"===typeof Symbol&&"symbol"===typeof Symbol()?Symbol():"di";var ab=function(a,b,c,d){c=void 0===c?Nba:c;d=void 0===d?Nba:d;var e=Ga(a);e|=32;Ha(a,e);this.arrayState=e;this.valueCtor=b;this.keyToApi=c||Nba;this.valueToApi=this.valueCtor?Sba:d||Nba;var g=new Map;this.map_=g;for(var h=0;h<a.length;h++){var l=a[h],q=c(l[0],!1,!0),v=l[1];b||(v=d(l[1],!1,!0,void 0,void 0,e));null!=q&&g.set(q,v)}this.size=g.size},SMb=function(a){if(a.arrayState&2)throw Error("T");},kca=function(a,b){b=void 0===b?Tba:b;for(var c=Array.from(a.map_.keys()),d=0;d<c.length;d++){var e=
c[d],g=a.map_.get(c[d]);c[d]=[b(e),b(g)]}return c},$ba=function(a,b){b=void 0===b?Tba:b;var c=[];a=a.map_.entries();for(var d;!(d=a.next()).done;)d=d.value,d[0]=b(d[0]),d[1]=b(d[1]),c.push(d);return c};f=ab.prototype;f.getLength=function(){return this.size};f.clear=function(){SMb(this);this.map_.clear();this.size=0};f.delete=function(a){SMb(this);return this.map_.delete(this.keyToApi(a,!0,!1))?(this.size=this.map_.size,!0):!1};
f.entries=function(){for(var a=Array.from(this.map_.keys()),b=0;b<a.length;b++){var c=a[b];a[b]=[c,this.get(c)]}return new RMb(a)};f.keys=function(){return this.map_.keys()};f.values=function(){for(var a=Array.from(this.map_.keys()),b=0;b<a.length;b++)a[b]=this.get(a[b]);return new RMb(a)};f.forEach=function(a,b){var c=this;this.map_.forEach(function(d,e){a.call(b,c.get(e),e,c)})};
f.set=function(a,b){SMb(this);var c=this.map_;a=this.keyToApi(a,!0,!1);if(null==a)return this;if(null==b)return c.delete(a),this;c.set(a,this.valueToApi(b,!0,!0,this.valueCtor,!1,this.arrayState));this.size=c.size;return this};f.get=function(a){a=this.keyToApi(a,!1,!1);var b=this.map_,c=b.get(a);if(void 0!==c){var d=this.arrayState,e=this.valueCtor;return e?(Array.isArray(c)&&d&16&&sba(c),d=this.valueToApi(c,!1,!0,e,this.callToMutableOnAccess,d),d!==c&&b.set(a,d),d):c}};
f.has=function(a){return this.valueCtor?null!=this.get(a):this.map_.has(a)};ab.prototype[Symbol.iterator]=function(){return this.entries()};var m=function(a,b,c){return-1===b?null:b>=a.pivot_?a.internalSparseObject_?a.internalSparseObject_[b]:void 0:c&&a.internalSparseObject_&&(c=a.internalSparseObject_[b],null!=c)?c:a.internalArray_[b+a.arrayIndexOffset]},n=function(a,b,c,d){La(a);return Za(a,b,c,d)},Za=function(a,b,c,d){a.internalCachedImmutable_&&(a.internalCachedImmutable_=void 0);if(b>=a.pivot_||d)return d=a.pivot_+a.arrayIndexOffset,(a.internalSparseObject_||(a.internalSparseObject_=a.internalArray_[d]={}))[b]=c,a;a.internalArray_[b+
a.arrayIndexOffset]=c;(c=a.internalSparseObject_)&&b in c&&delete c[b];return a},qi=function(a,b,c){return void 0!==Eb(a,b,c,!1)},Di=function(a,b,c,d){return void 0!==Eb(a,b,ym(a,d,c))},Gb=function(a,b,c){return Uba(a,b,0,void 0===c?!1:c,Ja(a))},TMb=function(a,b,c){return eca(a,b,c,!1,3,Ga(a.internalArray_)).length},Np=function(a,b,c,d,e){gb(a,b,c,e,d,!1,1);return a},yb=function(a,b){var c=m(a,b),d=Bba(c);null!=d&&d!==c&&Za(a,b,d);return d},Db=function(a,b){a=m(a,b);return null==a?a:!!a},Fb=function(a,
b){var c=m(a,b),d=Ka(c,!0,!!(Ga(a.internalArray_)&18));null!=d&&d!==c&&Za(a,b,d);return d},Op=function(a,b,c,d){return $a(a,b,Bba,c,d)},Pp=function(a,b,c,d){return $a(a,b,Ga(a.internalArray_)&18?Vba:Wba,c,d)},si=function(a,b){a=Fb(a,b);return null==a?va():a},Xba,Oj=function(a,b,c){La(a);null==c?c=void 0:c=oba(c);return Za(a,b,c)},$h=function(a,b,c){return bb(a,b,c,Ta)},uh=function(a,b,c){return bb(a,b,c,Hba)},Qp=function(a,b){return n(a,b,void 0,!1)},UMb=function(a,b,c){La(a);c=Ka(c,!1,!1);null==
c||c.isEmpty()?dca(a,b):Za(a,b,c);return a},mm=function(a,b,c,d){La(a);(c=rh(a,c))&&c!==b&&null!=d&&dca(a,c);return Za(a,b,d)},ym=function(a,b,c){return rh(a,b)===c?c:-1},rh=function(a,b){for(var c=0,d=0;d<b.length;d++){var e=b[d];null!=m(a,e)&&(0!==c&&dca(a,c),c=e)}return c},Rp=function(a,b,c,d){var e=Ga(a.internalArray_);wba(e);var g=m(a,c,d);b=Wa(Lba(g,b,!0,e));g!==b&&Za(a,c,b,d);return b},Eb=function(a,b,c,d){var e=m(a,c,d);b=Lba(e,b,!1,Ga(a.internalArray_));b!==e&&null!=b&&Za(a,c,b,d);return b},
VMb=function(a,b,c){return(a=Eb(a,b,c,!1))?a:Kba(b)},W=function(a,b,c,d){d=void 0===d?!1:d;b=Eb(a,b,c,d);if(null==b)return b;if(!Ja(a)){var e=Wa(b);e!==b&&(b=e,Za(a,c,b,d))}return b},Tp=function(a,b,c){return VMb(a,b,ym(a,Sp,c))},yg=function(a,b,c){var d=Ga(a.internalArray_),e=!!(d&2);a=eca(a,b,c,void 0,e?1:2,d);if(!(e||Ga(a)&8)){for(e=0;e<a.length;e++)b=a[e],c=Wa(b),b!==c&&(a[e]=c);Fa(a,8)}return a},Oh=function(a,b,c,d,e){La(a);null==d&&(d=void 0);return Za(a,c,d,e)},sm=function(a,b,c,d){La(a);null==
d&&(d=void 0);return mm(a,b,c,d)},Th=function(a,b,c){La(a);if(null!=c){for(var d=!!c.length,e=0;e<c.length;e++){var g=c[e];d=d&&!Ja(g)}e=Ga(c);g=e|1;g=(d?g|8:g&-9)|4;g!=e&&(c=qba(c,g))}null==c&&(c=void 0);return Za(a,b,c)},um=function(a,b,c,d,e){gb(a,b,c,d,e);return a},Cb=function(a,b){return Dba(m(a,b))},xm=function(a,b){return m(a,b)},xg=function(a,b,c,d){return $a(a,b,Dba,c,d)},Wj=function(a,b,c,d){return $a(a,b,Eba,c,d)},Bg=function(a,b,c,d){return $a(a,b,Fba,c,d)},xi=function(a,b,c){return n(a,
b,Cba(c))},Cg=function(a,b,c,d){return $a(a,b,Iba,c,d)},Up=function(a,b){return m(a,b)},Gj=function(a,b,c,d){return 2===d?Uba(a,b,2,!1,Ja(a)):Gb(a,b,c)},vi=function(a,b,c){c=void 0===c?!1:c;return ob(Db(a,b),c)},Ag=function(a,b,c){c=void 0===c?0:c;return ob(Cb(a,b),c)},Vp=function(a,b,c){c=void 0===c?0:c;return ob(Ra(m(a,b)),c)},Wh=function(a,b,c){c=void 0===c?0:c;return ob(m(a,b),c)},Wp=function(a,b){var c=void 0===c?0:c;return ob(m(a,b),c)},lh=function(a,b,c){c=void 0===c?"0":c;return ob(m(a,b),
c)},WMb=function(a,b){var c=void 0===c?"0":c;return ob(m(a,b),c)},Xh=function(a,b,c){c=void 0===c?0:c;return ob(yb(a,b),c)},mh=function(a,b,c){c=void 0===c?"":c;return ob(m(a,b),c)},Fh=function(a,b,c){c=void 0===c?0:c;return ob(m(a,b),c)},Xp=function(a,b,c){a=xg(a,b,void 0,2);Ma(a,c);return a[c]},XMb=function(a,b){a=Wj(a,b,void 0,2);Ma(a);return a[void 0]},Yp=function(a,b,c){a=Bg(a,b,void 0,2);Ma(a,c);return a[c]},YMb=function(a,b){a=Op(a,1,void 0,2);Ma(a,b);return a[b]},Zp=function(a,b,c){a=Cg(a,
b,void 0,2);Ma(a,c);return a[c]},ZMb=function(a,b){a=Pp(a,b,void 0,2);Ma(a);return a[void 0]},$Mb=function(a,b,c){a=Gj(a,b,void 0,2);Ma(a,c);return a[c]},$p=function(a,b,c){return fb(a,b,c,void 0,Bg)},aq=function(a,b,c){return mh(a,ym(a,c,b))},bq=function(a,b,c){b=ym(a,c,b);return m(a,b)},lOa=function(a,b){b=ym(a,rm,b);return m(a,b)},zm=function(a,b,c){return yb(a,ym(a,c,b))},Am=function(a,b,c){b=ym(a,c,b);return m(a,b)},Fi=function(a,b,c,d){return W(a,b,ym(a,d,c))},cq=function(a,b){a=Cb(a,b);return null==
a?void 0:a},dq=function(a,b){a=m(a,b);return null==a?void 0:a},eq=function(a,b){a=m(a,b);return null==a?void 0:a},Qo=function(a,b){a=m(a,b);return null==a?void 0:a},Dh=function(a,b,c){return cb(a,b,c,0)},pj=function(a,b){return null!=Db(a,b)},qj=function(a,b){return null!=Cb(a,b)},Aj=function(a,b){return null!=m(a,b)},kh=function(a,b){return null!=m(a,b)},jj=function(a,b){return null!=m(a,b)},Vh=function(a,b){return null!=m(a,b)},aNb=function(a,b,c,d){return aca(a,m(a,b),b,c,Ja(a),d,Qba)},fq=function(a,
b,c){return bca(a,m(a,b),b,void 0,c,Qba)},Dj=function(a,b,c){return cca(a,b,c,Oba)},Jva=function(a,b,c){return cca(a,b,c,Pba)},uj=function(a,b,c){return cca(a,b,c,Rba)},bNb=function(a,b,c,d){return aca(a,m(a,b),b,c,Ja(a),d,Rba)},Ii=function(a,b,c){return bca(a,m(a,b),b,void 0,c,Rba)};var fca;var r=function(a,b,c){null==a&&(a=fca);fca=void 0;if(null==a)a=c?[c]:[],Ha(a,48);else{if(!Array.isArray(a))throw Error();if(c&&c!==a[0])throw Error();var d=Fa(a,0)|32;Ha(a,d)}this.arrayIndexOffset=c?0:-1;this.internalArray_=a;a:{c=this.internalArray_.length;a=c-1;if(c&&(c=this.internalArray_[a],vba(c))){this.internalSparseObject_=c;this.pivot_=a-this.arrayIndexOffset;break a}b?(this.pivot_=Math.max(b,a+1-this.arrayIndexOffset),this.internalSparseObject_=void 0):this.pivot_=Number.MAX_VALUE}};
r.prototype.toJSON=function(){return QMb?tca(this,this.internalArray_,!1):tca(this,qca(this.internalArray_),!0)};r.prototype.serialize=function(){QMb=!0;try{return JSON.stringify(this.toJSON(),ica)}finally{QMb=!1}};var vda=function(a,b){if(null==b||""==b)return new a;b=JSON.parse(b);if(!Array.isArray(b))throw Error(void 0);return gca(a,sba(b))};
r.prototype.getExtension=function(a){return a.ctor?a.getExtensionFn(this,a.ctor,a.fieldIndex,!0):a.isRepeated?a.getExtensionFn(this,a.fieldIndex,!0):a.getExtensionFn(this,a.fieldIndex,a.defaultValue,!0)};var rda=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};r.prototype.hasExtension=function(a){return void 0!==rda(this,a)};r.prototype.clone=function(){return sca(this,!1)};r.prototype.isMutable=function(){return!Ja(this)};
r.prototype.isImmutable=function(){return Ja(this)};var Ao=function(a,b,c){b.ctor?b.setExtensionFn(a,b.ctor,b.fieldIndex,c,!0):b.setExtensionFn(a,b.fieldIndex,c,!0)};r.prototype.messagePrototypeMarker=Jba;r.prototype.toString=function(){return tca(this,this.internalArray_,!1).toString()};var gq=function(a,b){return{readerWriterSelector:a,binaryFieldsInitializer:b}},zca=Symbol(),Jca=Symbol(),Gca=Symbol(),Fca=Symbol(),cNb=xb(oda,function(a,b,c){var d=m(b,c);if(null!=d){if(d instanceof r){(b=b.serializeBinaryFnForAnyProto_)&&a.writeBytes(c,b(d));return}if(Array.isArray(d))return}fda(a,b,c)}),hq=xb(function(){throw Error();},function(a,b,c,d,e){b=Eb(b,d,c,!0);null!=b&&(Mp(a,1,3),Mp(a,2,0),Lp(a.encoder_,c),c=zb(a,3),e(b,a),Ab(a,c),Mp(a,1,4))}),iq=xb(function(a,b,c){if(1!==a.nextWireType_)return!1;
Za(b,c,a.readDouble());return!0},Tca),dNb=xb(jda,function(a,b,c){b=Op(b,c);if(null!=b)for(var d=0;d<b.length;d++)a.writeDouble(c,b[d])}),eNb=xb(jda,function(a,b,c){b=Op(b,c);if(null!=b&&b.length)for(Mp(a,c,2),Kp(a.encoder_,8*b.length),c=0;c<b.length;c++)a.encoder_.writeDouble(b[c])}),jq=xb(function(a,b,c){if(1!==a.nextWireType_)return!1;a=a.readDouble();Za(b,c,0===a?void 0:a);return!0},Tca),kq=xb(function(a,b,c,d){if(1!==a.nextWireType_)return!1;mm(b,c,d,a.readDouble());return!0},Tca),lq=xb(function(a,
b,c){if(5!==a.nextWireType_)return!1;Za(b,c,a.readFloat());return!0},Uca),fNb=xb(function(a,b,c){if(5!==a.nextWireType_)return!1;a=a.readFloat();Za(b,c,0===a?void 0:a);return!0},Uca),mq=xb(function(a,b,c){if(0!==a.nextWireType_)return!1;Za(b,c,a.readInt64String());return!0},Vca),nq=xb(kda,Xca),oq=xb(kda,Yca),gNb=xb(function(a,b,c,d){if(0!==a.nextWireType_)return!1;mm(b,c,d,a.readInt64String());return!0},Vca),pq=xb(function(a,b,c){if(0!==a.nextWireType_)return!1;Za(b,c,a.readInt64());return!0},Vca),
qq=xb(lda,Xca),rq=xb(lda,Yca),sq=xb(function(a,b,c){if(0!==a.nextWireType_)return!1;a=a.readInt64();Za(b,c,0===a?void 0:a);return!0},Vca),tq=xb(function(a,b,c,d){if(0!==a.nextWireType_)return!1;mm(b,c,d,a.readInt64());return!0},Vca),hNb=xb(function(a,b,c){if(0!==a.nextWireType_)return!1;a=a.readUint64String();Za(b,c,"0"===a?void 0:a);return!0},Zca),iNb=xb(function(a,b,c,d){if(0!==a.nextWireType_)return!1;mm(b,c,d,a.readUint64String());return!0},Zca),uq=xb(function(a,b,c){if(0!==a.nextWireType_)return!1;
Za(b,c,a.readUint64());return!0},Zca),vq=xb(mda,function(a,b,c){b=$a(b,c,Gba);if(null!=b)for(var d=0;d<b.length;d++)PMb(a,c,b[d])}),jNb=xb(mda,function(a,b,c){b=$a(b,c,Gba);if(null!=b&&b.length){c=zb(a,c);for(var d=0;d<b.length;d++){var e=b[d];if("number"===typeof e){var g=a.encoder_;Ca(e);g.writeSplitVarint64(Aa,Ba)}else e=LMb(e),a.encoder_.writeSplitVarint64(e.lo,e.hi)}Ab(a,c)}}),kNb=xb(function(a,b,c){if(0!==a.nextWireType_)return!1;a=a.readUint64();Za(b,c,0===a?void 0:a);return!0},Zca),wq=xb(function(a,
b,c){if(0!==a.nextWireType_)return!1;Za(b,c,a.readInt32());return!0},$ca),xq=xb(nda,function(a,b,c){b=xg(b,c);if(null!=b)for(var d=0;d<b.length;d++){var e=a,g=b[d];null!=g&&(Mp(e,c,0),Lp(e.encoder_,g))}}),lNb=xb(nda,function(a,b,c){b=xg(b,c);if(null!=b&&b.length){c=zb(a,c);for(var d=0;d<b.length;d++)Lp(a.encoder_,b[d]);Ab(a,c)}}),yq=xb(function(a,b,c){if(0!==a.nextWireType_)return!1;a=a.readInt32();Za(b,c,0===a?void 0:a);return!0},$ca),mNb=xb(function(a,b,c,d){if(0!==a.nextWireType_)return!1;mm(b,
c,d,a.readInt32());return!0},$ca),nNb=xb(function(a,b,c){if(1!==a.nextWireType_)return!1;Za(b,c,a.decoder_.readUint64String());return!0},bda),oNb=xb(function(a,b,c){if(1!==a.nextWireType_)return!1;Za(b,c,a.decoder_.readUint64());return!0},bda),pNb=xb(function(a,b,c){if(1!==a.nextWireType_&&2!==a.nextWireType_)return!1;b=Gb(b,c);2==a.nextWireType_?Jb(a,Kb.prototype.readUint64,b):b.push(a.decoder_.readUint64());return!0},function(a,b,c){b=$a(b,c,Gba);if(null!=b)for(var d=0;d<b.length;d++)ada(a,c,b[d])}),
qNb=xb(function(a,b,c){if(5!==a.nextWireType_)return!1;Za(b,c,a.decoder_.readUint32());return!0},function(a,b,c){b=Ra(m(b,c));null!=b&&(Mp(a,c,5),a.encoder_.writeUint32(b))}),zq=xb(function(a,b,c){if(0!==a.nextWireType_)return!1;Za(b,c,a.readBool());return!0},cda),Aq=xb(function(a,b,c){if(0!==a.nextWireType_)return!1;a=a.readBool();Za(b,c,!1===a?void 0:a);return!0},cda),Bq=xb(function(a,b,c,d){if(0!==a.nextWireType_)return!1;mm(b,c,d,a.readBool());return!0},cda),Cq=xb(function(a,b,c){if(2!==a.nextWireType_)return!1;
Za(b,c,a.readStringRequireUtf8());return!0},dda),Dq=xb(function(a,b,c){if(2!==a.nextWireType_)return!1;a=a.readStringRequireUtf8();eb(b,c,a);return!0},function(a,b,c){b=Cg(b,c);if(null!=b)for(var d=0;d<b.length;d++)a.writeString(c,b[d])}),Eq=xb(function(a,b,c){if(2!==a.nextWireType_)return!1;a=a.readStringRequireUtf8();Za(b,c,""===a?void 0:a);return!0},dda),Fq=xb(function(a,b,c,d){if(2!==a.nextWireType_)return!1;mm(b,c,d,a.readStringRequireUtf8());return!0},dda),Gq=xb(function(a,b,c,d,e){if(3!==a.nextWireType_)return!1;
HMb(a,c,Rp(b,d,c),e);return!0},function(a,b,c,d,e){b=Eb(b,d,c);null!=b&&(Mp(a,c,3),e(b,a),Mp(a,c,4))}),rNb=xb(function(a,b,c,d,e){if(3!==a.nextWireType_)return!1;HMb(a,c,gb(b,c,d),e);return!0},function(a,b,c,d,e){b=eca(b,d,c,void 0,1,Ga(b.internalArray_));if(null!=b)for(d=0;d<b.length;d++)Mp(a,c,3),e(b[d],a),Mp(a,c,4)}),Hq=xb(function(a,b,c,d,e){if(2!==a.nextWireType_)return!1;rb(a,Rp(b,d,c,!0),e);return!0},function(a,b,c,d,e){uca(a,c,Eb(b,d,c,!0),e)}),X=xb(function(a,b,c,d,e){if(2!==a.nextWireType_)return!1;
rb(a,Rp(b,d,c),e);return!0},eda),Iq=xb(function(a,b,c,d,e){if(2!==a.nextWireType_)return!1;rb(a,gb(b,c,d),e);return!0},function(a,b,c,d,e){b=eca(b,d,c,void 0,1,Ga(b.internalArray_));if(null!=b)for(d=0;d<b.length;d++){var g=zb(a,c);e(b[d],a);Ab(a,g)}}),Jq=xb(function(a,b,c,d,e,g){if(2!==a.nextWireType_)return!1;(g=rh(b,g))&&g!==c&&Qp(b,g);b=Rp(b,d,c);rb(a,b,e);return!0},eda),Kq=xb(function(a,b,c){if(2!==a.nextWireType_)return!1;Za(b,c,a.readByteString());return!0},fda),sNb=xb(function(a,b,c){if(2!==
a.nextWireType_)return!1;a=a.readByteString();eb(b,c,a);return!0},function(a,b,c){b=Pp(b,c);if(null!=b)for(var d=0;d<b.length;d++)a.writeBytes(c,b[d])}),Lq=xb(oda,fda),tNb=xb(function(a,b,c,d){if(2!==a.nextWireType_)return!1;mm(b,c,d,a.readByteString());return!0},fda),uNb=xb(function(a,b,c){if(0!==a.nextWireType_)return!1;Za(b,c,a.readUint32());return!0},gda),Mq=xb(function(a,b,c){if(0!==a.nextWireType_)return!1;a=a.readUint32();Za(b,c,0===a?void 0:a);return!0},gda),Nq=xb(function(a,b,c){if(0!==a.nextWireType_)return!1;
Za(b,c,a.readEnum());return!0},hda),Oq=xb(pda,function(a,b,c){b=Gj(b,c);if(null!=b)for(var d=0;d<b.length;d++)a.writeEnum(c,b[d])}),Pq=xb(pda,function(a,b,c){b=Gj(b,c);if(null!=b&&b.length){c=zb(a,c);for(var d=0;d<b.length;d++)a.encoder_.writeEnum(b[d]);Ab(a,c)}}),Qq=xb(function(a,b,c){if(0!==a.nextWireType_)return!1;a=a.readEnum();Za(b,c,0===a?void 0:a);return!0},hda),Rq=xb(function(a,b,c,d){if(0!==a.nextWireType_)return!1;mm(b,c,d,a.readEnum());return!0},hda),vNb=xb(function(a,b,c){if(1!==a.nextWireType_)return!1;
Za(b,c,a.decoder_.readInt64String());return!0},function(a,b,c){b=m(b,c);null!=b&&(nba(b),Mp(a,c,1),"number"===typeof b?a.encoder_.writeInt64(b):(c=mba(b),a.encoder_.writeSplitFixed64(c.lo,c.hi)))}),wNb=xb(function(a,b,c){if(0!==a.nextWireType_)return!1;Za(b,c,a.decoder_.readZigzagVarint32());return!0},function(a,b,c){b=Cb(b,c);null!=b&&null!=b&&(Mp(a,c,0),Kp(a.encoder_,(b<<1^b>>31)>>>0))}),xNb=xb(function(a,b,c){if(0!==a.nextWireType_&&2!==a.nextWireType_)return!1;b=Gb(b,c);2==a.nextWireType_?Jb(a,
Kb.prototype.readZigzagVarint32,b):b.push(a.decoder_.readZigzagVarint32());return!0},function(a,b,c){b=xg(b,c);if(null!=b)for(var d=0;d<b.length;d++){var e=a,g=b[d];null!=g&&(Mp(e,c,0),Kp(e.encoder_,(g<<1^g>>31)>>>0))}}),yNb=xb(function(a,b,c){if(0!==a.nextWireType_)return!1;Za(b,c,a.decoder_.readSplitVarint64(gba));return!0},function(a,b,c){b=m(b,c);if(null!=b&&(nba(b),null!=b))if(Mp(a,c,0),"number"===typeof b){a=a.encoder_;c=0>b;b=2*Math.abs(b);bba(b);b=Aa;var d=Ba;c&&(0==b?0==d?d=b=4294967295:
(d--,b=4294967295):b--);Aa=b;Ba=d;a.writeSplitVarint64(Aa,Ba)}else OMb(a.encoder_,b)}),zNb=xb(function(a,b,c,d,e){return xca(a,b,c,d,aNb,vb.prototype.readInt64,0,0,e)},function(a,b,c,d,e){wca(b,c,d,c,a,aNb,qb.prototype.writeInt64,e)}),ANb=xb(function(a,b,c){return yca(a,b,c,Jva,vb.prototype.readInt32,0,0)},function(a,b,c){vca(b,c,a,Jva,qb.prototype.writeInt32)}),BNb=xb(function(a,b,c){return yca(a,b,c,Dj,vb.prototype.readBool,0,!1)},function(a,b,c){vca(b,c,a,Dj,qb.prototype.writeBool)}),CNb=xb(function(a,
b,c){return yca(a,b,c,uj,vb.prototype.readStringRequireUtf8,2,"")},function(a,b,c){vca(b,c,a,uj,qb.prototype.writeString)}),Sq=xb(function(a,b,c,d,e){return xca(a,b,c,d,bNb,vb.prototype.readStringRequireUtf8,2,"",e)},function(a,b,c,d,e){wca(b,c,d,c,a,bNb,qb.prototype.writeString,e)});var qda=function(a,b,c,d){this.fieldIndex=a;this.fieldName=b;this.ctor=c;this.toObjectFn=d;this.isRepeated=0;this.getExtensionFn=W;this.setExtensionFn=Oh;this.defaultValue=void 0};var Tq=function(a){r.call(this,a)};V(Tq,r);Tq.prototype.hasAction=function(){return Vh(this,1)};Tq.prototype.toObject=function(){return DNb(this)};var DNb=function(a){if(null!=a)return t(a),{action:p(m(a,1)),prevState:p(m(a,2))}},ENb=[Tq,1,Nq,2,Nq];Tq.prototype.serializeBinary=u(ENb);var Uq=function(a){r.call(this,a)};V(Uq,r);f=Uq.prototype;f.getValue=function(){return si(this,1)};f.setValue=function(a){return n(this,1,Ka(a,!1,!1))};f.hasValue=function(){return null!=Fb(this,1)};f.getTimestamp=function(){return Wh(this,2)};f.setTimestamp=function(a){return n(this,2,a)};f.hasTimestamp=function(){return Aj(this,2)};f.toObject=function(){return FNb(this)};
var FNb=function(a){if(null!=a)return t(a),{value:Qb(a.getValue()),timestamp:p(m(a,2)),encodedrestrict:Qb(si(a,3))}},GNb=[Uq,1,Kq,2,pq,3,Kq];Uq.prototype.serializeBinary=u(GNb);var Vq=function(a){r.call(this,a)};V(Vq,r);Vq.prototype.getObsolete4=function(){return si(this,4)};Vq.prototype.toObject=function(){return HNb(this)};var HNb=function(a){if(null!=a)return t(a),{keyid:p(Cb(a,1)),wrappedkey:Qb(si(a,2)),extendedkeyhashstring:p(m(a,3)),obsolete4:Qb(a.getObsolete4())}},INb=[Vq,1,wq,2,Kq,3,Cq,4,Kq];Vq.prototype.serializeBinary=u(INb);var JNb=function(a){r.call(this,a)};V(JNb,r);JNb.prototype.toObject=function(){return KNb(this)};var KNb=function(a){if(null!=a)return t(a),{sgnDomain:p(m(a,1)),sgnPk:p(m(a,2)),sgnIdent:p(m(a,3))}},LNb=[JNb,1,Cq,2,Cq,3,Cq];JNb.prototype.serializeBinary=u(LNb);var MNb=function(a){r.call(this,a)};V(MNb,r);MNb.prototype.toObject=function(){return NNb(this)};var NNb=function(a){if(null!=a)return t(a),{chatid:p(m(a,33)),membertype:p(Cb(a,34))}},ONb=[MNb,33,Cq,34,wq];MNb.prototype.serializeBinary=u(ONb);var PNb=function(a){r.call(this,a)};V(PNb,r);PNb.prototype.toObject=function(){return QNb(this)};var QNb=function(a){if(null!=a)return t(a),{ownergaiaid:p(m(a,24)),circleid:p(m(a,25))}},RNb=[PNb,24,pq,25,pq];PNb.prototype.serializeBinary=u(RNb);var SNb=function(a){r.call(this,a)};V(SNb,r);SNb.prototype.toObject=function(){return TNb(this)};var TNb=function(a){if(null!=a)return t(a),{eventid:p(m(a,30)),membertype:p(Cb(a,31))}},UNb=[SNb,30,Cq,31,wq];SNb.prototype.serializeBinary=u(UNb);var VNb=function(a){r.call(this,a)};V(VNb,r);VNb.prototype.toObject=function(){return WNb(this)};var WNb=function(a){if(null!=a)return t(a),{ownergaiaid:p(m(a,6)),groupid:p(m(a,7))}},XNb=[VNb,6,pq,7,pq];VNb.prototype.serializeBinary=u(XNb);var Wq=function(a){r.call(this,a)};V(Wq,r);Wq.prototype.toObject=function(){return YNb(this)};var YNb=function(a){if(null!=a)return t(a),{keyvalue:p(m(a,15))}},ZNb=[Wq,15,uq];Wq.prototype.serializeBinary=u(ZNb);var Xq=function(a){r.call(this,a)};V(Xq,r);f=Xq.prototype;f.getApplication=function(){return mh(this,1)};f.setApplication=function(a){return n(this,1,a)};f.getApplicationOrUndefined=function(){return eq(this,1)};f.getId=function(){return mh(this,2)};f.setId=function(a){return n(this,2,a)};f.toObject=function(){return $Nb(this)};var $Nb=function(a){if(null!=a)return t(a),{application:p(m(a,1)),id:p(m(a,2)),part:p(m(a,3))}},aOb=[Xq,1,Cq,2,Cq,3,Cq];Xq.prototype.serializeBinary=u(aOb);var Yq=function(a){r.call(this,a)};V(Yq,r);Yq.prototype.getResourceId=function(){return W(this,Xq,39)};Yq.prototype.setResourceId=function(a){Oh(this,Xq,39,a)};Yq.prototype.hasResourceId=function(){return qi(this,Xq,39)};Yq.prototype.toObject=function(){return bOb(this)};var bOb=function(a){if(null!=a)return t(a),{obsolete36:p(m(a,36)),obsolete37:p(m(a,37)),roleId:p(Cb(a,38)),resourceId:$Nb(a.getResourceId())}},cOb=[Yq,36,Cq,37,Cq,38,wq,39,X,aOb];Yq.prototype.serializeBinary=u(cOb);var Zq=function(a){r.call(this,a)};V(Zq,r);Zq.prototype.getBlob=function(){return si(this,13)};Zq.prototype.clearBlob=function(){return Qp(this,13)};Zq.prototype.toObject=function(){return dOb(this)};var dOb=function(a){if(null!=a)return t(a),{serviceid:p(Cb(a,12)),blob:Qb(a.getBlob())}},eOb=[Zq,12,wq,13,Kq];Zq.prototype.serializeBinary=u(eOb);var fOb=function(a){r.call(this,a)};V(fOb,r);fOb.prototype.toObject=function(){return gOb(this)};var gOb=function(a){if(null!=a)return t(a),{squareid:p(m(a,27)),membertype:p(Cb(a,28))}},hOb=[fOb,27,pq,28,wq];fOb.prototype.serializeBinary=u(hOb);var $q=function(a){r.call(this,a)};V($q,r);f=$q.prototype;f.getKey=function(){return W(this,Wq,14)};f.hasKey=function(){return qi(this,Wq,14)};f.getCircle=function(){return W(this,PNb,23)};f.getEvent=function(){return W(this,SNb,29)};f.toObject=function(){return iOb(this)};
var iOb=function(a){if(null!=a)return t(a),{gaiaid:p(m(a,1)),gaiaemail:p(m(a,2)),inviteid:p(m(a,3)),orginatinginviteid:p(m(a,9)),gaiagroup:p(m(a,4)),focusGroup:WNb(W(a,VNb,5)),allusers:p(Db(a,8)),allauthenticatedusers:p(Db(a,10)),nouser:p(Db(a,41)),serviceBlob:dOb(W(a,Zq,11)),key:YNb(a.getKey()),userpseudonym:KNb(W(a,JNb,16)),mdbuser:p(m(a,17)),mdbgroup:p(m(a,18)),ldapuser:p(m(a,19)),ldapgroup:p(m(a,20)),obsolete21:p(Cb(a,21)),obsolete22:Qb(si(a,22)),circle:QNb(a.getCircle()),square:gOb(W(a,fOb,26)),
event:TNb(a.getEvent()),chat:NNb(W(a,MNb,32)),resourceRole:bOb(W(a,Yq,35)),anonymousinviteid:p(m(a,40))}},jOb=[$q,1,pq,2,Cq,3,pq,9,pq,4,pq,5,Gq,XNb,8,zq,10,zq,41,zq,11,Gq,eOb,14,Gq,ZNb,16,X,LNb,17,Cq,18,Cq,19,Cq,20,Cq,21,wq,22,Kq,23,Gq,RNb,26,Gq,hOb,29,Gq,UNb,32,Gq,ONb,35,Gq,cOb,40,pq];$q.prototype.serializeBinary=u(jOb);var ar=function(a){r.call(this,a)};V(ar,r);ar.prototype.getScope=function(){return W(this,$q,1)};ar.prototype.getWrappedkeyList=function(){return yg(this,Vq,3)};ar.prototype.getMetadata=function(){return W(this,Uq,4)};ar.prototype.setMetadata=function(a){Oh(this,Uq,4,a)};ar.repeatedFields_=[3];ar.prototype.toObject=function(){return br(this)};
var br=function(a){if(null!=a)return t(a),{role:p(Cb(a,2)),scope:iOb(a.getScope()),wrappedkeyList:Mb(a.getWrappedkeyList(),HNb),metadata:FNb(a.getMetadata())}},cr=[ar,2,wq,1,X,jOb,3,Iq,INb,4,X,GNb];ar.prototype.serializeBinary=u(cr);var dr=function(a){r.call(this,a)};V(dr,r);dr.repeatedFields_=[4,5];dr.prototype.toObject=function(){return kOb(this)};var kOb=function(a){if(null!=a)return t(a),{addedEntryList:Mb(yg(a,ar,4),br),removedEntryList:Mb(yg(a,ar,5),br),readersCanEditAclChange:DNb(W(a,Tq,13)),writersCanEditAclChange:DNb(W(a,Tq,14)),changeReason:p(m(a,25))}},lOb=[dr,4,Iq,cr,5,Iq,cr,13,X,ENb,14,X,ENb,25,Nq];dr.prototype.serializeBinary=u(lOb);var er=function(a){r.call(this,a,1)};V(er,r);var fr={},gr={};er.prototype.toObject=function(){return mOb(this)};
var mOb=function(a){if(null!=a){t(a);var b={};Nb(a,b,fr);return b}},nOb=[er,[function(a,b,c){for(var d=c.extensions,e={};tb(b)&&4!=b.nextWireType_;){if(11===b.getTag()){var g=b.fieldCursor_;e.$jscomp$loop$prop$unknown$2237=!1;IMb(b,function(h){return function(l,q){var v=c[l];if(!v){var y=d[l];if(y){var B=Eca(y),I=Aca(y.binaryFieldsInitializer).ctor;v=c[l]=function(N,Q,Z){return B(Rp(Q,I,Z,!0),N)}}}v?v(q,a,l):(h.$jscomp$loop$prop$unknown$2237=!0,BMb(q.decoder_,q.decoder_.getEnd()))}}(e));e.$jscomp$loop$prop$unknown$2237&&
GMb(b,a,g)}else Cca(b,a);e={$jscomp$loop$prop$unknown$2237:e.$jscomp$loop$prop$unknown$2237}}return a},gr]];er.prototype.serializeBinary=u(nOb);var oOb=Lb(52221103,{messageSetExtension:0},dr,kOb);gr[52221103]=gq(hq,lOb);fr[52221103]=oOb;var pOb=function(a){r.call(this,a)};V(pOb,r);pOb.prototype.toObject=function(){return qOb(this)};var qOb=function(a){if(null!=a)return t(a),{shareUrl:p(m(a,1))}},rOb=[pOb,1,Cq];pOb.prototype.serializeBinary=u(rOb);var hr=function(a){r.call(this,a)};V(hr,r);hr.prototype.getEmail=function(){return mh(this,3)};hr.prototype.setEmail=function(a){return n(this,3,a)};hr.prototype.hasEmail=function(){return jj(this,3)};hr.prototype.toObject=function(){return sOb(this)};var sOb=function(a){if(null!=a){t(a);var b=fq(a,1,pOb);return{recipientsMap:Ob(b,qOb),role:p(m(a,2)),email:p(m(a,3))}}},tOb=[hr,1,zNb,rOb,2,Nq,3,Cq];hr.prototype.serializeBinary=u(tOb);var ir=function(a){r.call(this,a)};V(ir,r);ir.prototype.getMessage=function(){return mh(this,2)};ir.prototype.setMessage=function(a){n(this,2,a)};ir.prototype.toObject=function(){return uOb(this)};var uOb=function(a){if(null!=a){t(a);var b=fq(a,1,hr);b=Ob(b,sOb);var c=p(m(a,2)),d=p(Db(a,3));a=Ii(a,7,hr);return{granteesMap:b,message:c,shouldNotify:d,nonGaiaGranteesMap:Ob(a,sOb)}}},vOb=[ir,1,zNb,tOb,2,Cq,3,zq,7,Sq,tOb];ir.prototype.serializeBinary=u(vOb);var jr=function(a){r.call(this,a)};V(jr,r);jr.repeatedFields_=[1];jr.prototype.toObject=function(){return wOb(this)};var wOb=function(a){if(null!=a)return t(a),{aclChangeStructList:Mb(yg(a,dr,1),kOb)}},xOb=[jr,1,Iq,lOb];jr.prototype.serializeBinary=u(xOb);var kr=function(a){r.call(this,a)};V(kr,r);f=kr.prototype;f.getValue=function(){return mh(this,1)};f.setValue=function(a){return n(this,1,a)};f.hasValue=function(){return jj(this,1)};f.getDisplayName=function(){return mh(this,2)};f.setDisplayName=function(a){return n(this,2,a)};f.toObject=function(){return yOb(this)};var yOb=function(a){if(null!=a)return t(a),{value:p(m(a,1)),displayName:p(m(a,2))}},zOb=[kr,1,Cq,2,Cq];kr.prototype.serializeBinary=u(zOb);var lr=function(a){r.call(this,a)};V(lr,r);lr.repeatedFields_=[1];lr.prototype.toObject=function(){return AOb(this)};var AOb=function(a){if(null!=a)return t(a),{namedValuesList:Mb(yg(a,kr,1),yOb)}},BOb=[lr,1,Iq,zOb];lr.prototype.serializeBinary=u(BOb);var mr=function(a){r.call(this,a)};V(mr,r);mr.prototype.getValuesList=function(){return Cg(this,1)};mr.prototype.setValuesList=function(a){uh(this,1,a)};mr.prototype.getValues=function(a){return Zp(this,1,a)};mr.prototype.setValues=function(a,b){fb(this,1,a,b,Cg)};mr.repeatedFields_=[1];mr.prototype.toObject=function(){return nr(this)};var nr=function(a){if(null!=a)return t(a),{valuesList:p(Cg(a,1))}},or=[mr,1,Dq];mr.prototype.serializeBinary=u(or);var ug=function(a){r.call(this,a)};V(ug,r);f=ug.prototype;f.getSeconds=function(){return Wh(this,1)};f.setSeconds=function(a){return lb(this,1,a)};f.getNanos=function(){return Ag(this,2)};f.setNanos=function(a){return kb(this,2,a)};f.toDate=function(){var a=this.getSeconds(),b=this.getNanos();return new Date(1E3*a+b/1E6)};f.toObject=function(){return pr(this)};var pr=function(a){if(null!=a)return t(a),{seconds:Wh(a,1),nanos:Ag(a,2)}},qr=[ug,1,sq,2,yq];ug.prototype.serializeBinary=u(qr);var rr=function(a){r.call(this,a)};V(rr,r);f=rr.prototype;f.getValueCase=function(){return rh(this,sr)};f.getTextValue=function(){return aq(this,1,sr)};f.setTextValue=function(a){mm(this,1,sr,a)};f.getTextListValues=function(){return Fi(this,mr,2,sr)};f.getSelectionListValue=function(){return Fi(this,mr,4,sr)};f.getUserListValues=function(){return Fi(this,mr,13,sr)};f.getDateValue=function(){return Fi(this,ug,14,sr)};f.setDateValue=function(a){sm(this,14,sr,a)};
var sr=[1,2,3,4,5,11,12,13,14],tr=[6,7,8,9,10,15,16,17,18];rr.prototype.toObject=function(){return COb(this)};
var COb=function(a){if(null!=a)return t(a),{textValue:p(Am(a,1,sr)),textListValues:nr(a.getTextListValues()),selectionValue:p(Am(a,3,sr)),selectionListValue:nr(a.getSelectionListValue()),longTextValue:p(Am(a,5,sr)),numberValue:p(bq(a,11,sr)),userValue:p(Am(a,12,sr)),userListValues:nr(a.getUserListValues()),dateValue:pr(a.getDateValue()),namedTextValue:p(Am(a,6,tr)),namedLongTextValue:p(Am(a,7,tr)),namedTextListValues:nr(Fi(a,mr,8,tr)),namedSelectionValue:yOb(Fi(a,kr,9,tr)),namedSelectionListValue:AOb(Fi(a,
lr,10,tr)),namedNumberValue:p(bq(a,15,tr)),namedUserValue:p(Am(a,16,tr)),namedUserListValues:nr(Fi(a,mr,17,tr)),namedDateValue:pr(Fi(a,ug,18,tr))}},DOb=[rr,1,Fq,sr,2,Jq,or,sr,3,Fq,sr,4,Jq,or,sr,5,Fq,sr,11,tq,sr,12,Fq,sr,13,Jq,or,sr,14,Jq,qr,sr,6,Fq,tr,7,Fq,tr,8,Jq,or,tr,9,Jq,zOb,tr,10,Jq,BOb,tr,15,tq,tr,16,Fq,tr,17,Jq,or,tr,18,Jq,qr,tr];rr.prototype.serializeBinary=u(DOb);var EOb=function(a){r.call(this,a)};V(EOb,r);f=EOb.prototype;f.getFieldId=function(){return mh(this,1)};f.setFieldId=function(a){n(this,1,a)};f.getOldValue=function(){return W(this,rr,2)};f.getNewValue=function(){return W(this,rr,3)};f.getDisplayName=function(){return mh(this,4)};f.setDisplayName=function(a){return n(this,4,a)};f.toObject=function(){return FOb(this)};
var FOb=function(a){if(null!=a)return t(a),{fieldId:p(m(a,1)),oldValue:COb(a.getOldValue()),newValue:COb(a.getNewValue()),displayName:p(m(a,4))}},GOb=[EOb,1,Cq,2,X,DOb,3,X,DOb,4,Cq];EOb.prototype.serializeBinary=u(GOb);var ur=function(a){r.call(this,a)};V(ur,r);f=ur.prototype;f.getLabel=function(){return mh(this,1)};f.setLabel=function(a){return n(this,1,a)};f.hasLabel=function(){return jj(this,1)};f.getTitle=function(){return mh(this,5)};f.setTitle=function(a){return n(this,5,a)};ur.repeatedFields_=[3,4];ur.prototype.toObject=function(){return HOb(this)};
var HOb=function(a){if(null!=a)return t(a),{label:p(m(a,1)),labelScope:p(m(a,2)),changeTypesList:p(Gj(a,3)),fieldChangesList:Mb(yg(a,EOb,4),FOb),title:p(m(a,5)),reasonType:p(m(a,6))}},IOb=[ur,1,Cq,2,Nq,3,Oq,4,Iq,GOb,5,Cq,6,Nq];ur.prototype.serializeBinary=u(IOb);var JOb=function(a){r.call(this,a)};V(JOb,r);JOb.prototype.toObject=function(){return KOb(this)};var KOb=function(a){if(null!=a)return t(a),{removedReviewerGaiaId:p(m(a,1)),addedReviewerGaiaId:p(m(a,2))}},LOb=[JOb,1,uq,2,uq];JOb.prototype.serializeBinary=u(LOb);var vr=function(a){r.call(this,a)};V(vr,r);vr.prototype.getApprovalStatus=function(){return Fh(this,6,0)};vr.repeatedFields_=[3,4,8,12];vr.prototype.toObject=function(){return MOb(this)};
var MOb=function(a){if(null!=a)return t(a),{approvalEventType:p(m(a,1)),approvalId:p(m(a,2)),approvalEventIdList:p(xg(a,3)),reviewerGaiaIdsList:p($a(a,4,Ua)),initiatorGaiaId:p(m(a,5)),approvalStatus:p(m(a,6)),reviewerDecision:p(m(a,7)),reviewerChangesList:Mb(yg(a,JOb,8),KOb),dueTimeMs:p(m(a,9)),oldDueTimeMs:p(m(a,10)),resetReviewerGaiaIdsList:p($a(a,12,Ua)),userInteractionMode:p(m(a,11)),approvalProcess:p(m(a,13))}},NOb=[vr,1,Nq,2,Cq,3,xq,4,vq,5,uq,6,Nq,7,Nq,8,Iq,LOb,9,uq,10,uq,12,jNb,11,Nq,13,Nq];
vr.prototype.serializeBinary=u(NOb);var wr=function(a){r.call(this,a)};V(wr,r);wr.prototype.getApprovalStatus=function(){return Fh(this,3,0)};wr.repeatedFields_=[5];wr.prototype.toObject=function(){return OOb(this)};var OOb=function(a){if(null!=a)return t(a),{approvalId:p(m(a,1)),notificationType:p(m(a,2)),approvalStatus:p(m(a,3)),initiatorGaiaId:p(m(a,4)),recipientGaiaIdsList:p(Wj(a,5)),dueTimeMs:p(m(a,6)),userInteractionMode:p(m(a,7))}},POb=[wr,1,Cq,2,Nq,3,Nq,4,uq,5,qq,6,uq,7,Nq];wr.prototype.serializeBinary=u(POb);var xr=function(a){r.call(this,a)};V(xr,r);xr.prototype.getValuesList=function(){return Cg(this,1)};xr.prototype.setValuesList=function(a){uh(this,1,a)};xr.prototype.getValues=function(a){return Zp(this,1,a)};xr.prototype.setValues=function(a,b){fb(this,1,a,b,Cg)};xr.repeatedFields_=[1];xr.prototype.toObject=function(){return QOb(this)};var QOb=function(a){if(null!=a)return t(a),{valuesList:p(Cg(a,1))}},ROb=[xr,1,Dq];xr.prototype.serializeBinary=u(ROb);var yr=function(a){r.call(this,a)};V(yr,r);f=yr.prototype;f.getValueCase=function(){return rh(this,zr)};f.getTextValue=function(){return aq(this,1,zr)};f.setTextValue=function(a){mm(this,1,zr,a)};f.getTextListValues=function(){return Fi(this,xr,2,zr)};f.getSelectionListValue=function(){return Fi(this,xr,4,zr)};f.getUserListValues=function(){return Fi(this,xr,8,zr)};f.getDateValue=function(){return Fi(this,ug,9,zr)};f.setDateValue=function(a){sm(this,9,zr,a)};var zr=[1,2,3,4,5,6,7,8,9];
yr.prototype.toObject=function(){return SOb(this)};var SOb=function(a){if(null!=a)return t(a),{textValue:p(Am(a,1,zr)),textListValues:QOb(a.getTextListValues()),selectionValue:p(Am(a,3,zr)),selectionListValue:QOb(a.getSelectionListValue()),longTextValue:p(Am(a,5,zr)),numberValue:p(bq(a,6,zr)),userValue:p(Am(a,7,zr)),userListValues:QOb(a.getUserListValues()),dateValue:pr(a.getDateValue())}},TOb=[yr,1,Fq,zr,2,Jq,ROb,zr,3,Fq,zr,4,Jq,ROb,zr,5,Fq,zr,6,tq,zr,7,Fq,zr,8,Jq,ROb,zr,9,Jq,qr,zr];
yr.prototype.serializeBinary=u(TOb);var Ar=function(a){r.call(this,a)};V(Ar,r);Ar.prototype.getOldValue=function(){return W(this,yr,2)};Ar.prototype.getNewValue=function(){return W(this,yr,3)};Ar.prototype.toObject=function(){return UOb(this)};var UOb=function(a){if(null!=a)return t(a),{attributeId:p(m(a,1)),oldValue:SOb(a.getOldValue()),newValue:SOb(a.getNewValue())}},VOb=[Ar,1,Cq,2,X,TOb,3,X,TOb];Ar.prototype.serializeBinary=u(VOb);var Br=function(a){r.call(this,a)};V(Br,r);Br.repeatedFields_=[3,4];Br.prototype.toObject=function(){return WOb(this)};var WOb=function(a){if(null!=a)return t(a),{publishedCategoryName:p(m(a,1)),categoryScope:p(m(a,2)),changeTypesList:p(Gj(a,3)),attributeChangesList:Mb(yg(a,Ar,4),UOb),reasonType:p(m(a,5))}},XOb=[Br,1,Cq,2,Nq,3,Oq,4,Iq,VOb,5,Nq];Br.prototype.serializeBinary=u(XOb);var Cr=function(a){r.call(this,a)};V(Cr,r);Cr.repeatedFields_=[7];Cr.prototype.toObject=function(){return YOb(this)};var YOb=function(a){if(null!=a){t(a);var b=p(Cb(a,1)),c=p(Cb(a,2)),d=p(Cb(a,3)),e=p(Cb(a,4));var g=Jva(a,5,void 0);return{characterCount:b,wordCount:c,nonStopWordCount:d,newLineCount:e,punctuationCountMap:Ob(g),validUrlCount:p(Cb(a,6)),languageCodeList:p(Cg(a,7))}}},ZOb=[Cr,1,wq,2,wq,3,wq,4,wq,5,ANb,6,wq,7,Dq];Cr.prototype.serializeBinary=u(ZOb);var Dr=function(a){r.call(this,a)};V(Dr,r);Dr.repeatedFields_=[7];Dr.prototype.toObject=function(){return $Ob(this)};var $Ob=function(a){if(null!=a)return t(a),{discussionId:p(m(a,3)),postId:p(m(a,4)),linkToDoco:p(m(a,5)),suggestionId:p(m(a,6)),mentionedUsersList:p(Wj(a,7)),assignedUser:p(m(a,8)),commentSummary:YOb(W(a,Cr,9)),anchorTextSummary:YOb(W(a,Cr,10))}},aPb=[Dr,3,Cq,4,Cq,5,Cq,6,Cq,7,qq,8,pq,9,X,ZOb,10,X,ZOb];Dr.prototype.serializeBinary=u(aPb);var bPb=function(a){r.call(this,a)};V(bPb,r);bPb.prototype.toObject=function(){return cPb(this)};var cPb=function(a){if(null!=a)return t(a),{originalTitle:p(m(a,1)),originalDocid:p(m(a,3)),originalCustomerId:p(m(a,4)),originalOwnerGaiaId:p(m(a,5)),originalMimeType:p(m(a,6))}},dPb=[bPb,1,Cq,3,Cq,4,pq,5,pq,6,Cq];bPb.prototype.serializeBinary=u(dPb);var Er=function(a){r.call(this,a)};V(Er,r);Er.prototype.getId=function(){return Wh(this,1)};Er.prototype.setId=function(a){return n(this,1,a)};Er.prototype.toObject=function(){return ePb(this)};var ePb=function(a){if(null!=a)return t(a),{id:p(m(a,1))}},fPb=[Er,1,pq];Er.prototype.serializeBinary=u(fPb);var Fr=function(a){r.call(this,a)};V(Fr,r);Fr.repeatedFields_=[1];Fr.prototype.toObject=function(){return gPb(this)};var gPb=function(a){if(null!=a)return t(a),{matchingRuleList:Mb(yg(a,Er,1),ePb)}},hPb=[Fr,1,Iq,fPb];Fr.prototype.serializeBinary=u(hPb);var iPb=function(a){r.call(this,a)};V(iPb,r);iPb.prototype.toObject=function(){return jPb(this)};var jPb=function(a){if(null!=a)return t(a),{previousViolation:gPb(W(a,Fr,1)),currentViolation:gPb(W(a,Fr,2))}},kPb=[iPb,1,X,hPb,2,X,hPb];iPb.prototype.serializeBinary=u(kPb);var lPb=function(a){r.call(this,a)};V(lPb,r);lPb.prototype.toObject=function(){return mPb(this)};var mPb=function(a){if(null!=a)return t(a),{sourceDomainGaiaId:p(m(a,1)),destinationDomainGaiaId:p(m(a,2))}},nPb=[lPb,1,uq,2,uq];lPb.prototype.serializeBinary=u(nPb);var Gr=function(a){r.call(this,a)};V(Gr,r);Gr.prototype.toObject=function(){return oPb(this)};var oPb=function(a){if(null!=a)return t(a),{downloadUuid:p(m(a,1))}},pPb=[Gr,1,Cq];Gr.prototype.serializeBinary=u(pPb);var Hr=function(a){r.call(this,a)};V(Hr,r);Hr.repeatedFields_=[1];Hr.prototype.toObject=function(){return qPb(this)};var qPb=function(a){if(null!=a)return t(a),{additionalEffectiveEntriesList:Mb(yg(a,ar,1),br)}},rPb=[Hr,1,Iq,cr];Hr.prototype.serializeBinary=u(rPb);var Ir=function(a){r.call(this,a)};V(Ir,r);Ir.repeatedFields_=[1];Ir.prototype.toObject=function(){return sPb(this)};var sPb=function(a){if(null!=a)return t(a),{recipientEmailList:p(Cg(a,1))}},tPb=[Ir,1,Dq];Ir.prototype.serializeBinary=u(tPb);var uPb=function(a){r.call(this,a)};V(uPb,r);uPb.prototype.toObject=function(){return vPb(this)};var vPb=function(a){if(null!=a)return t(a),{allowLessSecureLink:p(Db(a,1))}},wPb=[uPb,1,zq];uPb.prototype.serializeBinary=u(wPb);var Jr=function(a){r.call(this,a)};V(Jr,r);f=Jr.prototype;f.getId=function(){return mh(this,1)};f.setId=function(a){return n(this,1,a)};f.getTitle=function(){return mh(this,2)};f.setTitle=function(a){return n(this,2,a)};f.toObject=function(){return xPb(this)};var xPb=function(a){if(null!=a)return t(a),{id:p(m(a,1)),title:p(m(a,2)),isRoot:p(Db(a,3)),isTeamDriveRoot:p(Db(a,4))}},yPb=[Jr,1,Cq,2,Cq,3,zq,4,zq];Jr.prototype.serializeBinary=u(yPb);var Kr=function(a){r.call(this,a)};V(Kr,r);Kr.prototype.getParentId=function(){return mh(this,1)};Kr.prototype.setParentId=function(a){return n(this,1,a)};Kr.prototype.toObject=function(){return zPb(this)};var zPb=function(a){if(null!=a)return t(a),{parentId:p(m(a,1)),shortcutId:p(m(a,2))}},APb=[Kr,1,Cq,2,Cq];Kr.prototype.serializeBinary=u(APb);var Lr=function(a){r.call(this,a)};V(Lr,r);Lr.repeatedFields_=[1,2];Lr.prototype.toObject=function(){return BPb(this)};var BPb=function(a){if(null!=a)return t(a),{migratedParentsList:Mb(yg(a,Kr,1),zPb),removedParentIdsList:p(Cg(a,2))}},CPb=[Lr,1,Iq,APb,2,Dq];Lr.prototype.serializeBinary=u(CPb);var Mr=function(a){r.call(this,a)};V(Mr,r);Mr.prototype.getReason=function(){return Fh(this,1,0)};Mr.prototype.setReason=function(a){n(this,1,a)};Mr.prototype.toObject=function(){return DPb(this)};var DPb=function(a){if(null!=a)return t(a),{reason:p(m(a,1))}},EPb=[Mr,1,Nq];Mr.prototype.serializeBinary=u(EPb);var Nr=function(a){r.call(this,a)};V(Nr,r);Nr.repeatedFields_=[1,2,3];Nr.prototype.toObject=function(){return FPb(this)};var FPb=function(a){if(null!=a)return t(a),{addedParentList:Mb(yg(a,Jr,1),xPb),removedParentList:Mb(yg(a,Jr,2),xPb),reparentReasonList:Mb(yg(a,Mr,3),DPb),multiparentMigrationInfo:BPb(W(a,Lr,4))}},GPb=[Nr,1,Iq,yPb,2,Iq,yPb,3,Iq,EPb,4,X,CPb];Nr.prototype.serializeBinary=u(GPb);var Or=function(a){r.call(this,a)};V(Or,r);Or.repeatedFields_=[1];Or.prototype.toObject=function(){return HPb(this)};var HPb=function(a){if(null!=a)return t(a),{authedUsersList:p(Wj(a,1))}},IPb=[Or,1,qq];Or.prototype.serializeBinary=u(IPb);var JPb=function(a){r.call(this,a)};V(JPb,r);var KPb=[2];JPb.prototype.toObject=function(){return LPb(this)};var LPb=function(a){if(null!=a)return t(a),{privateDescription:p(m(a,1)),authedUserList:HPb(Fi(a,Or,2,KPb))}},MPb=[JPb,1,Cq,2,Jq,IPb,KPb];JPb.prototype.serializeBinary=u(MPb);var NPb=function(a){r.call(this,a)};V(NPb,r);f=NPb.prototype;f.getText=function(){return mh(this,1)};f.getUrl=function(){return mh(this,2)};f.setUrl=function(a){return n(this,2,a)};f.hasUrl=function(){return jj(this,2)};f.toObject=function(){return OPb(this)};var OPb=function(a){if(null!=a)return t(a),{text:p(m(a,1)),url:p(m(a,2)),privateContext:LPb(W(a,JPb,3))}},PPb=[NPb,1,Cq,2,Cq,3,X,MPb];NPb.prototype.serializeBinary=u(PPb);var Pr=function(a){r.call(this,a)};V(Pr,r);Pr.repeatedFields_=[1];Pr.prototype.toObject=function(){return QPb(this)};var QPb=function(a){if(null!=a)return t(a),{ownerGaiaIdList:p($a(a,1,Ua)),ownerIsTeamDrive:p(Db(a,2)),teamDriveRootId:p(m(a,3)),teamDriveName:p(m(a,4)),teamDriveCreatorId:p(m(a,5))}},RPb=[Pr,1,vq,2,zq,3,Cq,4,Cq,5,pq];Pr.prototype.serializeBinary=u(RPb);var Qr=function(a){r.call(this,a)};V(Qr,r);Qr.prototype.toObject=function(){return SPb(this)};var SPb=function(a){if(null!=a)return t(a),{publishMode:p(m(a,1)),signinRequired:p(Db(a,2)),publishedTime:pr(W(a,ug,3))}},TPb=[Qr,1,Nq,2,zq,3,X,qr];Qr.prototype.serializeBinary=u(TPb);var UPb=function(a){r.call(this,a)};V(UPb,r);UPb.prototype.toObject=function(){return VPb(this)};var VPb=function(a){if(null!=a)return t(a),{oldPublishState:SPb(W(a,Qr,1)),newPublishState:SPb(W(a,Qr,2))}},WPb=[UPb,1,X,TPb,2,X,TPb];UPb.prototype.serializeBinary=u(WPb);var XPb=function(a){r.call(this,a)};V(XPb,r);XPb.prototype.toObject=function(){return YPb(this)};var YPb=function(a){if(null!=a)return t(a),{oldTitle:p(m(a,1)),newTitle:p(m(a,2))}},ZPb=[XPb,1,Cq,2,Cq];XPb.prototype.serializeBinary=u(ZPb);var Rr=function(a){r.call(this,a)};V(Rr,r);Rr.repeatedFields_=[2];Rr.prototype.toObject=function(){return $Pb(this)};var $Pb=function(a){if(null!=a)return t(a),{recipientDocId:p(m(a,1)),importedRangesList:p(Cg(a,2))}},aQb=[Rr,1,Cq,2,Dq];Rr.prototype.serializeBinary=u(aQb);var Sr=function(a){r.call(this,a)};V(Sr,r);f=Sr.prototype;f.getType=function(){return Fh(this,1,1)};f.setType=function(a){return n(this,1,a)};f.hasType=function(){return Vh(this,1)};f.getAppId=function(){return mh(this,2)};f.setAppId=function(a){n(this,2,a)};f.toObject=function(){return bQb(this)};var bQb=function(a){if(null!=a)return t(a),{type:Fh(a,1,1),appId:p(m(a,2))}},cQb=[Sr,1,Nq,2,Cq];Sr.prototype.serializeBinary=u(cQb);var dQb=function(a){r.call(this,a)};V(dQb,r);dQb.prototype.toObject=function(){return eQb(this)};var eQb=function(a){if(null!=a)return t(a),{newItemId:p(m(a,1)),newItemTitle:p(m(a,2)),newItemCustomerId:p(m(a,3)),newOwnerGaiaId:p(m(a,4)),newMimeType:p(m(a,5))}},fQb=[dQb,1,Cq,2,Cq,3,pq,4,pq,5,Cq];dQb.prototype.serializeBinary=u(fQb);var gQb=function(a){r.call(this,a)};V(gQb,r);gQb.prototype.toObject=function(){return hQb(this)};var hQb=function(a){if(null!=a)return t(a),{packageRootId:p(m(a,1)),packageParentId:p(m(a,2)),packageMimeType:p(m(a,3))}},iQb=[gQb,1,Cq,2,Cq,3,Cq];gQb.prototype.serializeBinary=u(iQb);var Tr=function(a){r.call(this,a)};V(Tr,r);f=Tr.prototype;f.getId=function(){return mh(this,1)};f.setId=function(a){return n(this,1,a)};f.getVersion=function(){return Wp(this,4)};f.setVersion=function(a){return n(this,4,a)};f.getVersionOrUndefined=function(){var a=m(this,4);return null==a?void 0:a};f.getName=function(){return mh(this,2)};f.setName=function(a){return n(this,2,a)};f.hasName=function(){return jj(this,2)};f.getNameOrUndefined=function(){return eq(this,2)};
f.getMimeType=function(){return mh(this,3)};f.setMimeType=function(a){n(this,3,a)};Tr.repeatedFields_=[6];Tr.prototype.toObject=function(){return jQb(this)};
var jQb=function(a){if(null!=a)return t(a),{id:p(m(a,1)),version:p(m(a,4)),name:p(m(a,2)),mimeType:p(m(a,3)),objectType:Fh(a,5,0),objectFamilyList:p(xg(a,6)),isTeamDriveRoot:p(Db(a,7)),packageEmbeddingData:hQb(W(a,gQb,8)),shortcutTargetId:p(m(a,9)),shortcutTargetMimeType:p(m(a,10))}},kQb=[Tr,1,Cq,4,uq,2,Cq,3,Cq,5,Nq,6,xq,7,zq,8,X,iQb,9,Cq,10,Cq];Tr.prototype.serializeBinary=u(kQb);var lQb=function(a){r.call(this,a)};V(lQb,r);lQb.prototype.toObject=function(){return mQb(this)};var mQb=function(a){if(null!=a)return t(a),{allowLessSecureLinkForAllFiles:p(Db(a,1))}},nQb=[lQb,1,zq];lQb.prototype.serializeBinary=u(nQb);var Ur=function(a){r.call(this,a)};V(Ur,r);Ur.repeatedFields_=[5,6,10,9];Ur.prototype.toObject=function(){return oQb(this)};
var oQb=function(a){if(null!=a)return t(a),{teamDriveId:p(m(a,1)),teamDriveJoinMessage:p(m(a,3)),membershipChangeType:p(m(a,4)),addedTeamDriveRoleList:p(Gj(a,5)),removedTeamDriveRoleList:p(Gj(a,6)),resharedTeamDriveRoleList:p(Gj(a,10)),sendShareNotification:vi(a,7,!0),isIndirectMembershipChange:p(Db(a,8)),indirectGroupsList:p($a(a,9,Ua)),isFromGroupAddedToTeamDrive:p(Db(a,11))}},pQb=[Ur,1,Cq,3,Cq,4,Nq,5,Oq,6,Oq,10,Oq,7,zq,8,zq,9,vq,11,zq];Ur.prototype.serializeBinary=u(pQb);var Vr=function(a){r.call(this,a)};V(Vr,r);Vr.prototype.getOldValue=function(){return Fh(this,1,0)};Vr.prototype.getNewValue=function(){return Fh(this,2,0)};Vr.prototype.toObject=function(){return Wr(this)};var Wr=function(a){if(null!=a)return t(a),{oldValue:p(m(a,1)),newValue:p(m(a,2))}},Xr=[Vr,1,Nq,2,Nq];Vr.prototype.serializeBinary=u(Xr);var Yr=function(a){r.call(this,a)};V(Yr,r);Yr.prototype.getDownload=function(){return W(this,Vr,3)};Yr.prototype.setDownload=function(a){Oh(this,Vr,3,a)};Yr.prototype.toObject=function(){return qQb(this)};var qQb=function(a){if(null!=a)return t(a),{crossDomainSharing:Wr(W(a,Vr,1)),directAcl:Wr(W(a,Vr,2)),download:Wr(a.getDownload()),driveFs:Wr(W(a,Vr,4)),fileOrganizerCanShareFolders:Wr(W(a,Vr,5))}},rQb=[Yr,1,X,Xr,2,X,Xr,3,X,Xr,4,X,Xr,5,X,Xr];Yr.prototype.serializeBinary=u(rQb);var sQb=function(a){r.call(this,a)};V(sQb,r);sQb.prototype.toObject=function(){return tQb(this)};var tQb=function(a){if(null!=a)return t(a),{currentState:p(m(a,1)),restoredSinceThisEvent:p(Db(a,2))}},uQb=[sQb,1,Nq,2,zq];sQb.prototype.serializeBinary=u(uQb);var Zr=function(a){r.call(this,a)};V(Zr,r);Zr.prototype.getCode=function(){return Fh(this,2,0)};Zr.prototype.setCode=function(a){return n(this,2,a)};Zr.prototype.toObject=function(){return vQb(this)};var vQb=function(a){if(null!=a)return t(a),{entry:br(W(a,ar,1)),code:Fh(a,2,0)}},wQb=[Zr,1,X,cr,2,Nq];Zr.prototype.serializeBinary=u(wQb);var $r=function(a){r.call(this,a)};V($r,r);$r.repeatedFields_=[1,2,3,4];$r.prototype.toObject=function(){return xQb(this)};var xQb=function(a){if(null!=a)return t(a),{addedEntryVisibilityList:Mb(yg(a,Zr,1),vQb),removedEntryVisibilityList:Mb(yg(a,Zr,2),vQb),fullAclVisibilityList:p(Gj(a,3)),beforeEventVisibilityList:p(Gj(a,4))}},yQb=[$r,1,Iq,wQb,2,Iq,wQb,3,Oq,4,Oq];$r.prototype.serializeBinary=u(yQb);var as=function(a){r.call(this,a)};V(as,r);as.repeatedFields_=[1,2];as.prototype.toObject=function(){return zQb(this)};var zQb=function(a){if(null!=a)return t(a),{addedWorkspaceIdsList:p(Cg(a,1)),removedWorkspaceIdsList:p(Cg(a,2))}},AQb=[as,1,Dq,2,Dq];as.prototype.serializeBinary=u(AQb);var BQb=function(a){r.call(this,a)};V(BQb,r);BQb.prototype.toObject=function(){return CQb(this)};var CQb=function(a){if(null!=a)return t(a),{deviceUserSessionId:p(m(a,1)),userAuthenticationTimeMs:p(m(a,2))}},DQb=[BQb,1,Cq,2,uq];BQb.prototype.serializeBinary=u(DQb);var bs=function(a){r.call(this,a)};V(bs,r);bs.prototype.getType=function(){return Fh(this,1,0)};bs.prototype.setType=function(a){return n(this,1,a)};bs.prototype.hasType=function(){return Vh(this,1)};bs.prototype.toObject=function(){return EQb(this)};var EQb=function(a){if(null!=a)return t(a),{type:p(m(a,1)),groupingId:p(m(a,2)),propagationStartTimeMillis:p(m(a,3)),propagationRootItemId:p(m(a,4))}},FQb=[bs,1,Nq,2,Cq,3,uq,4,Cq];bs.prototype.serializeBinary=u(FQb);var GQb=function(a){r.call(this,a)};V(GQb,r);GQb.prototype.toObject=function(){return HQb(this)};var HQb=function(a){if(null!=a)return t(a),{intentType:p(m(a,1))}},IQb=[GQb,1,Nq];GQb.prototype.serializeBinary=u(IQb);var cs=function(a){r.call(this,a)};V(cs,r);cs.prototype.getType=function(){return Fh(this,1,0)};cs.prototype.setType=function(a){return n(this,1,a)};cs.prototype.hasType=function(){return Vh(this,1)};cs.prototype.toObject=function(){return JQb(this)};var JQb=function(a){if(null!=a)return t(a),{type:p(m(a,1))}},KQb=[cs,1,Nq];cs.prototype.serializeBinary=u(KQb);var ds=function(a){r.call(this,a)};V(ds,r);ds.prototype.getEmail=function(){return mh(this,14)};ds.prototype.setEmail=function(a){return n(this,14,a)};ds.prototype.hasEmail=function(){return jj(this,14)};ds.prototype.toObject=function(){return LQb(this)};var LQb=function(a){if(null!=a)return t(a),{gaiaid:p(m(a,13)),email:p(m(a,14))}},MQb=[ds,13,uq,14,Cq];ds.prototype.serializeBinary=u(MQb);var es=function(a){r.call(this,a)};V(es,r);es.prototype.getId=function(){return Wp(this,11)};es.prototype.setId=function(a){return n(this,11,a)};es.prototype.toObject=function(){return NQb(this)};var NQb=function(a){if(null!=a)return t(a),{id:p(m(a,11))}},OQb=[es,11,uq];es.prototype.serializeBinary=u(OQb);var gs=function(a){r.call(this,a)};V(gs,r);gs.repeatedFields_=[10];gs.prototype.toObject=function(){return PQb(this)};var PQb=function(a){if(null!=a)return t(a),{keyvalue:p(m(a,9)),gaiaIdList:Mb(yg(a,es,10),NQb)}},QQb=[gs,9,uq,10,rNb,OQb];gs.prototype.serializeBinary=u(QQb);var hs=function(a){r.call(this,a)};V(hs,r);hs.repeatedFields_=[1];hs.prototype.toObject=function(){return RQb(this)};var RQb=function(a){if(null!=a)return t(a),{scopeList:Mb(yg(a,$q,1),iOb)}},SQb=[hs,1,Iq,jOb];hs.prototype.serializeBinary=u(SQb);var is=function(a){r.call(this,a)};V(is,r);is.prototype.getWrappedkeyList=function(){return yg(this,Vq,2)};is.repeatedFields_=[2];is.prototype.toObject=function(){return TQb(this)};var TQb=function(a){if(null!=a)return t(a),{hmacsha1:Qb(si(a,1)),wrappedkeyList:Mb(a.getWrappedkeyList(),HNb)}},UQb=[is,1,Kq,2,Iq,INb];is.prototype.serializeBinary=u(UQb);var js=function(a){r.call(this,a)};V(js,r);js.prototype.getEmail=function(){return mh(this,2)};js.prototype.setEmail=function(a){return n(this,2,a)};js.prototype.hasEmail=function(){return jj(this,2)};js.repeatedFields_=[12,7];js.prototype.toObject=function(){return VQb(this)};
var VQb=function(a){if(null!=a)return t(a),{inviteid:p(m(a,1)),requirelistedtoken:vi(a,13,!1),tokenmetadataList:Mb(yg(a,is,12),TQb),email:p(m(a,2)),singleuse:vi(a,3,!1),uses:p(Cb(a,4)),creationtimems:p(m(a,5)),rolevalue:p(Cb(a,6)),recipientemailList:p(Cg(a,7)),indirect:p(Db(a,8)),expirationtimems:p(m(a,9)),allowanonymoususage:p(Db(a,11)),inviter:p(m(a,14)),obsolete10:Qb(si(a,10))}},WQb=[js,1,pq,13,zq,12,Iq,UQb,2,Cq,3,zq,4,wq,5,pq,6,wq,7,Dq,8,zq,9,pq,11,zq,14,pq,10,Kq];
js.prototype.serializeBinary=u(WQb);var ks=function(a){r.call(this,a)};V(ks,r);ks.repeatedFields_=[1];ks.prototype.toObject=function(){return XQb(this)};var XQb=function(a){if(null!=a)return t(a),{abuseTypeList:p(xg(a,1))}},YQb=[ks,1,xq];ks.prototype.serializeBinary=u(YQb);var ZQb=function(a){r.call(this,a)};V(ZQb,r);ZQb.prototype.toObject=function(){return $Qb(this)};var $Qb=function(a){if(null!=a)return t(a),{minimumAgeYears:p(Cb(a,1)),maximumAgeYears:p(Cb(a,2))}},aRb=[ZQb,1,wq,2,wq];ZQb.prototype.serializeBinary=u(aRb);var ls=function(a){r.call(this,a)};V(ls,r);ls.prototype.getContentType=function(){return Fh(this,1,1)};ls.prototype.toObject=function(){return bRb(this)};var bRb=function(a){if(null!=a)return t(a),{contentType:p(m(a,1))}},cRb=[ls,1,Nq];ls.prototype.serializeBinary=u(cRb);var ms=function(a){r.call(this,a)};V(ms,r);ms.repeatedFields_=[2];ms.prototype.toObject=function(){return dRb(this)};var dRb=function(a){if(null!=a)return t(a),{globalAgeRestriction:$Qb(W(a,ZQb,1)),locationBasedAgeRestrictionList:Mb(yg(a,ls,2),bRb)}},eRb=[ms,1,X,aRb,2,Iq,cRb];ms.prototype.serializeBinary=u(eRb);var fRb=function(a){r.call(this,a)};V(fRb,r);var gRb=[1];fRb.prototype.toObject=function(){return hRb(this)};var hRb=function(a){if(null!=a)return t(a),{driveItemContentRegion:p(Up(a,ym(a,gRb,1)))}},iRb=[fRb,1,Rq,gRb];fRb.prototype.serializeBinary=u(iRb);var jRb=function(a){r.call(this,a)};V(jRb,r);jRb.prototype.toObject=function(){return kRb(this)};var kRb=function(a){if(null!=a)return t(a),{matchingDetectorId:p(m(a,1)),matchingDlpContentRegion:hRb(W(a,fRb,2))}},lRb=[jRb,1,Cq,2,X,iRb];jRb.prototype.serializeBinary=u(lRb);var ns=function(a){r.call(this,a)};V(ns,r);ns.repeatedFields_=[2,3];ns.prototype.toObject=function(){return mRb(this)};var mRb=function(a){if(null!=a)return t(a),{matchingRuleId:p(m(a,1)),matchingDetectorIdList:p(Cg(a,2)),matchingDetectorDetailList:Mb(yg(a,jRb,3),kRb)}},nRb=[ns,1,pq,2,Dq,3,Iq,lRb];ns.prototype.serializeBinary=u(nRb);var ps=function(a){r.call(this,a)};V(ps,r);ps.prototype.getObsolete4=function(){return XMb(this,4)};ps.repeatedFields_=[2,3,4];ps.prototype.toObject=function(){return oRb(this)};var oRb=function(a){if(null!=a)return t(a),{timestampMillis:p(m(a,1)),obsolete2List:p(Wj(a,2)),matchingDlpRuleList:Mb(yg(a,ns,3),mRb),obsolete4List:p(Wj(a,4)),matchedAtleastOnce:p(Db(a,5))}},pRb=[ps,1,uq,2,qq,3,Iq,nRb,4,qq,5,zq];ps.prototype.serializeBinary=u(pRb);var qs=function(a){r.call(this,a)};V(qs,r);qs.prototype.toObject=function(){return qRb(this)};var qRb=function(a){if(null!=a)return t(a),{domainId:p(m(a,1))}},rRb=[qs,1,pq];qs.prototype.serializeBinary=u(rRb);var rs=function(a){r.call(this,a)};V(rs,r);rs.prototype.hasUserId=function(){return Aj(this,1)};rs.prototype.toObject=function(){return sRb(this)};var sRb=function(a){if(null!=a)return t(a),{userId:p(m(a,1))}},tRb=[rs,1,pq];rs.prototype.serializeBinary=u(tRb);var uRb=function(a){r.call(this,a)};V(uRb,r);f=uRb.prototype;f.getDomain=function(){return W(this,qs,2)};f.setDomain=function(a){return Oh(this,qs,2,a)};f.hasDomain=function(){return qi(this,qs,2)};f.getDlpInfo=function(){return W(this,ps,5)};f.toObject=function(){return vRb(this)};
var vRb=function(a){if(null!=a)return t(a),{liableUser:sRb(W(a,rs,1)),domain:qRb(a.getDomain()),abuse:XQb(W(a,ks,3)),ageRestriction:dRb(W(a,ms,4)),dlpInfo:oRb(a.getDlpInfo())}},wRb=[uRb,1,X,tRb,2,X,rRb,3,X,YQb,4,X,eRb,5,X,pRb];uRb.prototype.serializeBinary=u(wRb);var xRb=function(a){r.call(this,a)};V(xRb,r);xRb.prototype.toObject=function(){return yRb(this)};var yRb=function(a){if(null!=a)return t(a),{gaiaEmail:vi(a,1,!1)}},zRb=[xRb,1,zq];xRb.prototype.serializeBinary=u(zRb);var ss=function(a){r.call(this,a)};V(ss,r);ss.prototype.getScope=function(){return W(this,$q,1)};ss.prototype.toObject=function(){return ARb(this)};var ARb=function(a){if(null!=a)return t(a),{scope:iOb(a.getScope()),knownsharetimedata:yRb(W(a,xRb,3))}},BRb=[ss,1,X,jOb,3,X,zRb];ss.prototype.serializeBinary=u(BRb);var ts=function(a){r.call(this,a)};V(ts,r);ts.prototype.getEntriesList=function(){return yg(this,ar,2)};ts.repeatedFields_=[2,17,3,7,8,12,22,20];ts.prototype.toObject=function(){return us(this)};
var us=function(a){if(null!=a)return t(a),{entriesList:Mb(a.getEntriesList(),br),scopeinfoList:Mb(yg(a,ss,17),ARb),invitesList:Mb(yg(a,js,3),VQb),obsolete16:Qb(si(a,16)),writerscaneditacl:p(Db(a,4)),readerscaneditacl:p(Db(a,6)),noanonymousaccess:p(Db(a,5)),revokedkeyvaluesList:p($a(a,7,Ua)),persistentAccessSetList:Mb(yg(a,gs,8),PQb),acceptedEmailInviteList:Mb(yg(a,ds,12),LQb),requiredscopes:RQb(W(a,hs,15)),policydata:vRb(W(a,uRb,18)),zookie:Qb(si(a,19)),resourceid:$Nb(W(a,Xq,21)),zanzibarwrappedkeyList:Mb(yg(a,
Vq,22),HNb),ticketedwrappedkeyList:Mb(yg(a,Vq,20),HNb)}},vs=[ts,2,Iq,cr,17,Iq,BRb,3,Iq,WQb,16,Kq,4,zq,6,zq,5,zq,7,vq,8,rNb,QQb,12,rNb,MQb,15,X,SQb,18,X,wRb,19,Kq,21,X,aOb,22,Iq,INb,20,Iq,INb];ts.prototype.serializeBinary=u(vs);var CRb=function(a){r.call(this,a)};V(CRb,r);CRb.prototype.toObject=function(){return DRb(this)};var DRb=function(a){if(null!=a)return t(a),{membershipAcl:us(W(a,ts,2)),visitorAcl:us(W(a,ts,3)),teamDriveState:p(m(a,4)),inheritedAcl:us(W(a,ts,5))}},ERb=[CRb,2,X,vs,3,X,vs,4,Nq,5,X,vs];CRb.prototype.serializeBinary=u(ERb);var FRb=function(a){r.call(this,a)};V(FRb,r);FRb.prototype.toObject=function(){return GRb(this)};var GRb=function(a){if(null!=a)return t(a),{domainPolicyVisibilityState:p(m(a,1)),namedPartyState:p(m(a,2))}},HRb=[FRb,1,Nq,2,Nq];FRb.prototype.serializeBinary=u(HRb);var ws=function(a){r.call(this,a)};V(ws,r);f=ws.prototype;f.getEventType=function(){return $Mb(this,2)};f.setEventType=function(a){return fb(this,2,a,void 0,Gj)};f.getSource=function(){return W(this,Sr,35)};f.setSource=function(a){return Oh(this,Sr,35,a)};f.hasSource=function(){return qi(this,Sr,35)};f.getTimestamp=function(){return Wp(this,4)};f.setTimestamp=function(a){return n(this,4,a)};f.hasTimestamp=function(){return null!=m(this,4)};f.getUser=function(){return Wp(this,5)};
f.setUser=function(a){n(this,5,a)};f.hasUser=function(){return null!=m(this,5)};f.getTarget=function(){return W(this,Tr,6)};f.setTarget=function(a){return Oh(this,Tr,6,a)};f.getComment=function(){return W(this,Dr,14)};f.setComment=function(a){Oh(this,Dr,14,a)};f.getVisibility=function(){return W(this,$r,51)};f.getDownload=function(){return W(this,Gr,91)};f.setDownload=function(a){Oh(this,Gr,91,a)};f.getEventId=function(){return mh(this,18)};f.setEventId=function(a){n(this,18,a)};
f.getParent=function(a){return Zp(this,20,a)};f.setParent=function(a){return fb(this,20,a,void 0,Cg)};f.getDlpInfo=function(){return W(this,ps,64)};ws.repeatedFields_=[2,41,29,57,24,77,85,20,21,22,39];ws.prototype.toObject=function(){return IRb(this)};
var IRb=function(a){if(null!=a)return t(a),{primaryEventType:p(m(a,1)),eventTypeList:p(Gj(a,2)),originatingApp:p(m(a,15)),originatingAppSubId:p(m(a,34)),source:bQb(a.getSource()),isAdminAction:vi(a,31,!1),systemEvent:JQb(W(a,cs,68)),requestIntentList:Mb(yg(a,GQb,41),HQb),timestamp:p(m(a,4)),user:p(m(a,5)),targetUserList:p($a(a,29,Ua)),targetGroupList:p($a(a,57,Ua)),target:jQb(a.getTarget()),move:FPb(W(a,Nr,7)),rename:YPb(W(a,XPb,8)),aclChange:wOb(W(a,jr,9)),visitorAclChange:wOb(W(a,jr,55)),teamDriveInheritedAclChange:wOb(W(a,
jr,82)),copy:cPb(W(a,bPb,13)),sourceCopy:eQb(W(a,dQb,90)),comment:$Ob(a.getComment()),trash:tQb(W(a,sQb,56)),dlpUpdate:jPb(W(a,iPb,52)),teamDriveMembershipChange:oQb(W(a,Ur,46)),teamDriveSettingsChange:qQb(W(a,Yr,70)),teamDriveLinkShareMetadataChange:mQb(W(a,lQb,88)),visibility:xQb(a.getVisibility()),originAppContext:OPb(W(a,NPb,65)),approvalChangeMessage:MOb(W(a,vr,75)),approvalSystemNotificationMessage:OOb(W(a,wr,78)),accessRequestMessage:uOb(W(a,ir,72)),sheetsRangeImportMessage:$Pb(W(a,Rr,74)),
propagationInfo:EQb(W(a,bs,66)),hijackDetectionInfo:CQb(W(a,BQb,67)),ownerDomainIdList:p($a(a,24,Ua)),actorDomainId:p(m(a,59)),ownerCustomerId:p(m(a,79)),actorCustomerId:p(m(a,80)),previousOwnerCustomerId:p(m(a,92)),viewHistoryVisibility:GRb(W(a,FRb,71)),categoryMetadataChangesList:Mb(yg(a,Br,77),WOb),publishChange:VPb(W(a,UPb,84)),appliedLabelChangesList:Mb(yg(a,ur,85),HOb),linkShareMetadataChange:vPb(W(a,uPb,87)),download:oPb(a.getDownload()),eventId:p(m(a,18)),parentList:p(Cg(a,20)),ancestorList:p(Cg(a,
21)),subscriberList:p($a(a,22,Ua)),ownerInfo:QPb(W(a,Pr,62)),previousOwnerInfo:QPb(W(a,Pr,61)),creatorGaiaId:p(m(a,63)),acl:us(W(a,ts,25)),teamDriveAcls:DRb(W(a,CRb,76)),ipAddress:p(m(a,26)),trashed:p(Db(a,27)),dlpInfo:oRb(a.getDlpInfo()),customExtensionList:Mb(yg(a,er,39),mOb),domainTransferData:mPb(W(a,lPb,73)),workspaceChange:zQb(W(a,as,81)),emailAsAttachment:sPb(W(a,Ir,83)),effectiveAclChangeInfo:qPb(W(a,Hr,86))}},JRb=[ws,1,Nq,2,Oq,15,Cq,34,Cq,35,X,cQb,31,zq,68,X,KQb,41,Iq,IQb,4,uq,5,uq,29,vq,
57,vq,6,X,kQb,7,X,GPb,8,X,ZPb,9,X,xOb,55,X,xOb,82,X,xOb,13,X,dPb,90,X,fQb,14,X,aPb,56,X,uQb,52,X,kPb,46,X,pQb,70,X,rQb,88,X,nQb,51,X,yQb,65,X,PPb,75,X,NOb,78,X,POb,72,X,vOb,74,X,aQb,66,X,FQb,67,X,DQb,24,vq,59,uq,79,pq,80,pq,92,pq,71,X,HRb,77,Iq,XOb,84,X,WPb,85,Iq,IOb,87,X,wPb,91,X,pPb,18,Cq,20,Dq,21,Dq,22,vq,62,X,RPb,61,X,RPb,63,uq,25,X,vs,76,X,ERb,26,Cq,27,zq,64,X,pRb,39,Iq,nOb,73,X,nPb,81,X,AQb,83,X,tPb,86,X,rPb];ws.prototype.serializeBinary=u(JRb);var KRb=Lb(10837399,{messageSetExtension:0},ts,us);gr[10837399]=gq(hq,vs);fr[10837399]=KRb;var LRb=Lb(62513794,{messageSetExtension:0},ws,IRb);gr[62513794]=gq(hq,JRb);fr[62513794]=LRb;var xs=function(a){r.call(this,a)};V(xs,r);xs.prototype.getResourceKey=function(){return m(this,2)};xs.prototype.toObject=function(){return MRb(this)};var MRb=function(a){if(null!=a)return t(a),{resourceKey:p(m(a,2))}},NRb=[xs,2,Cq];xs.prototype.serializeBinary=u(NRb);var ys=function(a){r.call(this,a)};V(ys,r);ys.prototype.getCustomerId=function(){return m(this,1)};ys.prototype.toObject=function(){return ORb(this)};var ORb=function(a){if(null!=a)return t(a),{customerId:p(m(a,1))}},PRb=[ys,1,Cq];ys.prototype.serializeBinary=u(PRb);var QRb=function(a){r.call(this,a)};V(QRb,r);QRb.prototype.toObject=function(){return RRb(this)};var RRb=function(a){if(null!=a)return t(a),{}},SRb=[QRb];QRb.prototype.serializeBinary=u(SRb);var zs=function(a){r.call(this,a)};V(zs,r);zs.prototype.getCustomerId=function(){return W(this,ys,1)};zs.prototype.toObject=function(){return TRb(this)};var TRb=function(a){if(null!=a)return t(a),{customerId:ORb(a.getCustomerId())}},URb=[zs,1,X,PRb];zs.prototype.serializeBinary=u(URb);var VRb=function(a){r.call(this,a)};V(VRb,r);var WRb=[1,2];VRb.prototype.toObject=function(){return XRb(this)};var XRb=function(a){if(null!=a)return t(a),{consumerInfo:RRb(Fi(a,QRb,1,WRb)),customerInfo:TRb(Fi(a,zs,2,WRb))}},YRb=[VRb,1,Jq,SRb,WRb,2,Jq,URb,WRb];VRb.prototype.serializeBinary=u(YRb);var As=function(a){r.call(this,a)};V(As,r);As.prototype.toObject=function(){return ZRb(this)};var ZRb=function(a){if(null!=a)return t(a),{membershipCount:p(Cb(a,1)),memberType:p(m(a,2)),membershipState:p(m(a,3))}},$Rb=[As,1,wq,2,Nq,3,Nq];As.prototype.serializeBinary=u($Rb);var Bs=function(a){r.call(this,a)};V(Bs,r);Bs.prototype.getValueList=function(){return yg(this,As,1)};Bs.prototype.addValue=function(){return um(this,1,As)};Bs.prototype.setValue=function(a,b){return Np(this,1,As,a,b)};Bs.repeatedFields_=[1];Bs.prototype.toObject=function(){return aSb(this)};var aSb=function(a){if(null!=a)return t(a),{valueList:Mb(a.getValueList(),ZRb)}},bSb=[Bs,1,Iq,$Rb];Bs.prototype.serializeBinary=u(bSb);var Cs=function(a){r.call(this,a)};V(Cs,r);Cs.prototype.getIndex=function(){return Vp(this,1)};Cs.prototype.setIndex=function(a){cb(this,1,a,0)};Cs.prototype.toObject=function(){return cSb(this)};var cSb=function(a){if(null!=a)return t(a),{index:Vp(a,1),dataSourceIndex:Vp(a,2)}},dSb=[Cs,1,Mq,2,Mq];Cs.prototype.serializeBinary=u(dSb);var Ds=function(a){r.call(this,a)};V(Ds,r);f=Ds.prototype;f.getId=function(){return mh(this,1)};f.setId=function(a){return mb(this,1,a)};f.getSourceId=function(){return Fh(this,2,0)};f.setSourceId=function(a){return Dh(this,2,a)};f.toObject=function(){return eSb(this)};var eSb=function(a){if(null!=a)return t(a),{id:mh(a,1),sourceId:Fh(a,2,0)}},fSb=[Ds,1,Eq,2,Qq];Ds.prototype.serializeBinary=u(fSb);var gSb=function(a){r.call(this,a)};V(gSb,r);gSb.prototype.toObject=function(){return hSb(this)};var hSb=function(a){if(null!=a)return t(a),{sampleRate:Ag(a,1),samples:Qb(si(a,2))}},iSb=[gSb,1,yq,2,Lq];gSb.prototype.serializeBinary=u(iSb);var wg=function(a){r.call(this,a)};V(wg,r);f=wg.prototype;f.getSeconds=function(){return Wh(this,1)};f.setSeconds=function(a){return lb(this,1,a)};f.getNanos=function(){return Ag(this,2)};f.setNanos=function(a){return kb(this,2,a)};f.toObject=function(){return Es(this)};var Es=function(a){if(null!=a)return t(a),{seconds:Wh(a,1),nanos:Ag(a,2)}},Fs=[wg,1,sq,2,yq];wg.prototype.serializeBinary=u(Fs);var Gs=function(a){r.call(this,a)};V(Gs,r);Gs.prototype.getDuration=function(){return W(this,wg,1)};Gs.prototype.toObject=function(){return jSb(this)};var jSb=function(a){if(null!=a)return t(a),{duration:Es(a.getDuration()),internalPreviewUrl:mh(a,2),internalWaveformUrl:mh(a,3),internalWaveformData:hSb(W(a,gSb,4))}},kSb=[Gs,1,X,Fs,2,Eq,3,Eq,4,X,iSb];Gs.prototype.serializeBinary=u(kSb);var Hs=function(a){r.call(this,a)};V(Hs,r);f=Hs.prototype;f.getUrl=function(){return mh(this,1)};f.setUrl=function(a){return mb(this,1,a)};f.getHeight=function(){return Ag(this,2)};f.setHeight=function(a){return kb(this,2,a)};f.getWidth=function(){return Ag(this,3)};f.setWidth=function(a){return kb(this,3,a)};f.toObject=function(){return Is(this)};var Is=function(a){if(null!=a)return t(a),{url:mh(a,1),height:Ag(a,2),width:Ag(a,3),rotation:Vp(a,4)}},Js=[Hs,1,Eq,2,yq,3,yq,4,Mq];
Hs.prototype.serializeBinary=u(Js);var Ks=function(a){r.call(this,a)};V(Ks,r);Ks.prototype.getDuration=function(){return W(this,wg,2)};Ks.prototype.toObject=function(){return lSb(this)};var lSb=function(a){if(null!=a)return t(a),{aspectRatio:Xh(a,1),duration:Es(a.getDuration()),internalPreviewUrl:mh(a,3)}},mSb=[Ks,1,jq,2,X,Fs,3,Eq];Ks.prototype.serializeBinary=u(mSb);var nSb=function(a){r.call(this,a)};V(nSb,r);nSb.prototype.toObject=function(){return oSb(this)};var oSb=function(a){if(null!=a)return t(a),{left:Xh(a,1),top:Xh(a,2),right:Xh(a,3),bottom:Xh(a,4)}},qSb=[nSb,1,jq,2,jq,3,jq,4,jq];nSb.prototype.serializeBinary=u(qSb);var Ls=function(a){r.call(this,a)};V(Ls,r);Ls.prototype.getRotate=function(){return Ag(this,2)};Ls.prototype.setRotate=function(a){return kb(this,2,a)};Ls.prototype.toObject=function(){return rSb(this)};var rSb=function(a){if(null!=a)return t(a),{cropCoordinates:oSb(W(a,nSb,1)),rotate:Ag(a,2),caption:mh(a,3)}},sSb=[Ls,1,X,qSb,2,yq,3,Eq];Ls.prototype.serializeBinary=u(sSb);var tSb=function(a){r.call(this,a)};V(tSb,r);f=tSb.prototype;f.getEmail=function(){return mh(this,1)};f.setEmail=function(a){return mb(this,1,a)};f.getName=function(){return mh(this,2)};f.setName=function(a){return mb(this,2,a)};f.getDisplayName=function(){return mh(this,3)};f.setDisplayName=function(a){return mb(this,3,a)};f.toObject=function(){return uSb(this)};
var uSb=function(a){if(null!=a)return t(a),{email:mh(a,1),name:mh(a,2),displayName:mh(a,3),templateProfilePhotoUrl:mh(a,4),profilePhoto:Is(W(a,Hs,5))}},vSb=[tSb,1,Eq,2,Eq,3,Eq,4,Eq,5,X,Js];tSb.prototype.serializeBinary=u(vSb);var Ms=function(a){r.call(this,a)};V(Ms,r);Ms.prototype.getBackgroundColor=function(){return mh(this,2)};Ms.prototype.setBackgroundColor=function(a){mb(this,2,a)};Ms.prototype.setSelected=function(a){return jb(this,5,a)};Ms.prototype.toObject=function(){return wSb(this)};var wSb=function(a){if(null!=a)return t(a),{accessRole:Fh(a,1,0),backgroundColor:mh(a,2),foregroundColor:mh(a,3),hidden:vi(a,4),selected:vi(a,5),profileMetadata:uSb(W(a,tSb,6))}},xSb=[Ms,1,Qq,2,Eq,3,Eq,4,Aq,5,Aq,6,X,vSb];
Ms.prototype.serializeBinary=u(xSb);var Ns=function(a){r.call(this,a)};V(Ns,r);Ns.prototype.toObject=function(){return ySb(this)};var ySb=function(a){if(null!=a)return t(a),{rawBytes:Qb(si(a,1))}},zSb=[Ns,1,Lq];Ns.prototype.serializeBinary=u(zSb);var Os=function(a){r.call(this,a)};V(Os,r);f=Os.prototype;f.getEmailList=function(){return Cg(this,1)};f.addEmail=function(a){return eb(this,1,a)};f.getEmail=function(a){return Zp(this,1,a)};f.setEmail=function(a){return fb(this,1,a,void 0,Cg)};f.getGroupId=function(a){return Zp(this,2,a)};f.setGroupId=function(a){fb(this,2,a,void 0,Cg)};Os.repeatedFields_=[1,2];Os.prototype.toObject=function(){return ASb(this)};
var ASb=function(a){if(null!=a)return t(a),{emailList:p(Cg(a,1)),groupIdList:p(Cg(a,2))}},BSb=[Os,1,Dq,2,Dq];Os.prototype.serializeBinary=u(BSb);var CSb=function(a){r.call(this,a)};V(CSb,r);CSb.prototype.toObject=function(){return DSb(this)};var DSb=function(a){if(null!=a)return t(a),{searchTerm:mh(a,1)}},ESb=[CSb,1,Eq];CSb.prototype.serializeBinary=u(ESb);var FSb=function(a){r.call(this,a)};V(FSb,r);FSb.prototype.toObject=function(){return GSb(this)};var GSb=function(a){if(null!=a)return t(a),{originalGif:Is(W(a,Hs,1)),originalLmsImage:Is(W(a,Hs,2)),collectionMetadata:DSb(W(a,CSb,3))}},HSb=[FSb,1,X,Js,2,X,Js,3,X,ESb];FSb.prototype.serializeBinary=u(HSb);var Ps=function(a){r.call(this,a)};V(Ps,r);Ps.prototype.getCategory=function(){return Fh(this,1,0)};Ps.prototype.toObject=function(){return ISb(this)};var ISb=function(a){if(null!=a)return t(a),{category:Fh(a,1,0),categoryLabel:mh(a,2)}},JSb=[Ps,1,Qq,2,Eq];Ps.prototype.serializeBinary=u(JSb);var Qs=function(a){r.call(this,a)};V(Qs,r);Qs.prototype.getTotalItems=function(){return Vp(this,1)};Qs.prototype.setTotalItems=function(a){return cb(this,1,a,0)};Qs.prototype.toObject=function(){return KSb(this)};var KSb=function(a){if(null!=a)return t(a),{totalItems:Vp(a,1),startTimestamp:pr(W(a,ug,2)),endTimestamp:pr(W(a,ug,3))}},LSb=[Qs,1,Mq,2,X,qr,3,X,qr];Qs.prototype.serializeBinary=u(LSb);var Rs=function(a){r.call(this,a)};V(Rs,r);Rs.prototype.getLatitude=function(){return Xh(this,1)};Rs.prototype.getLongitude=function(){return Xh(this,2)};Rs.prototype.toObject=function(){return MSb(this)};var MSb=function(a){if(null!=a)return t(a),{latitude:p(yb(a,1)),longitude:p(yb(a,2))}},NSb=[Rs,1,iq,2,iq];Rs.prototype.serializeBinary=u(NSb);var Ss=function(a){r.call(this,a)};V(Ss,r);Ss.prototype.toObject=function(){return OSb(this)};var OSb=function(a){if(null!=a)return t(a),{albumMetadata:KSb(W(a,Qs,1)),dedupKey:mh(a,2),geolocationInfo:MSb(W(a,Rs,3))}},PSb=[Ss,1,X,LSb,2,Eq,3,X,NSb];Ss.prototype.serializeBinary=u(PSb);var QSb=function(a){r.call(this,a)};V(QSb,r);QSb.prototype.toObject=function(){return RSb(this)};var RSb=function(a){if(null!=a)return t(a),{assetId:mh(a,1)}},SSb=[QSb,1,Eq];QSb.prototype.serializeBinary=u(SSb);var Ts=function(a){r.call(this,a)};V(Ts,r);Ts.prototype.toObject=function(){return TSb(this)};var TSb=function(a){if(null!=a)return t(a),{contentId:mh(a,1)}},USb=[Ts,1,Eq];Ts.prototype.serializeBinary=u(USb);var Us=function(a){r.call(this,a)};V(Us,r);Us.prototype.getPhotoId=function(){return mh(this,1)};Us.prototype.toObject=function(){return VSb(this)};var VSb=function(a){if(null!=a)return t(a),{photoId:mh(a,1)}},WSb=[Us,1,Eq];Us.prototype.serializeBinary=u(WSb);var Vs=function(a){r.call(this,a)};V(Vs,r);Vs.prototype.toObject=function(){return XSb(this)};var XSb=function(a){if(null!=a)return t(a),{remoteRef:mh(a,1)}},YSb=[Vs,1,Eq];Vs.prototype.serializeBinary=u(YSb);var Ws=function(a){r.call(this,a)};V(Ws,r);Ws.prototype.toObject=function(){return ZSb(this)};var ZSb=function(a){if(null!=a)return t(a),{serializedUploadFileResponse:mh(a,1)}},$Sb=[Ws,1,Eq];Ws.prototype.serializeBinary=u($Sb);var Xs=function(a){r.call(this,a)};V(Xs,r);Xs.prototype.getAgentId=function(){return Fh(this,3,0)};var Ys=[2,4,5,6,7];Xs.prototype.toObject=function(){return aTb(this)};
var aTb=function(a){if(null!=a)return t(a),{dataUrl:mh(a,1),agentId:Fh(a,3,0),gmailPhotosMetadata:XSb(Fi(a,Vs,2,Ys)),geoPhotoMetadata:VSb(Fi(a,Us,4,Ys)),myMapsMetadata:ZSb(Fi(a,Ws,5,Ys)),culturalMetadata:RSb(Fi(a,QSb,7,Ys)),genericMetadata:TSb(Fi(a,Ts,6,Ys))}},bTb=[Xs,1,Eq,3,Qq,2,Jq,YSb,Ys,4,Jq,WSb,Ys,5,Jq,$Sb,Ys,7,Jq,SSb,Ys,6,Jq,USb,Ys];Xs.prototype.serializeBinary=u(bTb);var Zs=function(a){r.call(this,a)};V(Zs,r);Zs.prototype.getCategory=function(){return mh(this,1)};Zs.prototype.toObject=function(){return cTb(this)};var cTb=function(a){if(null!=a)return t(a),{category:mh(a,1)}},dTb=[Zs,1,Eq];Zs.prototype.serializeBinary=u(dTb);var eTb=function(a){r.call(this,a)};V(eTb,r);f=eTb.prototype;f.getWidth=function(){return Vp(this,1)};f.setWidth=function(a){return cb(this,1,a,0)};f.getHeight=function(){return Vp(this,2)};f.setHeight=function(a){return cb(this,2,a,0)};f.toObject=function(){return fTb(this)};var fTb=function(a){if(null!=a)return t(a),{width:Vp(a,1),height:Vp(a,2)}},gTb=[eTb,1,Mq,2,Mq];eTb.prototype.serializeBinary=u(gTb);var hTb=function(a){r.call(this,a)};V(hTb,r);hTb.prototype.toObject=function(){return iTb(this)};var iTb=function(a){if(null!=a)return t(a),{imageSize:fTb(W(a,eTb,1))}},jTb=[hTb,1,X,gTb];hTb.prototype.serializeBinary=u(jTb);var $s=function(a){r.call(this,a)};V($s,r);$s.prototype.toObject=function(){return kTb(this)};var kTb=function(a){if(null!=a)return t(a),{originalImage:Is(W(a,Hs,1)),referrerUrl:mh(a,2)}},lTb=[$s,1,X,Js,2,Eq];$s.prototype.serializeBinary=u(lTb);var at=function(a){r.call(this,a)};V(at,r);at.prototype.getVideoMetadata=function(){return W(this,Ks,1)};at.prototype.hasVideoMetadata=function(){return qi(this,Ks,1)};at.prototype.toObject=function(){return mTb(this)};var mTb=function(a){if(null!=a)return t(a),{videoMetadata:lSb(a.getVideoMetadata()),channelName:mh(a,2),channelId:mh(a,3),viewCount:Wp(a,4)}},nTb=[at,1,X,mSb,2,Eq,3,Eq,4,kNb];at.prototype.serializeBinary=u(nTb);var oTb=function(a){r.call(this,a)};V(oTb,r);oTb.prototype.toObject=function(){return pTb(this)};var pTb=function(a){if(null!=a)return t(a),{youtubeVideoMetadata:mTb(W(a,at,1))}},qTb=[oTb,1,X,nTb];oTb.prototype.serializeBinary=u(qTb);var bt=function(a){r.call(this,a)};V(bt,r);f=bt.prototype;f.getId=function(){return W(this,Ds,1)};f.setId=function(a){return Oh(this,Ds,1,a)};f.getName=function(){return mh(this,2)};f.setName=function(a){return mb(this,2,a)};f.getDescription=function(){return mh(this,3)};f.setDescription=function(a){return mb(this,3,a)};f.getParentId=function(){return mh(this,4)};f.setParentId=function(a){return mb(this,4,a)};f.getType=function(){return Fh(this,6,0)};f.setType=function(a){return Dh(this,6,a)};
f.getMimeType=function(){return mh(this,7)};f.setMimeType=function(a){mb(this,7,a)};f.getUrl=function(){return mh(this,8)};f.setUrl=function(a){return mb(this,8,a)};f.getIconUrl=function(){return mh(this,11)};f.setIconUrl=function(a){return mb(this,11,a)};var ct=function(a){return yg(a,Hs,10)};bt.prototype.getLastModifiedTimestamp=function(){return W(this,ug,12)};bt.prototype.getVideoMetadata=function(){return W(this,Ks,34)};bt.prototype.hasVideoMetadata=function(){return qi(this,Ks,34)};
var et=function(a){return W(a,dt,21)},rTb=function(a){r.call(this,a)};V(rTb,r);var dt=function(a){r.call(this,a)};V(dt,r);f=dt.prototype;f.getShared=function(){return vi(this,1)};f.setShared=function(a){jb(this,1,a)};f.getVideoMetadata=function(){return W(this,Ks,3)};f.hasVideoMetadata=function(){return qi(this,Ks,3)};f.getResourceKey=function(){return mh(this,11)};bt.repeatedFields_=[5,10,22];bt.prototype.toObject=function(){return ft(this)};
var ft=function(a){if(null!=a)return t(a),{id:eSb(a.getId()),name:mh(a,2),description:mh(a,3),parentId:mh(a,4),allParentIdList:p(Cg(a,5)),type:Fh(a,6,0),mimeType:mh(a,7),url:mh(a,8),templateThumbUrl:mh(a,9),iconUrl:mh(a,11),embedUrl:mh(a,13),previewUrl:mh(a,20),thumbnailList:Mb(ct(a),Is),internalThumbnailList:Mb(yg(a,Hs,22),Is),lastModifiedTimestamp:pr(a.getLastModifiedTimestamp()),creationTimestampMs:pr(W(a,ug,16)),videoMetadata:lSb(a.getVideoMetadata()),audioMetadata:jSb(W(a,Gs,35)),calendarMetadata:wSb(W(a,
Ms,14)),webMetadata:kTb(W(a,$s,15)),photosMetadata:OSb(W(a,Ss,18)),themesMetadata:cTb(W(a,Zs,19)),driveMetadata:sTb(et(a)),youtubeMetadata:pTb(W(a,oTb,24)),cameraMetadata:ySb(W(a,Ns,26)),contactsMetadata:ASb(W(a,Os,27)),partyMetadata:ISb(W(a,Ps,28)),urlMetadata:iTb(W(a,hTb,29)),uploadMetadata:aTb(W(a,Xs,30)),cropPhotoMetadata:rSb(W(a,Ls,32)),lmsMetadata:GSb(W(a,FSb,33)),bucketId:mh(a,17),sizeBytes:Wp(a,23),itemDiagnosticsInfo:cSb(W(a,Cs,25)),isAttachment:vi(a,31)}};rTb.prototype.toObject=function(){return tTb(this)};
var tTb=function(a){if(null!=a)return t(a),{targetId:mh(a,1),targetMimeType:mh(a,2),targetItem:ft(W(a,bt,3)),targetLookupStatus:Fh(a,4,0)}};dt.prototype.toObject=function(){return sTb(this)};
var sTb=function(a){if(null!=a)return t(a),{shared:vi(a,1),hasPrimarySyncParent:vi(a,2),videoMetadata:lSb(a.getVideoMetadata()),recencyTimestamp:pr(W(a,ug,4)),recencyReason:Wh(a,5),sharedDriveId:mh(a,6),hasOwnPermissions:vi(a,7),shortcutDetails:tTb(W(a,rTb,8)),copyable:vi(a,9),downloadUrl:mh(a,10),resourceKey:mh(a,11),isRecentUpload:vi(a,12),canDownload:vi(a,13),restrictedDownload:vi(a,14)}},gt=[bt,1,X,fSb,2,Eq,3,Eq,4,Eq,5,Dq,6,Qq,7,Eq,8,Eq,9,Eq,11,Eq,13,Eq,20,Eq,10,Iq,Js,22,Iq,Js,12,X,qr,16,X,qr,
34,X,mSb,35,X,kSb,14,X,xSb,15,X,lTb,18,X,PSb,19,X,dTb,21,X,function(){return uTb},24,X,qTb,26,X,zSb,27,X,BSb,28,X,JSb,29,X,jTb,30,X,bTb,32,X,sSb,33,X,HSb,17,Eq,23,kNb,25,X,dSb,31,Aq];bt.prototype.serializeBinary=u(gt);var vTb=[rTb,1,Eq,2,Eq,3,X,gt,4,Qq];rTb.prototype.serializeBinary=u(vTb);var uTb=[dt,1,Aq,2,Aq,3,X,mSb,4,X,qr,5,sq,6,Eq,7,Aq,8,X,vTb,9,Aq,10,Eq,11,Eq,12,Aq,13,Aq,14,Aq];dt.prototype.serializeBinary=u(uTb);var ht=function(a){r.call(this,a)};V(ht,r);ht.prototype.getLabel=function(){return mh(this,2)};ht.prototype.setLabel=function(a){return mb(this,2,a)};ht.prototype.toObject=function(){return wTb(this)};var wTb=function(a){if(null!=a)return t(a),{viewId:mh(a,1),label:mh(a,2),optionsJson:mh(a,3)}},xTb=[ht,1,Eq,2,Eq,3,Eq];ht.prototype.serializeBinary=u(xTb);var it=function(a){r.call(this,a)};V(it,r);f=it.prototype;f.getStatus=function(){return Fh(this,1,0)};f.setStatus=function(a){return Dh(this,1,a)};f.getItemList=function(){return yg(this,bt,2)};f.setItemList=function(a){Th(this,2,a)};f.addItem=function(a,b){return um(this,2,bt,a,b)};f.setItem=function(a,b){return Np(this,2,bt,a,b)};f.getItemCount=function(){return TMb(this,bt,2)};f.getErrorCode=function(){return Fh(this,4,0)};f.getInternalOnlyV1ViewInfo=function(){return W(this,ht,7)};
it.repeatedFields_=[2];it.prototype.toObject=function(){return yTb(this)};var yTb=function(a){if(null!=a)return t(a),{status:Fh(a,1,0),itemList:Mb(a.getItemList(),ft),action:Fh(a,3,0),errorCode:Fh(a,4,0),internalOnlyV1ViewInfo:wTb(a.getInternalOnlyV1ViewInfo())}},zTb=[it,1,Qq,2,Iq,gt,3,Qq,4,Qq,7,X,xTb];it.prototype.serializeBinary=u(zTb);var jt=function(a){r.call(this,a)};V(jt,r);jt.prototype.getEventType=function(){return Fh(this,1,0)};jt.prototype.setEventType=function(a){return Dh(this,1,a)};jt.prototype.toObject=function(){return ATb(this)};var ATb=function(a){if(null!=a)return t(a),{eventType:Fh(a,1,0)}},BTb=[jt,1,Qq];jt.prototype.serializeBinary=u(BTb);var kt=function(a){r.call(this,a)};V(kt,r);f=kt.prototype;f.getItemList=function(){return yg(this,bt,1)};f.setItemList=function(a){Th(this,1,a)};f.addItem=function(a,b){return um(this,1,bt,a,b)};f.setItem=function(a,b){return Np(this,1,bt,a,b)};f.getItemCount=function(){return TMb(this,bt,1)};kt.repeatedFields_=[1];kt.prototype.toObject=function(){return CTb(this)};
var CTb=function(a){if(null!=a)return t(a),{itemList:Mb(a.getItemList(),ft),currentItem:ft(W(a,bt,2)),currentItemIndex:Vp(a,3)}},DTb=[kt,1,Iq,gt,2,X,gt,3,Mq];kt.prototype.serializeBinary=u(DTb);var ETb=function(a){r.call(this,a)};V(ETb,r);f=ETb.prototype;f.getQuery=function(){return mh(this,1)};f.setQuery=function(a){return mb(this,1,a)};f.clearQuery=function(){Qp(this,1)};f.setShowHidden=function(a){return jb(this,3,a)};f.toObject=function(){return FTb(this)};var FTb=function(a){if(null!=a)return t(a),{query:mh(a,1),minAccessRole:Fh(a,2,0),showHidden:vi(a,3),fetchProfile:vi(a,4)}},GTb=[ETb,1,Eq,2,Qq,3,Aq,4,Aq];ETb.prototype.serializeBinary=u(GTb);var lt=function(a){r.call(this,a)};V(lt,r);lt.prototype.getUploadUrl=function(){return mh(this,1)};lt.prototype.getAgentId=function(){return Fh(this,3,0)};lt.repeatedFields_=[11];lt.prototype.toObject=function(){return HTb(this)};
var HTb=function(a){if(null!=a){t(a);var b=mh(a,1);var c=uj(a,7,void 0);c=Ob(c);var d=uj(a,2,void 0);d=Ob(d);var e=uj(a,6,void 0);return{uploadUrl:b,uploadUrlParametersMap:c,metadataMap:d,videoMetadataMap:Ob(e),agentId:Fh(a,3,0),configurationId:Fh(a,4,0),sendDataUrl:vi(a,5),fileExtensionsList:p(Cg(a,11))}}},ITb=[lt,1,Eq,7,CNb,2,CNb,6,CNb,3,Qq,4,Qq,5,Aq,11,Dq];lt.prototype.serializeBinary=u(ITb);var mt=function(a){r.call(this,a)};V(mt,r);mt.prototype.getUploadSourceOptions=function(){return W(this,lt,2)};mt.prototype.toObject=function(){return JTb(this)};var JTb=function(a){if(null!=a)return t(a),{uploadMode:Fh(a,1,0),uploadSourceOptions:HTb(a.getUploadSourceOptions())}},KTb=[mt,1,Qq,2,X,ITb];mt.prototype.serializeBinary=u(KTb);var nt=function(a){r.call(this,a)};V(nt,r);nt.prototype.getQuery=function(){return mh(this,1)};nt.prototype.setQuery=function(a){return mb(this,1,a)};nt.prototype.clearQuery=function(){Qp(this,1)};nt.prototype.toObject=function(){return LTb(this)};var LTb=function(a){if(null!=a)return t(a),{query:mh(a,1)}},MTb=[nt,1,Eq];nt.prototype.serializeBinary=u(MTb);var ot=function(a){r.call(this,a)};V(ot,r);ot.prototype.getParent=function(a){return Zp(this,1,a)};ot.prototype.setParent=function(a){return fb(this,1,a,void 0,Cg)};ot.repeatedFields_=[1,3];ot.prototype.toObject=function(){return NTb(this)};var NTb=function(a){if(null!=a)return t(a),{parentList:p(Cg(a,1)),embeddingParent:mh(a,2),fileExtensionsList:p(Cg(a,3)),convertToDocsItem:vi(a,4)}},OTb=[ot,1,Dq,2,Eq,3,Dq,4,Aq];ot.prototype.serializeBinary=u(OTb);var pt=function(a){r.call(this,a)};V(pt,r);pt.repeatedFields_=[3];pt.prototype.toObject=function(){return PTb(this)};var PTb=function(a){if(null!=a)return t(a),{allowOnlyDownloadableItems:vi(a,1),allowOnlyCopyableItems:vi(a,2),disabledItemIdsList:p(Cg(a,3))}},QTb=[pt,1,Aq,2,Aq,3,Dq];pt.prototype.serializeBinary=u(QTb);var RTb=function(a){r.call(this,a)};V(RTb,r);f=RTb.prototype;f.getType=function(){return Fh(this,1,0)};f.setType=function(a){return Dh(this,1,a)};f.getDirection=function(){return Fh(this,2,0)};f.setDirection=function(a){return Dh(this,2,a)};f.toObject=function(){return STb(this)};var STb=function(a){if(null!=a)return t(a),{type:Fh(a,1,0),direction:Fh(a,2,0),foldersFirst:vi(a,3)}},TTb=[RTb,1,Qq,2,Qq,3,Aq];RTb.prototype.serializeBinary=u(TTb);var UTb=function(a){r.call(this,a)};V(UTb,r);f=UTb.prototype;f.getParentId=function(){return mh(this,1)};f.setParentId=function(a){return mb(this,1,a)};f.getQuery=function(){return mh(this,2)};f.setQuery=function(a){return mb(this,2,a)};f.clearQuery=function(){Qp(this,2)};f.getStarred=function(){return vi(this,7)};f.setStarred=function(a){jb(this,7,a)};f.getLastModified=function(){return W(this,ug,9)};f.toObject=function(){return VTb(this)};
var VTb=function(a){if(null!=a)return t(a),{parentId:mh(a,1),query:mh(a,2),sortBy:STb(W(a,RTb,3)),ownedBy:Fh(a,4,0),sharedWithMe:vi(a,5),starred:vi(a,7),viewMode:Fh(a,8,0),lastModified:pr(a.getLastModified()),disableInstantUpdates:vi(a,10),inSharedDrive:vi(a,11),inComputers:vi(a,12),permissions:Fh(a,13,0),itemSuggest:vi(a,14),driveUploadOptions:NTb(W(a,ot,15)),encryptedOnlyMode:vi(a,16),includeEncryptedItems:vi(a,17),excludeSharedDriveItems:vi(a,20),itemSuggestScenarioType:Fh(a,18,0),restrictions:PTb(W(a,
pt,19))}},WTb=[UTb,1,Eq,2,Eq,3,X,TTb,4,Qq,5,Aq,7,Aq,8,Qq,9,X,qr,10,Aq,11,Aq,12,Aq,13,Qq,14,Aq,15,X,OTb,16,Aq,17,Aq,20,Aq,18,Qq,19,X,QTb];UTb.prototype.serializeBinary=u(WTb);var qt=function(a){r.call(this,a)};V(qt,r);f=qt.prototype;f.getValueCase=function(){return rh(this,rt)};f.getFieldName=function(){return Fh(this,1,0)};f.setFieldName=function(a){Dh(this,1,a)};f.getStringValue=function(){return aq(this,3,rt)};f.setStringValue=function(a){return mm(this,3,rt,a)};var rt=[3,4];qt.prototype.toObject=function(){return XTb(this)};
var XTb=function(a){if(null!=a)return t(a),{fieldName:Fh(a,1,0),filterOperator:Fh(a,2,0),stringValue:p(Am(a,3,rt)),doubleValue:p(zm(a,4,rt))}},YTb=[qt,1,Qq,2,Qq,3,Fq,rt,4,kq,rt];qt.prototype.serializeBinary=u(YTb);var st=function(a){r.call(this,a)};V(st,r);st.prototype.getFilterNodeList=function(){return yg(this,tt,1)};var ut=function(a){r.call(this,a)};V(ut,r);ut.prototype.getFilterNodeList=function(){return yg(this,tt,1)};var tt=function(a){r.call(this,a)};V(tt,r);tt.prototype.getFilter=function(){return Fi(this,qt,3,vt)};tt.prototype.setFilter=function(a){return sm(this,3,vt,a)};st.repeatedFields_=[1];st.prototype.toObject=function(){return ZTb(this)};
var ZTb=function(a){if(null!=a)return t(a),{filterNodeList:Mb(a.getFilterNodeList(),$Tb)}};ut.repeatedFields_=[1];ut.prototype.toObject=function(){return aUb(this)};var aUb=function(a){if(null!=a)return t(a),{filterNodeList:Mb(a.getFilterNodeList(),$Tb)}},vt=[1,2,3];tt.prototype.toObject=function(){return $Tb(this)};var $Tb=function(a){if(null!=a)return t(a),{andNode:aUb(Fi(a,ut,1,vt)),orNode:ZTb(Fi(a,st,2,vt)),filter:XTb(a.getFilter())}},cUb=[st,1,Iq,function(){return bUb}];
st.prototype.serializeBinary=u(cUb);var dUb=[ut,1,Iq,function(){return bUb}];ut.prototype.serializeBinary=u(dUb);var bUb=[tt,1,Jq,dUb,vt,2,Jq,cUb,vt,3,Jq,YTb,vt];tt.prototype.serializeBinary=u(bUb);var wt=function(a){r.call(this,a)};V(wt,r);wt.prototype.getQuery=function(){return mh(this,1)};wt.prototype.setQuery=function(a){return mb(this,1,a)};wt.prototype.clearQuery=function(){Qp(this,1)};wt.prototype.toObject=function(){return eUb(this)};var eUb=function(a){if(null!=a)return t(a),{query:mh(a,1),viewMode:Fh(a,2,0),filterType:Fh(a,3,0),rootFilterNode:$Tb(W(a,tt,4))}},fUb=[wt,1,Eq,2,Qq,3,Qq,4,X,bUb];wt.prototype.serializeBinary=u(fUb);var xt=function(a){r.call(this,a)};V(xt,r);xt.prototype.getCategory=function(){return Fh(this,2,0)};xt.prototype.toObject=function(){return gUb(this)};var gUb=function(a){if(null!=a)return t(a),{category:Fh(a,2,0),deprecatedCategory:mh(a,1)}},hUb=[xt,2,Qq,1,Eq];xt.prototype.serializeBinary=u(hUb);var yt=function(a){r.call(this,a)};V(yt,r);yt.repeatedFields_=[8];yt.prototype.toObject=function(){return iUb(this)};var iUb=function(a){if(null!=a)return t(a),{parentAlbumKey:mh(a,1),bucketBy:Fh(a,2,0),viewMode:Fh(a,3,0),queryText:mh(a,4),includePhotos:vi(a,5),includeVideos:vi(a,6),enableVideoPreviews:vi(a,9),viewType:Fh(a,7,0),associationOriginList:p(Gj(a,8))}},jUb=[yt,1,Eq,2,Qq,3,Qq,4,Eq,5,Aq,6,Aq,9,Aq,7,Qq,8,Pq];yt.prototype.serializeBinary=u(jUb);var kUb=function(a){r.call(this,a)};V(kUb,r);kUb.prototype.toObject=function(){return lUb(this)};var lUb=function(a){if(null!=a)return t(a),{themeSourceId:Fh(a,1,0)}},mUb=[kUb,1,Qq];kUb.prototype.serializeBinary=u(mUb);var zt=function(a){r.call(this,a)};V(zt,r);zt.prototype.setMode=function(a){return Dh(this,1,a)};zt.prototype.toObject=function(){return nUb(this)};var nUb=function(a){if(null!=a)return t(a),{mode:Fh(a,1,0)}},oUb=[zt,1,Qq];zt.prototype.serializeBinary=u(oUb);var At=function(a){r.call(this,a)};V(At,r);At.prototype.getQuery=function(){return mh(this,1)};At.prototype.setQuery=function(a){return mb(this,1,a)};At.prototype.clearQuery=function(){Qp(this,1)};At.prototype.toObject=function(){return pUb(this)};var pUb=function(a){if(null!=a)return t(a),{query:mh(a,1),usageRights:Fh(a,2,0),disableSafeSearchMode:vi(a,3),viewMode:Fh(a,4,0)}},qUb=[At,1,Eq,2,Qq,3,Aq,4,Qq];At.prototype.serializeBinary=u(qUb);var Bt=function(a){r.call(this,a)};V(Bt,r);Bt.prototype.getQuery=function(){return mh(this,2)};Bt.prototype.setQuery=function(a){return mb(this,2,a)};Bt.prototype.clearQuery=function(){Qp(this,2)};Bt.prototype.toObject=function(){return rUb(this)};var rUb=function(a){if(null!=a)return t(a),{viewMode:Fh(a,1,0),query:mh(a,2)}},sUb=[Bt,1,Qq,2,Eq];Bt.prototype.serializeBinary=u(sUb);var Ct=function(a){r.call(this,a)};V(Ct,r);f=Ct.prototype;f.getSourceId=function(){return Fh(this,1,0)};f.setSourceId=function(a){return Dh(this,1,a)};f.getName=function(){return mh(this,8)};f.setName=function(a){return mb(this,8,a)};f.getUploadSourceOptions=function(){return W(this,lt,10)};f.getInternalOnlyV1ViewInfo=function(){return W(this,ht,18)};Ct.repeatedFields_=[14];Ct.prototype.toObject=function(){return tUb(this)};
var tUb=function(a){if(null!=a)return t(a),{sourceId:Fh(a,1,0),name:mh(a,8),driveSourceOptions:VTb(W(a,UTb,3)),calendarSourceOptions:FTb(W(a,ETb,4)),webSourceOptions:pUb(W(a,At,5)),photosSourceOptions:iUb(W(a,yt,6)),themesSourceOptions:lUb(W(a,kUb,7)),youtubeSourceOptions:rUb(W(a,Bt,9)),uploadSourceOptions:HTb(a.getUploadSourceOptions()),contactsSourceOptions:LTb(W(a,nt,12)),partySourceOptions:gUb(W(a,xt,13)),urlSourceOptions:nUb(W(a,zt,15)),cameraSourceOptions:JTb(W(a,mt,16)),lmsSourceOptions:eUb(W(a,
wt,17)),childSourceList:Mb(yg(a,Ct,14),tUb),internalOnlyV1ViewInfo:wTb(a.getInternalOnlyV1ViewInfo())}},uUb=[Ct,1,Qq,8,Eq,3,X,WTb,4,X,GTb,5,X,qUb,6,X,jUb,7,X,mUb,9,X,sUb,10,X,ITb,12,X,MTb,13,X,hUb,15,X,oUb,16,X,KTb,17,X,fUb,14,Iq,function(){return uUb},18,X,xTb];Ct.prototype.serializeBinary=u(uUb);var Dt=function(a){r.call(this,a)};V(Dt,r);f=Dt.prototype;f.getCommand=function(){return Fh(this,1,0)};f.setCommand=function(a){return Dh(this,1,a)};f.getSource=function(){return W(this,Ct,2)};f.setSource=function(a){return Oh(this,Ct,2,a)};f.hasSource=function(){return qi(this,Ct,2)};f.setVisible=function(a){return jb(this,5,a)};f.getItemList=function(){return yg(this,bt,7)};f.setItemList=function(a){Th(this,7,a)};f.addItem=function(a,b){return um(this,7,bt,a,b)};
f.setItem=function(a,b){return Np(this,7,bt,a,b)};f.getItemCount=function(){return TMb(this,bt,7)};Dt.repeatedFields_=[3,7];Dt.prototype.toObject=function(){if(null!=this){t(this);var a={command:Fh(this,1,0),source:tUb(this.getSource()),itemIdList:Mb(yg(this,Ds,3),eSb),correlationId:mh(this,4),visible:vi(this,5),cssVisibilityChanged:vi(this,6),itemList:Mb(this.getItemList(),ft)}}else a=void 0;return a};Dt.prototype.serializeBinary=u([Dt,1,Qq,2,X,uUb,3,Iq,fSb,4,Eq,5,Aq,6,Aq,7,Iq,gt]);var Et=function(a){r.call(this,a)};V(Et,r);f=Et.prototype;f.getCommand=function(){return Fh(this,1,0)};f.setCommand=function(a){return Dh(this,1,a)};f.getItemList=function(){return yg(this,bt,4)};f.setItemList=function(a){Th(this,4,a)};f.addItem=function(a,b){return um(this,4,bt,a,b)};f.setItem=function(a,b){return Np(this,4,bt,a,b)};f.getItemCount=function(){return TMb(this,bt,4)};var vUb=Sb(Et);Et.repeatedFields_=[4];
Et.prototype.toObject=function(){if(null!=this){t(this);var a={command:Fh(this,1,0),pickerResult:yTb(W(this,it,2)),correlationId:mh(this,3),itemList:Mb(this.getItemList(),ft),previewData:CTb(W(this,kt,5)),latencyData:ATb(W(this,jt,6))}}else a=void 0;return a};Et.prototype.serializeBinary=u([Et,1,Qq,2,X,zTb,3,Eq,4,Iq,gt,5,X,DTb,6,X,BTb]);var Ft=function(a){r.call(this,a)};V(Ft,r);Ft.prototype.getResourceKey=function(){return W(this,xs,2)};Ft.prototype.toObject=function(){return wUb(this)};var wUb=function(a){if(null!=a)return t(a),{documentId:mh(a,1),resourceKey:MRb(a.getResourceKey())}},xUb=[Ft,1,Eq,2,X,NRb];Ft.prototype.serializeBinary=u(xUb);var Gt=function(a){r.call(this,a)};V(Gt,r);Gt.prototype.getGroupId=function(){return mh(this,1)};Gt.prototype.setGroupId=function(a){mb(this,1,a)};Gt.prototype.toObject=function(){return yUb(this)};var yUb=function(a){if(null!=a)return t(a),{groupId:mh(a,1)}},zUb=[Gt,1,Eq];Gt.prototype.serializeBinary=u(zUb);var Fda="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");var AUb=function(a){return function(){return a}},Ht=function(){},BUb=function(a){return a},ROa=function(){var a=QOa;return function(){return!a.apply(this,arguments)}},CUb=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}},DUb=function(a,b){var c=0;return function(d){ca.clearTimeout(c);var e=arguments;c=ca.setTimeout(function(){a.apply(void 0,e)},b)}},EUb=function(a,b){var c=0,d=!1,e=[],g=function(){c=0;d&&(d=!1,h())},h=function(){c=ca.setTimeout(g,b);var l=e;e=[];a.apply(void 0,l)};
return function(l){e=arguments;c?d=!0:h()}};var FUb={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 GUb,HUb=function(){if(void 0===GUb){var a=null,b=ca.trustedTypes;if(b&&b.createPolicy){try{a=b.createPolicy("goog#html",{createHTML:wLb,createScript:wLb,createScriptURL:wLb})}catch(c){ca.console&&ca.console.error(c.message)}GUb=a}else GUb=a}return GUb};var ac=function(a,b){this.stringConstValueWithSecurityContract__googStringSecurityPrivate_=a===IUb&&b||"";this.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_=JUb};ac.prototype.implementsGoogStringTypedString=!0;ac.prototype.getTypedStringValue=function(){return this.stringConstValueWithSecurityContract__googStringSecurityPrivate_};
var Ida=function(a){return a instanceof ac&&a.constructor===ac&&a.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_===JUb?a.stringConstValueWithSecurityContract__googStringSecurityPrivate_:"type_error:Const"},Vl=function(a){return new ac(IUb,a)},JUb={},IUb={};var It=function(a){this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_=a};It.prototype.toString=function(){return this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_+""};It.prototype.implementsGoogStringTypedString=!0;It.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_.toString()};
var qg=function(a){if(a instanceof It&&a.constructor===It)return a.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_;Rb(a);return"type_error:TrustedResourceUrl"},Ul=function(a){return Qoa(Ida(a))},KUb={},Qoa=function(a){var b=HUb();a=b?b.createScriptURL(a):a;return new It(a,KUb)};var Zb=function(a){this.privateDoNotAccessOrElseSafeUrlWrappedValue_=a};Zb.prototype.toString=function(){return this.privateDoNotAccessOrElseSafeUrlWrappedValue_.toString()};Zb.prototype.implementsGoogStringTypedString=!0;Zb.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeUrlWrappedValue_.toString()};
var $b=function(a){if(a instanceof Zb&&a.constructor===Zb)return a.privateDoNotAccessOrElseSafeUrlWrappedValue_;Rb(a);return"type_error:SafeUrl"},LUb=/^data:(.*);base64,[a-z0-9+\/]+=*$/i,MUb=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,Qda=function(a){if(a instanceof Zb)return a;a="object"==typeof a&&a.implementsGoogStringTypedString?a.getTypedStringValue():String(a);MUb.test(a)?a=Mf(a):(a=String(a).replace(/(%0A|%0D)/g,""),a=a.match(LUb)?Mf(a):null);return a},NUb;
try{new URL("s://g"),NUb=!0}catch(a){NUb=!1}
var OUb=NUb,h2a=function(a){if(a instanceof Zb)return a;a="object"==typeof a&&a.implementsGoogStringTypedString?a.getTypedStringValue():String(a);a:{var b=a;if(OUb){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 Mf(a)},PUb={},Mf=function(a){return new Zb(a,PUb)},Rda=Mf("about:invalid#zClosurez");var QUb={},Jt=function(a){this.privateDoNotAccessOrElseSafeStyleWrappedValue_=a;this.implementsGoogStringTypedString=!0};Jt.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeStyleWrappedValue_};Jt.prototype.toString=function(){return this.privateDoNotAccessOrElseSafeStyleWrappedValue_.toString()};
var RUb=function(a){if(a instanceof Jt&&a.constructor===Jt)return a.privateDoNotAccessOrElseSafeStyleWrappedValue_;Rb(a);return"type_error:SafeStyle"},SUb=new Jt("",QUb),Lda=RegExp("^[-+,.\"'%_!#/ a-zA-Z0-9\\[\\]]+$"),Kda=RegExp("\\b(url\\([ \t\n]*)('[ -&(-\\[\\]-~]*'|\"[ !#-\\[\\]-~]*\"|[!#-&*-\\[\\]-~]*)([ \t\n]*\\))","g"),Jda=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"),Mda=/\/\*/;var Kt=function(a){this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_=a;this.implementsGoogStringTypedString=!0};Kt.prototype.toString=function(){return this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_.toString()};Kt.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_};var TUb=function(a){if(a instanceof Kt&&a.constructor===Kt)return a.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_;Rb(a);return"type_error:SafeStyleSheet"};var UUb={},Nm=function(a){this.privateDoNotAccessOrElseSafeHtmlWrappedValue_=a;this.implementsGoogStringTypedString=!0};Nm.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeHtmlWrappedValue_.toString()};Nm.prototype.toString=function(){return this.privateDoNotAccessOrElseSafeHtmlWrappedValue_.toString()};
var Ui=function(a){if(a instanceof Nm&&a.constructor===Nm)return a.privateDoNotAccessOrElseSafeHtmlWrappedValue_;Rb(a);return"type_error:SafeHtml"},yl=function(a){return a instanceof Nm?a:Jf(LLb("object"==typeof a&&a.implementsGoogStringTypedString?a.getTypedStringValue():String(a)))},Lt=function(a){if(a instanceof Nm)return a;a=yl(a);a=Ui(a).toString().replace(/(\r\n|\r|\n)/g,"<br>");return Jf(a)},Al=function(a,b,c){var d=String(a);if(!VUb.test(d))throw Error("ca");if(d.toUpperCase()in WUb)throw Error("ca");
a=String(a);d="<"+a;var e="";if(b)for(var g in b)if(Object.prototype.hasOwnProperty.call(b,g)){if(!VUb.test(g))throw Error("ca");var h=b[g];if(null!=h){var l=g;var q=h;if(q instanceof ac)q=Ida(q);else if("style"==l.toLowerCase()){h=void 0;if(!ta(q))throw Error("ca");if(!(q instanceof Jt)){var v="";for(h in q)if(Object.prototype.hasOwnProperty.call(q,h)){if(!/^[-_a-zA-Z0-9]+$/.test(h))throw Error("ba`"+h);var y=q[h];null!=y&&(y=Array.isArray(y)?y.map(Pda).join(" "):Pda(y),v+=h+":"+y+";")}q=v?new Jt(v,
QUb):SUb}q=RUb(q)}else{if(/^on/i.test(l))throw Error("ca");if(l.toLowerCase()in XUb)if(q instanceof It)q=qg(q).toString();else if(q instanceof Zb)q=$b(q);else if("string"===typeof q)q=(Qda(q)||Rda).getTypedStringValue();else throw Error("ca");}q.implementsGoogStringTypedString&&(q=q.getTypedStringValue());l=l+'="'+LLb(String(q))+'"';e+=" "+l}}b=d+e;null==c?c=[]:Array.isArray(c)||(c=[c]);!0===FUb[a.toLowerCase()]?b+=">":(g=Bl(c),b+=">"+Ui(g).toString()+"</"+a+">");return Jf(b)},YUb=function(a){var b=
yl(op),c=[],d=function(e){Array.isArray(e)?e.forEach(d):(e=yl(e),c.push(Ui(e).toString()))};a.forEach(d);return Jf(c.join(Ui(b).toString()))},Bl=function(a){return YUb(Array.prototype.slice.call(arguments))},Jf=function(a){var b=HUb();a=b?b.createHTML(a):a;return new Nm(a,UUb)},VUb=/^[a-zA-Z0-9-]+$/,XUb={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},WUb={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},op=
new Nm(ca.trustedTypes&&ca.trustedTypes.emptyHTML||"",UUb);var ZUb=CUb(function(){var a=document.createElement("div"),b=document.createElement("div");b.appendChild(document.createElement("div"));a.appendChild(b);b=a.firstChild.firstChild;a.innerHTML=Ui(op);return!b.parentElement}),POa=function(a,b){if(ZUb())for(;a.lastChild;)a.removeChild(a.lastChild);a.innerHTML=Ui(b)},$Ub=function(a,b){b=b instanceof Zb?b:h2a(b);a.action=$b(b)},bVb=function(a,b){var c=aVb(a.ownerDocument&&a.ownerDocument.defaultView);c&&a.setAttribute("nonce",c);a.src=qg(b)},i2a=function(a,
b,c,d){a=a instanceof Zb?a:h2a(a);b=b||ca;c=c instanceof ac?Ida(c):c||"";return void 0!==d?b.open($b(a),c,d):b.open($b(a),c)},cVb=/^[\w+/_-]+[=]{0,2}$/,aVb=function(a){a=(a||ca).document;return a.querySelector?(a=a.querySelector("script[nonce]"))&&(a=a.nonce||a.getAttribute("nonce"))&&cVb.test(a)?a:"":""};var dVb=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")},eVb=function(a){return a.replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"")},mn=function(a){return a=LLb(a)},fVb=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},rhb=function(a,b,c){return a.replace(new RegExp(zl(b),"g"),c.replace(/\$/g,
"$$$$"))},zl=function(a){return String(a).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},gVb=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)},Mt=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+gVb("0",Math.max(0,b-c))+a},mj=function(a){return null==a?"":String(a)},hVb=function(){return Math.floor(2147483648*
Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^Date.now()).toString(36)},Mg=function(a){var b=Number(a);return 0==b&&nj(a)?NaN:b},Bsa=function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})},Ig=function(a){isFinite(a)&&(a=String(a));return"string"===typeof a?/^\s*-?0x/i.test(a)?parseInt(a,16):parseInt(a,10):NaN},iVb=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(wa){q&&q.mark&&q.mark(wa)}function c(wa,Na){q&&q.measure&&q.measure(wa,Na)}function d(wa){return v+wa}function e(wa){za||a[Y]&&(za=a[Y].resolve(0));if(za){var Na=za[ka];Na||(Na=za.then);Na.call(za,wa)}else a[Z](wa,0)}function g(wa){0===db&&0===la.length&&e(h);wa&&la.push(wa)}function h(){if(!Da){for(Da=!0;la.length;){var wa=la;la=[];for(var Na=0;Na<wa.length;Na++){var Qa=wa[Na];try{Qa.zone.runTask(Qa,null,null)}catch(nb){Ya.onUnhandledError(nb)}}}Ya.microtaskDrainDone();Da=
!1}}function l(){}var q=a.performance;b("Zone");var v=a.__Zone_symbol_prefix||"__zone_symbol__",y=!0===a[d("forceDuplicateZoneCheck")];if(a.Zone){if(y||"function"!==typeof a.Zone.__symbol__)throw Error("da");return a.Zone}var B=function(wa,Na){this._parent=wa;this._name=Na?Na.name||"unnamed":"<root>";this._properties=Na&&Na.properties||{};this._zoneDelegate=new N(this,this._parent&&this._parent._zoneDelegate,Na)};B.assertZonePatched=function(){if(a.Promise!==Va.ZoneAwarePromise)throw Error("ea");
};B.__load_patch=function(wa,Na,Qa){Qa=void 0===Qa?!1:Qa;if(Va.hasOwnProperty(wa)){if(!Qa&&y)throw Error("fa`"+wa);}else a["__Zone_disable_"+wa]||(Qa="Zone:"+wa,b(Qa),Va[wa]=Na(a,B,Ya),c(Qa,Qa))};B.prototype.get=function(wa){var Na=this.getZoneWith(wa);if(Na)return Na._properties[wa]};B.prototype.getZoneWith=function(wa){for(var Na=this;Na;){if(Na._properties.hasOwnProperty(wa))return Na;Na=Na._parent}return null};B.prototype.fork=function(wa){if(!wa)throw Error("ga");return this._zoneDelegate.fork(this,
wa)};B.prototype.wrap=function(wa,Na){if("function"!==typeof wa)throw Error("ha`"+wa);var Qa=this._zoneDelegate.intercept(this,wa,Na),nb=this;return function(){return nb.runGuarded(Qa,this,arguments,Na)}};B.prototype.run=function(wa,Na,Qa,nb){Xb={parent:Xb,zone:this};try{return this._zoneDelegate.invoke(this,wa,Na,Qa,nb)}finally{Xb=Xb.parent}};B.prototype.runGuarded=function(wa,Na,Qa,nb){Xb={parent:Xb,zone:this};try{try{return this._zoneDelegate.invoke(this,wa,void 0===Na?null:Na,Qa,nb)}catch(ib){if(this._zoneDelegate.handleError(this,
ib))throw ib;}}finally{Xb=Xb.parent}};B.prototype.runTask=function(wa,Na,Qa){if(wa.zone!=this)throw Error("ia`"+(wa.zone||Oa).name+"`"+this.name);if("notScheduled"!==wa.state||"eventTask"!==wa.type&&"macroTask"!==wa.type){var nb="running"!=wa.state;nb&&wa._transitionTo("running","scheduled");wa.runCount++;var ib=Bb;Bb=wa;Xb={parent:Xb,zone:this};try{"macroTask"==wa.type&&wa.data&&!wa.data.isPeriodic&&(wa.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,wa,Na,Qa)}catch(hd){if(this._zoneDelegate.handleError(this,
hd))throw hd;}}finally{"notScheduled"!==wa.state&&"unknown"!==wa.state&&("eventTask"==wa.type||wa.data&&wa.data.isPeriodic?nb&&wa._transitionTo("scheduled","running"):(wa.runCount=0,this._updateTaskCount(wa,-1),nb&&wa._transitionTo("notScheduled","running","notScheduled"))),Xb=Xb.parent,Bb=ib}}};B.prototype.scheduleTask=function(wa){if(wa.zone&&wa.zone!==this)for(var Na=this;Na;){if(Na===wa.zone)throw Error("ja`"+this.name+"`"+wa.zone.name);Na=Na.parent}wa._transitionTo("scheduling","notScheduled");
Na=[];wa._zoneDelegates=Na;wa._zone=this;try{wa=this._zoneDelegate.scheduleTask(this,wa)}catch(Qa){throw wa._transitionTo("unknown","scheduling","notScheduled"),this._zoneDelegate.handleError(this,Qa),Qa;}wa._zoneDelegates===Na&&this._updateTaskCount(wa,1);"scheduling"==wa.state&&wa._transitionTo("scheduled","scheduling");return wa};B.prototype.scheduleMicroTask=function(wa,Na,Qa,nb){return this.scheduleTask(new Q("microTask",wa,Na,Qa,nb,void 0))};B.prototype.scheduleMacroTask=function(wa,Na,Qa,nb,
ib){return this.scheduleTask(new Q("macroTask",wa,Na,Qa,nb,ib))};B.prototype.scheduleEventTask=function(wa,Na,Qa,nb,ib){return this.scheduleTask(new Q("eventTask",wa,Na,Qa,nb,ib))};B.prototype.cancelTask=function(wa){if(wa.zone!=this)throw Error("ka`"+(wa.zone||Oa).name+"`"+this.name);if("scheduled"===wa.state||"running"===wa.state){wa._transitionTo("canceling","scheduled","running");try{this._zoneDelegate.cancelTask(this,wa)}catch(Na){throw wa._transitionTo("unknown","canceling"),this._zoneDelegate.handleError(this,
Na),Na;}this._updateTaskCount(wa,-1);wa._transitionTo("notScheduled","canceling");wa.runCount=0;return wa}};B.prototype._updateTaskCount=function(wa,Na){var Qa=wa._zoneDelegates;-1==Na&&(wa._zoneDelegates=null);for(var nb=0;nb<Qa.length;nb++)Qa[nb]._updateTaskCount(wa.type,Na)};gg.Object.defineProperties(B.prototype,{parent:{configurable:!0,enumerable:!0,get:function(){return this._parent}},name:{configurable:!0,enumerable:!0,get:function(){return this._name}}});gg.Object.defineProperties(B,{root:{configurable:!0,
enumerable:!0,get:function(){for(var wa=B.current;wa.parent;)wa=wa.parent;return wa}},current:{configurable:!0,enumerable:!0,get:function(){return Xb.zone}},currentTask:{configurable:!0,enumerable:!0,get:function(){return Bb}}});B.__symbol__=d;var I={name:"",onHasTask:function(wa,Na,Qa,nb){return wa.hasTask(Qa,nb)},onScheduleTask:function(wa,Na,Qa,nb){return wa.scheduleTask(Qa,nb)},onInvokeTask:function(wa,Na,Qa,nb,ib,hd){return wa.invokeTask(Qa,nb,ib,hd)},onCancelTask:function(wa,Na,Qa,nb){return wa.cancelTask(Qa,
nb)}},N=function(wa,Na,Qa){this._taskCounts={microTask:0,macroTask:0,eventTask:0};this.zone=wa;this._parentDelegate=Na;this._forkZS=Qa&&(Qa&&Qa.onFork?Qa:Na._forkZS);this._forkDlgt=Qa&&(Qa.onFork?Na:Na._forkDlgt);this._forkCurrZone=Qa&&(Qa.onFork?this.zone:Na._forkCurrZone);this._interceptZS=Qa&&(Qa.onIntercept?Qa:Na._interceptZS);this._interceptDlgt=Qa&&(Qa.onIntercept?Na:Na._interceptDlgt);this._interceptCurrZone=Qa&&(Qa.onIntercept?this.zone:Na._interceptCurrZone);this._invokeZS=Qa&&(Qa.onInvoke?
Qa:Na._invokeZS);this._invokeDlgt=Qa&&(Qa.onInvoke?Na:Na._invokeDlgt);this._invokeCurrZone=Qa&&(Qa.onInvoke?this.zone:Na._invokeCurrZone);this._handleErrorZS=Qa&&(Qa.onHandleError?Qa:Na._handleErrorZS);this._handleErrorDlgt=Qa&&(Qa.onHandleError?Na:Na._handleErrorDlgt);this._handleErrorCurrZone=Qa&&(Qa.onHandleError?this.zone:Na._handleErrorCurrZone);this._scheduleTaskZS=Qa&&(Qa.onScheduleTask?Qa:Na._scheduleTaskZS);this._scheduleTaskDlgt=Qa&&(Qa.onScheduleTask?Na:Na._scheduleTaskDlgt);this._scheduleTaskCurrZone=
Qa&&(Qa.onScheduleTask?this.zone:Na._scheduleTaskCurrZone);this._invokeTaskZS=Qa&&(Qa.onInvokeTask?Qa:Na._invokeTaskZS);this._invokeTaskDlgt=Qa&&(Qa.onInvokeTask?Na:Na._invokeTaskDlgt);this._invokeTaskCurrZone=Qa&&(Qa.onInvokeTask?this.zone:Na._invokeTaskCurrZone);this._cancelTaskZS=Qa&&(Qa.onCancelTask?Qa:Na._cancelTaskZS);this._cancelTaskDlgt=Qa&&(Qa.onCancelTask?Na:Na._cancelTaskDlgt);this._cancelTaskCurrZone=Qa&&(Qa.onCancelTask?this.zone:Na._cancelTaskCurrZone);this._hasTaskCurrZone=this._hasTaskDlgtOwner=
this._hasTaskDlgt=this._hasTaskZS=null;var nb=Qa&&Qa.onHasTask,ib=Na&&Na._hasTaskZS;if(nb||ib)this._hasTaskZS=nb?Qa:I,this._hasTaskDlgt=Na,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=wa,Qa.onScheduleTask||(this._scheduleTaskZS=I,this._scheduleTaskDlgt=Na,this._scheduleTaskCurrZone=this.zone),Qa.onInvokeTask||(this._invokeTaskZS=I,this._invokeTaskDlgt=Na,this._invokeTaskCurrZone=this.zone),Qa.onCancelTask||(this._cancelTaskZS=I,this._cancelTaskDlgt=Na,this._cancelTaskCurrZone=this.zone)};N.prototype.fork=
function(wa,Na){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,wa,Na):new B(wa,Na)};N.prototype.intercept=function(wa,Na,Qa){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,wa,Na,Qa):Na};N.prototype.invoke=function(wa,Na,Qa,nb,ib){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,wa,Na,Qa,nb,ib):Na.apply(Qa,nb)};N.prototype.handleError=function(wa,Na){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,
this._handleErrorCurrZone,wa,Na):!0};N.prototype.scheduleTask=function(wa,Na){var Qa=Na;if(this._scheduleTaskZS)this._hasTaskZS&&Qa._zoneDelegates.push(this._hasTaskDlgtOwner),(Qa=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,wa,Na))||(Qa=Na);else if(Na.scheduleFn)Na.scheduleFn(Na);else if("microTask"==Na.type)g(Na);else throw Error("la");return Qa};N.prototype.invokeTask=function(wa,Na,Qa,nb){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,
this._invokeTaskCurrZone,wa,Na,Qa,nb):Na.callback.apply(Qa,nb)};N.prototype.cancelTask=function(wa,Na){if(this._cancelTaskZS)wa=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,wa,Na);else{if(!Na.cancelFn)throw Error("ma");wa=Na.cancelFn(Na)}return wa};N.prototype.hasTask=function(wa,Na){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,wa,Na)}catch(Qa){this.handleError(wa,Qa)}};N.prototype._updateTaskCount=function(wa,Na){var Qa=this._taskCounts,
nb=Qa[wa];Na=Qa[wa]=nb+Na;if(0>Na)throw Error("na");0!=nb&&0!=Na||this.hasTask(this.zone,{microTask:0<Qa.microTask,macroTask:0<Qa.macroTask,eventTask:0<Qa.eventTask,change:wa})};var Q=function(wa,Na,Qa,nb,ib,hd){this._zone=null;this.runCount=0;this._zoneDelegates=null;this._state="notScheduled";this.type=wa;this.source=Na;this.data=nb;this.scheduleFn=ib;this.cancelFn=hd;if(!Qa)throw Error("oa");this.callback=Qa;var pb=this;this.invoke="eventTask"===wa&&nb&&nb.useG?Q.invokeTask:function(){return Q.invokeTask.call(a,
pb,this,arguments)}};Q.invokeTask=function(wa,Na,Qa){wa||(wa=this);db++;try{return wa.runCount++,wa.zone.runTask(wa,Na,Qa)}finally{1==db&&h(),db--}};Q.prototype._transitionTo=function(wa,Na,Qa){if(this._state===Na||this._state===Qa)this._state=wa,"notScheduled"==wa&&(this._zoneDelegates=null);else throw Error("pa`"+this.type+"`"+this.source+"`"+wa+"`"+Na+"`"+(Qa?" or '"+Qa+"'":"")+"`"+this._state);};Q.prototype.toString=function(){return this.data&&"undefined"!==typeof this.data.handleId?this.data.handleId.toString():
Object.prototype.toString.call(this)};Q.prototype.toJSON=function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}};gg.Object.defineProperties(Q.prototype,{zone:{configurable:!0,enumerable:!0,get:function(){return this._zone}},state:{configurable:!0,enumerable:!0,get:function(){return this._state}}});var Z=d("setTimeout"),Y=d("Promise"),ka=d("then"),la=[],Da=!1,za,Oa={name:"NO ZONE"},Va={},Ya={symbol:d,currentZoneFrame:function(){return Xb},onUnhandledError:l,
microtaskDrainDone:l,scheduleMicroTask:g,showUncaughtError:function(){return!B[d("ignoreConsoleErrorUncaughtError")]},patchEventTarget:function(){return[]},patchOnProperties:l,patchMethod:function(){return l},bindArguments:function(){return[]},patchThen:function(){return l},patchMacroTask:function(){return l},patchEventPrototype:function(){return l},isIEOrEdge:function(){return!1},getGlobalObjects:function(){},ObjectDefineProperty:function(){return l},ObjectGetOwnPropertyDescriptor:function(){},ObjectCreate:function(){},
ArraySlice:function(){return[]},patchClass:function(){return l},wrapWithCurrentZone:function(){return l},filterProperties:function(){return[]},attachOriginToPatched:function(){return l},_redefineProperty:function(){return l},patchCallbacks:function(){return l},nativeScheduleMicroTask:e},Xb={parent:null,zone:new B(null,null)},Bb=null,db=0;c("Zone","Zone");return a.Zone=B})("undefined"!==typeof window&&window||"undefined"!==typeof self&&self||global);Zone.__load_patch("Error",function(a,b,c){function d(la){for(var Da={zoneName:la.zone.name},za=Da;la.parent;){la=la.parent;var Oa={zoneName:la.zone.name};Da=Da.parent=Oa}return za}function e(la,Da,za){za=void 0===za?!0:za;la=la.split("\n");for(var Oa=0;la[Oa]!==v&&la[Oa]!==y&&la[Oa]!==B&&la[Oa]!==I&&la[Oa]!==N&&Oa<la.length;)Oa++;for(;Oa<la.length&&Da;Oa++){var Va=la[Oa];if(Va.trim())switch(q[Va]){case 0:la.splice(Oa,1);Oa--;break;case 1:Da.parent?Da=Da.parent:Da=null;la.splice(Oa,1);Oa--;break;default:la[Oa]+=
za?" ["+Da.zone.name+"]":" ["+Da.zoneName+"]"}}return la.join("\n")}function g(){var la=this,Da=l.apply(this,arguments),za=Da.originalStack=Da.stack;if(g.stackRewrite&&za){var Oa=c.currentZoneFrame();if("lazy"===Q)Da[c.symbol("zoneFrameNames")]=d(Oa);else if("default"===Q)try{Da.stack=Da.zoneAwareStack=e(za,Oa)}catch(Va){}}return this instanceof l&&this.constructor!=l?(Object.keys(Da).concat("stack","message").forEach(function(Va){var Ya=Da[Va];if(void 0!==Ya)try{la[Va]=Ya}catch(Xb){}}),this):Da}
var h=c.symbol("zoneJsInternalStackFrames"),l=a[c.symbol("Error")]=a.Error,q={},v,y,B,I,N;a.Error=g;var Q=a.__Zone_Error_BlacklistedStackFrames_policy||a.__Zone_Error_ZoneJsInternalStackFrames_policy||"default";g.prototype=l.prototype;g[h]=q;g.stackRewrite=!1;var Z=c.symbol("zoneAwareStack");"lazy"===Q&&Object.defineProperty(g.prototype,"zoneAwareStack",{configurable:!0,enumerable:!0,get:function(){this[Z]||(this[Z]=e(this.originalStack,this[c.symbol("zoneFrameNames")],!1));return this[Z]},set:function(la){this.originalStack=
la;this[Z]=e(this.originalStack,this[c.symbol("zoneFrameNames")],!1)}});var Y=["stackTraceLimit","captureStackTrace","prepareStackTrace"];(a=Object.keys(l))&&a.forEach(function(la){0===Y.filter(function(Da){return Da===la}).length&&Object.defineProperty(g,la,{get:function(){return l[la]},set:function(Da){l[la]=Da}})});l.hasOwnProperty("stackTraceLimit")&&(l.stackTraceLimit=Math.max(l.stackTraceLimit,15),Object.defineProperty(g,"stackTraceLimit",{get:function(){return l.stackTraceLimit},set:function(la){return l.stackTraceLimit=
la}}));l.hasOwnProperty("captureStackTrace")&&Object.defineProperty(g,"captureStackTrace",{value:function(la,Da){l.captureStackTrace(la,Da)}});Object.defineProperty(g,"prepareStackTrace",{get:function(){return l.prepareStackTrace},set:function(la){return la&&"function"===typeof la?l.prepareStackTrace=function(Da,za){if(za)for(var Oa=0;Oa<za.length;Oa++)if("zoneCaptureStackTrace"===za[Oa].getFunctionName()){za.splice(Oa,1);break}return la.call(this,Da,za)}:l.prepareStackTrace=la}});if("disable"!==
Q){var ka=b.current.fork({name:"detect",onHandleError:function(la,Da,za,Oa){if(Oa.originalStack&&Error===g)for(la=Oa.originalStack.split(/\n/),Oa=za=Da=!1;la.length;){var Va=la.shift();if(/:\d+:\d+/.test(Va)||"ZoneAwareError"===Va){var Ya=Va.split("(")[0].split("@")[0],Xb=1;-1!==Ya.indexOf("ZoneAwareError")&&(-1!==Ya.indexOf("new ZoneAwareError")?(v=Va,y=Va.replace("new ZoneAwareError","new Error.ZoneAwareError")):(B=Va,I=Va.replace("Error.",""),-1===Va.indexOf("Error.ZoneAwareError")&&(N=Va.replace("ZoneAwareError",
"Error.ZoneAwareError"))),q[y]=0);-1!==Ya.indexOf("runGuarded")?za=!0:-1!==Ya.indexOf("runTask")?Oa=!0:-1!==Ya.indexOf("run")?Da=!0:Xb=0;q[Va]=Xb;if(Da&&za&&Oa){g.stackRewrite=!0;break}}}return!1}}).fork({name:"child",onScheduleTask:function(la,Da,za,Oa){return la.scheduleTask(za,Oa)},onInvokeTask:function(la,Da,za,Oa,Va,Ya){return la.invokeTask(za,Oa,Va,Ya)},onCancelTask:function(la,Da,za,Oa){return la.cancelTask(za,Oa)},onInvoke:function(la,Da,za,Oa,Va,Ya,Xb){return la.invoke(za,Oa,Va,Ya,Xb)}});
b=Error.stackTraceLimit;Error.stackTraceLimit=100;ka.run(function(){ka.runGuarded(function(){var la=function(){};ka.scheduleEventTask(h,function(){ka.scheduleMacroTask(h,function(){ka.scheduleMicroTask(h,function(){throw Error();},void 0,function(Da){Da._transitionTo=la;Da.invoke()});ka.scheduleMicroTask(h,function(){throw Error();},void 0,function(Da){Da._transitionTo=la;Da.invoke()})},void 0,function(Da){Da._transitionTo=la;Da.invoke()},function(){})},void 0,function(Da){Da._transitionTo=la;Da.invoke()},
function(){})})});Error.stackTraceLimit=b}});var Uda=Object.getOwnPropertyDescriptor,Zda=Object.defineProperty,cea=Object.getPrototypeOf,jVb=Object.create,kVb=Array.prototype.slice,lVb=Zone.__symbol__("addEventListener"),mVb=Zone.__symbol__("removeEventListener"),hea=Zone.__symbol__(""),cc=Zone.__symbol__,nVb="undefined"!==typeof window,hc=nVb?window:void 0,dc=nVb&&hc||"object"===typeof self&&self||global,oVb="undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,kea=!("nw"in dc)&&"undefined"!==typeof dc.process&&"[object process]"===
{}.toString.call(dc.process),pVb=!kea&&!oVb&&!(!nVb||!hc.HTMLElement),qVb="undefined"!==typeof dc.process&&"[object process]"==={}.toString.call(dc.process)&&!oVb&&!(!nVb||!hc.HTMLElement),Xda={},Yda=function(a){if(a=a||dc.event){var b=Xda[a.type];b||(b=Xda[a.type]=cc("ON_PROPERTY"+a.type));var c=this||a.target||dc;b=c[b];pVb&&c===hc&&"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}},ec=cc("originalInstance"),eea=!1,fea=!1;var jc=!1;if("undefined"!==typeof window)try{var rVb=Object.defineProperty({},"passive",{get:function(){jc=!0}});window.addEventListener("test",rVb,rVb);window.removeEventListener("test",rVb,rVb)}catch(a){jc=!1}var mea={useG:!0},ic={},lea={},oea=new RegExp("^"+hea+"(\\w+)(true|false)$"),jea=cc("propagationStopped");Zone.__load_patch("ZoneAwarePromise",function(a,b,c){function d(pb){if(pb&&pb.toString===Object.prototype.toString){var Ib=pb.constructor&&pb.constructor.name;return(Ib?Ib:"")+": "+JSON.stringify(pb)}return pb?pb.toString():Object.prototype.toString.call(pb)}function e(pb){c.onUnhandledError(pb);try{var Ib=b[za];"function"===typeof Ib&&Ib.call(this,pb)}catch(hb){}}function g(pb){return pb}function h(pb){return ib.reject(pb)}function l(pb,Ib){return function(hb){try{q(pb,Ib,hb)}catch(Pb){q(pb,!1,Pb)}}}
function q(pb,Ib,hb){var Pb=db();if(pb===hb)throw new TypeError("ra");if(null===pb[Oa]){var sb=null;try{if("object"===typeof hb||"function"===typeof hb)sb=hb&&hb.then}catch(Yb){return Pb(function(){q(pb,!1,Yb)})(),pb}if(!1!==Ib&&hb instanceof ib&&hb.hasOwnProperty(Oa)&&hb.hasOwnProperty(Va)&&null!==hb[Oa])v(hb),q(pb,hb[Oa],hb[Va]);else if(!1!==Ib&&"function"===typeof sb)try{sb.call(hb,Pb(l(pb,Ib)),Pb(l(pb,!1)))}catch(Yb){Pb(function(){q(pb,!1,Yb)})()}else{pb[Oa]=Ib;Pb=pb[Va];pb[Va]=hb;pb[Ya]===Ya&&
!0===Ib&&(pb[Oa]=pb[Bb],pb[Va]=pb[Xb]);!1===Ib&&hb instanceof Error&&(sb=b.currentTask&&b.currentTask.data&&b.currentTask.data.__creationTrace__)&&Q(hb,wa,{configurable:!0,enumerable:!1,writable:!0,value:sb});for(sb=0;sb<Pb.length;)y(pb,Pb[sb++],Pb[sb++],Pb[sb++],Pb[sb++]);if(0==Pb.length&&0==Ib){pb[Oa]=0;Ib=hb;try{throw Error("sa`"+d(hb)+"`"+(hb&&hb.stack?"\n"+hb.stack:""));}catch(Yb){Ib=Yb}ka&&(Ib.throwOriginal=!0);Ib.rejection=hb;Ib.promise=pb;Ib.zone=b.current;Ib.task=b.currentTask;Y.push(Ib);
c.scheduleMicroTask()}}}return pb}function v(pb){if(0===pb[Oa]){try{var Ib=b[Na];Ib&&"function"===typeof Ib&&Ib.call(this,{rejection:pb[Va],promise:pb})}catch(hb){}pb[Oa]=!1;for(Ib=0;Ib<Y.length;Ib++)pb===Y[Ib].promise&&Y.splice(Ib,1)}}function y(pb,Ib,hb,Pb,sb){v(pb);var Yb=pb[Oa],xc=Yb?"function"===typeof Pb?Pb:g:"function"===typeof sb?sb:h;Ib.scheduleMicroTask("Promise.then",function(){try{var Wc=pb[Va],nd=!!hb&&Ya===hb[Ya];nd&&(hb[Xb]=Wc,hb[Bb]=Yb);var Vf=Ib.run(xc,void 0,nd&&xc!==h&&xc!==g?[]:
[Wc]);q(hb,!0,Vf)}catch(he){q(hb,!1,he)}},hb)}function B(pb){var Ib=pb.prototype,hb=N(Ib,"then");if(!hb||!1!==hb.writable&&hb.configurable){var Pb=Ib.then;Ib[Da]=Pb;pb.prototype.then=function(sb,Yb){var xc=this;return(new ib(function(Wc,nd){Pb.call(xc,Wc,nd)})).then(sb,Yb)};pb[hd]=!0}}function I(pb){return function(Ib,hb){Ib=pb.apply(Ib,hb);if(Ib instanceof ib)return Ib;hb=Ib.constructor;hb[hd]||B(hb);return Ib}}var N=Object.getOwnPropertyDescriptor,Q=Object.defineProperty,Z=c.symbol,Y=[],ka=!0===
a[Z("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],la=Z("Promise"),Da=Z("then");c.onUnhandledError=function(pb){if(c.showUncaughtError()){var Ib=pb&&pb.rejection;Ib?console.error("Unhandled Promise rejection:",Ib instanceof Error?Ib.message:Ib,"; Zone:",pb.zone.name,"; Task:",pb.task&&pb.task.source,"; Value:",Ib,Ib instanceof Error?Ib.stack:void 0):console.error(pb)}};c.microtaskDrainDone=function(){for(var pb={};Y.length;){pb.$jscomp$loop$prop$uncaughtPromiseError$2243=Y.shift();try{pb.$jscomp$loop$prop$uncaughtPromiseError$2243.zone.runGuarded(function(Ib){return function(){if(Ib.$jscomp$loop$prop$uncaughtPromiseError$2243.throwOriginal)throw Ib.$jscomp$loop$prop$uncaughtPromiseError$2243.rejection;
throw Ib.$jscomp$loop$prop$uncaughtPromiseError$2243;}}(pb))}catch(Ib){e(Ib)}pb={$jscomp$loop$prop$uncaughtPromiseError$2243:pb.$jscomp$loop$prop$uncaughtPromiseError$2243}}};var za=Z("unhandledPromiseRejectionHandler"),Oa=Z("state"),Va=Z("value"),Ya=Z("finally"),Xb=Z("parentPromiseValue"),Bb=Z("parentPromiseState"),db=function(){var pb=!1;return function(Ib){return function(){pb||(pb=!0,Ib.apply(null,arguments))}}},wa=Z("currentTaskTrace"),Na=Z("rejectionHandledHandler"),Qa=function(){},nb=a.AggregateError,
ib=function(pb){if(!(this instanceof ib))throw Error("ta");this[Oa]=null;this[Va]=[];try{var Ib=db();pb&&pb(Ib(l(this,!0)),Ib(l(this,!1)))}catch(hb){q(this,!1,hb)}};ib.toString=function(){return"function ZoneAwarePromise() { [native code] }"};ib.resolve=function(pb){return q(new this(null),!0,pb)};ib.reject=function(pb){return q(new this(null),!1,pb)};ib.any=function(pb){if(!pb||"function"!==typeof pb[Symbol.iterator])return Promise.reject(new nb([],"All promises were rejected"));var Ib=[],hb=0;try{for(var Pb=
k(pb),sb=Pb.next();!sb.done;sb=Pb.next()){var Yb=sb.value;hb++;Ib.push(ib.resolve(Yb))}}catch(nd){return Promise.reject(new nb([],"All promises were rejected"))}if(0===hb)return Promise.reject(new nb([],"All promises were rejected"));var xc=!1,Wc=[];return new ib(function(nd,Vf){for(var he=0;he<Ib.length;he++)Ib[he].then(function(Ue){xc||(xc=!0,nd(Ue))},function(Ue){Wc.push(Ue);hb--;0===hb&&(xc=!0,Vf(new nb(Wc,"All promises were rejected")))})})};ib.race=function(pb){function Ib(Wc){Pb(Wc)}function hb(Wc){sb(Wc)}
var Pb,sb,Yb=new this(function(Wc,nd){Pb=Wc;sb=nd});pb=k(pb);for(var xc=pb.next();!xc.done;xc=pb.next())(xc=xc.value)&&xc.then||(xc=this.resolve(xc)),xc.then(Ib,hb);return Yb};ib.all=function(pb){return ib.allWithCallback(pb)};ib.allSettled=function(pb){return(this&&this.prototype instanceof ib?this:ib).allWithCallback(pb,{thenCallback:function(Ib){return{status:"fulfilled",value:Ib}},errorCallback:function(Ib){return{status:"rejected",reason:Ib}}})};ib.allWithCallback=function(pb,Ib){var hb,Pb,sb=
new this(function(he,Ue){hb=he;Pb=Ue}),Yb=2,xc=0,Wc=[],nd={};pb=k(pb);for(var Vf=pb.next();!Vf.done;nd={$jscomp$loop$prop$curValueIndex$2246:nd.$jscomp$loop$prop$curValueIndex$2246},Vf=pb.next()){(Vf=Vf.value)&&Vf.then||(Vf=this.resolve(Vf));nd.$jscomp$loop$prop$curValueIndex$2246=xc;try{Vf.then(function(he){return function(Ue){Wc[he.$jscomp$loop$prop$curValueIndex$2246]=Ib?Ib.thenCallback(Ue):Ue;Yb--;0===Yb&&hb(Wc)}}(nd),function(he){return function(Ue){Ib?(Wc[he.$jscomp$loop$prop$curValueIndex$2246]=
Ib.errorCallback(Ue),Yb--,0===Yb&&hb(Wc)):Pb(Ue)}}(nd))}catch(he){Pb(he)}Yb++;xc++}Yb-=2;0===Yb&&hb(Wc);return sb};gg.Object.defineProperty(ib.prototype,Symbol.toStringTag,{configurable:!0,enumerable:!0,get:function(){return"Promise"}});gg.Object.defineProperty(ib.prototype,Symbol.species,{configurable:!0,enumerable:!0,get:function(){return ib}});ib.prototype.then=function(pb,Ib){var hb,Pb=null==(hb=this.constructor)?void 0:hb[Symbol.species];Pb&&"function"===typeof Pb||(Pb=this.constructor||ib);
hb=new Pb(Qa);Pb=b.current;null==this[Oa]?this[Va].push(Pb,hb,pb,Ib):y(this,Pb,hb,pb,Ib);return hb};ib.prototype.catch=function(pb){return this.then(null,pb)};ib.prototype.finally=function(pb){var Ib,hb=null==(Ib=this.constructor)?void 0:Ib[Symbol.species];hb&&"function"===typeof hb||(hb=ib);Ib=new hb(Qa);Ib[Ya]=Ya;hb=b.current;null==this[Oa]?this[Va].push(hb,Ib,pb,pb):y(this,hb,Ib,pb,pb);return Ib};ib.resolve=ib.resolve;ib.reject=ib.reject;ib.race=ib.race;ib.all=ib.all;la=a[la]=a.Promise;a.Promise=
ib;var hd=Z("thenPatched");c.patchThen=B;la&&(B(la),fc(a,"fetch",function(pb){return I(pb)}));Promise[b.__symbol__("uncaughtPromiseErrors")]=Y;return ib});var rea=cc("zoneTask");Zone.__load_patch("toString",function(a){var b=Function.prototype.toString,c=cc("OriginalDelegate"),d=cc("Promise"),e=cc("Error"),g=function(){if("function"===typeof this){var l=this[c];if(l)return"function"===typeof l?b.call(l):Object.prototype.toString.call(l);if(this===Promise&&(l=a[d])||this===Error&&(l=a[e]))return b.call(l)}return b.call(this)};g[c]=b;Function.prototype.toString=g;var h=Object.prototype.toString;Object.prototype.toString=function(){return"function"===typeof Promise&&this instanceof
Promise?"[object Promise]":h.call(this)}});Zone.__load_patch("util",function(a,b,c){var d=uea(a);c.patchOnProperties=aea;c.patchMethod=fc;c.bindArguments=Tda;c.patchMacroTask=dea;var e=b.__symbol__("BLACK_LISTED_EVENTS"),g=b.__symbol__("UNPATCHED_EVENTS");a[g]&&(a[e]=a[g]);a[e]&&(b[e]=b[g]=a[e]);c.patchEventPrototype=qea;c.patchEventTarget=pea;c.isIEOrEdge=gea;c.ObjectDefineProperty=Zda;c.ObjectGetOwnPropertyDescriptor=Uda;c.ObjectCreate=jVb;c.ArraySlice=kVb;c.patchClass=bea;c.wrapWithCurrentZone=Sda;c.filterProperties=tea;c.attachOriginToPatched=
bc;c._redefineProperty=Object.defineProperty;c.patchCallbacks=sea;c.getGlobalObjects=function(){return{globalSources:lea,zoneSymbolEventNames:ic,eventNames:d,isBrowser:pVb,isMix:qVb,isNode:kea,TRUE_STR:"true",FALSE_STR:"false",ZONE_SYMBOL_PREFIX:hea,ADD_EVENT_LISTENER_STR:"addEventListener",REMOVE_EVENT_LISTENER_STR:"removeEventListener"}}});var vea,wea,xea,yea,lc;var Gea=[].concat(Jc("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(" ")),
Jc(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"]),Jc(["autocomplete","autocompleteerror"]),Jc(["toggle"]),Jc("afterscriptexecute beforescriptexecute DOMContentLoaded freeze fullscreenchange mozfullscreenchange webkitfullscreenchange msfullscreenchange fullscreenerror mozfullscreenerror webkitfullscreenerror msfullscreenerror readystatechange visibilitychange resume".split(" ")),Jc("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(" ")),
Jc("beforecopy beforecut beforepaste copy cut paste dragstart loadend animationstart search transitionrun transitionstart webkitanimationend webkitanimationiteration webkitanimationstart webkittransitionend".split(" ")),Jc("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=Cea;Bea()});b.__load_patch("registerElement",function(c,d,e){d=e.getGlobalObjects();var g=d.isMix;(d.isBrowser||g)&&"registerElement"in c.document&&e.patchCallbacks(e,document,"Document","registerElement",["createdCallback","attachedCallback","detachedCallback","attributeChangedCallback"])});b.__load_patch("EventTargetLegacy",function(c,
d,e){Dea(c,e);d=e.getGlobalObjects();var g=d.isMix;d.isNode&&!g||Fea(e,c)||(d="undefined"!==typeof WebSocket,Hea(e),e.patchClass("XMLHttpRequest"),d&&Eea(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("queueMicrotask",function(a,b,c){c.patchMethod(a,"queueMicrotask",function(){return function(d,e){b.current.scheduleMicroTask("queueMicrotask",e[0])}})});Zone.__load_patch("timers",function(a){kc(a,"set","clear","Timeout");kc(a,"set","clear","Interval");kc(a,"set","clear","Immediate")});
Zone.__load_patch("requestAnimationFrame",function(a){kc(a,"request","cancel","AnimationFrame");kc(a,"mozRequest","mozCancel","AnimationFrame");kc(a,"webkitRequest","webkitCancel","AnimationFrame")});Zone.__load_patch("blocking",function(a,b){for(var c=["alert","prompt","confirm"],d=0;d<c.length;d++)fc(a,c[d],function(e,g,h){return function(l,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,g=d.TRUE_STR,h=d.FALSE_STR;d=d.ZONE_SYMBOL_PREFIX;for(var l=0;l<b.length;l++){var q=b[l],v=d+(q+h),y=d+(q+g);e[q]={};e[q][h]=v;e[q][g]=y}(b=a.EventTarget)&&b.prototype&&c.patchEventTarget(a,c,[b&&b.prototype])}(b=a.XMLHttpRequestEventTarget)&&b.prototype&&c.patchEventTarget(a,c,[b.prototype])});
Zone.__load_patch("MutationObserver",function(){bea("MutationObserver");bea("WebKitMutationObserver")});Zone.__load_patch("IntersectionObserver",function(){bea("IntersectionObserver")});Zone.__load_patch("FileReader",function(){bea("FileReader")});
Zone.__load_patch("on_property",function(a,b,c){if((!kea||qVb)&&!Zone[c.symbol("patchEvents")]){b=a.__Zone_ignore_on_properties;c=[];if(pVb){var d=window;c=c.concat("Document SVGElement Element HTMLElement HTMLBodyElement HTMLMediaElement HTMLFrameSetElement HTMLFrameElement HTMLIFrameElement HTMLMarqueeElement Worker".split(" "));a:{try{var e=hc.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")){var g=!0;break a}}catch(l){}g=!1}e=g?[{target:d,ignoreProperties:["error"]}]:
[];g=uea(d);var h=b?b.concat(e):b;e=cea(d);d&&(g=tea(d,g,h),aea(d,g,e))}c=c.concat("XMLHttpRequest XMLHttpRequestEventTarget IDBIndex IDBRequest IDBOpenDBRequest IDBDatabase IDBTransaction IDBCursor WebSocket".split(" "));for(d=0;d<c.length;d++)(e=a[c[d]])&&e.prototype&&(g=e.prototype,e=uea(e.prototype),g&&(e=tea(g,e,b),aea(g,e,void 0)))}});
Zone.__load_patch("customElements",function(a,b,c){b=c.getGlobalObjects();var d=b.isMix;(b.isBrowser||d)&&a.customElements&&"customElements"in a&&c.patchCallbacks(c,a.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])});
Zone.__load_patch("XHR",function(a,b){(function(q){function v(za){var Oa=za.data,Va=Oa.target;Va[g]=!1;Va[l]=!1;var Ya=Va[e];N||(N=Va[lVb],Q=Va[mVb]);Ya&&Q.call(Va,"readystatechange",Ya);Ya=Va[e]=function(){if(Va.readyState===Va.DONE)if(!Oa.aborted&&Va[g]&&"scheduled"===za.state){var Xb=Va[b.__symbol__("loadfalse")];if(0!==Va.status&&Xb&&0<Xb.length){var Bb=za.invoke;za.invoke=function(){for(var db=Va[b.__symbol__("loadfalse")],wa=0;wa<db.length;wa++)db[wa]===za&&db.splice(wa,1);Oa.aborted||"scheduled"!==
za.state||Bb.call(za)};Xb.push(za)}else za.invoke()}else Oa.aborted||!1!==Va[g]||(Va[l]=!0)};N.call(Va,"readystatechange",Ya);Va[c]||(Va[c]=za);la.apply(Va,Oa.args);Va[g]=!0;return za}function y(){}function B(za){za=za.data;za.aborted=!0;return Da.apply(za.target,za.args)}var I=q.XMLHttpRequest;if(I){I=I.prototype;var N=I[lVb],Q=I[mVb];!N&&(q=q.XMLHttpRequestEventTarget)&&(q=q.prototype,N=q[lVb],Q=q[mVb]);var Z=fc(I,"open",function(){return function(za,Oa){za[d]=0==Oa[2];za[h]=Oa[1];return Z.apply(za,
Oa)}}),Y=cc("fetchTaskAborting"),ka=cc("fetchTaskScheduling"),la=fc(I,"send",function(){return function(za,Oa){if(!0===b.current[ka]||za[d])return la.apply(za,Oa);Oa={target:za,url:za[h],isPeriodic:!1,args:Oa,aborted:!1};var Va=Zone.current.scheduleMacroTask("XMLHttpRequest.send",y,Oa,v,B);za&&!0===za[l]&&!Oa.aborted&&"scheduled"===Va.state&&Va.invoke()}}),Da=fc(I,"abort",function(){return function(za,Oa){var Va=za[c];if(Va&&"string"==typeof Va.type)null==Va.cancelFn||Va.data&&Va.data.aborted||Va.zone.cancelTask(Va);
else if(!0===b.current[Y])return Da.apply(za,Oa)}})}})(a);var c=cc("xhrTask"),d=cc("xhrSync"),e=cc("xhrListener"),g=cc("xhrScheduled"),h=cc("xhrURL"),l=cc("xhrErrorBeforeScheduled")});Zone.__load_patch("geolocation",function(a){a.navigator&&a.navigator.geolocation&&Wda(a.navigator.geolocation)});
Zone.__load_patch("PromiseRejectionEvent",function(a,b){function c(d){return function(e){nea(a,d).forEach(function(g){var h=a.PromiseRejectionEvent;h&&(h=new h(d,{promise:e.promise,reason:e.rejection}),g.invoke(h))})}}a.PromiseRejectionEvent&&(b[cc("unhandledPromiseRejectionHandler")]=c("unhandledrejection"),b[cc("rejectionHandledHandler")]=c("rejectionhandled"))});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 Jea=mc({"\u0275prov":mc}),Nea=mc({"\u0275inj":mc}),Kea=mc({ngInjectableDef:mc}),Oea=mc({ngInjectorDef:mc});var rc=function(a,b){b=Error.call(this,"NG0"+Math.abs(a)+(b?": "+b:""));this.message=b.message;"stack"in b&&(this.stack=b.stack);this.code=a};V(rc,Error);var Sea;var Vea=mc({__forward_ref__:mc});var sd="undefined"!==typeof globalThis&&globalThis||"undefined"!==typeof global&&global||"undefined"!==typeof window&&window||"undefined"!==typeof self&&"undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self;var sVb={},tVb=/\n/gm,Wea=void 0;var Hc=function(a,b){this._desc=a;this.\u0275prov=void 0;"number"==typeof b?this.__NG_ELEMENT_ID__=b:void 0!==b&&(this.\u0275prov=nc({token:this,providedIn:b.providedIn||"root",factory:b.factory}))};Hc.prototype.toString=function(){return"InjectionToken "+this._desc};gg.Object.defineProperties(Hc.prototype,{multi:{configurable:!0,enumerable:!0,get:function(){return this}}});var Gfa=new Hc("ENVIRONMENT_INITIALIZER");var uVb=new Hc("INJECTOR",-1);var Ffa=new Hc("INJECTOR_DEF_TYPES");var Kfa=function(){};Kfa.prototype.get=function(a,b){b=void 0===b?sVb:b;if(b===sVb)throw a=Error("xa`"+qc(a)),a.name="NullInjectorError",a;return b};var Ac=mc({"\u0275cmp":mc}),mfa=mc({"\u0275dir":mc}),rfa=mc({"\u0275pipe":mc}),vVb=mc({"\u0275mod":mc}),tfa=mc({"\u0275fac":mc}),qga=mc({__NG_ELEMENT_ID__:mc}),wVb=mc({__NG_ENV_ID__:mc});var pfa={},yc=[];var Hfa=mc({provide:String,useValue:mc});var Yka=new Hc("Set Injector scope.");var Pfa={},xVb={},Jfa=void 0,Nt=function(){},ed=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;Rfa(a,function(g){return yVb(e,g)});this.records.set(uVb,Ic(void 0,this));d.has("environment")&&this.records.set(Nt,Ic(void 0,this));a=this.records.get(Yka);null!=a&&"string"===typeof a.value&&this.scopes.add(a.value);this.injectorDefTypes=new Set(this.get(Ffa.multi,yc,2))};V(ed,Nt);
ed.prototype.destroy=function(){zVb(this);this._destroyed=!0;try{for(var a=k(this._ngOnDestroyHooks),b=a.next();!b.done;b=a.next())b.value.ngOnDestroy();var c=this._onDestroyHooks;this._onDestroyHooks=[];for(var d=k(c),e=d.next();!e.done;e=d.next()){var g=e.value;g()}}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}};
ed.prototype.onDestroy=function(a){var b=this;zVb(this);this._onDestroyHooks.push(a);return function(){var c=b._onDestroyHooks.indexOf(a);-1!==c&&b._onDestroyHooks.splice(c,1)}};ed.prototype.runInContext=function(a){zVb(this);var b=vc(this),c=sc();try{return a()}finally{vc(b),sc(c)}};
ed.prototype.get=function(a,b,c){b=void 0===b?sVb:b;c=void 0===c?0:c;zVb(this);if(a.hasOwnProperty(wVb))return a[wVb](this);c=Yea(c);var d=vc(this),e=sc();try{if(!(c&4)){var g=this.records.get(a);if(void 0===g){var h=("function"===typeof a||"object"===typeof a&&a instanceof Hc)&&Lea(a),l;if(l=h)if(h.providedIn){var q=uc(h.providedIn);l="string"===typeof q?"any"===q||this.scopes.has(q):this.injectorDefTypes.has(q)}else l=!1;l?g=Ic(Nfa(a),Pfa):g=null;this.records.set(a,g)}if(null!=g){b=g;b.value===
Pfa&&(b.value=xVb,b.value=b.factory());var v;if(v="object"===typeof b.value&&b.value){var y=b.value;v=null!==y&&"object"===typeof y&&"function"===typeof y.ngOnDestroy}v&&this._ngOnDestroyHooks.add(b.value);return b.value}}var B=c&2?Lfa():this.parent;b=c&8&&b===sVb?null:b;return B.get(a,b)}catch(Da){if("NullInjectorError"===Da.name){(Da.ngTempTokenPath=Da.ngTempTokenPath||[]).unshift(qc(a));if(d)throw Da;v=Da;var I=this.source,N=v.ngTempTokenPath;a.__source&&N.unshift(a.__source);var Q="\n"+v.message;
a=I;a=void 0===a?null:a;Q=Q&&"\n"===Q.charAt(0)&&"\u0275"==Q.charAt(1)?Q.slice(2):Q;var Z=qc(N);if(Array.isArray(N))Z=N.map(qc).join(" -> ");else if("object"===typeof N){I=[];for(var Y in N)if(N.hasOwnProperty(Y)){var ka=N[Y];I.push(Y+":"+("string"===typeof ka?JSON.stringify(ka):qc(ka)))}Z="{"+I.join(", ")+"}"}var la="R3InjectorError"+(a?"("+a+")":"")+"["+Z+"]: "+Q.replace(tVb,"\n  ");v.message=la;v.ngTokenPath=N;v.ngTempTokenPath=null;throw v;}throw Da;}finally{sc(e),vc(d)}};
var Gga=function(a){var b=vc(a),c=sc();try{for(var d=a.get(Gfa.multi,yc,2),e=k(d),g=e.next();!g.done;g=e.next()){var h=g.value;h()}}finally{vc(b),sc(c)}};ed.prototype.toString=function(){for(var a=[],b=k(this.records.keys()),c=b.next();!c.done;c=b.next())a.push(qc(c.value));return"R3Injector["+a.join(", ")+"]"};
var zVb=function(a){if(a._destroyed)throw new rc(205,!1);},yVb=function(a,b){b=uc(b);var c=Gc(b)?b:uc(b&&b.provide),d=Qfa(b);if(Gc(b)||!0!==b.multi)a.records.get(c);else{var e=a.records.get(c);e||(e=Ic(void 0,Pfa,!0),e.factory=function(){return Zea(e.multi)},a.records.set(c,e));c=b;e.multi.push(b)}a.records.set(c,d)};gg.Object.defineProperties(ed.prototype,{destroyed:{configurable:!0,enumerable:!0,get:function(){return this._destroyed}}});var AVb=$ea(Tfa(function(a){return{token:a}}),-1),Ot=$ea(Tfa(),8);$ea(Tfa(),2);var Pt=$ea(Tfa(),4);$ea(Tfa(),1);var Xfa=function(a,b,c){this.previousValue=a;this.currentValue=b;this.firstChange=c};Xfa.prototype.isFirstChange=function(){return this.firstChange};Mc.ngInherit=!0;var Rc=ega(null),Jha=null,Ke=!0;var BVb=function(a){this.ref=a};BVb.prototype.deref=function(){return this.ref};var CVb,DVb=null!=(CVb=sd.WeakRef)?CVb:BVb;var EVb=0,hga=null,FVb=function(){this.id=EVb++;this.ref=new DVb(this);this.producers=new Map;this.consumers=new Map;this.trackingVersion=0};gg.Object.defineProperties(FVb.prototype,{hasProducers:{configurable:!0,enumerable:!0,get:function(){return 0<this.producers.size}}});var GVb=function(){},HVb=function(a,b){FVb.call(this);var c=this;this.watch=a;this.schedule=b;this.dirty=!1;this.cleanupFn=GVb;this.registerOnCleanup=function(d){c.cleanupFn=d}};V(HVb,FVb);HVb.prototype.notify=function(){this.dirty||this.schedule(this);this.dirty=!0};
HVb.prototype.run=function(){this.dirty=!1;var a;if(!(a=0===this.trackingVersion))a:{a=k(this.producers);for(var b=a.next();!b.done;b=a.next()){var c=k(b.value);b=c.next().value;var d=c=c.next().value;c=d.producerNode.deref();if(void 0===c||d.atTrackingVersion!==this.trackingVersion)this.producers.delete(b),b=void 0,null==(b=c)||b.consumers.delete(this.id);else if(b=d.seenValueVersion,0!==b||0!==b){a=!0;break a}}a=!1}if(a){a=Zc(this);this.trackingVersion++;try{this.cleanupFn(),this.cleanupFn=GVb,
this.watch(this.registerOnCleanup)}finally{Zc(a)}}};HVb.prototype.cleanup=function(){this.cleanupFn()};var Dga=function(a,b){var c=D;this.factory=a;this.resolving=!1;this.canSeeViewProviders=b;this.injectImpl=c};var oga=!0,rga=0,ad={},cd=function(a,b){this._tNode=a;this._lView=b};cd.prototype.get=function(a,b,c){return Aga(this._tNode,this._lView,a,Yea(c),b)};mc({provide:String,useValue:mc});var Qt=function(){},ve=function(a){if(Array.isArray(a))return Hga({name:""},void 0,a,"");var b,c=null!=(b=a.name)?b:"";return Hga({name:c},a.parent,a.providers,c)},IVb=new Kfa;Qt.\u0275prov=nc({token:Qt,providedIn:"any",factory:function(){return w(uVb)}});Qt.__NG_ELEMENT_ID__=-1;var Rt=function(){};var JVb=function(){},KVb=function(){};var Iga=void 0;var LVb=new Hc("AppId",{providedIn:"root",factory:function(){return"ng"}}),Rka=new Hc("Platform Initializer"),St=new Hc("Platform ID",{providedIn:"platform",factory:function(){return"unknown"}});new Hc("Application Packages Root URL");var Tt=new Hc("AnimationModuleType"),MVb=new Hc("CSP nonce",{providedIn:"root",factory:function(){var a,b;return(null==(a=Jga().body)?void 0:null==(b=a.querySelector("[ngCspNonce]"))?void 0:b.getAttribute("ngCspNonce"))||null}});new Hc("",{providedIn:"root",factory:function(){return new Set}});var NVb=function(){},OVb=function(){};var fd=function(a){this.nativeElement=a};fd.__NG_ELEMENT_ID__=function(){return gd(Sc(),x())};var PVb=function(){},Ut=function(){};Ut.__NG_ELEMENT_ID__=function(){var a=x(),b=Pc(Sc().index,a);return(Kc(b)?b:a)[11]};var Lga=new Map,Hha=0;var yd=function(){this._console=console};yd.prototype.handleError=function(a){var b=this._findOriginalError(a);this._console.error("ERROR",a);b&&this._console.error("ORIGINAL ERROR",b)};yd.prototype._findOriginalError=function(a){for(a=a&&a.ngOriginalError;a&&a.ngOriginalError;)a=a.ngOriginalError;return a||null};new Hc("");var QVb=new Hc("",{providedIn:"root",factory:function(){return!1}});var Rga=/^>|^->|\x3c!--|--\x3e|--!>|<!-$/g,Sga=/(<|>)/;var od=function(){FVb.apply(this,arguments);this._lView=null};V(od,FVb);od.prototype.runInContext=function(a,b,c){var d=Zc(this);this.trackingVersion++;try{a(b,c)}finally{Zc(d)}};od.prototype.destroy=function(){this.trackingVersion++};gg.Object.defineProperties(od.prototype,{lView:{configurable:!0,enumerable:!0,set:function(a){this._lView=a}},hasReadASignal:{configurable:!0,enumerable:!0,get:function(){return this.hasProducers}}});var dha=null;var xd={};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 RVb=function(){pd.apply(this,arguments)};V(RVb,pd);RVb.prototype.getTypeName=function(){return"HTML"};var SVb=function(){pd.apply(this,arguments)};V(SVb,pd);SVb.prototype.getTypeName=function(){return"URL"};var TVb=function(){pd.apply(this,arguments)};V(TVb,pd);
TVb.prototype.getTypeName=function(){return"ResourceURL"};var hha;var sha=function(a){this.inertDocumentHelper=a};sha.prototype.getInertBodyElement=function(a){a="<body><remove></remove>"+a;try{var b=(new window.DOMParser).parseFromString(jha(a),"text/html").body;if(null===b)return this.inertDocumentHelper.getInertBodyElement(a);b.removeChild(b.firstChild);return b}catch(c){return null}};var rha=function(a){this.defaultDoc=a;this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")};
rha.prototype.getInertBodyElement=function(a){var b=this.inertDocument.createElement("template");b.innerHTML=jha(a);return b};var kha=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;var UVb=td("area,br,col,hr,img,wbr"),VVb=td("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),WVb=td("rp,rt"),XVb=mha(WVb,VVb),YVb=mha(VVb,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")),ZVb=mha(WVb,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")),
uha=mha(UVb,YVb,ZVb,XVb),wha=td("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),$Vb=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"),
aWb=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"),
vha=mha(wha,$Vb,aWb),xha=td("script,style,template"),tha=function(){this.buf=[]};tha.prototype.endElement=function(a){a=a.nodeName.toLowerCase();uha.hasOwnProperty(a)&&!UVb.hasOwnProperty(a)&&(this.buf.push("</"),this.buf.push(a),this.buf.push(">"))};var yha=function(a,b){if(b&&(a.compareDocumentPosition(b)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw Error("Ba`"+a.outerHTML);return b},nha=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,oha=/([^#-~ |!])/g,qha;var bWb={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 Aha;var Vt=function(){this.all=new Set;this.queue=new Map};Vt.prototype.create=function(a,b,c){var d=this,e="undefined"===typeof Zone?null:Zone.current,g=new HVb(a,function(l){d.all.has(l)&&d.queue.set(l,e)},c);this.all.add(g);g.notify();a=function(){g.cleanup();var l;null==(l=h)||l();d.all.delete(g);d.queue.delete(g)};var h=null==b?void 0:b.onDestroy(a);return{destroy:a}};
Vt.prototype.flush=function(){if(0!==this.queue.size)for(var a={},b=k(this.queue),c=b.next();!c.done;a={$jscomp$loop$prop$watch$2253:a.$jscomp$loop$prop$watch$2253},c=b.next()){var d=k(c.value);c=d.next().value;d=d.next().value;a.$jscomp$loop$prop$watch$2253=c;c=d;this.queue.delete(a.$jscomp$loop$prop$watch$2253);c?c.run(function(e){return function(){return e.$jscomp$loop$prop$watch$2253.run()}}(a)):a.$jscomp$loop$prop$watch$2253.run()}};Vt.\u0275prov=nc({token:Vt,providedIn:"root",factory:function(){return new Vt}});var pf=function(a,b){this._lView=a;this._cdRefInjectingView=b;this._appRef=null;this._attachedToViewContainer=!1};f=pf.prototype;f.destroy=function(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){var a=this._lView[3];if(Lc(a)){var b=a[8],c=b?b.indexOf(this):-1;-1<c&&(Vga(a,c),vfa(b,c))}this._attachedToViewContainer=!1}Xga(this._lView[1],this._lView)};f.onDestroy=function(a){var b=this._lView;if(256===(b[2]&256))throw new rc(911,!1);null===b[21]&&(b[21]=[]);b[21].push(a)};
f.markForCheck=function(){Oga(this._cdRefInjectingView||this._lView)};f.detach=function(){this._lView[2]&=-129};f.detectChanges=function(){jia(this._lView[1],this._lView,this.context)};
gg.Object.defineProperties(pf.prototype,{rootNodes:{configurable:!0,enumerable:!0,get:function(){var a=this._lView,b=a[1];return hia(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 cWb=function(a){pf.call(this,a);this._view=a};V(cWb,pf);cWb.prototype.detectChanges=function(){var a=this._view;jia(a[1],a,a[8],!1)};
gg.Object.defineProperties(cWb.prototype,{context:{configurable:!0,enumerable:!0,get:function(){return null}}});var dWb=function(){};dWb.\u0275prov=nc({token:dWb,providedIn:"root",factory:function(){return null}});var Wt=function(){this.full="0.0.0-PLACEHOLDER";this.minor=this.major="0";this.patch=["0","0","0-PLACEHOLDER"].slice(2).join(".")},eWb=new Wt;var fWb={};var gWb=function(a){this.ngModule=a};V(gWb,Rt);var hWb=function(a,b){return new qf(b[Ac]||null,a.ngModule)},iWb=function(a,b){this.injector=a;this.parentInjector=b};iWb.prototype.get=function(a,b,c){c=Yea(c);var d=this.injector.get(a,fWb,c);return d!==fWb||b===fWb?d:this.parentInjector.get(a,b,c)};
var qf=function(a,b){this.componentDef=a;this.ngModule=b;this.componentType=a.type;this.selector=a.selectors.map(gfa).join(",");this.ngContentSelectors=a.ngContentSelectors?a.ngContentSelectors:[];this.isBoundToModule=!!b};V(qf,OVb);
qf.prototype.create=function(a,b,c,d){d=d||this.ngModule;var e;(d=d instanceof Nt?d:null==(e=d)?void 0:e.injector)&&null!==this.componentDef.getStandaloneInjector&&(d=this.componentDef.getStandaloneInjector(d)||d);var g=d?new iWb(a,d):a;a=g.get(PVb,null);if(null===a)throw new rc(407,!1);e=g.get(dWb,null);d=g.get(Vt,null);d={rendererFactory:a,sanitizer:e,effectManager:d};a=a.createRenderer(null,this.componentDef);e=this.componentDef.selectors[0][0]||"div";if(c)e=this.componentDef.encapsulation,e=g.get(QVb,
!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 l=this.componentDef.signals?4608:e;e=Tha(0,null,null,1,0,null,null,null,null,null,null);g=Iha(null,e,null,l,null,null,d,a,g,null,null);dga(g);try{var q=this.componentDef;l=null;if(q.findHostDirectiveDefs){var v=[];l=new Map;q.findHostDirectiveDefs(q,v,l);v.push(q)}else v=[q];var y=g[1];g[25]=h;var B=wd(y,25,2,"#host",null);y=v;for(var I=
g[1],N=k(y),Q=N.next();!Q.done;Q=N.next())B.mergedAttrs=dfa(B.mergedAttrs,Q.value.hostAttrs);null!==B.mergedAttrs&&(gia(B,B.mergedAttrs,!0),null!==h&&cha(a,h,B));N=null;null!==h&&(N=null);var Z=d.rendererFactory.createRenderer(h,q);Q=16;q.signals?Q=4096:q.onPush&&(Q=64);var Y=Iha(g,Nha(q),null,Q,g[B.index],B,d,Z,null,null,N);I.firstCreatePass&&Xha(I,B,y.length-1);Oha(g,Y);var ka=g[B.index]=Y;var la=e.data[25];if(h)if(c)bfa(a,h,["ng-version",eWb.full]);else{var Da=q.selectors[0];c=[];B=[];I=1;for(Z=
2;I<Da.length;){var za=Da[I];if("string"===typeof za)2===Z?""!==za&&c.push(za,Da[++I]):8===Z&&B.push(za);else{if(0!==(Z&1))break;Z=za}I++}c&&bfa(a,h,c);if(B&&0<B.length){var Oa=B.join(" ");""===Oa?a.removeAttribute(h,"class"):a.setAttribute(h,"class",Oa)}}if(void 0!==b){var Va=this.ngContentSelectors,Ya=la.projection=[];for(Da=0;Da<Va.length;Da++){var Xb=b[Da];Ya.push(null!=Xb?Array.from(Xb):null)}}b=v;Va=l;v=[nia];var Bb=Sc(),db=g[1],wa=Oc(Bb,g);Yha(db,g,Bb,b,null,Va);for(Va=0;Va<b.length;Va++){var Na=
bd(g,db,Bb.directiveStart+Va,Bb);id(Na,g)}Qha(db,g,Bb);wa&&id(wa,g);var Qa=bd(g,db,Bb.directiveStart+Bb.componentOffset,Bb);ka[8]=g[8]=Qa;if(null!==v)for(var nb=k(v),ib=nb.next();!ib.done;ib=nb.next()){var hd=ib.value;hd(Qa,q)}Mha(db,Bb,ka);var pb=Qa;fia(e,g,null)}finally{gga()}return new Xt(this.componentType,pb,gd(la,g),g,la)};
gg.Object.defineProperties(qf.prototype,{inputs:{configurable:!0,enumerable:!0,get:function(){return mia(this.componentDef.inputs)}},outputs:{configurable:!0,enumerable:!0,get:function(){return mia(this.componentDef.outputs)}}});var Xt=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 cWb(d);this.componentType=a};V(Xt,NVb);
Xt.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,Vha(c[1],c,d,a,b),this.previousInputValues.set(a,b),a=Pc(this._tNode.index,c),Oga(a)))};Xt.prototype.destroy=function(){this.hostView.destroy()};Xt.prototype.onDestroy=function(a){this.hostView.onDestroy(a)};
gg.Object.defineProperties(Xt.prototype,{injector:{configurable:!0,enumerable:!0,get:function(){return new cd(this._tNode,this._rootLView)}}});var zd=function(a,b,c){this._parent=b;this._bootstrapComponents=[];this.destroyCbs=[];this.componentFactoryResolver=new gWb(this);var d=(a[vVb]||null).bootstrap;this._bootstrapComponents=d instanceof Function?d():d;this._r3Injector=Fga(a,b,[{provide:JVb,useValue:this},{provide:Rt,useValue:this.componentFactoryResolver}].concat(Jc(c)),qc(a),new Set(["environment"]));Gga(this._r3Injector);this.instance=this._r3Injector.get(a)};V(zd,JVb);
zd.prototype.destroy=function(){var a=this._r3Injector;!a.destroyed&&a.destroy();this.destroyCbs.forEach(function(b){return b()});this.destroyCbs=null};zd.prototype.onDestroy=function(a){this.destroyCbs.push(a)};gg.Object.defineProperties(zd.prototype,{injector:{configurable:!0,enumerable:!0,get:function(){return this._r3Injector}}});var jWb=function(a){this.moduleType=a};V(jWb,KVb);jWb.prototype.create=function(a){return new zd(this.moduleType,a,[])};
var pia=function(a){this.componentFactoryResolver=new gWb(this);this.instance=null;var b=new ed([].concat(Jc(a.providers),[{provide:JVb,useValue:this},{provide:Rt,useValue:this.componentFactoryResolver}]),a.parent||Lfa(),a.debugName,new Set(["environment"]));this.injector=b;a.runEnvironmentInitializers&&Gga(b)};V(pia,JVb);pia.prototype.destroy=function(){this.injector.destroy()};pia.prototype.onDestroy=function(a){this.injector.onDestroy(a)};var kWb=new Hc("Application Initializer"),Yt=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=wc(kWb,{optional:!0}))?b:[]},lWb=function(a){if(!a.initialized){for(var b=[],c={},d=k(a.appInits),e=d.next();!e.done;c={$jscomp$loop$prop$initResult$2255:c.$jscomp$loop$prop$initResult$2255},e=d.next())e=e.value,c.$jscomp$loop$prop$initResult$2255=e(),ria(c.$jscomp$loop$prop$initResult$2255)?b.push(c.$jscomp$loop$prop$initResult$2255):
sia(c.$jscomp$loop$prop$initResult$2255)&&(e=new Promise(function(g){return function(h,l){g.$jscomp$loop$prop$initResult$2255.subscribe({complete:h,error:l})}}(c)),b.push(e));Promise.all(b).then(function(){a.done=!0;a.resolve()}).catch(function(g){a.reject(g)});0===b.length&&(a.done=!0,a.resolve());a.initialized=!0}};Yt.\u0275fac=function(a){return new (a||Yt)};Yt.\u0275prov=nc({token:Yt,factory:Yt.\u0275fac,providedIn:"root"});var Zt=function(){};Zt.prototype.log=function(a){console.log(a)};Zt.prototype.warn=function(a){console.warn(a)};Zt.\u0275fac=function(a){return new (a||Zt)};Zt.\u0275prov=nc({token:Zt,factory:Zt.\u0275fac,providedIn:"platform"});var uia=["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 via={};var wqa=new Hc("LocaleId",{providedIn:"root",factory:function(){return wc(wqa,12)||("undefined"!==typeof pLb?"en-US":"undefined"!==typeof $localize&&$localize.locale||"en-US")}});new Hc("DefaultCurrencyCode",{providedIn:"root",factory:function(){return"USD"}});new Hc("Translations");new Hc("TranslationsFormat");var $t=function(){};$t.prototype.getModuleId=function(){};$t.\u0275fac=function(a){return new (a||$t)};$t.\u0275prov=nc({token:$t,factory:$t.\u0275fac,providedIn:"root"});new Hc("compilerOptions");var wia=Promise.resolve(0);var mWb=!1,Fd={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):mWb&&console.log("RxJS: Back to a better error behavior. Thank you. <3");mWb=a},get useDeprecatedSynchronousErrorHandling(){return mWb}};var Td="function"===typeof Symbol&&Symbol.observable||"@@observable";var nWb={closed:!0,next:function(){},error:function(a){if(Fd.useDeprecatedSynchronousErrorHandling)throw a;Bd(a)},complete:function(){}};var Bia=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 Jd=Array.isArray||function(a){return a&&"number"===typeof a.length};var Cd=function(a){this.closed=!1;this._subscriptions=this._parentOrParents=null;a&&(this._ctorUnsubscribe=!0,this._unsubscribe=a)};
Cd.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 Cd)a.remove(this);else if(null!==a)for(var e=0;e<a.length;++e)a[e].remove(this);if(yia(c)){b&&(this._unsubscribe=void 0);try{c.call(this)}catch(q){var g=q instanceof Bia?Cia(q.errors):[q]}}if(Jd(d)){e=-1;for(var h=d.length;++e<h;){var l=d[e];if(zia(l))try{l.unsubscribe()}catch(q){g=
g||[],q instanceof Bia?g=g.concat(Cia(q.errors)):g.push(q)}}}if(g)throw new Bia(g);}};
Cd.prototype.add=function(a){var b=a;if(!a)return Cd.EMPTY;switch(typeof a){case "function":b=new Cd(a);case "object":if(b===this||b.closed||"function"!==typeof b.unsubscribe)return b;if(this.closed)return b.unsubscribe(),b;b instanceof Cd||(a=b,b=new Cd,b._subscriptions=[a]);break;default:throw Error("Da`"+a);}var c=b._parentOrParents;if(null===c)b._parentOrParents=this;else if(c instanceof Cd){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};Cd.prototype.remove=function(a){var b=this._subscriptions;b&&(a=b.indexOf(a),-1!==a&&b.splice(a,1))};var oWb=new Cd;oWb.closed=!0;Cd.EMPTY=oWb;var Dd=function(a,b,c){Cd.call(this);this.syncErrorValue=null;this.isStopped=this.syncErrorThrowable=this.syncErrorThrown=!1;switch(arguments.length){case 0:this.destination=nWb;break;case 1:if(!a){this.destination=nWb;break}if("object"===typeof a){a instanceof Dd?(this.syncErrorThrowable=a.syncErrorThrowable,this.destination=a,a.add(this)):(this.syncErrorThrowable=!0,this.destination=new au(this,a));break}default:this.syncErrorThrowable=!0,this.destination=new au(this,a,b,c)}};V(Dd,Cd);
Dd.EMPTY=Cd.EMPTY;Dd.create=function(a,b,c){a=new Dd(a,b,c);a.syncErrorThrowable=!1;return a};f=Dd.prototype;f.next=function(a){this.isStopped||this._next(a)};f.error=function(a){this.isStopped||(this.isStopped=!0,this._error(a))};f.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())};f.unsubscribe=function(){this.closed||(this.isStopped=!0,Cd.prototype.unsubscribe.call(this))};f._next=function(a){this.destination.next(a)};f._error=function(a){this.destination.error(a);this.unsubscribe()};
f._complete=function(){this.destination.complete();this.unsubscribe()};var au=function(a,b,c,d){Dd.call(this);this._parentSubscriber=a;var e=this;if(yia(b))var g=b;else b&&(g=b.next,c=b.error,d=b.complete,b!==nWb&&(e=Object.create(b),Aia(b)&&b.add(this.unsubscribe.bind(this)),e.unsubscribe=this.unsubscribe.bind(this)));this._context=e;this._next=g;this._error=c;this._complete=d};V(au,Dd);au.EMPTY=Dd.EMPTY;au.create=Dd.create;f=au.prototype;
f.next=function(a){if(!this.isStopped&&this._next){var b=this._parentSubscriber;Fd.useDeprecatedSynchronousErrorHandling&&b.syncErrorThrowable?this.__tryOrSetError(b,this._next,a)&&this.unsubscribe():this.__tryOrUnsub(this._next,a)}};
f.error=function(a){if(!this.isStopped){var b=this._parentSubscriber,c=Fd.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):Bd(a),this.unsubscribe();else{this.unsubscribe();if(c)throw a;Bd(a)}}};
f.complete=function(){var a=this;if(!this.isStopped){var b=this._parentSubscriber;if(this._complete){var c=function(){return a._complete.call(a._context)};Fd.useDeprecatedSynchronousErrorHandling&&b.syncErrorThrowable?this.__tryOrSetError(b,c):this.__tryOrUnsub(c)}this.unsubscribe()}};f.__tryOrUnsub=function(a,b){try{a.call(this._context,b)}catch(c){this.unsubscribe();if(Fd.useDeprecatedSynchronousErrorHandling)throw c;Bd(c)}};
f.__tryOrSetError=function(a,b,c){if(!Fd.useDeprecatedSynchronousErrorHandling)throw Error("Ea");try{b.call(this._context,c)}catch(d){return Fd.useDeprecatedSynchronousErrorHandling?(a.syncErrorValue=d,a.syncErrorThrown=!0):Bd(d),!0}return!1};f._unsubscribe=function(){var a=this._parentSubscriber;this._parentSubscriber=this._context=null;a.unsubscribe()};var pWb=function(a){Dd.call(this);this.destination=a};V(pWb,Dd);pWb.EMPTY=Dd.EMPTY;pWb.create=Dd.create;var Gd=function(a){a&&(this._subscribe=a)};f=Gd.prototype;f.lift=function(a){var b=new Gd;b.source=this;b.operator=a;return b};
f.subscribe=function(a,b,c){var d=this.operator;a:{if(a){if(a instanceof Dd||Fia(a)&&Aia(a))break a;if(Fia(a)){a=new pWb(a);break a}}a=a||b||c?new Dd(a,b,c):new Dd(nWb)}d?a.add(d.call(a,this.source)):a.add(this.source||Fd.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a));if(Fd.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a};
f._trySubscribe=function(a){try{return this._subscribe(a)}catch(b){Fd.useDeprecatedSynchronousErrorHandling&&(a.syncErrorThrown=!0,a.syncErrorValue=b),Dia(a)?a.error(b):console.warn(b)}};f.forEach=function(a,b){var c=this;b=Gia(b);return new b(function(d,e){var g=c.subscribe(function(h){try{a(h)}catch(l){e(l),g&&g.unsubscribe()}},e,d)})};f._subscribe=function(a){var b=this.source;return b&&b.subscribe(a)};Gd.prototype[Td]=function(){return this};
Gd.prototype.pipe=function(){var a=Fc.apply(0,arguments);return 0===a.length?this:Eia(a)(this)};var qWb=function(a){var b=Gia(b);return new b(function(c,d){var e;a.subscribe(function(g){return e=g},function(g){return d(g)},function(){return c(e)})})};Gd.create=function(a){return new Gd(a)};var rWb=function(a,b){Cd.call(this);this.subject=a;this.subscriber=b;this.closed=!1};V(rWb,Cd);rWb.EMPTY=Cd.EMPTY;rWb.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 bu=function(){function a(){this.message="object unsubscribed";this.name="ObjectUnsubscribedError";return this}a.prototype=Object.create(Error.prototype);return a}();var me=function(){this.observers=[];this.hasError=this.isStopped=this.closed=!1;this.thrownError=null};V(me,Gd);f=me.prototype;f.lift=function(a){var b=new cu(this,this);b.operator=a;return b};f.next=function(a){if(this.closed)throw new bu;if(!this.isStopped){var b=this.observers,c=b.length;b=b.slice();for(var d=0;d<c;d++)b[d].next(a)}};
f.error=function(a){if(this.closed)throw new bu;this.hasError=!0;this.thrownError=a;this.isStopped=!0;var b=this.observers,c=b.length;b=b.slice();for(var d=0;d<c;d++)b[d].error(a);this.observers.length=0};f.complete=function(){if(this.closed)throw new bu;this.isStopped=!0;var a=this.observers,b=a.length;a=a.slice();for(var c=0;c<b;c++)a[c].complete();this.observers.length=0};f.unsubscribe=function(){this.closed=this.isStopped=!0;this.observers=null};
f._trySubscribe=function(a){if(this.closed)throw new bu;return Gd.prototype._trySubscribe.call(this,a)};f._subscribe=function(a){if(this.closed)throw new bu;if(this.hasError)return a.error(this.thrownError),Cd.EMPTY;if(this.isStopped)return a.complete(),Cd.EMPTY;this.observers.push(a);return new rWb(this,a)};var sWb=function(a){var b=new Gd;b.source=a;return b};
gg.Object.defineProperties(me.prototype,{observed:{configurable:!0,enumerable:!0,get:function(){var a;return 0<(null==(a=this.observers)?void 0:a.length)}}});me.create=function(a,b){return new cu(a,b)};var cu=function(a,b){me.call(this);this.destination=a;this.source=b};V(cu,me);cu.create=me.create;cu.prototype.next=function(a){var b=this.destination;b&&b.next&&b.next(a)};cu.prototype.error=function(a){var b=this.destination;b&&b.error&&this.destination.error(a)};
cu.prototype.complete=function(){var a=this.destination;a&&a.complete&&this.destination.complete()};cu.prototype._subscribe=function(a){return this.source?this.source.subscribe(a):Cd.EMPTY};var Kd=function(){me.apply(this,arguments);this.value=null;this.hasCompleted=this.hasNext=!1};V(Kd,me);Kd.create=me.create;Kd.prototype._subscribe=function(a){return this.hasError?(a.error(this.thrownError),Cd.EMPTY):this.hasCompleted&&this.hasNext?(a.next(this.value),a.complete(),Cd.EMPTY):me.prototype._subscribe.call(this,a)};Kd.prototype.next=function(a){this.hasCompleted||(this.value=a,this.hasNext=!0)};Kd.prototype.error=function(a){this.hasCompleted||me.prototype.error.call(this,a)};
Kd.prototype.complete=function(){this.hasCompleted=!0;this.hasNext&&me.prototype.next.call(this,this.value);me.prototype.complete.call(this)};var du=function(a){me.call(this);this._value=a};V(du,me);du.create=me.create;du.prototype._subscribe=function(a){var b=me.prototype._subscribe.call(this,a);b&&!b.closed&&a.next(this._value);return b};du.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new bu;return this._value};du.prototype.next=function(a){me.prototype.next.call(this,this._value=a)};gg.Object.defineProperties(du.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.getValue()}}});var Yd=new Gd(function(a){return a.complete()});var Jia=function(a){return function(b){for(var c=0,d=a.length;c<d&&!b.closed;c++)b.next(a[c]);b.complete()}};var tWb=function(a,b,c){this.kind=a;this.value=b;this.error=c;this.hasValue="N"===a};tWb.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)}};
tWb.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 uWb={now:function(){return(uWb.delegate||Date).now()},delegate:void 0};var le=function(a,b,c){a=void 0===a?Infinity:a;b=void 0===b?Infinity:b;c=void 0===c?uWb:c;me.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};V(le,me);le.create=me.create;f=le.prototype;
f.nextInfiniteTimeWindow=function(a){var b=this._events;b.push(a);b.length>this._bufferSize&&b.shift();me.prototype.next.call(this,a)};f.nextTimeWindow=function(a){this._events.push({time:this._getNow(),value:a});this._trimBufferThenGetEvents();me.prototype.next.call(this,a)};
f._subscribe=function(a){var b=this._infiniteTimeWindow,c=b?this._events:this._trimBufferThenGetEvents(),d=c.length;if(this.closed)throw new bu;if(this.isStopped||this.hasError)var e=Cd.EMPTY;else this.observers.push(a),e=new rWb(this,a);if(b)for(var g=0;g<d&&!a.closed;g++)a.next(c[g]);else for(g=0;g<d&&!a.closed;g++)a.next(c[g].value);this.hasError?a.error(this.thrownError):this.isStopped&&a.complete();return e};f._getNow=function(){var a=this.timestampProvider;return a?a.now():uWb.now()};
f._trimBufferThenGetEvents=function(){for(var a=this._getNow(),b=this._bufferSize,c=this._windowTime,d=this._events,e=d.length,g=0;g<e&&!(a-d[g].time<c);)g++;e>b&&(g=Math.max(g,e-b));0<g&&d.splice(0,g);return d};var wWb=function(a,b){b=void 0===b?vWb:b;this.SchedulerAction=a;this.now=b};wWb.prototype.schedule=function(a,b,c){b=void 0===b?0:b;return(new this.SchedulerAction(this,a)).schedule(c,b)};var vWb=uWb.now;var ie=function(){function a(){this.message="no elements in sequence";this.name="EmptyError";return this}a.prototype=Object.create(Error.prototype);return a}();var Oia=function(){};Oia.prototype.call=function(a,b){b._refCount++;a=new xWb(a,b);var c=b.subscribe(a);a.closed||(a.connection=b.connect());return c};var xWb=function(a,b){Dd.call(this,a);this.connectable=b;this.connection=null};V(xWb,Dd);xWb.EMPTY=Dd.EMPTY;xWb.create=Dd.create;
xWb.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 eu=function(a,b){this.source=a;this.subjectFactory=b;this._refCount=0;this._isComplete=!1};V(eu,Gd);eu.create=Gd.create;eu.prototype._subscribe=function(a){return this.getSubject().subscribe(a)};eu.prototype.getSubject=function(){var a=this._subject;if(!a||a.isStopped)this._subject=this.subjectFactory();return this._subject};
eu.prototype.connect=function(){var a=this._connection;a||(this._isComplete=!1,a=this._connection=new Cd,a.add(this.source.subscribe(new fu(this.getSubject(),this))),a.closed&&(this._connection=null,a=Cd.EMPTY));return a};eu.prototype.refCount=function(){return Pia()(this)};var rka,yWb=eu.prototype;
rka={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:yWb._subscribe},_isComplete:{value:yWb._isComplete,writable:!0},getSubject:{value:yWb.getSubject},connect:{value:yWb.connect},refCount:{value:yWb.refCount}};var fu=function(a,b){Dd.call(this);this.destination=a;this.connectable=b};V(fu,Dd);fu.EMPTY=Dd.EMPTY;fu.create=Dd.create;
fu.prototype._error=function(a){this._unsubscribe();Dd.prototype._error.call(this,a)};fu.prototype._complete=function(){this.connectable._isComplete=!0;this._unsubscribe();Dd.prototype._complete.call(this)};fu.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 Qia=function(a){this.project=a;this.thisArg=void 0};Qia.prototype.call=function(a,b){return b.subscribe(new zWb(a,this.project,this.thisArg))};var zWb=function(a,b,c){Dd.call(this,a);this.project=b;this.count=0;this.thisArg=c||this};V(zWb,Dd);zWb.EMPTY=Dd.EMPTY;zWb.create=Dd.create;zWb.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 Sd="function"===typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator";var gja=function(a){return a&&"number"===typeof a.length&&"function"!==typeof a};var AWb=function(a){return function(b){var c=a[Sd]();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 BWb=function(a){return function(b){var c=a[Td]();if("function"!==typeof c.subscribe)throw new TypeError("Ia");return c.subscribe(b)}};var CWb=function(a){return function(b){a.then(function(c){b.closed||(b.next(c),b.complete())},function(c){return b.error(c)}).then(null,Bd);return b}};var bja=function(a){if(a&&"function"===typeof a[Td])return BWb(a);if(gja(a))return Jia(a);if(Yia(a))return CWb(a);if(a&&"function"===typeof a[Sd])return AWb(a);if(Symbol&&Symbol.asyncIterator&&a&&"function"===typeof a[Symbol.asyncIterator])return $ia(a);throw new TypeError("Ja`"+(zia(a)?"an invalid object":"'"+a+"'"));};var gu=function(a){Dd.call(this);this.parent=a};V(gu,Dd);gu.EMPTY=Dd.EMPTY;gu.create=Dd.create;gu.prototype._next=function(a){this.parent.notifyNext(a)};gu.prototype._error=function(a){this.parent.notifyError(a);this.unsubscribe()};gu.prototype._complete=function(){this.parent.notifyComplete();this.unsubscribe()};var hu=function(a,b,c){Dd.call(this);this.parent=a;this.outerValue=b;this.outerIndex=c};V(hu,Dd);hu.EMPTY=Dd.EMPTY;hu.create=Dd.create;
hu.prototype._next=function(a){this.parent.notifyNext(this.outerValue,a,this.outerIndex)};hu.prototype._error=function(a){this.parent.notifyError(a);this.unsubscribe()};hu.prototype._complete=function(){this.parent.notifyComplete(this);this.unsubscribe()};var iu=function(){Dd.apply(this,arguments)};V(iu,Dd);iu.EMPTY=Dd.EMPTY;iu.create=Dd.create;iu.prototype.notifyNext=function(a){this.destination.next(a)};iu.prototype.notifyError=function(a){this.destination.error(a)};
iu.prototype.notifyComplete=function(){this.destination.complete()};var ju=function(){Dd.apply(this,arguments)};V(ju,Dd);ju.EMPTY=Dd.EMPTY;ju.create=Dd.create;ju.prototype.notifyNext=function(a,b){this.destination.next(b)};ju.prototype.notifyError=function(a){this.destination.error(a)};ju.prototype.notifyComplete=function(){this.destination.complete()};var DWb={},Qja=function(a,b){this.resultSelector=a;this.keys=b};Qja.prototype.call=function(a,b){return b.subscribe(new EWb(a,this.resultSelector,this.keys))};var EWb=function(a,b,c){ju.call(this,a);this.resultSelector=b;this.keys=c;this.active=0;this.values=[];this.observables=[]};V(EWb,ju);EWb.EMPTY=ju.EMPTY;EWb.create=ju.create;f=EWb.prototype;f._next=function(a){this.values.push(DWb);this.observables.push(a)};
f._complete=function(){var a=this.observables,b=a.length;if(0===b)this.destination.complete();else{this.toRespond=this.active=b;for(var c=0;c<b;c++)this.add(Rd(a[c],new hu(this,null,c)))}};f.notifyComplete=function(){0===--this.active&&this.destination.complete()};
f.notifyNext=function(a,b,c){var d=this.values,e=d[c];e=this.toRespond?e===DWb?--this.toRespond:this.toRespond:0;d[c]=b;0===e&&(this.resultSelector?this._tryResultSelector(d):this.destination.next(this.keys?this.keys.reduce(function(g,h,l){return g[h]=d[l],g},{}):d.slice()))};f._tryResultSelector=function(a){try{var b=this.resultSelector.apply(this,a)}catch(c){this.destination.error(c);return}this.destination.next(b)};var ija=function(a,b){b=void 0===b?Infinity:b;this.project=a;this.concurrent=b};ija.prototype.call=function(a,b){return b.subscribe(new ku(a,this.project,this.concurrent))};var ku=function(a,b,c){c=void 0===c?Infinity:c;iu.call(this,a);this.destination=a;this.project=b;this.concurrent=c;this.hasCompleted=!1;this.buffer=[];this.index=this.active=0};V(ku,iu);ku.EMPTY=iu.EMPTY;ku.create=iu.create;
ku.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 gu(this);this.destination.add(a);Rd(c,a)}else this.buffer.push(a)};ku.prototype._complete=function(){this.hasCompleted=!0;0===this.active&&0===this.buffer.length&&this.destination.complete();this.unsubscribe()};ku.prototype.notifyNext=function(a){this.destination.next(a)};
ku.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 mja=function(a){var b=requestAnimationFrame,c=cancelAnimationFrame;lu&&(b=lu.requestAnimationFrame,c=lu.cancelAnimationFrame);var d=b(function(e){c=void 0;a(e)});return new Cd(function(){var e;return null==(e=c)?void 0:e(d)})},FWb=function(){return((null==lu?void 0:lu.requestAnimationFrame)||requestAnimationFrame).apply(null,Jc(Fc.apply(0,arguments)))},GWb=function(){((null==lu?void 0:lu.cancelAnimationFrame)||cancelAnimationFrame).apply(null,Jc(Fc.apply(0,arguments)))},lu=void 0;var lja={now:function(){return(lja.delegate||performance).now()},delegate:void 0};var HWb=nja();var IWb=function(){Cd.call(this)};V(IWb,Cd);IWb.EMPTY=Cd.EMPTY;IWb.prototype.schedule=function(){return this};var JWb=function(a,b){var c=Fc.apply(2,arguments);return(null==mu?0:mu.setInterval)?mu.setInterval.apply(mu,[a,b].concat(Jc(c))):setInterval.apply(null,[a,b].concat(Jc(c)))},mu=void 0;var nu=function(a,b){Cd.call(this);this.scheduler=a;this.work=b;this.pending=!1};V(nu,IWb);nu.EMPTY=IWb.EMPTY;f=nu.prototype;f.schedule=function(a,b){b=void 0===b?0:b;if(this.closed)return this;this.state=a;a=this.id;var c=this.scheduler;null!=a&&(this.id=this.recycleAsyncId(c,a,b));this.pending=!0;this.delay=b;this.id=this.id||this.requestAsyncId(c,this.id,b);return this};f.requestAsyncId=function(a,b,c){c=void 0===c?0:c;return JWb(a.flush.bind(a,this),c)};
f.recycleAsyncId=function(a,b,c){c=void 0===c?0:c;if(null!==c&&this.delay===c&&!1===this.pending)return b;((null==mu?void 0:mu.clearInterval)||clearInterval)(b)};f.execute=function(a,b){if(this.closed)return Error("Na");this.pending=!1;if(a=this._execute(a,b))return a;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))};f._execute=function(a){var b=!1,c=void 0;try{this.work(a)}catch(d){b=!0,c=!!d&&d||Error(d)}if(b)return this.unsubscribe(),c};
f._unsubscribe=function(){var a=this.id,b=this.scheduler,c=b.actions,d=c.indexOf(this);this.state=this.work=null;this.pending=!1;this.scheduler=null;-1!==d&&c.splice(d,1);null!=a&&(this.id=this.recycleAsyncId(b,a,null));this.delay=null};var ou=function(a,b){b=void 0===b?vWb:b;wWb.call(this,a,b);this.actions=[];this.active=!1;this.scheduled=void 0};V(ou,wWb);ou.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 $d=new ou(nu);var KWb=new Gd(Xd);var yja=function(a,b){this.predicate=a;this.thisArg=b};yja.prototype.call=function(a,b){return b.subscribe(new LWb(a,this.predicate,this.thisArg))};var LWb=function(a,b,c){Dd.call(this,a);this.predicate=b;this.thisArg=c;this.count=0};V(LWb,Dd);LWb.EMPTY=Dd.EMPTY;LWb.create=Dd.create;LWb.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 Aja=function(){};Aja.prototype.call=function(a,b){return b.subscribe(new MWb(a))};var MWb=function(a){ju.call(this,a);this.hasFirst=!1;this.observables=[];this.subscriptions=[]};V(MWb,ju);MWb.EMPTY=ju.EMPTY;MWb.create=ju.create;f=MWb.prototype;f._next=function(a){this.observables.push(a)};
f._complete=function(){var a=this.observables,b=a.length;if(0===b)this.destination.complete();else{for(var c=0;c<b&&!this.hasFirst;c++){var d=Rd(a[c],new hu(this,null,c));this.subscriptions&&this.subscriptions.push(d);this.add(d)}this.observables=null}};f.notifyNext=function(a,b,c){if(!this.hasFirst){this.hasFirst=!0;for(var d=0;d<this.subscriptions.length;d++)if(d!==c){var e=this.subscriptions[d];e.unsubscribe();this.remove(e)}this.subscriptions=null}this.destination.next(b)};
f.notifyComplete=function(a){this.hasFirst=!0;ju.prototype.notifyComplete.call(this,a)};f.notifyError=function(a){this.hasFirst=!0;ju.prototype.notifyError.call(this,a)};var NWb=function(a){this.resultSelector=a};NWb.prototype.call=function(a,b){return b.subscribe(new pu(a,this.resultSelector))};var pu=function(a,b,c){void 0===c&&Object.create(null);Dd.call(this,a);this.iterators=[];this.active=0;this.resultSelector=b};V(pu,Dd);pu.EMPTY=Dd.EMPTY;pu.create=Dd.create;pu.prototype._next=function(a){var b=this.iterators;Jd(a)?b.push(new OWb(a)):"function"===typeof a[Sd]?b.push(new PWb(a[Sd]())):b.push(new qu(this.destination,this,a))};
pu.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--}}};pu.prototype._tryresultSelector=function(a){try{var b=this.resultSelector.apply(this,a)}catch(c){this.destination.error(c);return}this.destination.next(b)};var PWb=function(a){this.iterator=a;this.nextResult=a.next()};PWb.prototype.hasValue=function(){return!0};
PWb.prototype.next=function(){var a=this.nextResult;this.nextResult=this.iterator.next();return a};PWb.prototype.hasCompleted=function(){var a=this.nextResult;return a&&!!a.done};var OWb=function(a){this.array=a;this.length=this.index=0;this.length=a.length};OWb.prototype[Sd]=function(){return this};OWb.prototype.next=function(){var a=this.index++,b=this.array;return a<this.length?{value:b[a],done:!1}:{value:null,done:!0}};OWb.prototype.hasValue=function(){return this.array.length>this.index};
OWb.prototype.hasCompleted=function(){return this.array.length===this.index};var qu=function(a,b,c){iu.call(this,a);this.parent=b;this.observable=c;this.stillUnsubscribed=!0;this.buffer=[];this.isComplete=!1};V(qu,iu);qu.EMPTY=iu.EMPTY;qu.create=iu.create;qu.prototype[Sd]=function(){return this};f=qu.prototype;f.next=function(){var a=this.buffer;return 0===a.length&&this.isComplete?{value:null,done:!0}:{value:a.shift(),done:!1}};f.hasValue=function(){return 0<this.buffer.length};
f.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete};f.notifyComplete=function(){if(0<this.buffer.length){this.isComplete=!0;var a=this.parent;a.active--;0===a.active&&a.destination.complete()}else this.destination.complete()};
f.notifyNext=function(a){this.buffer.push(a);a:{a=this.parent;for(var b=a.iterators,c=b.length,d=a.destination,e=0;e<c;e++){var g=b[e];if("function"===typeof g.hasValue&&!g.hasValue())break a}e=!1;g=[];for(var h=0;h<c;h++){var l=b[h],q=l.next();l.hasCompleted()&&(e=!0);if(q.done){d.complete();break a}g.push(q.value)}a.resultSelector?a._tryresultSelector(g):d.next(g);e&&d.complete()}};f.subscribe=function(){return Rd(this.observable,new gu(this))};var QWb=function(a,b,c){this.key=a;this.groupSubject=b;this.refCountSubscription=c};V(QWb,Gd);QWb.create=Gd.create;QWb.prototype._subscribe=function(a){var b=new Cd,c=this.refCountSubscription,d=this.groupSubject;c&&!c.closed&&b.add(new RWb(c));b.add(d.subscribe(a));return b};var RWb=function(a){Cd.call(this);this.parent=a;a.count++};V(RWb,Cd);RWb.EMPTY=Cd.EMPTY;
RWb.prototype.unsubscribe=function(){var a=this.parent;a.closed||this.closed||(Cd.prototype.unsubscribe.call(this),--a.count,0===a.count&&a.attemptedToUnsubscribe&&a.unsubscribe())};var Hja=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 SWb=function(a,b){a=void 0===a?ru:a;b=void 0===b?Infinity:b;ou.call(this,a,function(){return c.frame});var c=this;this.maxFrames=b;this.frame=0;this.index=-1};V(SWb,ou);SWb.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 ru=function(a,b,c){c=void 0===c?a.index+=1:c;nu.call(this,a,b);this.scheduler=a;this.work=b;this.index=c;this.active=!0;this.index=a.index=c};V(ru,nu);ru.EMPTY=nu.EMPTY;ru.prototype.schedule=function(a,b){b=void 0===b?0:b;if(Number.isFinite(b)){if(!this.id)return nu.prototype.schedule.call(this,a,b);this.active=!1;var c=new ru(this.scheduler,this.work);this.add(c);return c.schedule(a,b)}return Cd.EMPTY};
ru.prototype.requestAsyncId=function(a,b,c){this.delay=a.frame+(void 0===c?0:c);a=a.actions;a.push(this);a.sort(TWb);return!0};ru.prototype.recycleAsyncId=function(){};ru.prototype._execute=function(a,b){if(!0===this.active)return nu.prototype._execute.call(this,a,b)};var TWb=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 UWb=function(a,b){nu.call(this,a,b);this.scheduler=a;this.work=b};V(UWb,nu);UWb.EMPTY=nu.EMPTY;UWb.prototype.requestAsyncId=function(a,b,c){c=void 0===c?0:c;if(null!==c&&0<c)return nu.prototype.requestAsyncId.call(this,a,b,c);a.actions.push(this);return a.scheduled||(a.scheduled=FWb(function(){return a.flush(void 0)}))};
UWb.prototype.recycleAsyncId=function(a,b,c){c=void 0===c?0:c;if(null!==c&&0<c||null===c&&0<this.delay)return nu.prototype.recycleAsyncId.call(this,a,b,c);0===a.actions.length&&(GWb(b),a.scheduled=void 0)};var VWb=function(){ou.apply(this,arguments)};V(VWb,ou);VWb.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 WWb=new VWb(UWb);var XWb=1,YWb,Ija={},ZWb=function(a){var b=XWb++;Ija[b]=!0;YWb||(YWb=Promise.resolve());YWb.then(function(){return Jja(b)&&a()});return b},$Wb=function(a){Jja(a)};var bXb=function(){return((null==aXb?void 0:aXb.setImmediate)||ZWb).apply(null,Jc(Fc.apply(0,arguments)))},aXb=void 0;var cXb=function(a,b){nu.call(this,a,b);this.scheduler=a;this.work=b};V(cXb,nu);cXb.EMPTY=nu.EMPTY;cXb.prototype.requestAsyncId=function(a,b,c){c=void 0===c?0:c;if(null!==c&&0<c)return nu.prototype.requestAsyncId.call(this,a,b,c);a.actions.push(this);return a.scheduled||(a.scheduled=bXb(a.flush.bind(a,void 0)))};
cXb.prototype.recycleAsyncId=function(a,b,c){c=void 0===c?0:c;if(null!==c&&0<c||null===c&&0<this.delay)return nu.prototype.recycleAsyncId.call(this,a,b,c);0===a.actions.length&&(((null==aXb?void 0:aXb.clearImmediate)||$Wb)(b),a.scheduled=void 0)};var dXb=function(){ou.apply(this,arguments)};V(dXb,ou);dXb.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 eXb=new dXb(cXb);var su=function(a,b){nu.call(this,a,b);this.scheduler=a;this.work=b};V(su,nu);su.EMPTY=nu.EMPTY;su.prototype.schedule=function(a,b){b=void 0===b?0:b;if(0<b)return nu.prototype.schedule.call(this,a,b);this.delay=b;this.state=a;this.scheduler.flush(this);return this};su.prototype.execute=function(a,b){return 0<b||this.closed?nu.prototype.execute.call(this,a,b):this._execute(a,b)};
su.prototype.requestAsyncId=function(a,b,c){c=void 0===c?0:c;return null!==c&&0<c||null===c&&0<this.delay?nu.prototype.requestAsyncId.call(this,a,b,c):a.flush(this)};var fXb=function(){ou.apply(this,arguments)};V(fXb,ou);var gXb=new fXb(su);var hXb=function(){function a(){this.message="argument out of range";this.name="ArgumentOutOfRangeError";return this}a.prototype=Object.create(Error.prototype);return a}();var iXb=function(){function a(b){this.message=b;this.name="NotFoundError";return this}a.prototype=Object.create(Error.prototype);return a}();var jXb=function(){function a(b){this.message=b;this.name="SequenceError";return this}a.prototype=Object.create(Error.prototype);return a}();var F={};F.Observable=Gd;F.ConnectableObservable=eu;F.GroupedObservable=QWb;F.observable=Td;F.animationFrames=function(a){return a?nja(a):HWb};F.Subject=me;F.BehaviorSubject=du;F.ReplaySubject=le;F.AsyncSubject=Kd;F.asap=eXb;F.asapScheduler=eXb;F.async=$d;F.asyncScheduler=$d;F.queue=gXb;F.queueScheduler=gXb;F.animationFrame=WWb;F.animationFrameScheduler=WWb;F.VirtualTimeScheduler=SWb;F.VirtualAction=ru;F.Scheduler=wWb;F.Subscription=Cd;F.Subscriber=Dd;F.Notification=tWb;
F.NotificationKind={NEXT:"N",ERROR:"E",COMPLETE:"C"};F.pipe=function(){return Eia(Fc.apply(0,arguments))};F.noop=Xd;F.identity=Ed;F.isObservable=function(a){return!!a&&(a instanceof Gd||"function"===typeof a.lift&&"function"===typeof a.subscribe)};F.lastValueFrom=function(a){return new Promise(function(b,c){var d=!1,e;a.subscribe({next:function(g){e=g;d=!0},error:c,complete:function(){d?b(e):c(new ie)}})})};
F.firstValueFrom=function(a){return new Promise(function(b,c){var d=new Cd;d.add(a.subscribe({next:function(e){b(e);d.unsubscribe()},error:c,complete:function(){c(new ie)}}))})};F.ArgumentOutOfRangeError=hXb;F.EmptyError=ie;F.NotFoundError=iXb;F.ObjectUnsubscribedError=bu;F.SequenceError=jXb;F.TimeoutError=Hja;F.UnsubscriptionError=Bia;F.bindCallback=Ria;F.bindNodeCallback=Uia;
F.combineLatest=function(){var a=Fc.apply(0,arguments),b=void 0,c=void 0,d=void 0;Hd(a[a.length-1])&&(c=a.pop());"function"===typeof a[a.length-1]&&(b=a.pop());if(1===a.length){var e=a[0];Jd(e)&&(a=e);zia(e)&&Object.getPrototypeOf(e)===Object.prototype&&(d=Object.keys(e),a=d.map(function(g){return e[g]}))}return Id(Kia(a,c),new Qja(b,d))};F.concat=jja;F.defer=kja;F.empty=function(a){return a?Hia(a):Yd};
F.forkJoin=function(){var a=Fc.apply(0,arguments);if(1===a.length){var b=a[0];if(Jd(b))return oja(b,null);if(zia(b)&&Object.getPrototypeOf(b)===Object.prototype)return a=Object.keys(b),oja(a.map(function(d){return b[d]}),a)}if("function"===typeof a[a.length-1]){var c=a.pop();a=1===a.length&&Jd(a[0])?a[0]:a;return oja(a,null).pipe(E(function(d){return c.apply(null,Jc(d))}))}return oja(a,null)};F.from=Ud;F.fromEvent=pja;F.fromEventPattern=rja;
F.generate=function(a,b,c,d,e){if(1==arguments.length){var g=a.initialState;b=a.condition;c=a.iterate;var h=a.resultSelector||Ed;e=a.scheduler}else void 0===d||Hd(d)?(g=a,h=Ed,e=d):(g=a,h=d);return new Gd(function(l){var q=g;if(e)return e.schedule(sja,0,{subscriber:l,iterate:c,condition:b,resultSelector:h,state:q});do{if(b){var v=void 0;try{v=b(q)}catch(y){l.error(y);break}if(!v){l.complete();break}}v=void 0;try{v=h(q)}catch(y){l.error(y);break}l.next(v);if(l.closed)break;try{q=c(q)}catch(y){l.error(y);
break}}while(1)})};F.iif=function(a,b,c){b=void 0===b?Yd:b;c=void 0===c?Yd:c;return kja(function(){return a()?b:c})};F.interval=function(a,b){a=void 0===a?0:a;b=void 0===b?$d:b;if(!tja(a)||0>a)a=0;b&&"function"===typeof b.schedule||(b=$d);return new Gd(function(c){c.add(b.schedule(uja,a,{subscriber:c,counter:0,period:a}));return c})};
F.merge=function(){var a=Fc.apply(0,arguments),b=Infinity,c=void 0,d=a[a.length-1];Hd(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 Gd?a[0]:Wd(b)(Kia(a,c))};F.never=function(){return KWb};F.of=Lia;F.onErrorResumeNext=wja;
F.pairs=function(a,b){return b?new Gd(function(c){var d=Object.keys(a),e=new Cd;e.add(b.schedule(xja,0,{keys:d,index:0,subscriber:c,subscription:e,obj:a}));return e}):new Gd(function(c){for(var d=Object.keys(a),e=0;e<d.length&&!c.closed;e++){var g=d[e];a.hasOwnProperty(g)&&c.next([g,a[g]])}c.complete()})};F.partition=function(a,b,c){return[Zd(b,c)(new Gd(bja(a))),Zd(zja(b,c))(new Gd(bja(a)))]};F.race=Bja;
F.range=function(a,b,c){a=void 0===a?0:a;return new Gd(function(d){void 0===b&&(b=a,a=0);var e=0,g=a;if(c)return c.schedule(Cja,0,{index:e,count:b,start:a,subscriber:d});do{if(e++>=b){d.complete();break}d.next(g++);if(d.closed)break}while(1)})};F.throwError=function(a,b){return b?new Gd(function(c){return b.schedule(Mia,0,{error:a,subscriber:c})}):new Gd(function(c){return c.error(a)})};F.timer=Fja;
F.using=function(a,b){return new Gd(function(c){try{var d=a()}catch(h){c.error(h);return}try{var e=b(d)}catch(h){c.error(h);return}var g=(e?Ud(e):Yd).subscribe(c);return function(){g.unsubscribe();d&&d.unsubscribe()}})};F.zip=function(){var a=Fc.apply(0,arguments),b=void 0;"function"===typeof a[a.length-1]&&(b=a.pop());return Id(Kia(a),new NWb(b))};F.scheduled=hja;F.EMPTY=Yd;F.NEVER=KWb;F.config=Fd;var tu=function(a){a=void 0===a?!1:a;F.Subject.call(this);this.__isAsync=a};V(tu,F.Subject);tu.create=F.Subject.create;tu.prototype.emit=function(a){F.Subject.prototype.next.call(this,a)};
tu.prototype.subscribe=function(a,b,c){var d=a;b=b||function(){return null};if(a&&"object"===typeof a){var e;d=null==(e=a.next)?void 0:e.bind(a);var g;b=null==(g=a.error)?void 0:g.bind(a);var h;c=null==(h=a.complete)?void 0:h.bind(a)}this.__isAsync&&(b=Kja(b),d&&(d=Kja(d)),c&&(c=Kja(c)));d=F.Subject.prototype.subscribe.call(this,{next:d,error:b,complete:c});a instanceof F.Subscription&&a.add(d);return d};var Mja=function(a){this.durationSelector=a};Mja.prototype.call=function(a,b){return b.subscribe(new uu(a,this.durationSelector))};var uu=function(a,b){iu.call(this,a);this.durationSelector=b;this.value=null;this.hasValue=!1;this.throttled=null};V(uu,iu);uu.EMPTY=iu.EMPTY;uu.create=iu.create;
uu.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=Rd(c,new gu(this));!a||a.closed?kXb(this):this.add(this.throttled=a)}};var kXb=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))};uu.prototype.notifyNext=function(){kXb(this)};uu.prototype.notifyComplete=function(){kXb(this)};var Oja=function(a){this.closingNotifier=a};Oja.prototype.call=function(a,b){return b.subscribe(new vu(a,this.closingNotifier))};var vu=function(a,b){iu.call(this,a);this.buffer=[];this.add(Rd(b,new gu(this)))};V(vu,iu);vu.EMPTY=iu.EMPTY;vu.create=iu.create;vu.prototype._next=function(a){this.buffer.push(a)};vu.prototype.notifyNext=function(){var a=this.buffer;this.buffer=[];this.destination.next(a)};var Vja=function(a){this.durationSelector=a};Vja.prototype.call=function(a,b){return b.subscribe(new lXb(a,this.durationSelector))};var lXb=function(a,b){iu.call(this,a);this.durationSelector=b;this.value=null;this.hasValue=!1;this.durationSubscription=null};V(lXb,iu);lXb.EMPTY=iu.EMPTY;lXb.create=iu.create;f=lXb.prototype;f._next=function(a){try{var b=this.durationSelector.call(this,a);b&&this._tryNext(a,b)}catch(c){this.destination.error(c)}};f._complete=function(){mXb(this);this.destination.complete()};
f._tryNext=function(a,b){var c=this.durationSubscription;this.value=a;this.hasValue=!0;c&&(c.unsubscribe(),this.remove(c));(c=Rd(b,new gu(this)))&&!c.closed&&this.add(this.durationSubscription=c)};f.notifyNext=function(){mXb(this)};f.notifyComplete=function(){mXb(this)};var mXb=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;iu.prototype._next.call(a,b)}};var Xja=function(a,b){this.dueTime=a;this.scheduler=b};Xja.prototype.call=function(a,b){return b.subscribe(new wu(a,this.dueTime,this.scheduler))};var wu=function(a,b,c){Dd.call(this,a);this.dueTime=b;this.scheduler=c;this.lastValue=this.debouncedSubscription=null;this.hasValue=!1};V(wu,Dd);wu.EMPTY=Dd.EMPTY;wu.create=Dd.create;wu.prototype._next=function(a){nXb(this);this.lastValue=a;this.hasValue=!0;this.add(this.debouncedSubscription=this.scheduler.schedule(Zja,this.dueTime,this))};
wu.prototype._complete=function(){Yja(this);this.destination.complete()};var Yja=function(a){nXb(a);if(a.hasValue){var b=a.lastValue;a.lastValue=null;a.hasValue=!1;a.destination.next(b)}},nXb=function(a){var b=a.debouncedSubscription;null!==b&&(a.remove(b),b.unsubscribe(),a.debouncedSubscription=null)};var $ja=function(a){this.defaultValue=a};$ja.prototype.call=function(a,b){return b.subscribe(new xu(a,this.defaultValue))};var xu=function(a,b){Dd.call(this,a);this.defaultValue=b;this.isEmpty=!0};V(xu,Dd);xu.EMPTY=Dd.EMPTY;xu.create=Dd.create;xu.prototype._next=function(a){this.isEmpty=!1;this.destination.next(a)};xu.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue);this.destination.complete()};var bka=function(a,b){this.delay=a;this.scheduler=b};bka.prototype.call=function(a,b){return b.subscribe(new yu(a,this.delay,this.scheduler))};var yu=function(a,b,c){Dd.call(this,a);this.destination=a;this.delay=b;this.scheduler=c;this.queue=[];this.active=!1};V(yu,Dd);yu.EMPTY=Dd.EMPTY;yu.create=Dd.create;
var oXb=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)};yu.prototype._schedule=function(a){this.active=!0;var b=this.destination;b.add(a.schedule(oXb,this.delay,{source:this,destination:b,scheduler:a}))};
yu.prototype._next=function(a){var b=this.scheduler;a=new pXb(b.now()+this.delay,a);this.queue.push(a);!1===this.active&&this._schedule(b)};yu.prototype._error=function(a){this.queue.length=0;this.destination.error(a);this.unsubscribe()};yu.prototype._complete=function(){0===this.queue.length&&this.destination.complete();this.unsubscribe()};var pXb=function(a,b){this.time=a;this.value=b};var cka=function(a){this.compare=a;this.keySelector=void 0};cka.prototype.call=function(a,b){return b.subscribe(new zu(a,this.compare,this.keySelector))};var zu=function(a,b,c){Dd.call(this,a);this.keySelector=c;this.hasKey=!1;"function"===typeof b&&(this.compare=b)};V(zu,Dd);zu.EMPTY=Dd.EMPTY;zu.create=Dd.create;zu.prototype.compare=function(a,b){return a===b};
zu.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 dka=function(){this.count=1};dka.prototype.call=function(a,b){return b.subscribe(new qXb(a,this.count))};var qXb=function(a,b){Dd.call(this,a);this.count=b;this._valueCount=0};V(qXb,Dd);qXb.EMPTY=Dd.EMPTY;qXb.create=Dd.create;qXb.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 fka=function(a){this.errorFactory=a};fka.prototype.call=function(a,b){return b.subscribe(new Au(a,this.errorFactory))};var Au=function(a,b){Dd.call(this,a);this.errorFactory=b;this.hasValue=!1};V(Au,Dd);Au.EMPTY=Dd.EMPTY;Au.create=Dd.create;Au.prototype._next=function(a){this.hasValue=!0;this.destination.next(a)};Au.prototype._complete=function(){if(this.hasValue)return this.destination.complete();try{var a=this.errorFactory()}catch(b){a=b}this.destination.error(a)};var hka=function(a){this.callback=a};hka.prototype.call=function(a,b){a=b.subscribe(a);a.add(this.callback);return a};var jka=function(){};jka.prototype.call=function(a,b){return b.subscribe(new rXb(a))};var rXb=function(){Dd.apply(this,arguments)};V(rXb,Dd);rXb.EMPTY=Dd.EMPTY;rXb.create=Dd.create;rXb.prototype._next=function(){};var lka=function(){this.total=1};lka.prototype.call=function(a,b){return b.subscribe(new Bu(a,this.total))};var Bu=function(a,b){Dd.call(this,a);this.total=b;this.ring=[];this.count=0};V(Bu,Dd);Bu.EMPTY=Dd.EMPTY;Bu.create=Dd.create;Bu.prototype._next=function(a){var b=this.ring,c=this.total,d=this.count++;b.length<c?b.push(a):b[d%c]=a};
Bu.prototype._complete=function(){var a=this.destination,b=this.count;if(0<b)for(var c=this.count>=this.total?this.total:this.count,d=this.ring,e=0;e<c;e++){var g=b++%c;a.next(d[g])}a.complete()};var oka=function(a){this.value=a};oka.prototype.call=function(a,b){return b.subscribe(new sXb(a,this.value))};var sXb=function(a,b){Dd.call(this,a);this.value=b};V(sXb,Dd);sXb.EMPTY=Dd.EMPTY;sXb.create=Dd.create;sXb.prototype._next=function(){this.destination.next(this.value)};var pka=function(a,b,c){this.accumulator=a;this.seed=b;this.hasSeed=void 0===c?!1:c};pka.prototype.call=function(a,b){return b.subscribe(new tXb(a,this.accumulator,this.seed,this.hasSeed))};var tXb=function(a,b,c,d){Dd.call(this,a);this.accumulator=b;this._state=c;this._hasState=d;this.index=0};V(tXb,Dd);tXb.EMPTY=Dd.EMPTY;tXb.create=Dd.create;
tXb.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 yka=function(a){this.total=a};yka.prototype.call=function(a,b){return b.subscribe(new uXb(a,this.total))};var uXb=function(a,b){Dd.call(this,a);this.total=b;this.count=0};V(uXb,Dd);uXb.EMPTY=Dd.EMPTY;uXb.create=Dd.create;uXb.prototype._next=function(a){++this.count>this.total&&this.destination.next(a)};var Aka=function(a){this.project=a};Aka.prototype.call=function(a,b){return b.subscribe(new vXb(a,this.project))};var vXb=function(a,b){iu.call(this,a);this.destination=a;this.project=b;this.index=0};V(vXb,iu);vXb.EMPTY=iu.EMPTY;vXb.create=iu.create;f=vXb.prototype;f._next=function(a){var b=this.index++;try{var c=this.project(a,b)}catch(d){this.destination.error(d);return}(a=this.innerSubscription)&&a.unsubscribe();a=new gu(this);this.destination.add(a);this.innerSubscription=a;Rd(c,a)};
f._complete=function(){var a=this.innerSubscription;a&&!a.closed||iu.prototype._complete.call(this);this.unsubscribe()};f._unsubscribe=function(){this.innerSubscription=void 0};f.notifyComplete=function(){this.innerSubscription=void 0;this.isStopped&&iu.prototype._complete.call(this)};f.notifyNext=function(a){this.destination.next(a)};var Bka=function(a){this.notifier=a};Bka.prototype.call=function(a,b){a=new Cu(a);var c=Rd(this.notifier,new gu(a));return c&&!a.notifierHasNotified?(a.add(c),b.subscribe(a)):a};var Cu=function(a){iu.call(this,a);this.notifierHasNotified=!1};V(Cu,iu);Cu.EMPTY=iu.EMPTY;Cu.create=iu.create;Cu.prototype.notifyNext=function(){this.notifierHasNotified=!0;this.complete()};Cu.prototype.notifyComplete=function(){};var Cka=function(a,b){this.predicate=a;this.inclusive=b};Cka.prototype.call=function(a,b){return b.subscribe(new wXb(a,this.predicate,this.inclusive))};var wXb=function(a,b,c){Dd.call(this,a);this.predicate=b;this.inclusive=c;this.index=0};V(wXb,Dd);wXb.EMPTY=Dd.EMPTY;wXb.create=Dd.create;wXb.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 Eka=function(a,b){this.nextOrObserver=a;this.error=b;this.complete=void 0};Eka.prototype.call=function(a,b){return b.subscribe(new Du(a,this.nextOrObserver,this.error,this.complete))};var Du=function(a,b,c,d){Dd.call(this,a);this._tapComplete=this._tapError=this._tapNext=Xd;this._tapError=c||Xd;this._tapComplete=d||Xd;yia(b)?(this._context=this,this._tapNext=b):b&&(this._context=b,this._tapNext=b.next||Xd,this._tapError=b.error||Xd,this._tapComplete=b.complete||Xd)};V(Du,Dd);Du.EMPTY=Dd.EMPTY;
Du.create=Dd.create;Du.prototype._next=function(a){try{this._tapNext.call(this._context,a)}catch(b){this.destination.error(b);return}this.destination.next(a)};Du.prototype._error=function(a){try{this._tapError.call(this._context,a)}catch(b){this.destination.error(b);return}this.destination.error(a)};Du.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(a){this.destination.error(a);return}return this.destination.complete()};var Fka={leading:!0,trailing:!1},Gka=function(a,b,c){this.durationSelector=a;this.leading=b;this.trailing=c};Gka.prototype.call=function(a,b){return b.subscribe(new Eu(a,this.durationSelector,this.leading,this.trailing))};var Eu=function(a,b,c,d){iu.call(this,a);this.destination=a;this.durationSelector=b;this._leading=c;this._trailing=d;this._sendValue=null;this._hasValue=!1};V(Eu,iu);Eu.EMPTY=iu.EMPTY;Eu.create=iu.create;
Eu.prototype._next=function(a){this._hasValue=!0;this._sendValue=a;this._throttled||(this._leading?this.send():xXb(this,a))};Eu.prototype.send=function(){var a=this._sendValue;this._hasValue&&(this.destination.next(a),xXb(this,a));this._hasValue=!1;this._sendValue=null};var xXb=function(a,b){try{var c=a.durationSelector(b)}catch(d){a.destination.error(d);return}a.add(a._throttled=Rd(c,new gu(a)))},yXb=function(a){var b=a._throttled,c=a._trailing;b&&b.unsubscribe();a._throttled=null;c&&a.send()};
Eu.prototype.notifyNext=function(){yXb(this)};Eu.prototype.notifyComplete=function(){yXb(this)};var Ika=function(a,b){this.observables=a;this.project=b};Ika.prototype.call=function(a,b){return b.subscribe(new Fu(a,this.observables,this.project))};var Fu=function(a,b,c){ju.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(Rd(b[c],new hu(this,void 0,c)))};V(Fu,ju);Fu.EMPTY=ju.EMPTY;Fu.create=ju.create;
Fu.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))};Fu.prototype.notifyComplete=function(){};Fu.prototype._next=function(a){0===this.toRespond.length&&(a=[a].concat(Jc(this.values)),this.project?this._tryProject(a):this.destination.next(a))};Fu.prototype._tryProject=function(a){try{var b=this.project.apply(this,a)}catch(c){this.destination.error(c);return}this.destination.next(b)};var te=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 tu(!1);this.onMicrotaskEmpty=new tu(!1);this.onStable=new tu(!1);this.onError=new tu(!1);if("undefined"==typeof Zone)throw new rc(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;b=sd.requestAnimationFrame;c=sd.cancelAnimationFrame;"undefined"!==typeof Zone&&b&&c&&((c=b[Zone.__symbol__("OriginalDelegate")])&&(b=c),Zone.__symbol__("OriginalDelegate"));
this.nativeRequestAnimationFrame=b;Nka(this)},Pka=function(){return"undefined"!==typeof Zone&&!0===Zone.current.get("isAngularZone")},Oka=function(){if(Pka())throw new rc(909,!1);};te.prototype.run=function(a,b,c){return this._inner.run(a,b,c)};te.prototype.runTask=function(a,b,c){var d=this._inner;a=d.scheduleEventTask("NgZoneEvent: undefined",a,zXb,Lja,Lja);try{return d.runTask(a,b,c)}finally{d.cancelTask(a)}};te.prototype.runGuarded=function(a,b,c){return this._inner.runGuarded(a,b,c)};
te.prototype.runOutsideAngular=function(a){return this._outer.run(a)};var zXb={},ala=function(){this.hasPendingMacrotasks=this.hasPendingMicrotasks=!1;this.isStable=!0;this.onUnstable=new tu;this.onMicrotaskEmpty=new tu;this.onStable=new tu;this.onError=new tu};ala.prototype.run=function(a,b,c){return a.apply(b,c)};ala.prototype.runGuarded=function(a,b,c){return a.apply(b,c)};ala.prototype.runOutsideAngular=function(a){return a()};ala.prototype.runTask=function(a,b,c){return a.apply(b,c)};
var hla=new Hc("",{providedIn:"root",factory:Qka});var AXb=new Hc(""),BXb=new Hc(""),Gu=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;CXb||(CXb=c,DXb(b));this._watchAngularEvents();a.run(function(){d.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})};
Gu.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(){Oka();xia(function(){a._isZoneStable=!0;a._runCallbacksIfReady()})}})})};Gu.prototype.isStable=function(){return this._isZoneStable&&!this._ngZone.hasPendingMacrotasks};
Gu.prototype._runCallbacksIfReady=function(){var a=this;if(this.isStable())xia(function(){for(;0!==a._callbacks.length;){var c=a._callbacks.pop();clearTimeout(c.timeoutId);c.doneCb(a._didWork)}a._didWork=!1});else{var b=EXb(this);this._callbacks=this._callbacks.filter(function(c){return c.updateCb&&c.updateCb(b)?(clearTimeout(c.timeoutId),!1):!0});this._didWork=!0}};
var EXb=function(a){return a.taskTrackingZone?a.taskTrackingZone.macroTasks.map(function(b){return{source:b.source,creationLocation:b.creationLocation,data:b.data}}):[]};f=Gu.prototype;f.addCallback=function(a,b,c){var d=this,e=-1;b&&0<b&&(e=setTimeout(function(){d._callbacks=d._callbacks.filter(function(g){return g.timeoutId!==e});a(d._didWork,EXb(d))},b));this._callbacks.push({doneCb:a,timeoutId:e,updateCb:c})};
f.whenStable=function(a,b,c){if(c&&!this.taskTrackingZone)throw Error("Qa");this.addCallback(a,b,c);this._runCallbacksIfReady()};f.registerApplication=function(a){this.registry.registerApplication(a,this)};f.unregisterApplication=function(a){this.registry.unregisterApplication(a)};f.findProviders=function(){return[]};Gu.\u0275fac=function(a){return new (a||Gu)(w(te),w(Hu),w(BXb))};Gu.\u0275prov=nc({token:Gu,factory:Gu.\u0275fac});var Hu=function(){this._applications=new Map};
Hu.prototype.registerApplication=function(a,b){this._applications.set(a,b)};Hu.prototype.unregisterApplication=function(a){this._applications.delete(a)};Hu.prototype.findTestabilityInTree=function(a,b){var c,d;return null!=(d=null==(c=CXb)?void 0:c.findTestabilityInTree(this,a,void 0===b?!0:b))?d:null};Hu.\u0275fac=function(a){return new (a||Hu)};Hu.\u0275prov=nc({token:Hu,factory:Hu.\u0275fac,providedIn:"platform"});var CXb;var FXb=this,Wka=null,Uka=new Hc("AllowMultipleToken"),Zka=new Hc("PlatformDestroyListeners"),GXb=new Hc("appBootstrapListener"),HXb=function(a,b){this.name=a;this.token=b},ue=function(a){this._injector=a;this._modules=[];this._destroyListeners=[];this._destroyed=!1},IXb=function(a,b,c){var d=bla(null==c?void 0:c.ngZone,$ka({eventCoalescing:null==c?void 0:c.ngZoneEventCoalescing,runCoalescing:null==c?void 0:c.ngZoneRunCoalescing}));return d.run(function(){var e=oia(b.moduleType,a.injector,ila(function(){return d})),
g=e.injector.get(yd,null);d.runOutsideAngular(function(){var h=d.onError.subscribe({next:function(l){g.handleError(l)}});e.onDestroy(function(){ela(a._modules,e);h.unsubscribe()})});return cla(g,d,function(){var h=e.injector.get(Yt);lWb(h);return h.donePromise.then(function(){var l=e.injector.get(wqa,"en-US")||"en-US";if(null==l)throw Error("wa`Expected localeId to be defined` [Expected=> null != "+(l+" <=Actual]"));a._moduleDoBootstrap(e);return e})})})},KXb=function(){var a=JXb(),b=Iu;var c=void 0===
c?[]:c;var d=dla({},c);Promise.resolve(new jWb(b)).then(function(e){return IXb(a,e,d)})};ue.prototype._moduleDoBootstrap=function(a){var b=a.injector.get(Ju);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 rc(-403,!1);this._modules.push(a)};ue.prototype.onDestroy=function(a){this._destroyListeners.push(a)};
ue.prototype.destroy=function(){if(this._destroyed)throw new rc(404,!1);this._modules.slice().forEach(function(b){return b.destroy()});this._destroyListeners.forEach(function(b){return b()});var a=this._injector.get(Zka,null);a&&(a.forEach(function(b){return b()}),a.clear());this._destroyed=!0};gg.Object.defineProperties(ue.prototype,{injector:{configurable:!0,enumerable:!0,get:function(){return this._injector}},destroyed:{configurable:!0,enumerable:!0,get:function(){return this._destroyed}}});
ue.\u0275fac=function(a){return new (a||ue)(w(Qt))};ue.\u0275prov=nc({token:ue,factory:ue.\u0275fac,providedIn:"platform"});var Ju=function(){this._bootstrapListeners=[];this._destroyed=this._runningTick=!1;this._destroyListeners=[];this._views=[];this.internalErrorHandler=wc(gla);this.componentTypes=[];this.components=[];this.isStable=wc(hla);this._injector=wc(Nt)};
Ju.prototype.bootstrap=function(a,b){var c=this,d=a instanceof OVb;if(!this._injector.get(Yt).done)throw new rc(405,!1);var e;d?e=a:e=hWb(this._injector.get(Rt),a);this.componentTypes.push(e.componentType);a=e.isBoundToModule?void 0:this._injector.get(JVb);var g=e.create(IVb,[],b||e.selector,a),h=g.location.nativeElement,l=g.injector.get(AXb,null);null==l||l.registerApplication(h);g.onDestroy(function(){c.detachView(g.hostView);ela(c.components,g);null==l||l.unregisterApplication(h)});this._loadComponent(g);
return g};var LXb=function(a){if(a._runningTick)throw new rc(101,!1);try{a._runningTick=!0;for(var b=k(a._views),c=b.next();!c.done;c=b.next())c.value.detectChanges()}catch(d){a.internalErrorHandler(d)}finally{a._runningTick=!1}},MXb=function(a,b){a._views.push(b);if(b._attachedToViewContainer)throw new rc(902,!1);b._appRef=a};f=Ju.prototype;f.detachView=function(a){ela(this._views,a);a._appRef=null;var b=a._lView;md(b[11],2,a._lView[1].firstChild,b,null,null,!1)};
f._loadComponent=function(a){MXb(this,a.hostView);LXb(this);this.components.push(a);var b=this._injector.get(GXb,[]);b.push.apply(b,Jc(this._bootstrapListeners));b.forEach(function(c){return c(a)})};f.ngOnDestroy=function(){if(!this._destroyed)try{this._destroyListeners.forEach(function(a){return a()}),this._views.slice().forEach(function(a){return a.destroy()})}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}};
f.onDestroy=function(a){var b=this;this._destroyListeners.push(a);return function(){return ela(b._destroyListeners,a)}};f.destroy=function(){if(this._destroyed)throw new rc(406,!1);var a=this._injector;a.destroy&&!a.destroyed&&a.destroy()};gg.Object.defineProperties(Ju.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}}});
Ju.\u0275fac=function(a){return new (a||Ju)};Ju.\u0275prov=nc({token:Ju,factory:Ju.\u0275fac,providedIn:"root"});var gla=new Hc("",{providedIn:"root",factory:function(){return wc(yd).handleError.bind(FXb)}}),we=function(){this.zone=wc(te);this.applicationRef=wc(Ju)};we.prototype.initialize=function(){var a=this;this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:function(){a.zone.run(function(){LXb(a.applicationRef)})}}))};
we.prototype.ngOnDestroy=function(){var a;null==(a=this._onMicrotaskEmptySubscription)||a.unsubscribe()};we.\u0275fac=function(a){return new (a||we)};we.\u0275prov=nc({token:we,factory:we.\u0275fac,providedIn:"root"});new Hc("");new Hc("AnalyzeForEntryComponents");var De=0,Ee=0,Fe=0,yla=0,Ala=0;var Ula=Vla;var cma=function(a){this._injector=a;this.cachedInjectors=new Map};cma.prototype.ngOnDestroy=function(){try{for(var a=k(this.cachedInjectors.values()),b=a.next();!b.done;b=a.next()){var c=b.value;null!==c&&c.destroy()}}finally{this.cachedInjectors.clear()}};cma.\u0275prov=nc({token:cma,providedIn:"environment",factory:function(){return new cma(w(Nt))}});var mf=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=mf.prototype;b[Symbol.iterator]||(b[Symbol.iterator]=kma)};f=mf.prototype;f.get=function(a){return this._results[a]};f.map=function(a){return this._results.map(a)};f.filter=function(a){return this._results.filter(a)};f.find=function(a){return this._results.find(a)};
f.reduce=function(a,b){return this._results.reduce(a,b)};f.forEach=function(a){this._results.forEach(a)};f.some=function(a){return this._results.some(a)};f.toArray=function(){return this._results.slice()};f.toString=function(){return this._results.toString()};
f.reset=function(a,b){this.dirty=!1;a=a.flat(Number.POSITIVE_INFINITY);a:{var c=this._results;if(c.length!==a.length)b=!1;else{for(var d=0;d<c.length;d++){var e=c[d],g=a[d];b&&(e=b(e),g=b(g));if(g!==e){b=!1;break a}}b=!0}}if(this._changesDetected=!b)this._results=a,this.length=a.length,this.last=a[this.length-1],this.first=a[0]};var gf=function(a){!a._changes||!a._changesDetected&&a._emitDistinctChangesOnly||a._changes.emit(a)};mf.prototype.setDirty=function(){this.dirty=!0};
mf.prototype.destroy=function(){this.changes.complete();this.changes.unsubscribe()};gg.Object.defineProperties(mf.prototype,{changes:{configurable:!0,enumerable:!0,get:function(){return this._changes||(this._changes=new tu)}}});Symbol.iterator;var ef=function(){};ef.__NG_ELEMENT_ID__=mma;var nma=function(a,b,c){this._declarationLView=a;this._declarationTContainer=b;this.elementRef=c};V(nma,ef);nma.__NG_ELEMENT_ID__=ef.__NG_ELEMENT_ID__;nma.prototype.createEmbeddedView=function(a,b){return NXb(this,a,b)};
var NXb=function(a,b,c){var d=a._declarationTContainer.tView;c=Iha(a._declarationLView,d,b,a._declarationLView[2]&4096?4096:16,null,d.declTNode,null,null,null,c||null,null);c[16]=a._declarationLView[a._declarationTContainer.index];a=a._declarationLView[18];null!==a&&(c[18]=a.createEmbeddedView(d));fia(d,c,b);return new pf(c)};gg.Object.defineProperties(nma.prototype,{ssrId:{configurable:!0,enumerable:!0,get:function(){var a;return(null==(a=this._declarationTContainer.tView)?void 0:a.ssrId)||null}}});var ff=function(){};ff.__NG_ELEMENT_ID__=pma;var df=function(a,b,c){this._lContainer=a;this._hostTNode=b;this._hostLView=c};V(df,ff);df.__NG_ELEMENT_ID__=ff.__NG_ELEMENT_ID__;f=df.prototype;f.clear=function(){for(;0<this.length;)this.remove(this.length-1)};f.get=function(a){var b=this._lContainer[8];return null!==b&&b[a]||null};f.createEmbeddedView=function(a,b,c){if("number"===typeof c)var d=c;else if(null!=c){d=c.index;var e=c.injector}a=NXb(a,b||{},e);OXb(this,a,d);return a};
f.createComponent=function(a,b,c,d){var e=a&&"function"!==typeof a;if(!e){var g=b||{};b=g.index;c=g.injector;d=g.projectableNodes;g=g.environmentInjector||g.ngModuleRef}a=e?a:new qf(a[Ac]||null);c=c||this.parentInjector;g||null!=a.ngModule||(e=(e?c:this.parentInjector).get(Nt,null))&&(g=e);d=a.create(c,d,null,g);OXb(this,d.hostView,b);return d};f.insert=function(a,b){return OXb(this,a,b)};
var OXb=function(a,b,c){var d=b._lView,e=d[1];if(Lc(d[3])){var g=a.indexOf(b);-1!==g?a.detach(g):(g=d[3],g=new df(g,g[6],g[3]),g.detach(g.indexOf(b)))}c=a._adjustIndex(c);a=a._lContainer;g=11+c;var h=a.length;0<c&&(a[g-1][4]=d);c<h-11?(d[4]=a[g],g=11+c,g>=a.length?a.push(d):a.splice(g,0,d)):(a.push(d),d[4]=null);d[3]=a;g=d[16];null!==g&&a!==g&&(h=g[9],d[15]!==d[3][3][15]&&(g[2]=!0),null===h?g[9]=[d]:h.push(d));g=d[18];null!==g&&PXb(g,e);d[2]|=128;g=$ga(c,a);h=d[11];var l=h.parentNode(a[7]);if(null!==
l){var q=a[6];d[0]=l;d[6]=q;md(h,1,e.firstChild,d,l,g,!1)}if(b._appRef)throw new rc(902,!1);b._attachedToViewContainer=!0;d=qma(a);c>=d.length?d.push(b):d.splice(c,0,b);return b};f=df.prototype;f.move=function(a,b){return this.insert(a,b)};f.indexOf=function(a){var b=this._lContainer[8];return null!==b?b.indexOf(a):-1};f.remove=function(a){a=this._adjustIndex(a,-1);var b=Vga(this._lContainer,a);b&&(vfa(qma(this._lContainer),a),Xga(b[1],b))};
f.detach=function(a){a=this._adjustIndex(a,-1);var b=Vga(this._lContainer,a);return b&&null!=vfa(qma(this._lContainer),a)?new pf(b):null};f._adjustIndex=function(a,b){return null==a?this.length+(void 0===b?0:b):a};
gg.Object.defineProperties(df.prototype,{element:{configurable:!0,enumerable:!0,get:function(){return gd(this._hostTNode,this._hostLView)}},injector:{configurable:!0,enumerable:!0,get:function(){return new cd(this._hostTNode,this._hostLView)}},parentInjector:{configurable:!0,enumerable:!0,get:function(){var a=vga(this._hostTNode,this._hostLView);if(-1!==a){var b=nga(a,this._hostLView);return new cd(b[1].data[(a&32767)+8],b)}return new cd(null,this._hostLView)}},length:{configurable:!0,enumerable:!0,
get:function(){return this._lContainer.length-11}}});var rma=sma;var zma=function(a){this.queryList=a;this.matches=null};zma.prototype.clone=function(){return new zma(this.queryList)};zma.prototype.setDirty=function(){this.queryList.setDirty()};var yma=function(a){this.queries=a=void 0===a?[]:a};yma.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 yma(c)}return null};
yma.prototype.detachView=function(a){PXb(this,a)};var PXb=function(a,b){for(var c=0;c<a.queries.length;c++)null!==b.queries.queries[c].matches&&a.queries[c].setDirty()},wma=function(a,b,c){this.predicate=a;this.flags=b;this.read=void 0===c?null:c},Ama=function(a){this.queries=a=void 0===a?[]:a};f=Ama.prototype;f.elementStart=function(a,b){for(var c=0;c<this.queries.length;c++)this.queries[c].elementStart(a,b)};f.elementEnd=function(a){for(var b=0;b<this.queries.length;b++)this.queries[b].elementEnd(a)};
f.embeddedTView=function(a){for(var b=null,c=0;c<this.length;c++){var d=this.queries[c].embeddedTView(a,null!==b?b.length:0);d&&(d.indexInDeclarationView=c,null!==b?b.push(d):b=[d])}return null!==b?new Ama(b):null};f.template=function(a,b){for(var c=0;c<this.queries.length;c++)this.queries[c].template(a,b)};f.track=function(a){this.queries.push(a)};gg.Object.defineProperties(Ama.prototype,{length:{configurable:!0,enumerable:!0,get:function(){return this.queries.length}}});
var nf=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};
nf.prototype.elementStart=function(a,b){if(QXb(this,b)){var c=this.metadata.predicate;if(Array.isArray(c))for(var d=0;d<c.length;d++){var e=c[d];a:{var g=b.localNames;if(null!==g)for(var h=0;h<g.length;h+=2)if(g[h]===e){g=g[h+1];break a}g=null}RXb(this,a,b,g);RXb(this,a,b,Cga(b,a,e,!1,!1))}else c===ef?b.type&4&&RXb(this,a,b,-1):RXb(this,a,b,Cga(b,a,c,!1,!1))}};nf.prototype.elementEnd=function(a){this._declarationNodeIndex===a.index&&(this._appliesToNextNode=!1)};
nf.prototype.template=function(a,b){this.elementStart(a,b)};nf.prototype.embeddedTView=function(a,b){return QXb(this,a)?(this.crossesNgTemplate=!0,SXb(this,-a.index,b),new nf(this.metadata)):null};
var QXb=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},RXb=function(a,b,c,d){if(null!==d){var e=a.metadata.read;null!==e?e===fd||e===ff||e===ef&&c.type&4?SXb(a,c.index,-2):(b=Cga(c,b,e,!1,!1),null!==b&&SXb(a,c.index,b)):SXb(a,c.index,d)}},SXb=function(a,b,c){null===a.matches?a.matches=[b,c]:a.matches.push(b,c)};var Ku=function(){};Ku.\u0275fac=function(a){return new (a||Ku)(w(Ju))};Ku.\u0275mod=Bc({type:Ku});Ku.\u0275inj=oc({});var Lu=function(){};Lu.__NG_ELEMENT_ID__=Bma;var TXb=function(){};TXb.prototype.supports=function(a){return ola(a)};TXb.prototype.create=function(a){return new Mu(a)};var UXb=function(a,b){return b},Mu=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||UXb};
Mu.prototype.forEachItem=function(a){var b;for(b=this._itHead;null!==b;b=b._next)a(b)};var VXb=function(a,b){var c=a._itHead;a=a._removalsHead;for(var d=0,e=null;c||a;){var g=!a||c&&c.currentIndex<Cma(a,d,e)?c:a,h=Cma(g,d,e),l=g.currentIndex;if(g===a)d--,a=a._nextRemoved;else if(c=c._next,null==g.previousIndex)d++;else{e||(e=[]);var q=h-d,v=l-d;if(q!=v){for(var y=0;y<q;y++){var B=y<e.length?e[y]:e[y]=0,I=B+y;v<=I&&I<q&&(e[y]=B+1)}e[g.previousIndex]=v-q}}h!==l&&b(g,h,l)}};
Mu.prototype.forEachAddedItem=function(a){var b;for(b=this._additionsHead;null!==b;b=b._nextAdded)a(b)};Mu.prototype.forEachRemovedItem=function(a){var b;for(b=this._removalsHead;null!==b;b=b._nextRemoved)a(b)};var WXb=function(a,b){for(a=a._identityChangesHead;null!==a;a=a._nextIdentityChange)b(a)};f=Mu.prototype;f.diff=function(a){null==a&&(a=[]);if(!ola(a))throw new rc(900,!1);return this.check(a)?this:null};f.onDestroy=function(){};
f.check=function(a){var b=this;this._reset();var c=this._itHead,d=!1;if(Array.isArray(a)){this.length=a.length;for(var e=0;e<this.length;e++){var g=a[e];var h=this._trackByFn(e,g);null!==c&&Object.is(c.trackById,h)?(d&&(c=this._verifyReinsertion(c,g,h,e)),Object.is(c.item,g)||this._addIdentityChange(c,g)):(c=this._mismatch(c,g,h,e),d=!0);c=c._next}}else{var l=0;pla(a,function(q){h=b._trackByFn(l,q);null!==c&&Object.is(c.trackById,h)?(d&&(c=b._verifyReinsertion(c,q,h,l)),Object.is(c.item,q)||b._addIdentityChange(c,
q)):(c=b._mismatch(c,q,h,l),d=!0);c=c._next;l++});this.length=l}this._truncate(c);this.collection=a;return this.isDirty};
f._reset=function(){if(this.isDirty){var a;for(a=this._previousItHead=this._itHead;null!==a;a=a._next)a._nextPrevious=a._next;for(a=this._additionsHead;null!==a;a=a._nextAdded)a.previousIndex=a.currentIndex;this._additionsHead=this._additionsTail=null;for(a=this._movesHead;null!==a;a=a._nextMoved)a.previousIndex=a.currentIndex;this._identityChangesHead=this._identityChangesTail=this._removalsHead=this._removalsTail=this._movesHead=this._movesTail=null}};
f._mismatch=function(a,b,c,d){if(null===a)var e=this._itTail;else e=a._prev,this._remove(a);a=null===this._unlinkedRecords?null:this._unlinkedRecords.get(c,null);null!==a?(Object.is(a.item,b)||this._addIdentityChange(a,b),this._reinsertAfter(a,e,d)):(a=null===this._linkedRecords?null:this._linkedRecords.get(c,d),null!==a?(Object.is(a.item,b)||this._addIdentityChange(a,b),this._moveAfter(a,e,d)):a=this._addAfter(new XXb(b,c),e,d));return a};
f._verifyReinsertion=function(a,b,c,d){b=null===this._unlinkedRecords?null:this._unlinkedRecords.get(c,null);null!==b?a=this._reinsertAfter(b,a._prev,d):a.currentIndex!=d&&(a.currentIndex=d,this._addToMoves(a,d));return a};
f._truncate=function(a){for(;null!==a;){var b=a._next;this._addToRemovals(this._unlink(a));a=b}null!==this._unlinkedRecords&&this._unlinkedRecords.clear();null!==this._additionsTail&&(this._additionsTail._nextAdded=null);null!==this._movesTail&&(this._movesTail._nextMoved=null);null!==this._itTail&&(this._itTail._next=null);null!==this._removalsTail&&(this._removalsTail._nextRemoved=null);null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)};
f._reinsertAfter=function(a,b,c){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(a);var d=a._prevRemoved,e=a._nextRemoved;null===d?this._removalsHead=e:d._nextRemoved=e;null===e?this._removalsTail=d:e._prevRemoved=d;this._insertAfter(a,b,c);this._addToMoves(a,c);return a};f._moveAfter=function(a,b,c){this._unlink(a);this._insertAfter(a,b,c);this._addToMoves(a,c);return a};
f._addAfter=function(a,b,c){this._insertAfter(a,b,c);this._additionsTail=null===this._additionsTail?this._additionsHead=a:this._additionsTail._nextAdded=a;return a};f._insertAfter=function(a,b,c){var d=null===b?this._itHead:b._next;a._next=d;a._prev=b;null===d?this._itTail=a:d._prev=a;null===b?this._itHead=a:b._next=a;null===this._linkedRecords&&(this._linkedRecords=new Nu);this._linkedRecords.put(a);a.currentIndex=c;return a};f._remove=function(a){return this._addToRemovals(this._unlink(a))};
f._unlink=function(a){null!==this._linkedRecords&&this._linkedRecords.remove(a);var b=a._prev,c=a._next;null===b?this._itHead=c:b._next=c;null===c?this._itTail=b:c._prev=b;return a};f._addToMoves=function(a,b){if(a.previousIndex===b)return a;this._movesTail=null===this._movesTail?this._movesHead=a:this._movesTail._nextMoved=a;return a};
f._addToRemovals=function(a){null===this._unlinkedRecords&&(this._unlinkedRecords=new Nu);this._unlinkedRecords.put(a);a.currentIndex=null;a._nextRemoved=null;null===this._removalsTail?(this._removalsTail=this._removalsHead=a,a._prevRemoved=null):(a._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=a);return a};
f._addIdentityChange=function(a,b){a.item=b;this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=a:this._identityChangesTail._nextIdentityChange=a;return a};gg.Object.defineProperties(Mu.prototype,{isDirty:{configurable:!0,enumerable:!0,get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}}});
var XXb=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},YXb=function(){this._tail=this._head=null};YXb.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)};
YXb.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};YXb.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 Nu=function(){this.map=new Map};Nu.prototype.put=function(a){var b=a.trackById,c=this.map.get(b);c||(c=new YXb,this.map.set(b,c));c.add(a)};
Nu.prototype.get=function(a,b){var c=this.map.get(a);return c?c.get(a,b):null};Nu.prototype.remove=function(a){var b=a.trackById;this.map.get(b).remove(a)&&this.map.delete(b);return a};Nu.prototype.clear=function(){this.map.clear()};gg.Object.defineProperties(Nu.prototype,{isEmpty:{configurable:!0,enumerable:!0,get:function(){return 0===this.map.size}}});var ZXb=function(){};ZXb.prototype.supports=function(a){return a instanceof Map||nla(a)};ZXb.prototype.create=function(){return new $Xb};var $Xb=function(){this._records=new Map;this._removalsTail=this._removalsHead=this._additionsTail=this._additionsHead=this._changesTail=this._changesHead=this._previousMapHead=this._appendAfter=this._mapHead=null};$Xb.prototype.forEachItem=function(a){var b;for(b=this._mapHead;null!==b;b=b._next)a(b)};var aYb=function(a,b){for(a=a._changesHead;null!==a;a=a._nextChanged)b(a)};
f=$Xb.prototype;f.forEachAddedItem=function(a){var b;for(b=this._additionsHead;null!==b;b=b._nextAdded)a(b)};f.forEachRemovedItem=function(a){var b;for(b=this._removalsHead;null!==b;b=b._nextRemoved)a(b)};f.diff=function(a){if(!a)a=new Map;else if(!(a instanceof Map||nla(a)))throw new rc(900,!1);return this.check(a)?this:null};f.onDestroy=function(){};
f.check=function(a){var b=this;this._reset();var c=this._mapHead;this._appendAfter=null;this._forEach(a,function(d,e){c&&c.key===e?(b._maybeAddToChanges(c,d),b._appendAfter=c,c=c._next):(d=b._getOrCreateRecordForKey(e,d),c=b._insertBeforeOrAppend(c,d))});if(c)for(c._prev&&(c._prev._next=null),a=this._removalsHead=c;null!==a;a=a._nextRemoved)a===this._mapHead&&(this._mapHead=null),this._records.delete(a.key),a._nextRemoved=a._next,a.previousValue=a.currentValue,a.currentValue=null,a._prev=null,a._next=
null;this._changesTail&&(this._changesTail._nextChanged=null);this._additionsTail&&(this._additionsTail._nextAdded=null);return this.isDirty};f._insertBeforeOrAppend=function(a,b){if(a){var c=a._prev;b._next=a;b._prev=c;a._prev=b;c&&(c._next=b);a===this._mapHead&&(this._mapHead=b);return this._appendAfter=a}this._appendAfter?(this._appendAfter._next=b,b._prev=this._appendAfter):this._mapHead=b;this._appendAfter=b;return null};
f._getOrCreateRecordForKey=function(a,b){if(this._records.has(a)){a=this._records.get(a);this._maybeAddToChanges(a,b);b=a._prev;var c=a._next;b&&(b._next=c);c&&(c._prev=b);a._next=null;a._prev=null;return a}c=new bYb(a);this._records.set(a,c);c.currentValue=b;this._addToAdditions(c);return c};
f._reset=function(){if(this.isDirty){var a;for(a=this._previousMapHead=this._mapHead;null!==a;a=a._next)a._nextPrevious=a._next;for(a=this._changesHead;null!==a;a=a._nextChanged)a.previousValue=a.currentValue;for(a=this._additionsHead;null!=a;a=a._nextAdded)a.previousValue=a.currentValue;this._removalsHead=this._additionsHead=this._additionsTail=this._changesHead=this._changesTail=null}};
f._maybeAddToChanges=function(a,b){Object.is(b,a.currentValue)||(a.previousValue=a.currentValue,a.currentValue=b,this._addToChanges(a))};f._addToAdditions=function(a){null===this._additionsHead?this._additionsHead=this._additionsTail=a:this._additionsTail=this._additionsTail._nextAdded=a};f._addToChanges=function(a){null===this._changesHead?this._changesHead=this._changesTail=a:this._changesTail=this._changesTail._nextChanged=a};
f._forEach=function(a,b){a instanceof Map?a.forEach(b):Object.keys(a).forEach(function(c){return b(a[c],c)})};gg.Object.defineProperties($Xb.prototype,{isDirty:{configurable:!0,enumerable:!0,get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}}});var bYb=function(a){this.key=a;this._nextChanged=this._nextRemoved=this._nextAdded=this._prev=this._next=this._nextPrevious=this.currentValue=this.previousValue=null};var Ou=function(a){this.factories=a};Ou.prototype.find=function(a){var b=this.factories.find(function(c){return c.supports(a)});if(null!=b)return b;throw new rc(901,!1);};Ou.\u0275prov=nc({token:Ou,providedIn:"root",factory:function(){return new Ou([new TXb])}});var Pu=function(a){this.factories=a};Pu.prototype.find=function(a){var b=this.factories.find(function(c){return c.supports(a)});if(b)return b;throw new rc(901,!1);};Pu.\u0275prov=nc({token:Pu,providedIn:"root",factory:function(){return new Pu([new ZXb])}});var Qu=function(){var a=this;this.taskId=0;this.collection=new Set;this.ngZone=wc(te);this.completed=!1;this.ngZone.runOutsideAngular(function(){a.promise=new Promise(function(b){a.resolve=b})})};Qu.prototype.add=function(){if(this.completed)return-1;var a=this.taskId++;this.collection.add(a);return a};Qu.prototype.remove=function(a){this.completed||(this.collection.delete(a),0===this.collection.size&&this.complete())};Qu.prototype.ngOnDestroy=function(){this.complete();this.collection.clear()};
Qu.prototype.complete=function(){this.completed=!0;this.resolve()};Qu.\u0275fac=function(a){return new (a||Qu)};Qu.\u0275prov=nc({token:Qu,factory:Qu.\u0275fac,providedIn:"root"});var cYb=Xka(null,"core",[]);var dYb=/\s+/,eYb=[],Ru=function(a,b,c,d){this._iterableDiffers=a;this._keyValueDiffers=b;this._ngEl=c;this._renderer=d;this.initialClasses=eYb;this.stateMap=new Map};
Ru.prototype.ngDoCheck=function(){for(var a=k(this.initialClasses),b=a.next();!b.done;b=a.next())this._updateState(b.value,!0);a=this.rawClass;if(Array.isArray(a)||a instanceof Set)for(a=k(a),b=a.next();!b.done;b=a.next())this._updateState(b.value,!0);else if(null!=a){var c=k(Object.keys(a));for(b=c.next();!b.done;b=c.next())b=b.value,this._updateState(b,!!a[b])}this._applyStateDiff()};
Ru.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})};Ru.prototype._applyStateDiff=function(){for(var a=k(this.stateMap),b=a.next();!b.done;b=a.next()){var c=b.value;b=c[0];c=c[1];c.changed?(this._toggleClass(b,c.enabled),c.changed=!1):c.touched||(c.enabled&&this._toggleClass(b,!1),this.stateMap.delete(b));c.touched=!1}};
Ru.prototype._toggleClass=function(a,b){var c=this;a=a.trim();0<a.length&&a.split(dYb).forEach(function(d){b?c._renderer.addClass(c._ngEl.nativeElement,d):c._renderer.removeClass(c._ngEl.nativeElement,d)})};gg.Object.defineProperties(Ru.prototype,{klass:{configurable:!0,enumerable:!0,set:function(a){this.initialClasses=null!=a?a.trim().split(dYb):eYb}},ngClass:{configurable:!0,enumerable:!0,set:function(a){this.rawClass="string"===typeof a?a.trim().split(dYb):a}}});
Ru.\u0275fac=function(a){return new (a||Ru)(D(Ou),D(Pu),D(fd),D(Ut))};Ru.\u0275dir=Cc({type:Ru,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0});var fYb=function(a,b,c,d){this.$implicit=a;this.ngForOf=b;this.index=c;this.count=d};gg.Object.defineProperties(fYb.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 Su=function(a,b,c){this._viewContainer=a;this._template=b;this._differs=c;this._ngForOf=null;this._ngForOfDirty=!0;this._differ=null};Su.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)};
Su.prototype._applyChanges=function(a){var b=this,c=this._viewContainer;VXb(a,function(h,l,q){null==h.previousIndex?c.createEmbeddedView(b._template,new fYb(h.item,b._ngForOf,-1,-1),null===q?void 0:q):null==q?c.remove(null===l?void 0:l):null!==l&&(l=c.get(l),c.move(l,q),l.context.$implicit=h.item)});for(var d=0,e=c.length;d<e;d++){var g=c.get(d).context;g.index=d;g.count=e;g.ngForOf=this._ngForOf}WXb(a,function(h){c.get(h.currentIndex).context.$implicit=h.item})};
gg.Object.defineProperties(Su.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)}}});Su.\u0275fac=function(a){return new (a||Su)(D(ff),D(ef),D(Ou))};
Su.\u0275dir=Cc({type:Su,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});var Tu=function(a,b){this._viewContainer=a;this._context=new gYb;this._elseViewRef=this._thenViewRef=this._elseTemplateRef=null;this._thenTemplateRef=b};
Tu.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)))};
gg.Object.defineProperties(Tu.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){Fma("ngIfThen",a);this._thenTemplateRef=a;this._thenViewRef=null;this._updateView()}},ngIfElse:{configurable:!0,enumerable:!0,set:function(a){Fma("ngIfElse",a);this._elseTemplateRef=a;this._elseViewRef=null;this._updateView()}}});Tu.\u0275fac=function(a){return new (a||Tu)(D(ff),D(ef))};
Tu.\u0275dir=Cc({type:Tu,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});var gYb=function(){this.ngIf=this.$implicit=null};var hYb=function(a,b){this._viewContainerRef=a;this._templateRef=b;this._created=!1};hYb.prototype.create=function(){this._created=!0;this._viewContainerRef.createEmbeddedView(this._templateRef)};hYb.prototype.destroy=function(){this._created=!1;this._viewContainerRef.clear()};var Uu=function(){this._defaultViews=[];this._defaultUsed=!1;this._lastCaseCheckIndex=this._caseCount=0;this._lastCasesMatched=!1};Uu.prototype._addCase=function(){return this._caseCount++};Uu.prototype._addDefault=function(a){this._defaultViews.push(a)};
Uu.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};
Uu.prototype._updateDefaultCases=function(a){if(0<this._defaultViews.length&&a!==this._defaultUsed){this._defaultUsed=a;for(var b=k(this._defaultViews),c=b.next();!c.done;c=b.next()){c=c.value;var d=a;d&&!c._created?c.create():!d&&c._created&&c.destroy()}}};gg.Object.defineProperties(Uu.prototype,{ngSwitch:{configurable:!0,enumerable:!0,set:function(a){this._ngSwitch=a;0===this._caseCount&&this._updateDefaultCases(!0)}}});Uu.\u0275fac=function(a){return new (a||Uu)};
Uu.\u0275dir=Cc({type:Uu,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0});var Vu=function(a,b,c){this.ngSwitch=c;c._addCase();this._view=new hYb(a,b)};Vu.prototype.ngDoCheck=function(){var a=this._view,b=this.ngSwitch._matchCase(this.ngSwitchCase);b&&!a._created?a.create():!b&&a._created&&a.destroy()};Vu.\u0275fac=function(a){return new (a||Vu)(D(ff),D(ef),D(Uu,9))};Vu.\u0275dir=Cc({type:Vu,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0});
var Wu=function(a,b,c){c._addDefault(new hYb(a,b))};Wu.\u0275fac=function(a){return new (a||Wu)(D(ff),D(ef),D(Uu,9))};Wu.\u0275dir=Cc({type:Wu,selectors:[["","ngSwitchDefault",""]],standalone:!0});var Xu=function(a,b,c){this._ngEl=a;this._differs=b;this._renderer=c;this._differ=this._ngStyle=null};Xu.prototype.ngDoCheck=function(){if(this._differ){var a=this._differ.diff(this._ngStyle);a&&this._applyChanges(a)}};Xu.prototype._setStyle=function(a,b){var c=k(a.split("."));a=c.next().value;c=c.next().value;var d=-1===a.indexOf("-")?void 0:2;null!=b?this._renderer.setStyle(this._ngEl.nativeElement,a,c?""+b+c:b,d):this._renderer.removeStyle(this._ngEl.nativeElement,a,d)};
Xu.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)});aYb(a,function(c){return b._setStyle(c.key,c.currentValue)})};gg.Object.defineProperties(Xu.prototype,{ngStyle:{configurable:!0,enumerable:!0,set:function(a){this._ngStyle=a;!this._differ&&a&&(this._differ=this._differs.find(a).create())}}});Xu.\u0275fac=function(a){return new (a||Xu)(D(fd),D(Pu),D(Ut))};
Xu.\u0275dir=Cc({type:Xu,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0});var Yu=function(a){this._viewContainerRef=a;this.ngTemplateOutletInjector=this.ngTemplateOutlet=this.ngTemplateOutletContext=this._viewRef=null};
Yu.prototype.ngOnChanges=function(a){if(a.ngTemplateOutlet||a.ngTemplateOutletInjector)if(a=this._viewContainerRef,this._viewRef&&a.remove(a.indexOf(this._viewRef)),this.ngTemplateOutlet){var b=this.ngTemplateOutletInjector;this._viewRef=a.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext,b?{injector:b}:void 0)}else this._viewRef=null;else this._viewRef&&a.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)};
Yu.\u0275fac=function(a){return new (a||Yu)(D(ff))};Yu.\u0275dir=Cc({type:Yu,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[Mc]});var iYb=function(){};iYb.prototype.createSubscription=function(a,b){return a.subscribe({next:b,error:function(c){throw c;}})};iYb.prototype.dispose=function(a){a.unsubscribe()};var jYb=function(){};jYb.prototype.createSubscription=function(a,b){return a.then(b,function(c){throw c;})};jYb.prototype.dispose=function(){};var kYb=new jYb,lYb=new iYb,Zu=function(a){this._strategy=this._obj=this._subscription=this._latestValue=null;this._ref=a};f=Zu.prototype;
f.ngOnDestroy=function(){this._subscription&&this._dispose();this._ref=null};f.transform=function(a){return this._obj?a!==this._obj?(this._dispose(),this.transform(a)):this._latestValue:(a&&this._subscribe(a),this._latestValue)};f._subscribe=function(a){var b=this;this._obj=a;this._strategy=this._selectStrategy(a);this._subscription=this._strategy.createSubscription(a,function(c){return b._updateLatestValue(a,c)})};
f._selectStrategy=function(a){if(ria(a))return kYb;if(sia(a))return lYb;throw tf();};f._dispose=function(){this._strategy.dispose(this._subscription);this._obj=this._subscription=this._latestValue=null};f._updateLatestValue=function(a,b){a===this._obj&&(this._latestValue=b,this._ref.markForCheck())};Zu.\u0275fac=function(a){return new (a||Zu)(D(Lu,16))};Zu.\u0275pipe=Dc({name:"async",type:Zu,pure:!1,standalone:!0});var $u=function(){};$u.prototype.transform=function(a){if(null==a)return null;if("string"!==typeof a)throw tf();return a.toLowerCase()};$u.\u0275fac=function(a){return new (a||$u)};$u.\u0275pipe=Dc({name:"lowercase",type:$u,pure:!0,standalone:!0});
var mYb=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g,av=
function(){};av.prototype.transform=function(a){if(null==a)return null;if("string"!==typeof a)throw tf();return a.replace(mYb,function(b){return b[0].toUpperCase()+b.slice(1).toLowerCase()})};av.\u0275fac=function(a){return new (a||av)};av.\u0275pipe=Dc({name:"titlecase",type:av,pure:!0,standalone:!0});var fna=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,ana={},Sma=/((?:[^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]*)/,Vma={};var nYb=new Hc("DATE_PIPE_DEFAULT_TIMEZONE"),oYb=new Hc("DATE_PIPE_DEFAULT_OPTIONS"),bv=function(a,b,c){this.locale=a;this.defaultTimezone=b;this.defaultOptions=c};
bv.prototype.transform=function(a,b,c,d){if(null==a||""===a||a!==a)return null;try{var e,g,h=null!=(g=null!=b?b:null==(e=this.defaultOptions)?void 0:e.dateFormat)?g:"mediumDate",l,q,v,y=null!=(v=null!=(q=null!=c?c:null==(l=this.defaultOptions)?void 0:l.timezone)?q:this.defaultTimezone)?v:void 0;return Zma(a,h,d||this.locale,y)}catch(B){throw tf();}};bv.\u0275fac=function(a){return new (a||bv)(D(wqa,16),D(nYb,24),D(oYb,24))};bv.\u0275pipe=Dc({name:"date",type:bv,pure:!0,standalone:!0});var cv=function(){};cv.prototype.transform=function(a){return JSON.stringify(a,null,2)};cv.\u0275fac=function(a){return new (a||cv)};cv.\u0275pipe=Dc({name:"json",type:cv,pure:!1,standalone:!0});var dv=function(a){this.differs=a;this.keyValues=[];this.compareFn=hna};dv.prototype.transform=function(a,b){var c=this;b=void 0===b?hna: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};
dv.\u0275fac=function(a){return new (a||dv)(D(Pu,16))};dv.\u0275pipe=Dc({name:"keyvalue",type:dv,pure:!1,standalone:!0});var kna=/^(\d+)?\.((\d+)(-(\d+))?)?$/;var ev=function(a){this._locale=a};
ev.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("ab`"+a);var d=a}else d=Number(a);a=d;var e=Ad(c)[14][0],g=sf(c,5);g=void 0===g?"-":g;d={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0};var h=e.split(";"),l=h[0],q=h[1],v=-1!==l.indexOf(".")?l.split("."):[l.substring(0,l.lastIndexOf("0")+1),l.substring(l.lastIndexOf("0")+
1)],y=v[0],B=v[1]||"";d.posPre=y.substring(0,y.indexOf("#"));for(e=0;e<B.length;e++){var I=B.charAt(e);"0"===I?d.minFrac=d.maxFrac=e+1:"#"===I?d.maxFrac=e+1:d.posSuf+=I}var N=y.split(",");d.gSize=N[1]?N[1].length:0;d.lgSize=N[2]||N[1]?(N[2]||N[1]).length:0;if(q){var Q=l.length-d.posPre.length-d.posSuf.length,Z=q.indexOf("#");d.negPre=q.substring(0,Z).replace(/'/g,"");d.negSuf=q.slice(Z+Q).replace(/'/g,"")}else d.negPre=g+d.posPre,d.negSuf=d.posSuf;return nna(a,d,c,b)}catch(Y){throw tf();}};
ev.\u0275fac=function(a){return new (a||ev)(D(wqa,16))};ev.\u0275pipe=Dc({name:"number",type:ev,pure:!0,standalone:!0});var fv=function(){};fv.prototype.transform=function(a,b,c){if(null==a)return null;if(!this.supports(a))throw tf();return a.slice(b,c)};fv.prototype.supports=function(a){return"string"===typeof a||Array.isArray(a)};fv.\u0275fac=function(a){return new (a||fv)};fv.\u0275pipe=Dc({name:"slice",type:fv,pure:!1,standalone:!0});var gv=function(){};gv.\u0275fac=function(a){return new (a||gv)};gv.\u0275mod=Bc({type:gv});gv.\u0275inj=oc({});var hv=function(a,b){this._renderer=a;this._elementRef=b;this.onChange=function(){};this.onTouched=function(){}};hv.prototype.setProperty=function(a,b){this._renderer.setProperty(this._elementRef.nativeElement,a,b)};hv.prototype.registerOnTouched=function(a){this.onTouched=a};hv.prototype.registerOnChange=function(a){this.onChange=a};hv.prototype.setDisabledState=function(a){this.setProperty("disabled",a)};hv.\u0275fac=function(a){return new (a||hv)(D(Ut),D(fd))};hv.\u0275dir=Cc({type:hv});
var Bf=function(){hv.apply(this,arguments)};V(Bf,hv);Bf.\u0275fac=function(){var a;return function(b){return(a||(a=dd(Bf)))(b||Bf)}}();Bf.\u0275dir=Cc({type:Bf,features:[xe]});var iv=new Hc("NgValueAccessor");var pYb=function(a){return a.src};new Hc("ImageLoader",{providedIn:"root",factory:function(){return pYb}});var eg=new Hc("DocumentToken");new Hc("PRECONNECT_CHECK_BLOCKLIST");new Hc("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:function(){return new Set}});var qYb={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840]};new Hc("ImageConfig",{providedIn:"root",factory:function(){return qYb}});var rYb=null,sYb=function(){};var jv=function(){};jv.prototype.historyGo=function(){throw Error("bb");};jv.\u0275fac=function(a){return new (a||jv)};jv.\u0275prov=nc({token:jv,factory:function(){return wc(kv)},providedIn:"platform"});var tYb=new Hc("Location Initialized"),kv=function(){this._doc=wc(eg);this._location=window.location;this._history=window.history};V(kv,jv);
kv.prototype.onPopState=function(a){var b=uYb(this._doc,"window");b.addEventListener("popstate",a,!1);return function(){return b.removeEventListener("popstate",a)}};var vYb=function(a,b){var c=uYb(a._doc,"window");c.addEventListener("hashchange",b,!1);return function(){return c.removeEventListener("hashchange",b)}};f=kv.prototype;f.pushState=function(a,b,c){this._history.pushState(a,b,c)};f.replaceState=function(a,b,c){this._history.replaceState(a,b,c)};f.forward=function(){this._history.forward()};
f.back=function(){this._history.back()};f.historyGo=function(a){this._history.go(void 0===a?0:a)};f.getState=function(){return this._history.state};
gg.Object.defineProperties(kv.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}}});kv.\u0275fac=function(a){return new (a||kv)};kv.\u0275prov=nc({token:kv,factory:function(){return new kv},providedIn:"platform"});var lv=function(){};lv.prototype.historyGo=function(){throw Error("bb");};lv.\u0275fac=function(a){return new (a||lv)};lv.\u0275prov=nc({token:lv,factory:function(){return wc(mv)},providedIn:"root"});var wYb=new Hc("appBaseHref"),mv=function(a,b){this._platformLocation=a;this._removeListenerFns=[];var c,d,e;this._baseHref=null!=(e=null!=(d=null!=b?b:rYb.getBaseHref())?d:null==(c=wc(eg).location)?void 0:c.origin)?e:""};V(mv,lv);f=mv.prototype;f.ngOnDestroy=function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()};
f.onPopState=function(a){this._removeListenerFns.push(this._platformLocation.onPopState(a),vYb(this._platformLocation,a))};f.getBaseHref=function(){return this._baseHref};f.prepareExternalUrl=function(a){return ona(this._baseHref,a)};f.path=function(a){var b=this._platformLocation.pathname+yf(this._platformLocation.search),c=this._platformLocation.hash;return c&&(void 0===a?0:a)?b+c:b};f.pushState=function(a,b,c,d){this._platformLocation.pushState(a,b,this.prepareExternalUrl(c+yf(d)))};
f.replaceState=function(a,b,c,d){this._platformLocation.replaceState(a,b,this.prepareExternalUrl(c+yf(d)))};f.forward=function(){this._platformLocation.forward()};f.back=function(){this._platformLocation.back()};f.getState=function(){return this._platformLocation.getState()};f.historyGo=function(a){var b,c;null==(c=(b=this._platformLocation).historyGo)||c.call(b,void 0===a?0:a)};mv.\u0275fac=function(a){return new (a||mv)(w(jv),w(wYb,8))};mv.\u0275prov=nc({token:mv,factory:mv.\u0275fac,providedIn:"root"});var nv=function(a,b){this._platformLocation=a;this._baseHref="";this._removeListenerFns=[];null!=b&&(this._baseHref=b)};V(nv,lv);f=nv.prototype;f.ngOnDestroy=function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()};f.onPopState=function(a){this._removeListenerFns.push(this._platformLocation.onPopState(a),vYb(this._platformLocation,a))};f.getBaseHref=function(){return this._baseHref};
f.path=function(){var a=this._platformLocation.hash;null==a&&(a="#");return 0<a.length?a.substring(1):a};f.prepareExternalUrl=function(a){a=ona(this._baseHref,a);return 0<a.length?"#"+a:a};f.pushState=function(a,b,c,d){c=this.prepareExternalUrl(c+yf(d));0==c.length&&(c=this._platformLocation.pathname);this._platformLocation.pushState(a,b,c)};
f.replaceState=function(a,b,c,d){c=this.prepareExternalUrl(c+yf(d));0==c.length&&(c=this._platformLocation.pathname);this._platformLocation.replaceState(a,b,c)};f.forward=function(){this._platformLocation.forward()};f.back=function(){this._platformLocation.back()};f.getState=function(){return this._platformLocation.getState()};f.historyGo=function(a){var b,c;null==(c=(b=this._platformLocation).historyGo)||c.call(b,void 0===a?0:a)};nv.\u0275fac=function(a){return new (a||nv)(w(jv),w(wYb,8))};
nv.\u0275prov=nc({token:nv,factory:nv.\u0275fac});var ov=function(a){var b=this;this._subject=new tu;this._urlChangeListeners=[];this._urlChangeSubscription=null;this._locationStrategy=a;a=this._locationStrategy.getBaseHref();this._basePath=qna(pna(a.replace(/\/index.html$/,"")));this._locationStrategy.onPopState(function(c){b._subject.emit({url:b.path(!0),pop:!0,state:c.state,type:c.type})})};f=ov.prototype;f.ngOnDestroy=function(){var a;null==(a=this._urlChangeSubscription)||a.unsubscribe();this._urlChangeListeners=[]};
f.path=function(a){return this.normalize(this._locationStrategy.path(void 0===a?!1:a))};f.getState=function(){return this._locationStrategy.getState()};f.normalize=function(a){var b=this._basePath;a=a.replace(/\/index.html$/,"");b&&a.startsWith(b)?(b=a.substring(b.length),b=""===b||["/",";","?","#"].includes(b[0])?b:a):b=a;return pna(b)};f.prepareExternalUrl=function(a){a&&"/"!==a[0]&&(a="/"+a);return this._locationStrategy.prepareExternalUrl(a)};
f.go=function(a,b,c){b=void 0===b?"":b;c=void 0===c?null:c;this._locationStrategy.pushState(c,"",a,b);this._notifyUrlChangeListeners(this.prepareExternalUrl(a+yf(b)),c)};f.replaceState=function(a,b,c){b=void 0===b?"":b;c=void 0===c?null:c;this._locationStrategy.replaceState(c,"",a,b);this._notifyUrlChangeListeners(this.prepareExternalUrl(a+yf(b)),c)};f.forward=function(){this._locationStrategy.forward()};f.back=function(){this._locationStrategy.back()};
f.historyGo=function(a){var b,c;null==(c=(b=this._locationStrategy).historyGo)||c.call(b,void 0===a?0:a)};f._notifyUrlChangeListeners=function(a,b){a=void 0===a?"":a;this._urlChangeListeners.forEach(function(c){return c(a,b)})};f.subscribe=function(a,b,c){return this._subject.subscribe({next:a,error:b,complete:c})};ov.\u0275fac=function(a){return new (a||ov)(w(lv))};ov.\u0275prov=nc({token:ov,factory:function(){return new ov(w(lv))},providedIn:"root"});new Wt;var xYb=function(){};xYb.\u0275prov=nc({token:xYb,providedIn:"root",factory:function(){return new yYb}});var yYb=function(){var a=w(eg),b=window;this.document=a;this.window=b;this.offset=function(){return[0,0]}};yYb.prototype.setOffset=function(a){Array.isArray(a)?this.offset=function(){return a}:this.offset=a};yYb.prototype.getScrollPosition=function(){return zYb(this)?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]};
var AYb=function(a,b){zYb(a)&&a.window.scrollTo(b[0],b[1])},zYb=function(a){try{return!!a.window&&!!a.window.scrollTo&&"pageXOffset"in a.window}catch(b){return!1}};var BYb=function(){};var CYb={provide:iv,useExisting:tc(function(){return Af}),multi:!0},DYb=new Hc("CompositionEventMode"),Af=function(a,b,c){hv.call(this,a,b);this._compositionMode=c;this._composing=!1;null==this._compositionMode&&(this._compositionMode=!/android (\d+)/.test((rYb?window.navigator.userAgent:"").toLowerCase()))};V(Af,hv);Af.prototype.writeValue=function(a){this.setProperty("value",null==a?"":a)};Af.prototype._handleInput=function(a){if(!this._compositionMode||this._compositionMode&&!this._composing)this.onChange(a)};
Af.prototype._compositionStart=function(){this._composing=!0};Af.prototype._compositionEnd=function(a){this._composing=!1;this._compositionMode&&this.onChange(a)};Af.\u0275fac=function(a){return new (a||Af)(D(Ut),D(fd),D(DYb,8))};
Af.\u0275dir=Cc({type:Af,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(a,b){a&1&&O("input",function(c){return b._handleInput(c.target.value)})("blur",function(){return b.onTouched()})("compositionstart",function(){return b._compositionStart()})("compositionend",
function(c){return b._compositionEnd(c.target.value)})},features:[Xe([CYb]),xe]});var pv=new Hc("NgValidators"),EYb=new Hc("NgAsyncValidators"),FYb=function(a){return tna(a)};var qv=function(){this._rawValidators=[];this._rawAsyncValidators=[];this._onDestroyCallbacks=[]};f=qv.prototype;f._setValidators=function(a){this._rawValidators=a||[];this._composedValidatorFn=Dna(this._rawValidators)};f._setAsyncValidators=function(a){this._rawAsyncValidators=a||[];this._composedAsyncValidatorFn=Fna(this._rawAsyncValidators)};f._registerOnDestroy=function(a){this._onDestroyCallbacks.push(a)};
f._invokeOnDestroyCallbacks=function(){this._onDestroyCallbacks.forEach(function(a){return a()});this._onDestroyCallbacks=[]};f.reset=function(a){this.control&&this.control.reset(a)};f.hasError=function(a,b){return this.control?this.control.hasError(a,b):!1};f.getError=function(a,b){return this.control?this.control.getError(a,b):null};
gg.Object.defineProperties(qv.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 rv=function(){qv.apply(this,arguments);this.valueAccessor=this.name=this._parent=null};V(rv,qv);var sv=function(){qv.apply(this,arguments)};V(sv,qv);gg.Object.defineProperties(sv.prototype,{formDirective:{configurable:!0,enumerable:!0,get:function(){return null}},path:{configurable:!0,enumerable:!0,get:function(){return null}}});var GYb=function(a){this._cd=a};
gg.Object.defineProperties(GYb.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 tv=function(a){this._cd=a};V(tv,GYb);tv.\u0275fac=function(a){return new (a||tv)(D(rv,2))};
tv.\u0275dir=Cc({type:tv,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(a,b){a&2&&Ie("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:[xe]});var uv=function(a){this._cd=a};V(uv,GYb);uv.\u0275fac=function(a){return new (a||uv)(D(sv,10))};
uv.\u0275dir=Cc({type:uv,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(a,b){a&2&&Ie("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:[xe]});var HYb=new Hc("CallSetDisabledState",{providedIn:"root",factory:function(){return"whenDisabledForLegacyCode"}});var vv=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)},Rna=function(a,b){a._assignValidators(b)},Sna=function(a,b){a._assignAsyncValidators(b)},IYb=function(a){a=a._rawValidators;return Array.isArray(a)?a.includes(FYb):a===FYb},Una=function(a,b){b=void 0===b?{}:b;a.touched=!0;a._parent&&
!b.onlySelf&&Una(a._parent,b)},JYb=function(a,b){b=void 0===b?{}:b;a.touched=!1;a._pendingTouched=!1;a._forEachChild(function(c){JYb(c,{onlySelf:!0})});a._parent&&!b.onlySelf&&a._parent._updateTouched(b)},Vna=function(a,b){b=void 0===b?{}:b;a.pristine=!1;a._parent&&!b.onlySelf&&Vna(a._parent,b)},KYb=function(a,b){b=void 0===b?{}:b;a.pristine=!0;a._pendingDirty=!1;a._forEachChild(function(c){KYb(c,{onlySelf:!0})});a._parent&&!b.onlySelf&&a._parent._updatePristine(b)};f=vv.prototype;
f.disable=function(a){a=void 0===a?{}:a;var b=this._parentMarkedDirty(a.onlySelf);this.status="DISABLED";this.errors=null;this._forEachChild(function(c){c.disable(Object.assign({},a,{onlySelf:!0}))});this._updateValue();!1!==a.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status));this._updateAncestors(Object.assign({},a,{skipPristineCheck:b}));this._onDisabledChange.forEach(function(c){return c(!0)})};
f.enable=function(a){a=void 0===a?{}:a;var b=this._parentMarkedDirty(a.onlySelf);this.status="VALID";this._forEachChild(function(c){c.enable(Object.assign({},a,{onlySelf:!0}))});zf(this,{onlySelf:!0,emitEvent:a.emitEvent});this._updateAncestors(Object.assign({},a,{skipPristineCheck:b}));this._onDisabledChange.forEach(function(c){return c(!1)})};f._updateAncestors=function(a){this._parent&&!a.onlySelf&&(zf(this._parent,a),a.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())};
f.setParent=function(a){this._parent=a};f.getRawValue=function(){return this.value};var zf=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&&zf(a._parent,b)};f=vv.prototype;
f._updateTreeValidity=function(a){a=void 0===a?{emitEvent:!0}:a;this._forEachChild(function(b){return b._updateTreeValidity(a)});zf(this,{onlySelf:!0,emitEvent:a.emitEvent})};f._setInitialStatus=function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"};f._runValidator=function(){return this.validator?this.validator(this):null};
f._runAsyncValidator=function(a){var b=this;this.asyncValidator&&(this.status="PENDING",this._hasOwnPendingAsyncValidator=!0,this._asyncValidationSubscription=yna(this.asyncValidator(this)).subscribe(function(c){b._hasOwnPendingAsyncValidator=!1;b.setErrors(c,{emitEvent:a})}))};f._cancelExistingSubscription=function(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)};
f.setErrors=function(a,b){b=void 0===b?{}:b;this.errors=a;this._updateControlsErrors(!1!==b.emitEvent)};f.get=function(a){if(null==a)return null;Array.isArray(a)||(a=a.split("."));return 0===a.length?null:a.reduce(function(b,c){return b&&b._find(c)},this)};f.getError=function(a,b){return(b=b?this.get(b):this)&&b.errors?b.errors[a]:null};f.hasError=function(a,b){return!!this.getError(a,b)};
f._updateControlsErrors=function(a){this.status=this._calculateStatus();a&&this.statusChanges.emit(this.status);this._parent&&this._parent._updateControlsErrors(a)};f._initObservables=function(){this.valueChanges=new tu;this.statusChanges=new tu};f._calculateStatus=function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"};
f._anyControlsHaveStatus=function(a){return this._anyControls(function(b){return b.status===a})};f._anyControlsDirty=function(){return this._anyControls(function(a){return a.dirty})};f._anyControlsTouched=function(){return this._anyControls(function(a){return a.touched})};f._updatePristine=function(a){a=void 0===a?{}:a;this.pristine=!this._anyControlsDirty();this._parent&&!a.onlySelf&&this._parent._updatePristine(a)};
f._updateTouched=function(a){a=void 0===a?{}:a;this.touched=this._anyControlsTouched();this._parent&&!a.onlySelf&&this._parent._updateTouched(a)};f._registerOnCollectionChange=function(a){this._onCollectionChange=a};f._setUpdateStrategy=function(a){Zna(a)&&null!=a.updateOn&&(this._updateOn=a.updateOn)};f._parentMarkedDirty=function(a){var b=this._parent&&this._parent.dirty;return!a&&!!b&&!this._parent._anyControlsDirty()};f._find=function(){return null};
f._assignValidators=function(a){a=this._rawValidators=Array.isArray(a)?a.slice():a;this._composedValidatorFn=Array.isArray(a)?Dna(a):a||null};f._assignAsyncValidators=function(a){a=this._rawAsyncValidators=Array.isArray(a)?a.slice():a;this._composedAsyncValidatorFn=Array.isArray(a)?Fna(a):a||null};
gg.Object.defineProperties(vv.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 wv=function(a,b,c){var d=vv.call,e=$na(b);c=(Zna(b)?b.asyncValidators:c)||null;d.call(vv,this,e,c);this.controls=a;this._initObservables();this._setUpdateStrategy(b);this._setUpControls();zf(this,{onlySelf:!0,emitEvent:!!this.asyncValidator})};V(wv,vv);var LYb=function(a,b,c){if(a.controls[b])return a.controls[b];a.controls[b]=c;c.setParent(a);c._registerOnCollectionChange(a._onCollectionChange);return c};f=wv.prototype;
f.addControl=function(a){var b=void 0===b?{}:b;LYb(this,a);zf(this,{emitEvent:b.emitEvent});this._onCollectionChange()};f.removeControl=function(a){var b=void 0===b?{}:b;this.controls[a]&&this.controls[a]._registerOnCollectionChange(function(){});delete this.controls[a];zf(this,{emitEvent:b.emitEvent});this._onCollectionChange()};f.contains=function(a){return this.controls.hasOwnProperty(a)&&this.controls[a].enabled};
f.setValue=function(a,b){var c=this;b=void 0===b?{}:b;aoa(this,a);Object.keys(a).forEach(function(d){var e=c.controls;if(!Object.keys(e).length)throw new rc(1E3,"");if(!e[d])throw new rc(1001,"");c.controls[d].setValue(a[d],{onlySelf:!0,emitEvent:b.emitEvent})});zf(this,b)};f.reset=function(a,b){a=void 0===a?{}:a;b=void 0===b?{}:b;this._forEachChild(function(c,d){c.reset(a[d],{onlySelf:!0,emitEvent:b.emitEvent})});this._updatePristine(b);this._updateTouched(b);zf(this,b)};
f.getRawValue=function(){return this._reduceChildren({},function(a,b,c){a[c]=b.getRawValue();return a})};f._syncPendingControls=function(){var a=this._reduceChildren(!1,function(b,c){return c._syncPendingControls()?!0:b});a&&zf(this,{onlySelf:!0});return a};f._forEachChild=function(a){var b=this;Object.keys(this.controls).forEach(function(c){var d=b.controls[c];d&&a(d,c)})};f._setUpControls=function(){var a=this;this._forEachChild(function(b){b.setParent(a);b._registerOnCollectionChange(a._onCollectionChange)})};
f._updateValue=function(){this.value=this._reduceValue()};f._anyControls=function(a){for(var b=k(Object.entries(this.controls)),c=b.next();!c.done;c=b.next()){var d=k(c.value);c=d.next().value;d=d.next().value;if(this.contains(c)&&a(d))return!0}return!1};f._reduceValue=function(){var a=this;return this._reduceChildren({},function(b,c,d){if(c.enabled||a.disabled)b[d]=c.value;return b})};f._reduceChildren=function(a,b){var c=a;this._forEachChild(function(d,e){c=b(c,d,e)});return c};
f._allControlsDisabled=function(){for(var a=k(Object.keys(this.controls)),b=a.next();!b.done;b=a.next())if(this.controls[b.value].enabled)return!1;return 0<Object.keys(this.controls).length||this.disabled};f._find=function(a){return this.controls.hasOwnProperty(a)?this.controls[a]:null};var MYb={provide:sv,useExisting:tc(function(){return xv})},NYb=Promise.resolve(),xv=function(a,b,c){sv.call(this);this.callSetDisabledState=c;this.submitted=!1;this._directives=new Set;this.ngSubmit=new tu;this.form=new wv({},Dna(a),Fna(b))};V(xv,sv);f=xv.prototype;f.ngAfterViewInit=function(){this._setUpdateStrategy()};
f.addControl=function(a){var b=this;NYb.then(function(){var c=b._findContainer(a.path);a.control=LYb(c,a.name,a.control);Nna(a.control,a,b.callSetDisabledState);zf(a.control,{emitEvent:!1});b._directives.add(a)})};f.removeControl=function(a){var b=this;NYb.then(function(){var c=b._findContainer(a.path);c&&c.removeControl(a.name);b._directives.delete(a)})};f.updateModel=function(a,b){var c=this;NYb.then(function(){c.form.get(a.path).setValue(b)})};f.setValue=function(a){this.control.setValue(a)};
f.onSubmit=function(a){this.submitted=!0;Xna(this.form,this._directives);this.ngSubmit.emit(a);var b;return"dialog"===(null==a?void 0:null==(b=a.target)?void 0:b.method)};f.onReset=function(){this.resetForm()};f.resetForm=function(){this.form.reset(void 0);this.submitted=!1};f._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)};f._findContainer=function(a){a.pop();return a.length?this.form.get(a):this.form};
gg.Object.defineProperties(xv.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}}});xv.\u0275fac=function(a){return new (a||xv)(D(pv,10),D(EYb,10),D(HYb,8))};
xv.\u0275dir=Cc({type:xv,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(a,b){a&1&&O("submit",function(c){return b.onSubmit(c)})("reset",function(){return b.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Xe([MYb]),xe]});var yv=function(a,b,c){a=void 0===a?null:a;var d=vv.call,e=$na(b);c=(Zna(b)?b.asyncValidators:c)||null;d.call(vv,this,e,c);this.defaultValue=null;this._onChange=[];this._pendingChange=!1;this._applyFormState(a);this._setUpdateStrategy(b);this._initObservables();zf(this,{onlySelf:!0,emitEvent:!!this.asyncValidator});Zna(b)&&(b.nonNullable||b.initialValueIsDefault)&&(boa(a)?this.defaultValue=a.value:this.defaultValue=a)};V(yv,vv);f=yv.prototype;
f.setValue=function(a,b){var c=this;b=void 0===b?{}:b;this.value=this._pendingValue=a;this._onChange.length&&!1!==b.emitModelToViewChange&&this._onChange.forEach(function(d){return d(c.value,!1!==b.emitViewToModelChange)});zf(this,b)};f.reset=function(a,b){a=void 0===a?this.defaultValue:a;b=void 0===b?{}:b;this._applyFormState(a);KYb(this,b);JYb(this,b);this.setValue(this.value,b);this._pendingChange=!1};f._updateValue=function(){};f._anyControls=function(){return!1};f._allControlsDisabled=function(){return this.disabled};
f.registerOnChange=function(a){this._onChange.push(a)};f._unregisterOnChange=function(a){var b=this._onChange;a=b.indexOf(a);-1<a&&b.splice(a,1)};f._unregisterOnDisabledChange=function(a){var b=this._onDisabledChange;a=b.indexOf(a);-1<a&&b.splice(a,1)};f._forEachChild=function(){};
f._syncPendingControls=function(){return"submit"===this.updateOn&&(this._pendingDirty&&Vna(this),this._pendingTouched&&Una(this),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1};f._applyFormState=function(a){boa(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 OYb={provide:rv,useExisting:tc(function(){return zv})},PYb=Promise.resolve(),zv=function(a,b,c,d,e,g){rv.call(this);this._changeDetectorRef=e;this.callSetDisabledState=g;this.control=new yv;this._registered=!1;this.name="";this.update=new tu;this._parent=a;this._setValidators(b);this._setAsyncValidators(c);this.valueAccessor=Yna(d)};V(zv,rv);f=zv.prototype;
f.ngOnChanges=function(a){this._checkForErrors();if(!this._registered||"name"in a){if(this._registered&&(this._checkName(),this.formDirective)){var b=a.name.previousValue;this.formDirective.removeControl({name:b,path:this._getPath(b)})}this._setUpControl()}"isDisabled"in a&&this._updateDisabled(a);Wna(a,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)};f.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)};
f.viewToModelUpdate=function(a){this.viewModel=a;this.update.emit(a)};f._setUpControl=function(){this._setUpdateStrategy();this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this);this._registered=!0};f._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)};f._isStandalone=function(){return!this._parent||!(!this.options||!this.options.standalone)};
f._setUpStandalone=function(){Nna(this.control,this,this.callSetDisabledState);zf(this.control,{emitEvent:!1})};f._checkForErrors=function(){this._checkName()};f._checkParentType=function(){};f._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name)};f._updateValue=function(a){var b=this;PYb.then(function(){b.control.setValue(a,{emitViewToModelChange:!1});var c;null==(c=b._changeDetectorRef)||c.markForCheck()})};
f._updateDisabled=function(a){var b=this;a=a.isDisabled.currentValue;var c=0!==a&&Dma(a);PYb.then(function(){c&&!b.control.disabled?b.control.disable():!c&&b.control.disabled&&b.control.enable();var d;null==(d=b._changeDetectorRef)||d.markForCheck()})};f._getPath=function(a){return this._parent?Hna(a,this._parent):[a]};
gg.Object.defineProperties(zv.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}}});zv.\u0275fac=function(a){return new (a||zv)(D(sv,9),D(pv,10),D(EYb,10),D(iv,10),D(Lu,8),D(HYb,8))};
zv.\u0275dir=Cc({type:zv,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Xe([OYb]),xe,Mc]});var Av=function(){};Av.\u0275fac=function(a){return new (a||Av)};Av.\u0275dir=Cc({type:Av,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});var QYb={provide:iv,useExisting:tc(function(){return Bv}),multi:!0},Bv=function(){Bf.apply(this,arguments)};V(Bv,Bf);Bv.prototype.writeValue=function(a){this.setProperty("value",null==a?"":a)};Bv.prototype.registerOnChange=function(a){this.onChange=function(b){a(""==b?null:parseFloat(b))}};Bv.\u0275fac=function(){var a;return function(b){return(a||(a=dd(Bv)))(b||Bv)}}();
Bv.\u0275dir=Cc({type:Bv,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(a,b){a&1&&O("input",function(c){return b.onChange(c.target.value)})("blur",function(){return b.onTouched()})},features:[Xe([QYb]),xe]});var RYb={provide:iv,useExisting:tc(function(){return Cv}),multi:!0},Dv=function(){};Dv.\u0275fac=function(a){return new (a||Dv)};Dv.\u0275mod=Bc({type:Dv});Dv.\u0275inj=oc({});var Ev=function(){this._accessors=[]};Ev.prototype.add=function(a,b){this._accessors.push([a,b])};Ev.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}};
Ev.prototype.select=function(a){var b=this;this._accessors.forEach(function(c){b._isSameGroup(c,a)&&c[1]!==a&&c[1].writeValue(a.value)})};Ev.prototype._isSameGroup=function(a,b){return a[0].control?a[0]._parent===b._control._parent&&a[1].name===b.name:!1};Ev.\u0275fac=function(a){return new (a||Ev)};Ev.\u0275prov=nc({token:Ev,factory:Ev.\u0275fac,providedIn:Dv});
var Cv=function(a,b,c,d){Bf.call(this,a,b);this._registry=c;this._injector=d;this.setDisabledStateFired=!1;this.onChange=function(){};var e;this.callSetDisabledState=null!=(e=wc(HYb,{optional:!0}))?e:"whenDisabledForLegacyCode"};V(Cv,Bf);f=Cv.prototype;f.ngOnInit=function(){this._control=this._injector.get(rv);this._checkName();this._registry.add(this._control,this)};f.ngOnDestroy=function(){this._registry.remove(this)};
f.writeValue=function(a){this._state=a===this.value;this.setProperty("checked",this._state)};f.registerOnChange=function(a){var b=this;this._fn=a;this.onChange=function(){a(b.value);b._registry.select(b)}};f.setDisabledState=function(a){(this.setDisabledStateFired||a||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",a);this.setDisabledStateFired=!0};f._checkName=function(){!this.name&&this.formControlName&&(this.name=this.formControlName)};
Cv.\u0275fac=function(a){return new (a||Cv)(D(Ut),D(fd),D(Ev),D(Qt))};Cv.\u0275dir=Cc({type:Cv,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(a,b){a&1&&O("change",function(){return b.onChange()})("blur",function(){return b.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[Xe([RYb]),xe]});var SYb=new Hc("NgModelWithFormControlWarning"),TYb={provide:rv,useExisting:tc(function(){return Fv})},Fv=function(a,b,c,d,e){rv.call(this);this._ngModelWarningConfig=d;this.callSetDisabledState=e;this.update=new tu;this._ngModelWarningSent=!1;this._setValidators(a);this._setAsyncValidators(b);this.valueAccessor=Yna(c)};V(Fv,rv);
Fv.prototype.ngOnChanges=function(a){if(this._isControlChanged(a)){var b=a.form.previousValue;b&&Pna(b,this);Nna(this.form,this,this.callSetDisabledState);zf(this.form,{emitEvent:!1})}Wna(a,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)};Fv.prototype.ngOnDestroy=function(){this.form&&Pna(this.form,this)};Fv.prototype.viewToModelUpdate=function(a){this.viewModel=a;this.update.emit(a)};Fv.prototype._isControlChanged=function(a){return a.hasOwnProperty("form")};
gg.Object.defineProperties(Fv.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}}});Fv.\u0275fac=function(a){return new (a||Fv)(D(pv,10),D(EYb,10),D(iv,10),D(SYb,8),D(HYb,8))};
Fv.\u0275dir=Cc({type:Fv,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[Xe([TYb]),xe,Mc]});var UYb={provide:sv,useExisting:tc(function(){return Gv})},Gv=function(a,b,c){sv.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 tu;this._setValidators(a);this._setAsyncValidators(b)};V(Gv,sv);f=Gv.prototype;f.ngOnChanges=function(a){a.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)};
f.ngOnDestroy=function(){this.form&&(Ona(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(function(){}))};f.addControl=function(a){var b=this.form.get(a.path);Nna(b,a,this.callSetDisabledState);zf(b,{emitEvent:!1});this.directives.push(a);return b};f.removeControl=function(a){Pna(a.control||null,a);var b=this.directives;a=b.indexOf(a);-1<a&&b.splice(a,1)};f.updateModel=function(a,b){this.form.get(a.path).setValue(b)};
f.onSubmit=function(a){this.submitted=!0;Xna(this.form,this.directives);this.ngSubmit.emit(a);var b;return"dialog"===(null==a?void 0:null==(b=a.target)?void 0:b.method)};f.onReset=function(){this.resetForm()};f.resetForm=function(){this.form.reset(void 0);this.submitted=!1};f._updateDomValue=function(){var a=this;this.directives.forEach(function(b){var c=b.control,d=a.form.get(b.path);c!==d&&(Pna(c||null,b),d instanceof yv&&(Nna(d,b,a.callSetDisabledState),b.control=d))});this.form._updateTreeValidity({emitEvent:!1})};
f._setUpFormContainer=function(a){var b=this.form.get(a.path);Ina(b,a);zf(b,{emitEvent:!1})};f._cleanUpFormContainer=function(a){if(this.form){var b=this.form.get(a.path);b&&Ona(b,a)&&zf(b,{emitEvent:!1})}};f._updateRegistrations=function(){this.form._registerOnCollectionChange(this._onCollectionChange);this._oldForm&&this._oldForm._registerOnCollectionChange(function(){})};f._updateValidators=function(){Ina(this.form,this);this._oldForm&&Ona(this._oldForm,this)};f._checkFormPresent=function(){};
gg.Object.defineProperties(Gv.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[]}}});Gv.\u0275fac=function(a){return new (a||Gv)(D(pv,10),D(EYb,10),D(HYb,8))};
Gv.\u0275dir=Cc({type:Gv,selectors:[["","formGroup",""]],hostBindings:function(a,b){a&1&&O("submit",function(c){return b.onSubmit(c)})("reset",function(){return b.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Xe([UYb]),xe,Mc]});var VYb={provide:rv,useExisting:tc(function(){return Hv})},Hv=function(a,b,c,d,e){rv.call(this);this._ngModelWarningConfig=e;this._added=!1;this.name=null;this.update=new tu;this._ngModelWarningSent=!1;this._parent=a;this._setValidators(b);this._setAsyncValidators(c);this.valueAccessor=Yna(d)};V(Hv,rv);f=Hv.prototype;f.ngOnChanges=function(a){this._added||this._setUpControl();Wna(a,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))};
f.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)};f.viewToModelUpdate=function(a){this.viewModel=a;this.update.emit(a)};f._checkParentType=function(){};f._setUpControl=function(){this.control=this.formDirective.addControl(this);this._added=!0};
gg.Object.defineProperties(Hv.prototype,{isDisabled:{configurable:!0,enumerable:!0,set:function(){}},path:{configurable:!0,enumerable:!0,get:function(){return Hna(null==this.name?this.name:this.name.toString(),this._parent)}},formDirective:{configurable:!0,enumerable:!0,get:function(){return this._parent?this._parent.formDirective:null}}});Hv.\u0275fac=function(a){return new (a||Hv)(D(sv,13),D(pv,10),D(EYb,10),D(iv,10),D(SYb,8))};
Hv.\u0275dir=Cc({type:Hv,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[Xe([VYb]),xe,Mc]});var Iv=function(){this._validator=vna};Iv.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):vna,this._onChange&&this._onChange())};Iv.prototype.validate=function(a){return this._validator(a)};Iv.prototype.registerOnValidatorChange=function(a){this._onChange=a};Iv.prototype.enabled=function(a){return null!=a};Iv.\u0275fac=function(a){return new (a||Iv)};
Iv.\u0275dir=Cc({type:Iv,features:[Mc]});var WYb={provide:pv,useExisting:tc(function(){return Jv}),multi:!0},Jv=function(){Iv.apply(this,arguments);this.inputName="min";this.normalizeInput=function(a){return"number"===typeof a?a:parseFloat(a)};this.createValidator=function(a){return sna(a)}};V(Jv,Iv);Jv.\u0275fac=function(){var a;return function(b){return(a||(a=dd(Jv)))(b||Jv)}}();
Jv.\u0275dir=Cc({type:Jv,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&&Ae("min",b._enabled?b.min:null)},inputs:{min:"min"},features:[Xe([WYb]),xe]});var XYb={provide:pv,useExisting:tc(function(){return Mv}),multi:!0},Mv=function(){Iv.apply(this,arguments);this.inputName="required";this.normalizeInput=Dma;this.createValidator=function(){return tna}};
V(Mv,Iv);Mv.prototype.enabled=function(a){return a};Mv.\u0275fac=function(){var a;return function(b){return(a||(a=dd(Mv)))(b||Mv)}}();Mv.\u0275dir=Cc({type:Mv,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(a,b){a&2&&Ae("required",b._enabled?"":null)},inputs:{required:"required"},features:[Xe([XYb]),xe]});
var YYb={provide:pv,useExisting:tc(function(){return Nv}),multi:!0},Nv=function(){Iv.apply(this,arguments);this.inputName="maxlength";this.normalizeInput=function(a){return"number"===typeof a?a:parseInt(a,10)};this.createValidator=function(a){return una(a)}};V(Nv,Iv);Nv.\u0275fac=function(){var a;return function(b){return(a||(a=dd(Nv)))(b||Nv)}}();
Nv.\u0275dir=Cc({type:Nv,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(a,b){a&2&&Ae("maxlength",b._enabled?b.maxlength:null)},inputs:{maxlength:"maxlength"},features:[Xe([YYb]),xe]});var ZYb={provide:pv,useExisting:tc(function(){return Ov}),multi:!0},Ov=function(){Iv.apply(this,arguments);this.inputName="pattern";this.normalizeInput=function(a){return a};this.createValidator=function(a){return wna(a)}};
V(Ov,Iv);Ov.\u0275fac=function(){var a;return function(b){return(a||(a=dd(Ov)))(b||Ov)}}();Ov.\u0275dir=Cc({type:Ov,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(a,b){a&2&&Ae("pattern",b._enabled?b.pattern:null)},inputs:{pattern:"pattern"},features:[Xe([ZYb]),xe]});var Pv=function(){};Pv.\u0275fac=function(a){return new (a||Pv)};Pv.\u0275mod=Bc({type:Pv});Pv.\u0275inj=oc({imports:[Dv]});var Qv=function(){};Qv.\u0275fac=function(a){return new (a||Qv)};Qv.\u0275mod=Bc({type:Qv});Qv.\u0275inj=oc({imports:[Pv]});var Rv=function(){};Rv.\u0275fac=function(a){return new (a||Rv)};Rv.\u0275mod=Bc({type:Rv});Rv.\u0275inj=oc({imports:[Pv]});new Wt;var coa,doa="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 foa;var joa,hoa;var loa;var $Yb;try{$Yb="undefined"!==typeof Intl&&Intl.v8BreakIterator}catch(a){$Yb=!1}
var Sv=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&&!$Yb)&&"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};Sv.\u0275fac=function(a){return new (a||Sv)(w(St))};Sv.\u0275prov=nc({token:Sv,factory:Sv.\u0275fac,providedIn:"root"});var Tv=function(a){this._platform=a};Tv.prototype.isDisabled=function(a){return a.hasAttribute("disabled")};Tv.prototype.isVisible=function(a){return!!(a.offsetWidth||a.offsetHeight||"function"===typeof a.getClientRects&&a.getClientRects().length)&&"visible"===getComputedStyle(a).visibility};
var aZb=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===qoa(c)||!a.isVisible(c)))return!1;c=b.nodeName.toLowerCase();var d=qoa(b);if(b.hasAttribute("contenteditable"))a=-1!==d;else{var e;if(!(e="iframe"===c||"object"===c)&&(e=a._platform.WEBKIT&&a._platform.IOS)){e=b.nodeName.toLowerCase();var g="input"===e&&b.type;e=!("text"===g||"password"===g||"select"===e||"textarea"===e)}a=e?!1:"audio"===
c?b.hasAttribute("controls")?-1!==d:!1:"video"===c?-1===d?!1:null!==d?!0:a._platform.FIREFOX||b.hasAttribute("controls"):0<=b.tabIndex}return a};
Tv.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")||poa(a);return c&&!this.isDisabled(a)&&((null==b?void 0:b.ignoreVisibility)||this.isVisible(a))};Tv.\u0275fac=function(a){return new (a||Tv)(w(Sv))};Tv.\u0275prov=nc({token:Tv,factory:Tv.\u0275fac,providedIn:"root"});var Uv=function(a,b,c,d,e){var g=this;this._element=a;this._checker=b;this._ngZone=c;this._document=d;this._hasAttached=!1;this.startAnchorListener=function(){return bZb(g)};this.endAnchorListener=function(){return cZb(g)};this._enabled=!0;(void 0===e?0:e)||dZb(this)};
Uv.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 dZb=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))},eZb=function(a){return new Promise(function(b){a._executeOnStable(function(){return b(a.focusInitialElement())})})};
Uv.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)};
Uv.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 cZb(this)};var cZb=function(a){(a=a._getRegionBoundary("start"))&&a.focus(void 0);return!!a},bZb=function(a){(a=a._getRegionBoundary("end"))&&a.focus(void 0);return!!a};f=Uv.prototype;f.hasAttached=function(){return this._hasAttached};
f._getFirstTabbableElement=function(a){if(this._checker.isFocusable(a)&&aZb(this._checker,a))return a;a=a.children;for(var b=0;b<a.length;b++){var c=a[b].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(a[b]):null;if(c)return c}return null};f._getLastTabbableElement=function(a){if(this._checker.isFocusable(a)&&aZb(this._checker,a))return a;a=a.children;for(var b=a.length-1;0<=b;b--){var c=a[b].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(a[b]):null;if(c)return c}return null};
f._createAnchor=function(){var a=this._document.createElement("div");this._toggleAnchorTabIndex(this._enabled,a);a.classList.add("cdk-visually-hidden");a.classList.add("cdk-focus-trap-anchor");a.setAttribute("aria-hidden","true");return a};f._toggleAnchorTabIndex=function(a,b){a?b.setAttribute("tabindex","0"):b.removeAttribute("tabindex")};var fZb=function(a,b){a._startAnchor&&a._endAnchor&&(a._toggleAnchorTabIndex(b,a._startAnchor),a._toggleAnchorTabIndex(b,a._endAnchor))};
Uv.prototype._executeOnStable=function(a){this._ngZone.isStable?a():this._ngZone.onStable.pipe(ge()).subscribe(a)};gg.Object.defineProperties(Uv.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 Vv=function(a,b,c){this._checker=a;this._ngZone=b;this._document=c};
Vv.prototype.create=function(a,b){return new Uv(a,this._checker,this._ngZone,this._document,void 0===b?!1:b)};Vv.\u0275fac=function(a){return new (a||Vv)(w(Tv),w(te),w(eg))};Vv.\u0275prov=nc({token:Vv,factory:Vv.\u0275fac,providedIn:"root"});var Wv=function(a,b){this._elementRef=a;this._focusTrapFactory=b;this._previouslyFocusedElement=null;this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)};f=Wv.prototype;
f.ngOnDestroy=function(){this.focusTrap.destroy();this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)};f.ngAfterContentInit=function(){dZb(this.focusTrap);this.autoCapture&&this._captureFocus()};f.ngDoCheck=function(){this.focusTrap.hasAttached()||dZb(this.focusTrap)};f.ngOnChanges=function(a){(a=a.autoCapture)&&!a.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()};
f._captureFocus=function(){this._previouslyFocusedElement=noa();eZb(this.focusTrap)};gg.Object.defineProperties(Wv.prototype,{enabled:{configurable:!0,enumerable:!0,get:function(){return this.focusTrap.enabled},set:function(a){this.focusTrap.enabled=Ef(a)}},autoCapture:{configurable:!0,enumerable:!0,get:function(){return this._autoCapture},set:function(a){this._autoCapture=Ef(a)}}});Wv.\u0275fac=function(a){return new (a||Wv)(D(fd),D(Vv),D(eg))};
Wv.\u0275dir=Cc({type:Wv,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[Mc]});var gZb=new Hc("cdk-input-modality-detector-options"),hZb={ignoreKeys:[18,17,224,91,16]},Xv=Cf({passive:!0,capture:!0}),Yv=function(a,b,c,d){var e=this;this._platform=a;this._mostRecentTarget=null;this._modality=new F.BehaviorSubject(null);this._lastTouchMs=0;this._onKeydown=function(g){var h,l;(null==(h=e._options)?0:null==(l=h.ignoreKeys)?0:l.some(function(q){return q===g.keyCode}))||(e._modality.next("keyboard"),e._mostRecentTarget=Df(g))};this._onMousedown=function(g){650>Date.now()-e._lastTouchMs||
(e._modality.next(toa(g)?"keyboard":"mouse"),e._mostRecentTarget=Df(g))};this._onTouchstart=function(g){uoa(g)?e._modality.next("keyboard"):(e._lastTouchMs=Date.now(),e._modality.next("touch"),e._mostRecentTarget=Df(g))};this._options=Object.assign({},hZb,d);this.modalityDetected=this._modality.pipe(zka(1));this.modalityDetected.pipe(fe());a.isBrowser&&b.runOutsideAngular(function(){c.addEventListener("keydown",e._onKeydown,Xv);c.addEventListener("mousedown",e._onMousedown,Xv);c.addEventListener("touchstart",
e._onTouchstart,Xv)})};Yv.prototype.ngOnDestroy=function(){this._modality.complete();this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Xv),document.removeEventListener("mousedown",this._onMousedown,Xv),document.removeEventListener("touchstart",this._onTouchstart,Xv))};gg.Object.defineProperties(Yv.prototype,{mostRecentModality:{configurable:!0,enumerable:!0,get:function(){return this._modality.value}}});
Yv.\u0275fac=function(a){return new (a||Yv)(w(Sv),w(te),w(eg),w(gZb,8))};Yv.\u0275prov=nc({token:Yv,factory:Yv.\u0275fac,providedIn:"root"});var iZb=new Hc("cdk-focus-monitor-default-options"),jZb=Cf({passive:!0,capture:!0}),Zv=function(a,b,c,d,e){var g=this;this._ngZone=a;this._platform=b;this._inputModalityDetector=c;this._origin=null;this._originFromTouchInteraction=this._windowFocused=!1;this._elementInfo=new Map;this._monitoredElementCount=0;this._rootNodeFocusListenerCount=new Map;this._windowFocusListener=function(){g._windowFocused=!0;g._windowFocusTimeoutId=window.setTimeout(function(){return g._windowFocused=!1})};this._stopInputModalityDetector=
new F.Subject;this._rootNodeFocusAndBlurListener=function(h){for(var l=Df(h);l;l=l.parentElement)"focus"===h.type?g._onFocus(h,l):g._onBlur(h,l)};this._document=d;this._detectionMode=(null==e?void 0:e.detectionMode)||0};
Zv.prototype.monitor=function(a,b){b=void 0===b?!1:b;a=Gf(a);if(!this._platform.isBrowser||1!==a.nodeType)return(0,F.of)(null);var c=moa(a)||this._getDocument(),d=this._elementInfo.get(a);if(d)return b&&(d.checkChildren=!0),d.subject;b={checkChildren:b,subject:new F.Subject,rootNode:c};this._elementInfo.set(a,b);this._registerGlobalListeners(b);return b.subject};
Zv.prototype.stopMonitoring=function(a){a=Gf(a);var b=this._elementInfo.get(a);b&&(b.subject.complete(),this._setClasses(a),this._elementInfo.delete(a),this._removeGlobalListeners(b))};var $v=function(a,b,c,d){b=Gf(b);b===a._getDocument().activeElement?a._getClosestElementsInfo(b).forEach(function(e){var g=k(e);e=g.next().value;g=g.next().value;return a._originChanged(e,c,g)}):(a._setOrigin(c),"function"===typeof b.focus&&b.focus(d))};f=Zv.prototype;
f.ngOnDestroy=function(){var a=this;this._elementInfo.forEach(function(b,c){return a.stopMonitoring(c)})};f._getDocument=function(){return this._document||document};f._getWindow=function(){return this._getDocument().defaultView||window};
f._getFocusOrigin=function(a){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(a)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:a&&this._isLastInteractionFromInputLabel(a)?"mouse":"program"};f._shouldBeAttributedToTouch=function(a){return 1===this._detectionMode||!(null==a||!a.contains(this._inputModalityDetector._mostRecentTarget))};
f._setClasses=function(a,b){a.classList.toggle("cdk-focused",!!b);a.classList.toggle("cdk-touch-focused","touch"===b);a.classList.toggle("cdk-keyboard-focused","keyboard"===b);a.classList.toggle("cdk-mouse-focused","mouse"===b);a.classList.toggle("cdk-program-focused","program"===b)};
f._setOrigin=function(a,b){var c=this;b=void 0===b?!1:b;this._ngZone.runOutsideAngular(function(){c._origin=a;c._originFromTouchInteraction="touch"===a&&b;0===c._detectionMode&&(clearTimeout(c._originTimeoutId),c._originTimeoutId=setTimeout(function(){return c._origin=null},c._originFromTouchInteraction?650:1))})};f._onFocus=function(a,b){var c=this._elementInfo.get(b);a=Df(a);c&&(c.checkChildren||b===a)&&this._originChanged(b,this._getFocusOrigin(a),c)};
f._onBlur=function(a,b){var c=this._elementInfo.get(b);!c||c.checkChildren&&a.relatedTarget instanceof Node&&b.contains(a.relatedTarget)||(this._setClasses(b),this._emitOrigin(c,null))};f._emitOrigin=function(a,b){a.subject.observers.length&&this._ngZone.run(function(){return a.subject.next(b)})};
f._registerGlobalListeners=function(a){var b=this;if(this._platform.isBrowser){var c=a.rootNode;(a=this._rootNodeFocusListenerCount.get(c)||0)||this._ngZone.runOutsideAngular(function(){c.addEventListener("focus",b._rootNodeFocusAndBlurListener,jZb);c.addEventListener("blur",b._rootNodeFocusAndBlurListener,jZb)});this._rootNodeFocusListenerCount.set(c,a+1);1===++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(function(){b._getWindow().addEventListener("focus",b._windowFocusListener)}),
this._inputModalityDetector.modalityDetected.pipe(qe(this._stopInputModalityDetector)).subscribe(function(d){b._setOrigin(d,!0)}))}};
f._removeGlobalListeners=function(a){a=a.rootNode;if(this._rootNodeFocusListenerCount.has(a)){var b=this._rootNodeFocusListenerCount.get(a);1<b?this._rootNodeFocusListenerCount.set(a,b-1):(a.removeEventListener("focus",this._rootNodeFocusAndBlurListener,jZb),a.removeEventListener("blur",this._rootNodeFocusAndBlurListener,jZb),this._rootNodeFocusListenerCount.delete(a))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),
clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))};f._originChanged=function(a,b,c){this._setClasses(a,b);this._emitOrigin(c,b);this._lastFocusOrigin=b};f._getClosestElementsInfo=function(a){var b=[];this._elementInfo.forEach(function(c,d){(d===a||c.checkChildren&&d.contains(a))&&b.push([d,c])});return b};
f._isLastInteractionFromInputLabel=function(a){var b=this._inputModalityDetector,c=b._mostRecentTarget;if("mouse"!==b.mostRecentModality||!c||c===a||"INPUT"!==a.nodeName&&"TEXTAREA"!==a.nodeName||a.disabled)return!1;if(a=a.labels)for(b=0;b<a.length;b++)if(a[b].contains(c))return!0;return!1};Zv.\u0275fac=function(a){return new (a||Zv)(w(te),w(Sv),w(Yv),w(eg,8),w(iZb,8))};Zv.\u0275prov=nc({token:Zv,factory:Zv.\u0275fac,providedIn:"root"});
var aw=function(a,b){this._elementRef=a;this._focusMonitor=b;this._focusOrigin=null;this.cdkFocusChange=new tu};aw.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)})};aw.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef);this._monitorSubscription&&this._monitorSubscription.unsubscribe()};
gg.Object.defineProperties(aw.prototype,{focusOrigin:{configurable:!0,enumerable:!0,get:function(){return this._focusOrigin}}});aw.\u0275fac=function(a){return new (a||aw)(D(fd),D(Zv))};aw.\u0275dir=Cc({type:aw,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]});var bw=function(){};bw.prototype.attach=function(a){this._attachedHost=a;return a.attach(this)};bw.prototype.detach=function(){var a=this._attachedHost;null!=a&&(this._attachedHost=null,a.detach())};gg.Object.defineProperties(bw.prototype,{isAttached:{configurable:!0,enumerable:!0,get:function(){return null!=this._attachedHost}}});var cw=function(a,b,c,d,e){this.component=a;this.viewContainerRef=b;this.injector=c;this.componentFactoryResolver=d;this.projectableNodes=e};V(cw,bw);
var dw=function(a,b,c,d){this.templateRef=a;this.viewContainerRef=b;this.context=c;this.injector=d};V(dw,bw);dw.prototype.attach=function(a,b){this.context=b=void 0===b?this.context:b;return bw.prototype.attach.call(this,a)};dw.prototype.detach=function(){this.context=void 0;return bw.prototype.detach.call(this)};gg.Object.defineProperties(dw.prototype,{origin:{configurable:!0,enumerable:!0,get:function(){return this.templateRef.elementRef}}});var ew=function(){this._isDisposed=!1};f=ew.prototype;
f.hasAttached=function(){return!!this._attachedPortal};f.attach=function(a){if(a instanceof cw)return this._attachedPortal=a,this.attachComponentPortal(a);if(a instanceof dw)return this._attachedPortal=a,this.attachTemplatePortal(a)};f.detach=function(){this._attachedPortal&&(this._attachedPortal=this._attachedPortal._attachedHost=null);this._invokeDisposeFn()};f.dispose=function(){this.hasAttached()&&this.detach();this._invokeDisposeFn();this._isDisposed=!0};
f.setDisposeFn=function(a){this._disposeFn=a};f._invokeDisposeFn=function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)};var fw=function(a,b,c,d,e){this._isDisposed=!1;this.outletElement=a;this._componentFactoryResolver=b;this._appRef=c;this._defaultInjector=d;this._document=e};V(fw,ew);
fw.prototype.attachComponentPortal=function(a){var b=this,c=hWb(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||IVb),MXb(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};fw.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};
fw.prototype.dispose=function(){ew.prototype.dispose.call(this);this.outletElement.remove()};fw.prototype._getComponentRootNode=function(a){return a.hostView.rootNodes[0]};var gw=function(a,b){dw.call(this,a,b)};V(gw,dw);gw.\u0275fac=function(a){return new (a||gw)(D(ef),D(ff))};gw.\u0275dir=Cc({type:gw,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[xe]});var hw=function(a,b,c){this._isDisposed=!1;this._componentFactoryResolver=a;this._viewContainerRef=b;this._isInitialized=!1;this.attached=new tu;this._document=c};V(hw,ew);f=hw.prototype;f.ngOnInit=function(){this._isInitialized=!0};
f.ngOnDestroy=function(){ew.prototype.dispose.call(this);this._attachedRef=this._attachedPortal=null};
f.attachComponentPortal=function(a){a._attachedHost=this;var b=null!=a.viewContainerRef?a.viewContainerRef:this._viewContainerRef,c=hWb(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]);ew.prototype.setDisposeFn.call(this,function(){return d.destroy()});this._attachedPortal=a;this._attachedRef=d;this.attached.emit(d);
return d};f.attachTemplatePortal=function(a){var b=this;a._attachedHost=this;var c=this._viewContainerRef.createEmbeddedView(a.templateRef,a.context,{injector:a.injector});ew.prototype.setDisposeFn.call(this,function(){return b._viewContainerRef.clear()});this._attachedPortal=a;this._attachedRef=c;this.attached.emit(c);return c};f._getRootNode=function(){var a=this._viewContainerRef.element.nativeElement;return a.nodeType===a.ELEMENT_NODE?a:a.parentNode};
gg.Object.defineProperties(hw.prototype,{portal:{configurable:!0,enumerable:!0,get:function(){return this._attachedPortal},set:function(a){if(!this.hasAttached()||a||this._isInitialized)this.hasAttached()&&ew.prototype.detach.call(this),a&&ew.prototype.attach.call(this,a),this._attachedPortal=a||null}}});hw.\u0275fac=function(a){return new (a||hw)(D(Rt),D(ff),D(eg))};
hw.\u0275dir=Cc({type:hw,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[xe]});var iw=function(){};iw.\u0275fac=function(a){return new (a||iw)};iw.\u0275mod=Bc({type:iw});iw.\u0275inj=oc({});var kZb=function(){};V(kZb,sYb);var jw=function(){};V(jw,kZb);var lZb=function(a,b,c){a.addEventListener(b,c);return function(){a.removeEventListener(b,c)}};jw.prototype.dispatchEvent=function(a,b){a.dispatchEvent(b)};jw.prototype.remove=function(a){a.parentNode&&a.parentNode.removeChild(a)};jw.prototype.createElement=function(a,b){b=b||document;return b.createElement(a)};var uYb=function(a,b){return"window"===b?window:"document"===b?a:"body"===b?a.body:null};
jw.prototype.getBaseHref=function(){var a=(mZb=mZb||document.querySelector("base"))?mZb.getAttribute("href"):null;null==a?a=null:(nZb=nZb||document.createElement("a"),nZb.setAttribute("href",a),a=nZb.pathname,a="/"===a.charAt(0)?a:"/"+a);return a};var mZb=null,nZb;var oZb=function(){},DXb=function(a){sd.getAngularTestability=function(b,c){b=a.findTestabilityInTree(b,void 0===c?!0:c);if(null==b)throw new rc(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,g=function(h){e=e||
h;d--;0==d&&b(e)};c.forEach(function(h){h.whenStable(g)})})};oZb.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 kw=function(){};kw.prototype.build=function(){return new XMLHttpRequest};kw.\u0275fac=function(a){return new (a||kw)};kw.\u0275prov=nc({token:kw,factory:kw.\u0275fac});var pZb=new Hc("EventManagerPlugins"),lw=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()};lw.prototype.addEventListener=function(a,b,c){return this._findPluginFor(b).addEventListener(a,b,c)};lw.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 rc(5101,!1);this._eventNameToPlugin.set(a,b);return b};
lw.\u0275fac=function(a){return new (a||lw)(w(pZb),w(te))};lw.\u0275prov=nc({token:lw,factory:lw.\u0275fac});var qZb=function(a){this._doc=a};var mw=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=rZb(this);this.platformIsServer="server"===d;sZb(this)},vZb=function(a,b){b=k(b);for(var c=b.next();!c.done;c=b.next())if(c=c.value,1===tZb(a,c,1))for(var d=a,e=k(d.hostNodes),g=e.next();!g.done;g=e.next())uZb(d,g.value,c)};
mw.prototype.ngOnDestroy=function(){var a=this.styleNodesInDOM;a&&(a.forEach(function(c){return c.remove()}),a.clear());a=k(this.styleRef.keys());for(var b=a.next();!b.done;b=a.next())wZb(this,b.value);sZb(this)};
var wZb=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)},rZb=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},tZb=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},uZb=function(a,
b,c){var d=a.styleNodesInDOM;var e=null==d?void 0:d.get(c);(null==e?void 0:e.parentNode)===b?(d.delete(c),e.removeAttribute("ng-app-id"),d=e):(d=a.doc.createElement("style"),a.nonce&&d.setAttribute("nonce",a.nonce),d.textContent=c,a.platformIsServer&&d.setAttribute("ng-app-id",a.appId));b.appendChild(d);a=a.styleRef;var g;(b=null==(g=a.get(c))?void 0:g.elements)?b.push(d):a.set(c,{elements:[d],usage:1})},sZb=function(a){var b=a.hostNodes;b.clear();b.add(a.doc.head)};
mw.\u0275fac=function(a){return new (a||mw)(w(eg),w(LVb),w(MVb,8),w(St))};mw.\u0275prov=nc({token:mw,factory:mw.\u0275fac});var xZb={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/"},voa=/%COMP%/g,yZb=new Hc("RemoveStylesOnCompDestory",{providedIn:"root",factory:function(){return!1}}),ow=function(a,b,c,d,e,g,h,l){this.eventManager=a;this.sharedStylesHost=b;this.appId=c;this.removeStylesOnCompDestory=d;this.doc=e;this.ngZone=h;this.nonce=void 0===
l?null:l;this.rendererByCompId=new Map;this.platformIsServer="server"===g;this.defaultRenderer=new nw(a,e,h,this.platformIsServer)};ow.prototype.createRenderer=function(a,b){if(!a||!b)return this.defaultRenderer;this.platformIsServer&&3===b.encapsulation&&(b=Object.assign({},b,{encapsulation:0}));b=zZb(this,a,b);b instanceof AZb?(vZb(b.sharedStylesHost,b.styles),b.rendererUsageCount++,b.setAttribute(a,b.hostAttr,"")):b instanceof pw&&(vZb(b.sharedStylesHost,b.styles),b.rendererUsageCount++);return b};
var zZb=function(a,b,c){var d=a.rendererByCompId,e=d.get(c.id);if(!e){e=a.doc;var g=a.ngZone,h=a.eventManager,l=a.sharedStylesHost,q=a.removeStylesOnCompDestory,v=a.platformIsServer;switch(c.encapsulation){case 0:e=new AZb(h,l,c,a.appId,q,e,g,v);break;case 3:return new BZb(h,l,b,c,e,g,a.nonce,v);default:e=new pw(h,l,c,q,e,g,v)}e.onDestroy=function(){return d.delete(c.id)};d.set(c.id,e)}return e};ow.prototype.ngOnDestroy=function(){this.rendererByCompId.clear()};
ow.\u0275fac=function(a){return new (a||ow)(w(lw),w(mw),w(LVb),w(yZb),w(eg),w(St),w(te),w(MVb))};ow.\u0275prov=nc({token:ow,factory:ow.\u0275fac});var nw=function(a,b,c,d){this.eventManager=a;this.doc=b;this.ngZone=c;this.platformIsServer=d;this.data=Object.create(null);this.destroyNode=null};f=nw.prototype;f.destroy=function(){};f.createElement=function(a,b){return b?this.doc.createElementNS(xZb[b]||b,a):this.doc.createElement(a)};f.createComment=function(a){return this.doc.createComment(a)};
f.createText=function(a){return this.doc.createTextNode(a)};f.appendChild=function(a,b){("TEMPLATE"===a.tagName&&void 0!==a.content?a.content:a).appendChild(b)};f.insertBefore=function(a,b,c){a&&("TEMPLATE"===a.tagName&&void 0!==a.content?a.content:a).insertBefore(b,c)};f.removeChild=function(a,b){a&&a.removeChild(b)};f.selectRootElement=function(a,b){a="string"===typeof a?this.doc.querySelector(a):a;if(!a)throw new rc(5104,!1);b||(a.textContent="");return a};f.parentNode=function(a){return a.parentNode};
f.nextSibling=function(a){return a.nextSibling};f.setAttribute=function(a,b,c,d){d?(b=d+":"+b,(d=xZb[d])?a.setAttributeNS(d,b,c):a.setAttribute(b,c)):a.setAttribute(b,c)};f.removeAttribute=function(a,b,c){if(c){var d=xZb[c];d?a.removeAttributeNS(d,b):a.removeAttribute(c+":"+b)}else a.removeAttribute(b)};f.addClass=function(a,b){a.classList.add(b)};f.removeClass=function(a,b){a.classList.remove(b)};f.setStyle=function(a,b,c,d){d&3?a.style.setProperty(b,c,d&1?"important":""):a.style[b]=c};
f.removeStyle=function(a,b,c){c&2?a.style.removeProperty(b):a.style[b]=""};f.setProperty=function(a,b,c){a[b]=c};f.setValue=function(a,b){a.nodeValue=b};f.listen=function(a,b,c){if("string"===typeof a&&(a=uYb(this.doc,a),!a))throw Error("cb`"+a+"`"+b);return this.eventManager.addEventListener(a,b,CZb(this,c))};
var CZb=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()}},BZb=function(a,b,c,d,e,g,h,l){nw.call(this,a,e,g,l);this.sharedStylesHost=b;this.hostEl=c;this.shadowRoot=c.attachShadow({mode:"open"});a=this.sharedStylesHost;b=this.shadowRoot;a.hostNodes.add(b);c=k(a.styleRef.keys());for(e=c.next();!e.done;e=c.next())uZb(a,b,e.value);d=woa(d.id,d.styles);d=k(d);for(a=d.next();!a.done;a=d.next())a=
a.value,b=document.createElement("style"),h&&b.setAttribute("nonce",h),b.textContent=a,this.shadowRoot.appendChild(b)};V(BZb,nw);var DZb=function(a,b){return b===a.hostEl?a.shadowRoot:b};f=BZb.prototype;f.appendChild=function(a,b){return nw.prototype.appendChild.call(this,DZb(this,a),b)};f.insertBefore=function(a,b,c){return nw.prototype.insertBefore.call(this,DZb(this,a),b,c)};f.removeChild=function(a,b){return nw.prototype.removeChild.call(this,DZb(this,a),b)};
f.parentNode=function(a){return DZb(this,nw.prototype.parentNode.call(this,DZb(this,a)))};f.destroy=function(){this.sharedStylesHost.hostNodes.delete(this.shadowRoot)};var pw=function(a,b,c,d,e,g,h,l){nw.call(this,a,e,g,h);this.sharedStylesHost=b;this.removeStylesOnCompDestory=d;this.rendererUsageCount=0;this.styles=l?woa(l,c.styles):c.styles};V(pw,nw);
pw.prototype.destroy=function(){if(this.removeStylesOnCompDestory){for(var a=this.sharedStylesHost,b=k(this.styles),c=b.next();!c.done;c=b.next())c=c.value,0>=tZb(a,c,-1)&&wZb(a,c);this.rendererUsageCount--;if(0===this.rendererUsageCount){var d;null==(d=this.onDestroy)||d.call(this)}}};var AZb=function(a,b,c,d,e,g,h,l){d=d+"-"+c.id;pw.call(this,a,b,c,e,g,h,l,d);this.contentAttr="_ngcontent-%COMP%".replace(voa,d);this.hostAttr="_nghost-%COMP%".replace(voa,d)};V(AZb,pw);
AZb.prototype.createElement=function(a,b){a=pw.prototype.createElement.call(this,a,b);pw.prototype.setAttribute.call(this,a,this.contentAttr,"");return a};var qw=function(a){this._doc=a};V(qw,qZb);qw.prototype.supports=function(){return!0};qw.prototype.addEventListener=function(a,b,c){var d=this;a.addEventListener(b,c,!1);return function(){return d.removeEventListener(a,b,c)}};qw.prototype.removeEventListener=function(a,b,c){return a.removeEventListener(b,c)};qw.\u0275fac=function(a){return new (a||qw)(w(eg))};qw.\u0275prov=nc({token:qw,factory:qw.\u0275fac});var EZb=["alt","control","meta","shift"],FZb={"\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"},GZb={alt:function(a){return a.altKey},control:function(a){return a.ctrlKey},meta:function(a){return a.metaKey},shift:function(a){return a.shiftKey}},rw=function(a){this._doc=a};V(rw,qZb);rw.prototype.supports=function(a){return null!=HZb(a)};
rw.prototype.addEventListener=function(a,b,c){var d=HZb(b),e=IZb(d.fullKey,c,this.manager._zone);return this.manager._zone.runOutsideAngular(function(){return lZb(a,d.domEventName,e)})};
var HZb=function(a){var b=a.toLowerCase().split(".");a=b.shift();if(0===b.length||"keydown"!==a&&"keyup"!==a)return null;var c=JZb(b.pop()),d="",e=b.indexOf("code");-1<e&&(b.splice(e,1),d="code.");EZb.forEach(function(g){var h=b.indexOf(g);-1<h&&(b.splice(h,1),d+=g+".")});d+=c;if(0!=b.length||0===c.length)return null;a={domEventName:a};a.fullKey=d;return a},KZb=function(a,b){var c=FZb[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");EZb.forEach(function(e){e!==c&&(0,GZb[e])(a)&&(d+=e+".")});d+=c;return d===b},IZb=function(a,b,c){return function(d){KZb(d,a)&&c.runGuarded(function(){return b(d)})}},JZb=function(a){switch(a){case "esc":return"escape";default:return a}};rw.\u0275fac=function(a){return new (a||rw)(w(eg))};rw.\u0275prov=nc({token:rw,factory:rw.\u0275fac});var JXb=Xka(cYb,"browser",[{provide:St,useValue:"browser"},{provide:Rka,useValue:function(){var a=new jw;rYb||(rYb=a)},multi:!0},{provide:eg,useFactory:function(){return Iga=document},deps:[]}]),LZb=new Hc(""),MZb=[{provide:BXb,useClass:oZb,deps:[]},{provide:AXb,useClass:Gu,deps:[te,Hu,BXb]},{provide:Gu,useClass:Gu,deps:[te,Hu,BXb]}],NZb=[{provide:Yka,useValue:"root"},{provide:yd,useFactory:function(){return new yd},deps:[]},{provide:pZb,useClass:qw,multi:!0,deps:[eg,te,St]},{provide:pZb,useClass:rw,
multi:!0,deps:[eg]},ow,mw,lw,{provide:PVb,useExisting:ow},{provide:BYb,useClass:kw,deps:[]},[]],sw=function(){};sw.\u0275fac=function(a){return new (a||sw)(w(LZb,12))};sw.\u0275mod=Bc({type:sw});sw.\u0275inj=oc({providers:[].concat(Jc(NZb),Jc(MZb)),imports:[gv,Ku]});var tw=function(a){this._doc=a};tw.prototype.getTitle=function(){return this._doc.title};tw.prototype.setTitle=function(a){this._doc.title=a||""};tw.\u0275fac=function(a){return new (a||tw)(w(eg))};tw.\u0275prov=nc({token:tw,factory:function(a){var b=null;a?b=new a:b=new tw(w(eg));return b},providedIn:"root"});new Hc("HammerGestureConfig");new Hc("HammerLoader");new Ot;var OZb=function(){},PZb=function(){};var uw=function(a){var b=this;this.normalizedNames=new Map;this.lazyUpdate=null;a?this.lazyInit="string"===typeof a?function(){b.headers=new Map;a.split("\n").forEach(function(c){var d=c.indexOf(":");if(0<d){var e=c.slice(0,d),g=e.toLowerCase();c=c.slice(d+1).trim();QZb(b,e,g);b.headers.has(g)?b.headers.get(g).push(c):b.headers.set(g,[c])}})}:function(){b.headers=new Map;Object.entries(a).forEach(function(c){var d=k(c);c=d.next().value;d=d.next().value;d="string"===typeof d?[d]:"number"===typeof d?
[d.toString()]:d.map(function(g){return g.toString()});if(0<d.length){var e=c.toLowerCase();b.headers.set(e,d);QZb(b,c,e)}})}:this.headers=new Map};f=uw.prototype;f.has=function(a){this.init();return this.headers.has(a.toLowerCase())};f.get=function(a){this.init();return(a=this.headers.get(a.toLowerCase()))&&0<a.length?a[0]:null};f.keys=function(){this.init();return Array.from(this.normalizedNames.values())};f.getAll=function(a){this.init();return this.headers.get(a.toLowerCase())||null};
f.append=function(a,b){return this.clone({name:a,value:b,op:"a"})};f.set=function(a,b){return this.clone({name:a,value:b,op:"s"})};f.delete=function(a,b){return this.clone({name:a,value:b,op:"d"})};var QZb=function(a,b,c){a.normalizedNames.has(c)||a.normalizedNames.set(c,b)};
uw.prototype.init=function(){var a=this;this.lazyInit&&(this.lazyInit instanceof uw?RZb(this,this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(b){return SZb(a,b)}),this.lazyUpdate=null))};var RZb=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))})};
uw.prototype.clone=function(a){var b=new uw;b.lazyInit=this.lazyInit&&this.lazyInit instanceof uw?this.lazyInit:this;b.lazyUpdate=(this.lazyUpdate||[]).concat([a]);return b};
var SZb=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;QZb(a,b.name,c);b=("a"===b.op?a.headers.get(c):void 0)||[];b.push.apply(b,Jc(d));a.headers.set(c,b);break;case "d":var e=b.value;if(e){if(d=a.headers.get(c))d=d.filter(function(g){return-1===e.indexOf(g)}),0===d.length?(a.headers.delete(c),a.normalizedNames.delete(c)):a.headers.set(c,d)}else a.headers.delete(c),a.normalizedNames.delete(c)}};
uw.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 TZb=function(){},yoa=/%(\d[a-f0-9])/gi,zoa={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"},vw=function(a){var b=this;a=void 0===a?{}:a;this.cloneFrom=this.updates=null;this.encoder=a.encoder||new TZb;if(a.fromString){if(a.fromObject)throw Error("db");this.map=xoa(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(Boa):[""+d];b.map.set(c,d)})):this.map=null};f=vw.prototype;
f.has=function(a){this.init();return this.map.has(a)};f.get=function(a){this.init();return(a=this.map.get(a))?a[0]:null};f.getAll=function(a){this.init();return this.map.get(a)||null};f.keys=function(){this.init();return Array.from(this.map.keys())};f.append=function(a,b){return this.clone({param:a,value:b,op:"a"})};f.set=function(a,b){return this.clone({param:a,value:b,op:"s"})};f.delete=function(a,b){return this.clone({param:a,value:b,op:"d"})};
f.toString=function(){var a=this;this.init();return this.keys().map(function(b){var c=Aoa(b);return a.map.get(b).map(function(d){return c+"="+Aoa(d)}).join("&")}).filter(function(b){return""!==b}).join("&")};f.clone=function(a){var b=new vw({encoder:this.encoder});b.cloneFrom=this.cloneFrom||this;b.updates=(this.updates||[]).concat(a);return b};
f.init=function(){var a=this;null===this.map&&(this.map=new Map);null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(b){return a.map.set(b,a.cloneFrom.map.get(b))}),this.updates.forEach(function(b){switch(b.op){case "a":case "s":var c=("a"===b.op?a.map.get(b.param):void 0)||[];c.push(""+b.value);a.map.set(b.param,c);break;case "d":if(void 0!==b.value){c=a.map.get(b.param)||[];var d=c.indexOf(""+b.value);-1!==d&&c.splice(d,1);0<c.length?a.map.set(b.param,c):a.map.delete(b.param)}else a.map.delete(b.param)}}),
this.cloneFrom=this.updates=null)};var UZb=function(){this.map=new Map};f=UZb.prototype;f.set=function(a,b){this.map.set(a,b);return this};f.get=function(a){this.map.has(a)||this.map.set(a,a.defaultValue());return this.map.get(a)};f.delete=function(a){this.map.delete(a);return this};f.has=function(a){return this.map.has(a)};f.keys=function(){return this.map.keys()};var ww=function(a,b,c,d){this.url=b;this.body=null;this.withCredentials=this.reportProgress=!1;this.responseType="json";this.method=a.toUpperCase();a:switch(this.method){case "DELETE":case "GET":case "HEAD":case "OPTIONS":case "JSONP":a=!1;break a;default:a=!0}if(a||d)this.body=void 0!==c?c:null,c=d;c&&(this.reportProgress=!!c.reportProgress,this.withCredentials=!!c.withCredentials,c.responseType&&(this.responseType=c.responseType),c.headers&&(this.headers=c.headers),c.context&&(this.context=c.context),
c.params&&(this.params=c.params));this.headers||(this.headers=new uw);this.context||(this.context=new UZb);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 vw,this.urlWithParams=b)},VZb=function(a){return null===a.body?null:Coa(a.body)||Doa(a.body)||Eoa(a.body)||"undefined"!==typeof URLSearchParams&&a.body instanceof URLSearchParams||"string"===typeof a.body?a.body:a.body instanceof
vw?a.body.toString():"object"===typeof a.body||"boolean"===typeof a.body||Array.isArray(a.body)?JSON.stringify(a.body):a.body.toString()};
ww.prototype.clone=function(a){a=void 0===a?{}:a;var b=a.method||this.method,c=a.url||this.url,d=a.responseType||this.responseType,e=void 0!==a.body?a.body:this.body,g=void 0!==a.withCredentials?a.withCredentials:this.withCredentials,h=void 0!==a.reportProgress?a.reportProgress:this.reportProgress,l=a.headers||this.headers,q=a.params||this.params,v,y=null!=(v=a.context)?v:this.context;void 0!==a.setHeaders&&(l=Object.keys(a.setHeaders).reduce(function(B,I){return B.set(I,a.setHeaders[I])},l));a.setParams&&
(q=Object.keys(a.setParams).reduce(function(B,I){return B.set(I,a.setParams[I])},q));return new ww(b,c,e,{params:q,headers:l,context:y,reportProgress:h,responseType:d,withCredentials:g})};var xw=function(a,b,c){this.headers=a.headers||new uw;this.status=void 0!==a.status?a.status:void 0===b?200:b;this.statusText=a.statusText||(void 0===c?"OK":c);this.url=a.url||null;this.ok=200<=this.status&&300>this.status},WZb=function(a){a=void 0===a?{}:a;xw.call(this,a);this.type=2};V(WZb,xw);
WZb.prototype.clone=function(a){a=void 0===a?{}:a;return new WZb({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 yw=function(a){a=void 0===a?{}:a;xw.call(this,a);this.type=4;this.body=void 0!==a.body?a.body:null};V(yw,xw);
yw.prototype.clone=function(a){a=void 0===a?{}:a;return new yw({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 XZb=function(a){xw.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};V(XZb,xw);var zw=function(a){this.handler=a};f=zw.prototype;
f.request=function(a,b,c){var d=this;c=void 0===c?{}:c;if(a instanceof ww)b=a;else{var e=void 0;e=c.headers instanceof uw?c.headers:new uw(c.headers);var g=void 0;c.params&&(g=c.params instanceof vw?c.params:new vw({fromObject:c.params}));b=new ww(a,b,void 0!==c.body?c.body:null,{headers:e,context:c.context,params:g,reportProgress:c.reportProgress,responseType:c.responseType||"json",withCredentials:c.withCredentials})}e=(0,F.of)(b).pipe(Vd(function(h){return d.handler.handle(h)},1));if(a instanceof
ww||"events"===c.observe)return e;a=e.pipe(Zd(function(h){return h instanceof yw}));switch(c.observe||"body"){case "body":switch(b.responseType){case "arraybuffer":return a.pipe(E(function(h){if(null!==h.body&&!(h.body instanceof ArrayBuffer))throw Error("eb");return h.body}));case "blob":return a.pipe(E(function(h){if(null!==h.body&&!(h.body instanceof Blob))throw Error("fb");return h.body}));case "text":return a.pipe(E(function(h){if(null!==h.body&&"string"!==typeof h.body)throw Error("gb");return h.body}));
default:return a.pipe(E(function(h){return h.body}))}case "response":return a;default:throw Error("hb`"+c.observe);}};f.delete=function(a,b){b=void 0===b?{}:b;return this.request("DELETE",a,b)};f.get=function(a,b){b=void 0===b?{}:b;return this.request("GET",a,b)};f.head=function(a,b){b=void 0===b?{}:b;return this.request("HEAD",a,b)};f.jsonp=function(a,b){return this.request("JSONP",a,{params:(new vw).append(b,"JSONP_CALLBACK"),observe:"body",responseType:"json"})};
f.options=function(a,b){b=void 0===b?{}:b;return this.request("OPTIONS",a,b)};f.patch=function(a,b,c){c=void 0===c?{}:c;return this.request("PATCH",a,Foa(c,b))};f.post=function(a,b,c){c=void 0===c?{}:c;return this.request("POST",a,Foa(c,b))};f.put=function(a,b,c){c=void 0===c?{}:c;return this.request("PUT",a,Foa(c,b))};zw.\u0275fac=function(a){return new (a||zw)(w(OZb))};zw.\u0275prov=nc({token:zw,factory:zw.\u0275fac});var YZb=new Hc(""),ZZb=new Hc(""),$Zb=new Hc(""),Aw=function(a,b){this.backend=a;this.injector=b;this.chain=null};V(Aw,OZb);Aw.prototype.handle=function(a){var b=this;null===this.chain&&(this.chain=Array.from(new Set([].concat(Jc(this.injector.get(ZZb)),Jc(this.injector.get($Zb,[]))))).reduceRight(function(c,d){return Ioa(c,d,b.injector)},Goa));return this.chain(a,function(c){return b.backend.handle(c)})};Aw.\u0275fac=function(a){return new (a||Aw)(w(PZb),w(Nt))};Aw.\u0275prov=nc({token:Aw,factory:Aw.\u0275fac});var a_b=/^\)\]\}',?\n/,Bw=function(a){this.xhrFactory=a};
Bw.prototype.handle=function(a){if("JSONP"===a.method)throw new rc(-2800,!1);var b=this.xhrFactory;return(b.\u0275loadImpl?(0,F.from)(b.\u0275loadImpl()):(0,F.of)(null)).pipe(pe(function(){return new F.Observable(function(c){var d=b.build();d.open(a.method,a.urlWithParams);a.withCredentials&&(d.withCredentials=!0);a.headers.forEach(function(Y,ka){return d.setRequestHeader(Y,ka.join(","))});a.headers.has("Accept")||d.setRequestHeader("Accept","application/json, text/plain, */*");if(!a.headers.has("Content-Type")){var e=
null===a.body||Eoa(a.body)?null:Doa(a.body)?a.body.type||null:Coa(a.body)?null:"string"===typeof a.body?"text/plain":a.body instanceof vw?"application/x-www-form-urlencoded;charset=UTF-8":"object"===typeof a.body||"number"===typeof a.body||"boolean"===typeof a.body?"application/json":null;null!==e&&d.setRequestHeader("Content-Type",e)}a.responseType&&(e=a.responseType.toLowerCase(),d.responseType="json"!==e?e:"text");var g=VZb(a),h=null,l=function(){if(null!==h)return h;var Y=d.statusText||"OK",ka=
new uw(d.getAllResponseHeaders()),la=("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 WZb({headers:ka,status:d.status,statusText:Y,url:la})},q=function(){var Y=l(),ka=Y.headers,la=Y.status,Da=Y.statusText;Y=Y.url;var za=null;204!==la&&(za="undefined"===typeof d.response?d.responseText:d.response);0===la&&(la=za?200:0);var Oa=200<=la&&300>la;if("json"===a.responseType&&"string"===typeof za){var Va=
za;za=za.replace(a_b,"");try{za=""!==za?JSON.parse(za):null}catch(Ya){za=Va,Oa&&(Oa=!1,za={error:Ya,text:za})}}Oa?(c.next(new yw({body:za,headers:ka,status:la,statusText:Da,url:Y||void 0})),c.complete()):c.error(new XZb({error:za,headers:ka,status:la,statusText:Da,url:Y||void 0}))},v=function(Y){var ka=l().url;c.error(new XZb({error:Y,status:d.status||0,statusText:d.statusText||"Unknown Error",url:ka||void 0}))},y=!1,B=function(Y){y||(c.next(l()),y=!0);var ka={type:3,loaded:Y.loaded};Y.lengthComputable&&
(ka.total=Y.total);"text"===a.responseType&&d.responseText&&(ka.partialText=d.responseText);c.next(ka)},I=function(Y){var ka={type:1,loaded:Y.loaded};Y.lengthComputable&&(ka.total=Y.total);c.next(ka)};d.addEventListener("load",q);d.addEventListener("error",v);d.addEventListener("timeout",v);d.addEventListener("abort",v);a.reportProgress&&(d.addEventListener("progress",B),null!==g&&d.upload&&d.upload.addEventListener("progress",I));var N,Q=function(){null!=N||(N=Joa())},Z=function(){var Y;null==(Y=
N)||Y()};d.addEventListener("loadstart",Q);d.addEventListener("loadend",Z);d.send(g);c.next({type:0});return function(){d.removeEventListener("loadstart",Q);d.removeEventListener("loadend",Z);d.removeEventListener("error",v);d.removeEventListener("abort",v);d.removeEventListener("load",q);d.removeEventListener("timeout",v);var Y;null==(Y=N)||Y();a.reportProgress&&(d.removeEventListener("progress",B),null!==g&&d.upload&&d.upload.removeEventListener("progress",I));d.readyState!==d.DONE&&d.abort()}})}))};
Bw.\u0275fac=function(a){return new (a||Bw)(w(BYb))};Bw.\u0275prov=nc({token:Bw,factory:Bw.\u0275fac});var Koa=new Hc("XSRF_ENABLED"),b_b=new Hc("XSRF_COOKIE_NAME",{providedIn:"root",factory:function(){return"XSRF-TOKEN"}}),Moa=new Hc("XSRF_HEADER_NAME",{providedIn:"root",factory:function(){return"X-XSRF-TOKEN"}}),Loa=function(){},Cw=function(a,b,c){this.doc=a;this.platform=b;this.cookieName=c;this.lastCookieString="";this.lastToken=null};
Cw.prototype.getToken=function(){if("server"===this.platform)return null;var a=this.doc.cookie||"";if(a!==this.lastCookieString){a:{var b=this.cookieName;b=encodeURIComponent(b);for(var c=k(a.split(";")),d=c.next();!d.done;d=c.next()){d=d.value;var e=d.indexOf("=");e=k(-1==e?[d,""]:[d.slice(0,e),d.slice(e+1)]);d=e.next().value;e=e.next().value;if(d.trim()===b){b=decodeURIComponent(e);break a}}b=null}this.lastToken=b;this.lastCookieString=a}return this.lastToken};
Cw.\u0275fac=function(a){return new (a||Cw)(w(eg),w(St),w(b_b))};Cw.\u0275prov=nc({token:Cw,factory:Cw.\u0275fac});var c_b=new Hc("LEGACY_INTERCEPTOR_FN");var d_b={cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"},e_b=d_b.cookieName,f_b=d_b.headerName,g_b=[];void 0!==e_b&&g_b.push({provide:b_b,useValue:e_b});void 0!==f_b&&g_b.push({provide:Moa,useValue:f_b});var Dw=function(){};Dw.\u0275fac=function(a){return new (a||Dw)};Dw.\u0275mod=Bc({type:Dw});
Dw.\u0275inj=oc({providers:[function(){for(var a=[zw,Bw,Aw,{provide:OZb,useExisting:Aw},{provide:PZb,useExisting:Bw},{provide:ZZb,useValue:Noa,multi:!0},{provide:Koa,useValue:!0},{provide:Loa,useClass:Cw}],b=k(Fc.apply(0,arguments)),c=b.next();!c.done;c=b.next())a.push.apply(a,Jc(c.value.\u0275providers));return{"\u0275providers":a}}({"\u0275kind":1,"\u0275providers":[{provide:c_b,useFactory:function(){var a=null;return function(b,c){if(null===a){var d;a=(null!=(d=wc(YZb,{optional:!0}))?d:[]).reduceRight(Hoa,
Goa)}return a(b,c)}}},{provide:ZZb,useExisting:c_b,multi:!0}]})]});new Hc("");var Ew=function(){};Ew.\u0275fac=function(a){return new (a||Ew)};Ew.\u0275prov=nc({token:Ew,factory:function(a){return a?new (a||Ew):w(Fw)},providedIn:"root"});var Fw=function(a){this._doc=a};V(Fw,Ew);
Fw.prototype.sanitize=function(a,b){if(null==b)return null;switch(a){case 0:return b;case 1:return rd(b,"HTML")?qd(b):zha(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 rc(5200,!1);case 4:return rd(b,"URL")?qd(b):lha(String(b));case 5:if(rd(b,"ResourceURL"))return qd(b);throw new rc(5201,!1);default:throw new rc(5202,!1);}};Fw.prototype.bypassSecurityTrustHtml=function(a){return new RVb(a)};Fw.prototype.bypassSecurityTrustUrl=function(a){return new SVb(a)};
Fw.prototype.bypassSecurityTrustResourceUrl=function(a){return new TVb(a)};Fw.\u0275fac=function(a){return new (a||Fw)(w(eg))};Fw.\u0275prov=nc({token:Fw,factory:function(a){a?a=new a:(a=w(Qt),a=new Fw(a.get(eg)));return a},providedIn:"root"});new Wt;(function(){return""}).toString().indexOf("`");var j_b=function(a){var b=Em("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||ca.$googDebugFname||b}catch(h){e="Not available",c=!0}b=h_b(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,i_b[c])c=i_b[c];else{c=String(c);if(!i_b[c]){var g=/function\s+([^\(]+)/m.exec(c);i_b[c]=g?g[1]:"[Anonymous]"}c=i_b[c]}c='Unknown Error of type "'+c+'"'}else c="Unknown Error of unknown type";"function"===typeof a.toString&&Object.prototype.toString!==a.toString&&(c+=": "+a.toString())}return{message:c,name:a.name||"UnknownError",lineNumber:d,fileName:e,stack:b||"Not available"}}a.stack=
b;return{message:a.message,name:a.name,lineNumber:a.lineNumber,fileName:a.fileName,stack:a.stack}},h_b=function(a,b){b||(b={});b[k_b(a)]=!0;var c=a.stack||"";(a=a.cause)&&!b[k_b(a)]&&(c+="\nCaused by: ",a.stack&&0==a.stack.indexOf(a.toString())||(c+="string"===typeof a?a:a.message+"\n"),c+=h_b(a,b));return c},k_b=function(a){var b="";"function"===typeof a.toString&&(b=""+a);return b+a.stack},i_b={};var l_b;try{new URL("s://g"),l_b=!0}catch(a){l_b=!1}var Ooa=l_b;var Roa=function(a){this.isValid=a},Toa=[Soa("data"),Soa("http"),Soa("https"),Soa("mailto"),Soa("ftp"),new Roa(function(a){return/^[^:]*([/?#]|$)/.test(a)})];var Gw=function(a){this.decorated=new Fw(a)};V(Gw,Ew);Gw.prototype.sanitize=function(a,b){if(null==b)return null;if(b instanceof It||b instanceof Zb||b instanceof Nm){if(m_b(b,a))return this.decorated.sanitize(a,n_b(this,b));throw Error("ib`"+bWb[a]+"`"+b);}return this.decorated.sanitize(a,b)};Gw.prototype.bypassSecurityTrustHtml=function(){throw Error("jb");};Gw.prototype.bypassSecurityTrustUrl=function(){throw Error("jb");};
Gw.prototype.bypassSecurityTrustResourceUrl=function(){throw Error("jb");};var n_b=function(a,b){if(null!=b){if(b instanceof Nm)return a.decorated.bypassSecurityTrustHtml(String(b));if(b instanceof Zb)return a.decorated.bypassSecurityTrustUrl($b(b));if(b instanceof It)return a.decorated.bypassSecurityTrustResourceUrl(String(b))}return null},m_b=function(a,b){switch(b){case 1:return a instanceof Nm;case 4:return a instanceof Zb||a instanceof It;case 5:return a instanceof It;case 3:return!1;default:return!1}};
Gw.\u0275fac=function(a){return new (a||Gw)(w(eg))};Gw.\u0275prov=nc({token:Gw,factory:Gw.\u0275fac});var o_b=[{provide:dWb,useExisting:Ew},{provide:Ew,useClass:Gw}],Hw=function(){};Hw.\u0275fac=function(a){return new (a||Hw)};Hw.\u0275mod=Bc({type:Hw});Hw.\u0275inj=oc({providers:o_b,imports:[sw]});var Yoa=new Set(["true","1"]),Zoa=new Set(["false","0"]);var p_b=function(){},q_b=function(){};/*

 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 {function(): ?} cb
 @return {void}
*/
var Tf=function(a,b){this._onDoneFns=[];this._onStartFns=[];this._onDestroyFns=[];this._originalOnDoneFns=[];this._originalOnStartFns=[];this._finished=this._destroyed=this._started=!1;this._position=0;this.parentPlayer=null;this.totalTime=(void 0===a?0:a)+(void 0===b?0:b)};f=Tf.prototype;f._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(a){return a()}),this._onDoneFns=[])};f.onStart=function(a){this._originalOnStartFns.push(a);this._onStartFns.push(a)};
f.onDone=function(a){this._originalOnDoneFns.push(a);this._onDoneFns.push(a)};f.onDestroy=function(a){this._onDestroyFns.push(a)};f.hasStarted=function(){return this._started};f.init=function(){};f.play=function(){this.hasStarted()||(this._onStart(),r_b(this));this._started=!0};var r_b=function(a){Promise.resolve().then(function(){return a._onFinish()})};f=Tf.prototype;f._onStart=function(){this._onStartFns.forEach(function(a){return a()});this._onStartFns=[]};f.pause=function(){};f.restart=function(){};
f.finish=function(){this._onFinish()};f.destroy=function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(function(a){return a()}),this._onDestroyFns=[])};f.reset=function(){this._finished=this._started=!1;this._onStartFns=this._originalOnStartFns;this._onDoneFns=this._originalOnDoneFns};f.setPosition=function(a){this._position=this.totalTime?a*this.totalTime:1};
f.getPosition=function(){return this.totalTime?this._position/this.totalTime:1};f.triggerCallback=function(a){a="start"==a?this._onStartFns:this._onDoneFns;a.forEach(function(b){return b()});a.length=0};var bpa=function(a){var b=this;this._onDoneFns=[];this._onStartFns=[];this._destroyed=this._started=this._finished=!1;this._onDestroyFns=[];this.parentPlayer=null;this.totalTime=0;this.players=a;var c=0,d=0,e=0,g=this.players.length;0==g?Promise.resolve().then(function(){return b._onFinish()}):this.players.forEach(function(h){h.onDone(function(){++c==g&&b._onFinish()});h.onDestroy(function(){++d==g&&b._onDestroy()});h.onStart(function(){++e==g&&b._onStart()})});this.totalTime=this.players.reduce(function(h,
l){return Math.max(h,l.totalTime)},0)};f=bpa.prototype;f._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(a){return a()}),this._onDoneFns=[])};f.init=function(){this.players.forEach(function(a){return a.init()})};f.onStart=function(a){this._onStartFns.push(a)};f._onStart=function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(function(a){return a()}),this._onStartFns=[])};f.onDone=function(a){this._onDoneFns.push(a)};f.onDestroy=function(a){this._onDestroyFns.push(a)};
f.hasStarted=function(){return this._started};f.play=function(){this.parentPlayer||this.init();this._onStart();this.players.forEach(function(a){return a.play()})};f.pause=function(){this.players.forEach(function(a){return a.pause()})};f.restart=function(){this.players.forEach(function(a){return a.restart()})};f.finish=function(){this._onFinish();this.players.forEach(function(a){return a.finish()})};f.destroy=function(){this._onDestroy()};
f._onDestroy=function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(function(a){return a.destroy()}),this._onDestroyFns.forEach(function(a){return a()}),this._onDestroyFns=[])};f.reset=function(){this.players.forEach(function(a){return a.reset()});this._started=this._finished=this._destroyed=!1};f.setPosition=function(a){var b=a*this.totalTime;this.players.forEach(function(c){c.setPosition(c.totalTime?Math.min(1,b/c.totalTime):1)})};
f.getPosition=function(){var a=this.players.reduce(function(b,c){return null===b||c.totalTime>b.totalTime?c:b},null);return null!=a?a.getPosition():0};f.beforeDestroy=function(){this.players.forEach(function(a){a.beforeDestroy&&a.beforeDestroy()})};f.triggerCallback=function(a){a="start"==a?this._onStartFns:this._onDoneFns;a.forEach(function(b){return b()});a.length=0};var jpa="undefined"===typeof document?null:document.documentElement;var vpa=RegExp("{{\\s*(.+?)\\s*}}","g"),ypa=/-+([a-z0-9])/g;var Apa=RegExp("s*:selfs*,?","g"),s_b=function(a){this._driver=a};f=s_b.prototype;f.build=function(a,b){b=new t_b(b);this._resetContextStyleTimingState(b);return ag(this,spa(a),b)};f._resetContextStyleTimingState=function(a){a.currentQuerySelector="";a.collectedStyles=new Map;a.collectedStyles.set("",new Map);a.currentTime=0};
f.visitTrigger=function(a,b){var c=this,d=b.queryCount=0,e=b.depCount=0,g=[],h=[];"@"==a.name.charAt(0)&&b.errors.push(new rc(3006,!1));a.definitions.forEach(function(l){c._resetContextStyleTimingState(b);if(0==l.type){var q=l.name;q.toString().split(/\s*,\s*/).forEach(function(v){l.name=v;g.push(c.visitState(l,b))});l.name=q}else 1==l.type?(q=c.visitTransition(l,b),d+=q.queryCount,e+=q.depCount,h.push(q)):b.errors.push(new rc(3007,!1))});return{type:7,name:a.name,states:g,transitions:h,queryCount:d,
depCount:e,options:null}};f.visitState=function(a,b){var c=this.visitStyle(a.styles,b),d=a.options&&a.options.params||null;if(c.containsDynamicStyles){var e=new Set,g=d||{};c.styles.forEach(function(h){h instanceof Map&&h.forEach(function(l){tpa(l).forEach(function(q){g.hasOwnProperty(q)||e.add(q)})})});e.size&&(xpa(e.values()),b.errors.push(new rc(3008,!1)))}return{type:0,name:a.name,style:c,options:d?{params:d}:null}};
f.visitTransition=function(a,b){b.queryCount=0;b.depCount=0;var c=ag(this,spa(a.animation),b);return{type:1,matchers:Xoa(a.expr,b.errors),animation:c,queryCount:b.queryCount,depCount:b.depCount,options:bg(a.options)}};f.visitSequence=function(a,b){var c=this;return{type:2,steps:a.steps.map(function(d){return ag(c,d,b)}),options:bg(a.options)}};
f.visitGroup=function(a,b){var c=this,d=b.currentTime,e=0,g=a.steps.map(function(h){b.currentTime=d;h=ag(c,h,b);e=Math.max(e,b.currentTime);return h});b.currentTime=e;return{type:3,steps:g,options:bg(a.options)}};
f.visitAnimate=function(a,b){var c=Dpa(a.timings,b.errors);b.currentAnimateTimings=c;var d=a.styles?a.styles:Qf({});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=Qf(d));b.currentTime+=c.duration+c.delay;var e=this.visitStyle(d,b);e.isEmptyStep=a;a=e}b.currentAnimateTimings=null;return{type:4,timings:c,style:a,options:null}};f.visitStyle=function(a,b){a=this._makeStyleAst(a,b);this._validateStyleAst(a,b);return a};
f._makeStyleAst=function(a,b){var c=[],d=Array.isArray(a.styles)?a.styles:[a.styles];d=k(d);for(var e=d.next();!e.done;e=d.next())e=e.value,"string"===typeof e?"*"===e?c.push(e):b.errors.push(new rc(3002,!1)):c.push(qpa(e));var g=!1,h=null;c.forEach(function(l){if(l instanceof Map&&(l.has("easing")&&(h=l.get("easing"),l.delete("easing")),!g)){l=k(l.values());for(var q=l.next();!q.done;q=l.next())if(0<=q.value.toString().indexOf("{{")){g=!0;break}}});return{type:6,styles:c,easing:h,offset:a.offset,
containsDynamicStyles:g,options:null}};f._validateStyleAst=function(a,b){var c=b.currentAnimateTimings,d=b.currentTime,e=b.currentTime;c&&0<e&&(e-=c.duration+c.delay);a.styles.forEach(function(g){"string"!==typeof g&&g.forEach(function(h,l){var q=b.collectedStyles.get(b.currentQuerySelector),v=q.get(l),y=!0;v&&(e!=d&&e>=v.startTime&&d<=v.endTime&&(b.errors.push(new rc(3010,!1)),y=!1),e=v.startTime);y&&q.set(l,{startTime:e,endTime:d});b.options&&upa(h,b.options,b.errors)})})};
f.visitKeyframes=function(a,b){var c=this,d={type:5,styles:[],options:null};if(!b.currentAnimateTimings)return b.errors.push(new rc(3011,!1)),d;var e=0,g=[],h=!1,l=!1,q=0,v=a.steps.map(function(Z){Z=c._makeStyleAst(Z,b);var Y=null!=Z.offset?Z.offset:Cpa(Z.styles),ka=0;null!=Y&&(e++,ka=Z.offset=Y);l=l||0>ka||1<ka;h=h||ka<q;q=ka;g.push(ka);return Z});l&&b.errors.push(new rc(3012,!1));h&&b.errors.push(new rc(3200,!1));a=a.steps.length;var y=0;0<e&&e<a?b.errors.push(new rc(3202,!1)):0==e&&(y=1/(a-1));
var B=a-1,I=b.currentTime,N=b.currentAnimateTimings,Q=N.duration;v.forEach(function(Z,Y){Y=0<y?Y==B?1:y*Y:g[Y];var ka=Y*Q;b.currentTime=I+N.delay+ka;N.duration=ka;c._validateStyleAst(Z,b);Z.offset=Y;d.styles.push(Z)});return d};f.visitReference=function(a,b){return{type:8,animation:ag(this,spa(a.animation),b),options:bg(a.options)}};f.visitAnimateChild=function(a,b){b.depCount++;return{type:9,options:bg(a.options)}};
f.visitAnimateRef=function(a,b){return{type:10,animation:this.visitReference(a.animation,b),options:bg(a.options)}};
f.visitQuery=function(a,b){var c=b.currentQuerySelector,d=a.options||{};b.queryCount++;b.currentQuery=a;var e=k(Bpa(a.selector)),g=e.next().value;e=e.next().value;b.currentQuerySelector=c.length?c+" "+g:g;Wf(b.collectedStyles,b.currentQuerySelector,new Map);var h=ag(this,spa(a.animation),b);b.currentQuery=null;b.currentQuerySelector=c;return{type:11,selector:g,limit:d.limit||0,optional:!!d.optional,includeSelf:e,animation:h,originalSelector:a.selector,options:bg(a.options)}};
f.visitStagger=function(a,b){b.currentQuery||b.errors.push(new rc(3013,!1));var c="full"===a.timings?{duration:0,delay:0,easing:"full"}:opa(a.timings,b.errors,!0);return{type:12,animation:ag(this,spa(a.animation),b),timings:c,options:null}};var t_b=function(a){this.errors=a;this.depCount=this.queryCount=0;this.currentAnimateTimings=this.currentQuerySelector=this.currentQuery=null;this.currentTime=0;this.collectedStyles=new Map;this.options=null};var Iw=function(){this._map=new Map};Iw.prototype.get=function(a){return this._map.get(a)||[]};Iw.prototype.append=function(a,b){var c=this._map.get(a);c||this._map.set(a,c=[]);c.push.apply(c,Jc(b))};Iw.prototype.has=function(a){return this._map.has(a)};Iw.prototype.clear=function(){this._map.clear()};var u_b=RegExp(":enter","g"),v_b=RegExp(":leave","g"),Fpa=function(){};f=Fpa.prototype;
f.buildKeyframes=function(a,b,c,d,e,g,h,l,q,v){v=void 0===v?[]:v;q=q||new Iw;a=new w_b(a,b,q,d,e,v,[]);a.options=l;d=l.delay?Xf(l.delay):0;a.currentTimeline.delayNextStep(d);x_b(a.currentTimeline,[g],null,a.errors,l);ag(this,c,a);c=a.timelines.filter(function(B){return B.containsAnimation()});if(c.length&&h.size){for(g=c.length-1;0<=g;g--)if(e=c[g],e.element===b){var y=e;break}y&&y._currentEmptyStepKeyframe===y._currentKeyframe&&x_b(y,[h],null,a.errors,l)}return c.length?c.map(function(B){return B.buildKeyframes()}):
[Epa(b,[],[],[],0,d,"",!1)]};f.visitTrigger=function(){};f.visitState=function(){};f.visitTransition=function(){};f.visitAnimateChild=function(a,b){var c=b.subInstructions.get(b.element);if(c){var d=Jw(b,a.options),e=b.currentTimeline.currentTime;c=this._visitSubInstructions(c,d,d.options);e!=c&&Kw(b,c)}b.previousNode=a};
f.visitAnimateRef=function(a,b){var c=Jw(b,a.options);Kw(c);this._applyAnimationRefDelays([a.options,a.animation.options],b,c);this.visitReference(a.animation,c);Kw(b,c.currentTimeline.currentTime);b.previousNode=a};f._applyAnimationRefDelays=function(a,b,c){a=k(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=void 0,g=null==(e=d)?void 0:e.delay;if(g){var h=e=void 0;d="number"===typeof g?g:Xf(wpa(g,null!=(h=null==(e=d)?void 0:e.params)?h:{},b.errors));c.delayNextStep(d)}}};
f._visitSubInstructions=function(a,b,c){var d=b.currentTimeline.currentTime,e=null!=c.duration?Xf(c.duration):null,g=null!=c.delay?Xf(c.delay):null;0!==e&&a.forEach(function(h){var l={duration:null!=e?e:h.duration,delay:b.currentTimeline.currentTime+(null!=g?g:0)+h.delay,easing:""};h=new y_b(b._driver,h.element,h.keyframes,h.preStyleProps,h.postStyleProps,l,h.stretchStartingKeyframe);b.timelines.push(h);d=Math.max(d,l.duration+l.delay)});return d};
f.visitReference=function(a,b){z_b(b,a.options,!0);ag(this,a.animation,b);b.previousNode=a};f.visitSequence=function(a,b){var c=this,d=b.subContextCount,e=b,g=a.options;g&&(g.params||g.delay)&&(e=Jw(b,g),Kw(e),null!=g.delay&&(6==e.previousNode.type&&(A_b(e.currentTimeline),e.previousNode=B_b),e.delayNextStep(Xf(g.delay))));a.steps.length&&(a.steps.forEach(function(h){return ag(c,h,e)}),Lw(e.currentTimeline),e.subContextCount>d&&Kw(e));b.previousNode=a};
f.visitGroup=function(a,b){var c=this,d=[],e=b.currentTimeline.currentTime,g=a.options&&a.options.delay?Xf(a.options.delay):0;a.steps.forEach(function(h){var l=Jw(b,a.options);g&&l.delayNextStep(g);ag(c,h,l);e=Math.max(e,l.currentTimeline.currentTime);d.push(l.currentTimeline)});d.forEach(function(h){return C_b(b.currentTimeline,h)});Kw(b,e);b.previousNode=a};
f._visitTiming=function(a,b){return a.dynamic?(a=a.strValue,a=b.params?wpa(a,b.params,b.errors):a,opa(a,b.errors)):{duration:a.duration,delay:a.delay,easing:a.easing}};
f.visitAnimate=function(a,b){var c=b.currentAnimateTimings=this._visitTiming(a.timings,b),d=b.currentTimeline;c.delay&&(D_b(b.currentTimeline,b.currentTimeline.duration+c.delay),A_b(d));var e=a.style;5==e.type?this.visitKeyframes(e,b):(D_b(b.currentTimeline,b.currentTimeline.duration+c.duration),this.visitStyle(e,b),Lw(d));b.currentAnimateTimings=null;b.previousNode=a};
f.visitStyle=function(a,b){var c=b.currentTimeline,d=b.currentAnimateTimings;!d&&0<c._currentKeyframe.size&&(c.duration+=1,c._loadKeyframe());d=d&&d.easing||a.easing;if(a.isEmptyStep){d&&c._previousKeyframe.set("easing",d);d=k(c._globalTimelineStyles);for(var e=d.next();!e.done;e=d.next()){var g=k(e.value);e=g.next().value;g=g.next().value;c._backFill.set(e,g||"*");c._currentKeyframe.set(e,"*")}c._currentEmptyStepKeyframe=c._currentKeyframe}else x_b(c,a.styles,d,b.errors,b.options);b.previousNode=
a};f.visitKeyframes=function(a,b){var c=b.currentAnimateTimings,d=b.currentTimeline.duration,e=c.duration,g=Jw(b).currentTimeline;g.easing=c.easing;a.styles.forEach(function(h){D_b(g,(h.offset||0)*e);x_b(g,h.styles,h.easing,b.errors,b.options);Lw(g)});C_b(b.currentTimeline,g);Kw(b,d+e);b.previousNode=a};
f.visitQuery=function(a,b){var c=this,d=b.currentTimeline.currentTime,e=a.options||{},g=e.delay?Xf(e.delay):0;g&&(6===b.previousNode.type||0==d&&0<b.currentTimeline._currentKeyframe.size)&&(A_b(b.currentTimeline),b.previousNode=B_b);var h=d;d=E_b(b,a.selector,a.limit,a.includeSelf,e.optional?!0:!1,b.errors);b.currentQueryTotal=d.length;var l=null;d.forEach(function(q,v){b.currentQueryIndex=v;v=Jw(b,a.options,q);g&&v.delayNextStep(g);q===b.element&&(l=v.currentTimeline);ag(c,a.animation,v);Lw(v.currentTimeline);
h=Math.max(h,v.currentTimeline.currentTime)});b.currentQueryIndex=0;b.currentQueryTotal=0;Kw(b,h);l&&(C_b(b.currentTimeline,l),A_b(b.currentTimeline));b.previousNode=a};
f.visitStagger=function(a,b){var c=b.parentContext,d=b.currentTimeline,e=a.timings,g=Math.abs(e.duration),h=g*(b.currentQueryTotal-1);g*=b.currentQueryIndex;switch(0>e.duration?"reverse":e.easing){case "reverse":g=h-g;break;case "full":g=c.currentStaggerTime}e=b.currentTimeline;g&&e.delayNextStep(g);e=e.currentTime;ag(this,a.animation,b);b.previousNode=a;c.currentStaggerTime=d.currentTime-e+(d.startTime-c.currentTimeline.startTime)};
var B_b={},w_b=function(a,b,c,d,e,g,h,l){this._driver=a;this.element=b;this.subInstructions=c;this._enterClassName=d;this._leaveClassName=e;this.errors=g;this.timelines=h;this.currentAnimateTimings=this.parentContext=null;this.previousNode=B_b;this.subContextCount=0;this.options={};this.currentStaggerTime=this.currentQueryTotal=this.currentQueryIndex=0;this.currentTimeline=l||new Mw(this._driver,b,0);h.push(this.currentTimeline)},z_b=function(a,b,c){if(b){var d=a.options;null!=b.duration&&(d.duration=
Xf(b.duration));null!=b.delay&&(d.delay=Xf(b.delay));var e=b.params;if(e){var g=d.params;g||(g=a.options.params={});Object.keys(e).forEach(function(h){c&&g.hasOwnProperty(h)||(g[h]=wpa(e[h],g,a.errors))})}}};w_b.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 Jw=function(a,b,c){b=void 0===b?null:b;c=c||a.element;c=new w_b(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();z_b(c,b);c.currentQueryIndex=a.currentQueryIndex;c.currentQueryTotal=a.currentQueryTotal;c.parentContext=a;a.subContextCount++;return c},Kw=function(a,b){a.previousNode=B_b;a.currentTimeline=a.currentTimeline.fork(a.element,
b);a.timelines.push(a.currentTimeline)};w_b.prototype.delayNextStep=function(a){0<a&&this.currentTimeline.delayNextStep(a)};var E_b=function(a,b,c,d,e,g){var h=[];d&&h.push(a.element);0<b.length&&(b=b.replace(u_b,"."+a._enterClassName),b=b.replace(v_b,"."+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,Jc(a)));e||0!=h.length||g.push(new rc(3014,!1));return h};
gg.Object.defineProperties(w_b.prototype,{params:{configurable:!0,enumerable:!0,get:function(){return this.options.params}}});
var Mw=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()};Mw.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return 0<this._currentKeyframe.size;default:return!0}};Mw.prototype.delayNextStep=function(a){var b=1===this._keyframes.size&&this._pendingStyles.size;this.duration||b?(D_b(this,this.currentTime+a),b&&A_b(this)):this.startTime+=a};
Mw.prototype.fork=function(a,b){Lw(this);return new Mw(this._driver,a,b||this.currentTime,this._elementTimelineStylesLookup)};Mw.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 D_b=function(a,b){Lw(a);a.duration=b;a._loadKeyframe()};
Mw.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 x_b=function(a,b,c,d,e){c&&a._previousKeyframe.set("easing",c);c=e&&e.params||{};b=Ipa(b,a._globalTimelineStyles);b=k(b);for(e=b.next();!e.done;e=b.next()){var g=k(e.value);e=g.next().value;g=g.next().value;g=wpa(g,c,d);a._pendingStyles.set(e,g);if(!a._localTimelineStyles.has(e)){var h=void 0;a._backFill.set(e,null!=(h=a._globalTimelineStyles.get(e))?h:"*")}a._updateStyle(e,g)}},Lw=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)}))},A_b=function(a){for(var b=k(a._localTimelineStyles),c=b.next();!c.done;c=b.next()){var d=k(c.value);c=d.next().value;d=d.next().value;a._pendingStyles.set(c,d);a._updateStyle(c,d)}},C_b=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)})};
Mw.prototype.buildKeyframes=function(){var a=this;Lw(this);var b=new Set,c=new Set,d=1===this._keyframes.size&&0===this.duration,e=[];this._keyframes.forEach(function(v,y){v=Yf(v,new Map,a._backFill);v.forEach(function(B,I){"!"===B?b.add(I):"*"===B&&c.add(I)});d||v.set("offset",y/a.duration);e.push(v)});var g=b.size?xpa(b.values()):[],h=c.size?xpa(c.values()):[];if(d){var l=e[0],q=new Map(l);l.set("offset",0);q.set("offset",1);e=[l,q]}return Epa(this.element,e,g,h,this.duration,this.startTime,this.easing,
!1)};gg.Object.defineProperties(Mw.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 y_b=function(a,b,c,d,e,g,h){h=void 0===h?!1:h;Mw.call(this,a,b,g.delay);this.keyframes=c;this.preStyleProps=d;this.postStyleProps=e;this._stretchStartingKeyframe=h;this.timings={duration:g.duration,delay:g.delay,easing:g.easing}};
V(y_b,Mw);y_b.prototype.containsAnimation=function(){return 1<this.keyframes.length};
y_b.prototype.buildKeyframes=function(){var a=this.keyframes,b=this.timings,c=b.delay,d=b.duration,e=b.easing;if(this._stretchStartingKeyframe&&c){b=[];e=d+c;var g=c/e,h=Yf(a[0]);h.set("offset",0);b.push(h);h=Yf(a[0]);h.set("offset",Hpa(g));b.push(h);g=a.length-1;for(h=1;h<=g;h++){var l=Yf(a[h]),q=l.get("offset");l.set("offset",Hpa((c+q*d)/e));b.push(l)}d=e;c=0;e="";a=b}return Epa(this.element,a,this.preStyleProps,this.postStyleProps,d,c,e,!0)};var F_b=function(){};var G_b=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(" ")),H_b=function(){};V(H_b,F_b);
var dpa=function(a,b,c){var d="",e=b.toString().trim();G_b.has(a)&&0!==b&&"0"!==b&&("number"===typeof b?d="px":(a=b.match(/^[+-]?[\d\.]+([a-z]*)$/))&&0==a[1].length&&c.push(new rc(3005,!1)));return e+d};var Nw=function(){};f=Nw.prototype;f.containsElement=function(a,b){return lpa(a,b)};f.getParentElement=function(a){return kpa(a)};f.query=function(a,b,c){return mpa(a,b,c)};f.computeStyle=function(a,b,c){return c||""};f.animate=function(a,b,c,d){return new Tf(c,d)};Nw.\u0275fac=function(a){return new (a||Nw)};Nw.\u0275prov=nc({token:Nw,factory:Nw.\u0275fac});var I_b=function(){};var J_b={},Mpa=function(a,b,c){this._triggerName=a;this.ast=b;this._stateStyles=c};Mpa.prototype.match=function(a,b,c,d){return Kpa(this.ast.matchers,a,b,c,d)};Mpa.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};
Mpa.prototype.build=function(a,b,c,d,e,g,h,l,q,v){var y=[],B=this.ast.options&&this.ast.options.params||J_b;h=this.buildStyles(c,h&&h.params||J_b,y);var I=l&&l.params||J_b;l=this.buildStyles(d,I,y);var N=new Set,Q=new Map,Z=new Map,Y="void"===d,ka;B={params:Lpa(I,B),delay:null==(ka=this.ast.options)?void 0:ka.delay};a=v?[]:Gpa(a,b,this.ast.animation,e,g,h,l,B,q,y);var la=0;a.forEach(function(Da){la=Math.max(Da.duration+Da.delay,la)});if(y.length)return Jpa(b,this._triggerName,c,d,Y,h,l,[],[],Q,Z,
la,y);a.forEach(function(Da){var za=Da.element,Oa=Wf(Q,za,new Set);Da.preStyleProps.forEach(function(Ya){return Oa.add(Ya)});var Va=Wf(Z,za,new Set);Da.postStyleProps.forEach(function(Ya){return Va.add(Ya)});za!==b&&N.add(za)});y=xpa(N.values());return Jpa(b,this._triggerName,c,d,Y,h,l,a,y,Q,Z,la)};var K_b=function(a,b){this.styles=a;this.defaultParams=b};
K_b.prototype.buildStyles=function(a,b){var c=new Map,d=ppa(this.defaultParams);Object.keys(a).forEach(function(e){var g=a[e];null!==g&&(d[e]=g)});this.styles.styles.forEach(function(e){"string"!==typeof e&&e.forEach(function(g,h){g&&(g=wpa(g,d,b));var l=cpa(h);g=dpa(l,g,b);c.set(h,g)})});return c};var L_b=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 K_b(e.style,e.options&&e.options.params||{}))});Opa(this.states,"true","1");Opa(this.states,"false","0");b.transitions.forEach(function(e){d.transitionFactories.push(new Mpa(a,e,d.states))});this.fallbackTransition=Npa(a,this.states)},M_b=function(a,b,c,d,e){return a.transitionFactories.find(function(g){return g.match(b,c,
d,e)})||null};var N_b=new Iw,O_b=function(a,b,c){this.bodyNode=a;this._driver=b;this._normalizer=c;this._animations=new Map;this._playersById=new Map;this.players=[]};f=O_b.prototype;f.register=function(a,b){var c=[];b=(new s_b(this._driver)).build(b,c,[]);if(c.length)throw new rc(3503,!1);this._animations.set(a,b)};f._buildPlayer=function(a,b,c){var d=a.element;b=epa(a.keyframes,b,c);return this._driver.animate(d,b,a.duration,a.delay,a.easing,[],!0)};
f.create=function(a,b,c){var d=this;c=void 0===c?{}:c;var e=[],g=this._animations.get(a),h=new Map;g?(b=Gpa(this._driver,b,g,"ng-enter","ng-leave",new Map,new Map,c,N_b,e),b.forEach(function(l){var q=Wf(h,l.element,new Map);l.postStyleProps.forEach(function(v){return q.set(v,null)})})):(e.push(new rc(3300,!1)),b=[]);if(e.length)throw new rc(3504,!1);h.forEach(function(l,q){l.forEach(function(v,y){l.set(y,d._driver.computeStyle(q,y,"*"))})});e=b.map(function(l){var q=h.get(l.element);return d._buildPlayer(l,
new Map,q)});e=Uf(e);this._playersById.set(a,e);e.onDestroy(function(){return d.destroy(a)});this.players.push(e);return e};f.destroy=function(a){var b=this._getPlayer(a);b.destroy();this._playersById.delete(a);a=this.players.indexOf(b);0<=a&&this.players.splice(a,1)};f._getPlayer=function(a){a=this._playersById.get(a);if(!a)throw new rc(3301,!1);return a};f.listen=function(a,b,c,d){b=hpa(b,"","","");gpa(this._getPlayer(a),c,b,d);return function(){}};
f.command=function(a,b,c,d){if("register"==c)this.register(a,d[0]);else if("create"==c)this.create(a,b,d[0]||{});else switch(b=this._getPlayer(a),c){case "play":b.play();break;case "pause":b.pause();break;case "reset":b.reset();break;case "restart":b.restart();break;case "finish":b.finish();break;case "init":b.init();break;case "setPosition":b.setPosition(parseFloat(d[0]));break;case "destroy":this.destroy(a)}};var P_b=[],Q_b={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Rpa={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},R_b=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=ppa(a),delete a.value,this.options=a):this.options={};this.options.params||(this.options.params={})},S_b=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])})}};gg.Object.defineProperties(R_b.prototype,{params:{configurable:!0,enumerable:!0,get:function(){return this.options.params}}});var T_b=new R_b("void"),Ow=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;cg(b,this._hostClassName)};f=Ow.prototype;
f.listen=function(a,b,c,d){var e=this;if(!this._triggers.has(b))throw new rc(3302,!1);if(null==c||0==c.length)throw new rc(3303,!1);if("start"!=c&&"done"!=c)throw new rc(3400,!1);var g=Wf(this._elementListeners,a,[]),h={name:b,phase:c,callback:d};g.push(h);var l=Wf(this._engine.statesByElement,a,new Map);l.has(b)||(cg(a,"ng-trigger"),cg(a,"ng-trigger-"+b),l.set(b,T_b));return function(){U_b(e._engine,function(){var q=g.indexOf(h);0<=q&&g.splice(q,1);e._triggers.has(b)||l.delete(b)})}};
f.register=function(a,b){if(this._triggers.has(a))return!1;this._triggers.set(a,b);return!0};f._getTrigger=function(a){a=this._triggers.get(a);if(!a)throw new rc(3401,!1);return a};
f.trigger=function(a,b,c,d){var e=this;d=void 0===d?!0:d;var g=this._getTrigger(b),h=new V_b(this.id,b,a),l=this._engine.statesByElement.get(a);l||(cg(a,"ng-trigger"),cg(a,"ng-trigger-"+b),this._engine.statesByElement.set(a,l=new Map));var q=l.get(b),v=new R_b(c,this.id);c&&c.hasOwnProperty("value")||!q||S_b(v,q.options);l.set(b,v);q||(q=T_b);if("void"!==v.value&&q.value===v.value){if(!Ypa(q.params,v.params)){d=[];var y=g.fallbackTransition.buildStyles(q.value,q.params,d),B=g.fallbackTransition.buildStyles(v.value,
v.params,d);d.length?this._engine.reportError(d):U_b(this._engine,function(){$f(a,y);Zf(a,B)})}}else{c=Wf(this._engine.playersByElement,a,[]);c.forEach(function(N){N.namespaceId==e.id&&N.triggerName==b&&N.queued&&N.destroy()});l=M_b(g,q.value,v.value,a,v.params);var I=!1;if(!l){if(!d)return;l=g.fallbackTransition;I=!0}this._engine.totalQueuedPlayers++;this._queue.push({element:a,triggerName:b,transition:l,fromState:q,toState:v,player:h,isFallbackTransition:I});I||(cg(a,"ng-animate-queued"),h.onStart(function(){dg(a,
"ng-animate-queued")}));h.onDone(function(){var N=e.players.indexOf(h);0<=N&&e.players.splice(N,1);if(N=e._engine.playersByElement.get(a)){var Q=N.indexOf(h);0<=Q&&N.splice(Q,1)}});this.players.push(h);c.push(h);return h}};f.deregister=function(a){var b=this;this._triggers.delete(a);this._engine.statesByElement.forEach(function(c){return c.delete(a)});this._elementListeners.forEach(function(c,d){b._elementListeners.set(d,c.filter(function(e){return e.name!=a}))})};
var W_b=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))};
Ow.prototype._signalRemovalForInnerTriggers=function(a,b){var c=this,d=this._engine.driver.query(a,".ng-trigger",!0);d.forEach(function(e){if(!e.__ng_removed){var g=X_b(c._engine,e);g.size?g.forEach(function(h){return Y_b(h,e,b,!1,!0)}):W_b(c,e)}});Z_b(this._engine,function(){return d.forEach(function(e){return W_b(c,e)})})};
var Y_b=function(a,b,c,d,e){var g=a._engine.statesByElement.get(b),h=new Map;if(g){var l=[];g.forEach(function(q,v){h.set(v,q.value);a._triggers.has(v)&&(q=a.trigger(b,v,"void",e))&&l.push(q)});if(l.length){$_b(a._engine,a.id,b,!0,c,h);if(d)Uf(l).onDone(function(){return Upa(a._engine,b)});return!0}}return!1},a0b=function(a,b){var c=a._elementListeners.get(b),d=a._engine.statesByElement.get(b);if(c&&d){var e=new Set;c.forEach(function(g){g=g.name;if(!e.has(g)){e.add(g);var h=a._triggers.get(g).fallbackTransition,
l=d.get(g)||T_b,q=new R_b("void"),v=new V_b(a.id,g,b);a._engine.totalQueuedPlayers++;a._queue.push({element:b,triggerName:g,transition:h,fromState:l,toState:q,player:v,isFallbackTransition:!0})}})}};
Ow.prototype.removeNode=function(a,b){var c=this,d=this._engine;a.childElementCount&&this._signalRemovalForInnerTriggers(a,b);if(!Y_b(this,a,b,!0)){var e=!1;if(d.totalAnimations){var g=d.players.length?d.playersByQueriedElement.get(a):[];if(g&&g.length)e=!0;else for(g=a;g=g.parentNode;)if(d.statesByElement.get(g)){e=!0;break}}a0b(this,a);e?$_b(d,this.id,a,!1,b):(e=a.__ng_removed,e&&e!==Q_b||(U_b(d,function(){return W_b(c,a)}),b0b(d,a),d._onRemovalComplete(a,b)))}};
Ow.prototype.insertNode=function(a){cg(a,this._hostClassName)};
var c0b=function(a,b){var c=[];a._queue.forEach(function(d){var e=d.player;if(!e.destroyed){var g=d.element,h=a._elementListeners.get(g);h&&h.forEach(function(l){if(l.name==d.triggerName){var q=hpa(g,d.triggerName,d.fromState.value,d.toState.value);q._data=b;gpa(d.player,l.phase,q,l.callback)}});e.markedForDestroy?U_b(a._engine,function(){e.destroy()}):c.push(d)}});a._queue=[];return c.sort(function(d,e){var g=d.transition.ast.depCount,h=e.transition.ast.depCount;return 0==g||0==h?g-h:a._engine.driver.containsElement(d.element,
e.element)?1:-1})};Ow.prototype.destroy=function(a){this.players.forEach(function(b){return b.destroy()});this._signalRemovalForInnerTriggers(this.hostElement,a)};
var Pw=function(a,b,c){this.bodyNode=a;this.driver=b;this._normalizer=c;this.players=[];this.newHostElements=new Map;this.playersByElement=new Map;this.playersByQueriedElement=new Map;this.statesByElement=new Map;this.disabledNodes=new Set;this.totalQueuedPlayers=this.totalAnimations=0;this._namespaceLookup={};this._namespaceList=[];this._flushFns=[];this._whenQuietFns=[];this.namespacesByHostElement=new Map;this.collectedEnterElements=[];this.collectedLeaveElements=[];this.onRemovalComplete=function(){}};
f=Pw.prototype;f._onRemovalComplete=function(a,b){this.onRemovalComplete(a,b)};f._balanceNamespaceList=function(a,b){var c=this._namespaceList,d=this.namespacesByHostElement;if(0<=c.length-1){for(var e=!1,g=this.driver.getParentElement(b);g;){var h=d.get(g);if(h){e=c.indexOf(h);c.splice(e+1,0,a);e=!0;break}g=this.driver.getParentElement(g)}e||c.unshift(a)}else c.push(a);d.set(b,a);return a};
f.register=function(a,b){var c=this._namespaceLookup[a];c||(c=new Ow(a,b,this),this.bodyNode&&this.driver.containsElement(this.bodyNode,b)?this._balanceNamespaceList(c,b):(this.newHostElements.set(b,c),this.collectedEnterElements.push(b)),c=this._namespaceLookup[a]=c);return c};f.registerTrigger=function(a,b,c){(a=this._namespaceLookup[a])&&a.register(b,c)&&this.totalAnimations++};
f.destroy=function(a,b){var c=this;if(a){var d=this._fetchNamespace(a);U_b(this,function(){c.namespacesByHostElement.delete(d.hostElement);delete c._namespaceLookup[a];var e=c._namespaceList.indexOf(d);0<=e&&c._namespaceList.splice(e,1)});Z_b(this,function(){return d.destroy(b)})}};f._fetchNamespace=function(a){return this._namespaceLookup[a]};
var X_b=function(a,b){var c=new Set;if(b=a.statesByElement.get(b)){b=k(b.values());for(var d=b.next();!d.done;d=b.next())d=d.value,d.namespaceId&&(d=a._fetchNamespace(d.namespaceId))&&c.add(d)}return c};Pw.prototype.trigger=function(a,b,c,d){return Ppa(b)&&(a=this._fetchNamespace(a))?(a.trigger(b,c,d),!0):!1};
Pw.prototype.insertNode=function(a,b,c,d){if(Ppa(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 d0b=function(a,b,c){c?a.disabledNodes.has(b)||(a.disabledNodes.add(b),cg(b,"ng-animate-disabled")):a.disabledNodes.has(b)&&(a.disabledNodes.delete(b),dg(b,"ng-animate-disabled"))};
Pw.prototype.removeNode=function(a,b,c){if(Ppa(b)){var d=a?this._fetchNamespace(a):null;d?d.removeNode(b,c):$_b(this,a,b,!1,c);(d=this.namespacesByHostElement.get(b))&&d.id!==a&&d.removeNode(b,c)}else this._onRemovalComplete(b,c)};var $_b=function(a,b,c,d,e,g){a.collectedLeaveElements.push(c);c.__ng_removed={namespaceId:b,setForRemoval:e,hasAnimation:d,removedBeforeQueried:!1,previousTriggersValues:g}};Pw.prototype.listen=function(a,b,c,d,e){return Ppa(b)?this._fetchNamespace(a).listen(b,c,d,e):function(){}};
Pw.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 b0b=function(a,b){var c=a.driver.query(b,".ng-trigger",!0);c.forEach(function(d){return e0b(a,d)});0!=a.playersByQueriedElement.size&&(c=a.driver.query(b,".ng-animating",!0),c.forEach(function(d){return f0b(a,d)}))},e0b=function(a,b){(a=a.playersByElement.get(b))&&a.forEach(function(c){c.queued?c.markedForDestroy=!0:c.destroy()})},f0b=function(a,b){(a=a.playersByQueriedElement.get(b))&&a.forEach(function(c){return c.finish()})},Upa=function(a,b){var c=b.__ng_removed;if(c&&c.setForRemoval){b.__ng_removed=
Q_b;if(c.namespaceId){b0b(a,b);var d=a._fetchNamespace(c.namespaceId);d&&W_b(d,b)}a._onRemovalComplete(b,c.setForRemoval)}var e;(null==(e=b.classList)?0:e.contains("ng-animate-disabled"))&&d0b(a,b,!1);a.driver.query(b,".ng-animate-disabled",!0).forEach(function(g){d0b(a,g,!1)})};
Pw.prototype.flush=function(a){var b=this;a=void 0===a?-1:a;var c=[];this.newHostElements.size&&(this.newHostElements.forEach(function(g,h){return b._balanceNamespaceList(g,h)}),this.newHostElements.clear());if(this.totalAnimations&&this.collectedEnterElements.length)for(var d=0;d<this.collectedEnterElements.length;d++)cg(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++)Upa(this,this.collectedLeaveElements[a]);this.totalQueuedPlayers=0;this.collectedEnterElements.length=0;this.collectedLeaveElements.length=0;this._flushFns.forEach(function(g){return g()});this._flushFns=[];if(this._whenQuietFns.length){var e=this._whenQuietFns;this._whenQuietFns=[];if(c.length)Uf(c).onDone(function(){e.forEach(function(g){return g()})});else e.forEach(function(g){return g()})}};
Pw.prototype.reportError=function(){throw new rc(3402,!1);};
Pw.prototype._flushAnimations=function(a,b){var c=this,d=new Iw,e=[],g=new Map,h=[],l=new Map,q=new Map,v=new Map,y=new Set;this.disabledNodes.forEach(function(hb){y.add(hb);hb=c.driver.query(hb,".ng-animate-queued",!0);for(var Pb=0;Pb<hb.length;Pb++)y.add(hb[Pb])});var B=this.bodyNode,I=Array.from(this.statesByElement.keys()),N=Tpa(I,this.collectedEnterElements),Q=new Map,Z=0;N.forEach(function(hb,Pb){var sb="ng-enter"+Z++;Q.set(Pb,sb);hb.forEach(function(Yb){return cg(Yb,sb)})});for(var Y=[],ka=
new Set,la=new Set,Da=0;Da<this.collectedLeaveElements.length;Da++){var za=this.collectedLeaveElements[Da],Oa=za.__ng_removed;Oa&&Oa.setForRemoval&&(Y.push(za),ka.add(za),Oa.hasAnimation?this.driver.query(za,".ng-star-inserted",!0).forEach(function(hb){return ka.add(hb)}):la.add(za))}var Va=new Map,Ya=Tpa(I,Array.from(ka));Ya.forEach(function(hb,Pb){var sb="ng-leave"+Z++;Va.set(Pb,sb);hb.forEach(function(Yb){return cg(Yb,sb)})});a.push(function(){N.forEach(function(hb,Pb){var sb=Q.get(Pb);hb.forEach(function(Yb){return dg(Yb,
sb)})});Ya.forEach(function(hb,Pb){var sb=Va.get(Pb);hb.forEach(function(Yb){return dg(Yb,sb)})});Y.forEach(function(hb){Upa(c,hb)})});var Xb=[],Bb=[];for(a=this._namespaceList.length-1;0<=a;a--)c0b(this._namespaceList[a],b).forEach(function(hb){var Pb=hb.player,sb=hb.element;Xb.push(Pb);if(c.collectedEnterElements.length){var Yb=sb.__ng_removed;if(Yb&&Yb.setForMove){if(Yb.previousTriggersValues&&Yb.previousTriggersValues.has(hb.triggerName)){Yb=Yb.previousTriggersValues.get(hb.triggerName);var xc=
c.statesByElement.get(hb.element);if(xc&&xc.has(hb.triggerName)){var Wc=xc.get(hb.triggerName);Wc.value=Yb;xc.set(hb.triggerName,Wc)}}Pb.destroy();return}}Yb=!B||!c.driver.containsElement(B,sb);xc=Va.get(sb);Wc=Q.get(sb);var nd=c._buildInstruction(hb,d,Wc,xc,Yb);if(nd.errors&&nd.errors.length)Bb.push(nd);else if(Yb)Pb.onStart(function(){return $f(sb,nd.fromStyles)}),Pb.onDestroy(function(){return Zf(sb,nd.toStyles)}),e.push(Pb);else if(hb.isFallbackTransition)Pb.onStart(function(){return $f(sb,nd.fromStyles)}),
Pb.onDestroy(function(){return Zf(sb,nd.toStyles)}),e.push(Pb);else{var Vf=[];nd.timelines.forEach(function(he){he.stretchStartingKeyframe=!0;c.disabledNodes.has(he.element)||Vf.push(he)});nd.timelines=Vf;d.append(sb,nd.timelines);h.push({instruction:nd,player:Pb,element:sb});nd.queriedElements.forEach(function(he){return Wf(l,he,[]).push(Pb)});nd.preStyleProps.forEach(function(he,Ue){if(he.size){var nk=q.get(Ue);nk||q.set(Ue,nk=new Set);he.forEach(function(Voa,Kv){return nk.add(Kv)})}});nd.postStyleProps.forEach(function(he,
Ue){var nk=v.get(Ue);nk||v.set(Ue,nk=new Set);he.forEach(function(Voa,Kv){return nk.add(Kv)})})}});if(Bb.length){var db=[];Bb.forEach(function(){db.push(new rc(3505,!1))});Xb.forEach(function(hb){return hb.destroy()});this.reportError(db)}var wa=new Map,Na=new Map;h.forEach(function(hb){var Pb=hb.element;d.has(Pb)&&(Na.set(Pb,Pb),c._beforeAnimationBuild(hb.player.namespaceId,hb.instruction,wa))});e.forEach(function(hb){var Pb=hb.element;c._getPreviousPlayers(Pb,!1,hb.namespaceId,hb.triggerName,null).forEach(function(sb){Wf(wa,
Pb,[]).push(sb);sb.destroy()})});var Qa=Y.filter(function(hb){return Zpa(hb,q,v)}),nb=new Map;Spa(nb,this.driver,la,v,"*").forEach(function(hb){Zpa(hb,q,v)&&Qa.push(hb)});var ib=new Map;N.forEach(function(hb){Spa(ib,c.driver,new Set(hb),q,"!")});Qa.forEach(function(hb){var Pb=nb.get(hb),sb=ib.get(hb),Yb,xc;nb.set(hb,new Map([].concat(Jc(null!=(Yb=null==Pb?void 0:Pb.entries())?Yb:[]),Jc(null!=(xc=null==sb?void 0:sb.entries())?xc:[]))))});var hd=[],pb=[],Ib={};h.forEach(function(hb){var Pb=hb.element,
sb=hb.player,Yb=hb.instruction;if(d.has(Pb))if(y.has(Pb))sb.onDestroy(function(){return Zf(Pb,Yb.toStyles)}),sb.disabled=!0,sb.totalTime=Yb.totalTime,e.push(sb);else{var xc=Ib;if(1<Na.size){hb=Pb;for(var Wc=[];hb=hb.parentNode;){var nd=Na.get(hb);if(nd){xc=nd;break}Wc.push(hb)}Wc.forEach(function(Vf){return Na.set(Vf,xc)})}hb=c._buildAnimation(sb.namespaceId,Yb,wa,g,ib,nb);g0b(sb,hb);xc===Ib?hd.push(sb):((hb=c.playersByElement.get(xc))&&hb.length&&(sb.parentPlayer=Uf(hb)),e.push(sb))}else $f(Pb,Yb.fromStyles),
sb.onDestroy(function(){return Zf(Pb,Yb.toStyles)}),pb.push(sb),y.has(Pb)&&e.push(sb)});pb.forEach(function(hb){var Pb=g.get(hb.element);Pb&&Pb.length&&(Pb=Uf(Pb),g0b(hb,Pb))});e.forEach(function(hb){hb.parentPlayer?h0b(hb,hb.parentPlayer):hb.destroy()});for(b=0;b<Y.length;b++)if(la=Y[b],a=la.__ng_removed,dg(la,"ng-leave"),!a||!a.hasAnimation){a=[];if(l.size)for((I=l.get(la))&&I.length&&a.push.apply(a,Jc(I)),I=this.driver.query(la,".ng-animating",!0),Da=0;Da<I.length;Da++)(za=l.get(I[Da]))&&za.length&&
a.push.apply(a,Jc(za));a=a.filter(function(hb){return!hb.destroyed});a.length?Vpa(this,la,a):Upa(this,la)}Y.length=0;hd.forEach(function(hb){c.players.push(hb);hb.onDone(function(){hb.destroy();var Pb=c.players.indexOf(hb);c.players.splice(Pb,1)});hb.play()});return hd};var U_b=function(a,b){a._flushFns.push(b)},Z_b=function(a,b){a._whenQuietFns.push(b)};
Pw.prototype._getPreviousPlayers=function(a,b,c,d,e){var g=[];if(b)(e=this.playersByQueriedElement.get(a))&&(g=e);else if(a=this.playersByElement.get(a)){var h=!e||"void"==e;a.forEach(function(l){l.queued||(h||l.triggerName==d)&&g.push(l)})}if(c||d)g=g.filter(function(l){return c&&c!=l.namespaceId||d&&d!=l.triggerName?!1:!0});return g};
Pw.prototype._beforeAnimationBuild=function(a,b,c){var d=b.triggerName,e=b.element;a=b.isRemovalTransition?void 0:a;d=b.isRemovalTransition?void 0:d;for(var g={},h=k(b.timelines),l=h.next();!l.done;g={$jscomp$loop$prop$players$2266:g.$jscomp$loop$prop$players$2266},l=h.next()){l=l.value.element;var q=l!==e;g.$jscomp$loop$prop$players$2266=Wf(c,l,[]);this._getPreviousPlayers(l,q,a,d,b.toState).forEach(function(v){return function(y){var B=y._player;B.beforeDestroy&&B.beforeDestroy();y.destroy();v.$jscomp$loop$prop$players$2266.push(y)}}(g))}$f(e,
b.fromStyles)};
Pw.prototype._buildAnimation=function(a,b,c,d,e,g){var h=this,l=b.triggerName,q=b.element,v=[],y=new Set,B=new Set,I=b.timelines.map(function(Q){var Z=Q.element;y.add(Z);var Y=Z.__ng_removed;if(Y&&Y.removedBeforeQueried)return new Tf(Q.duration,Q.delay);Y=Z!==q;var ka=Xpa((c.get(Z)||P_b).map(function(za){return za._player})).filter(function(za){return za.element?za.element===Z:!1}),la=e.get(Z),Da=g.get(Z);la=epa(Q.keyframes,la,Da);ka=h._buildPlayer(Q,la,ka);Q.subTimeline&&d&&B.add(Z);Y&&(Q=new V_b(a,
l,Z),g0b(Q,ka),v.push(Q));return ka});v.forEach(function(Q){Wf(h.playersByQueriedElement,Q.element,[]).push(Q);Q.onDone(function(){var Z=h.playersByQueriedElement,Y=Q.element,ka=Z.get(Y);if(ka){if(ka.length){var la=ka.indexOf(Q);ka.splice(la,1)}0==ka.length&&Z.delete(Y)}return ka})});y.forEach(function(Q){return cg(Q,"ng-animating")});var N=Uf(I);N.onDestroy(function(){y.forEach(function(Q){return dg(Q,"ng-animating")});Zf(q,b.toStyles)});B.forEach(function(Q){Wf(d,Q,[]).push(N)});return N};
Pw.prototype._buildPlayer=function(a,b,c){return 0<b.length?this.driver.animate(a.element,b,a.duration,a.delay,a.easing,c):new Tf(a.duration,a.delay)};
var V_b=function(a,b,c){this.namespaceId=a;this.triggerName=b;this.element=c;this._player=new Tf;this._containsRealPlayer=!1;this._queuedCallbacks=new Map;this.destroyed=!1;this.parentPlayer=null;this.disabled=this.markedForDestroy=!1;this.queued=!0;this.totalTime=0},g0b=function(a,b){a._containsRealPlayer||(a._player=b,a._queuedCallbacks.forEach(function(c,d){c.forEach(function(e){return gpa(b,d,void 0,e)})}),a._queuedCallbacks.clear(),a._containsRealPlayer=!0,a.totalTime=b.totalTime,a.queued=!1)},
h0b=function(a,b){var c=a._player;if(c.triggerCallback)b.onStart(function(){return c.triggerCallback("start")});b.onDone(function(){return a.finish()});b.onDestroy(function(){return a.destroy()})};f=V_b.prototype;f._queueEvent=function(a,b){Wf(this._queuedCallbacks,a,[]).push(b)};f.onDone=function(a){this.queued&&this._queueEvent("done",a);this._player.onDone(a)};f.onStart=function(a){this.queued&&this._queueEvent("start",a);this._player.onStart(a)};
f.onDestroy=function(a){this.queued&&this._queueEvent("destroy",a);this._player.onDestroy(a)};f.init=function(){this._player.init()};f.hasStarted=function(){return this.queued?!1:this._player.hasStarted()};f.play=function(){!this.queued&&this._player.play()};f.pause=function(){!this.queued&&this._player.pause()};f.restart=function(){!this.queued&&this._player.restart()};f.finish=function(){this._player.finish()};f.destroy=function(){this.destroyed=!0;this._player.destroy()};
f.reset=function(){!this.queued&&this._player.reset()};f.setPosition=function(a){this.queued||this._player.setPosition(a)};f.getPosition=function(){return this.queued?0:this._player.getPosition()};f.triggerCallback=function(a){var b=this._player;b.triggerCallback&&b.triggerCallback(a)};var Qw=function(a,b,c){var d=this;this.bodyNode=a;this._driver=b;this._normalizer=c;this._triggerCache={};this.onRemovalComplete=function(){};this._transitionEngine=new Pw(a,b,c);this._timelineEngine=new O_b(a,b,c);this._transitionEngine.onRemovalComplete=function(e,g){return d.onRemovalComplete(e,g)}};f=Qw.prototype;
f.registerTrigger=function(a,b,c,d,e){a=a+"-"+d;c=this._triggerCache[a];if(!c){c=[];e=(new s_b(this._driver)).build(e,c,[]);if(c.length)throw new rc(3404,!1);c=new L_b(d,e,this._normalizer);this._triggerCache[a]=c}this._transitionEngine.registerTrigger(b,d,c)};f.register=function(a,b){this._transitionEngine.register(a,b)};f.destroy=function(a,b){this._transitionEngine.destroy(a,b)};f.onRemove=function(a,b,c){this._transitionEngine.removeNode(a,b,c)};
f.disableAnimations=function(a,b){d0b(this._transitionEngine,a,b)};f.process=function(a,b,c,d){"@"==c.charAt(0)?(c=k(ipa(c)),a=c.next().value,c=c.next().value,this._timelineEngine.command(a,b,c,d)):this._transitionEngine.trigger(a,b,c,d)};f.listen=function(a,b,c,d,e){return"@"==c.charAt(0)?(c=k(ipa(c)),a=c.next().value,c=c.next().value,this._timelineEngine.listen(a,b,c,e)):this._transitionEngine.listen(a,b,c,d,e)};f.flush=function(a){this._transitionEngine.flush(void 0===a?-1:a)};
gg.Object.defineProperties(Qw.prototype,{players:{configurable:!0,enumerable:!0,get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)}}});var aqa=function(a,b,c){this._element=a;this._startStyles=b;this._endStyles=c;this._state=0;var d=i0b.get(a);d||i0b.set(a,d=new Map);this._initialStyles=d};aqa.prototype.start=function(){1>this._state&&(this._startStyles&&Zf(this._element,this._startStyles,this._initialStyles),this._state=1)};aqa.prototype.finish=function(){this.start();2>this._state&&(Zf(this._element,this._initialStyles),this._endStyles&&(Zf(this._element,this._endStyles),this._endStyles=null),this._state=1)};
aqa.prototype.destroy=function(){this.finish();3>this._state&&(i0b.delete(this._element),this._startStyles&&($f(this._element,this._startStyles),this._endStyles=null),this._endStyles&&($f(this._element,this._endStyles),this._endStyles=null),Zf(this._element,this._initialStyles),this._state=3)};var i0b=new WeakMap;var j0b=function(a,b,c,d){this.element=a;this.keyframes=b;this.options=c;this._specialStyles=d;this._onDoneFns=[];this._onStartFns=[];this._onDestroyFns=[];this._destroyed=this._started=this._finished=this._initialized=!1;this._originalOnDoneFns=[];this._originalOnStartFns=[];this.time=0;this.parentPlayer=null;this.currentSnapshot=new Map;this._duration=c.duration;this._delay=c.delay||0;this.time=this._duration+this._delay};f=j0b.prototype;
f._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(a){return a()}),this._onDoneFns=[])};f.init=function(){this._buildPlayer();this._preparePlayerBeforeStart()};f._buildPlayer=function(){var a=this;if(!this._initialized){this._initialized=!0;var b=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,b,this.options);this._finalKeyframe=b.length?b[b.length-1]:new Map;this.domPlayer.addEventListener("finish",function(){return a._onFinish()})}};
f._preparePlayerBeforeStart=function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()};f._convertKeyframesToObject=function(a){var b=[];a.forEach(function(c){b.push(Object.fromEntries(c))});return b};f._triggerWebAnimation=function(a,b,c){return a.animate(this._convertKeyframesToObject(b),c)};f.onStart=function(a){this._originalOnStartFns.push(a);this._onStartFns.push(a)};f.onDone=function(a){this._originalOnDoneFns.push(a);this._onDoneFns.push(a)};f.onDestroy=function(a){this._onDestroyFns.push(a)};
f.play=function(){this._buildPlayer();this.hasStarted()||(this._onStartFns.forEach(function(a){return a()}),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start());this.domPlayer.play()};f.pause=function(){this.init();this.domPlayer.pause()};f.finish=function(){this.init();this._specialStyles&&this._specialStyles.finish();this._onFinish();this.domPlayer.finish()};
f.reset=function(){this._resetDomPlayerState();this._started=this._finished=this._destroyed=!1;this._onStartFns=this._originalOnStartFns;this._onDoneFns=this._originalOnDoneFns};f._resetDomPlayerState=function(){this.domPlayer&&this.domPlayer.cancel()};f.restart=function(){this.reset();this.play()};f.hasStarted=function(){return this._started};
f.destroy=function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(a){return a()}),this._onDestroyFns=[])};f.setPosition=function(a){void 0===this.domPlayer&&this.init();this.domPlayer.currentTime=a*this.time};f.getPosition=function(){return this.domPlayer.currentTime/this.time};
f.beforeDestroy=function(){var a=this,b=new Map;this.hasStarted()&&this._finalKeyframe.forEach(function(c,d){if("offset"!==d){var e=b.set,g;a._finished?g=c:g=window.getComputedStyle(a.element)[d];e.call(b,d,g)}});this.currentSnapshot=b};f.triggerCallback=function(a){a="start"===a?this._onStartFns:this._onDoneFns;a.forEach(function(b){return b()});a.length=0};gg.Object.defineProperties(j0b.prototype,{totalTime:{configurable:!0,enumerable:!0,get:function(){return this._delay+this._duration}}});var k0b=function(){};f=k0b.prototype;f.containsElement=function(a,b){return lpa(a,b)};f.getParentElement=function(a){return kpa(a)};f.query=function(a,b,c){return mpa(a,b,c)};f.computeStyle=function(a,b){return window.getComputedStyle(a)[b]};
f.animate=function(a,b,c,d,e,g){g=void 0===g?[]:g;var h={duration:c,delay:d,fill:0==d?"both":"forwards"};e&&(h.easing=e);var l=new Map;e=g.filter(function(v){return v instanceof j0b});0!==c&&0!==d||e.forEach(function(v){v.currentSnapshot.forEach(function(y,B){return l.set(B,y)})});var q=rpa(b).map(function(v){return Yf(v)});q=zpa(a,q,l);b=bqa(a,q);return new j0b(a,q,h,b)};var Rw=function(a,b){this._nextAnimationId=0;this._renderer=a.createRenderer(b.body,{id:"0",encapsulation:2,styles:[],data:{animation:[]}})};V(Rw,p_b);Rw.prototype.build=function(a){var b=this._nextAnimationId.toString();this._nextAnimationId++;a=[Array.isArray(a)?{type:2,steps:a,options:null}:a];this._renderer.setProperty(null,"@@"+b+":register",a);return new l0b(b,this._renderer)};Rw.\u0275fac=function(a){return new (a||Rw)(w(PVb),w(eg))};Rw.\u0275prov=nc({token:Rw,factory:Rw.\u0275fac});
var l0b=function(a,b){this._id=a;this._renderer=b};V(l0b,q_b);l0b.prototype.create=function(a,b){return new m0b(this._id,a,b||{},this._renderer)};var m0b=function(a,b,c,d){this.id=a;this.element=b;this._renderer=d;this.parentPlayer=null;this._started=!1;this.totalTime=0;this._command("create",c)};f=m0b.prototype;f._listen=function(a,b){return this._renderer.listen(this.element,"@@"+this.id+":"+a,b)};
f._command=function(a){return this._renderer.setProperty(this.element,"@@"+this.id+":"+a,Fc.apply(1,arguments))};f.onDone=function(a){this._listen("done",a)};f.onStart=function(a){this._listen("start",a)};f.onDestroy=function(a){this._listen("destroy",a)};f.init=function(){this._command("init")};f.hasStarted=function(){return this._started};f.play=function(){this._command("play");this._started=!0};f.pause=function(){this._command("pause")};f.restart=function(){this._command("restart")};f.finish=function(){this._command("finish")};
f.destroy=function(){this._command("destroy")};f.reset=function(){this._command("reset");this._started=!1};f.setPosition=function(a){this._command("setPosition",a)};f.getPosition=function(){var a,b;return null!=(b=null==(a=this._renderer.engine.players[+this.id])?void 0:a.getPosition())?b:0};var Sw=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;this.promise=Promise.resolve(0);b.onRemovalComplete=function(d,e){var g=null==e?void 0:e.parentNode(d);g&&e.removeChild(g,d)}};
Sw.prototype.createRenderer=function(a,b){var c=this,d=this.delegate.createRenderer(a,b);if(!(a&&b&&b.data&&b.data.animation))return b=this._rendererCache.get(d),b||(b=new n0b("",d,this.engine,function(){return c._rendererCache.delete(d)}),this._rendererCache.set(d,b)),b;var e=b.id,g=b.id+"-"+this._currentId;this._currentId++;this.engine.register(g,a);var h=function(l){Array.isArray(l)?l.forEach(h):c.engine.registerTrigger(e,g,a,l.name,l)};b.data.animation.forEach(h);return new o0b(this,g,d,this.engine)};
Sw.prototype.begin=function(){this._cdRecurDepth++;this.delegate.begin&&this.delegate.begin()};Sw.prototype._scheduleCountTask=function(){var a=this;this.promise.then(function(){a._microtaskId++})};
var p0b=function(a,b,c,d){0<=b&&b<a._microtaskId?a._zone.run(function(){return c(d)}):(0==a._animationCallbacksBuffer.length&&Promise.resolve(null).then(function(){a._zone.run(function(){a._animationCallbacksBuffer.forEach(function(e){var g=k(e);e=g.next().value;g=g.next().value;e(g)});a._animationCallbacksBuffer=[]})}),a._animationCallbacksBuffer.push([c,d]))};
Sw.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()};Sw.\u0275fac=function(a){return new (a||Sw)(w(PVb),w(Qw),w(te))};Sw.\u0275prov=nc({token:Sw,factory:Sw.\u0275fac});
var n0b=function(a,b,c,d){this.namespaceId=a;this.delegate=b;this.engine=c;this._onDestroy=d;this.destroyNode=this.delegate.destroyNode?function(e){return b.destroyNode(e)}:null};f=n0b.prototype;f.destroy=function(){this.engine.destroy(this.namespaceId,this.delegate);this.delegate.destroy();var a;null==(a=this._onDestroy)||a.call(this)};f.createElement=function(a,b){return this.delegate.createElement(a,b)};f.createComment=function(a){return this.delegate.createComment(a)};f.createText=function(a){return this.delegate.createText(a)};
f.appendChild=function(a,b){this.delegate.appendChild(a,b);this.engine._transitionEngine.insertNode(this.namespaceId,b,a,!1)};f.insertBefore=function(a,b,c,d){d=void 0===d?!0:d;this.delegate.insertBefore(a,b,c);this.engine._transitionEngine.insertNode(this.namespaceId,b,a,d)};f.removeChild=function(a,b){this.engine.onRemove(this.namespaceId,b,this.delegate)};f.selectRootElement=function(a,b){return this.delegate.selectRootElement(a,b)};f.parentNode=function(a){return this.delegate.parentNode(a)};
f.nextSibling=function(a){return this.delegate.nextSibling(a)};f.setAttribute=function(a,b,c,d){this.delegate.setAttribute(a,b,c,d)};f.removeAttribute=function(a,b,c){this.delegate.removeAttribute(a,b,c)};f.addClass=function(a,b){this.delegate.addClass(a,b)};f.removeClass=function(a,b){this.delegate.removeClass(a,b)};f.setStyle=function(a,b,c,d){this.delegate.setStyle(a,b,c,d)};f.removeStyle=function(a,b,c){this.delegate.removeStyle(a,b,c)};
f.setProperty=function(a,b,c){"@"==b.charAt(0)&&"@.disabled"==b?this.disableAnimations(a,!!c):this.delegate.setProperty(a,b,c)};f.setValue=function(a,b){this.delegate.setValue(a,b)};f.listen=function(a,b,c){return this.delegate.listen(a,b,c)};f.disableAnimations=function(a,b){this.engine.disableAnimations(a,b)};gg.Object.defineProperties(n0b.prototype,{data:{configurable:!0,enumerable:!0,get:function(){return this.delegate.data}}});
var o0b=function(a,b,c,d,e){n0b.call(this,b,c,d,e);this.factory=a;this.namespaceId=b};V(o0b,n0b);o0b.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)};
o0b.prototype.listen=function(a,b,c){var d=this;if("@"==b.charAt(0)){a=cqa(a);b=b.slice(1);var e="";"@"!=b.charAt(0)&&(e=k(dqa(b)),b=e.next().value,e=e.next().value);return this.engine.listen(this.namespaceId,a,b,e,function(g){p0b(d.factory,g._data||-1,c,g)})}return this.delegate.listen(a,b,c)};var Tw=function(a,b,c){Qw.call(this,a.body,b,c)};V(Tw,Qw);Tw.prototype.ngOnDestroy=function(){this.flush()};Tw.\u0275fac=function(a){return new (a||Tw)(w(eg),w(I_b),w(F_b),w(Ju))};Tw.\u0275prov=nc({token:Tw,factory:Tw.\u0275fac});var q0b=[{provide:p_b,useClass:Rw},{provide:F_b,useFactory:function(){return new H_b}},{provide:Qw,useClass:Tw},{provide:PVb,useFactory:function(a,b,c){return new Sw(a,b,c)},deps:[ow,Qw,te]}],r0b=[{provide:I_b,useFactory:function(){return new k0b}},{provide:Tt,useValue:"BrowserAnimations"}].concat(Jc(q0b));
[{provide:I_b,useClass:Nw},{provide:Tt,useValue:"NoopAnimations"}].concat(Jc(q0b));var Uw=function(){};Uw.\u0275fac=function(a){return new (a||Uw)};Uw.\u0275mod=Bc({type:Uw});Uw.\u0275inj=oc({providers:r0b,imports:[Hw]});var s0b=new Set,Vw,Ww=function(a,b){this._platform=a;this._nonce=b;this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):eqa};Ww.prototype.matchMedia=function(a){if(this._platform.WEBKIT||this._platform.BLINK){var b=this._nonce;if(!s0b.has(a))try{Vw||(Vw=document.createElement("style"),b&&(Vw.nonce=b),Vw.setAttribute("type","text/css"),document.head.appendChild(Vw)),Vw.sheet&&(Vw.sheet.insertRule("@media "+a+" {body{ }}",0),s0b.add(a))}catch(c){console.error(c)}}return this._matchMedia(a)};
Ww.\u0275fac=function(a){return new (a||Ww)(w(Sv),w(MVb,8))};Ww.\u0275prov=nc({token:Ww,factory:Ww.\u0275fac,providedIn:"root"});var Xw=function(a,b){this._mediaMatcher=a;this._zone=b;this._queries=new Map;this._destroySubject=new F.Subject};Xw.prototype.ngOnDestroy=function(){this._destroySubject.next();this._destroySubject.complete()};
Xw.prototype.observe=function(a){var b=this;a=fqa(roa(a)).map(function(c){return b._registerQuery(c).observable});a=(0,F.combineLatest)(a);a=(0,F.concat)(a.pipe(ge()),a.pipe(zka(1),de(0)));return a.pipe(E(function(c){var d={matches:!1,breakpoints:{}};c.forEach(function(e){var g=e.matches;e=e.query;d.matches=d.matches||g;d.breakpoints[e]=g});return d}))};
Xw.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 F.Observable(function(e){var g=function(h){return b._zone.run(function(){return e.next(h)})};c.addListener(g);return function(){c.removeListener(g)}})).pipe(oe(c),E(function(e){return{query:a,matches:e.matches}}),qe(this._destroySubject)),mql:c};this._queries.set(a,d);return d};Xw.\u0275fac=function(a){return new (a||Xw)(w(Ww),w(te))};
Xw.\u0275prov=nc({token:Xw,factory:Xw.\u0275fac,providedIn:"root"});var Yw=function(a,b){var c=this;this._platform=a;this._document=b;this._breakpointSubscription=wc(Xw).observe("(forced-colors: active)").subscribe(function(){c._hasCheckedHighContrastMode&&(c._hasCheckedHighContrastMode=!1,c._applyBodyHighContrastModeCssClasses())})},t0b=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};Yw.prototype.ngOnDestroy=function(){this._breakpointSubscription.unsubscribe()};
Yw.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=t0b(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")}};
Yw.\u0275fac=function(a){return new (a||Yw)(w(Sv),w(eg))};Yw.\u0275prov=nc({token:Yw,factory:Yw.\u0275fac,providedIn:"root"});var u0b=new Hc("liveAnnouncerElement",{providedIn:"root",factory:gqa}),v0b=new Hc("LIVE_ANNOUNCER_DEFAULT_OPTIONS");var Zw=function(){};Zw.prototype.create=function(a){return"undefined"===typeof MutationObserver?null:new MutationObserver(a)};Zw.\u0275fac=function(a){return new (a||Zw)};Zw.\u0275prov=nc({token:Zw,factory:Zw.\u0275fac,providedIn:"root"});var $w=function(a){this._mutationObserverFactory=a;this._observedElements=new Map};f=$w.prototype;f.ngOnDestroy=function(){var a=this;this._observedElements.forEach(function(b,c){return a._cleanupObserver(c)})};
f.observe=function(a){var b=this,c=Gf(a);return new F.Observable(function(d){var e=b._observeElement(c).subscribe(d);return function(){e.unsubscribe();b._unobserveElement(c)}})};f._observeElement=function(a){if(this._observedElements.has(a))this._observedElements.get(a).count++;else{var b=new F.Subject,c=this._mutationObserverFactory.create(function(d){return b.next(d)});c&&c.observe(a,{characterData:!0,childList:!0,subtree:!0});this._observedElements.set(a,{observer:c,stream:b,count:1})}return this._observedElements.get(a).stream};
f._unobserveElement=function(a){this._observedElements.has(a)&&(this._observedElements.get(a).count--,this._observedElements.get(a).count||this._cleanupObserver(a))};f._cleanupObserver=function(a){if(this._observedElements.has(a)){var b=this._observedElements.get(a),c=b.observer;b=b.stream;c&&c.disconnect();b.complete();this._observedElements.delete(a)}};$w.\u0275fac=function(a){return new (a||$w)(w(Zw))};$w.\u0275prov=nc({token:$w,factory:$w.\u0275fac,providedIn:"root"});
var ax=function(a,b,c){this._contentObserver=a;this._elementRef=b;this._ngZone=c;this.event=new tu;this._disabled=!1;this._currentSubscription=null};ax.prototype.ngAfterContentInit=function(){this._currentSubscription||this.disabled||this._subscribe()};ax.prototype.ngOnDestroy=function(){this._unsubscribe()};
ax.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(de(a.debounce)):b).subscribe(a.event)})};ax.prototype._unsubscribe=function(){var a;null==(a=this._currentSubscription)||a.unsubscribe()};
gg.Object.defineProperties(ax.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){(this._disabled=Ef(a))?this._unsubscribe():this._subscribe()}},debounce:{configurable:!0,enumerable:!0,get:function(){return this._debounce},set:function(a){this._debounce=Hf(a);this._subscribe()}}});ax.\u0275fac=function(a){return new (a||ax)(D($w),D(fd),D(te))};
ax.\u0275dir=Cc({type:ax,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]});var bx=function(){};bx.\u0275fac=function(a){return new (a||bx)};bx.\u0275mod=Bc({type:bx});bx.\u0275inj=oc({providers:[Zw]});var w0b=0,cx=function(a,b,c,d){this._ngZone=b;this._defaultOptions=d;this._document=c;this._liveElement=a||this._createLiveElement()};f=cx.prototype;
f.announce=function(a){var b=Fc.apply(1,arguments),c=this,d=this._defaultOptions;if(1===b.length&&"number"===typeof b[0])var e=b[0];else{b=k(b);var g=b.next().value;e=b.next().value}this.clear();clearTimeout(this._previousTimeout);g||(g=d&&d.politeness?d.politeness:"polite");null==e&&d&&(e=d.duration);this._liveElement.setAttribute("aria-live",g);this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id);return this._ngZone.runOutsideAngular(function(){c._currentPromise||(c._currentPromise=
new Promise(function(h){return c._currentResolve=h}));clearTimeout(c._previousTimeout);c._previousTimeout=setTimeout(function(){c._liveElement.textContent=a;"number"===typeof e&&(c._previousTimeout=setTimeout(function(){return c.clear()},e));c._currentResolve();c._currentPromise=c._currentResolve=void 0},100);return c._currentPromise})};f.clear=function(){this._liveElement&&(this._liveElement.textContent="")};
f.ngOnDestroy=function(){clearTimeout(this._previousTimeout);var a;null==(a=this._liveElement)||a.remove();this._liveElement=null;var b;null==(b=this._currentResolve)||b.call(this);this._currentPromise=this._currentResolve=void 0};
f._createLiveElement=function(){for(var a=this._document.getElementsByClassName("cdk-live-announcer-element"),b=this._document.createElement("div"),c=0;c<a.length;c++)a[c].remove();b.classList.add("cdk-live-announcer-element");b.classList.add("cdk-visually-hidden");b.setAttribute("aria-atomic","true");b.setAttribute("aria-live","polite");b.id="cdk-live-announcer-"+w0b++;this._document.body.appendChild(b);return b};
f._exposeAnnouncerToModals=function(a){for(var b=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]'),c=0;c<b.length;c++){var d=b[c],e=d.getAttribute("aria-owns");e?-1===e.indexOf(a)&&d.setAttribute("aria-owns",e+" "+a):d.setAttribute("aria-owns",a)}};cx.\u0275fac=function(a){return new (a||cx)(w(u0b,8),w(te),w(eg),w(v0b,8))};cx.\u0275prov=nc({token:cx,factory:cx.\u0275fac,providedIn:"root"});var dx=function(a){a._applyBodyHighContrastModeCssClasses()};dx.\u0275fac=function(a){return new (a||dx)(w(Yw))};dx.\u0275mod=Bc({type:dx});dx.\u0275inj=oc({imports:[bx]});var lqa=0,ex=function(a,b){this._platform=b;this._messageRegistry=new Map;this._messagesContainer=null;this._id=""+lqa++;this._document=a;this._id=wc(LVb)+"-"+lqa++};ex.prototype.describe=function(a,b,c){if(this._canBeDescribed(a,b)){var d=kqa(b,c);"string"!==typeof b?(mqa(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 x0b=function(a,b,c,d){if(c&&a._isElementNode(b)){d=kqa(c,d);a._isElementDescribedByMessage(b,d)&&a._removeMessageReference(b,d);"string"===typeof c&&(b=a._messageRegistry.get(d))&&0===b.referenceCount&&a._deleteMessageElement(d);var e;0===(null==(e=a._messagesContainer)?void 0:e.childNodes.length)&&(a._messagesContainer.remove(),a._messagesContainer=null)}};f=ex.prototype;
f.ngOnDestroy=function(){for(var a=this._document.querySelectorAll('[cdk-describedby-host="'+this._id+'"]'),b=0;b<a.length;b++)this._removeCdkDescribedByReferenceIds(a[b]),a[b].removeAttribute("cdk-describedby-host");var c;null==(c=this._messagesContainer)||c.remove();this._messagesContainer=null;this._messageRegistry.clear()};
f._createMessageElement=function(a,b){var c=this._document.createElement("div");mqa(c,this._id);c.textContent=a;b&&c.setAttribute("role",b);this._createMessagesContainer();this._messagesContainer.appendChild(c);this._messageRegistry.set(kqa(a,b),{messageElement:c,referenceCount:0})};f._deleteMessageElement=function(a){var b,c;null==(b=this._messageRegistry.get(a))||null==(c=b.messageElement)||c.remove();this._messageRegistry.delete(a)};
f._createMessagesContainer=function(){if(!this._messagesContainer){for(var a=this._document.querySelectorAll('.cdk-describedby-message-container[platform="server"]'),b=0;b<a.length;b++)a[b].remove();a=this._document.createElement("div");a.style.visibility="hidden";a.classList.add("cdk-describedby-message-container");a.classList.add("cdk-visually-hidden");this._platform&&!this._platform.isBrowser&&a.setAttribute("platform","server");this._document.body.appendChild(a);this._messagesContainer=a}};
f._removeCdkDescribedByReferenceIds=function(a){var b=hqa(a,"aria-describedby").filter(function(c){return 0!=c.indexOf("cdk-describedby-message")});a.setAttribute("aria-describedby",b.join(" "))};f._addMessageReference=function(a,b){b=this._messageRegistry.get(b);iqa(a,"aria-describedby",b.messageElement.id);a.setAttribute("cdk-describedby-host",this._id);b.referenceCount++};
f._removeMessageReference=function(a,b){b=this._messageRegistry.get(b);b.referenceCount--;jqa(a,"aria-describedby",b.messageElement.id);a.removeAttribute("cdk-describedby-host")};f._isElementDescribedByMessage=function(a,b){a=hqa(a,"aria-describedby");b=(b=this._messageRegistry.get(b))&&b.messageElement.id;return!!b&&-1!=a.indexOf(b)};
f._canBeDescribed=function(a,b){if(!this._isElementNode(a))return!1;if(b&&"object"===typeof b)return!0;b=null==b?"":b.trim();a=a.getAttribute("aria-label");return b?!a||a.trim()!==b:!1};f._isElementNode=function(a){return a.nodeType===this._document.ELEMENT_NODE};ex.\u0275fac=function(a){return new (a||ex)(w(eg),w(Sv))};ex.\u0275prov=nc({token:ex,factory:ex.\u0275fac,providedIn:"root"});var fx=function(a,b,c,d,e,g,h){Uv.call(this,a,b,c,d,h.defer);this._focusTrapManager=e;this._inertStrategy=g;this._focusTrapManager.register(this)};V(fx,Uv);fx.prototype.destroy=function(){this._focusTrapManager.deregister(this);Uv.prototype.destroy.call(this)};fx.prototype._enable=function(){y0b(this._inertStrategy,this);fZb(this,!0)};fx.prototype._disable=function(){var a=this._inertStrategy;a._listener&&(this._document.removeEventListener("focus",a._listener,!0),a._listener=null);fZb(this,!1)};
gg.Object.defineProperties(fx.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 z0b=function(){this._listener=null},y0b=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)})};z0b.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)&&cZb(a)})};var A0b=new Hc("FOCUS_TRAP_INERT_STRATEGY");var gx=function(){this._focusTrapStack=[]};gx.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()};gx.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())};gx.\u0275fac=function(a){return new (a||gx)};gx.\u0275prov=nc({token:gx,factory:gx.\u0275fac,providedIn:"root"});var hx=function(a,b,c,d,e){this._checker=a;this._ngZone=b;this._focusTrapManager=c;this._document=d;this._inertStrategy=e||new z0b};hx.prototype.create=function(a,b){b=void 0===b?{defer:!1}:b;var c;"boolean"===typeof b?c={defer:b}:c=b;return new fx(a,this._checker,this._ngZone,this._document,this._focusTrapManager,this._inertStrategy,c)};hx.\u0275fac=function(a){return new (a||hx)(w(Tv),w(te),w(gx),w(eg),w(A0b,8))};hx.\u0275prov=nc({token:hx,factory:hx.\u0275fac,providedIn:"root"});var ix=function(a){var b=this;this._items=a;this._activeItemIndex=-1;this._activeItem=null;this._wrap=!1;this._letterKeyStream=new F.Subject;this._typeaheadSubscription=F.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 F.Subject;this.change=new F.Subject;a instanceof mf&&(this._itemChangesSubscription=a.changes.subscribe(function(c){b._activeItem&&
(c=c.toArray().indexOf(b._activeItem),-1<c&&c!==b._activeItemIndex&&(b._activeItemIndex=c))}))},B0b=function(a,b){a._skipPredicateFn=b;return a},jx=function(a){a._wrap=!0;return a},kx=function(a,b){a._vertical=void 0===b?!0:b;return a},lx=function(a,b){a._horizontal=b;return a},C0b=function(a){a._allowedModifierKeys=["shiftKey"];return a},D0b=function(a,b){b=void 0===b?200:b;a._typeaheadSubscription.unsubscribe();a._typeaheadSubscription=a._letterKeyStream.pipe(re(function(c){return a._pressedLetters.push(c)}),
de(b),Zd(function(){return 0<a._pressedLetters.length}),E(function(){return a._pressedLetters.join("")})).subscribe(function(c){for(var d=a._getItemsArray(),e=1;e<d.length+1;e++){var g=(a._activeItemIndex+e)%d.length,h=d[g];if(!a._skipPredicateFn(h)&&0===h.getLabel().toUpperCase().trim().indexOf(c)){a.setActiveItem(g);break}}a._pressedLetters=[]});return a},mx=function(a){a._homeAndEnd=!0;return a},E0b=function(a){a._pageUpAndDown={enabled:!0,delta:10};return a};
ix.prototype.setActiveItem=function(a){var b=this._activeItem;nx(this,a);this._activeItem!==b&&this.change.next(this._activeItemIndex)};
ix.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){F0b(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||If(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 F0b=function(a){a._setActiveItemByIndex(a._items.length-1,-1)};ix.prototype.setNextItemActive=function(){0>this._activeItemIndex?this._setActiveItemByIndex(0,1):this._setActiveItemByDelta(1)};
ix.prototype.setPreviousItemActive=function(){0>this._activeItemIndex&&this._wrap?F0b(this):this._setActiveItemByDelta(-1)};var nx=function(a,b){var c=a._getItemsArray();b="number"===typeof b?b:c.indexOf(b);c=c[b];a._activeItem=null==c?null:c;a._activeItemIndex=b};f=ix.prototype;
f.destroy=function(){this._typeaheadSubscription.unsubscribe();var a;null==(a=this._itemChangesSubscription)||a.unsubscribe();this._letterKeyStream.complete();this.tabOut.complete();this.change.complete();this._pressedLetters=[]};f._setActiveItemByDelta=function(a){this._wrap?this._setActiveInWrapMode(a):this._setActiveInDefaultMode(a)};
f._setActiveInWrapMode=function(a){for(var b=this._getItemsArray(),c=1;c<=b.length;c++){var d=(this._activeItemIndex+a*c+b.length)%b.length;if(!this._skipPredicateFn(b[d])){this.setActiveItem(d);break}}};f._setActiveInDefaultMode=function(a){this._setActiveItemByIndex(this._activeItemIndex+a,a)};f._setActiveItemByIndex=function(a,b){var c=this._getItemsArray();if(c[a]){for(;this._skipPredicateFn(c[a]);)if(a+=b,!c[a])return;this.setActiveItem(a)}};
f._getItemsArray=function(){return this._items instanceof mf?this._items.toArray():this._items};gg.Object.defineProperties(ix.prototype,{activeItemIndex:{configurable:!0,enumerable:!0,get:function(){return this._activeItemIndex}},activeItem:{configurable:!0,enumerable:!0,get:function(){return this._activeItem}}});var ox=function(){ix.apply(this,arguments)};V(ox,ix);ox.prototype.setActiveItem=function(a){this.activeItem&&this.activeItem.setInactiveStyles();ix.prototype.setActiveItem.call(this,a);this.activeItem&&this.activeItem.setActiveStyles()};var px=function(){ix.apply(this,arguments);this._origin="program"};V(px,ix);var G0b=function(a,b){a._origin=b;return a};px.prototype.setActiveItem=function(a){ix.prototype.setActiveItem.call(this,a);this.activeItem&&this.activeItem.focus(this._origin)};var H0b=new Hc("cdk-dir-doc",{providedIn:"root",factory:nqa});var I0b=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i,qx=function(a){this.value="ltr";this.change=new tu;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)?I0b.test(navigator.language)?"rtl":"ltr":"rtl"===b?"rtl":"ltr"}};qx.prototype.ngOnDestroy=function(){this.change.complete()};
qx.\u0275fac=function(a){return new (a||qx)(w(H0b,8))};qx.\u0275prov=nc({token:qx,factory:qx.\u0275fac,providedIn:"root"});var rx=function(){};rx.\u0275fac=function(a){return new (a||rx)};rx.\u0275mod=Bc({type:rx});rx.\u0275inj=oc({});var sx=function(a){this._attachedOverlays=[];this._document=a};sx.prototype.ngOnDestroy=function(){this.detach()};sx.prototype.add=function(a){this.remove(a);this._attachedOverlays.push(a)};sx.prototype.remove=function(a){a=this._attachedOverlays.indexOf(a);-1<a&&this._attachedOverlays.splice(a,1);0===this._attachedOverlays.length&&this.detach()};sx.\u0275fac=function(a){return new (a||sx)(w(eg))};sx.\u0275prov=nc({token:sx,factory:sx.\u0275fac,providedIn:"root"});var tx=function(a,b){sx.call(this,a);var c=this;this._ngZone=b;this._keydownListener=function(d){for(var e=c._attachedOverlays,g={},h=e.length-1;-1<h;g={$jscomp$loop$prop$keydownEvents$2268:g.$jscomp$loop$prop$keydownEvents$2268},h--)if(0<e[h]._keydownEvents.observers.length){g.$jscomp$loop$prop$keydownEvents$2268=e[h]._keydownEvents;c._ngZone?c._ngZone.run(function(l){return function(){return l.$jscomp$loop$prop$keydownEvents$2268.next(d)}}(g)):g.$jscomp$loop$prop$keydownEvents$2268.next(d);break}}};
V(tx,sx);tx.prototype.add=function(a){var b=this;sx.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)};tx.prototype.detach=function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)};
tx.\u0275fac=function(a){return new (a||tx)(w(eg),w(te,8))};tx.\u0275prov=nc({token:tx,factory:tx.\u0275fac,providedIn:"root"});var ux=function(a,b,c){sx.call(this,a);var d=this;this._platform=b;this._ngZone=c;this._cursorStyleIsSet=!1;this._pointerDownListener=function(e){d._pointerDownEventTarget=Df(e)};this._clickListener=function(e){var g=Df(e),h="click"===e.type&&d._pointerDownEventTarget?d._pointerDownEventTarget:g;d._pointerDownEventTarget=null;for(var l=d._attachedOverlays.slice(),q={},v=l.length-1;-1<v;q={$jscomp$loop$prop$outsidePointerEvents$2270:q.$jscomp$loop$prop$outsidePointerEvents$2270},v--){var y=l[v];if(!(1>
y._outsidePointerEvents.observers.length)&&y.hasAttached()){if(y.overlayElement.contains(g)||y.overlayElement.contains(h))break;q.$jscomp$loop$prop$outsidePointerEvents$2270=y._outsidePointerEvents;d._ngZone?d._ngZone.run(function(B){return function(){return B.$jscomp$loop$prop$outsidePointerEvents$2270.next(e)}}(q)):q.$jscomp$loop$prop$outsidePointerEvents$2270.next(e)}}}};V(ux,sx);
ux.prototype.add=function(a){var b=this;sx.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}};
ux.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}};
ux.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)};ux.\u0275fac=function(a){return new (a||ux)(w(eg),w(Sv),w(te,8))};ux.\u0275prov=nc({token:ux,factory:ux.\u0275fac,providedIn:"root"});var vx=function(a,b){this._platform=b;this._document=a};vx.prototype.ngOnDestroy=function(){var a;null==(a=this._containerElement)||a.remove()};var J0b=function(a){a._containerElement||a._createContainer();return a._containerElement};
vx.prototype._createContainer=function(){if(this._platform.isBrowser||ooa())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");ooa()?a.setAttribute("platform","test"):this._platform.isBrowser||a.setAttribute("platform","server");this._document.body.appendChild(a);this._containerElement=a};
vx.\u0275fac=function(a){return new (a||vx)(w(eg),w(Sv))};vx.\u0275prov=nc({token:vx,factory:vx.\u0275fac,providedIn:"root"});var K0b=ioa(),L0b=function(a,b){this._viewportRuler=a;this._previousHTMLStyles={top:"",left:""};this._isEnabled=!1;this._document=b};L0b.prototype.attach=function(){};
L0b.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=Ff(-this._previousScrollPosition.left);a.style.top=Ff(-this._previousScrollPosition.top);a.classList.add("cdk-global-scrollblock");this._isEnabled=!0}};
L0b.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");K0b&&(b.scrollBehavior=c.scrollBehavior="auto");window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top);K0b&&(b.scrollBehavior=d,c.scrollBehavior=e)}};
L0b.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 M0b=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()})}};M0b.prototype.attach=function(a){this._overlayRef=a};
M0b.prototype.enable=function(){var a=this;if(!this._scrollSubscription){var b=this._scrollDispatcher.scrolled(0).pipe(Zd(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)}};M0b.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)};M0b.prototype.detach=function(){this.disable();this._overlayRef=null};var N0b=function(){};N0b.prototype.enable=function(){};N0b.prototype.disable=function(){};N0b.prototype.attach=function(){};var O0b=function(a,b,c,d){this._scrollDispatcher=a;this._viewportRuler=b;this._ngZone=c;this._config=d;this._scrollSubscription=null};O0b.prototype.attach=function(a){this._overlayRef=a};
O0b.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;oqa(b,[{width:d,height:c,bottom:c,right:d,top:0,left:0}])&&(a.disable(),a._ngZone.run(function(){return a._overlayRef.detach()}))}}))};
O0b.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)};O0b.prototype.detach=function(){this.disable();this._overlayRef=null};var P0b=new Hc("VIRTUAL_SCROLL_STRATEGY");var wx=function(a,b,c){this._ngZone=a;this._platform=b;this._scrolled=new F.Subject;this._globalSubscription=null;this._scrolledCount=0;this.scrollContainers=new Map;this._document=c};wx.prototype.register=function(a){var b=this;this.scrollContainers.has(a)||this.scrollContainers.set(a,a._elementScrolled.subscribe(function(){return b._scrolled.next(a)}))};wx.prototype.deregister=function(a){var b=this.scrollContainers.get(a);b&&(b.unsubscribe(),this.scrollContainers.delete(a))};
wx.prototype.scrolled=function(a){var b=this;a=void 0===a?20:a;return this._platform.isBrowser?new F.Observable(function(c){b._globalSubscription||b._addGlobalListener();var d=0<a?b._scrolled.pipe(be(a)).subscribe(c):b._scrolled.subscribe(c);b._scrolledCount++;return function(){d.unsubscribe();b._scrolledCount--;b._scrolledCount||b._removeGlobalListener()}}):(0,F.of)()};
wx.prototype.ngOnDestroy=function(){var a=this;this._removeGlobalListener();this.scrollContainers.forEach(function(b,c){return a.deregister(c)});this._scrolled.complete()};var Q0b=function(a,b){var c=[];a.scrollContainers.forEach(function(d,e){a._scrollableContainsElement(e,b)&&c.push(e)});return c};wx.prototype._getWindow=function(){return this._document.defaultView||window};
wx.prototype._scrollableContainsElement=function(a,b){b=Gf(b);a=a.elementRef.nativeElement;do if(b==a)return!0;while(b=b.parentElement);return!1};wx.prototype._addGlobalListener=function(){var a=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){return(0,F.fromEvent)(a._getWindow().document,"scroll").subscribe(function(){return a._scrolled.next()})})};
wx.prototype._removeGlobalListener=function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)};wx.\u0275fac=function(a){return new (a||wx)(w(te),w(Sv),w(eg,8))};wx.\u0275prov=nc({token:wx,factory:wx.\u0275fac,providedIn:"root"});var xx=function(a,b,c,d){var e=this;this.elementRef=a;this.scrollDispatcher=b;this.ngZone=c;this.dir=d;this._destroyed=new F.Subject;this._elementScrolled=new F.Observable(function(g){return e.ngZone.runOutsideAngular(function(){return(0,F.fromEvent)(e.elementRef.nativeElement,"scroll").pipe(qe(e._destroyed)).subscribe(g)})})};xx.prototype.ngOnInit=function(){this.scrollDispatcher.register(this)};xx.prototype.ngOnDestroy=function(){this.scrollDispatcher.deregister(this);this._destroyed.next();this._destroyed.complete()};
xx.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!=koa()?(null!=a.left&&(a.right=b.scrollWidth-b.clientWidth-a.left),2==koa()?a.left=a.right:1==koa()&&(a.left=a.right?-a.right:a.right)):null!=a.right&&(a.left=b.scrollWidth-b.clientWidth-a.right);this._applyScrollToOptions(a)};
xx.prototype._applyScrollToOptions=function(a){var b=this.elementRef.nativeElement;ioa()?b.scrollTo(a):(null!=a.top&&(b.scrollTop=a.top),null!=a.left&&(b.scrollLeft=a.left))};xx.\u0275fac=function(a){return new (a||xx)(D(fd),D(wx),D(te),D(qx,8))};xx.\u0275dir=Cc({type:xx,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0});var R0b=function(){},S0b=function(a,b,c,d){VXb(a,function(e,g,h){if(null==e.previousIndex){var l=c(e,g,h);l=b.createEmbeddedView(l.templateRef,l.context,l.index);g=1}else null==h?(b.remove(g),g=3):(l=b.get(g),b.move(l,h),g=2);if(d){var q;d({context:null==(q=l)?void 0:q.context,operation:g,record:e})}})};R0b.prototype.detach=function(){};var yx=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 F.Subject;b&&b.length&&(a?b.forEach(function(g){return e._markSelected(g)}):this._markSelected(b[0]),this._selectedToEmit.length=0)};f=yx.prototype;
f.select=function(){var a=this;Fc.apply(0,arguments).forEach(function(c){return a._markSelected(c)});var b=this._hasQueuedChanges();this._emitChangeEvent();return b};f.deselect=function(){var a=this;Fc.apply(0,arguments).forEach(function(c){return a._unmarkSelected(c)});var b=this._hasQueuedChanges();this._emitChangeEvent();return b};f.toggle=function(a){return this.isSelected(a)?this.deselect(a):this.select(a)};
f.clear=function(a){a=void 0===a?!0:a;this._unmarkAll();var b=this._hasQueuedChanges();a&&this._emitChangeEvent();return b};f.isSelected=function(a){return this._selection.has(this._getConcreteValue(a))};f.isEmpty=function(){return 0===this._selection.size};f.hasValue=function(){return!this.isEmpty()};f.sort=function(a){this._multiple&&this.selected&&this._selected.sort(a)};
f._emitChangeEvent=function(){this._selected=null;if(this._selectedToEmit.length||this._deselectedToEmit.length)this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[]};f._markSelected=function(a){a=this._getConcreteValue(a);this.isSelected(a)||(this._multiple||this._unmarkAll(),this.isSelected(a)||this._selection.add(a),this._emitChanges&&this._selectedToEmit.push(a))};
f._unmarkSelected=function(a){a=this._getConcreteValue(a);this.isSelected(a)&&(this._selection.delete(a),this._emitChanges&&this._deselectedToEmit.push(a))};f._unmarkAll=function(){var a=this;this.isEmpty()||this._selection.forEach(function(b){return a._unmarkSelected(b)})};f._verifyValueAssignment=function(){};f._hasQueuedChanges=function(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)};
f._getConcreteValue=function(a){if(this.compareWith)for(var b=k(this._selection),c=b.next();!c.done;c=b.next())if(c=c.value,this.compareWith(a,c))return c;return a};gg.Object.defineProperties(yx.prototype,{selected:{configurable:!0,enumerable:!0,get:function(){this._selected||(this._selected=Array.from(this._selection.values()));return this._selected}}});var zx=function(){this._listeners=[]};zx.prototype.notify=function(a,b){for(var c=k(this._listeners),d=c.next();!d.done;d=c.next())d=d.value,d(a,b)};zx.prototype.listen=function(a){var b=this;this._listeners.push(a);return function(){b._listeners=b._listeners.filter(function(c){return a!==c})}};zx.prototype.ngOnDestroy=function(){this._listeners=[]};zx.\u0275fac=function(a){return new (a||zx)};zx.\u0275prov=nc({token:zx,factory:zx.\u0275fac,providedIn:"root"});var T0b=new Hc("_ViewRepeater");var Ax=function(a,b,c){var d=this;this._platform=a;this._change=new F.Subject;this._changeListener=function(e){d._change.next(e)};this._document=c;b.runOutsideAngular(function(){if(a.isBrowser){var e=d._getWindow();e.addEventListener("resize",d._changeListener);e.addEventListener("orientationchange",d._changeListener)}d.change().subscribe(function(){return d._viewportSize=null})})};f=Ax.prototype;
f.ngOnDestroy=function(){if(this._platform.isBrowser){var a=this._getWindow();a.removeEventListener("resize",this._changeListener);a.removeEventListener("orientationchange",this._changeListener)}this._change.complete()};f.getViewportSize=function(){this._viewportSize||this._updateViewportSize();var a={width:this._viewportSize.width,height:this._viewportSize.height};this._platform.isBrowser||(this._viewportSize=null);return a};
f.getViewportScrollPosition=function(){if(!this._platform.isBrowser)return{top:0,left:0};var a=this._document,b=this._getWindow(),c=a.documentElement,d=c.getBoundingClientRect();return{top:-d.top||a.body.scrollTop||b.scrollY||c.scrollTop||0,left:-d.left||a.body.scrollLeft||b.scrollX||c.scrollLeft||0}};f.change=function(a){a=void 0===a?20:a;return 0<a?this._change.pipe(be(a)):this._change};f._getWindow=function(){return this._document.defaultView||window};
f._updateViewportSize=function(){var a=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:a.innerWidth,height:a.innerHeight}:{width:0,height:0}};Ax.\u0275fac=function(a){return new (a||Ax)(w(Sv),w(te),w(eg,8))};Ax.\u0275prov=nc({token:Ax,factory:Ax.\u0275fac,providedIn:"root"});var U0b=new Hc("VIRTUAL_SCROLLABLE"),Bx=function(a,b,c,d){xx.call(this,a,b,c,d)};V(Bx,xx);Bx.\u0275fac=function(a){return new (a||Bx)(D(fd),D(wx),D(te),D(qx,8))};Bx.\u0275dir=Cc({type:Bx,features:[xe]});var V0b=["contentWrapper"],W0b="undefined"!==typeof requestAnimationFrame?F.animationFrameScheduler:F.asapScheduler,Cx=function(a,b,c,d,e,g,h,l){xx.call(this,a,g,c,e);var q=this;this.elementRef=a;this._changeDetectorRef=b;this._scrollStrategy=d;this.scrollable=l;this._platform=wc(Sv);this._detachedSubject=new F.Subject;this._renderedRangeSubject=new F.Subject;this._orientation="vertical";this._appendOnly=!1;this.scrolledIndexChange=new F.Observable(function(v){return q._scrollStrategy.scrolledIndexChange.subscribe(function(y){return Promise.resolve().then(function(){return q.ngZone.run(function(){return v.next(y)})})})});
this._totalContentSize=0;this._totalContentHeight=this._totalContentWidth="";this._renderedRange={start:0,end:0};this._renderedContentOffset=this._viewportSize=this._dataLength=0;this._isChangeDetectionPending=this._renderedContentOffsetNeedsRewrite=!1;this._runAfterChangeDetection=[];this._viewportChanges=F.Subscription.EMPTY;this._viewportChanges=h.change().subscribe(function(){q._measureViewportSize();q._scrollStrategy.onDataLengthChanged()});this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),
this.scrollable=this)};V(Cx,Bx);Cx.\u0275dir=Bx.\u0275dir;f=Cx.prototype;f.ngOnInit=function(){var a=this;this._platform.isBrowser&&(this.scrollable===this&&Bx.prototype.ngOnInit.call(this),this.ngZone.runOutsideAngular(function(){return Promise.resolve().then(function(){a._measureViewportSize();a._scrollStrategy.attach(a);a.scrollable._elementScrolled.pipe(oe(null),be(0,W0b)).subscribe(function(){return a._scrollStrategy.onContentScrolled()});a._markChangeDetectionNeeded()})}))};
f.ngOnDestroy=function(){this.detach();this._scrollStrategy.detach();this._renderedRangeSubject.complete();this._detachedSubject.complete();this._viewportChanges.unsubscribe();Bx.prototype.ngOnDestroy.call(this)};f.attach=function(a){var b=this;this.ngZone.runOutsideAngular(function(){b._forOf=a;b._forOf.dataStream.pipe(qe(b._detachedSubject)).subscribe(function(c){c=c.length;c!==b._dataLength&&(b._dataLength=c,b._scrollStrategy.onDataLengthChanged());b._doChangeDetection()})})};
f.detach=function(){this._forOf=null;this._detachedSubject.next()};f.getViewportSize=function(){return this._viewportSize};f._measureViewportSize=function(){var a=this.scrollable.elementRef.nativeElement;this._viewportSize="horizontal"===this.orientation?a.clientWidth:a.clientHeight};f._markChangeDetectionNeeded=function(a){var b=this;a&&this._runAfterChangeDetection.push(a);this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(function(){return Promise.resolve().then(function(){b._doChangeDetection()})}))};
f._doChangeDetection=function(){var a=this;this._isChangeDetectionPending=!1;this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform;this.ngZone.run(function(){return a._changeDetectorRef.markForCheck()});var b=this._runAfterChangeDetection;this._runAfterChangeDetection=[];b=k(b);for(var c=b.next();!c.done;c=b.next())c=c.value,c()};
f._calculateSpacerSize=function(){this._totalContentHeight="horizontal"===this.orientation?"":"0px";this._totalContentWidth="horizontal"===this.orientation?"0px":""};gg.Object.defineProperties(Cx.prototype,{orientation:{configurable:!0,enumerable:!0,get:function(){return this._orientation},set:function(a){this._orientation!==a&&(this._orientation=a,this._calculateSpacerSize())}},appendOnly:{configurable:!0,enumerable:!0,get:function(){return this._appendOnly},set:function(a){this._appendOnly=Ef(a)}}});
Cx.\u0275fac=function(a){return new (a||Cx)(D(fd),D(Lu),D(te),D(P0b,8),D(qx,8),D(wx),D(Ax),D(U0b,8))};
Cx.\u0275cmp=zc({type:Cx,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(a,b){a&1&&jf(V0b,7);if(a&2){var c;hf(c=lf())&&(b._contentWrapper=c.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(a,b){a&2&&Ie("cdk-virtual-scroll-orientation-horizontal","horizontal"===b.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==b.orientation)},inputs:{orientation:"orientation",appendOnly:"appendOnly"},outputs:{scrolledIndexChange:"scrolledIndexChange"},
standalone:!0,features:[Xe([{provide:xx,useFactory:function(a,b){return a||b},deps:[[new Ot,new AVb(U0b)],Cx]}]),xe,dma],ngContentSelectors:["*"],decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(a,b){a&1&&(Ne(),H(0,"div",0,1),Oe(2),J(),K(3,"div",2));a&2&&(C(3),He("width",b._totalContentWidth)("height",b._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}\n"],
encapsulation:2,changeDetection:0});var Dx=function(){};Dx.\u0275fac=function(a){return new (a||Dx)};Dx.\u0275mod=Bc({type:Dx});Dx.\u0275inj=oc({});var Ex=function(){};Ex.\u0275fac=function(a){return new (a||Ex)};Ex.\u0275mod=Bc({type:Ex});Ex.\u0275inj=oc({imports:[rx,Dx,rx,Dx]});var Fx=function(a,b,c,d){var e=this;this._scrollDispatcher=a;this._viewportRuler=b;this._ngZone=c;this.noop=function(){return new N0b};this.close=function(g){return new M0b(e._scrollDispatcher,e._ngZone,e._viewportRuler,g)};this.block=function(){return new L0b(e._viewportRuler,e._document)};this.reposition=function(g){return new O0b(e._scrollDispatcher,e._viewportRuler,e._ngZone,g)};this._document=d};Fx.\u0275fac=function(a){return new (a||Fx)(w(wx),w(Ax),w(te),w(eg))};
Fx.\u0275prov=nc({token:Fx,factory:Fx.\u0275fac,providedIn:"root"});var Gx=function(a){this.scrollStrategy=new N0b;this.panelClass="";this.hasBackdrop=!1;this.backdropClass="cdk-overlay-dark-backdrop";this.disposeOnNavigation=!1;if(a){var b=Object.keys(a);b=k(b);for(var c=b.next();!c.done;c=b.next())c=c.value,void 0!==a[c]&&(this[c]=a[c])}};var Hx=function(a,b,c,d,e,g,h,l,q,v){var y=this;v=void 0===v?!1:v;this._portalOutlet=a;this._host=b;this._pane=c;this._config=d;this._ngZone=e;this._keyboardDispatcher=g;this._document=h;this._location=l;this._outsideClickDispatcher=q;this._animationsDisabled=v;this._backdropElement=null;this._backdropClick=new F.Subject;this._attachments=new F.Subject;this._detachments=new F.Subject;this._locationChanges=F.Subscription.EMPTY;this._backdropClickHandler=function(B){return y._backdropClick.next(B)};
this._backdropTransitionendHandler=function(B){y._disposeBackdrop(B.target)};this._keydownEvents=new F.Subject;this._outsidePointerEvents=new F.Subject;d.scrollStrategy&&(this._scrollStrategy=d.scrollStrategy,this._scrollStrategy.attach(this));this._positionStrategy=d.positionStrategy};f=Hx.prototype;
f.attach=function(a){var b=this;!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);a=this._portalOutlet.attach(a);this._positionStrategy&&this._positionStrategy.attach(this);this._updateStackingOrder();this._updateElementSize();this._updateElementDirection();this._scrollStrategy&&this._scrollStrategy.enable();this._ngZone.onStable.pipe(ge()).subscribe(function(){b.hasAttached()&&b.updatePosition()});this._togglePointerEvents(!0);this._config.hasBackdrop&&
this._attachBackdrop();this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0);this._attachments.next();this._keyboardDispatcher.add(this);this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(function(){return b.dispose()}));this._outsideClickDispatcher.add(this);if("function"===typeof(null==a?void 0:a.onDestroy))a.onDestroy(function(){b.hasAttached()&&b._ngZone.runOutsideAngular(function(){return Promise.resolve().then(function(){return b.detach()})})});
return a};f.detach=function(){if(this.hasAttached()){X0b(this);this._togglePointerEvents(!1);this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach();this._scrollStrategy&&this._scrollStrategy.disable();var a=this._portalOutlet.detach();this._detachments.next();this._keyboardDispatcher.remove(this);this._detachContentWhenStable();this._locationChanges.unsubscribe();this._outsideClickDispatcher.remove(this);return a}};
f.dispose=function(){var a=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose();this._disposeScrollStrategy();this._disposeBackdrop(this._backdropElement);this._locationChanges.unsubscribe();this._keyboardDispatcher.remove(this);this._portalOutlet.dispose();this._attachments.complete();this._backdropClick.complete();this._keydownEvents.complete();this._outsidePointerEvents.complete();this._outsideClickDispatcher.remove(this);var b;null==(b=this._host)||b.remove();this._previousHostParent=
this._pane=this._host=null;a&&this._detachments.next();this._detachments.complete()};f.hasAttached=function(){return this._portalOutlet.hasAttached()};f.backdropClick=function(){return this._backdropClick};f.attachments=function(){return this._attachments};f.keydownEvents=function(){return this._keydownEvents};f.outsidePointerEvents=function(){return this._outsidePointerEvents};f.getConfig=function(){return this._config};f.updatePosition=function(){this._positionStrategy&&this._positionStrategy.apply()};
f.updateSize=function(a){this._config=Object.assign({},this._config,a);this._updateElementSize()};f.setDirection=function(a){this._config=Object.assign({},this._config,{direction:a});this._updateElementDirection()};f.addPanelClass=function(a){this._pane&&this._toggleClasses(this._pane,a,!0)};f.removePanelClass=function(a){this._pane&&this._toggleClasses(this._pane,a,!1)};f.getDirection=function(){var a=this._config.direction;return a?"string"===typeof a?a:a.value:"ltr"};
f._updateElementDirection=function(){this._host.setAttribute("dir",this.getDirection())};f._updateElementSize=function(){if(this._pane){var a=this._pane.style;a.width=Ff(this._config.width);a.height=Ff(this._config.height);a.minWidth=Ff(this._config.minWidth);a.minHeight=Ff(this._config.minHeight);a.maxWidth=Ff(this._config.maxWidth);a.maxHeight=Ff(this._config.maxHeight)}};f._togglePointerEvents=function(a){this._pane.style.pointerEvents=a?"":"none"};
f._attachBackdrop=function(){var a=this;this._backdropElement=this._document.createElement("div");this._backdropElement.classList.add("cdk-overlay-backdrop");this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation");this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0);this._host.parentElement.insertBefore(this._backdropElement,this._host);this._backdropElement.addEventListener("click",this._backdropClickHandler);
this._animationsDisabled||"undefined"===typeof requestAnimationFrame?this._backdropElement.classList.add("cdk-overlay-backdrop-showing"):this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){a._backdropElement&&a._backdropElement.classList.add("cdk-overlay-backdrop-showing")})})};f._updateStackingOrder=function(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)};
var X0b=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)})))};
Hx.prototype._toggleClasses=function(a,b,c){b=roa(b||[]).filter(function(d){return!!d});b.length&&(c?a.classList.add.apply(a.classList,Jc(b)):a.classList.remove.apply(a.classList,Jc(b)))};
Hx.prototype._detachContentWhenStable=function(){var a=this;this._ngZone.runOutsideAngular(function(){var b=a._ngZone.onStable.pipe(qe((0,F.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())})})};
Hx.prototype._disposeScrollStrategy=function(){var a=this._scrollStrategy;a&&(a.disable(),a.detach&&a.detach())};Hx.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)};
gg.Object.defineProperties(Hx.prototype,{overlayElement:{configurable:!0,enumerable:!0,get:function(){return this._pane}},hostElement:{configurable:!0,enumerable:!0,get:function(){return this._host}}});var Y0b=function(a,b){this.connectionPair=a;this.scrollableViewProperties=b};var rqa=/([A-Za-z%]+)$/,Ix=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 F.Subject;this._resizeSubscription=F.Subscription.EMPTY;this._offsetY=this._offsetX=0;this._appliedPanelClasses=[];this.positionChanges=
this._positionChanges;this.setOrigin(a)};Ix.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()})};
Ix.prototype.apply=function(){if(!this._isDisposed&&this._platform.isBrowser)if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)Z0b(this);else{this._clearPanelClasses();this._resetOverlayElementStyles();this._resetBoundingBoxStyles();this._viewportRect=this._getNarrowedViewportRect();this._originRect=this._getOriginRect();this._overlayRect=this._pane.getBoundingClientRect();this._containerRect=J0b(this._overlayContainer).getBoundingClientRect();for(var a=this._originRect,b=this._overlayRect,
c=this._viewportRect,d=this._containerRect,e=[],g,h=k(this._preferredPositions),l=h.next();!l.done;l=h.next()){l=l.value;var q=this._getOriginPoint(a,d,l),v=this._getOverlayPoint(q,b,l),y=this._getOverlayFit(v,b,c,l);if(y.isCompletelyWithinViewport){this._isPushed=!1;this._applyPosition(l,q);return}if(this._canFitWithFlexibleDimensions(y,v,c))e.push({position:l,origin:q,overlayRect:b,boundingBoxRect:this._calculateBoundingBoxRect(q,l)});else if(!g||g.overlayFit.visibleArea<y.visibleArea)g={overlayFit:y,
overlayPoint:v,originPoint:q,position:l,overlayRect:b}}if(e.length){a=null;b=-1;e=k(e);for(c=e.next();!c.done;c=e.next())c=c.value,d=c.boundingBoxRect.width*c.boundingBoxRect.height*(c.position.weight||1),d>b&&(b=d,a=c);this._isPushed=!1;this._applyPosition(a.position,a.origin)}else this._canPush&&(this._isPushed=!0),this._applyPosition(g.position,g.originPoint)}};Ix.prototype.detach=function(){this._clearPanelClasses();this._previousPushAmount=this._lastPosition=null;this._resizeSubscription.unsubscribe()};
Ix.prototype.dispose=function(){this._isDisposed||(this._boundingBox&&fg(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 Z0b=function(a){if(!a._isDisposed&&a._platform.isBrowser){var b=a._lastPosition;if(b){a._originRect=a._getOriginRect();a._overlayRect=a._pane.getBoundingClientRect();a._viewportRect=a._getNarrowedViewportRect();a._containerRect=J0b(a._overlayContainer).getBoundingClientRect();var c=a._getOriginPoint(a._originRect,a._containerRect,b);a._applyPosition(b,c)}else a.apply()}},$0b=function(a,b){a._scrollables=b;return a},Jx=function(a,b){a._preferredPositions=b;-1===b.indexOf(a._lastPosition)&&(a._lastPosition=
null);return a},Kx=function(a,b){a._viewportMargin=b;return a},Lx=function(a,b){a._hasFlexibleDimensions=void 0===b?!0:b;return a},a1b=function(a,b){a._growAfterOpen=void 0===b?!0:b;return a},b1b=function(a,b){a._canPush=void 0===b?!0:b;return a},c1b=function(a,b){a._positionLocked=void 0===b?!0:b;return a};Ix.prototype.setOrigin=function(a){this._origin=a;return this};var d1b=function(a,b){a._transformOriginSelector=b;return a};f=Ix.prototype;
f._getOriginPoint=function(a,b,c){if("center"==c.originX)var d=a.left+a.width/2;else{d=this._isRtl()?a.right:a.left;var e=this._isRtl()?a.left:a.right;d="start"==c.originX?d:e}0>b.left&&(d-=b.left);a="center"==c.originY?a.top+a.height/2:"top"==c.originY?a.top:a.bottom;0>b.top&&(a-=b.top);return{x:d,y:a}};
f._getOverlayPoint=function(a,b,c){var d="center"==c.overlayX?-b.width/2:"start"===c.overlayX?this._isRtl()?-b.width:0:this._isRtl()?0:-b.width;return{x:a.x+d,y:a.y+("center"==c.overlayY?-b.height/2:"top"==c.overlayY?0:-b.height)}};
f._getOverlayFit=function(a,b,c,d){b=tqa(b);var e=a.x;a=a.y;var g=this._getOffset(d,"x");d=this._getOffset(d,"y");g&&(e+=g);d&&(a+=d);d=-a;a=a+b.height-c.height;c=this._subtractOverflows(b.width,-e,e+b.width-c.width);e=this._subtractOverflows(b.height,d,a);d=c*e;return{visibleArea:d,isCompletelyWithinViewport:b.width*b.height===d,fitsInViewportVertically:e===b.height,fitsInViewportHorizontally:c==b.width}};
f._canFitWithFlexibleDimensions=function(a,b,c){if(this._hasFlexibleDimensions){var d=c.bottom-b.y;c=c.right-b.x;b=sqa(this._overlayRef.getConfig().minHeight);var e=sqa(this._overlayRef.getConfig().minWidth);c=a.fitsInViewportHorizontally||null!=e&&e<=c;return(a.fitsInViewportVertically||null!=b&&b<=d)&&c}return!1};
f._pushOverlayOnScreen=function(a,b,c){if(this._previousPushAmount&&this._positionLocked)return{x:a.x+this._previousPushAmount.x,y:a.y+this._previousPushAmount.y};b=tqa(b);var d=this._viewportRect,e=Math.max(a.x+b.width-d.width,0),g=Math.max(a.y+b.height-d.height,0),h=Math.max(d.top-c.top-a.y,0),l=Math.max(d.left-c.left-a.x,0);e=b.width<=d.width?l||-e:a.x<this._viewportMargin?d.left-c.left-a.x:0;c=b.height<=d.height?h||-g:a.y<this._viewportMargin?d.top-c.top-a.y:0;this._previousPushAmount={x:e,y:c};
return{x:a.x+e,y:a.y+c}};f._applyPosition=function(a,b){this._setTransformOrigin(a);this._setOverlayElementStyles(b,a);this._setBoundingBoxStyles(b,a);a.panelClass&&this._addPanelClasses(a.panelClass);this._lastPosition=a;this._positionChanges.observers.length&&(b=this._getScrollVisibility(),this._positionChanges.next(new Y0b(a,b)));this._isInitialRender=!1};
f._setTransformOrigin=function(a){if(this._transformOriginSelector){var b=this._boundingBox.querySelectorAll(this._transformOriginSelector),c=a.overlayY;a="center"===a.overlayX?"center":this._isRtl()?"start"===a.overlayX?"right":"left":"start"===a.overlayX?"left":"right";for(var d=0;d<b.length;d++)b[d].style.transformOrigin=a+" "+c}};
f._calculateBoundingBoxRect=function(a,b){var c=this._viewportRect,d=this._isRtl();if("top"===b.overlayY){var e=a.y;var g=c.height-e+this._viewportMargin}else if("bottom"===b.overlayY){var h=c.height-a.y+2*this._viewportMargin;g=c.height-h+this._viewportMargin}else{e=Math.min(c.bottom-a.y+c.top,a.y);var l=this._lastBoundingBoxSize.height;g=2*e;e=a.y-e;g>l&&!this._isInitialRender&&!this._growAfterOpen&&(e=a.y-l/2)}l="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(l){var v=a.x;b=c.right-a.x}else v=Math.min(c.right-a.x+c.left,a.x),c=this._lastBoundingBoxSize.width,b=2*v,v=a.x-v,b>c&&!this._isInitialRender&&!this._growAfterOpen&&(v=a.x-c/2);return{top:e,left:v,bottom:h,right:q,width:b,height:g}};
f._setBoundingBoxStyles=function(a,b){a=this._calculateBoundingBoxRect(a,b);this._isInitialRender||this._growAfterOpen||(a.height=Math.min(a.height,this._lastBoundingBoxSize.height),a.width=Math.min(a.width,this._lastBoundingBoxSize.width));var c={};if(this._hasExactPosition())c.top=c.left="0",c.bottom=c.right=c.maxHeight=c.maxWidth="",c.width=c.height="100%";else{var d=this._overlayRef.getConfig().maxHeight,e=this._overlayRef.getConfig().maxWidth;c.height=Ff(a.height);c.top=Ff(a.top);c.bottom=Ff(a.bottom);
c.width=Ff(a.width);c.left=Ff(a.left);c.right=Ff(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=Ff(d));e&&(c.maxWidth=Ff(e))}this._lastBoundingBoxSize=a;fg(this._boundingBox.style,c)};f._resetBoundingBoxStyles=function(){fg(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})};
f._resetOverlayElementStyles=function(){fg(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})};
f._setOverlayElementStyles=function(a,b){var c={},d=this._hasExactPosition(),e=this._hasFlexibleDimensions,g=this._overlayRef.getConfig();if(d){var h=this._viewportRuler.getViewportScrollPosition();fg(c,this._getExactOverlayY(b,a,h));fg(c,this._getExactOverlayX(b,a,h))}else c.position="static";a="";h=this._getOffset(b,"x");b=this._getOffset(b,"y");h&&(a+="translateX("+h+"px) ");b&&(a+="translateY("+b+"px)");c.transform=a.trim();g.maxHeight&&(d?c.maxHeight=Ff(g.maxHeight):e&&(c.maxHeight=""));g.maxWidth&&
(d?c.maxWidth=Ff(g.maxWidth):e&&(c.maxWidth=""));fg(this._pane.style,c)};f._getExactOverlayY=function(a,b,c){var d={top:"",bottom:""};b=this._getOverlayPoint(b,this._overlayRect,a);this._isPushed&&(b=this._pushOverlayOnScreen(b,this._overlayRect,c));"bottom"===a.overlayY?d.bottom=this._document.documentElement.clientHeight-(b.y+this._overlayRect.height)+"px":d.top=Ff(b.y);return d};
f._getExactOverlayX=function(a,b,c){var d={left:"",right:""};b=this._getOverlayPoint(b,this._overlayRect,a);this._isPushed&&(b=this._pushOverlayOnScreen(b,this._overlayRect,c));"right"===(this._isRtl()?"end"===a.overlayX?"left":"right":"end"===a.overlayX?"right":"left")?d.right=this._document.documentElement.clientWidth-(b.x+this._overlayRect.width)+"px":d.left=Ff(b.x);return d};
f._getScrollVisibility=function(){var a=this._getOriginRect(),b=this._pane.getBoundingClientRect(),c=this._scrollables.map(function(d){return d.elementRef.nativeElement.getBoundingClientRect()});return{isOriginClipped:pqa(a,c),isOriginOutsideView:oqa(a,c),isOverlayClipped:pqa(b,c),isOverlayOutsideView:oqa(b,c)}};f._subtractOverflows=function(a){return Fc.apply(1,arguments).reduce(function(b,c){return b-Math.max(c,0)},a)};
f._getNarrowedViewportRect=function(){var a=this._document.documentElement.clientWidth,b=this._document.documentElement.clientHeight,c=this._viewportRuler.getViewportScrollPosition();return{top:c.top+this._viewportMargin,left:c.left+this._viewportMargin,right:c.left+a-this._viewportMargin,bottom:c.top+b-this._viewportMargin,width:a-2*this._viewportMargin,height:b-2*this._viewportMargin}};f._isRtl=function(){return"rtl"===this._overlayRef.getDirection()};
f._hasExactPosition=function(){return!this._hasFlexibleDimensions||this._isPushed};f._getOffset=function(a,b){return"x"===b?null==a.offsetX?this._offsetX:a.offsetX:null==a.offsetY?this._offsetY:a.offsetY};f._validatePositions=function(){};f._addPanelClasses=function(a){var b=this;this._pane&&roa(a).forEach(function(c){""!==c&&-1===b._appliedPanelClasses.indexOf(c)&&(b._appliedPanelClasses.push(c),b._pane.classList.add(c))})};
f._clearPanelClasses=function(){var a=this;this._pane&&(this._appliedPanelClasses.forEach(function(b){a._pane.classList.remove(b)}),this._appliedPanelClasses=[])};f._getOriginRect=function(){var a=this._origin;if(a instanceof fd)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}};
gg.Object.defineProperties(Ix.prototype,{positions:{configurable:!0,enumerable:!0,get:function(){return this._preferredPositions}}});var e1b=function(){this._cssPosition="static";this._height=this._width=this._xOffset=this._xPosition=this._alignItems=this._bottomOffset=this._topOffset="";this._isDisposed=!1};f=e1b.prototype;f.attach=function(a){var b=a.getConfig();this._overlayRef=a;this._width&&!b.width&&a.updateSize({width:this._width});this._height&&!b.height&&a.updateSize({height:this._height});a.hostElement.classList.add("cdk-global-overlay-wrapper");this._isDisposed=!1};
f.top=function(a){this._bottomOffset="";this._topOffset=void 0===a?"":a;this._alignItems="flex-start";return this};f.left=function(a){this._xOffset=void 0===a?"":a;this._xPosition="left";return this};f.bottom=function(a){this._topOffset="";this._bottomOffset=void 0===a?"":a;this._alignItems="flex-end";return this};f.right=function(a){this._xOffset=void 0===a?"":a;this._xPosition="right";return this};f.start=function(a){this._xOffset=void 0===a?"":a;this._xPosition="start";return this};
f.end=function(a){this._xOffset=void 0===a?"":a;this._xPosition="end";return this};f.width=function(a){a=void 0===a?"":a;this._overlayRef?this._overlayRef.updateSize({width:a}):this._width=a;return this};f.height=function(a){a=void 0===a?"":a;this._overlayRef?this._overlayRef.updateSize({height:a}):this._height=a;return this};var f1b=function(a){a.left("");a._xPosition="center";return a},g1b=function(a){a.top("");a._alignItems="center";return a};
e1b.prototype.apply=function(){if(this._overlayRef&&this._overlayRef.hasAttached()){var a=this._overlayRef.overlayElement.style,b=this._overlayRef.hostElement.style,c=this._overlayRef.getConfig(),d=c.width,e=c.height,g=c.maxWidth;c=c.maxHeight;d=("100%"===d||"100vw"===d)&&(!g||"100%"===g||"100vw"===g);e=("100%"===e||"100vh"===e)&&(!c||"100%"===c||"100vh"===c);g=this._xPosition;c=this._xOffset;var h="rtl"===this._overlayRef.getConfig().direction,l="",q="",v="";if(d)v="flex-start";else if("center"===
g)v="center",h?q=c:l=c;else if(h)if("left"===g||"end"===g)v="flex-end",l=c;else{if("right"===g||"start"===g)v="flex-start",q=c}else if("left"===g||"start"===g)v="flex-start",l=c;else if("right"===g||"end"===g)v="flex-end",q=c;a.position=this._cssPosition;a.marginLeft=d?"0":l;a.marginTop=e?"0":this._topOffset;a.marginBottom=this._bottomOffset;a.marginRight=d?"0":q;b.justifyContent=v;b.alignItems=e?"flex-start":this._alignItems}};
e1b.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 Mx=function(a,b,c,d){this._viewportRuler=a;this._document=b;this._platform=c;this._overlayContainer=d};Mx.prototype.global=function(){return new e1b};var Nx=function(a,b){return new Ix(b,a._viewportRuler,a._document,a._platform,a._overlayContainer)};Mx.\u0275fac=function(a){return new (a||Mx)(w(Ax),w(eg),w(Sv),w(vx))};Mx.\u0275prov=nc({token:Mx,factory:Mx.\u0275fac,providedIn:"root"});var h1b=0,Ox=function(a,b,c,d,e,g,h,l,q,v,y,B){this.scrollStrategies=a;this._overlayContainer=b;this._componentFactoryResolver=c;this._positionBuilder=d;this._keyboardDispatcher=e;this._injector=g;this._ngZone=h;this._document=l;this._directionality=q;this._location=v;this._outsideClickDispatcher=y;this._animationsModuleType=B};f=Ox.prototype;
f.create=function(a){var b=this._createHostElement(),c=this._createPaneElement(b),d=this._createPortalOutlet(c);a=new Gx(a);a.direction=a.direction||this._directionality.value;return new Hx(d,b,c,a,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)};f.position=function(){return this._positionBuilder};
f._createPaneElement=function(a){var b=this._document.createElement("div");b.id="cdk-overlay-"+h1b++;b.classList.add("cdk-overlay-pane");a.appendChild(b);return b};f._createHostElement=function(){var a=this._document.createElement("div");J0b(this._overlayContainer).appendChild(a);return a};f._createPortalOutlet=function(a){this._appRef||(this._appRef=this._injector.get(Ju));return new fw(a,this._componentFactoryResolver,this._appRef,this._injector,this._document)};
Ox.\u0275fac=function(a){return new (a||Ox)(w(Fx),w(vx),w(Rt),w(Mx),w(tx),w(Qt),w(te),w(eg),w(qx),w(ov),w(ux),w(Tt,8))};Ox.\u0275prov=nc({token:Ox,factory:Ox.\u0275fac,providedIn:"root"});var i1b=[{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"}],j1b=new Hc("cdk-connected-overlay-scroll-strategy"),Px=function(a){this.elementRef=a};Px.\u0275fac=function(a){return new (a||Px)(D(fd))};
Px.\u0275dir=Cc({type:Px,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0});
var Qx=function(a,b,c,d,e){this._overlay=a;this._dir=e;this._push=this._flexibleDimensions=this._growAfterOpen=this._lockPosition=this._hasBackdrop=!1;this._positionSubscription=this._detachSubscription=this._attachSubscription=this._backdropSubscription=F.Subscription.EMPTY;this.viewportMargin=0;this.disableClose=this.open=!1;this.backdropClick=new tu;this.positionChange=new tu;this.attach=new tu;this.detach=new tu;this.overlayKeydown=new tu;this.overlayOutsideClick=new tu;this._templatePortal=new dw(b,
c);this._scrollStrategyFactory=d;this.scrollStrategy=this._scrollStrategyFactory()};f=Qx.prototype;f.ngOnDestroy=function(){this._attachSubscription.unsubscribe();this._detachSubscription.unsubscribe();this._backdropSubscription.unsubscribe();this._positionSubscription.unsubscribe();this._overlayRef&&this._overlayRef.dispose()};
f.ngOnChanges=function(a){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),a.origin&&this.open&&this._position.apply());a.open&&(this.open?this._attachOverlay():this._detachOverlay())};
f._createOverlay=function(){var a=this;this.positions&&this.positions.length||(this.positions=i1b);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||If(c)||(c.preventDefault(),a._detachOverlay())});this._overlayRef.outsidePointerEvents().subscribe(function(c){a.overlayOutsideClick.next(c)})};
f._buildConfig=function(){var a=this._position=this.positionStrategy||this._createPositionStrategy();a=new Gx({direction:this._dir,positionStrategy:a,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});if(this.width||0===this.width)a.width=this.width;if(this.height||0===this.height)a.height=this.height;if(this.minWidth||0===this.minWidth)a.minWidth=this.minWidth;if(this.minHeight||0===this.minHeight)a.minHeight=this.minHeight;this.backdropClass&&(a.backdropClass=this.backdropClass);
this.panelClass&&(a.panelClass=this.panelClass);return a};
f._updatePositionStrategy=function(a){var b=this,c=this.positions.map(function(d){return{originX:d.originX,originY:d.originY,overlayX:d.overlayX,overlayY:d.overlayY,offsetX:d.offsetX||b.offsetX,offsetY:d.offsetY||b.offsetY,panelClass:d.panelClass||void 0}});return d1b(c1b(Kx(a1b(b1b(Lx(Jx(a.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()),c),this.flexibleDimensions),this.push),this.growAfterOpen),this.viewportMargin),this.lockPosition),this.transformOriginSelector)};
f._createPositionStrategy=function(){var a=Nx(this._overlay.position(),this._getFlexibleConnectedPositionStrategyOrigin());this._updatePositionStrategy(a);return a};f._getFlexibleConnectedPositionStrategyOrigin=function(){return this.origin instanceof Px?this.origin.elementRef:this.origin};
f._attachOverlay=function(){var a=this;this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay();this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal);this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(function(b){a.backdropClick.emit(b)}):this._backdropSubscription.unsubscribe();this._positionSubscription.unsubscribe();0<this.positionChange.observers.length&&(this._positionSubscription=this._position.positionChanges.pipe(Dka(function(){return 0<
a.positionChange.observers.length})).subscribe(function(b){a.positionChange.emit(b);0===a.positionChange.observers.length&&a._positionSubscription.unsubscribe()}))};f._detachOverlay=function(){this._overlayRef&&this._overlayRef.detach();this._backdropSubscription.unsubscribe();this._positionSubscription.unsubscribe()};
gg.Object.defineProperties(Qx.prototype,{offsetX:{configurable:!0,enumerable:!0,get:function(){return this._offsetX},set:function(a){this._offsetX=a;this._position&&this._updatePositionStrategy(this._position)}},offsetY:{configurable:!0,enumerable:!0,get:function(){return this._offsetY},set:function(a){this._offsetY=a;this._position&&this._updatePositionStrategy(this._position)}},hasBackdrop:{configurable:!0,enumerable:!0,get:function(){return this._hasBackdrop},set:function(a){this._hasBackdrop=
Ef(a)}},lockPosition:{configurable:!0,enumerable:!0,get:function(){return this._lockPosition},set:function(a){this._lockPosition=Ef(a)}},flexibleDimensions:{configurable:!0,enumerable:!0,get:function(){return this._flexibleDimensions},set:function(a){this._flexibleDimensions=Ef(a)}},growAfterOpen:{configurable:!0,enumerable:!0,get:function(){return this._growAfterOpen},set:function(a){this._growAfterOpen=Ef(a)}},push:{configurable:!0,enumerable:!0,get:function(){return this._push},set:function(a){this._push=
Ef(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"}}});Qx.\u0275fac=function(a){return new (a||Qx)(D(Ox),D(ef),D(ff),D(j1b),D(qx,8))};
Qx.\u0275dir=Cc({type:Qx,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth",
"minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],
hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],
standalone:!0,features:[Mc]});var k1b={provide:j1b,deps:[Ox],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}};var Rx=function(){};Rx.\u0275fac=function(a){return new (a||Rx)};Rx.\u0275mod=Bc({type:Rx});Rx.\u0275inj=oc({providers:[Ox,k1b],imports:[rx,iw,Ex,Ex]});new Wt;new Wt;var l1b=new Hc("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),Sx=function(a,b,c){this._sanityChecks=b;this._document=c;this._hasDoneGlobalChecks=!1;a._applyBodyHighContrastModeCssClasses();this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)};Sx.prototype._checkIsEnabled=function(a){return ooa()?!1:"boolean"===typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[a]};Sx.\u0275fac=function(a){return new (a||Sx)(w(Yw),w(l1b,8),w(eg))};Sx.\u0275mod=Bc({type:Sx});
Sx.\u0275inj=oc({imports:[rx,rx]});new Hc("MAT_DATE_LOCALE",{providedIn:"root",factory:xqa});var Tx=function(){this.localeChanges=this._localeChanges=new F.Subject},Ux=function(a,b){return m1b(b)&&a.isValid(b)?b:null};Tx.prototype.deserialize=function(a){return null==a||m1b(a)&&this.isValid(a)?a:this.invalid()};Tx.prototype.setLocale=function(a){this.locale=a;this._localeChanges.next()};var Vx=function(a,b,c){return a.getYear(b)-a.getYear(c)||a.getMonth(b)-a.getMonth(c)||a.getDate(b)-a.getDate(c)};
Tx.prototype.sameDate=function(a,b){if(a&&b){var c=this.isValid(a),d=this.isValid(b);return c&&d?!Vx(this,a,b):c==d}return a==b};var n1b=function(a,b,c,d){return c&&0>Vx(a,b,c)?c:d&&0<Vx(a,b,d)?d:b};var Wx=new Hc("mat-date-formats");var Xx=function(){};Xx.prototype.isErrorState=function(a,b){return!!(a&&a.invalid&&(a.touched||b&&b.submitted))};Xx.\u0275fac=function(a){return new (a||Xx)};Xx.\u0275prov=nc({token:Xx,factory:Xx.\u0275fac,providedIn:"root"});var o1b=function(){};o1b.\u0275fac=function(a){return new (a||o1b)};o1b.\u0275dir=Cc({type:o1b,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]});var Yx=function(){};Yx.\u0275fac=function(a){return new (a||Yx)};Yx.\u0275mod=Bc({type:Yx});Yx.\u0275inj=oc({imports:[Sx,Sx]});var p1b=new Hc("MAT_OPTION_PARENT_COMPONENT");jg(function(){});var q1b=new Hc("MatOptgroup");var r1b=Cf({passive:!0,capture:!0}),t1b=function(a,b,c,d){var e=s1b,g=e._events.get(b);g?(a=g.get(c))?a.add(d):g.set(c,new Set([d])):(e._events.set(b,new Map([[c,new Set([d])]])),a.runOutsideAngular(function(){document.addEventListener(b,e._delegateEventHandler,r1b)}))};var u1b=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 v1b={enterDuration:225,exitDuration:150},w1b=Cf({passive:!0,capture:!0}),x1b=["mousedown","touchstart"],y1b=["mouseup","mouseleave","touchend","touchcancel"],z1b=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=Gf(c))},A1b=function(a,b,c,d){d=void 0===d?{}:d;var e=a._containerRect=a._containerRect||a._containerElement.getBoundingClientRect(),g=Object.assign({},
v1b,d.animation);d.centered&&(b=e.left+e.width/2,c=e.top+e.height/2);var h=d.radius||zqa(b,c,e);b-=e.left;var l=c-e.top;c=g.enterDuration;var q=document.createElement("div");q.classList.add("mat-ripple-element");q.style.left=b-h+"px";q.style.top=l-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 v=new u1b(a,q,d,e);q.style.transform="scale3d(1, 1, 1)";v.state=0;d.persistent||(a._mostRecentTransientRipple=v);var y=null;e||!c&&!g.exitDuration||a._ngZone.runOutsideAngular(function(){var B=function(){return a._finishRippleTransition(v)},I=function(){return a._destroyRipple(v)};q.addEventListener("transitionend",B);q.addEventListener("transitioncancel",I);y={onTransitionEnd:B,onTransitionCancel:I}});a._activeRipples.set(v,y);!e&&c||a._finishRippleTransition(v);
return v},B1b=function(a,b){if(2!==b.state&&3!==b.state){var c=b.element,d=Object.assign({},v1b,b.config.animation);c.style.transitionDuration=d.exitDuration+"ms";c.style.opacity="0";b.state=2;!b._animationForciblyDisabledThroughCss&&d.exitDuration||a._finishRippleTransition(b)}};z1b.prototype.fadeOutAllNonPersistent=function(){this._getActiveRipples().forEach(function(a){a.config.persistent||B1b(a._renderer,a)})};
var C1b=function(a,b){var c=Gf(b);a._platform.isBrowser&&c&&c!==a._triggerElement&&(a._removeTriggerEvents(),a._triggerElement=c,x1b.forEach(function(d){t1b(a._ngZone,d,c,a)}))};f=z1b.prototype;
f.handleEvent=function(a){var b=this;"mousedown"===a.type?this._onMousedown(a):"touchstart"===a.type?this._onTouchStart(a):this._onPointerUp();this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(function(){y1b.forEach(function(c){b._triggerElement.addEventListener(c,b,w1b)})}),this._pointerUpEventsRegistered=!0)};f._finishRippleTransition=function(a){0===a.state?this._startFadeOutTransition(a):2===a.state&&this._destroyRipple(a)};
f._startFadeOutTransition=function(a){var b=a===this._mostRecentTransientRipple,c=a.config.persistent;a.state=1;c||b&&this._isPointerDown||B1b(a._renderer,a)};
f._destroyRipple=function(a){var b,c=null!=(b=this._activeRipples.get(a))?b:null;this._activeRipples.delete(a);this._activeRipples.size||(this._containerRect=null);a===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null);a.state=3;null!==c&&(a.element.removeEventListener("transitionend",c.onTransitionEnd),a.element.removeEventListener("transitioncancel",c.onTransitionCancel));a.element.remove()};
f._onMousedown=function(a){var b=toa(a),c=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;this._target.rippleDisabled||b||c||(this._isPointerDown=!0,A1b(this,a.clientX,a.clientY,this._target.rippleConfig))};f._onTouchStart=function(a){if(!this._target.rippleDisabled&&!uoa(a)){this._lastTouchStartEvent=Date.now();this._isPointerDown=!0;a=a.changedTouches;for(var b=0;b<a.length;b++)A1b(this,a[b].clientX,a[b].clientY,this._target.rippleConfig)}};
f._onPointerUp=function(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(function(a){var b=1===a.state||a.config.terminateOnPointerUp&&0===a.state;!a.config.persistent&&b&&B1b(a._renderer,a)}))};f._getActiveRipples=function(){return Array.from(this._activeRipples.keys())};
f._removeTriggerEvents=function(){var a=this,b=this._triggerElement;b&&(x1b.forEach(function(c){var d=s1b,e=d._events.get(c);if(e){var g=e.get(b);g&&(g.delete(a),0===g.size&&e.delete(b),0===e.size&&(d._events.delete(c),document.removeEventListener(c,d._delegateEventHandler,r1b)))}}),this._pointerUpEventsRegistered&&y1b.forEach(function(c){return b.removeEventListener(c,a,w1b)}))};
var s1b=new function(){var a=this;this._events=new Map;this._delegateEventHandler=function(b){var c=Df(b);if(c){var d;null==(d=a._events.get(b.type))||d.forEach(function(e,g){(g===c||g.contains(c))&&e.forEach(function(h){return h.handleEvent(b)})})}}};var D1b=new Hc("mat-ripple-global-options"),Zx=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 z1b(this,b,a,c)};f=Zx.prototype;f.ngOnInit=function(){this._isInitialized=!0;this._setupTriggerEventsIfEnabled()};f.ngOnDestroy=function(){this._rippleRenderer._removeTriggerEvents()};f.fadeOutAllNonPersistent=function(){this._rippleRenderer.fadeOutAllNonPersistent()};
f._setupTriggerEventsIfEnabled=function(){!this.disabled&&this._isInitialized&&C1b(this._rippleRenderer,this.trigger)};f.launch=function(a,b,c){return"number"===typeof a?A1b(this._rippleRenderer,a,void 0===b?0:b,Object.assign({},this.rippleConfig,c)):A1b(this._rippleRenderer,0,0,Object.assign({},this.rippleConfig,a))};
gg.Object.defineProperties(Zx.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}}});Zx.\u0275fac=function(a){return new (a||Zx)(D(fd),D(te),D(Sv),D(D1b,8),D(Tt,8))};
Zx.\u0275dir=Cc({type:Zx,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(a,b){a&2&&Ie("mat-ripple-unbounded",b.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]});var ay=function(a){this._animationMode=a;this.state="unchecked";this.disabled=!1;this.appearance="full"};ay.\u0275fac=function(a){return new (a||ay)(D(Tt,8))};
ay.\u0275cmp=zc({type:ay,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(a,b){a&2&&Ie("mat-pseudo-checkbox-indeterminate","indeterminate"===b.state)("mat-pseudo-checkbox-checked","checked"===b.state)("mat-pseudo-checkbox-disabled",b.disabled)("mat-pseudo-checkbox-minimal","minimal"===b.appearance)("mat-pseudo-checkbox-full","full"===b.appearance)("_mat-animation-noopable","NoopAnimations"===b._animationMode)},inputs:{state:"state",disabled:"disabled",
appearance:"appearance"},decls:0,vars:0,template:function(){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-full{border:2px solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}\n'],
encapsulation:2,changeDetection:0});var E1b=["text"],F1b=0,G1b=function(a,b){this.source=a;this.isUserInput=void 0===b?!1:b},by=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-"+F1b++;this.onSelectionChange=new tu;this._stateChanges=new F.Subject};f=by.prototype;f.select=function(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())};
f.deselect=function(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())};f.focus=function(a,b){var c=this._getHostElement();"function"===typeof c.focus&&c.focus(b)};f.setActiveStyles=function(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())};f.setInactiveStyles=function(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())};f.getLabel=function(){return this.viewValue};
f._handleKeydown=function(a){13!==a.keyCode&&32!==a.keyCode||If(a)||(this._selectViaInteraction(),a.preventDefault())};f._selectViaInteraction=function(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))};f._getTabIndex=function(){return this.disabled?"-1":"0"};f._getHostElement=function(){return this._element.nativeElement};
f.ngAfterViewChecked=function(){if(this._selected){var a=this.viewValue;a!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=a)}};f.ngOnDestroy=function(){this._stateChanges.complete()};f._emitSelectionChangeEvent=function(a){this.onSelectionChange.emit(new G1b(this,void 0===a?!1:a))};
gg.Object.defineProperties(by.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=Ef(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()}}});by.\u0275fac=function(){kd()};
by.\u0275dir=Cc({type:by,viewQuery:function(a,b){a&1&&jf(E1b,7);if(a&2){var c;hf(c=lf())&&(b._text=c.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}});var cy=function(){};cy.\u0275fac=function(a){return new (a||cy)};cy.\u0275mod=Bc({type:cy});cy.\u0275inj=oc({imports:[Sx,Sx]});var dy=function(){};dy.\u0275fac=function(a){return new (a||dy)};dy.\u0275mod=Bc({type:dy});dy.\u0275inj=oc({imports:[Sx]});var H1b={capture:!0},I1b=["focus","click","mouseenter","touchstart"],ey=function(){var a=this;this._document=wc(eg,{optional:!0});this._animationMode=wc(Tt,{optional:!0});this._globalRippleOptions=wc(D1b,{optional:!0});this._platform=wc(Sv);this._ngZone=wc(te);this._onInteraction=function(b){b.target!==a._document&&(b=b.target.closest("[mat-button-ripple-uninitialized]"))&&(b.removeAttribute("mat-button-ripple-uninitialized"),a._appendRipple(b))};this._ngZone.runOutsideAngular(function(){for(var b=
k(I1b),c=b.next();!c.done;c=b.next()){c=c.value;var d=void 0;null==(d=a._document)||d.addEventListener(c,a._onInteraction,H1b)}})};ey.prototype.ngOnDestroy=function(){for(var a=k(I1b),b=a.next();!b.done;b=a.next()){b=b.value;var c=void 0;null==(c=this._document)||c.removeEventListener(b,this._onInteraction,H1b)}};
ey.prototype._appendRipple=function(a){if(this._document){var b=this._document.createElement("span");b.classList.add("mat-mdc-button-ripple");var c=new J1b(a,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);c.rippleConfig.centered=a.hasAttribute("mat-icon-button");C1b(new z1b(c,this._ngZone,b,this._platform),a);a.append(b)}};
ey.prototype._createMatRipple=function(a){if(this._document){var b;null==(b=a.querySelector(".mat-mdc-button-ripple"))||b.remove();a.removeAttribute("mat-button-ripple-uninitialized");b=this._document.createElement("span");b.classList.add("mat-mdc-button-ripple");var c=new Zx(new fd(b),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);c._isInitialized=!0;c.trigger=a;a.append(b);return c}};
ey.\u0275fac=function(a){return new (a||ey)};ey.\u0275prov=nc({token:ey,factory:ey.\u0275fac,providedIn:"root"});var J1b=function(a,b,c){this._button=a;this._globalRippleOptions=b;this._setRippleConfig(b,c)};J1b.prototype._setRippleConfig=function(a,b){this.rippleConfig=a||{};"NoopAnimations"===b&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})};
gg.Object.defineProperties(J1b.prototype,{rippleDisabled:{configurable:!0,enumerable:!0,get:function(){var a;return this._button.hasAttribute("disabled")||!(null==(a=this._globalRippleOptions)||!a.disabled)}}});var K1b=[{selector:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{selector:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{selector:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{selector:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{selector:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{selector:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini",
"mat-mdc-mini-fab"]},{selector:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],L1b=hg(jg(ig(function(a){this._elementRef=a}))),fy=function(a,b,c,d){var e=L1b.call(this,a)||this;e._platform=b;e._ngZone=c;e._animationMode=d;e._focusMonitor=wc(Zv);e._rippleLoader=wc(ey);e._isFab=!1;var g=a.nativeElement.classList;a=k(K1b);for(var h=a.next();!h.done;h=a.next())h=h.value,e._hasHostAttributes(h.selector)&&h.mdcClasses.forEach(function(l){g.add(l)});return e};V(fy,L1b);f=fy.prototype;
f.ngAfterViewInit=function(){this._focusMonitor.monitor(this._elementRef,!0)};f.ngOnChanges=function(){this._ripple&&(this._ripple.disabled=this.disableRipple||this.disabled)};f.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)};f.focus=function(a,b){(a=void 0===a?"program":a)?$v(this._focusMonitor,this._elementRef.nativeElement,a,b):this._elementRef.nativeElement.focus(b)};f._hasHostAttributes=function(){var a=this;return Fc.apply(0,arguments).some(function(b){return a._elementRef.nativeElement.hasAttribute(b)})};
gg.Object.defineProperties(fy.prototype,{ripple:{configurable:!0,enumerable:!0,get:function(){!this._ripple&&this._rippleLoader&&(this._ripple=this._rippleLoader._createMatRipple(this._elementRef.nativeElement));return this._ripple},set:function(a){this._ripple=a}}});fy.\u0275fac=function(){kd()};fy.\u0275dir=Cc({type:fy,features:[xe,Mc]});var gy=function(a,b,c,d){var e=fy.call(this,a,b,c,d)||this;e._haltDisabledEvents=function(g){e.disabled&&(g.preventDefault(),g.stopImmediatePropagation())};return e};
V(gy,fy);gy.prototype.ngOnInit=function(){var a=this;this._ngZone.runOutsideAngular(function(){a._elementRef.nativeElement.addEventListener("click",a._haltDisabledEvents)})};gy.prototype.ngOnDestroy=function(){fy.prototype.ngOnDestroy.call(this);this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)};gy.\u0275fac=function(){kd()};gy.\u0275dir=Cc({type:gy,features:[xe]});var M1b=["mat-button",""],N1b=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],O1b=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],
P1b=function(){return'.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n      100% + 4px\n    );width:calc(\n      100% + 4px\n    );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}\n'},
Q1b=function(){return".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}\n"},hy=function(a,b,c,d){return fy.call(this,a,b,c,d)||this};V(hy,fy);hy.\u0275dir=fy.\u0275dir;
hy.\u0275fac=function(a){return new (a||hy)(D(fd),D(Sv),D(te),D(Tt,8))};
hy.\u0275cmp=zc({type:hy,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostAttrs:["mat-button-ripple-uninitialized",""],hostVars:7,hostBindings:function(a,b){a&2&&(Ae("disabled",b.disabled||null),Ie("_mat-animation-noopable","NoopAnimations"===b._animationMode)("mat-unthemed",!b.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],
features:[xe],attrs:M1b,ngContentSelectors:O1b,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&&(Ne(N1b),K(0,"span",0),Oe(1),H(2,"span",1),Oe(3,1),J(),Oe(4,2),K(5,"span",2)(6,"span",3));a&2&&Ie("mdc-button__ripple",!b._isFab)("mdc-fab__ripple",b._isFab)},styles:[P1b(),Q1b()],encapsulation:2,changeDetection:0});var iy=function(a,b,c,d){return gy.call(this,a,b,c,d)||this};
V(iy,gy);iy.\u0275dir=gy.\u0275dir;iy.\u0275fac=function(a){return new (a||iy)(D(fd),D(Sv),D(te),D(Tt,8))};
iy.\u0275cmp=zc({type:iy,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostAttrs:["mat-button-ripple-uninitialized",""],hostVars:9,hostBindings:function(a,b){a&2&&(Ae("disabled",b.disabled||null)("tabindex",b.disabled?-1:b.tabIndex)("aria-disabled",b.disabled.toString()),Ie("_mat-animation-noopable","NoopAnimations"===b._animationMode)("mat-unthemed",!b.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",
color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[xe],attrs:M1b,ngContentSelectors:O1b,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&&(Ne(N1b),K(0,"span",0),Oe(1),H(2,"span",1),Oe(3,1),J(),Oe(4,2),K(5,"span",2)(6,"span",3));a&2&&Ie("mdc-button__ripple",!b._isFab)("mdc-fab__ripple",b._isFab)},styles:[P1b(),Q1b()],encapsulation:2,changeDetection:0});var jy=function(a,b,c,d){return fy.call(this,a,b,c,d)||this};V(jy,fy);jy.\u0275dir=fy.\u0275dir;gg.Object.defineProperties(jy.prototype,{ripple:{configurable:!0,enumerable:!0,get:function(){!this._ripple&&this._rippleLoader&&(this._ripple=this._rippleLoader._createMatRipple(this._elementRef.nativeElement),this._ripple.centered=!0);return this._ripple}}});jy.\u0275fac=function(a){return new (a||jy)(D(fd),D(Sv),D(te),D(Tt,8))};
jy.\u0275cmp=zc({type:jy,selectors:[["button","mat-icon-button",""]],hostAttrs:["mat-button-ripple-uninitialized",""],hostVars:7,hostBindings:function(a,b){a&2&&(Ae("disabled",b.disabled||null),Ie("_mat-animation-noopable","NoopAnimations"===b._animationMode)("mat-unthemed",!b.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[xe],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&&(Ne(),K(0,"span",0),Oe(1),K(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px;--mdc-icon-button-disabled-icon-color:black;--mdc-icon-button-disabled-icon-opacity:0.38}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;font-size:var(--mdc-icon-button-icon-size);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}\n',
".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}\n"],encapsulation:2,changeDetection:0});var ky=function(a,b){this.selection=a;this._adapter=b;this.selectionChanged=this._selectionChanged=new F.Subject;this.selection=a};ky.prototype.updateSelection=function(a,b){var c=this.selection;this.selection=a;this._selectionChanged.next({selection:a,source:b,oldValue:c})};ky.prototype.ngOnDestroy=function(){this._selectionChanged.complete()};ky.prototype._isValidDateInstance=function(a){return m1b(a)&&this._adapter.isValid(a)};ky.\u0275fac=function(){kd()};ky.\u0275prov=nc({token:ky,factory:ky.\u0275fac});
var ly=function(a){ky.call(this,null,a)};V(ly,ky);ly.prototype.add=function(a){ky.prototype.updateSelection.call(this,a,this)};ly.prototype.isValid=function(){return null!=this.selection&&this._isValidDateInstance(this.selection)};ly.prototype.isComplete=function(){return null!=this.selection};ly.prototype.clone=function(){var a=new ly(this._adapter);a.updateSelection(this.selection,this);return a};ly.\u0275fac=function(a){return new (a||ly)(w(Tx))};ly.\u0275prov=nc({token:ly,factory:ly.\u0275fac});
var R1b={provide:ky,deps:[[new Ot,new Pt,ky],Tx],useFactory:function(a,b){return a||new ly(b)}};new Ot;new Pt;var my=function(){this.changes=new F.Subject};my.prototype.formatYearRange=function(a,b){return a+" \u2013 "+b};my.prototype.formatYearRangeLabel=function(a,b){return a+" to "+b};my.\u0275fac=function(a){return new (a||my)};my.\u0275prov=nc({token:my,factory:my.\u0275fac,providedIn:"root"});var S1b=function(a,b,c,d,e,g,h){e=void 0===e?{}:e;this.value=a;this.displayValue=b;this.ariaLabel=c;this.enabled=d;this.cssClasses=e;this.compareValue=void 0===g?a:g;this.rawValue=h},T1b=1,U1b=Cf({passive:!1,capture:!0}),ny=Cf({passive:!0,capture:!0}),V1b=Cf({passive:!0}),oy=function(a,b){var c=this;this._elementRef=a;this._ngZone=b;this._platform=wc(Sv);this._focusActiveCellAfterViewChecked=!1;this.numCols=7;this.activeCell=0;this.isRange=!1;this.cellAspectRatio=1;this.previewEnd=this.previewStart=
null;this.selectedValueChange=new tu;this.previewChange=new tu;this.activeDateChange=new tu;this.dragStarted=new tu;this.dragEnded=new tu;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=Lqa(d),g=e?c._getCellFromElement(e):
null;e!==d.target&&(c._didDragSinceMouseDown=!0);Hqa(d.target)&&d.preventDefault();c._ngZone.run(function(){return c.previewChange.emit({value:(null==g?0:g.enabled)?g:null,event:d})})}};this._leaveHandler=function(d){null!==c.previewEnd&&c.isRange&&("blur"!==d.type&&(c._didDragSinceMouseDown=!0),!d.target||!c._getCellFromElement(d.target)||d.relatedTarget&&c._getCellFromElement(d.relatedTarget)||c._ngZone.run(function(){return c.previewChange.emit({value:null,event:d})}))};this._mousedownHandler=
function(d){if(c.isRange){c._didDragSinceMouseDown=!1;var e=d.target&&c._getCellFromElement(d.target);e&&c._isInRange(e.rawValue)&&c._ngZone.run(function(){c.dragStarted.emit({value:e.rawValue,event:d})})}};this._mouseupHandler=function(d){if(c.isRange){var e=Hqa(d.target);e?e.closest(".mat-calendar-body")===c._elementRef.nativeElement&&c._ngZone.run(function(){var g=c._getCellFromElement(e),h;c.dragEnded.emit({value:null!=(h=null==g?void 0:g.rawValue)?h:null,event:d})}):c._ngZone.run(function(){c.dragEnded.emit({value:null,
event:d})})}};this._touchendHandler=function(d){(d=Lqa(d))&&c._mouseupHandler({target:d})};this._id="mat-calendar-body-"+T1b++;this._startDateLabelId=this._id+"-start-date";this._endDateLabelId=this._id+"-end-date";b.runOutsideAngular(function(){var d=a.nativeElement;d.addEventListener("touchmove",c._touchmoveHandler,U1b);d.addEventListener("mouseenter",c._enterHandler,ny);d.addEventListener("focus",c._enterHandler,ny);d.addEventListener("mouseleave",c._leaveHandler,ny);d.addEventListener("blur",
c._leaveHandler,ny);d.addEventListener("mousedown",c._mousedownHandler,V1b);d.addEventListener("touchstart",c._mousedownHandler,V1b);c._platform.isBrowser&&(window.addEventListener("mouseup",c._mouseupHandler),window.addEventListener("touchend",c._touchendHandler))})};f=oy.prototype;f.ngAfterViewChecked=function(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)};
f._cellClicked=function(a,b){this._didDragSinceMouseDown||a.enabled&&this.selectedValueChange.emit({value:a.value,event:b})};f._emitActiveDateChange=function(a,b){a.enabled&&this.activeDateChange.emit({value:a.value,event:b})};f._isSelected=function(a){return this.startValue===a||this.endValue===a};
f.ngOnChanges=function(a){var b=a.numCols,c=this.rows,d=this.numCols;if(a.rows||b)this._firstRowOffset=c&&c.length&&c[0].length?d-c[0].length:0;if(a.cellAspectRatio||b||!this._cellPadding)this._cellPadding=50*this.cellAspectRatio/d+"%";if(b||!this._cellWidth)this._cellWidth=100/d+"%"};
f.ngOnDestroy=function(){var a=this._elementRef.nativeElement;a.removeEventListener("touchmove",this._touchmoveHandler,U1b);a.removeEventListener("mouseenter",this._enterHandler,ny);a.removeEventListener("focus",this._enterHandler,ny);a.removeEventListener("mouseleave",this._leaveHandler,ny);a.removeEventListener("blur",this._leaveHandler,ny);a.removeEventListener("mousedown",this._mousedownHandler,V1b);a.removeEventListener("touchstart",this._mousedownHandler,V1b);this._platform.isBrowser&&(window.removeEventListener("mouseup",
this._mouseupHandler),window.removeEventListener("touchend",this._touchendHandler))};f._isActiveCell=function(a,b){b=a*this.numCols+b;a&&(b-=this._firstRowOffset);return b==this.activeCell};f._focusActiveCell=function(a){var b=this;a=void 0===a?!0:a;this._ngZone.runOutsideAngular(function(){b._ngZone.onStable.pipe(ge()).subscribe(function(){setTimeout(function(){var c=b._elementRef.nativeElement.querySelector(".mat-calendar-body-active");c&&(a||(b._skipNextFocus=!0),c.focus())})})})};
f._scheduleFocusActiveCellAfterViewChecked=function(){this._focusActiveCellAfterViewChecked=!0};f._isRangeStart=function(a){return Iqa(a,this.startValue,this.endValue)};f._isRangeEnd=function(a){return Jqa(a,this.startValue,this.endValue)};f._isInRange=function(a){return Kqa(a,this.startValue,this.endValue,this.isRange)};f._isComparisonStart=function(a){return Iqa(a,this.comparisonStart,this.comparisonEnd)};
f._isComparisonBridgeStart=function(a,b,c){if(!this._isComparisonStart(a)||this._isRangeStart(a)||!this._isInRange(a))return!1;a=this.rows[b][c-1];a||(a=(b=this.rows[b-1])&&b[b.length-1]);return a&&!this._isRangeEnd(a.compareValue)};f._isComparisonBridgeEnd=function(a,b,c){if(!this._isComparisonEnd(a)||this._isRangeEnd(a)||!this._isInRange(a))return!1;a=this.rows[b][c+1];a||(a=(b=this.rows[b+1])&&b[0]);return a&&!this._isRangeStart(a.compareValue)};
f._isComparisonEnd=function(a){return Jqa(a,this.comparisonStart,this.comparisonEnd)};f._isInComparisonRange=function(a){return Kqa(a,this.comparisonStart,this.comparisonEnd,this.isRange)};f._isComparisonIdentical=function(a){return this.comparisonStart===this.comparisonEnd&&a===this.comparisonStart};f._isPreviewStart=function(a){return Iqa(a,this.previewStart,this.previewEnd)};f._isPreviewEnd=function(a){return Jqa(a,this.previewStart,this.previewEnd)};
f._isInPreview=function(a){return Kqa(a,this.previewStart,this.previewEnd,this.isRange)};f._getDescribedby=function(a){return this.isRange?this.startValue===a&&this.endValue===a?this._startDateLabelId+" "+this._endDateLabelId:this.startValue===a?this._startDateLabelId:this.endValue===a?this._endDateLabelId:null:null};f._getCellFromElement=function(a){var b=Hqa(a);return b&&(a=b.getAttribute("data-mat-row"),b=b.getAttribute("data-mat-col"),a&&b)?this.rows[parseInt(a)][parseInt(b)]:null};
oy.\u0275fac=function(a){return new (a||oy)(D(fd),D(te))};
oy.\u0275cmp=zc({type:oy,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",
endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],features:[Mc],attrs:["mat-calendar-body",""],decls:6,vars:6,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],[1,"mat-calendar-body-hidden-label",3,"id"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["class","mat-calendar-body-label",
3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom",4,"ngFor","ngForOf"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click","focus"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(a,b){a&1&&(R(0,Cqa,3,6,"tr",0),R(1,Fqa,3,2,"tr",1),H(2,"label",
2),S(3),J(),H(4,"label",2),S(5),J());a&2&&(G("ngIf",b._firstRowOffset<b.labelMinRequiredCells),C(1),G("ngForOf",b.rows),C(1),G("id",b._startDateLabelId),C(1),Te(" ",b.startDateAccessibleName,"\n"),C(1),G("id",b._endDateLabelId),C(1),Te(" ",b.endDateAccessibleName,"\n"))},dependencies:[Ru,Su,Tu],styles:['.mat-calendar-body{min-width:224px}.mat-calendar-body-label{height:0;line-height:0;text-align:left;padding-left:4.7142857143%;padding-right:4.7142857143%}.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 .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}.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}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.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 W1b=new Hc("MAT_DATE_RANGE_SELECTION_STRATEGY");new Ot;new Pt;var py=function(a,b,c,d,e){this._changeDetectorRef=a;this._dateFormats=b;this._dateAdapter=c;this._dir=d;this._rangeStrategy=e;this._rerenderSubscription=F.Subscription.EMPTY;this.activeDrag=null;this.selectedChange=new tu;this._userSelection=new tu;this.dragStarted=new tu;this.dragEnded=new tu;this.activeDateChange=new tu;this._activeDate=new sl};f=py.prototype;f.ngAfterContentInit=function(){var a=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(oe(null)).subscribe(function(){return a._init()})};
f.ngOnChanges=function(a){var b=a.comparisonStart||a.comparisonEnd;b&&!b.firstChange&&this._setRanges(this.selected);a.activeDrag&&!this.activeDrag&&this._clearPreview()};f.ngOnDestroy=function(){this._rerenderSubscription.unsubscribe()};f._dateSelected=function(a){var b=a.value,c=this._getDateFromDayOfMonth(b),d;(d=this._getDateInCurrentMonth(this._selected))===b&&d===b||this.selectedChange.emit(c);this._userSelection.emit({value:c,event:a.event});this._clearPreview();this._changeDetectorRef.markForCheck()};
f._updateActiveDate=function(a){var b=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(a.value);Vx(this._dateAdapter,b,this.activeDate)&&this.activeDateChange.emit(this._activeDate)};
f._handleCalendarBodyKeydown=function(a){var b=this._activeDate,c=this._isRtl();switch(a.keyCode){case 37:this.activeDate=qy(this._activeDate,c?1:-1);break;case 39:this.activeDate=qy(this._activeDate,c?-1:1);break;case 38:this.activeDate=qy(this._activeDate,-7);break;case 40:this.activeDate=qy(this._activeDate,7);break;case 36:this.activeDate=qy(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case 35:this.activeDate=qy(this._activeDate,X1b(this._activeDate)-this._dateAdapter.getDate(this._activeDate));
break;case 33:this.activeDate=a.altKey?ry(this._activeDate,-1):sy(this._activeDate,-1);break;case 34:this.activeDate=a.altKey?ry(this._activeDate,1):sy(this._activeDate,1);break;case 13:case 32:this._selectionKeyPressed=!0;this._canSelect(this._activeDate)&&a.preventDefault();return;case 27:null==this._previewEnd||If(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}Vx(this._dateAdapter,b,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked());a.preventDefault()};f._handleCalendarBodyKeyup=function(a){if(32===a.keyCode||13===a.keyCode)this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:a}),this._selectionKeyPressed=!1};
f._init=function(){this._setRanges(this.selected);this._todayDate=this._getCellCompareValue(new sl);this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.locale.SHORTMONTHS[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();var a=ty(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(a)-this._dateAdapter.getFirstDayOfWeek())%
7;this._initWeekdays();this._createWeekCells();this._changeDetectorRef.markForCheck()};f._focusActiveCell=function(a){this._matCalendarBody._focusActiveCell(a)};f._focusActiveCellAfterViewChecked=function(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()};
f._previewChanged=function(a){var b=a.event;a=a.value;if(this._rangeStrategy){a=a?a.rawValue:null;var c=this._rangeStrategy.createPreview(a,this.selected,b);this._previewStart=this._getCellCompareValue(c.start);this._previewEnd=this._getCellCompareValue(c.end);if(this.activeDrag&&a){var d,e;if(c=null==(e=(d=this._rangeStrategy).createDrag)?void 0:e.call(d,this.activeDrag.value,this.selected,a,b))this._previewStart=this._getCellCompareValue(c.start),this._previewEnd=this._getCellCompareValue(c.end)}this._changeDetectorRef.detectChanges()}};
f._dragEnded=function(a){if(this.activeDrag)if(a.value){var b,c,d=null==(b=this._rangeStrategy)?void 0:null==(c=b.createDrag)?void 0:c.call(b,this.activeDrag.value,this.selected,a.value,a.event);this.dragEnded.emit({value:null!=d?d:null,event:a.event})}else this.dragEnded.emit({value:null,event:a.event})};f._getDateFromDayOfMonth=function(a){return ty(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),a)};
f._initWeekdays=function(){var a=this._dateAdapter.getFirstDayOfWeek(),b=Y1b(this._dateAdapter,"narrow"),c=Y1b(this._dateAdapter,"long").map(function(d,e){return{long:d,narrow:b[e]}});this._weekdays=c.slice(a).concat(c.slice(0,a))};
f._createWeekCells=function(){var a=X1b(this.activeDate),b=Z1b;this._weeks=[[]];for(var c=0,d=this._firstWeekOffset;c<a;c++,d++){7==d&&(this._weeks.push([]),d=0);var e=ty(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),c+1),g=this._shouldEnableDate(e),h=this._dateAdapter.format(e,this._dateFormats.display.dateA11yLabel),l=this.dateClass?this.dateClass(e,"month"):void 0;this._weeks[this._weeks.length-1].push(new S1b(c+1,b[c],h,g,l,this._getCellCompareValue(e),
e))}};f._shouldEnableDate=function(a){return!!a&&(!this.minDate||0<=Vx(this._dateAdapter,a,this.minDate))&&(!this.maxDate||0>=Vx(this._dateAdapter,a,this.maxDate))&&(!this.dateFilter||this.dateFilter(a))};f._getDateInCurrentMonth=function(a){return a&&this._hasSameMonthAndYear(a,this.activeDate)?this._dateAdapter.getDate(a):null};f._hasSameMonthAndYear=function(a,b){return!(!a||!b||this._dateAdapter.getMonth(a)!=this._dateAdapter.getMonth(b)||this._dateAdapter.getYear(a)!=this._dateAdapter.getYear(b))};
f._getCellCompareValue=function(a){if(a){var b=this._dateAdapter.getYear(a),c=this._dateAdapter.getMonth(a);a=this._dateAdapter.getDate(a);return(new Date(b,c,a)).getTime()}return null};f._isRtl=function(){return this._dir&&"rtl"===this._dir.value};f._setRanges=function(a){this._rangeStart=this._rangeEnd=this._getCellCompareValue(a);this._isRange=!1;this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart);this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)};
f._canSelect=function(a){return!this.dateFilter||this.dateFilter(a)};f._clearPreview=function(){this._previewStart=this._previewEnd=null};
gg.Object.defineProperties(py.prototype,{activeDate:{configurable:!0,enumerable:!0,get:function(){return this._activeDate},set:function(a){var b=this._activeDate;a=Ux(this._dateAdapter,this._dateAdapter.deserialize(a))||new sl;this._activeDate=n1b(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=Ux(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=Ux(this._dateAdapter,this._dateAdapter.deserialize(a))}},maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=Ux(this._dateAdapter,this._dateAdapter.deserialize(a))}}});py.\u0275fac=function(a){return new (a||py)(D(Lu),D(Wx,8),D(Tx,8),D(qx,8),D(W1b,8))};
py.\u0275cmp=zc({type:py,selectors:[["mat-month-view"]],viewQuery:function(a,b){a&1&&jf(oy,5);if(a&2){var c;hf(c=lf())&&(b._matCalendarBody=c.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName",activeDrag:"activeDrag"},outputs:{selectedChange:"selectedChange",
_userSelection:"_userSelection",dragStarted:"dragStarted",dragEnded:"dragEnded",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[Mc],decls:7,vars:15,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["aria-hidden","true","colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd",
"isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName","selectedValueChange","activeDateChange","previewChange","dragStarted","dragEnded","keyup","keydown"],["scope","col"],[1,"cdk-visually-hidden"],["aria-hidden","true"]],template:function(a,b){a&1&&(H(0,"table",0)(1,"thead",1)(2,"tr"),R(3,Mqa,5,2,"th",2),J(),H(4,"tr"),K(5,"th",3),J()(),H(6,"tbody",4),O("selectedValueChange",function(c){return b._dateSelected(c)})("activeDateChange",function(c){return b._updateActiveDate(c)})("previewChange",
function(c){return b._previewChanged(c)})("dragStarted",function(c){return b.dragStarted.emit(c)})("dragEnded",function(c){return b._dragEnded(c)})("keyup",function(c){return b._handleCalendarBodyKeyup(c)})("keydown",function(c){return b._handleCalendarBodyKeydown(c)}),J()());a&2&&(C(3),G("ngForOf",b._weekdays),C(3),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:[Su,oy],encapsulation:2,changeDetection:0});var uy=function(a,b,c){this._changeDetectorRef=a;this._dateAdapter=b;this._dir=c;this._rerenderSubscription=F.Subscription.EMPTY;this.selectedChange=new tu;this.yearSelected=new tu;this.activeDateChange=new tu;this._activeDate=new sl};f=uy.prototype;f.ngAfterContentInit=function(){var a=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(oe(null)).subscribe(function(){return a._init()})};f.ngOnDestroy=function(){this._rerenderSubscription.unsubscribe()};
f._init=function(){var a=this;this._todayYear=this._dateAdapter.getYear(new sl);var b=this._dateAdapter.getYear(this._activeDate)-Pqa(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(var c=0,d=[];24>c;c++)d.push(b+c),4==d.length&&(this._years.push(d.map(function(e){return a._createCellForYear(e)})),d=[]);this._changeDetectorRef.markForCheck()};f._yearSelected=function(a){var b=a.value;a=ty(b,0,1);b=this._getDateFromYear(b);this.yearSelected.emit(a);this.selectedChange.emit(b)};
f._updateActiveDate=function(a){var b=this._activeDate;this.activeDate=this._getDateFromYear(a.value);Vx(this._dateAdapter,b,this.activeDate)&&this.activeDateChange.emit(this.activeDate)};
f._handleCalendarBodyKeydown=function(a){var b=this._activeDate,c=this._isRtl();switch(a.keyCode){case 37:this.activeDate=ry(this._activeDate,c?1:-1);break;case 39:this.activeDate=ry(this._activeDate,c?-1:1);break;case 38:this.activeDate=ry(this._activeDate,-4);break;case 40:this.activeDate=ry(this._activeDate,4);break;case 36:this.activeDate=ry(this._activeDate,-Pqa(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=ry(this._activeDate,24-Pqa(this._dateAdapter,
this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=ry(this._activeDate,a.altKey?-240:-24);break;case 34:this.activeDate=ry(this._activeDate,a.altKey?240:24);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}Vx(this._dateAdapter,b,this.activeDate)&&this.activeDateChange.emit(this.activeDate);this._focusActiveCellAfterViewChecked();a.preventDefault()};
f._handleCalendarBodyKeyup=function(a){if(32===a.keyCode||13===a.keyCode)this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:a}),this._selectionKeyPressed=!1};f._getActiveCell=function(){return Pqa(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)};f._focusActiveCell=function(){this._matCalendarBody._focusActiveCell()};f._focusActiveCellAfterViewChecked=function(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()};
f._getDateFromYear=function(a){var b=this._dateAdapter.getMonth(this.activeDate);var c=ty(a,b,1);c=X1b(c);return ty(a,b,Math.min(this._dateAdapter.getDate(this.activeDate),c))};f._createCellForYear=function(a){var b=ty(a,0,1),c=""+b.getFullYear();b=this.dateClass?this.dateClass(b,"multi-year"):void 0;return new S1b(a,c,c,this._shouldEnableYear(a),b)};
f._shouldEnableYear=function(a){if(void 0===a||null===a||this.maxDate&&a>this._dateAdapter.getYear(this.maxDate)||this.minDate&&a<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;for(var b=ty(a,0,1);this._dateAdapter.getYear(b)==a;b=qy(b,1))if(this.dateFilter(b))return!0;return!1};f._isRtl=function(){return this._dir&&"rtl"===this._dir.value};f._setSelectedYear=function(a){this._selectedYear=null;a&&(this._selectedYear=this._dateAdapter.getYear(a))};
gg.Object.defineProperties(uy.prototype,{activeDate:{configurable:!0,enumerable:!0,get:function(){return this._activeDate},set:function(a){var b=this._activeDate;a=Ux(this._dateAdapter,this._dateAdapter.deserialize(a))||new sl;this._activeDate=n1b(this._dateAdapter,a,this.minDate,this.maxDate);Oqa(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=Ux(this._dateAdapter,
this._dateAdapter.deserialize(a));this._setSelectedYear(a)}},minDate:{configurable:!0,enumerable:!0,get:function(){return this._minDate},set:function(a){this._minDate=Ux(this._dateAdapter,this._dateAdapter.deserialize(a))}},maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=Ux(this._dateAdapter,this._dateAdapter.deserialize(a))}}});uy.\u0275fac=function(a){return new (a||uy)(D(Lu),D(Tx,8),D(qx,8))};
uy.\u0275cmp=zc({type:uy,selectors:[["mat-multi-year-view"]],viewQuery:function(a,b){a&1&&jf(oy,5);if(a&2){var c;hf(c=lf())&&(b._matCalendarBody=c.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",activeDateChange:"activeDateChange"},exportAs:["matMultiYearView"],decls:5,vars:7,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden",
"true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"rows","todayValue","startValue","endValue","numCols","cellAspectRatio","activeCell","selectedValueChange","activeDateChange","keyup","keydown"]],template:function(a,b){a&1&&(H(0,"table",0)(1,"thead",1)(2,"tr"),K(3,"th",2),J()(),H(4,"tbody",3),O("selectedValueChange",function(c){return b._yearSelected(c)})("activeDateChange",function(c){return b._updateActiveDate(c)})("keyup",function(c){return b._handleCalendarBodyKeyup(c)})("keydown",
function(c){return b._handleCalendarBodyKeydown(c)}),J()());a&2&&(C(4),G("rows",b._years)("todayValue",b._todayYear)("startValue",b._selectedYear)("endValue",b._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",b._getActiveCell()))},dependencies:[oy],encapsulation:2,changeDetection:0});var vy=function(a,b,c,d){this._changeDetectorRef=a;this._dateFormats=b;this._dateAdapter=c;this._dir=d;this._rerenderSubscription=F.Subscription.EMPTY;this.selectedChange=new tu;this.monthSelected=new tu;this.activeDateChange=new tu;this._activeDate=new sl};f=vy.prototype;f.ngAfterContentInit=function(){var a=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(oe(null)).subscribe(function(){return a._init()})};f.ngOnDestroy=function(){this._rerenderSubscription.unsubscribe()};
f._monthSelected=function(a){a=a.value;var b=ty(this._dateAdapter.getYear(this.activeDate),a,1);this.monthSelected.emit(b);a=this._getDateFromMonth(a);this.selectedChange.emit(a)};f._updateActiveDate=function(a){var b=this._activeDate;this.activeDate=this._getDateFromMonth(a.value);Vx(this._dateAdapter,b,this.activeDate)&&this.activeDateChange.emit(this.activeDate)};
f._handleCalendarBodyKeydown=function(a){var b=this._activeDate,c=this._isRtl();switch(a.keyCode){case 37:this.activeDate=sy(this._activeDate,c?1:-1);break;case 39:this.activeDate=sy(this._activeDate,c?-1:1);break;case 38:this.activeDate=sy(this._activeDate,-4);break;case 40:this.activeDate=sy(this._activeDate,4);break;case 36:this.activeDate=sy(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case 35:this.activeDate=sy(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));
break;case 33:this.activeDate=ry(this._activeDate,a.altKey?-10:-1);break;case 34:this.activeDate=ry(this._activeDate,a.altKey?10:1);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}Vx(this._dateAdapter,b,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked());a.preventDefault()};
f._handleCalendarBodyKeyup=function(a){if(32===a.keyCode||13===a.keyCode)this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:a}),this._selectionKeyPressed=!1};
f._init=function(){var a=this;this._setSelectedMonth(this.selected);this._todayMonth=this._getMonthInCurrentYear(new sl);this._yearLabel=""+this.activeDate.getFullYear();var b=this._dateAdapter.locale.SHORTMONTHS;this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(function(c){return c.map(function(d){return a._createCellForMonth(d,b[d])})});this._changeDetectorRef.markForCheck()};f._focusActiveCell=function(){this._matCalendarBody._focusActiveCell()};f._focusActiveCellAfterViewChecked=function(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()};
f._getMonthInCurrentYear=function(a){return a&&this._dateAdapter.getYear(a)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(a):null};f._getDateFromMonth=function(a){var b=ty(this._dateAdapter.getYear(this.activeDate),a,1);b=X1b(b);return ty(this._dateAdapter.getYear(this.activeDate),a,Math.min(this._dateAdapter.getDate(this.activeDate),b))};
f._createCellForMonth=function(a,b){var c=ty(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 S1b(a,b.toLocaleUpperCase(),d,this._shouldEnableMonth(a),c)};
f._shouldEnableMonth=function(a){var b=this._dateAdapter.getYear(this.activeDate);if(void 0===a||null===a||this._isYearAndMonthAfterMaxDate(b,a)||this._isYearAndMonthBeforeMinDate(b,a))return!1;if(!this.dateFilter)return!0;for(b=ty(b,a,1);this._dateAdapter.getMonth(b)==a;b=qy(b,1))if(this.dateFilter(b))return!0;return!1};f._isYearAndMonthAfterMaxDate=function(a,b){if(this.maxDate){var c=this._dateAdapter.getYear(this.maxDate),d=this._dateAdapter.getMonth(this.maxDate);return a>c||a===c&&b>d}return!1};
f._isYearAndMonthBeforeMinDate=function(a,b){if(this.minDate){var c=this._dateAdapter.getYear(this.minDate),d=this._dateAdapter.getMonth(this.minDate);return a<c||a===c&&b<d}return!1};f._isRtl=function(){return this._dir&&"rtl"===this._dir.value};f._setSelectedMonth=function(a){this._selectedMonth=this._getMonthInCurrentYear(a)};
gg.Object.defineProperties(vy.prototype,{activeDate:{configurable:!0,enumerable:!0,get:function(){return this._activeDate},set:function(a){var b=this._activeDate;a=Ux(this._dateAdapter,this._dateAdapter.deserialize(a))||new sl;this._activeDate=n1b(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=Ux(this._dateAdapter,
this._dateAdapter.deserialize(a));this._setSelectedMonth(a)}},minDate:{configurable:!0,enumerable:!0,get:function(){return this._minDate},set:function(a){this._minDate=Ux(this._dateAdapter,this._dateAdapter.deserialize(a))}},maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=Ux(this._dateAdapter,this._dateAdapter.deserialize(a))}}});vy.\u0275fac=function(a){return new (a||vy)(D(Lu),D(Wx,8),D(Tx,8),D(qx,8))};
vy.\u0275cmp=zc({type:vy,selectors:[["mat-year-view"]],viewQuery:function(a,b){a&1&&jf(oy,5);if(a&2){var c;hf(c=lf())&&(b._matCalendarBody=c.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",monthSelected:"monthSelected",activeDateChange:"activeDateChange"},exportAs:["matYearView"],decls:5,vars:9,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",
1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","labelMinRequiredCells","numCols","cellAspectRatio","activeCell","selectedValueChange","activeDateChange","keyup","keydown"]],template:function(a,b){a&1&&(H(0,"table",0)(1,"thead",1)(2,"tr"),K(3,"th",2),J()(),H(4,"tbody",3),O("selectedValueChange",function(c){return b._monthSelected(c)})("activeDateChange",function(c){return b._updateActiveDate(c)})("keyup",
function(c){return b._handleCalendarBodyKeyup(c)})("keydown",function(c){return b._handleCalendarBodyKeydown(c)}),J()());a&2&&(C(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:[oy],encapsulation:2,changeDetection:0});var $1b=1,wy=function(a,b,c,d,e){this._intl=a;this.calendar=b;this._dateAdapter=c;this._dateFormats=d;this._id="mat-calendar-header-"+$1b++;this._periodButtonLabelId=this._id+"-period-label";this.calendar.stateChanges.subscribe(function(){return e.markForCheck()})};
wy.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):Oqa(this._dateAdapter,a,b,this.calendar.minDate,this.calendar.maxDate)};
wy.prototype._formatMinAndMaxYearLabels=function(){var a=this._dateAdapter.getYear(this.calendar.activeDate)-Pqa(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),b=a+24-1;a=""+ty(a,0,1).getFullYear();b=""+ty(b,0,1).getFullYear();return[a,b]};
gg.Object.defineProperties(wy.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,Jc(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,Jc(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]}}});wy.\u0275fac=function(a){return new (a||wy)(D(my),D(tc(function(){return xy})),D(Tx,8),D(Wx,8),D(Lu))};
wy.\u0275cmp=zc({type:wy,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:["*"],decls:13,vars:11,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","aria-live","polite",1,"mat-calendar-period-button",3,"click"],["aria-hidden","true"],["viewBox","0 0 10 5","focusable","false","aria-hidden","true",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",
3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"],[1,"mat-calendar-hidden-label",3,"id"]],template:function(a,b){a&1&&(Ne(),H(0,"div",0)(1,"div",1)(2,"button",2),O("click",function(){b.calendar.currentView="month"==b.calendar.currentView?"multi-year":"month"}),H(3,"span",3),S(4),J(),Xc(),H(5,"svg",4),K(6,"polygon",5),J()(),Yc(),K(7,"div",6),Oe(8),H(9,"button",7),O("click",function(){b.calendar.activeDate="month"==b.calendar.currentView?
sy(b.calendar.activeDate,-1):ry(b.calendar.activeDate,"year"==b.calendar.currentView?-1:-24)}),J(),H(10,"button",8),O("click",function(){b.calendar.activeDate="month"==b.calendar.currentView?sy(b.calendar.activeDate,1):ry(b.calendar.activeDate,"year"==b.calendar.currentView?1:24)}),J()()(),H(11,"label",9),S(12),J());a&2&&(C(2),Ae("aria-label",b.periodButtonLabel)("aria-describedby",b._periodButtonLabelId),C(2),Ve(b.periodButtonText),C(1),Ie("mat-calendar-invert","month"!==b.calendar.currentView),
C(4),G("disabled",!(b.calendar.minDate?!b.calendar.minDate||!b._isSameView(b.calendar.activeDate,b.calendar.minDate):1)),Ae("aria-label",b.prevButtonLabel),C(1),G("disabled",!(!b.calendar.maxDate||!b._isSameView(b.calendar.activeDate,b.calendar.maxDate))),Ae("aria-label",b.nextButtonLabel),C(1),G("id",b._periodButtonLabelId),C(1),Ve(b.periodButtonDescription))},dependencies:[hy,jy],encapsulation:2,changeDetection:0});
var xy=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 tu;this.yearSelected=new tu;this.monthSelected=new tu;this.viewChanged=new tu(!0);this._userSelection=new tu;this._userDragDrop=new tu;this._activeDrag=null;this.stateChanges=new F.Subject;this._intlChanges=a.changes.subscribe(function(){d.markForCheck();e.stateChanges.next()})};f=xy.prototype;
f.ngAfterContentInit=function(){this._calendarHeaderPortal=new cw(this.headerComponent||wy);this.activeDate=this.startAt||new sl;this._currentView=this.startView};f.ngAfterViewChecked=function(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this._getCurrentViewComponent()._focusActiveCell(!1))};f.ngOnDestroy=function(){this._intlChanges.unsubscribe();this.stateChanges.complete()};
f.ngOnChanges=function(a){var b=a.minDate&&!this._dateAdapter.sameDate(a.minDate.previousValue,a.minDate.currentValue)?a.minDate:void 0,c=a.maxDate&&!this._dateAdapter.sameDate(a.maxDate.previousValue,a.maxDate.currentValue)?a.maxDate:void 0;(a=b||c||a.dateFilter)&&!a.firstChange&&(a=this._getCurrentViewComponent())&&(this._changeDetectorRef.detectChanges(),a._init());this.stateChanges.next()};
f._dateSelected=function(a){var b=a.value;b&&!this._dateAdapter.sameDate(b,this.selected)&&this.selectedChange.emit(b);this._userSelection.emit(a)};f._yearSelectedInMultiYearView=function(a){this.yearSelected.emit(a)};f._monthSelectedInYearView=function(a){this.monthSelected.emit(a)};f._goToDateInView=function(a,b){this.activeDate=a;this.currentView=b};f._dragStarted=function(a){this._activeDrag=a};f._dragEnded=function(a){this._activeDrag&&(a.value&&this._userDragDrop.emit(a),this._activeDrag=null)};
f._getCurrentViewComponent=function(){return this.monthView||this.yearView||this.multiYearView};
gg.Object.defineProperties(xy.prototype,{startAt:{configurable:!0,enumerable:!0,get:function(){return this._startAt},set:function(a){this._startAt=Ux(this._dateAdapter,this._dateAdapter.deserialize(a))}},selected:{configurable:!0,enumerable:!0,get:function(){return this._selected},set:function(a){this._selected=Ux(this._dateAdapter,this._dateAdapter.deserialize(a))}},minDate:{configurable:!0,enumerable:!0,get:function(){return this._minDate},set:function(a){this._minDate=Ux(this._dateAdapter,this._dateAdapter.deserialize(a))}},
maxDate:{configurable:!0,enumerable:!0,get:function(){return this._maxDate},set:function(a){this._maxDate=Ux(this._dateAdapter,this._dateAdapter.deserialize(a))}},activeDate:{configurable:!0,enumerable:!0,get:function(){return this._clampedActiveDate},set:function(a){this._clampedActiveDate=n1b(this._dateAdapter,a,this.minDate,this.maxDate);this.stateChanges.next();this._changeDetectorRef.markForCheck()}},currentView:{configurable:!0,enumerable:!0,get:function(){return this._currentView},set:function(a){var b=
this._currentView!==a?a:null;this._currentView=a;this._moveFocusOnNextTick=!0;this._changeDetectorRef.markForCheck();b&&this.viewChanged.emit(b)}}});xy.\u0275fac=function(a){return new (a||xy)(D(my),D(Tx,8),D(Wx,8),D(Lu))};
xy.\u0275cmp=zc({type:xy,selectors:[["mat-calendar"]],viewQuery:function(a,b){a&1&&(jf(py,5),jf(vy,5),jf(uy,5));if(a&2){var c;hf(c=lf())&&(b.monthView=c.first);hf(c=lf())&&(b.yearView=c.first);hf(c=lf())&&(b.multiYearView=c.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",
startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection",_userDragDrop:"_userDragDrop"},exportAs:["matCalendar"],features:[Xe([R1b]),Mc],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter",
"maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag","activeDateChange","_userSelection","dragStarted","dragEnded",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate",
"selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag","activeDateChange","_userSelection","dragStarted","dragEnded"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(a,b){a&1&&(R(0,Qqa,
0,0,"ng-template",0),H(1,"div",1),R(2,Rqa,1,11,"mat-month-view",2),R(3,Sqa,1,6,"mat-year-view",3),R(4,Tqa,1,6,"mat-multi-year-view",4),J());a&2&&(G("cdkPortalOutlet",b._calendarHeaderPortal),C(1),G("ngSwitch",b.currentView),C(1),G("ngSwitchCase","month"),C(1),G("ngSwitchCase","year"),C(1),G("ngSwitchCase","multi-year"))},dependencies:[Uu,Vu,aw,hw,py,vy,uy],styles:['.mat-calendar{display:block}.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}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle}.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-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}.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}.mat-calendar-body-cell-content::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.mat-calendar-body-cell:focus .mat-focus-indicator::before{content:""}.mat-calendar-hidden-label{display:none}\n'],
encapsulation:2,changeDetection:0});var a2b=["mat-button",""],b2b=["*"],c2b=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"},
d2b="mat-button mat-flat-button mat-icon-button mat-raised-button mat-stroked-button mat-mini-fab mat-fab".split(" "),e2b=hg(jg(ig(function(a){this._elementRef=a}))),yy=function(a,b,c){var d=e2b.call(this,a)||this;d._focusMonitor=b;d._animationMode=c;d.isRoundButton=d._hasHostAttributes("mat-fab","mat-mini-fab");d.isIconButton=d._hasHostAttributes("mat-icon-button");for(var e=k(d2b),g=e.next();!g.done;g=e.next())g=g.value,d._hasHostAttributes(g)&&d._getHostElement().classList.add(g);a.nativeElement.classList.add("mat-button-base");
d.isRoundButton&&(d.color="accent");return d};V(yy,e2b);f=yy.prototype;f.ngAfterViewInit=function(){this._focusMonitor.monitor(this._elementRef,!0)};f.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)};f.focus=function(a,b){a?$v(this._focusMonitor,this._getHostElement(),a,b):this._getHostElement().focus(b)};f._getHostElement=function(){return this._elementRef.nativeElement};f._isRippleDisabled=function(){return this.disableRipple||this.disabled};
f._hasHostAttributes=function(){var a=this;return Fc.apply(0,arguments).some(function(b){return a._getHostElement().hasAttribute(b)})};yy.\u0275fac=function(a){return new (a||yy)(D(fd),D(Zv),D(Tt,8))};
yy.\u0275cmp=zc({type:yy,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&&jf(Zx,5);if(a&2){var c;hf(c=lf())&&(b.ripple=c.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(a,b){a&2&&(Ae("disabled",b.disabled||null),Ie("_mat-animation-noopable","NoopAnimations"===b._animationMode)("mat-button-disabled",
b.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[xe],attrs:a2b,ngContentSelectors:b2b,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&&(Ne(),H(0,"span",0),Oe(1),J(),K(2,"span",1)(3,"span",2));a&2&&(C(2),Ie("mat-button-ripple-round",b.isRoundButton||b.isIconButton),G("matRippleDisabled",
b._isRippleDisabled())("matRippleCentered",b.isIconButton)("matRippleTrigger",b._getHostElement()))},dependencies:[Zx],styles:[c2b()],encapsulation:2,changeDetection:0});var zy=function(a,b,c,d){var e=yy.call(this,b,a,c)||this;e._ngZone=d;e._haltDisabledEvents=function(g){e.disabled&&(g.preventDefault(),g.stopImmediatePropagation())};return e};V(zy,yy);
zy.prototype.ngAfterViewInit=function(){var a=this;yy.prototype.ngAfterViewInit.call(this);this._ngZone?this._ngZone.runOutsideAngular(function(){a._elementRef.nativeElement.addEventListener("click",a._haltDisabledEvents)}):this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)};zy.prototype.ngOnDestroy=function(){yy.prototype.ngOnDestroy.call(this);this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)};
zy.\u0275fac=function(a){return new (a||zy)(D(Zv),D(fd),D(Tt,8),D(te,8))};
zy.\u0275cmp=zc({type:zy,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:7,hostBindings:function(a,b){a&2&&(Ae("tabindex",b.disabled?-1:b.tabIndex)("disabled",b.disabled||null)("aria-disabled",b.disabled.toString()),Ie("_mat-animation-noopable","NoopAnimations"===b._animationMode)("mat-button-disabled",b.disabled))},
inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[xe],attrs:a2b,ngContentSelectors:b2b,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&&(Ne(),H(0,"span",0),Oe(1),J(),K(2,"span",1)(3,"span",2));a&2&&(C(2),Ie("mat-button-ripple-round",b.isRoundButton||b.isIconButton),
G("matRippleDisabled",b._isRippleDisabled())("matRippleCentered",b.isIconButton)("matRippleTrigger",b._getHostElement()))},dependencies:[Zx],styles:[c2b()],encapsulation:2,changeDetection:0});var Ay=function(a,b,c,d){return by.call(this,a,b,c,d)||this};V(Ay,by);Ay.\u0275fac=function(a){return new (a||Ay)(D(fd),D(Lu),D(p1b,8),D(q1b,8))};
Ay.\u0275cmp=zc({type:Ay,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(a,b){a&1&&O("click",function(){return b._selectViaInteraction()})("keydown",function(c){return b._handleKeydown(c)});a&2&&(Me("id",b.id),Ae("tabindex",b._getTabIndex())("aria-selected",b.selected)("aria-disabled",b.disabled.toString()),Ie("mat-selected",b.selected)("mat-option-multiple",b.multiple)("mat-active",b.active)("mat-option-disabled",b.disabled))},
exportAs:["matOption"],features:[xe],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&&(Ne(),R(0,Uqa,1,2,"mat-pseudo-checkbox",0),H(1,"span",1,2),Oe(3),J(),R(4,Vqa,2,1,"span",
3),K(5,"div",4));a&2&&(G("ngIf",b.multiple),C(4),G("ngIf",b.group&&b.group._inert),C(1),G("matRippleTrigger",b._getHostElement())("matRippleDisabled",b.disabled||b.disableRipple))},dependencies:[Zx,Tu,ay],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 By=function(){};By.\u0275fac=function(a){return new (a||By)};By.\u0275mod=Bc({type:By});By.\u0275inj=oc({imports:[cy,gv,Sx,dy]});var f2b={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},g2b=Of("dialogContainer",[Rf("void, exit",Qf({opacity:0,transform:"scale(0.7)"})),Rf("enter",Qf({transform:"none"})),Sf("* => enter",{type:3,steps:[Pf("{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)",Qf({transform:"none",opacity:1})),apa("@*",$oa())],options:null},f2b),Sf("* => void, * => exit",{type:3,steps:[Pf("{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)",Qf({opacity:0})),apa("@*",$oa())],options:null},
f2b)]);var h2b=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 i2b=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 Cy=function(a,b,c,d,e,g,h,l){this._isDisposed=!1;this._elementRef=a;this._focusTrapFactory=b;this._config=d;this._interactivityChecker=e;this._ngZone=g;this._overlayRef=h;this._focusMonitor=l;this._closeInteractionType=this._elementFocusedBeforeDialogWasOpened=null;this._ariaLabelledBy=this._config.ariaLabelledBy||null;this._document=c};V(Cy,ew);f=Cy.prototype;f._contentAttached=function(){this._initializeFocusTrap();this._handleBackdropClicks();this._captureInitialFocus()};
f._captureInitialFocus=function(){this._trapFocus()};f.ngOnDestroy=function(){this._restoreFocus()};f.attachComponentPortal=function(a){a=this._portalOutlet.attachComponentPortal(a);this._contentAttached();return a};f.attachTemplatePortal=function(a){a=this._portalOutlet.attachTemplatePortal(a);this._contentAttached();return a};f._recaptureFocus=function(){this._containsFocus()||this._trapFocus()};
f._forceFocus=function(a,b){this._interactivityChecker.isFocusable(a)||(a.tabIndex=-1,this._ngZone.runOutsideAngular(function(){var c=function(){a.removeEventListener("blur",c);a.removeEventListener("mousedown",c);a.removeAttribute("tabindex")};a.addEventListener("blur",c);a.addEventListener("mousedown",c)}));a.focus(b)};f._focusByCssSelector=function(a,b){(a=this._elementRef.nativeElement.querySelector(a))&&this._forceFocus(a,b)};
f._trapFocus=function(){var a=this,b=this._elementRef.nativeElement;switch(this._config.autoFocus){case !1:case "dialog":this._containsFocus()||b.focus();break;case !0:case "first-tabbable":eZb(this._focusTrap).then(function(c){c||a._focusDialogContainer()});break;case "first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}};
f._restoreFocus=function(){var a=this._config.restoreFocus,b=null;"string"===typeof a?b=this._document.querySelector(a):"boolean"===typeof a?b=a?this._elementFocusedBeforeDialogWasOpened:null:a&&(b=a);if(this._config.restoreFocus&&b&&"function"===typeof b.focus){a=noa();var c=this._elementRef.nativeElement;if(!a||a===this._document.body||a===c||c.contains(a))this._focusMonitor?($v(this._focusMonitor,b,this._closeInteractionType),this._closeInteractionType=null):b.focus()}this._focusTrap&&this._focusTrap.destroy()};
f._focusDialogContainer=function(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()};f._containsFocus=function(){var a=this._elementRef.nativeElement,b=noa();return a===b||a.contains(b)};f._initializeFocusTrap=function(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement);this._document&&(this._elementFocusedBeforeDialogWasOpened=noa())};
f._handleBackdropClicks=function(){var a=this;this._overlayRef.backdropClick().subscribe(function(){a._config.disableClose&&a._recaptureFocus()})};Cy.\u0275fac=function(a){return new (a||Cy)(D(fd),D(Vv),D(eg,8),D(i2b),D(Tv),D(te),D(Hx),D(Zv))};
Cy.\u0275cmp=zc({type:Cy,selectors:[["cdk-dialog-container"]],viewQuery:function(a,b){a&1&&jf(hw,7);if(a&2){var c;hf(c=lf())&&(b._portalOutlet=c.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(a,b){a&2&&Ae("id",b._config.id||null)("role",b._config.role)("aria-modal",b._config.ariaModal)("aria-labelledby",b._config.ariaLabel?null:b._ariaLabelledBy)("aria-label",b._config.ariaLabel)("aria-describedby",b._config.ariaDescribedBy||null)},features:[xe],decls:1,
vars:0,consts:[["cdkPortalOutlet",""]],template:function(a){a&1&&R(0,Wqa,0,0,"ng-template",0)},dependencies:[hw],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}\n"],encapsulation:2});var j2b=new Hc("DialogScrollStrategy"),k2b=new Hc("DialogData"),l2b=new Hc("DefaultDialogConfig"),m2b={provide:j2b,deps:[Ox],useFactory:function(a){return function(){return a.scrollStrategies.block()}}};var n2b=function(a,b){var c=this;this.overlayRef=a;this.config=b;this.closed=new F.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||If(d)||(d.preventDefault(),c.close(void 0,{focusOrigin:"keyboard"}))});this.backdropClick.subscribe(function(){c.disableClose||c.close(void 0,{focusOrigin:"mouse"})});
this._detachSubscription=a._detachments.subscribe(function(){!1!==b.closeOnOverlayDetachments&&c.close()})};f=n2b.prototype;f.close=function(a,b){if(this.containerInstance){var c=this.closed;this.containerInstance._closeInteractionType=(null==b?void 0:b.focusOrigin)||"program";this._detachSubscription.unsubscribe();this.overlayRef.dispose();c.next(a);c.complete();this.componentInstance=this.containerInstance=null}};f.updatePosition=function(){this.overlayRef.updatePosition()};
f.updateSize=function(a,b){this.overlayRef.updateSize({width:void 0===a?"":a,height:void 0===b?"":b})};f.addPanelClass=function(a){this.overlayRef.addPanelClass(a)};f.removePanelClass=function(a){this.overlayRef.removePanelClass(a)};var o2b=0,Dy=function(a,b,c,d,e,g){var h=this;this._overlay=a;this._injector=b;this._defaultOptions=c;this._parentDialog=d;this._overlayContainer=e;this._openDialogsAtThisLevel=[];this._afterAllClosedAtThisLevel=new F.Subject;this._afterOpenedAtThisLevel=new F.Subject;this._ariaHiddenElements=new Map;(0,F.defer)(function(){return h.openDialogs.length?h._getAfterAllClosed():h._getAfterAllClosed().pipe(oe(void 0))});this._scrollStrategy=g};f=Dy.prototype;
f.open=function(a,b){var c=this;b=Object.assign({},this._defaultOptions||new i2b,b);b.id=b.id||"cdk-dialog-"+o2b++;b.id&&this.getDialogById(b.id);var d=this._getOverlayConfig(b);d=this._overlay.create(d);var e=new n2b(d,b);d=this._attachContainer(d,e,b);e.containerInstance=d;this._attachDialogContent(a,e,d,b);this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology();this.openDialogs.push(e);e.closed.subscribe(function(){return c._removeOpenDialog(e,!0)});this.afterOpened.next(e);
return e};f.getDialogById=function(a){this.openDialogs.find(function(b){return b.id===a})};f.ngOnDestroy=function(){var a=this;Xqa(this._openDialogsAtThisLevel,function(b){!1===b.config.closeOnDestroy&&a._removeOpenDialog(b,!1)});Xqa(this._openDialogsAtThisLevel,function(b){return b.close()});this._afterAllClosedAtThisLevel.complete();this._afterOpenedAtThisLevel.complete();this._openDialogsAtThisLevel=[]};
f._getOverlayConfig=function(a){var b=new Gx({positionStrategy:a.positionStrategy||g1b(f1b(this._overlay.position().global())),scrollStrategy:a.scrollStrategy||this._scrollStrategy(),panelClass:a.panelClass,hasBackdrop:a.hasBackdrop,direction:a.direction,minWidth:a.minWidth,minHeight:a.minHeight,maxWidth:a.maxWidth,maxHeight:a.maxHeight,width:a.width,height:a.height,disposeOnNavigation:a.closeOnNavigation});a.backdropClass&&(b.backdropClass=a.backdropClass);return b};
f._attachContainer=function(a,b,c){var d,e=c.injector||(null==(d=c.viewContainerRef)?void 0:d.injector);b=[{provide:i2b,useValue:c},{provide:n2b,useValue:b},{provide:Hx,useValue:a}];c.container?"function"===typeof c.container?d=c.container:(d=c.container.type,b.push.apply(b,Jc(c.container.providers(c)))):d=Cy;c=new cw(d,c.viewContainerRef,ve({parent:e||this._injector,providers:b}),c.componentFactoryResolver);return a.attach(c).instance};
f._attachDialogContent=function(a,b,c,d){if(a instanceof ef){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 dw(a,null,b,e))}else e=this._createInjector(d,b,c,this._injector),a=c.attachComponentPortal(new cw(a,d.viewContainerRef,e,d.componentFactoryResolver)),b.componentInstance=a.instance};
f._createInjector=function(a,b,c,d){var e,g=a.injector||(null==(e=a.viewContainerRef)?void 0:e.injector);e=[{provide:k2b,useValue:a.data},{provide:n2b,useValue:b}];a.providers&&("function"===typeof a.providers?e.push.apply(e,Jc(a.providers(b,a,c))):e.push.apply(e,Jc(a.providers)));!a.direction||g&&g.get(qx,null,{optional:!0})||e.push({provide:qx,useValue:{value:a.direction,change:(0,F.of)()}});return ve({parent:g||d,providers:e})};
f._removeOpenDialog=function(a,b){a=this.openDialogs.indexOf(a);-1<a&&(this.openDialogs.splice(a,1),this.openDialogs.length||(this._ariaHiddenElements.forEach(function(c,d){c?d.setAttribute("aria-hidden",c):d.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),b&&this._getAfterAllClosed().next()))};
f._hideNonDialogContentFromAssistiveTechnology=function(){var a=J0b(this._overlayContainer);if(a.parentElement)for(var b=a.parentElement.children,c=b.length-1;-1<c;c--){var d=b[c];d===a||"SCRIPT"===d.nodeName||"STYLE"===d.nodeName||d.hasAttribute("aria-live")||(this._ariaHiddenElements.set(d,d.getAttribute("aria-hidden")),d.setAttribute("aria-hidden","true"))}};f._getAfterAllClosed=function(){var a=this._parentDialog;return a?a._getAfterAllClosed():this._afterAllClosedAtThisLevel};
gg.Object.defineProperties(Dy.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}}});Dy.\u0275fac=function(a){return new (a||Dy)(w(Ox),w(Qt),w(l2b,8),w(Dy,12),w(vx),w(j2b))};Dy.\u0275prov=nc({token:Dy,factory:Dy.\u0275fac});var Ey=function(){};Ey.\u0275fac=function(a){return new (a||Ey)};Ey.\u0275mod=Bc({type:Ey});Ey.\u0275inj=oc({providers:[Dy,m2b],imports:[Rx,iw,dx,iw]});var Fy=function(a,b,c,d,e,g,h,l){Cy.call(this,a,b,c,d,e,g,h,l);this._animationStateChanged=new tu};V(Fy,Cy);Fy.prototype._captureInitialFocus=function(){this._config.delayFocusTrap||this._trapFocus()};Fy.prototype._openAnimationDone=function(a){this._config.delayFocusTrap&&this._trapFocus();this._animationStateChanged.next({state:"opened",totalTime:a})};Fy.\u0275fac=function(a){return new (a||Fy)(D(fd),D(Vv),D(eg,8),D(h2b),D(Tv),D(te),D(Hx),D(Zv))};
Fy.\u0275cmp=zc({type:Fy,selectors:[["ng-component"]],features:[xe],decls:0,vars:0,template:function(){},encapsulation:2});var p2b=function(a,b,c){var d=this;this._ref=a;this._containerInstance=c;this._afterOpened=new F.Subject;this._beforeClosed=new F.Subject;this._state=0;this.disableClose=b.disableClose;this.id=a.id;c._animationStateChanged.pipe(Zd(function(e){return"opened"===e.state}),ge()).subscribe(function(){d._afterOpened.next();d._afterOpened.complete()});c._animationStateChanged.pipe(Zd(function(e){return"closed"===e.state}),ge()).subscribe(function(){clearTimeout(d._closeFallbackTimeout);d._finishDialogClose()});
a.overlayRef._detachments.subscribe(function(){d._beforeClosed.next(d._result);d._beforeClosed.complete();d._finishDialogClose()});(0,F.merge)(this.backdropClick(),this.keydownEvents().pipe(Zd(function(e){return 27===e.keyCode&&!d.disableClose&&!If(e)}))).subscribe(function(e){d.disableClose||(e.preventDefault(),d._closeInteractionType="keydown"===e.type?"keyboard":"mouse",d.close(void 0))})};
p2b.prototype.close=function(a){var b=this;this._result=a;this._containerInstance._animationStateChanged.pipe(Zd(function(c){return"closing"===c.state}),ge()).subscribe(function(c){b._beforeClosed.next(a);b._beforeClosed.complete();X0b(b._ref.overlayRef);b._closeFallbackTimeout=setTimeout(function(){return b._finishDialogClose()},c.totalTime+100)});this._state=1;this._containerInstance._startExitAnimation()};p2b.prototype.afterOpened=function(){return this._afterOpened};var Gy=function(a){return a._ref.closed};
f=p2b.prototype;f.backdropClick=function(){return this._ref.backdropClick};f.keydownEvents=function(){return this._ref.keydownEvents};f.updatePosition=function(a){var b=this._ref.config.positionStrategy;a&&(a.left||a.right)?a.left?b.left(a.left):b.right(a.right):f1b(b);a&&(a.top||a.bottom)?a.top?b.top(a.top):b.bottom(a.bottom):g1b(b);this._ref.updatePosition()};f.updateSize=function(a,b){this._ref.updateSize(void 0===a?"":a,void 0===b?"":b)};f.addPanelClass=function(a){this._ref.addPanelClass(a)};
f.removePanelClass=function(a){this._ref.removePanelClass(a)};f.getState=function(){return this._state};f._finishDialogClose=function(){this._state=2;this._ref.close(this._result,{focusOrigin:this._closeInteractionType});this.componentInstance=null};new Hc("MatMdcDialogData");new Hc("mat-mdc-dialog-default-options");new Hc("mat-mdc-dialog-scroll-strategy");
var q2b=0,Hy=function(a,b,c,d,e,g,h,l,q){var v=this;this._overlay=a;this._defaultOptions=c;this._parentDialog=d;this._dialogRefConstructor=h;this._dialogContainerType=l;this._dialogDataToken=q;this._openDialogsAtThisLevel=[];this._afterAllClosedAtThisLevel=new F.Subject;this._afterOpenedAtThisLevel=new F.Subject;this._idPrefix="mat-dialog-";this.dialogConfigClass=h2b;(0,F.defer)(function(){return v.openDialogs.length?v._getAfterAllClosed():v._getAfterAllClosed().pipe(oe(void 0))});this._scrollStrategy=
g;this._dialog=b.get(Dy)};f=Hy.prototype;f._getAfterAllClosed=function(){var a=this._parentDialog;return a?a._getAfterAllClosed():this._afterAllClosedAtThisLevel};
f.open=function(a,b){var c=this,d;b=Object.assign({},this._defaultOptions||new h2b,b);b.id=b.id||"mat-dialog-"+q2b++;b.scrollStrategy=b.scrollStrategy||this._scrollStrategy();a=this._dialog.open(a,Object.assign({},b,{positionStrategy:g1b(f1b(this._overlay.position().global())),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:function(){return[{provide:c.dialogConfigClass,useValue:b},{provide:i2b,useValue:b}]}},templateContext:function(){return{dialogRef:d}},
providers:function(e,g,h){d=new c._dialogRefConstructor(e,b,h);var l;d.updatePosition(null==(l=b)?void 0:l.position);return[{provide:c._dialogContainerType,useValue:h},{provide:c._dialogDataToken,useValue:g.data},{provide:c._dialogRefConstructor,useValue:d}]}}));d.componentInstance=a.componentInstance;this.openDialogs.push(d);this.afterOpened.next(d);Gy(d).subscribe(function(){var e=c.openDialogs.indexOf(d);-1<e&&(c.openDialogs.splice(e,1),c.openDialogs.length||c._getAfterAllClosed().next())});return d};
f.getDialogById=function(a){this.openDialogs.find(function(b){return b.id===a})};f.ngOnDestroy=function(){this._closeDialogs(this._openDialogsAtThisLevel);this._afterAllClosedAtThisLevel.complete();this._afterOpenedAtThisLevel.complete()};f._closeDialogs=function(a){for(var b=a.length;b--;)a[b].close()};
gg.Object.defineProperties(Hy.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}}});Hy.\u0275fac=function(){kd()};Hy.\u0275prov=nc({token:Hy,factory:Hy.\u0275fac});var Iy=function(){p2b.apply(this,arguments)};V(Iy,p2b);var r2b=function(){h2b.apply(this,arguments);this.enterAnimationDuration=f2b.params.enterAnimationDuration;this.exitAnimationDuration=f2b.params.exitAnimationDuration};V(r2b,h2b);var Jy=function(a,b,c,d,e,g,h,l,q){Fy.call(this,a,b,c,d,e,g,h,q);this._changeDetectorRef=l;this._state="enter"};V(Jy,Fy);Jy.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})};
Jy.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})};Jy.prototype._startExitAnimation=function(){this._state="exit";this._changeDetectorRef.markForCheck()};
Jy.prototype._getAnimationState=function(){return{value:this._state,params:{enterAnimationDuration:this._config.enterAnimationDuration||"150ms",exitAnimationDuration:this._config.exitAnimationDuration||"75ms"}}};Jy.\u0275fac=function(a){return new (a||Jy)(D(fd),D(Vv),D(eg,8),D(r2b),D(Tv),D(te),D(Hx),D(Lu),D(Zv))};
Jy.\u0275cmp=zc({type:Jy,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-dialog-container"],hostVars:7,hostBindings:function(a,b){a&1&&Qla("@dialogContainer.start",function(c){return b._onAnimationStart(c)})("@dialogContainer.done",function(c){return b._onAnimationDone(c)});a&2&&(Me("id",b._config.id),Ae("aria-modal",b._config.ariaModal)("role",b._config.role)("aria-labelledby",b._config.ariaLabel?null:b._ariaLabelledBy)("aria-label",b._config.ariaLabel)("aria-describedby",
b._config.ariaDescribedBy||null),Ola("@dialogContainer",b._getAnimationState()))},features:[xe],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(a){a&1&&R(0,Yqa,0,0,"ng-template",0)},dependencies:[hw],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:[g2b]}});var Ky=new Hc("MatDialogData"),s2b=new Hc("mat-dialog-default-options"),t2b=new Hc("mat-dialog-scroll-strategy"),u2b={provide:t2b,deps:[Ox],useFactory:function(a){return function(){return a.scrollStrategies.block()}}},Ly=function(a,b,c,d,e,g,h,l){Hy.call(this,a,b,d,g,h,e,Iy,Jy,Ky,l);this.dialogConfigClass=r2b};V(Ly,Hy);Ly.\u0275fac=function(a){return new (a||Ly)(w(Ox),w(Qt),w(ov,8),w(s2b,8),w(t2b),w(Ly,12),w(vx),w(Tt,8))};Ly.\u0275prov=nc({token:Ly,factory:Ly.\u0275fac});var v2b=0,My=function(a,b,c){this.dialogRef=a;this._elementRef=b;this._dialog=c;this.type="button"};My.prototype.ngOnInit=function(){this.dialogRef||(this.dialogRef=Zqa(this._elementRef,this._dialog.openDialogs))};My.prototype.ngOnChanges=function(a){if(a=a._matDialogClose||a._matDialogCloseResult)this.dialogResult=a.currentValue};My.prototype._onButtonClick=function(a){var b=this.dialogRef,c=this.dialogResult;b._closeInteractionType=0===a.screenX&&0===a.screenY?"keyboard":"mouse";b.close(c)};
My.\u0275fac=function(a){return new (a||My)(D(Iy,8),D(fd),D(Ly))};My.\u0275dir=Cc({type:My,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(a,b){a&1&&O("click",function(c){return b._onButtonClick(c)});a&2&&Ae("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:[Mc]});
var Ny=function(a,b,c){this._dialogRef=a;this._elementRef=b;this._dialog=c;this.id="mat-dialog-title-"+v2b++};Ny.prototype.ngOnInit=function(){var a=this;this._dialogRef||(this._dialogRef=Zqa(this._elementRef,this._dialog.openDialogs));this._dialogRef&&Promise.resolve().then(function(){var b=a._dialogRef._containerInstance;b&&!b._ariaLabelledBy&&(b._ariaLabelledBy=a.id)})};Ny.\u0275fac=function(a){return new (a||Ny)(D(Iy,8),D(fd),D(Ly))};
Ny.\u0275dir=Cc({type:Ny,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(a,b){a&2&&Me("id",b.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]});var Oy=function(){};Oy.\u0275fac=function(a){return new (a||Oy)};Oy.\u0275dir=Cc({type:Oy,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]});var Py=function(){this.align="start"};
Py.\u0275fac=function(a){return new (a||Py)};Py.\u0275dir=Cc({type:Py,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"],hostVars:4,hostBindings:function(a,b){a&2&&Ie("mat-dialog-actions-align-center","center"===b.align)("mat-dialog-actions-align-end","end"===b.align)},inputs:{align:"align"}});var Qy=function(){};Qy.\u0275fac=function(a){return new (a||Qy)};Qy.\u0275mod=Bc({type:Qy});Qy.\u0275inj=oc({providers:[Ly,u2b],imports:[Ey,Rx,iw,Sx,Sx]});var w2b=Cf({passive:!0}),Ry=function(a,b){this._platform=a;this._ngZone=b;this._monitoredElements=new Map};
Ry.prototype.monitor=function(a){var b=this;if(!this._platform.isBrowser)return F.EMPTY;var c=Gf(a);if(a=this._monitoredElements.get(c))return a.subject;var d=new F.Subject,e=function(g){"cdk-text-field-autofill-start"!==g.animationName||c.classList.contains("cdk-text-field-autofilled")?"cdk-text-field-autofill-end"===g.animationName&&c.classList.contains("cdk-text-field-autofilled")&&(c.classList.remove("cdk-text-field-autofilled"),b._ngZone.run(function(){return d.next({target:g.target,isAutofilled:!1})})):
(c.classList.add("cdk-text-field-autofilled"),b._ngZone.run(function(){return d.next({target:g.target,isAutofilled:!0})}))};this._ngZone.runOutsideAngular(function(){c.addEventListener("animationstart",e,w2b);c.classList.add("cdk-text-field-autofill-monitored")});this._monitoredElements.set(c,{subject:d,unlisten:function(){c.removeEventListener("animationstart",e,w2b)}});return d};
Ry.prototype.stopMonitoring=function(a){a=Gf(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))};Ry.prototype.ngOnDestroy=function(){var a=this;this._monitoredElements.forEach(function(b,c){return a.stopMonitoring(c)})};Ry.\u0275fac=function(a){return new (a||Ry)(w(Sv),w(te))};Ry.\u0275prov=nc({token:Ry,factory:Ry.\u0275fac,providedIn:"root"});var Sy=function(a,b,c,d){var e=this;this._elementRef=a;this._platform=b;this._ngZone=c;this._destroyed=new F.Subject;this._enabled=!0;this._previousMinRows=-1;this._isViewInited=!1;this._handleFocusEvent=function(g){e._hasFocus="focus"===g.type};this._document=d;this._textareaElement=this._elementRef.nativeElement};f=Sy.prototype;f._setMinHeight=function(){var a=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;a&&(this._textareaElement.style.minHeight=a)};
f._setMaxHeight=function(){var a=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;a&&(this._textareaElement.style.maxHeight=a)};
f.ngAfterViewInit=function(){var a=this;this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,x2b(this),this._ngZone.runOutsideAngular(function(){(0,F.fromEvent)(a._getWindow(),"resize").pipe(be(16),qe(a._destroyed)).subscribe(function(){return x2b(a,!0)});a._textareaElement.addEventListener("focus",a._handleFocusEvent);a._textareaElement.addEventListener("blur",a._handleFocusEvent)}),this._isViewInited=!0,x2b(this,!0))};
f.ngOnDestroy=function(){this._textareaElement.removeEventListener("focus",this._handleFocusEvent);this._textareaElement.removeEventListener("blur",this._handleFocusEvent);this._destroyed.next();this._destroyed.complete()};
f._cacheTextareaLineHeight=function(){if(!this._cachedLineHeight){var a=this._textareaElement.cloneNode(!1);a.rows=1;a.style.position="absolute";a.style.visibility="hidden";a.style.border="none";a.style.padding="0";a.style.height="";a.style.minHeight="";a.style.maxHeight="";a.style.overflow="hidden";this._textareaElement.parentNode.appendChild(a);this._cachedLineHeight=a.clientHeight;a.remove();this._setMinHeight();this._setMaxHeight()}};
f._measureScrollHeight=function(){var a=this._textareaElement,b=a.style.marginBottom||"",c=this._platform.FIREFOX,d=c&&this._hasFocus;c=c?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring";d&&(a.style.marginBottom=a.clientHeight+"px");a.classList.add(c);var e=a.scrollHeight-4;a.classList.remove(c);d&&(a.style.marginBottom=b);return e};
f._cacheTextareaPlaceholderHeight=function(){if(this._isViewInited&&void 0==this._cachedPlaceholderHeight)if(this.placeholder){var a=this._textareaElement.value;this._textareaElement.value=this._textareaElement.placeholder;this._cachedPlaceholderHeight=this._measureScrollHeight();this._textareaElement.value=a}else this._cachedPlaceholderHeight=0};f.ngDoCheck=function(){this._platform.isBrowser&&x2b(this)};
var x2b=function(a,b){b=void 0===b?!1:b;if(a._enabled&&(a._cacheTextareaLineHeight(),a._cacheTextareaPlaceholderHeight(),a._cachedLineHeight)){var c=a._elementRef.nativeElement,d=c.value;if(b||a._minRows!==a._previousMinRows||d!==a._previousValue)b=a._measureScrollHeight(),c.style.height=Math.max(b,a._cachedPlaceholderHeight||0)+"px",a._ngZone.runOutsideAngular(function(){"undefined"!==typeof requestAnimationFrame?requestAnimationFrame(function(){return a._scrollToCaretPosition(c)}):setTimeout(function(){return a._scrollToCaretPosition(c)})}),
a._previousValue=d,a._previousMinRows=a._minRows}};f=Sy.prototype;f.reset=function(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)};f._noopInputHandler=function(){};f._getDocument=function(){return this._document||document};f._getWindow=function(){return this._getDocument().defaultView||window};f._scrollToCaretPosition=function(a){var b=a.selectionStart,c=a.selectionEnd;!this._destroyed.isStopped&&this._hasFocus&&a.setSelectionRange(b,c)};
gg.Object.defineProperties(Sy.prototype,{minRows:{configurable:!0,enumerable:!0,get:function(){return this._minRows},set:function(a){this._minRows=Hf(a);this._setMinHeight()}},maxRows:{configurable:!0,enumerable:!0,get:function(){return this._maxRows},set:function(a){this._maxRows=Hf(a);this._setMaxHeight()}},enabled:{configurable:!0,enumerable:!0,get:function(){return this._enabled},set:function(a){a=Ef(a);this._enabled!==a&&((this._enabled=a)?x2b(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()}}});Sy.\u0275fac=function(a){return new (a||Sy)(D(fd),D(Sv),D(te),D(eg,8))};
Sy.\u0275dir=Cc({type:Sy,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(a){a&1&&O("input",function(){})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"],placeholder:"placeholder"},exportAs:["cdkTextareaAutosize"]});var Ty=function(){};Ty.\u0275fac=function(a){return new (a||Ty)};Ty.\u0275mod=Bc({type:Ty});Ty.\u0275inj=oc({});var y2b=new Hc("MatError");var z2b=new Hc("MatPrefix");var A2b=new Hc("MatSuffix");var B2b=Of("transitionMessages",[Rf("enter",Qf({opacity:1,transform:"translateY(0%)"})),Sf("void => enter",[Qf({opacity:0,transform:"translateY(-5px)"}),Pf("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])]);var Uy=function(){};Uy.\u0275fac=function(a){return new (a||Uy)};Uy.\u0275dir=Cc({type:Uy});new Hc("FloatingLabelParent");var C2b=new Hc("MatFormField");new Hc("MAT_FORM_FIELD_DEFAULT_OPTIONS");var D2b=0,Vy=function(a,b){this.id="mat-error-"+D2b++;a||b.nativeElement.setAttribute("aria-live","polite")};Vy.\u0275fac=function(a){return new (a||Vy)($c("aria-live"),D(fd))};Vy.\u0275dir=Cc({type:Vy,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(a,b){a&2&&Ae("id",b.id)},inputs:{id:"id"},features:[Xe([{provide:y2b,useExisting:Vy}])]});var E2b=0,F2b=new Hc("MatHint"),Wy=function(){this.align="start";this.id="mat-hint-"+E2b++};Wy.\u0275fac=function(a){return new (a||Wy)};Wy.\u0275dir=Cc({type:Wy,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(a,b){a&2&&(Ae("id",b.id)("align",null),Ie("mat-form-field-hint-end","end"===b.align))},inputs:{align:"align",id:"id"},features:[Xe([{provide:F2b,useExisting:Wy}])]});var Xy=function(){};Xy.\u0275fac=function(a){return new (a||Xy)};Xy.\u0275dir=Cc({type:Xy,selectors:[["mat-label"]]});var G2b=function(){};G2b.\u0275fac=function(a){return new (a||G2b)};G2b.\u0275dir=Cc({type:G2b,selectors:[["mat-placeholder"]]});var H2b=["connectionContainer"],I2b=["inputContainer"],J2b=["label"],K2b=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],L2b=0,M2b=hg(function(a){this._elementRef=a},"primary"),N2b=new Hc("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Yy=function(a,b,c,d,e,g,h){a=M2b.call(this,a)||this;a._changeDetectorRef=b;a._dir=c;a._defaults=d;a._platform=e;a._ngZone=g;a._outlineGapCalculationNeededImmediately=
!1;a._outlineGapCalculationNeededOnStable=!1;a._destroyed=new F.Subject;a._hideRequiredMarker=!1;a._showAlwaysAnimate=!1;a._subscriptAnimationState="";a._hintLabel="";a._hintLabelId="mat-hint-"+L2b++;a._labelId="mat-form-field-label-"+L2b++;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};V(Yy,M2b);f=Yy.prototype;
f._shouldAlwaysFloat=function(){return"always"===this.floatLabel&&!this._showAlwaysAnimate};f._canLabelFloat=function(){return"never"!==this.floatLabel};f.getLabelId=function(){return this._hasFloatingLabel()?this._labelId:null};
f.ngAfterContentInit=function(){var a=this,b=this._control;b.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-"+b.controlType);b.stateChanges.pipe(oe(null)).subscribe(function(){a._syncDescribedByIds();a._changeDetectorRef.markForCheck()});b.ngControl&&b.ngControl.valueChanges&&b.ngControl.valueChanges.pipe(qe(this._destroyed)).subscribe(function(){return a._changeDetectorRef.markForCheck()});this._ngZone.runOutsideAngular(function(){a._ngZone.onStable.pipe(qe(a._destroyed)).subscribe(function(){a._outlineGapCalculationNeededOnStable&&
lg(a)})});(0,F.merge)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(function(){a._outlineGapCalculationNeededOnStable=!0;a._changeDetectorRef.markForCheck()});this._hintChildren.changes.pipe(oe(null)).subscribe(function(){a._processHints();a._changeDetectorRef.markForCheck()});this._errorChildren.changes.pipe(oe(null)).subscribe(function(){a._syncDescribedByIds();a._changeDetectorRef.markForCheck()});this._dir&&this._dir.change.pipe(qe(this._destroyed)).subscribe(function(){"function"===
typeof requestAnimationFrame?a._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return lg(a)})}):lg(a)})};f.ngAfterContentChecked=function(){this._outlineGapCalculationNeededImmediately&&lg(this)};f.ngAfterViewInit=function(){this._subscriptAnimationState="enter";this._changeDetectorRef.detectChanges()};f.ngOnDestroy=function(){this._destroyed.next();this._destroyed.complete()};f._shouldForward=function(a){var b=this._control?this._control.ngControl:null;return b&&b[a]};
f._hasPlaceholder=function(){return!!(this._control&&this._control.placeholder||this._placeholderChild)};f._hasLabel=function(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)};f._shouldLabelFloat=function(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())};f._hideControlPlaceholder=function(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()};
f._hasFloatingLabel=function(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()};f._getDisplayedMessages=function(){return this._errorChildren&&0<this._errorChildren.length&&this._control.errorState?"error":"hint"};
f._animateAndLockLabel=function(){var a=this;this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,(0,F.fromEvent)(this._label.nativeElement,"transitionend").pipe(ge()).subscribe(function(){a._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())};f._validatePlaceholders=function(){};f._processHints=function(){this._syncDescribedByIds()};f._validateHints=function(){};
f._getDefaultFloatLabelState=function(){return this._defaults&&this._defaults.floatLabel||"auto"};
f._syncDescribedByIds=function(){if(this._control){var a=[];this._control.userAriaDescribedBy&&"string"===typeof this._control.userAriaDescribedBy&&a.push.apply(a,Jc(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,Jc(this._errorChildren.map(function(d){return d.id})));this._control.setDescribedByIds(a)}};f._validateControlChild=function(){};
var lg=function(a){var b=a._label?a._label.nativeElement:null,c=a._connectionContainerRef.nativeElement;if("outline"===a.appearance&&a._platform.isBrowser)if(b&&b.children.length&&b.textContent.trim())if(a._isAttachedToDOM()){var d=0,e=0,g=c.querySelectorAll(".mat-form-field-outline-start"),h=c.querySelectorAll(".mat-form-field-outline-gap");if(a._label&&a._label.nativeElement.children.length){d=c.getBoundingClientRect();if(0===d.width&&0===d.height){a._outlineGapCalculationNeededOnStable=!0;a._outlineGapCalculationNeededImmediately=
!1;return}d=a._getStartEnd(d);e=b.children;c=a._getStartEnd(e[0].getBoundingClientRect());for(var l=b=0;l<e.length;l++)b+=e[l].offsetWidth;d=Math.abs(c-d)-5;e=0<b?.75*b+10:0}for(b=0;b<g.length;b++)g[b].style.width=d+"px";for(g=0;g<h.length;g++)h[g].style.width=e+"px";a._outlineGapCalculationNeededOnStable=a._outlineGapCalculationNeededImmediately=!1}else a._outlineGapCalculationNeededImmediately=!0;else for(a=c.querySelectorAll(".mat-form-field-outline-start, .mat-form-field-outline-gap"),h=0;h<a.length;h++)a[h].style.width=
"0"};Yy.prototype._getStartEnd=function(a){return this._dir&&"rtl"===this._dir.value?a.right:a.left};Yy.prototype._isAttachedToDOM=function(){var a=this._elementRef.nativeElement;if(a.getRootNode){var b=a.getRootNode();return b&&b!==a}return document.documentElement.contains(a)};
gg.Object.defineProperties(Yy.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=Ef(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}}});Yy.\u0275fac=function(a){return new (a||Yy)(D(fd),D(Lu),D(qx,8),D(N2b,8),D(Sv),D(te),D(Tt,8))};
Yy.\u0275cmp=zc({type:Yy,selectors:[["mat-form-field"]],contentQueries:function(a,b,c){a&1&&(kf(c,Uy,5),kf(c,Uy,7),kf(c,Xy,5),kf(c,Xy,7),kf(c,G2b,5),kf(c,y2b,5),kf(c,F2b,5),kf(c,z2b,5),kf(c,A2b,5));if(a&2){var d;hf(d=lf())&&(b._controlNonStatic=d.first);hf(d=lf())&&(b._controlStatic=d.first);hf(d=lf())&&(b._labelChildNonStatic=d.first);hf(d=lf())&&(b._labelChildStatic=d.first);hf(d=lf())&&(b._placeholderChild=d.first);hf(d=lf())&&(b._errorChildren=d);hf(d=lf())&&(b._hintChildren=d);hf(d=lf())&&(b._prefixChildren=
d);hf(d=lf())&&(b._suffixChildren=d)}},viewQuery:function(a,b){a&1&&(jf(H2b,7),jf(I2b,5),jf(J2b,5));if(a&2){var c;hf(c=lf())&&(b._connectionContainerRef=c.first);hf(c=lf())&&(b._inputContainerRef=c.first);hf(c=lf())&&(b._label=c.first)}},hostAttrs:["ngSkipHydration","",1,"mat-form-field"],hostVars:40,hostBindings:function(a,b){a&2&&Ie("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:[Xe([{provide:C2b,useExisting:Yy}]),xe],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&&(Ne(K2b),H(0,"div",0)(1,"div",
1,2),O("click",function(){return b._control.onContainerClick()}),R(3,$qa,9,0,"ng-container",3),R(4,ara,2,1,"div",4),H(5,"div",5,6),Oe(7),H(8,"span",7),R(9,era,5,16,"label",8),J()(),R(10,fra,2,0,"div",9),J(),R(11,gra,2,4,"div",10),H(12,"div",11),R(13,hra,2,1,"div",12),R(14,jra,5,2,"div",13),J()());a&2&&(C(3),G("ngIf","outline"==b.appearance),C(1),G("ngIf",b._prefixChildren.length),C(5),G("ngIf",b._hasFloatingLabel()),C(1),G("ngIf",b._suffixChildren.length),C(1),G("ngIf","outline"!=b.appearance),C(1),
G("ngSwitch",b._getDisplayedMessages()),C(1),G("ngSwitchCase","error"),C(1),G("ngSwitchCase","hint"))},dependencies:[Tu,Uu,Vu,ax],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:[B2b]},changeDetection:0});var Zy=function(){};Zy.\u0275fac=function(a){return new (a||Zy)};Zy.\u0275mod=Bc({type:Zy});Zy.\u0275inj=oc({imports:[gv,Sx,bx,Sx]});var O2b=new Hc("MAT_INPUT_VALUE_ACCESSOR");var P2b="button checkbox file hidden image radio range reset submit".split(" "),Q2b=0,R2b=uqa(function(a,b,c,d){this._defaultErrorStateMatcher=a;this._parentForm=b;this._parentFormGroup=c;this.ngControl=d;this.stateChanges=new F.Subject}),$y=function(a,b,c,d,e,g,h,l,q,v){var y=R2b.call(this,g,d,e,c)||this;y._elementRef=a;y._platform=b;y._autofillMonitor=l;y._formField=v;y._uid="mat-input-"+Q2b++;y.focused=!1;y.stateChanges=new F.Subject;y.controlType="mat-input";y.autofilled=!1;y._disabled=!1;y._type=
"text";y._readonly=!1;y._neverEmptyInputTypes="date datetime datetime-local month time week".split(" ").filter(function(I){return eoa().has(I)});y._iOSKeyupListener=function(I){I=I.target;I.value||0!==I.selectionStart||0!==I.selectionEnd||(I.setSelectionRange(1,1),I.setSelectionRange(0,0))};c=y._elementRef.nativeElement;var B=c.nodeName.toLowerCase();y._inputValueAccessor=h||c;y._previousNativeValue=y.value;y.id=y.id;b.IOS&&q.runOutsideAngular(function(){a.nativeElement.addEventListener("keyup",y._iOSKeyupListener)});
y._isServer=!y._platform.isBrowser;y._isNativeSelect="select"===B;y._isTextarea="textarea"===B;y._isInFormField=!!v;y._isNativeSelect&&(y.controlType=c.multiple?"mat-native-select-multiple":"mat-native-select");return y};V($y,R2b);f=$y.prototype;f.ngAfterViewInit=function(){var a=this;this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(function(b){a.autofilled=b.isAutofilled;a.stateChanges.next()})};f.ngOnChanges=function(){this.stateChanges.next()};
f.ngOnDestroy=function(){this.stateChanges.complete();this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement);this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)};f.ngDoCheck=function(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next()));this._dirtyCheckNativeValue();this._dirtyCheckPlaceholder()};
f.focus=function(a){this._elementRef.nativeElement.focus(a)};f._focusChanged=function(a){a!==this.focused&&(this.focused=a,this.stateChanges.next())};f._onInput=function(){};f._dirtyCheckNativeValue=function(){var a=this._elementRef.nativeElement.value;this._previousNativeValue!==a&&(this._previousNativeValue=a,this.stateChanges.next())};
f._dirtyCheckPlaceholder=function(){var a=this._getPlaceholder();if(a!==this._previousPlaceholder){var b=this._elementRef.nativeElement;(this._previousPlaceholder=a)?b.setAttribute("placeholder",a):b.removeAttribute("placeholder")}};f._getPlaceholder=function(){return this.placeholder||null};f._validateType=function(){P2b.indexOf(this._type)};f._isNeverEmpty=function(){return-1<this._neverEmptyInputTypes.indexOf(this._type)};
f._isBadInput=function(){var a=this._elementRef.nativeElement.validity;return a&&a.badInput};f.setDescribedByIds=function(a){a.length?this._elementRef.nativeElement.setAttribute("aria-describedby",a.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")};f.onContainerClick=function(){this.focused||this.focus()};f._isInlineSelect=function(){var a=this._elementRef.nativeElement;return this._isNativeSelect&&(a.multiple||1<a.size)};
gg.Object.defineProperties($y.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=Ef(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:IYb(b))?d:!1},
set:function(a){this._required=Ef(a)}},type:{configurable:!0,enumerable:!0,get:function(){return this._type},set:function(a){this._type=a||"text";this._validateType();!this._isTextarea&&eoa().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=Ef(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}}});
$y.\u0275fac=function(a){return new (a||$y)(D(fd),D(Sv),D(rv,10),D(xv,8),D(Gv,8),D(Xx),D(O2b,10),D(Ry),D(te),D(C2b,8))};
$y.\u0275dir=Cc({type:$y,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(a,b){a&1&&O("focus",function(){return b._focusChanged(!0)})("blur",function(){return b._focusChanged(!1)})("input",function(){return b._onInput()});a&2&&(Me("id",b.id)("disabled",b.disabled)("required",b.required),Ae("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),Ie("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:[Xe([{provide:Uy,useExisting:$y}]),xe,Mc]});var az=function(){var a=$y.apply(this,arguments)||this;a._legacyFormField=wc(C2b,{optional:!0});return a};V(az,$y);az.prototype._getPlaceholder=function(){var a=this._legacyFormField,b;return!a||"legacy"!==a.appearance||(null==(b=a._hasLabel)?0:b.call(a))?this.placeholder:null};az.\u0275fac=function(){var a;return function(b){return(a||(a=dd(az)))(b||az)}}();
az.\u0275dir=Cc({type:az,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&&(Ae("data-placeholder",b.placeholder),Ie("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:[Xe([{provide:Uy,useExisting:az}]),xe]});var bz=function(){};bz.\u0275fac=function(a){return new (a||bz)};bz.\u0275mod=Bc({type:bz});bz.\u0275inj=oc({providers:[Xx],imports:[Ty,Zy,Sx,Ty,Zy]});var S2b={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},cz=S2b;cz=S2b;var T2b=RegExp("^((?:[-+]\\d*)?\\d{4})(?:(?:-?(\\d{2})(?:-?(\\d{2}))?)|(?:-?(\\d{3}))|(?:-?W(\\d{2})(?:-?([1-7]))?))?$"),U2b=/^(\d{2})(?::?(\d{2})(?::?(\d{2})(\.\d+)?)?)?$/,V2b=/Z|(?:([-+])(\d{2})(?::?(\d{2}))?)$/,W2b=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},X2b=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)},dz=function(a,b,c,d,e,g){"string"===
typeof a?(this.years="y"==a?b:0,this.months="m"==a?b:0,this.days="d"==a?b:0,this.hours="h"==a?b:0,this.minutes="n"==a?b:0,this.seconds="s"==a?b:0):(this.years=a||0,this.months=b||0,this.days=c||0,this.hours=d||0,this.minutes=e||0,this.seconds=g||0)};f=dz.prototype;
f.toIsoString=function(a){var b=Math.min(this.years,this.months,this.days,this.hours,this.minutes,this.seconds),c=Math.max(this.years,this.months,this.days,this.hours,this.minutes,this.seconds);if(0>b&&0<c)return null;if(!a&&0==b&&0==c)return"PT0S";c=[];0>b&&c.push("-");c.push("P");(this.years||a)&&c.push(Math.abs(this.years)+"Y");(this.months||a)&&c.push(Math.abs(this.months)+"M");(this.days||a)&&c.push(Math.abs(this.days)+"D");if(this.hours||this.minutes||this.seconds||a)c.push("T"),(this.hours||
a)&&c.push(Math.abs(this.hours)+"H"),(this.minutes||a)&&c.push(Math.abs(this.minutes)+"M"),(this.seconds||a)&&c.push(Math.abs(this.seconds)+"S");return c.join("")};f.equals=function(a){return a.years==this.years&&a.months==this.months&&a.days==this.days&&a.hours==this.hours&&a.minutes==this.minutes&&a.seconds==this.seconds};f.clone=function(){return new dz(this.years,this.months,this.days,this.hours,this.minutes,this.seconds)};
f.isZero=function(){return 0==this.years&&0==this.months&&0==this.days&&0==this.hours&&0==this.minutes&&0==this.seconds};f.times=function(a){return new dz(this.years*a,this.months*a,this.days*a,this.hours*a,this.minutes*a,this.seconds*a)};f.add=function(a){this.years+=a.years;this.months+=a.months;this.days+=a.days;this.hours+=a.hours;this.minutes+=a.minutes;this.seconds+=a.seconds};
var Dg=function(a,b,c){"number"===typeof a?(this.date=Y2b(a,b||0,c||1),Z2b(this,c||1)):ta(a)?(this.date=Y2b(a.getFullYear(),a.getMonth(),a.getDate()),Z2b(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),Z2b(this,a))},Y2b=function(a,b,c){b=new Date(a,b,c);0<=a&&100>a&&b.setFullYear(b.getFullYear()-1900);return b};f=Dg.prototype;f.firstDayOfWeek_=cz.FIRSTDAYOFWEEK;
f.firstWeekCutOffDay_=cz.FIRSTWEEKCUTOFFDAY;f.clone=function(){var a=new Dg(this.date);a.firstDayOfWeek_=this.firstDayOfWeek_;a.firstWeekCutOffDay_=this.firstWeekCutOffDay_;return a};f.getFullYear=function(){return this.date.getFullYear()};f.getYear=function(){return this.getFullYear()};f.getMonth=function(){return this.date.getMonth()};f.getDate=function(){return this.date.getDate()};f.getTime=function(){return this.date.getTime()};f.getDay=function(){return this.date.getDay()};
f.getUTCFullYear=function(){return this.date.getUTCFullYear()};f.getUTCMonth=function(){return this.date.getUTCMonth()};f.getUTCDate=function(){return this.date.getUTCDate()};f.getUTCDay=function(){return this.date.getDay()};f.getUTCHours=function(){return this.date.getUTCHours()};f.getUTCMinutes=function(){return this.date.getUTCMinutes()};f.getFirstDayOfWeek=function(){return this.firstDayOfWeek_};var X1b=function(a){return W2b(a.getFullYear(),a.getMonth())};f=Dg.prototype;
f.getDayOfYear=function(){for(var a=this.getDate(),b=this.getFullYear(),c=this.getMonth()-1;0<=c;c--)a+=W2b(b,c);return a};f.getTimezoneOffset=function(){return this.date.getTimezoneOffset()};f.set=function(a){this.date=new Date(a.getFullYear(),a.getMonth(),a.getDate())};f.setFullYear=function(a){this.date.setFullYear(a)};f.setYear=function(a){this.setFullYear(a)};f.setMonth=function(a){this.date.setMonth(a)};f.setDate=function(a){this.date.setDate(a)};f.setTime=function(a){this.date.setTime(a)};
f.setUTCFullYear=function(a){this.date.setUTCFullYear(a)};f.setUTCMonth=function(a){this.date.setUTCMonth(a)};f.setUTCDate=function(a){this.date.setUTCDate(a)};
f.add=function(a){if(a.years||a.months){var b=this.getMonth()+a.months+12*a.years,c=this.getYear()+Math.floor(b/12);b%=12;0>b&&(b+=12);var d=Math.min(W2b(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()),Z2b(this,a.getDate()))};
f.toIsoString=function(a){var b=this.getFullYear(),c=0>b?"-":1E4<=b?"+":"";return[c+Mt(Math.abs(b),c?6:4),Mt(this.getMonth()+1,2),Mt(this.getDate(),2)].join(a?"-":"")};f.equals=function(a){return!(!a||this.getYear()!=a.getYear()||this.getMonth()!=a.getMonth()||this.getDate()!=a.getDate())};f.toString=function(){return this.toIsoString()};var Z2b=function(a,b){a.getDate()!=b&&(b=a.getDate()<b?1:-1,a.date.setUTCHours(a.date.getUTCHours()+b))};Dg.prototype.valueOf=function(){return this.date.valueOf()};
var sl=function(a,b,c,d,e,g,h){this.date="number"===typeof a?new Date(a,b||0,c||1,d||0,e||0,g||0,h||0):new Date(a&&a.getTime?a.getTime():Date.now())};Cp(sl,Dg);f=sl.prototype;f.getHours=function(){return this.date.getHours()};f.getMinutes=function(){return this.date.getMinutes()};f.getSeconds=function(){return this.date.getSeconds()};f.getMilliseconds=function(){return this.date.getMilliseconds()};f.getUTCDay=function(){return this.date.getUTCDay()};f.getUTCHours=function(){return this.date.getUTCHours()};
f.getUTCMinutes=function(){return this.date.getUTCMinutes()};f.getUTCSeconds=function(){return this.date.getUTCSeconds()};f.getUTCMilliseconds=function(){return this.date.getUTCMilliseconds()};f.setHours=function(a){this.date.setHours(a)};f.setMinutes=function(a){this.date.setMinutes(a)};f.setSeconds=function(a){this.date.setSeconds(a)};f.setMilliseconds=function(a){this.date.setMilliseconds(a)};f.setUTCHours=function(a){this.date.setUTCHours(a)};f.setUTCMinutes=function(a){this.date.setUTCMinutes(a)};
f.setUTCSeconds=function(a){this.date.setUTCSeconds(a)};f.setUTCMilliseconds=function(a){this.date.setUTCMilliseconds(a)};f.add=function(a){Dg.prototype.add.call(this,a);a.hours&&this.setUTCHours(this.date.getUTCHours()+a.hours);a.minutes&&this.setUTCMinutes(this.date.getUTCMinutes()+a.minutes);a.seconds&&this.setUTCSeconds(this.date.getUTCSeconds()+a.seconds)};
f.toIsoString=function(a){var b=Dg.prototype.toIsoString.call(this,a);return a?b+"T"+Mt(this.getHours(),2)+":"+Mt(this.getMinutes(),2)+":"+Mt(this.getSeconds(),2):b+"T"+Mt(this.getHours(),2)+Mt(this.getMinutes(),2)+Mt(this.getSeconds(),2)};f.equals=function(a){return this.getTime()==a.getTime()};f.toString=function(){return this.toIsoString()};f.clone=function(){var a=new sl(this.date);a.firstDayOfWeek_=this.getFirstDayOfWeek();a.firstWeekCutOffDay_=this.firstWeekCutOffDay_;return a};var $2b=function(){},Lva=function(a){if("number"==typeof a){var b=new $2b;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(":",Mt(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=a3b(a);b.tzNames_=[c,c];b.tzNamesExt_={STD_LONG_NAME_GMT:a,STD_GENERIC_LOCATION:a};b.transitions_=[];return b}b=new $2b;
b.timeZoneId_=a.id;b.standardOffset_=-a.std_offset;b.tzNames_=a.names;b.tzNamesExt_=a.names_ext;b.transitions_=a.transitions;return b},a3b=function(a){var b=["GMT"];b.push(0>=a?"+":"-");a=Math.abs(a);b.push(Mt(Math.floor(a/60)%100,2),":",Mt(a%60,2));return b.join("")},b3b=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]};
$2b.prototype.getOffset=function(a){a=this.standardOffset_-b3b(this,a);return-1440===a?0:a};var ez=function(a){this.patternParts_=[];this.dateTimeSymbols_=cz;"number"==typeof a?this.applyStandardPattern_(a):this.applyPattern_(a)},c3b=[/^'(?:[^']|'')*('|$)/,/^(?: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]+/],d3b=function(a){return a.getHours?a.getHours():0};
ez.prototype.applyPattern_=function(a){for(e3b&&(a=a.replace(/\u200f/g,""));a;){for(var b=a,c=0;c<c3b.length;++c){var d=a.match(c3b[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("kb`"+a);}};
ez.prototype.format=function(a,b){if(!a)throw Error("lb");var c=b?6E4*(a.getTimezoneOffset()-b.getOffset(a)):0,d=c?new Date(a.getTime()+c):a,e=d;b&&d.getTimezoneOffset()!=a.getTimezoneOffset()&&(d=new Date(d.getTime()+6E4*(d.getTimezoneOffset()-a.getTimezoneOffset())),e=new Date(a.getTime()+(c+(0<c?-864E5:864E5))));c=[];for(var g=0;g<this.patternParts_.length;++g){var h=this.patternParts_[g].text;1==this.patternParts_[g].type?c.push(f3b(this,h,a,d,e,b)):c.push(h)}return c.join("")};
ez.prototype.applyStandardPattern_=function(a){if(4>a)var b=this.dateTimeSymbols_.DATEFORMATS[a];else if(8>a)b=this.dateTimeSymbols_.TIMEFORMATS[a-4];else if(12>a)b=this.dateTimeSymbols_.DATETIMEFORMATS[a-8],b=b.replace("{1}",this.dateTimeSymbols_.DATEFORMATS[a-8]),b=b.replace("{0}",this.dateTimeSymbols_.TIMEFORMATS[a-8]);else if(12===a)b=this.dateTimeSymbols_.DATEFORMATS[0].replace(/[^EMd]*yy*[^EMd]*/,"");else{this.applyStandardPattern_(10);return}this.applyPattern_(b)};
var fz=function(a,b){return g3b(b,a.dateTimeSymbols_)},e3b=!1,g3b=function(a,b){a=String(a);b=b||cz;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("")},gz=function(a){if(!(a.getHours&&a.getSeconds&&a.getMinutes))throw Error("mb");},h3b=function(a,b){gz(b);b=d3b(b);return a.dateTimeSymbols_.AMPMS[12<=b&&24>b?1:0]},f3b=function(a,b,c,d,e,g){var h=b.length;switch(b.charAt(0)){case "G":return c=
0<d.getFullYear()?1:0,4<=h?a.dateTimeSymbols_.ERANAMES[c]:a.dateTimeSymbols_.ERAS[c];case "y":return c=d.getFullYear(),0>c&&(c=-c),2==h&&(c%=100),fz(a,Mt(c,h));case "Y":return c=d.getMonth(),e=d.getDate(),c=X2b(d.getFullYear(),c,e,a.dateTimeSymbols_.FIRSTWEEKCUTOFFDAY,a.dateTimeSymbols_.FIRSTDAYOFWEEK),c=(new Date(c)).getFullYear(),0>c&&(c=-c),2==h&&(c%=100),fz(a,Mt(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=fz(a,Mt(c+1,h))}return h;case "k":return gz(e),c=d3b(e)||24,fz(a,Mt(c,h));case "S":return fz(a,(e.getMilliseconds()/1E3).toFixed(Math.min(3,h)).slice(2)+(3<h?Mt(0,h-3):""));case "E":return c=d.getDay(),4<=h?a.dateTimeSymbols_.WEEKDAYS[c]:a.dateTimeSymbols_.SHORTWEEKDAYS[c];case "a":return h3b(a,e);case "b":return h3b(a,e);case "B":return h3b(a,e);case "h":return gz(e),c=d3b(e)%12||12,fz(a,Mt(c,h));case "K":return gz(e),c=d3b(e)%
12,fz(a,Mt(c,h));case "H":return gz(e),c=d3b(e),fz(a,Mt(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=fz(a,Mt(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=fz(a,Mt(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 fz(a,Mt(d.getDate(),h));case "m":return gz(e),fz(a,Mt(e.getMinutes?e.getMinutes():0,h));case "s":return gz(e),fz(a,Mt(e.getSeconds(),h));case "v":return(g||Lva(c.getTimezoneOffset())).timeZoneId_;case "V":return a=g||Lva(c.getTimezoneOffset()),2>=h?a.timeZoneId_:0<b3b(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=X2b(e.getFullYear(),c,d,a.dateTimeSymbols_.FIRSTWEEKCUTOFFDAY,a.dateTimeSymbols_.FIRSTDAYOFWEEK),fz(a,Mt(Math.floor(Math.round((c-(new Date((new Date(c)).getFullYear(),0,1)).valueOf())/864E5)/7)+1,h));case "z":return a=g||Lva(c.getTimezoneOffset()),4>h?a.tzNames_[0<b3b(a,c)?2:0]:a.tzNames_[0<b3b(a,c)?3:1];
case "Z":return d=g||Lva(c.getTimezoneOffset()),4>h?(h=-d.getOffset(c),a=[0>h?"-":"+"],h=Math.abs(h),a.push(Mt(Math.floor(h/60)%100,2),Mt(h%60,2)),h=a.join("")):h=fz(a,a3b(d.getOffset(c))),h;default:return""}};var kra;var i3b=function(a,b){this.url=a;this.svgText=null;this.options=b},hz=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},iz=function(a,b,c){a._addSvgIconConfig("",b,new i3b(c))},j3b=function(a,b){return a._fontCssClassesByAlias.get(b)||
b};hz.prototype.setDefaultFontSetClass=function(){this._defaultFontSetClass=Fc.apply(0,arguments)};var k3b=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,F.throwError)(Error("nb`"+d))};f=hz.prototype;
f.ngOnDestroy=function(){this._resolvers=[];this._svgIconConfigs.clear();this._iconSetConfigs.clear();this._cachedIconsByUrl.clear()};f._getSvgFromConfig=function(a){return a.svgText?(0,F.of)(this._svgElementFromConfig(a).cloneNode(!0)):this._loadSvgIconFromConfig(a).pipe(E(function(b){return b.cloneNode(!0)}))};
f._getSvgFromIconSetConfigs=function(a,b){var c=this,d=this._extractIconWithNameFromAnySet(a,b);if(d)return(0,F.of)(d);d=b.filter(function(e){return!e.svgText}).map(function(e){return c._loadSvgIconSetFromConfig(e).pipe(ce(function(g){g="Loading icon set URL: "+c._sanitizer.sanitize(5,e.url)+" failed: "+g.message;c._errorHandler.handleError(Error(g));return(0,F.of)(null)}))});return(0,F.forkJoin)(d).pipe(E(function(){var e=c._extractIconWithNameFromAnySet(a,b);if(!e)throw Error("nb`"+a);return e}))};
f._extractIconWithNameFromAnySet=function(a,b){for(var c=b.length-1;0<=c;c--){var d=b[c];if(d.svgText&&-1<d.svgText.toString().indexOf(a)){var e=this._svgElementFromConfig(d);if(d=this._extractSvgIconFromSet(e,a,d.options))return d}}return null};f._loadSvgIconFromConfig=function(a){var b=this;return this._fetchIcon(a).pipe(re(function(c){return a.svgText=c}),E(function(){return b._svgElementFromConfig(a)}))};
f._loadSvgIconSetFromConfig=function(a){return a.svgText?(0,F.of)(null):this._fetchIcon(a).pipe(re(function(b){return a.svgText=b}))};
f._extractSvgIconFromSet=function(a,b,c){a=a.querySelector('[id="'+b+'"]');if(!a)return null;a=a.cloneNode(!0);a.removeAttribute("id");if("svg"===a.nodeName.toLowerCase())return this._setSvgAttributes(a,c);if("symbol"===a.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(a),c);b=this._svgElementFromString(mra("<svg></svg>"));b.appendChild(a);return this._setSvgAttributes(b,c)};
f._svgElementFromString=function(a){var b=this._document.createElement("DIV");b.innerHTML=a;a=b.querySelector("svg");if(!a)throw Error("qb");return a};f._toSvgElement=function(a){for(var b=this._svgElementFromString(mra("<svg></svg>")),c=a.attributes,d=0;d<c.length;d++){var e=c[d],g=e.name;e=e.value;"id"!==g&&b.setAttribute(g,e)}for(c=0;c<a.childNodes.length;c++)a.childNodes[c].nodeType===this._document.ELEMENT_NODE&&b.appendChild(a.childNodes[c].cloneNode(!0));return b};
f._setSvgAttributes=function(a,b){a.setAttribute("fit","");a.setAttribute("height","100%");a.setAttribute("width","100%");a.setAttribute("preserveAspectRatio","xMidYMid meet");a.setAttribute("focusable","false");b&&b.viewBox&&a.setAttribute("viewBox",b.viewBox);return a};
f._fetchIcon=function(a){var b=this,c=a.url,d,e;a=null!=(e=null==(d=a.options)?void 0:d.withCredentials)?e:!1;if(!this._httpClient)throw Error("ob");if(null==c)throw Error("rb`"+c);var g=this._sanitizer.sanitize(5,c);if(!g)throw Error("pb`"+c);if(c=this._inProgressUrlFetches.get(g))return c;c=this._httpClient.get(g,{responseType:"text",withCredentials:a}).pipe(E(function(h){return mra(h)}),ika(function(){return b._inProgressUrlFetches.delete(g)}),wka());this._inProgressUrlFetches.set(g,c);return c};
f._addSvgIconConfig=function(a,b,c){this._svgIconConfigs.set(a+":"+b,c);return this};f._addSvgIconSetConfig=function(a,b){var c=this._iconSetConfigs.get(a);c?c.push(b):this._iconSetConfigs.set(a,[b]);return this};f._svgElementFromConfig=function(a){if(!a.svgElement){var b=this._svgElementFromString(a.svgText);this._setSvgAttributes(b,a.options);a.svgElement=b}return a.svgElement};
f._getIconConfigFromResolvers=function(a,b){for(var c=0;c<this._resolvers.length;c++){var d=this._resolvers[c](b,a);if(d)return d.url&&d.options?new i3b(d.url,d.options):new i3b(d)}};hz.\u0275fac=function(a){return new (a||hz)(w(zw,8),w(Ew),w(eg,8),w(yd))};hz.\u0275prov=nc({token:hz,factory:hz.\u0275fac,providedIn:"root"});new Ot;new Pt;new Ot;new Ot;var l3b=hg(function(a){this._elementRef=a}),m3b=new Hc("MAT_ICON_DEFAULT_OPTIONS"),n3b=new Hc("mat-icon-location",{providedIn:"root",factory:nra}),o3b="clip-path color-profile src cursor fill filter marker marker-start marker-mid marker-end mask stroke".split(" "),p3b=o3b.map(function(a){return"["+a+"]"}).join(", "),q3b=/^url\(['"]?#(.*?)['"]?\)$/,jz=function(a,b,c,d,e,g){var h=l3b.call(this,a)||this;h._iconRegistry=b;h._location=d;h._errorHandler=e;h._inline=!1;h._previousFontSetClass=[];h._currentIconFetch=
F.Subscription.EMPTY;g&&(g.color&&(h.color=h.defaultColor=g.color),g.fontSet&&(h.fontSet=g.fontSet));c||a.nativeElement.setAttribute("aria-hidden","true");return h};V(jz,l3b);f=jz.prototype;f._splitIconName=function(a){if(!a)return["",""];var b=a.split(":");switch(b.length){case 1:return["",b[0]];case 2:return b;default:throw Error("sb`"+a);}};f.ngOnInit=function(){this._updateFontIconClasses()};
f.ngAfterViewChecked=function(){var a=this._elementsWithExternalReferences;a&&a.size&&(a=this._location.getPathname(),a!==this._previousPath&&(this._previousPath=a,this._prependPathToReferences(a)))};f.ngOnDestroy=function(){this._currentIconFetch.unsubscribe();this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()};f._usingFontIcon=function(){return!this.svgIcon};
f._setSvgElement=function(a){this._clearSvgElement();var b=this._location.getPathname();this._previousPath=b;this._cacheChildrenWithExternalReferences(a);this._prependPathToReferences(b);this._elementRef.nativeElement.appendChild(a)};f._clearSvgElement=function(){var a=this._elementRef.nativeElement,b=a.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();b--;){var c=a.childNodes[b];1===c.nodeType&&"svg"!==c.nodeName.toLowerCase()||c.remove()}};
f._updateFontIconClasses=function(){if(this._usingFontIcon()){var a=this._elementRef.nativeElement,b=(this.fontSet?j3b(this._iconRegistry,this.fontSet).split(/ +/):this._iconRegistry._defaultFontSetClass).filter(function(c){return 0<c.length});this._previousFontSetClass.forEach(function(c){return a.classList.remove(c)});b.forEach(function(c){return a.classList.add(c)});this._previousFontSetClass=b;this.fontIcon===this._previousFontIconClass||b.includes("mat-ligature-font")||(this._previousFontIconClass&&
a.classList.remove(this._previousFontIconClass),this.fontIcon&&a.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}};f._cleanupFontValue=function(a){return"string"===typeof a?a.trim().split(" ")[0]:a};f._prependPathToReferences=function(a){var b=this._elementsWithExternalReferences;b&&b.forEach(function(c,d){c.forEach(function(e){d.setAttribute(e.name,"url('"+a+"#"+e.value+"')")})})};
f._cacheChildrenWithExternalReferences=function(a){var b=a.querySelectorAll(p3b),c=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(a={$jscomp$loop$prop$i$2272:0};a.$jscomp$loop$prop$i$2272<b.length;a={$jscomp$loop$prop$i$2272:a.$jscomp$loop$prop$i$2272},a.$jscomp$loop$prop$i$2272++)o3b.forEach(function(d){return function(e){var g=b[d.$jscomp$loop$prop$i$2272],h=g.getAttribute(e);if(h=h?h.match(q3b):null){var l=c.get(g);l||(l=[],c.set(g,l));l.push({name:e,value:h[1]})}}}(a))};
f._updateSvgIcon=function(a){var b=this;this._svgName=this._svgNamespace=null;this._currentIconFetch.unsubscribe();if(a){a=k(this._splitIconName(a));var c=a.next().value,d=a.next().value;c&&(this._svgNamespace=c);d&&(this._svgName=d);this._currentIconFetch=k3b(this._iconRegistry,d,c).pipe(ge()).subscribe(function(e){return b._setSvgElement(e)},function(e){b._errorHandler.handleError(Error("tb`"+c+"`"+d+"`"+e.message))})}};
gg.Object.defineProperties(jz.prototype,{inline:{configurable:!0,enumerable:!0,get:function(){return this._inline},set:function(a){this._inline=Ef(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())}}});jz.\u0275fac=function(a){return new (a||jz)(D(fd),D(hz),$c("aria-hidden"),D(n3b),D(yd),D(m3b,8))};
jz.\u0275cmp=zc({type:jz,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(a,b){a&2&&(Ae("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),Ie("mat-icon-inline",b.inline)("mat-icon-no-color","primary"!==b.color&&"accent"!==b.color&&"warn"!==b.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",
fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[xe],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(Ne(),Oe(0))},styles:[".mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],
encapsulation:2,changeDetection:0});var kz=function(){};kz.\u0275fac=function(a){return new (a||kz)};kz.\u0275mod=Bc({type:kz});kz.\u0275inj=oc({});var lz=function(){};lz.\u0275fac=function(a){return new (a||lz)};lz.\u0275mod=Bc({type:lz});lz.\u0275inj=oc({});var mz={};mz.AssertionError=aaa;mz.ENABLE_ASSERTS=!1;mz.assert=function(a){return a};mz.assertArray=function(a){return a};mz.assertBoolean=function(a){return a};mz.assertElement=function(a){return a};mz.assertExists=function(a){return a};mz.assertFinite=function(a){return a};mz.assertFunction=function(a){return a};mz.assertInstanceof=function(a){return a};mz.assertNumber=function(a){return a};mz.assertObject=function(a){return a};mz.assertString=function(a){return a};mz.fail=function(){};var nz=function(){};nz.\u0275fac=function(a){return new (a||nz)};nz.\u0275mod=Bc({type:nz});nz.\u0275inj=oc({});var oz=function(){};oz.\u0275fac=function(a){return new (a||oz)};oz.\u0275mod=Bc({type:oz});oz.\u0275inj=oc({imports:[nz]});var pz=function(){};pz.prototype.getValue=function(a){a=window.localStorage.getItem(a);return(0,F.of)(a?JSON.parse(a):null)};pz.prototype.getValues=function(a){return(0,F.of)(a.reduce(function(b,c){var d=b.set;var e=(e=window.localStorage.getItem(c))?JSON.parse(e):null;return d.call(b,c,e)},new Map))};pz.prototype.setValue=function(a,b){window.localStorage.setItem(a,JSON.stringify(b));return(0,F.of)(void 0)};pz.\u0275fac=function(a){return new (a||pz)};
pz.\u0275prov=nc({token:pz,factory:pz.\u0275fac,providedIn:nz});var r3b=function(a){this.cellValue_=a};var s3b=function(a,b,c){this.metricName_=a;this.cellType_=b;this.fields_=c||[];this.cellMap_=new Map};f=s3b.prototype;f.addCell=function(a){var b=Fc.apply(1,arguments),c=this.getCells(b);c?c.push(new r3b(a)):this.setCell(a,b)};f.setCell=function(a){var b=this.getKey_(Fc.apply(1,arguments));this.cellMap_.set(b,[new r3b(a)])};f.getCells=function(){var a=this.getKey_(Fc.apply(0,arguments));return this.cellMap_.has(a)?this.cellMap_.get(a):void 0};
f.getCell=function(){var a=this.getCells(Fc.apply(0,arguments));return a&&a.length?a[0]:void 0};f.clear=function(){this.cellMap_.clear()};f.getKey_=function(){var a=Fc.apply(0,arguments);return a?a.join(","):"key"};var t3b=function(a,b){s3b.call(this,a,3,b)};V(t3b,s3b);t3b.prototype.incrementCounter=function(){this.incrementCounterBy(1,Fc.apply(0,arguments))};t3b.prototype.incrementCounterBy=function(a){var b=Fc.apply(1,arguments),c=0,d=this.getCell(b);d&&(c=d.cellValue_);this.setCell(c+a,b)};var u3b=function(a,b){s3b.call(this,a,2,b)};V(u3b,s3b);u3b.prototype.record=function(a){this.addCell(a,Fc.apply(1,arguments))};var ng=function(){this.disposed_=this.disposed_;this.onDisposeCallbacks_=this.onDisposeCallbacks_};ng.prototype.disposed_=!1;ng.prototype.isDisposed=function(){return this.disposed_};ng.prototype.dispose=function(){this.disposed_||(this.disposed_=!0,this.disposeInternal())};var qz=function(a,b){b=Bp(mg,b);a.disposed_?b():(a.onDisposeCallbacks_||(a.onDisposeCallbacks_=[]),a.onDisposeCallbacks_.push(b))};ng.prototype.disposeInternal=function(){if(this.onDisposeCallbacks_)for(;this.onDisposeCallbacks_.length;)this.onDisposeCallbacks_.shift()()};var rz=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.propagationStopped_=!1};rz.prototype.stopPropagation=function(){this.propagationStopped_=!0};rz.prototype.preventDefault=function(){this.defaultPrevented=!0};var v3b=[],w3b=[],x3b=!1,y3b=function(a){v3b[v3b.length]=a;if(x3b)for(var b=0;b<w3b.length;b++)a(Ap(w3b[b].wrap,w3b[b]))};var z3b=function(){if(!ca.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{var c=function(){};ca.addEventListener("test",c,b);ca.removeEventListener("test",c,b)}catch(d){}return a}();var sz=function(a,b){rz.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.platformModifierKey=!1;this.pointerId=0;this.pointerType="";this.event_=null;a&&this.init(a,b)};Cp(sz,rz);var A3b={2:"touch",3:"pen",4:"mouse"};
sz.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)?Gp&&(ULb(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=Hp||void 0!==a.offsetX?
a.offsetX:a.layerX,this.offsetY=Hp||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=Qn?a.metaKey:a.ctrlKey;this.pointerId=
a.pointerId||0;this.pointerType="string"===typeof a.pointerType?a.pointerType:A3b[a.pointerType]||"";this.state=a.state;this.event_=a;a.defaultPrevented&&sz.superClass_.preventDefault.call(this)};sz.prototype.stopPropagation=function(){sz.superClass_.stopPropagation.call(this);this.event_.stopPropagation?this.event_.stopPropagation():this.event_.cancelBubble=!0};
sz.prototype.preventDefault=function(){sz.superClass_.preventDefault.call(this);var a=this.event_;a.preventDefault?a.preventDefault():a.returnValue=!1};var B3b="closure_listenable_"+(1E6*Math.random()|0),tz=function(a){return!(!a||!a[B3b])};var C3b=0;var D3b=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=++C3b;this.removed=this.callOnce=!1},E3b=function(a){a.removed=!0;a.listener=null;a.proxy=null;a.src=null;a.handler=null};var uz=function(a){this.src=a;this.listeners={};this.typeCount_=0};uz.prototype.add=function(a,b,c,d,e){var g=a.toString();a=this.listeners[g];a||(a=this.listeners[g]=[],this.typeCount_++);var h=F3b(a,b,d,e);-1<h?(b=a[h],c||(b.callOnce=!1)):(b=new D3b(b,this.src,g,!!d,e),b.callOnce=c,a.push(b));return b};
uz.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.listeners))return!1;var e=this.listeners[a];b=F3b(e,b,c,d);return-1<b?(E3b(e[b]),Caa(e,b),0==e.length&&(delete this.listeners[a],this.typeCount_--),!0):!1};var G3b=function(a,b){var c=b.type;if(!(c in a.listeners))return!1;var d=qa(a.listeners[c],b);d&&(E3b(b),0==a.listeners[c].length&&(delete a.listeners[c],a.typeCount_--));return d};
uz.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,E3b(d[e]);delete this.listeners[c];this.typeCount_--}return b};uz.prototype.getListener=function(a,b,c,d){a=this.listeners[a.toString()];var e=-1;a&&(e=F3b(a,b,c,d));return-1<e?a[e]:null};
uz.prototype.hasListener=function(a,b){var c=void 0!==a,d=c?a.toString():"",e=void 0!==b;return xda(this.listeners,function(g){for(var h=0;h<g.length;++h)if(!(c&&g[h].type!=d||e&&g[h].capture!=b))return!0;return!1})};var F3b=function(a,b,c,d){for(var e=0;e<a.length;++e){var g=a[e];if(!g.removed&&g.listener==b&&g.capture==!!c&&g.handler==d)return e}return-1};var H3b="closure_lm_"+(1E6*Math.random()|0),I3b={},J3b=0,Jm=function(a,b,c,d,e){if(d&&d.once)return vz(a,b,c,d,e);if(Array.isArray(b)){for(var g=0;g<b.length;g++)Jm(a,b[g],c,d,e);return null}c=K3b(c);return tz(a)?a.listen(b,c,ta(d)?!!d.capture:!!d,e):L3b(a,b,c,!1,d,e)},L3b=function(a,b,c,d,e,g){if(!b)throw Error("ub");var h=ta(e)?!!e.capture:!!e,l=M3b(a);l||(a[H3b]=l=new uz(a));c=l.add(b,c,d,h,g);if(c.proxy)return c;d=N3b();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)z3b||(e=h),void 0===
e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(O3b(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("vb");J3b++;return c},N3b=function(){var a=P3b,b=function(c){return a.call(b.src,b.listener,c)};return b},vz=function(a,b,c,d,e){if(Array.isArray(b)){for(var g=0;g<b.length;g++)vz(a,b[g],c,d,e);return null}c=K3b(c);return tz(a)?a.listenOnce(b,c,ta(d)?!!d.capture:!!d,e):L3b(a,b,c,!0,d,e)},wz=function(a,b,c,d,e){if(Array.isArray(b))for(var g=
0;g<b.length;g++)wz(a,b[g],c,d,e);else d=ta(d)?!!d.capture:!!d,c=K3b(c),tz(a)?a.unlisten(b,c,d,e):a&&(a=M3b(a))&&(b=a.getListener(b,c,d,e))&&xz(b)},xz=function(a){if("number"===typeof a||!a||a.removed)return!1;var b=a.src;if(tz(b))return b.unlistenByKey(a);var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(O3b(c),d):b.addListener&&b.removeListener&&b.removeListener(d);J3b--;(c=M3b(b))?(G3b(c,a),0==c.typeCount_&&(c.src=null,b[H3b]=null)):E3b(a);
return!0},O3b=function(a){return a in I3b?I3b[a]:I3b[a]="on"+a},P3b=function(a,b){if(a.removed)a=!0;else{b=new sz(b,this);var c=a.listener,d=a.handler||a.src;a.callOnce&&xz(a);a=c.call(d,b)}return a},M3b=function(a){a=a[H3b];return a instanceof uz?a:null},Q3b="__closure_events_fn_"+(1E9*Math.random()>>>0),K3b=function(a){if("function"===typeof a)return a;a[Q3b]||(a[Q3b]=function(b){return a.handleEvent(b)});return a[Q3b]};y3b(function(a){P3b=a(P3b)});var Im=function(){ng.call(this);this.eventTargetListeners_=new uz(this);this.actualEventTarget_=this;this.parentEventTarget_=null};Cp(Im,ng);Im.prototype[B3b]=!0;f=Im.prototype;f.getParentEventTarget=function(){return this.parentEventTarget_};f.setParentEventTarget=function(a){this.parentEventTarget_=a};f.addEventListener=function(a,b,c,d){Jm(this,a,b,c,d)};f.removeEventListener=function(a,b,c,d){wz(this,a,b,c,d)};
f.dispatchEvent=function(a){var b,c=this.getParentEventTarget();if(c)for(b=[];c;c=c.getParentEventTarget())b.push(c);c=this.actualEventTarget_;var d=a.type||a;if("string"===typeof a)a=new rz(a,c);else if(a instanceof rz)a.target=a.target||c;else{var e=a;a=new rz(d,c);Gda(a,e)}e=!0;if(b)for(var g=b.length-1;!a.propagationStopped_&&0<=g;g--){var h=a.currentTarget=b[g];e=h.fireListeners(d,!0,a)&&e}a.propagationStopped_||(h=a.currentTarget=c,e=h.fireListeners(d,!0,a)&&e,a.propagationStopped_||(e=h.fireListeners(d,
!1,a)&&e));if(b)for(g=0;!a.propagationStopped_&&g<b.length;g++)h=a.currentTarget=b[g],e=h.fireListeners(d,!1,a)&&e;return e};f.disposeInternal=function(){Im.superClass_.disposeInternal.call(this);this.removeAllListeners();this.parentEventTarget_=null};f.listen=function(a,b,c,d){return this.eventTargetListeners_.add(String(a),b,!1,c,d)};f.listenOnce=function(a,b,c,d){return this.eventTargetListeners_.add(String(a),b,!0,c,d)};
f.unlisten=function(a,b,c,d){return this.eventTargetListeners_.remove(String(a),b,c,d)};f.unlistenByKey=function(a){return G3b(this.eventTargetListeners_,a)};f.removeAllListeners=function(a){return this.eventTargetListeners_?this.eventTargetListeners_.removeAll(a):0};
f.fireListeners=function(a,b,c){a=this.eventTargetListeners_.listeners[String(a)];if(!a)return!0;a=a.concat();for(var d=!0,e=0;e<a.length;++e){var g=a[e];if(g&&!g.removed&&g.capture==b){var h=g.listener,l=g.handler||g.src;g.callOnce&&this.unlistenByKey(g);d=!1!==h.call(l,c)&&d}}return d&&!c.defaultPrevented};f.getListener=function(a,b,c,d){return this.eventTargetListeners_.getListener(String(a),b,c,d)};
f.hasListener=function(a,b){return this.eventTargetListeners_.hasListener(void 0!==a?String(a):void 0,b)};var R3b=function(a,b){this.limit_=100;this.create_=a;this.reset_=b;this.occupants_=0;this.head_=null};R3b.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};R3b.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 S3b=Ep||Hp;var T3b=function(a,b){return a+Math.random()*(b-a)};var Vn=function(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0};Vn.prototype.clone=function(){return new Vn(this.x,this.y)};Vn.prototype.equals=function(a){return a instanceof Vn&&(this==a?!0:this&&a?this.x==a.x&&this.y==a.y:!1)};var Qgb=function(a,b){return new Vn(a.x-b.x,a.y-b.y)};f=Vn.prototype;f.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};f.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};
f.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};f.translate=function(a,b){a instanceof Vn?(this.x+=a.x,this.y+=a.y):(this.x+=Number(a),"number"===typeof b&&(this.y+=b));return this};f.scale=function(a,b){this.x*=a;this.y*="number"===typeof b?b:a;return this};var yz=function(a,b){this.width=a;this.height=b},Tgb=function(a,b){return a==b?!0:a&&b?a.width==b.width&&a.height==b.height:!1};f=yz.prototype;f.clone=function(){return new yz(this.width,this.height)};f.aspectRatio=function(){return this.width/this.height};f.isEmpty=function(){return!(this.width*this.height)};f.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};f.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
f.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};f.scale=function(a,b){this.width*=a;this.height*="number"===typeof b?b:a;return this};var Lm=function(a){return a?new zz(Az(a)):xLb||(xLb=new zz)},U3b=function(a,b){return"string"===typeof b?a.getElementById(b):b},Bz=function(a,b){return(b||document).getElementsByTagName(String(a))},W3b=function(a,b){Tb(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:V3b.hasOwnProperty(d)?a.setAttribute(V3b[d],c):Jg(d,"aria-")||Jg(d,"data-")?a.setAttribute(d,c):a[d]=c})},
V3b={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"},Cz=function(a){a=(a||window).document;a=X3b(a)?a.documentElement:a.body;return new yz(a.clientWidth,a.clientHeight)},Dz=function(a){var b=Y3b(a);a=a.parentWindow||a.defaultView;return Ep&&a.pageYOffset!=b.scrollTop?new Vn(b.scrollLeft,b.scrollTop):new Vn(a.pageXOffset||
b.scrollLeft,a.pageYOffset||b.scrollTop)},Y3b=function(a){return a.scrollingElement?a.scrollingElement:!Hp&&X3b(a)?a.documentElement:a.body||a.documentElement},Ez=function(a){return a?a.parentWindow||a.defaultView:window},$3b=function(a,b,c){return Z3b(document,arguments)},Z3b=function(a,b){var c=b[1],d=cm(a,String(b[0]));c&&("string"===typeof c?d.className=c:Array.isArray(c)?d.className=c.join(" "):W3b(d,c));2<b.length&&a4b(a,d,b,2);return d},a4b=function(a,b,c,d){function e(l){l&&b.appendChild("string"===
typeof l?a.createTextNode(l):l)}for(;d<c.length;d++){var g=c[d];if(!sa(g)||ta(g)&&0<g.nodeType)e(g);else{a:{if(g&&"number"==typeof g.length){if(ta(g)){var h="function"==typeof g.item||"string"==typeof g.item;break a}if("function"===typeof g){h="function"==typeof g.item;break a}}h=!1}oa(h?ra(g):g,e)}}},cm=function(a,b){b=String(b);"application/xhtml+xml"===a.contentType&&(b=b.toLowerCase());return a.createElement(b)},X3b=function(a){return"CSS1Compat"==a.compatMode},b4b=function(a,b){a4b(Az(a),a,arguments,
1)},c4b=function(a){for(var b;b=a.firstChild;)a.removeChild(b)},Fz=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},Gz=function(a){return ta(a)&&1==a.nodeType},Uib=function(a){var b;if(S3b&&(b=a.parentElement))return b;b=a.parentNode;return Gz(b)?b:null},F8a=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},Az=function(a){return 9==a.nodeType?a:a.ownerDocument||a.document},d4b=function(a){return a.contentDocument||a.contentWindow.document},e4b=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 c4b(a),a.appendChild(Az(a).createTextNode(String(b)))},f4b={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},g4b={IMG:" ",BR:"\n"},h4b=
function(a){a=a.tabIndex;return"number"===typeof a&&0<=a&&32768>a},i4b=function(a,b,c){if(!(a.nodeName in f4b))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 g4b)b.push(g4b[a.nodeName]);else for(a=a.firstChild;a;)i4b(a,b,c),a=a.nextSibling},ohb=function(){var a=Ez();return void 0!==a.devicePixelRatio?a.devicePixelRatio:a.matchMedia?j4b(3)||j4b(2)||j4b(1.5)||j4b(1)||.75:1},j4b=function(a){return Ez().matchMedia("(min-resolution: "+
a+"dppx),(min--moz-device-pixel-ratio: "+a+"),(min-resolution: "+96*a+"dpi)").matches?a:0},zz=function(a){this.document_=a||ca.document||document};f=zz.prototype;f.getDomHelper=Lm;f.getElement=function(a){return U3b(this.document_,a)};f.$=zz.prototype.getElement;f.getElementsByTagName=function(a,b){return(b||this.document_).getElementsByTagName(String(a))};
f.getElementsByTagNameAndClass=function(a,b,c){c=c||this.document_;a=a&&"*"!=a?String(a).toUpperCase():"";if(c.querySelectorAll&&c.querySelector&&(a||b))b=c.querySelectorAll(a+(b?"."+b:""));else if(b&&c.getElementsByClassName)if(c=c.getElementsByClassName(b),a){for(var d={},e=0,g=0,h;h=c[g];g++)a==h.nodeName&&(d[e++]=h);d.length=e;b=d}else b=c;else if(c=c.getElementsByTagName(a||"*"),b){d={};for(g=e=0;h=c[g];g++)a=h.className,"function"==typeof a.split&&pa(a.split(/\s+/),b)&&(d[e++]=h);d.length=e;
b=d}else b=c;return b};f.$$=zz.prototype.getElementsByTagNameAndClass;f.setProperties=W3b;f.getViewportSize=function(a){return Cz(a||this.getWindow())};f.createDom=function(a,b,c){return Z3b(this.document_,arguments)};f.createElement=function(a){return cm(this.document_,a)};f.createTextNode=function(a){return this.document_.createTextNode(String(a))};f.getWindow=function(){var a=this.document_;return a.parentWindow||a.defaultView};f.appendChild=function(a,b){a.appendChild(b)};f.append=b4b;
f.canHaveChildren=function(a){if(1!=a.nodeType)return!1;switch(a.tagName){case "APPLET":case "AREA":case "BASE":case "BR":case "COL":case "COMMAND":case "EMBED":case "FRAME":case "HR":case "IMG":case "INPUT":case "IFRAME":case "ISINDEX":case "KEYGEN":case "LINK":case "NOFRAMES":case "NOSCRIPT":case "META":case "OBJECT":case "PARAM":case "SCRIPT":case "SOURCE":case "STYLE":case "TRACK":case "WBR":return!1}return!0};f.removeChildren=c4b;f.removeNode=Fz;
f.getChildren=function(a){return void 0!=a.children?a.children:Array.prototype.filter.call(a.childNodes,function(b){return 1==b.nodeType})};f.isElement=Gz;f.getParentElement=Uib;f.contains=F8a;
f.isFocusable=function(a){var b;"A"==a.tagName&&a.hasAttribute("href")||"INPUT"==a.tagName||"TEXTAREA"==a.tagName||"SELECT"==a.tagName||"BUTTON"==a.tagName?b=!a.disabled&&(!a.hasAttribute("tabindex")||h4b(a)):b=a.hasAttribute("tabindex")&&h4b(a);if(b&&Ep){var c;"function"!==typeof a.getBoundingClientRect||Ep&&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 k4b,l4b=function(){var a=ca.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!ia("Presto")&&(a=function(){var e=cm(document,"IFRAME");e.style.display="none";document.documentElement.appendChild(e);var g=e.contentWindow;e=g.document;e.open();e.close();var h="callImmediate"+Math.random(),l="file:"==g.location.protocol?"*":g.location.protocol+"//"+g.location.host;e=Ap(function(q){if(("*"==l||q.origin==l)&&q.data==h)this.port1.onmessage()},
this);g.addEventListener("message",e,!1);this.port1={};this.port2={postMessage:function(){g.postMessage(h,l)}}});if("undefined"!==typeof a&&!faa()){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){ca.setTimeout(e,0)}},m4b=BUb;y3b(function(a){m4b=a});var n4b=function(){this.workTail_=this.workHead_=null};n4b.prototype.add=function(a,b){var c=o4b.get();c.set(a,b);this.workTail_?this.workTail_.next=c:this.workHead_=c;this.workTail_=c};n4b.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 o4b=new R3b(function(){return new p4b},function(a){return a.reset()}),p4b=function(){this.next=this.scope=this.fn=null};
p4b.prototype.set=function(a,b){this.fn=a;this.scope=b;this.next=null};p4b.prototype.reset=function(){this.next=this.scope=this.fn=null};var q4b,r4b=!1,s4b=new n4b,Hz=function(a,b){q4b||t4b();r4b||(q4b(),r4b=!0);s4b.add(a,b)},t4b=function(){if(ca.Promise&&ca.Promise.resolve){var a=ca.Promise.resolve(void 0);q4b=function(){a.then(u4b)}}else q4b=function(){var b=u4b;b=m4b(b);"function"!==typeof ca.setImmediate||ca.Window&&ca.Window.prototype&&!gaa()&&ca.Window.prototype.setImmediate==ca.setImmediate?(k4b||(k4b=l4b()),k4b(b)):ca.setImmediate(b)}},u4b=function(){for(var a;a=s4b.remove();){try{a.fn.call(a.scope)}catch(b){caa(b)}o4b.put(a)}r4b=
!1};var v4b=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var Jz=function(a){this.state_=0;this.result_=void 0;this.callbackEntriesTail_=this.callbackEntries_=this.parent_=null;this.hadUnhandledRejection_=this.executing_=!1;if(a!=Ht)try{var b=this;a.call(void 0,function(c){Iz(b,2,c)},function(c){Iz(b,3,c)})}catch(c){Iz(this,3,c)}},w4b=function(){this.next=this.context=this.onRejected=this.onFulfilled=this.child=null;this.always=!1};w4b.prototype.reset=function(){this.context=this.onRejected=this.onFulfilled=this.child=null;this.always=!1};
var x4b=new R3b(function(){return new w4b},function(a){a.reset()}),y4b=function(a,b,c){var d=x4b.get();d.onFulfilled=a;d.onRejected=b;d.context=c;return d},z4b=function(a){if(a instanceof Jz)return a;var b=new Jz(Ht);Iz(b,2,a);return b},A4b=function(a){return new Jz(function(b,c){c(a)})},C4b=function(a,b,c){B4b(a,b,c,null)||Hz(Bp(b,a))},D4b=function(a){return new Jz(function(b,c){a.length||b(void 0);for(var d=0,e;d<a.length;d++)e=a[d],C4b(e,b,c)})},E4b=function(a){return new Jz(function(b,c){var d=
a.length,e=[];if(d)for(var g=function(v,y){d--;e[v]=y;0==d&&b(e)},h=function(v){c(v)},l=0,q;l<a.length;l++)q=a[l],C4b(q,Bp(g,l),h);else b(e)})},F4b=function(a){return new Jz(function(b,c){var d=a.length,e=[];if(d)for(var g=function(v){b(v)},h=function(v,y){d--;e[v]=y;0==d&&c(e)},l=0,q;l<a.length;l++)q=a[l],C4b(q,g,Bp(h,l));else b(void 0)})},H4b=function(){var a,b,c=new Jz(function(d,e){a=d;b=e});return new G4b(c,a,b)};
Jz.prototype.then=function(a,b,c){return I4b(this,"function"===typeof a?a:null,"function"===typeof b?b:null,c)};Jz.prototype.$goog_Thenable=!0;var K4b=function(a,b){b=y4b(b,b);b.always=!0;J4b(a,b);return a};Jz.prototype.thenCatch=function(a,b){return I4b(this,null,a,b)};Jz.prototype.catch=Jz.prototype.thenCatch;Jz.prototype.cancel=function(a){if(0==this.state_){var b=new Kz(a);Hz(function(){L4b(this,b)},this)}};
var L4b=function(a,b){if(0==a.state_)if(a.parent_){var c=a.parent_;if(c.callbackEntries_){for(var d=0,e=null,g=null,h=c.callbackEntries_;h&&(h.always||(d++,h.child==a&&(e=h),!(e&&1<d)));h=h.next)e||(g=h);e&&(0==c.state_&&1==d?L4b(c,b):(g?(d=g,d.next==c.callbackEntriesTail_&&(c.callbackEntriesTail_=d),d.next=d.next.next):M4b(c),N4b(c,e,3,b)))}a.parent_=null}else Iz(a,3,b)},J4b=function(a,b){a.callbackEntries_||2!=a.state_&&3!=a.state_||O4b(a);a.callbackEntriesTail_?a.callbackEntriesTail_.next=b:a.callbackEntries_=
b;a.callbackEntriesTail_=b},I4b=function(a,b,c,d){var e=y4b(null,null,null);e.child=new Jz(function(g,h){e.onFulfilled=b?function(l){try{var q=b.call(d,l);g(q)}catch(v){h(v)}}:g;e.onRejected=c?function(l){try{var q=c.call(d,l);void 0===q&&l instanceof Kz?h(l):g(q)}catch(v){h(v)}}:h});e.child.parent_=a;J4b(a,e);return e.child};Jz.prototype.unblockAndFulfill_=function(a){this.state_=0;Iz(this,2,a)};Jz.prototype.unblockAndReject_=function(a){this.state_=0;Iz(this,3,a)};
var Iz=function(a,b,c){0==a.state_&&(a===c&&(b=3,c=new TypeError("wb")),a.state_=1,B4b(c,a.unblockAndFulfill_,a.unblockAndReject_,a)||(a.result_=c,a.state_=b,a.parent_=null,O4b(a),3!=b||c instanceof Kz||P4b(a,c)))},B4b=function(a,b,c,d){if(a instanceof Jz)return J4b(a,y4b(b||Ht,c||null,d)),!0;if(v4b(a))return a.then(b,c,d),!0;if(ta(a))try{var e=a.then;if("function"===typeof e)return Q4b(a,e,b,c,d),!0}catch(g){return c.call(d,g),!0}return!1},Q4b=function(a,b,c,d,e){var g=!1,h=function(q){g||(g=!0,
c.call(e,q))},l=function(q){g||(g=!0,d.call(e,q))};try{b.call(a,h,l)}catch(q){l(q)}},O4b=function(a){a.executing_||(a.executing_=!0,Hz(a.executeCallbacks_,a))},M4b=function(a){var b=null;a.callbackEntries_&&(b=a.callbackEntries_,a.callbackEntries_=b.next,b.next=null);a.callbackEntries_||(a.callbackEntriesTail_=null);return b};Jz.prototype.executeCallbacks_=function(){for(var a;a=M4b(this);)N4b(this,a,this.state_,this.result_);this.executing_=!1};
var N4b=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,R4b(b,c,d);else try{b.always?b.onFulfilled.call(b.context):R4b(b,c,d)}catch(e){S4b.call(null,e)}x4b.put(b)},R4b=function(a,b,c){2==b?a.onFulfilled.call(a.context,c):a.onRejected&&a.onRejected.call(a.context,c)},P4b=function(a,b){a.hadUnhandledRejection_=!0;Hz(function(){a.hadUnhandledRejection_&&S4b.call(null,b)})},S4b=caa,Kz=function(a){aa.call(this,
a);this.reportErrorToServer=!1};Cp(Kz,aa);Kz.prototype.name="cancel";var G4b=function(a,b,c){this.promise=a;this.resolve=b;this.reject=c};var Lz=function(a,b){Im.call(this);this.interval_=a||1;this.timerObject_=b||ca;this.boundTick_=Ap(this.tick_,this);this.last_=Date.now()};Cp(Lz,Im);f=Lz.prototype;f.enabled=!1;f.timer_=null;f.setInterval=function(a){this.interval_=a;this.timer_&&this.enabled?(this.stop(),this.start()):this.timer_&&this.stop()};
f.tick_=function(){if(this.enabled){var a=Date.now()-this.last_;0<a&&a<.8*this.interval_?this.timer_=this.timerObject_.setTimeout(this.boundTick_,this.interval_-a):(this.timer_&&(this.timerObject_.clearTimeout(this.timer_),this.timer_=null),this.dispatchEvent("tick"),this.enabled&&(this.stop(),this.start()))}};f.start=function(){this.enabled=!0;this.timer_||(this.timer_=this.timerObject_.setTimeout(this.boundTick_,this.interval_),this.last_=Date.now())};
f.stop=function(){this.enabled=!1;this.timer_&&(this.timerObject_.clearTimeout(this.timer_),this.timer_=null)};f.disposeInternal=function(){Lz.superClass_.disposeInternal.call(this);this.stop();delete this.timerObject_};
var im=function(a,b,c){if("function"===typeof a)c&&(a=Ap(a,c));else if(a&&"function"==typeof a.handleEvent)a=Ap(a.handleEvent,a);else throw Error("xb");return 2147483647<Number(b)?-1:ca.setTimeout(a,b||0)},jm=function(a){ca.clearTimeout(a)},T4b=function(a,b){var c=null;return(new Jz(function(d,e){c=im(function(){d(b)},a);-1==c&&e(Error("yb"))})).thenCatch(function(d){jm(c);throw d;})};var U4b=function(a){ng.call(this);this.streamzLogger_=a;this.metricMap=new Map;this.disabledMetrics_=new Set;this.invocationCount=0;this.flushInterval=3E4;this.flushTimer=new Lz(this.flushInterval);this.flushTimer.listen("tick",this.snapshotAndFlush,!1,this);qz(this,this.flushTimer)};V(U4b,ng);var V4b=function(a){a.flushTimer.enabled||a.flushTimer.start();a.invocationCount++;100<=a.invocationCount&&a.snapshotAndFlush()};f=U4b.prototype;
f.snapshotAndFlush=function(){var a=this.metricMap.values();a=[].concat(Jc(a)).filter(function(b){return b.cellMap_.size});a.length&&this.streamzLogger_.flush(a,!1);W4b(a);this.invocationCount=0;this.flushTimer.enabled&&this.flushTimer.stop()};f.addNewCounter=function(a){var b=Fc.apply(1,arguments);this.metricMap.has(a)||this.metricMap.set(a,new t3b(a,b))};f.addNewEventMetric=function(a){var b=Fc.apply(1,arguments);this.metricMap.has(a)||this.metricMap.set(a,new u3b(a,b))};
f.getMetric=function(a){return this.disabledMetrics_.has(a)?void 0:this.metricMap.get(a)};f.incrementCounter=function(a){this.incrementCounterBy.apply(this,[a,1].concat(Jc(Fc.apply(1,arguments))))};f.incrementCounterBy=function(a,b){var c=Fc.apply(2,arguments),d=this.getMetric(a);d&&d instanceof t3b&&(d.incrementCounterBy(b,c),V4b(this))};f.record=function(a,b){var c=Fc.apply(2,arguments),d=this.getMetric(a);d&&d instanceof u3b&&(d.record(b,c),V4b(this))};var W4b=function(a){for(var b=0;b<a.length;b++)a[b].clear()};var X4b=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"})};X4b.prototype.increment=function(a,b,c){this.streamzService_.incrementCounter(this.metricName_,a,b,c)};X4b.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var Y4b=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"})};Y4b.prototype.record=function(a,b,c){this.streamzService_.record(this.metricName_,a,b,c)};Y4b.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var Z4b=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"})};Z4b.prototype.increment=function(a,b){this.streamzService_.incrementCounter(this.metricName_,a,b)};Z4b.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var $4b=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"})};$4b.prototype.increment=function(a,b,c){this.streamzService_.incrementCounter(this.metricName_,a,b,c)};$4b.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};var a5b={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 d5b=function(a){a=b5b(a);for(var b=2654435769,c=2654435769,d=314159265,e=a.length,g=e,h=0,l=function(){b-=c;b-=d;b^=d>>>13;c-=d;c-=b;c^=b<<8;d-=b;d-=c;d^=c>>>13;b-=c;b-=d;b^=d>>>12;c-=d;c-=b;c^=b<<16;d-=b;d-=c;d^=c>>>5;b-=c;b-=d;b^=d>>>3;c-=d;c-=b;c^=b<<10;d-=b;d-=c;d^=c>>>15};12<=g;g-=12,h+=12)b+=c5b(a,h),c+=c5b(a,h+4),d+=c5b(a,h+8),l();d+=e;switch(g){case 11:d+=a[h+10]<<24;case 10:d+=a[h+9]<<16;case 9:d+=a[h+8]<<8;case 8:c+=a[h+7]<<24;case 7:c+=a[h+6]<<16;case 6:c+=a[h+5]<<8;case 5:c+=a[h+4];
case 4:b+=a[h+3]<<24;case 3:b+=a[h+2]<<16;case 2:b+=a[h+1]<<8;case 1:b+=a[h]}l();return a5b.toString(d)},e5b=function(a){return a},b5b=function(a){for(var b=[],c=0;c<a.length;c++)b.push(a.charCodeAt(c));return b},c5b=function(a,b){return a[b]+(a[b+1]<<8)+(a[b+2]<<16)+(a[b+3]<<24)};var Mz=function(a){r.call(this,a)};V(Mz,r);Mz.prototype.getValueCase=function(){return rh(this,Nz)};var Nz=[1,2,3];Mz.prototype.toObject=function(){return f5b(this)};var f5b=function(a){if(null!=a){t(a);var b=p(Am(a,1,Nz));var c=Cb(a,ym(a,Nz,2));return{strVal:b,intVal:p(c),boolVal:p(Db(a,ym(a,Nz,3)))}}},g5b=[Mz,1,Fq,Nz,2,mNb,Nz,3,Bq,Nz];Mz.prototype.serializeBinary=u(g5b);var Oz=function(a){r.call(this,a)};V(Oz,r);Oz.prototype.getCount=function(){return Wh(this,2)};Oz.prototype.setCount=function(a){return n(this,2,a)};Oz.prototype.toObject=function(){return h5b(this)};var h5b=function(a){if(null!=a)return t(a),{valueOrBucket:p(yb(a,1)),count:p(m(a,2))}},i5b=[Oz,1,iq,2,pq];Oz.prototype.serializeBinary=u(i5b);var Pz=function(a){r.call(this,a)};V(Pz,r);Pz.repeatedFields_=[1];Pz.prototype.toObject=function(){return j5b(this)};var j5b=function(a){if(null!=a)return t(a),{entryList:Mb(yg(a,Oz,1),h5b)}},k5b=[Pz,1,Iq,i5b];Pz.prototype.serializeBinary=u(k5b);var Qz=function(a){r.call(this,a)};V(Qz,r);Qz.prototype.getValueCase=function(){return rh(this,Rz)};var Rz=[1,2,3];Qz.prototype.toObject=function(){return l5b(this)};var l5b=function(a){if(null!=a)return t(a),{int64Val:p(bq(a,1,Rz)),doubleVal:p(zm(a,2,Rz)),histogramVal:j5b(Fi(a,Pz,3,Rz))}},m5b=[Qz,1,tq,Rz,2,kq,Rz,3,Jq,k5b,Rz];Qz.prototype.serializeBinary=u(m5b);var Sz=function(a){r.call(this,a)};V(Sz,r);Sz.prototype.setField=function(a){Np(this,1,Mz,a)};Sz.repeatedFields_=[1];Sz.prototype.toObject=function(){return n5b(this)};var n5b=function(a){if(null!=a)return t(a),{fieldList:Mb(yg(a,Mz,1),f5b),incBy:l5b(W(a,Qz,2))}},o5b=[Sz,1,Iq,g5b,2,X,m5b];Sz.prototype.serializeBinary=u(o5b);var Tz=function(a){r.call(this,a)};V(Tz,r);Tz.prototype.getAppName=function(){return mh(this,1)};Tz.prototype.toObject=function(){return p5b(this)};var p5b=function(a){if(null!=a)return t(a),{appName:p(m(a,1)),appVersion:p(m(a,2)),useMobilespec:p(Db(a,3))}},q5b=[Tz,1,Cq,2,Cq,3,zq];Tz.prototype.serializeBinary=u(q5b);var Uz=function(a){r.call(this,a)};V(Uz,r);Uz.prototype.getAppName=function(){return mh(this,1)};Uz.prototype.getExperimentId=function(){return Ag(this,3)};Uz.prototype.toObject=function(){return r5b(this)};var r5b=function(a){if(null!=a)return t(a),{appName:p(m(a,1)),appVersion:p(m(a,2)),experimentId:p(Cb(a,3)),useMobilespec:p(Db(a,4))}},s5b=[Uz,1,Cq,2,Cq,3,wq,4,zq];Uz.prototype.serializeBinary=u(s5b);var Vz=function(a){r.call(this,a)};V(Vz,r);Vz.prototype.getMobile=function(){return Fi(this,Tz,1,t5b)};var t5b=[1,2];Vz.prototype.toObject=function(){return u5b(this)};var u5b=function(a){if(null!=a)return t(a),{mobile:p5b(a.getMobile()),mobileExp:r5b(Fi(a,Uz,2,t5b))}},v5b=[Vz,1,Jq,q5b,t5b,2,Jq,s5b,t5b];Vz.prototype.serializeBinary=u(v5b);var Wz=function(a){r.call(this,a)};V(Wz,r);Wz.prototype.getFieldName=function(){return Zp(this,3)};Wz.prototype.setFieldName=function(a){fb(this,3,a,void 0,Cg)};Wz.repeatedFields_=[3,6,4];Wz.prototype.toObject=function(){return w5b(this)};var w5b=function(a){if(null!=a)return t(a),{streamzName:p(m(a,1)),hashedStreamzName:p(m(a,5)),rootSpec:u5b(W(a,Vz,2)),fieldNameList:p(Cg(a,3)),hashedFieldNameList:p($a(a,6,Ua)),incList:Mb(yg(a,Sz,4),n5b)}},x5b=[Wz,1,Cq,5,oNb,2,X,v5b,3,Dq,6,pNb,4,Iq,o5b];
Wz.prototype.serializeBinary=u(x5b);var Xz=function(a){r.call(this,a)};V(Xz,r);Xz.prototype.getKey=function(){return mh(this,1)};Xz.prototype.hasKey=function(){return jj(this,1)};Xz.prototype.toObject=function(){return y5b(this)};var y5b=function(a){if(null!=a)return t(a),{key:p(m(a,1))}},z5b=[Xz,1,Cq];Xz.prototype.serializeBinary=u(z5b);var Yz=function(a){r.call(this,a)};V(Yz,r);Yz.repeatedFields_=[1];Yz.prototype.toObject=function(){if(null!=this){t(this);var a={batchList:Mb(yg(this,Wz,1),w5b),slicerMetadata:y5b(W(this,Xz,2))}}else a=void 0;return a};Yz.prototype.serializeBinary=u([Yz,1,Iq,x5b,2,X,z5b]);var A5b=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("zb`"+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("Ab`"+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 C5b=function(a,b,c){var d=String(ca.location.href);return d&&a&&b?[b,B5b(A5b(d),a,c||null)].join(" "):null},B5b=function(a,b,c){var d=[],e=[];if(1==(Array.isArray(c)?2:1))return e=[b,a],oa(d,function(l){e.push(l)}),D5b(e.join(" "));var g=[],h=[];oa(c,function(l){h.push(l.key);g.push(l.value)});c=Math.floor((new Date).getTime()/1E3);e=0==g.length?[c,b,a]:[g.join(":"),c,b,a];oa(d,function(l){e.push(l)});a=D5b(e.join(" "));a=[c,a];0==h.length||a.push(h.join(""));return a.join("_")},D5b=function(a){var b=
pra();b.update(a);return b.digestString().toLowerCase()};var E5b={};var F5b=function(){this.document_=document||{cookie:""}};f=F5b.prototype;f.isEnabled=function(){if(!ca.navigator.cookieEnabled)return!1;if(!this.isEmpty())return!0;this.set("TESTCOOKIESENABLED","1",{maxAge:60});if("1"!==this.get("TESTCOOKIESENABLED"))return!1;this.remove("TESTCOOKIESENABLED");return!0};
f.set=function(a,b,c){var d=!1;if("object"===typeof c){var e=c.sameSite;d=c.secure||!1;var g=c.domain||void 0;var h=c.path||void 0;var l=c.maxAge}if(/[;=\s]/.test(a))throw Error("Bb`"+a);if(/[;\r\n]/.test(b))throw Error("Cb`"+b);void 0===l&&(l=-1);c=g?";domain="+g:"";h=h?";path="+h:"";d=d?";secure":"";l=0>l?"":0==l?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(Date.now()+1E3*l)).toUTCString();this.document_.cookie=a+"="+b+c+h+l+d+(null!=e?";samesite="+e:"")};
f.get=function(a,b){for(var c=a+"=",d=(this.document_.cookie||"").split(";"),e=0,g;e<d.length;e++){g=Lg(d[e]);if(0==g.lastIndexOf(c,0))return g.slice(c.length);if(g==a)return""}return b};f.remove=function(a,b,c){var d=this.containsKey(a);this.set(a,"",{maxAge:0,path:b,domain:c});return d};f.getKeys=function(){return G5b(this).keys};f.getValues=function(){return G5b(this).values};f.isEmpty=function(){return!this.document_.cookie};
f.getCount=function(){return this.document_.cookie?(this.document_.cookie||"").split(";").length:0};f.containsKey=function(a){return void 0!==this.get(a)};f.containsValue=function(a){for(var b=G5b(this).values,c=0;c<b.length;c++)if(b[c]==a)return!0;return!1};f.clear=function(){for(var a=G5b(this).keys,b=a.length-1;0<=b;b--)this.remove(a[b])};
var G5b=function(a){a=(a.document_.cookie||"").split(";");for(var b=[],c=[],d,e,g=0;g<a.length;g++)e=Lg(a[g]),d=e.indexOf("="),-1==d?(b.push(""),c.push(e)):(b.push(e.substring(0,d)),c.push(e.substring(d+1)));return{keys:b,values:c}};var H5b=function(a){return!!E5b.FPA_SAMESITE_PHASE2_MOD||!(void 0===a||!a)},I5b=function(a,b,c,d){(a=ca[a])||"undefined"===typeof document||(a=(new F5b).get(b));return a?C5b(a,c,d):null},Fm=function(a,b){b=void 0===b?!1:b;var c=A5b(String(ca.location.href)),d=[];var e=b;e=void 0===e?!1:e;var g=ca.__SAPISID||ca.__APISID||ca.__3PSAPISID||ca.__OVERRIDE_SID;H5b(e)&&(g=g||ca.__1PSAPISID);if(g)e=!0;else{if("undefined"!==typeof document){var h=new F5b;g=h.get("SAPISID")||h.get("APISID")||h.get("__Secure-3PAPISID")||
h.get("SID")||h.get("OSID");H5b(e)&&(g=g||h.get("__Secure-1PAPISID"))}e=!!g}e&&(e=(c=0==c.indexOf("https:")||0==c.indexOf("chrome-extension:")||0==c.indexOf("moz-extension:"))?ca.__SAPISID:ca.__APISID,e||"undefined"===typeof document||(e=new F5b,e=e.get(c?"SAPISID":"APISID")||e.get("__Secure-3PAPISID")),(e=e?C5b(e,c?"SAPISIDHASH":"APISIDHASH",a):null)&&d.push(e),c&&H5b(b)&&((b=I5b("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",a))&&d.push(b),(a=I5b("__3PSAPISID","__Secure-3PAPISID","SAPISID3PHASH",
a))&&d.push(a)));return 0==d.length?null:d.join(" ")};var Zz=function(a){r.call(this,a)};V(Zz,r);Zz.repeatedFields_=[2];Zz.prototype.toObject=function(){return J5b(this)};var J5b=function(a){if(null!=a)return t(a),{clearBlob:Qb(Fb(a,1)),clearBlobJs:p(m(a,4)),encryptedBlobList:Qb(Pp(a,2)),usersMatch:p(Db(a,3))}},K5b=[Zz,1,Kq,4,Cq,2,sNb,3,zq];Zz.prototype.serializeBinary=u(K5b);var L5b=function(a){this.currBaseValue_=this.currValue_=this.initialValue_=a};L5b.prototype.reset=function(){this.currBaseValue_=this.currValue_=this.initialValue_};L5b.prototype.getValue=function(){return this.currValue_};var M5b=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,""))},N5b=function(a){try{return ca.JSON.parse(a)}catch(b){}a=String(a);if(M5b(a))try{return eval("("+a+")")}catch(b){}throw Error("Db`"+a);},P5b=function(a,b){return(new O5b(b)).serialize(a)},O5b=function(a){this.replacer_=
a};O5b.prototype.serialize=function(a){var b=[];Q5b(this,a,b);return b.join("")};
var Q5b=function(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(Array.isArray(b)){var d=b;b=d.length;c.push("[");for(var e="",g=0;g<b;g++)c.push(e),e=d[g],Q5b(a,a.replacer_?a.replacer_.call(d,String(g),e):e,c),e=",";c.push("]");return}if(b instanceof String||b instanceof Number||b instanceof Boolean)b=b.valueOf();else{c.push("{");g="";for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(e=b[d],"function"!=typeof e&&(c.push(g),R5b(d,c),c.push(":"),Q5b(a,a.replacer_?a.replacer_.call(b,
d,e):e,c),g=","));c.push("}");return}}switch(typeof b){case "string":R5b(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("Eb`"+typeof b);}}},S5b={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\u000b"},T5b=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g,R5b=function(a,b){b.push('"',a.replace(T5b,
function(c){var d=S5b[c];d||(d="\\u"+(c.charCodeAt(0)|65536).toString(16).slice(1),S5b[c]=d);return d}),'"')};var U5b=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 V5b=function(){};V5b.prototype.cachedOptions_=null;V5b.prototype.getOptions=function(){return this.cachedOptions_||(this.cachedOptions_=this.internalGetOptions())};var W5b,X5b=function(){};Cp(X5b,V5b);X5b.prototype.createInstance=function(){var a=Y5b(this);return a?new ActiveXObject(a):new XMLHttpRequest};X5b.prototype.internalGetOptions=function(){var a={};Y5b(this)&&(a[0]=!0,a[1]=!0);return a};
var Y5b=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("Fb");}return a.ieProgId_};W5b=new X5b;var Z5b=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$"),$5b=function(a,b){if(a){a=a.split("&");for(var c=0;c<a.length;c++){var d=a[c].indexOf("="),e=null;if(0<=d){var g=a[c].substring(0,d);e=a[c].substring(d+1)}else g=a[c];b(g,e?decodeURIComponent(e.replace(/\+/g," ")):"")}}},a6b=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]},b6b=function(a,b,c){if(Array.isArray(b))for(var d=0;d<b.length;d++)b6b(a,String(b[d]),c);else null!=b&&c.push(a+(""===b?"":"="+encodeURIComponent(String(b))))},c6b=function(a,b){var c=[];for(b=b||0;b<a.length;b+=2)b6b(a[b],a[b+1],c);return c.join("&")},d6b=function(a){var b=[],c;for(c in a)b6b(c,a[c],b);return b.join("&")},$z=function(a,b){var c=2==arguments.length?c6b(arguments[1],0):c6b(arguments,
1);return a6b(a,c)},tya=function(a,b){b=d6b(b);return a6b(a,b)},e6b=function(a,b,c){c=null!=c?"="+encodeURIComponent(String(c)):"";return a6b(a,b+c)},f6b=function(a,b,c,d){for(var e=c.length;0<=(b=a.indexOf(c,b))&&b<d;){var g=a.charCodeAt(b-1);if(38==g||63==g)if(g=a.charCodeAt(b+e),!g||61==g||38==g||35==g)return b;b+=e+1}return-1},g6b=/#|$/,h6b=function(a,b){var c=a.search(g6b),d=f6b(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," "))},i6b=/[?&]($|#)/;var aA=function(a){Im.call(this);this.headers=new Map;this.xmlHttpFactory_=a||null;this.active_=!1;this.xhrOptions_=this.xhr_=null;this.lastUri_="";this.lastErrorCode_=0;this.lastError_="";this.inAbort_=this.inOpen_=this.inSend_=this.errorDispatched_=!1;this.timeoutInterval_=0;this.timeoutId_=null;this.responseType_="";this.useXhr2Timeout_=this.withCredentials_=!1;this.trustToken_=null};Cp(aA,Im);
var j6b=/^https?$/i,k6b=["POST","PUT"],l6b=[],qra=function(a,b,c,d,e,g,h){var l=new aA;l6b.push(l);b&&l.listen("complete",b);l.listenOnce("ready",l.cleanupSend_);g&&(l.timeoutInterval_=Math.max(0,g));h&&(l.withCredentials_=h);l.send(a,c,d,e);return l};aA.prototype.cleanupSend_=function(){this.dispose();qa(l6b,this)};aA.prototype.setTrustToken=function(a){this.trustToken_=a};
aA.prototype.send=function(a,b,c,d){if(this.xhr_)throw Error("Gb`"+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():W5b.getOptions();this.xhr_.onreadystatechange=Ap(this.onReadyStateChange_,this);try{this.inOpen_=!0,this.xhr_.open(b,String(a),!0),this.inOpen_=!1}catch(h){this.error_(5,h);return}a=c||"";c=
new Map(this.headers);if(d)if(Object.getPrototypeOf(d)===Object.prototype)for(var e in d)c.set(e,d[e]);else if("function"===typeof d.keys&&"function"===typeof d.get){e=k(d.keys());for(var g=e.next();!g.done;g=e.next())g=g.value,c.set(g,d.get(g))}else throw Error("Hb`"+String(d));d=Array.from(c.keys()).find(function(h){return"content-type"==h.toLowerCase()});e=ca.FormData&&a instanceof ca.FormData;!pa(k6b,b)||d||e||c.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");b=k(c);for(d=
b.next();!d.done;d=b.next())c=k(d.value),d=c.next().value,c=c.next().value,this.xhr_.setRequestHeader(d,c);this.responseType_&&(this.xhr_.responseType=this.responseType_);"withCredentials"in this.xhr_&&this.xhr_.withCredentials!==this.withCredentials_&&(this.xhr_.withCredentials=this.withCredentials_);if("setTrustToken"in this.xhr_&&this.trustToken_)try{this.xhr_.setTrustToken(this.trustToken_)}catch(h){}try{m6b(this),0<this.timeoutInterval_&&((this.useXhr2Timeout_=n6b(this.xhr_))?(this.xhr_.timeout=
this.timeoutInterval_,this.xhr_.ontimeout=Ap(this.timeout_,this)):this.timeoutId_=im(this.timeout_,this.timeoutInterval_,this)),this.inSend_=!0,this.xhr_.send(a),this.inSend_=!1}catch(h){this.error_(5,h)}};var n6b=function(a){return Ep&&"number"===typeof a.timeout&&void 0!==a.ontimeout};aA.prototype.createXhr=function(){return this.xmlHttpFactory_?this.xmlHttpFactory_.createInstance():W5b.createInstance()};
aA.prototype.timeout_=function(){"undefined"!=typeof pLb&&this.xhr_&&(this.lastError_="Timed out after "+this.timeoutInterval_+"ms, aborting",this.lastErrorCode_=8,this.dispatchEvent("timeout"),this.abort(8))};aA.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;o6b(this);p6b(this)};var o6b=function(a){a.errorDispatched_||(a.errorDispatched_=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};
aA.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"),p6b(this))};aA.prototype.disposeInternal=function(){this.xhr_&&(this.active_&&(this.active_=!1,this.inAbort_=!0,this.xhr_.abort(),this.inAbort_=!1),p6b(this,!0));aA.superClass_.disposeInternal.call(this)};
aA.prototype.onReadyStateChange_=function(){if(!this.isDisposed())if(this.inOpen_||this.inSend_||this.inAbort_)q6b(this);else this.onReadyStateChangeEntryPoint_()};aA.prototype.onReadyStateChangeEntryPoint_=function(){q6b(this)};
var q6b=function(a){if(a.active_&&"undefined"!=typeof pLb&&(!a.xhrOptions_[1]||4!=a.getReadyState()||2!=a.getStatus()))if(a.inSend_&&4==a.getReadyState())im(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()+"]";o6b(a)}}finally{p6b(a)}}},p6b=function(a,
b){if(a.xhr_){m6b(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){}}},m6b=function(a){a.xhr_&&a.useXhr2Timeout_&&(a.xhr_.ontimeout=null);a.timeoutId_&&(jm(a.timeoutId_),a.timeoutId_=null)};f=aA.prototype;f.isActive=function(){return!!this.xhr_};f.isComplete=function(){return 4==this.getReadyState()};
f.isSuccess=function(){var a=this.getStatus();a:switch(a){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var b=!0;break a;default:b=!1}if(!b){if(a=0===a)a=String(this.lastUri_).match(Z5b)[1]||null,!a&&ca.self&&ca.self.location&&(a=ca.self.location.protocol.slice(0,-1)),a=!j6b.test(a?a.toLowerCase():"");b=a}return b};f.getReadyState=function(){return this.xhr_?this.xhr_.readyState:0};f.getStatus=function(){try{return 2<this.getReadyState()?this.xhr_.status:-1}catch(a){return-1}};
f.getLastUri=function(){return String(this.lastUri_)};f.getResponseText=function(){try{return this.xhr_?this.xhr_.responseText:""}catch(a){return""}};f.getResponseJson=function(a){if(this.xhr_){var b=this.xhr_.responseText;a&&0==b.indexOf(a)&&(b=b.substring(a.length));a:{a=b;if(ca.JSON)try{var c=ca.JSON.parse(a);break a}catch(d){}c=N5b(a)}return c}};
f.getResponse=function(){try{if(!this.xhr_)return null;if("response"in this.xhr_)return this.xhr_.response;switch(this.responseType_){case "":case "text":return this.xhr_.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in this.xhr_)return this.xhr_.mozResponseArrayBuffer}return null}catch(a){return null}};f.getResponseHeader=function(a){if(this.xhr_&&this.isComplete())return a=this.xhr_.getResponseHeader(a),null===a?void 0:a};
f.getAllResponseHeaders=function(){return this.xhr_&&2<=this.getReadyState()?this.xhr_.getAllResponseHeaders()||"":""};f.getResponseHeaders=function(){for(var a={},b=this.getAllResponseHeaders().split("\r\n"),c=0;c<b.length;c++)if(!nj(b[c])){var d=iVb(b[c]),e=d[0];d=d[1];if("string"===typeof d){d=d.trim();var g=a[e]||[];a[e]=g;g.push(d)}}return wda(a,function(h){return h.join(", ")})};var yra=function(a,b){return a.xhr_?a.xhr_.getResponseHeader(b):null};aA.prototype.getLastErrorCode=function(){return this.lastErrorCode_};
aA.prototype.getLastError=function(){return"string"===typeof this.lastError_?this.lastError_:String(this.lastError_)};y3b(function(a){aA.prototype.onReadyStateChangeEntryPoint_=a(aA.prototype.onReadyStateChangeEntryPoint_)});var bA=function(a){r.call(this,a)};V(bA,r);bA.prototype.setTransmissionType=function(a){n(this,1,a)};bA.prototype.setRetryCount=function(a){n(this,3,a)};bA.prototype.toObject=function(){return r6b(this)};var r6b=function(a){if(null!=a)return t(a),{transmissionType:p(m(a,1)),isFinal:p(Db(a,2)),retryCount:p(Cb(a,3))}},s6b=[bA,1,Nq,2,zq,3,wq];bA.prototype.serializeBinary=u(s6b);var t6b=function(a){r.call(this,a)};V(t6b,r);f=t6b.prototype;f.getVersion=function(){return m(this,2)};f.getVersion_legacyNullable=function(){return m(this,2)};f.setVersion=function(a){return n(this,2,a)};f.getVersionOrUndefined=function(){return eq(this,2)};f.toObject=function(){return u6b(this)};var u6b=function(a){if(null!=a)return t(a),{brand:p(m(a,1)),version:p(m(a,2))}},v6b=[t6b,1,Cq,2,Cq];t6b.prototype.serializeBinary=u(v6b);var cA=function(a){r.call(this,a)};V(cA,r);cA.prototype.getMobile=function(){return Db(this,2)};cA.repeatedFields_=[1];cA.prototype.toObject=function(){return w6b(this)};var w6b=function(a){if(null!=a)return t(a),{uaListList:Mb(yg(a,t6b,1),u6b),mobile:p(Db(a,2)),platform:p(m(a,3)),platformVersion:p(m(a,4)),architecture:p(m(a,5)),model:p(m(a,6)),uaFullVersion:p(m(a,7)),bitness:p(m(a,8))}},x6b=[cA,1,Iq,v6b,2,zq,3,Cq,4,Cq,5,Cq,6,Cq,7,Cq,8,Cq];cA.prototype.serializeBinary=u(x6b);var dA=function(a){r.call(this,a)};V(dA,r);f=dA.prototype;f.getLocale=function(){return m(this,5)};f.setLocale=function(a){return n(this,5,a)};f.setBuildLabel=function(a){n(this,7,a)};f.getMutableFlushInfo=function(){return Rp(this,bA,10)};f.toObject=function(){return y6b(this)};
var y6b=function(a){if(null!=a)return t(a),{os:p(m(a,1)),osVersion:p(m(a,2)),deviceType:p(m(a,3)),country:p(m(a,4)),locale:p(m(a,5)),osType:p(m(a,6)),buildLabel:p(m(a,7)),continent:p(m(a,8)),clientHints:w6b(W(a,cA,9)),flushInfo:r6b(W(a,bA,10))}},z6b=[dA,1,Cq,2,Cq,3,Nq,4,Cq,5,Cq,6,Nq,7,Cq,8,Cq,9,X,x6b,10,X,s6b];dA.prototype.serializeBinary=u(z6b);var A6b=["platform","platformVersion","architecture","model","uaFullVersion"];new cA;var B6b=function(a){r.call(this,a)};V(B6b,r);B6b.prototype.toObject=function(){return C6b(this)};var C6b=function(a){if(null!=a)return t(a),{guestAngle:p(Db(a,1))}},D6b=[B6b,1,zq];B6b.prototype.serializeBinary=u(D6b);var eA=function(a){r.call(this,a)};V(eA,r);eA.prototype.toObject=function(){return E6b(this)};var E6b=function(a){if(null!=a)return t(a),{buildVersion:p(m(a,1)),buildType:p(m(a,4)),omahaChannel:p(m(a,5)),battlestarClientType:p(m(a,2)),graphicsCapabilities:C6b(W(a,B6b,3)),battlestarMachineTier:p(m(a,6)),hypervisorType:p(m(a,7))}},F6b=[eA,1,Cq,4,Cq,5,Cq,2,Nq,3,X,D6b,6,Nq,7,Nq];eA.prototype.serializeBinary=u(F6b);var fA=function(a){r.call(this,a)};V(fA,r);fA.prototype.getClientType=function(){return m(this,1)};fA.prototype.setClientType=function(a){return n(this,1,a)};fA.prototype.setBuildLabel=function(a){n(this,2,a)};fA.prototype.toObject=function(){return G6b(this)};var G6b=function(a){if(null!=a)return t(a),{clientType:p(m(a,1)),buildLabel:p(m(a,2)),birdsongBuildLabel:p(m(a,3))}},H6b=[fA,1,Nq,2,Cq,3,Cq];fA.prototype.serializeBinary=u(H6b);var gA=function(a){r.call(this,a)};V(gA,r);gA.prototype.getLocale=function(){return m(this,1)};gA.prototype.setLocale=function(a){return n(this,1,a)};gA.prototype.toObject=function(){return I6b(this)};var I6b=function(a){if(null!=a)return t(a),{locale:p(m(a,1)),browser:p(m(a,2)),browserVersion:p(m(a,3)),flashVersion:p(m(a,4))}},J6b=[gA,1,Cq,2,Cq,3,Cq,4,Cq];gA.prototype.serializeBinary=u(J6b);var K6b=function(a){r.call(this,a)};V(K6b,r);f=K6b.prototype;f.getClientId=function(){return m(this,1)};f.setClientId=function(a){return n(this,1,a)};f.getLoggingId=function(){return m(this,2)};f.setLoggingId=function(a){n(this,2,a)};f.toObject=function(){return L6b(this)};
var L6b=function(a){if(null!=a)return t(a),{clientId:p(m(a,1)),loggingId:p(m(a,2)),os:p(m(a,3)),osMajorVersion:p(m(a,4)),osFullVersion:p(m(a,5)),applicationBuild:p(m(a,6)),country:p(m(a,7)),applicationBuildCl:p(m(a,8)),clearcutVersion:p(Cb(a,9))}},M6b=[K6b,1,Cq,2,Cq,3,Cq,4,Cq,5,Cq,6,Cq,7,Cq,8,pq,9,wq];K6b.prototype.serializeBinary=u(M6b);var hA=function(a){r.call(this,a)};V(hA,r);hA.prototype.toObject=function(){return N6b(this)};var N6b=function(a){if(null!=a)return t(a),{buildVersion:p(m(a,1)),driveDesktopClientType:p(m(a,2))}},O6b=[hA,1,Cq,2,Nq];hA.prototype.serializeBinary=u(O6b);var iA=function(a){r.call(this,a)};V(iA,r);iA.prototype.toObject=function(){return P6b(this)};var P6b=function(a){if(null!=a)return t(a),{buildVersion:p(m(a,1)),g1DesktopClientType:p(m(a,2))}},Q6b=[iA,1,Cq,2,Nq];iA.prototype.serializeBinary=u(Q6b);var jA=function(a){r.call(this,a)};V(jA,r);jA.prototype.getLocale=function(){return m(this,11)};jA.prototype.setLocale=function(a){return n(this,11,a)};jA.prototype.toObject=function(){return R6b(this)};
var R6b=function(a){if(null!=a)return t(a),{deviceId:p(m(a,9)),deviceModel:p(m(a,1)),appVersion:p(m(a,2)),acpVersion:p(m(a,16)),opalVersion:p(m(a,18)),virtualReleaseChannel:p(m(a,17)),manufacturer:p(m(a,3)),productName:p(m(a,4)),factoryCountry:p(m(a,5)),buildType:p(m(a,6)),systemBuild:p(m(a,7)),backendType:p(m(a,8)),locale:p(m(a,11)),onDeviceAssistantEnabled:p(Db(a,12)),surfaceType:p(m(a,13)),ontologicalSurfaceType:p(m(a,19)),osType:p(m(a,14)),optedInMetricsLogging:p(Db(a,15))}},S6b=[jA,9,Cq,1,Cq,
2,Cq,16,Cq,18,Cq,17,Cq,3,Cq,4,Cq,5,Cq,6,Cq,7,Cq,8,Nq,11,Cq,12,zq,13,Nq,19,Nq,14,Nq,15,zq];jA.prototype.serializeBinary=u(S6b);var kA=function(a){r.call(this,a)};V(kA,r);kA.prototype.getLocale=function(){return m(this,5)};kA.prototype.setLocale=function(a){return n(this,5,a)};kA.prototype.toObject=function(){return T6b(this)};var T6b=function(a){if(null!=a)return t(a),{appVersion:p(m(a,1)),coreAppVersion:p(m(a,3)),deviceModel:p(m(a,2)),mccMnc:p(m(a,4)),locale:p(m(a,5))}},U6b=[kA,1,Cq,3,Cq,2,Cq,4,Cq,5,Cq];kA.prototype.serializeBinary=u(U6b);var V6b=function(a){r.call(this,a)};V(V6b,r);V6b.prototype.toObject=function(){return W6b(this)};var W6b=function(a){if(null!=a)return t(a),{osMajorVersion:p(m(a,1)),osFullVersion:p(m(a,2)),applicationBuild:p(m(a,3)),country:p(m(a,4)),applicationBuildCl:p(m(a,5)),clearcutVersion:p(Cb(a,6)),applicationBundleId:p(m(a,7))}},X6b=[V6b,1,Cq,2,Cq,3,Cq,4,Cq,5,pq,6,wq,7,Cq];V6b.prototype.serializeBinary=u(X6b);var lA=function(a){r.call(this,a)};V(lA,r);lA.prototype.getAppId=function(){return m(this,3)};lA.prototype.setAppId=function(a){n(this,3,a)};lA.prototype.toObject=function(){return Y6b(this)};var Y6b=function(a){if(null!=a)return t(a),{deviceId:p(m(a,1)),os:p(m(a,2)),appId:p(m(a,3)),appVersion:p(m(a,4)),mccMnc:p(m(a,5))}},Z6b=[lA,1,Cq,2,Nq,3,Cq,4,Cq,5,Cq];lA.prototype.serializeBinary=u(Z6b);var $6b=function(a){r.call(this,a)};V($6b,r);f=$6b.prototype;f.getClientId=function(){return m(this,1)};f.setClientId=function(a){return n(this,1,a)};f.getLoggingId=function(){return m(this,7)};f.setLoggingId=function(a){n(this,7,a)};f.toObject=function(){return a7b(this)};
var a7b=function(a){if(null!=a)return t(a),{clientId:p(m(a,1)),loggingId:p(m(a,7)),make:p(m(a,3)),model:p(m(a,4)),applicationBuild:p(m(a,5)),platformVersion:p(m(a,6)),country:p(m(a,8))}},b7b=[$6b,1,Cq,7,Cq,3,Cq,4,Cq,5,Cq,6,Cq,8,Cq];$6b.prototype.serializeBinary=u(b7b);var c7b=function(a){r.call(this,a)};V(c7b,r);c7b.prototype.toObject=function(){return d7b(this)};var d7b=function(a){if(null!=a)return t(a),{usageType:p(m(a,1))}},e7b=[c7b,1,Nq];c7b.prototype.serializeBinary=u(e7b);var f7b=function(a){r.call(this,a)};V(f7b,r);f7b.prototype.toObject=function(){return g7b(this)};var g7b=function(a){if(null!=a)return t(a),{isExtendedAdvertisingSupported:p(Db(a,1)),isPeripheralRoleSupported:p(Db(a,2)),isLowEnergySupported:p(Db(a,3)),isAdvertisementOffloadSupported:p(Db(a,4))}},h7b=[f7b,1,zq,2,zq,3,zq,4,zq];f7b.prototype.serializeBinary=u(h7b);var mA=function(a){r.call(this,a)};V(mA,r);mA.prototype.toObject=function(){return i7b(this)};var i7b=function(a){if(null!=a)return t(a),{manufacturer:p(m(a,1)),deviceName:p(m(a,2)),driverProviderName:p(m(a,3)),driverVersion:p(m(a,4)),driverDate:p(m(a,5))}},j7b=[mA,1,Cq,2,Cq,3,Cq,4,Cq,5,Cq];mA.prototype.serializeBinary=u(j7b);var nA=function(a){r.call(this,a)};V(nA,r);nA.repeatedFields_=[13,14];nA.prototype.toObject=function(){return k7b(this)};
var k7b=function(a){if(null!=a)return t(a),{deviceType:p(m(a,1)),deviceManufacturer:p(m(a,2)),deviceModel:p(m(a,3)),physicalMemory:p(m(a,4)),processorCount:p(Cb(a,5)),logicalProcessorCount:p(Cb(a,6)),osName:p(m(a,7)),osVersion:p(m(a,8)),osArchitecture:p(m(a,9)),osLanguageCode:p(m(a,10)),cpuManufacturer:p(m(a,11)),cpuName:p(m(a,12)),bluetoothDriverInfosList:Mb(yg(a,mA,13),i7b),networkDriverInfosList:Mb(yg(a,mA,14),i7b),bleExtdAdvSupported:p(Db(a,15)),bluetoothInfo:g7b(W(a,f7b,16)),usageType:p(m(a,
17))}},l7b=[nA,1,Nq,2,Cq,3,Cq,4,pq,5,wq,6,wq,7,Cq,8,Cq,9,Cq,10,Cq,11,Cq,12,Cq,13,Iq,j7b,14,Iq,j7b,15,zq,16,X,h7b,17,Nq];nA.prototype.serializeBinary=u(l7b);var oA=function(a){r.call(this,a)};V(oA,r);oA.prototype.getBattlestarClientInfo=function(){return Fi(this,eA,1,pA)};oA.prototype.getDriveDesktopClientInfo=function(){return Fi(this,hA,2,pA)};oA.prototype.getG1DesktopClientInfo=function(){return Fi(this,iA,3,pA)};oA.prototype.getWindowsClientInfo=function(){return Fi(this,nA,5,pA)};var pA=[1,2,3,4,5];oA.prototype.toObject=function(){return m7b(this)};
var m7b=function(a){if(null!=a)return t(a),{battlestarClientInfo:E6b(a.getBattlestarClientInfo()),driveDesktopClientInfo:N6b(a.getDriveDesktopClientInfo()),g1DesktopClientInfo:P6b(a.getG1DesktopClientInfo()),nearbyClientInfo:d7b(Fi(a,c7b,4,pA)),windowsClientInfo:k7b(a.getWindowsClientInfo())}},n7b=[oA,1,Jq,F6b,pA,2,Jq,O6b,pA,3,Jq,Q6b,pA,4,Jq,e7b,pA,5,Jq,l7b,pA];oA.prototype.serializeBinary=u(n7b);var o7b=function(a){r.call(this,a)};V(o7b,r);o7b.prototype.toObject=function(){return p7b(this)};var p7b=function(a){if(null!=a)return t(a),{machineClass:p(m(a,1))}},q7b=[o7b,1,Nq];o7b.prototype.serializeBinary=u(q7b);var r7b=function(a){r.call(this,a)};V(r7b,r);r7b.prototype.toObject=function(){return s7b(this)};var s7b=function(a){if(null!=a)return t(a),{vrClientType:p(m(a,1)),sdkVersion:p(m(a,2)),fingerprint:p(m(a,3)),gvrVersion:p(m(a,4)),manufacturer:p(m(a,5)),model:p(m(a,6)),language:p(m(a,7)),country:p(m(a,8)),unityVersion:p(m(a,9)),unitySdkVersion:p(m(a,10))}},t7b=[r7b,1,Nq,2,Cq,3,Cq,4,Cq,5,Cq,6,Cq,7,Cq,8,Cq,9,Cq,10,Cq];r7b.prototype.serializeBinary=u(t7b);var u7b=function(a){r.call(this,a)};V(u7b,r);f=u7b.prototype;f.setBuildLabel=function(a){n(this,1,a)};f.setEnvironment=function(a){return n(this,3,a)};f.getEnvironmentOrUndefined=function(){return eq(this,3)};f.getLocation=function(){return m(this,4)};f.toObject=function(){return v7b(this)};
var v7b=function(a){if(null!=a)return t(a),{buildLabel:p(m(a,1)),deploymentType:p(m(a,2)),environment:p(m(a,3)),location:p(m(a,4)),machine:p(m(a,5)),gameletId:p(m(a,6)),machineShape:p(m(a,7)),metro:p(m(a,8)),vmPurpose:p(m(a,9)),releaseStage:p(m(a,10))}},w7b=[u7b,1,Cq,2,Cq,3,Cq,4,Cq,5,Cq,6,Cq,7,Cq,8,Cq,9,Cq,10,Cq];u7b.prototype.serializeBinary=u(w7b);var qA=function(a){r.call(this,a)};V(qA,r);f=qA.prototype;f.getClientType=function(){return m(this,1)};f.setClientType=function(a){return n(this,1,a)};f.getBattlestarClientInfo=function(){return W(this,eA,22)};f.getDriveDesktopClientInfo=function(){return W(this,hA,24)};f.getG1DesktopClientInfo=function(){return W(this,iA,25)};f.getMutableJsClientInfo=function(){return Rp(this,dA,11)};f.getWindowsClientInfo=function(){return W(this,nA,26)};f.toObject=function(){return x7b(this)};
var x7b=function(a){if(null!=a)return t(a),{clientType:p(m(a,1)),remoteHost:p(m(a,6)),remoteHost6:p(m(a,7)),battlestarClientInfo:E6b(a.getBattlestarClientInfo()),birdsongClientInfo:G6b(W(a,fA,14)),desktopClientInfo:L6b(W(a,K6b,3)),driveDesktopClientInfo:N6b(a.getDriveDesktopClientInfo()),g1DesktopClientInfo:P6b(a.getG1DesktopClientInfo()),googleHomeClientInfo:R6b(W(a,jA,16)),jsClientInfo:y6b(W(a,dA,11)),kaiosClientInfo:T6b(W(a,kA,20)),macClientInfo:W6b(W(a,V6b,13)),pancettaClientInfo:Y6b(W(a,lA,10)),
playCeClientInfo:a7b(W(a,$6b,5)),portablePhenotypeLibraryClientInfo:m7b(W(a,oA,23)),sparklightClientInfo:p7b(W(a,o7b,18)),vrClientInfo:s7b(W(a,r7b,8)),windowsClientInfo:k7b(a.getWindowsClientInfo()),yetiClientInfo:v7b(W(a,u7b,15)),browserInfo:I6b(W(a,gA,9)),heterodyneConfigVersion:p(m(a,12))}},y7b=[qA,1,Nq,6,Cq,7,Cq,22,X,F6b,14,X,H6b,3,X,M6b,24,X,O6b,25,X,Q6b,16,X,S6b,11,X,z6b,20,X,U6b,13,X,X6b,10,X,Z6b,5,X,b7b,23,X,n7b,18,X,q7b,8,X,t7b,26,X,l7b,15,X,w7b,9,X,J6b,12,pq];
qA.prototype.serializeBinary=u(y7b);var z7b=Lb(66321687,{messageSetExtension:0},qA,x7b);gr[66321687]=gq(hq,y7b);fr[66321687]=z7b;var rA=function(a){r.call(this,a)};V(rA,r);rA.repeatedFields_=[1,2,3,4,5];rA.prototype.toObject=function(){return A7b(this)};var A7b=function(a){if(null!=a)return t(a),{clientAlteringExperimentList:p(Cg(a,1)),otherExperimentList:p(Cg(a,2)),gwsExperimentList:p(xg(a,3)),playExperimentList:p(Wj(a,4)),unsupportedPlayExperimentList:p(Wj(a,5))}},B7b=[rA,1,Dq,2,Dq,3,xq,4,qq,5,qq];rA.prototype.serializeBinary=u(B7b);var C7b=function(a){r.call(this,a)};V(C7b,r);f=C7b.prototype;f.getVersion=function(){return m(this,3)};f.getVersion_legacyNullable=function(){return m(this,3)};f.setVersion=function(a){return n(this,3,a)};f.getVersionOrUndefined=function(){return eq(this,3)};f.toObject=function(){return D7b(this)};var D7b=function(a){if(null!=a)return t(a),{appType:p(Cb(a,1)),androidPackageName:p(m(a,2)),version:p(m(a,3))}},E7b=[C7b,1,wq,2,Cq,3,Cq];C7b.prototype.serializeBinary=u(E7b);var sA=function(a){r.call(this,a)};V(sA,r);f=sA.prototype;f.getKey=function(){return m(this,1)};f.hasKey=function(){return jj(this,1)};f.getValue=function(){return m(this,2)};f.getValue_legacyNullable=function(){return m(this,2)};f.setValue=function(a){return n(this,2,a)};f.hasValue=function(){return jj(this,2)};f.toObject=function(){return F7b(this)};var F7b=function(a){if(null!=a)return t(a),{key:p(m(a,1)),value:p(m(a,2))}},G7b=[sA,1,Cq,2,Cq];sA.prototype.serializeBinary=u(G7b);var H7b=function(a){r.call(this,a)};V(H7b,r);H7b.prototype.toObject=function(){return I7b(this)};var I7b=function(a){if(null!=a)return t(a),{networkType:Fh(a,1,-1),mobileSubtype:Fh(a,2,0)}},J7b=[H7b,1,Nq,2,Nq];H7b.prototype.serializeBinary=u(J7b);var tA=function(a){r.call(this,a,33)};V(tA,r);f=tA.prototype;f.getTag=function(){return m(this,2)};f.getComponentId=function(){return m(this,26)};f.setComponentId=function(a){return n(this,26,a)};f.hasComponentId=function(){return jj(this,26)};f.getValueList=function(){return yg(this,sA,3)};f.addValue=function(){return um(this,3,sA)};f.setValue=function(a,b){return Np(this,3,sA,a,b)};f.getStore=function(){return Fb(this,4)};var K7b=function(a,b){return n(a,8,b)};
tA.prototype.getExperimentIds=function(){return W(this,Zz,16)};tA.prototype.setExperimentIds=function(a){Oh(this,Zz,16,a)};var L7b=function(a,b){n(a,24,b)},M7b={};tA.repeatedFields_=[3,20,27];tA.prototype.toObject=function(){return N7b(this)};
var N7b=function(a){if(null!=a){t(a);var b={eventTimeMs:p(m(a,1)),eventUptimeMs:p(m(a,17)),bootCount:p(m(a,22)),sequencePosition:p(m(a,21)),tag:p(m(a,2)),eventCode:p(Cb(a,11)),componentId:p(m(a,26)),eventFlowId:p(m(a,12)),isUserInitiated:p(Db(a,10)),valueList:Mb(a.getValueList(),F7b),store:Qb(a.getStore()),appUsage1p:D7b(W(a,C7b,9)),sourceExtension:Qb(Fb(a,6)),sourceExtensionJs:p(m(a,8)),sourceExtensionJson:p(m(a,13)),sourceExtensionJsonProto3:p(m(a,29)),exp:A7b(W(a,rA,7)),testId:p(m(a,14)),timezoneOffsetSeconds:Wh(a,
15,18E4),experimentIds:J5b(a.getExperimentIds()),clientVe:Qb(Fb(a,18)),clientVeJs:p(m(a,24)),internalEvent:p(m(a,19)),testCodeList:p(xg(a,20)),genericDimensionsList:p(xg(a,27)),networkConnectionInfo:I7b(W(a,H7b,23)),inDirectBootMode:p(Db(a,25)),zwiebackCookieOverride:p(m(a,28)),moduleAppliedSamplingRate:p(yb(a,30)),clientAppliedSamplingRate:p(yb(a,32))};Nb(a,b,M7b);return b}},O7b=[tA,{},1,mq,17,mq,22,pq,21,pq,2,Cq,11,wq,26,Cq,12,pq,10,zq,3,Iq,G7b,4,Kq,9,X,E7b,6,Kq,8,Cq,13,Cq,29,Cq,7,X,B7b,14,Cq,15,
yNb,16,X,K5b,18,Kq,24,Cq,19,Nq,20,xq,27,lNb,23,X,J7b,25,zq,28,Cq,30,iq,32,iq];tA.prototype.serializeBinary=u(O7b);var P7b=function(a){r.call(this,a)};V(P7b,r);P7b.prototype.toObject=function(){return Q7b(this)};var Q7b=function(a){if(null!=a)return t(a),{collectStartMs:p(m(a,3)),collectUntilMs:p(m(a,1)),skipPersistentLogStorage:p(Db(a,2))}},R7b=[P7b,3,pq,1,mq,2,zq];P7b.prototype.serializeBinary=u(R7b);var S7b=function(a){r.call(this,a)};V(S7b,r);S7b.prototype.toObject=function(){return T7b(this)};var T7b=function(a){if(null!=a)return t(a),{isUnmetered:p(Db(a,1)),isCharging:p(Db(a,2)),autoTimeStatus:p(m(a,3)),isGooglerDevice:p(Db(a,4))}},U7b=[S7b,1,zq,2,zq,3,Nq,4,zq];S7b.prototype.serializeBinary=u(U7b);var V7b=function(a){r.call(this,a)};V(V7b,r);f=V7b.prototype;f.getSource=function(){return m(this,3)};f.setSource=function(a){return n(this,3,a)};f.hasSource=function(){return jj(this,3)};f.getSourceOrUndefined=function(){return eq(this,3)};f.toObject=function(){return W7b(this)};var W7b=function(a){if(null!=a)return t(a),{timeMs:p(m(a,1)),uptimeMs:p(m(a,2)),source:p(m(a,3))}},X7b=[V7b,1,pq,2,pq,3,Cq];V7b.prototype.serializeBinary=u(X7b);var Y7b=function(a){r.call(this,a)};V(Y7b,r);Y7b.prototype.toObject=function(){return Z7b(this)};var Z7b=function(a){if(null!=a)return t(a),{originAssociatedProductId:p(Cb(a,13))}},$7b=[Y7b,13,wq];Y7b.prototype.serializeBinary=u($7b);var a8b=function(a){r.call(this,a)};V(a8b,r);a8b.prototype.toObject=function(){return b8b(this)};var b8b=function(a){if(null!=a)return t(a),{prequest:Z7b(W(a,Y7b,2))}},c8b=[a8b,2,X,$7b];a8b.prototype.serializeBinary=u(c8b);var d8b=function(a){r.call(this,a)};V(d8b,r);d8b.prototype.toObject=function(){return e8b(this)};var e8b=function(a){if(null!=a)return t(a),{privacyContext:b8b(W(a,a8b,1)),productIdOrigin:Fh(a,2,0)}},f8b=[d8b,1,X,c8b,2,Nq];d8b.prototype.serializeBinary=u(f8b);var uA=function(a){r.call(this,a,19)};V(uA,r);f=uA.prototype;f.getClientInfo=function(){return W(this,qA,1)};f.getMutableClientInfo=function(){return Rp(this,qA,1)};f.setClientInfo=function(a){Oh(this,qA,1,a)};f.setLogSource=function(a){return n(this,2,a)};f.getQosTier=function(){return Fh(this,9,0)};var g8b={};uA.repeatedFields_=[3,5];
uA.prototype.toObject=function(){if(null!=this){t(this);var a={requestTimeMs:p(m(this,4)),requestUptimeMs:p(m(this,8)),clientInfo:x7b(this.getClientInfo()),logSource:Fh(this,2,-1),logSourceName:p(m(this,6)),zwiebackCookie:p(m(this,7)),logEventList:Mb(yg(this,tA,3),N7b),serializedLogEventsList:Qb(Pp(this,5)),logEventDroppedCount:p(m(this,14)),qosTier:Fh(this,9,0),scheduler:p(m(this,10)),deviceStatus:T7b(W(this,S7b,11)),externalTimestamp:W7b(W(this,V7b,12)),collectForDebug:Q7b(W(this,P7b,13)),appMobilespecId:p(Ra(m(this,
16))),complianceData:e8b(W(this,d8b,18))};Nb(this,a,g8b)}else a=void 0;return a};uA.prototype.serializeBinary=u([uA,{},4,mq,8,mq,1,X,y7b,2,Nq,6,Cq,7,Cq,3,Iq,O7b,5,sNb,14,pq,9,Nq,10,Nq,11,X,U7b,12,X,X7b,13,X,R7b,16,uNb,18,X,f8b]);var vA=function(a){r.call(this,a)};V(vA,r);vA.prototype.getId=function(a){return Zp(this,1,a)};vA.prototype.setId=function(a){return fb(this,1,a,void 0,Cg)};vA.repeatedFields_=[1];vA.prototype.toObject=function(){return h8b(this)};var h8b=function(a){if(null!=a)return t(a),{idList:p(Cg(a,1))}},i8b=[vA,1,Dq];vA.prototype.serializeBinary=u(i8b);var j8b=function(a){r.call(this,a)};V(j8b,r);j8b.prototype.toObject=function(){return k8b(this)};var k8b=function(a){if(null!=a)return t(a),{logRequestIndex:p(Cb(a,1)),responseAction:p(m(a,2))}},l8b=[j8b,1,wq,2,Nq];j8b.prototype.serializeBinary=u(l8b);var wA=function(a){r.call(this,a)};V(wA,r);wA.repeatedFields_=[1];wA.prototype.toObject=function(){return m8b(this)};var m8b=function(a){if(null!=a)return t(a),{logSourceNameList:p(Cg(a,1))}},n8b=[wA,1,Dq];wA.prototype.serializeBinary=u(n8b);var xA=function(a){r.call(this,a)};V(xA,r);xA.prototype.getQosTier=function(){return m(this,2)};xA.prototype.setLogSource=function(a){return n(this,3,a)};xA.prototype.toObject=function(){return o8b(this)};var o8b=function(a){if(null!=a)return t(a),{logSourceName:p(m(a,1)),qosTier:p(m(a,2)),logSource:Fh(a,3,-1)}},p8b=[xA,1,Cq,2,Nq,3,Nq];xA.prototype.serializeBinary=u(p8b);var yA=function(a){r.call(this,a)};V(yA,r);yA.repeatedFields_=[1];yA.prototype.toObject=function(){return q8b(this)};var q8b=function(a){if(null!=a)return t(a),{qosTierConfigurationList:Mb(yg(a,xA,1),o8b),qosTierFingerprint:p(m(a,2))}},r8b=[yA,1,Iq,p8b,2,pq];yA.prototype.serializeBinary=u(r8b);var zA=function(a){r.call(this,a,6)};V(zA,r);zA.prototype.getExperiments=function(){return W(this,vA,2)};zA.prototype.setExperiments=function(a){Oh(this,vA,2,a)};zA.prototype.hasExperiments=function(){return qi(this,vA,2)};zA.prototype.getQosTier=function(){return W(this,yA,3)};var s8b={},t8b={};zA.repeatedFields_=[5];
zA.prototype.toObject=function(){if(null!=this){t(this);var a={nextRequestWaitMillis:lh(this,1,"-1"),experiments:h8b(this.getExperiments()),qosTier:q8b(this.getQosTier()),logSourceBatchingDenylist:m8b(W(this,wA,4)),logResponseDetailsList:Mb(yg(this,j8b,5),k8b)};Nb(this,a,s8b)}else a=void 0;return a};zA.prototype.serializeBinary=u([zA,t8b,1,mq,2,X,i8b,3,X,r8b,4,X,n8b,5,Iq,l8b]);var u8b=function(a){r.call(this,a)};V(u8b,r);u8b.prototype.toObject=function(){return v8b(this)};var v8b=function(a){if(null!=a)return t(a),{suggestedFlushIntervalMillis:Ag(a,1,-1)}},w8b=[u8b,1,wq];u8b.prototype.serializeBinary=u(w8b);var x8b=Lb(175237375,{jsExtension:0},u8b,v8b);t8b[175237375]=gq(Hq,w8b);s8b[175237375]=x8b;var BA=function(a,b,c,d,e,g,h,l,q,v,y){Im.call(this);var B=this;this.componentId="";this.pendingEvents_=[];this.lastFailedAuth="";this.useGetRequestForFinalFlush=this.useSendBeaconForFinalFlush=this.clientSideLogOnlyForDevelopment=!1;this.noFlushUntilMs=this.startWaitingMs=-1;this.useConsistentTimezoneOffset=this.clientSpecifiedFlushInterval=!1;this.gzipCompressor=this.experimentIds_=null;this.numRetriesSinceLastSuccessfulFlush=this.numLogsDroppedSinceLastFlush=0;this.sequencePosition=1;this.timeoutMillis=
0;this.sendBeaconApiEnabled=!1;Im.call(this);this.logSource=a;this.getAuthHeaderValue=b||function(){};this.logRequestBuilder=new AA(a,g);this.networkIOSend=d;this.network=y;this.bufferSize=1E3;this.uniformRandomFunction=Bp(T3b,0,1);this.clearcutUrl_=e||null;this.sessionIndex=c||null;this.disableAutomaticFlush=h||!1;this.pageId=q||null;this.logger=null;this.withCredentials=!l;this.isServiceWorkerScope=g||!1;this.isSendBeaconSupported=!this.isServiceWorkerScope&&(65<=oaa("Chromium")||45<=oaa("Firefox")||
12<=oaa("Safari")||ma()&&xaa())&&!!Ez()&&!!Ez().navigator&&!!Ez().navigator.sendBeacon;a=(new qA).setClientType(1);this.logRequestBuilder.setClientInfo(a);this.flushBackoff=new L5b(1E4);this.flushTimer=new Lz(this.flushBackoff.getValue());qz(this,this.flushTimer);v=y8b(this,v);Jm(this.flushTimer,"tick",v,!1,this);this.backupTimer=new Lz(6E5);qz(this,this.backupTimer);Jm(this.backupTimer,"tick",v,!1,this);this.disableAutomaticFlush||this.backupTimer.start();this.isServiceWorkerScope||(Jm(document,
"visibilitychange",function(){"hidden"===document.visibilityState&&B.finalFlush()}),Jm(document,"pagehide",this.finalFlush,!1,this))};V(BA,Im);var y8b=function(a,b){return b?function(){b().then(function(){a.flush()})}:function(){a.flush()}};BA.prototype.disposeInternal=function(){this.finalFlush();Im.prototype.disposeInternal.call(this)};BA.prototype.setClearcutUrl=function(a){this.clearcutUrl_=a};BA.prototype.setUseConsistentTimezoneOffset=function(a){this.useConsistentTimezoneOffset=a};
BA.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 CA=function(a,b){b instanceof tA?a.log(b):(b=K7b(new tA,b.serialize()),a.log(b))};f=BA.prototype;f.setClearcutClientInfo=function(a){this.logRequestBuilder.setClientInfo(a)};f.setComponentId=function(a){this.componentId=a};
f.setOpaqueExperimentIds=function(a){this.experimentIds_||(this.experimentIds_=new Zz);Oj(this.experimentIds_,2,a)};f.setClearExperimentIds=function(a){a?(this.experimentIds_||(this.experimentIds_=new Zz),a=a.serialize(),n(this.experimentIds_,4,a)):this.experimentIds_&&Qp(this.experimentIds_,4)};f.setClientSideLogOnlyForDevelopment=function(a){this.clientSideLogOnlyForDevelopment=a};f.setGzipCompressor=function(a){this.gzipCompressor=a};f.setBuildLabel=function(a){this.logRequestBuilder.setBuildLabel(a)};
f.setFlushIntervalMs=function(a){this.clientSpecifiedFlushInterval=!0;z8b(this,a)};var z8b=function(a,b){a.flushBackoff=new L5b(1>b?1:b);a.flushTimer.setInterval(a.flushBackoff.getValue())};
BA.prototype.log=function(a){a=a.clone();var b=this.sequencePosition++;a=n(a,21,b);this.componentId&&a.setComponentId(this.componentId);if(!m(a,1)){b=a;var c=Date.now().toString();n(b,1,c)}Aj(a,15)||n(a,15,(new Date).getTimezoneOffset()*(this.useConsistentTimezoneOffset?-60:60));for(this.experimentIds_&&a.setExperimentIds(this.experimentIds_.clone());this.pendingEvents_.length>=this.bufferSize;)this.pendingEvents_.shift(),++this.numLogsDroppedSinceLastFlush;this.pendingEvents_.push(a);this.dispatchEvent(new A8b(a));
this.disableAutomaticFlush||this.flushTimer.enabled||this.flushTimer.start()};
BA.prototype.flush=function(a,b){var c=this;if(0===this.pendingEvents_.length)a&&a();else if(this.sendBeaconApiEnabled)this.logRequestBuilder.setTransmissionType(3),B8b(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);d={};var g=this.getAuthHeaderValue();g&&(d.Authorization=
g);var h=this.getClearcutUrl();this.sessionIndex&&(d["X-Goog-AuthUser"]=this.sessionIndex,h=e6b(h,"authuser",this.sessionIndex));this.pageId&&(d["X-Goog-PageId"]=this.pageId,h=e6b(h,"pageId",this.pageId));if(g&&this.lastFailedAuth===g)b&&b("stale-auth-token");else if(this.pendingEvents_=[],this.flushTimer.enabled&&this.flushTimer.stop(),this.numLogsDroppedSinceLastFlush=0,this.clientSideLogOnlyForDevelopment)a&&a();else{var l=e.serialize(),q;this.gzipCompressor&&this.gzipCompressor.getHiddenPropertyName_()&&
(q=this.gzipCompressor.compress(l));var v={url:h,body:l,bodyType:1,requestHeaders:d,requestType:"POST",withCredentials:this.withCredentials,timeoutMillis:this.timeoutMillis},y=function(N){c.flushBackoff.reset();c.flushTimer.setInterval(c.flushBackoff.getValue());if(N){var Q=null;try{var Z=JSON.parse(N.replace(")]}'\n",""));Q=new zA(Z)}catch(Y){}Q&&(N=Number(lh(Q,1,"-1")),0<N&&(c.startWaitingMs=Date.now(),c.noFlushUntilMs=c.startWaitingMs+N),Q=Q.getExtension(x8b))&&(Q=Ag(Q,1,-1),-1!==Q&&(c.clientSpecifiedFlushInterval||
z8b(c,Q)))}a&&a();c.numRetriesSinceLastSuccessfulFlush=0},B=function(N,Q){var Z=yg(e,tA,3),Y=c.flushBackoff;Y.currBaseValue_=Math.min(3E5,2*Y.currBaseValue_);Y.currValue_=Math.min(3E5,Y.currBaseValue_+Math.round(.2*(Math.random()-.5)*Y.currBaseValue_));c.flushTimer.setInterval(c.flushBackoff.getValue());401===N&&g&&(c.lastFailedAuth=g);void 0===Q&&(Q=500<=N&&600>N||401===N||0===N);Q&&(c.pendingEvents_=Z.concat(c.pendingEvents_),c.disableAutomaticFlush||c.flushTimer.enabled||c.flushTimer.start());
b&&b("net-send-failed",N);++c.numRetriesSinceLastSuccessfulFlush},I=function(){c.network?c.network.send(v,y,B):c.networkIOSend(v,y,B)};q?q.then(function(N){v.requestHeaders["Content-Encoding"]="gzip";v.requestHeaders["Content-Type"]="application/binary";v.body=N;v.bodyType=2;I()},function(){I()}):I()}}}};
BA.prototype.finalFlush=function(){this.clientSideLogOnlyForDevelopment||(C8b(this.logRequestBuilder,!0),this.useSendBeaconForFinalFlush&&(this.logRequestBuilder.setTransmissionType(3),B8b(this)),this.useGetRequestForFinalFlush&&(this.logRequestBuilder.setTransmissionType(2),D8b(this)),this.flush(),C8b(this.logRequestBuilder,!1))};
var B8b=function(a){E8b(a,32,10,function(b,c){b=e6b(b,"format","json");var d=!1;try{d=Ez().navigator.sendBeacon(b,c.serialize())}catch(e){}a.sendBeaconApiEnabled&&!d&&(a.sendBeaconApiEnabled=!1);return d})},D8b=function(a){E8b(a,6,5,function(b,c){c=c.serialize();for(var d=[],e=0,g=0;g<c.length;g++){var h=c.charCodeAt(g);255<h&&(d[e++]=h&255,h>>=8);d[e++]=h}c=Oaa(d,3);b=$z(b,"format","base64json","p",c);if(15360<b.length)return!1;(new Image).src=b;return!0})},E8b=function(a,b,c,d){if(0!==a.pendingEvents_.length){var e=
a.getClearcutUrl();for(var g=e.search(g6b),h=0,l,q=[];0<=(l=f6b(e,h,"format",g));)q.push(e.substring(h,l)),h=Math.min(e.indexOf("&",l)+1||g,g);q.push(e.slice(h));e=q.join("").replace(i6b,"$1");e=$z(e,"auth",a.getAuthHeaderValue(),"authuser",a.sessionIndex||"0");for(g=0;g<c&&a.pendingEvents_.length;++g){h=a.pendingEvents_.slice(0,b);l=a.logRequestBuilder.build(h,a.numLogsDroppedSinceLastFlush,a.numRetriesSinceLastSuccessfulFlush);if(!d(e,l)){++a.numRetriesSinceLastSuccessfulFlush;break}a.numLogsDroppedSinceLastFlush=
0;a.numRetriesSinceLastSuccessfulFlush=0;a.pendingEvents_=a.pendingEvents_.slice(h.length)}a.flushTimer.enabled&&a.flushTimer.stop()}},A8b=function(){rz.call(this,"event-logged",void 0)};V(A8b,rz);var AA=function(a,b){this.isServiceWorkerScope=b=void 0===b?!1:b;this.uach=this.locale=null;this.logRequest=new uA;this.logRequest.setLogSource(a);b||(this.locale=document.documentElement.getAttribute("lang"));this.setClientInfo(new qA)};
AA.prototype.setLogSource=function(a){this.logRequest.setLogSource(a);return this};AA.prototype.setClientInfo=function(a){this.logRequest.setClientInfo(a);a.getClientType()||a.setClientType(1);this.isServiceWorkerScope||(a=this.getMutableJsClientInfo(),a.getLocale()||a.setLocale(this.locale));this.uach&&(a=this.getMutableJsClientInfo(),W(a,cA,9)||Oh(a,cA,9,this.uach))};AA.prototype.setBuildLabel=function(a){this.getMutableJsClientInfo().setBuildLabel(a)};
AA.prototype.setTransmissionType=function(a){qi(this.getMutableClientInfo(),dA,11)&&this.getMutableFlushInfo().setTransmissionType(a)};var C8b=function(a,b){qi(a.getMutableClientInfo(),dA,11)&&(a=a.getMutableFlushInfo(),xi(a,2,b))};AA.prototype.setRetryCount=function(a){qi(this.getMutableClientInfo(),dA,11)&&this.getMutableFlushInfo().setRetryCount(a)};AA.prototype.getMutableClientInfo=function(){return this.logRequest.getClientInfo()};
var F8b=function(a,b){var c=void 0===c?A6b:c;b(Ez(),c).then(function(d){a.uach=d;d=a.getMutableJsClientInfo();Oh(d,cA,9,a.uach);return!0}).catch(function(){return!1})};AA.prototype.getMutableJsClientInfo=function(){var a=this.getMutableClientInfo(),b=W(a,dA,11);b||(b=new dA,Oh(a,dA,11,b));return b};AA.prototype.getMutableFlushInfo=function(){var a=this.getMutableJsClientInfo(),b=W(a,bA,10);b||(b=new bA,xi(b,2,!1),Oh(a,bA,10,b));return b};
AA.prototype.build=function(a,b,c){b=void 0===b?0:b;this.setRetryCount(void 0===c?0:c);c=this.logRequest.clone();var d=Date.now().toString();c=n(c,4,d);a=Th(c,3,a);b&&n(a,14,b);return a};Cp(sra,ng);f=sra.prototype;f.setBuildLabel=function(a){this.buildLabel_=a};f.setGzipCompressor=function(a){this.gzipCompressor_=a};f.setComponentId=function(a){this.componentId_=a;return this};f.setClearExperimentIds=function(a){this.clearExperimentIds_=a};f.setOpaqueExperimentIds=function(a){this.opaqueExperimentIds_=a};f.setClearcutClientInfo=function(a){this.clearcutClientInfo_=a};f.useSendBeaconForFinalFlush=function(){this.useSendBeaconForFinalFlush_=!0;return this};
f.useGetRequestForFinalFlush=function(){this.useGetRequestForFinalFlush_=!0;return this};f.setFlushIntervalMs=function(a){this.flushIntervalMs_=Math.max(a,1E3)};f.setUseConsistentTimezoneOffset=function(a){this.useConsistentTimezoneOffset=a};
f.build=function(){var a=new BA(this.logSource_,this.getAuthHeaderValue_?this.getAuthHeaderValue_:Fm,this.sessionIndex_,this.networkIOSend_,this.destinationUrl_,this.enableServiceWorkerScope_,!1,this.disableWithCredentials_,void 0,void 0,this.network_?this.network_:void 0);qz(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.clearExperimentIds_&&a.setClearExperimentIds(this.clearExperimentIds_);this.opaqueExperimentIds_&&a.setOpaqueExperimentIds(this.opaqueExperimentIds_);this.useSendBeaconForFinalFlush_&&(a.useSendBeaconForFinalFlush=this.useSendBeaconForFinalFlush_&&a.isSendBeaconSupported);this.useGetRequestForFinalFlush_&&(a.useGetRequestForFinalFlush=this.useGetRequestForFinalFlush_);this.flushIntervalMs_&&a.setFlushIntervalMs(this.flushIntervalMs_);this.enableSendBeaconApi_&&(a.sendBeaconApiEnabled=a.isSendBeaconSupported);
this.userAgentClientHintsProvider_&&F8b(a.logRequestBuilder,this.userAgentClientHintsProvider_);this.useConsistentTimezoneOffset&&a.setUseConsistentTimezoneOffset(!0);return a};var G8b=function(a,b,c,d,e,g){a=void 0===a?-1:a;b=void 0===b?"":b;c=void 0===c?"":c;d=void 0===d?!1:d;e=void 0===e?"":e;ng.call(this);g?c=g:(g=(new sra(a,"0")).setComponentId(b),qz(this,g),""!=c&&(g.destinationUrl_=c),d&&(g.enableServiceWorkerScope_=!0),e&&g.setBuildLabel(e),c=g.build());this.logSource_=a;this.componentId_=b;this.transport_=c};V(G8b,ng);G8b.prototype.getComponentId=function(){return this.componentId_};
G8b.prototype.flush=function(a){a=a||[];if(a.length){for(var b=new Yz,c=[],d=0;d<a.length;d++){var e=a[d],g=e;var h=new Wz;h=n(h,1,g.metricName_);for(var l=g,q=[],v=0;v<l.fields_.length;v++)q.push(l.fields_[v].field_name);h=uh(h,3,q);l=[];q=[];v=k(g.cellMap_.keys());for(var y=v.next();!y.done;y=v.next())q.push(y.value.split(","));for(v=0;v<q.length;v++){y=q[v];var B=g.cellType_;for(var I=g.getCells(y)||[],N=[],Q=0;Q<I.length;Q++){var Z=I[Q];Z=Z&&Z.cellValue_;var Y=new Qz;switch(B){case 3:mm(Y,1,Rz,
Number(Z));break;case 2:mm(Y,2,Rz,Pa(Number(Z)))}N.push(Y)}B=N;for(I=0;I<B.length;I++){N=B[I];Q=new Sz;N=Oh(Q,Qz,2,N);Q=y;Z=[];Y=g;for(var ka=[],la=0;la<Y.fields_.length;la++)ka.push(Y.fields_[la].field_type);Y=ka;for(ka=0;ka<Y.length;ka++){la=Y[ka];var Da=Q[ka],za=new Mz;switch(la){case 3:mm(za,1,Nz,String(Da));break;case 2:mm(za,2,Nz,Number(Da));break;case 1:mm(za,3,Nz,Cba("true"==Da))}Z.push(za)}Th(N,1,Z);l.push(N)}}Th(h,4,l);c.push(h);e.clear()}Th(b,1,c);CA(this.transport_,b);this.transport_.flush()}};var H8b=new Hc("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(" ")}}),I8b=new Hc("STREAMZ_PRODUCT_IDENTIFIER"),J8b=new Hc("STREAMZ_ALLOWLIST_IDENTIFIER"),K8b=new Hc("one_developer_workflow.streamz_service",{providedIn:"root",factory:function(){return wc(te).runOutsideAngular(function(){var a=new G8b(1503);a=new U4b(a);a.flushInterval=1E4;a.flushTimer.setInterval(1E4);
return a})}}),DA=function(a,b,c,d,e){this.streamzService=a;this.zone=b;this.oneDeveloperWorkflowUsageMetrics=new X4b(this.streamzService);new Y4b(this.streamzService);new Z4b(this.streamzService);new $4b(this.streamzService);this.productIdentifier=d||window.location.hostname;this.productionAllowlist=c.map(e5b);this.allowlistIdentifier=d5b(null!=e?e:this.productIdentifier)};
DA.prototype.logUsageMetric=function(a,b){var c=this;this.zone.runOutsideAngular(function(){L8b(c)&&c.oneDeveloperWorkflowUsageMetrics.increment(a,c.productIdentifier,b)})};var L8b=function(a){return a.productionAllowlist.some(function(b){return a.allowlistIdentifier===b})};DA.\u0275fac=function(a){return new (a||DA)(w(K8b),w(te),w(H8b),w(I8b,8),w(J8b,8))};DA.\u0275prov=nc({token:DA,factory:DA.\u0275fac,providedIn:"root"});var M8b=new Hc("Feature Tooltip Controller Config");new Hc("TooltipAnchor");new Hc("TooltipPeventer");var N8b=Of("transformMenu",[Rf("void",Qf({opacity:0,transform:"scale(0.8)"})),Sf("void => enter",Pf("120ms cubic-bezier(0, 0, 0.2, 1)",Qf({opacity:1,transform:"scale(1)"}))),Sf("* => void",Pf("100ms 25ms linear",Qf({opacity:0})))]),O8b=Of("fadeInItems",[Rf("showing",Qf({opacity:1})),Sf("void => *",[Qf({opacity:0}),Pf("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])]);var P8b=new Hc("MatMenuContent"),EA=function(a,b,c,d,e,g,h){this._template=a;this._componentFactoryResolver=b;this._appRef=c;this._injector=d;this._viewContainerRef=e;this._document=g;this._changeDetectorRef=h;this._attached=new F.Subject};
EA.prototype.attach=function(a){a=void 0===a?{}:a;this._portal||(this._portal=new dw(this._template,this._viewContainerRef));this.detach();this._outlet||(this._outlet=new fw(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()};
EA.prototype.detach=function(){this._portal.isAttached&&this._portal.detach()};EA.prototype.ngOnDestroy=function(){this._outlet&&this._outlet.dispose()};EA.\u0275fac=function(a){return new (a||EA)(D(ef),D(Rt),D(Ju),D(Qt),D(ff),D(eg),D(Lu))};EA.\u0275dir=Cc({type:EA});var Q8b=new Hc("MAT_MENU_PANEL");var R8b=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],S8b=ig(jg(function(){})),FA=function(a,b,c,d,e){var g=S8b.call(this)||this;g._elementRef=a;g._document=b;g._focusMonitor=c;g._parentMenu=d;g._changeDetectorRef=e;g.role="menuitem";g._hovered=new F.Subject;g._focused=new F.Subject;g._highlighted=!1;g._triggersSubmenu=!1;var h;null==d||null==(h=d.addItem)||h.call(d,g);return g};V(FA,S8b);f=FA.prototype;
f.focus=function(a,b){this._focusMonitor&&a?$v(this._focusMonitor,this._getHostElement(),a,b):this._getHostElement().focus(b);this._focused.next(this)};f.ngAfterViewInit=function(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)};f.ngOnDestroy=function(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef);this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this);this._hovered.complete();this._focused.complete()};
f._getTabIndex=function(){return this.disabled?"-1":"0"};f._getHostElement=function(){return this._elementRef.nativeElement};f._checkDisabled=function(a){this.disabled&&(a.preventDefault(),a.stopPropagation())};f._handleMouseEnter=function(){this._hovered.next(this)};f.getLabel=function(){for(var a=this._elementRef.nativeElement.cloneNode(!0),b=a.querySelectorAll("mat-icon, .material-icons"),c=0;c<b.length;c++)b[c].remove();var d;return(null==(d=a.textContent)?void 0:d.trim())||""};
f._setHighlighted=function(a){this._highlighted=a;var b;null==(b=this._changeDetectorRef)||b.markForCheck()};f._setTriggersSubmenu=function(a){this._triggersSubmenu=a;var b;null==(b=this._changeDetectorRef)||b.markForCheck()};f._hasFocus=function(){return this._document&&this._document.activeElement===this._getHostElement()};FA.\u0275fac=function(a){return new (a||FA)(D(fd),D(eg),D(Zv),D(Q8b,8),D(Lu))};
FA.\u0275cmp=zc({type:FA,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-mdc-focus-indicator","mdc-list-item"],hostVars:8,hostBindings:function(a,b){a&1&&O("click",function(c){return b._checkDisabled(c)})("mouseenter",function(){return b._handleMouseEnter()});a&2&&(Ae("role",b.role)("tabindex",b._getTabIndex())("aria-disabled",b.disabled)("disabled",b.disabled||null),Ie("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:[xe],attrs:["mat-menu-item",""],ngContentSelectors:["mat-icon, [matMenuItemIcon]","*"],decls:5,vars:3,consts:[[1,"mdc-list-item__primary-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&&(Ne(R8b),Oe(0),H(1,"span",0),Oe(2,1),J(),K(3,"div",1),R(4,tra,2,0,"svg",2));a&2&&(C(3),G("matRippleDisabled",b.disableRipple||b.disabled)("matRippleTrigger",b._getHostElement()),C(1),G("ngIf",b._triggersSubmenu))},dependencies:[Tu,Zx],encapsulation:2,changeDetection:0});var T8b=0,U8b=new Hc("mat-menu-default-options",{providedIn:"root",factory:vra}),GA=function(a,b,c,d){this._elementRef=a;this._ngZone=b;this._changeDetectorRef=d;this._directDescendantItems=new mf;this._classList={};this._panelAnimationState="void";this._animationDone=new F.Subject;this.close=this.closed=new tu;this.panelId="mat-menu-panel-"+T8b++;this.overlayPanelClass=c.overlayPanelClass||"";this._xPosition=c.xPosition;this._yPosition=c.yPosition;this.backdropClass=c.backdropClass;this._overlapTrigger=
c.overlapTrigger;this._hasBackdrop=c.hasBackdrop};f=GA.prototype;f.ngOnInit=function(){this.setPositionClasses()};
f.ngAfterContentInit=function(){var a=this;this._updateDirectDescendants();this._keyManager=mx(D0b(jx(new px(this._directDescendantItems))));this._keyManager.tabOut.subscribe(function(){return a.closed.emit("tab")});this._directDescendantItems.changes.pipe(oe(this._directDescendantItems),pe(function(b){return F.merge.apply(null,Jc(b.map(function(c){return c._focused})))})).subscribe(function(b){return nx(a._keyManager,b)});this._directDescendantItems.changes.subscribe(function(b){var c=a._keyManager,
d;"enter"===a._panelAnimationState&&(null==(d=c.activeItem)?0:d._hasFocus())&&(b=b.toArray(),d=Math.max(0,Math.min(b.length-1,c.activeItemIndex||0)),b[d]&&!b[d].disabled?c.setActiveItem(d):c.setNextItemActive())})};f.ngOnDestroy=function(){var a;null==(a=this._keyManager)||a.destroy();this._directDescendantItems.destroy();this.closed.complete();var b;null==(b=this._firstItemFocusSubscription)||b.unsubscribe()};
f._hovered=function(){return this._directDescendantItems.changes.pipe(oe(this._directDescendantItems),pe(function(a){return F.merge.apply(null,Jc(a.map(function(b){return b._hovered})))}))};f.addItem=function(){};f.removeItem=function(){};
f._handleKeydown=function(a){var b=a.keyCode,c=this._keyManager;switch(b){case 27:If(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||G0b(c,"keyboard");c.onKeydown(a);return}a.stopPropagation()};
var V8b=function(a,b){b=void 0===b?"program":b;var c;null==(c=a._firstItemFocusSubscription)||c.unsubscribe();a._firstItemFocusSubscription=a._ngZone.onStable.pipe(ge()).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;G0b(e,b)._setActiveItemByIndex(0,1);!e.activeItem&&d&&d.focus()}})};f=GA.prototype;
f.setElevation=function(a){var b=this;a=this._elevationPrefix+Math.min(this._baseElevation+a,24);var c=Object.keys(this._classList).find(function(d){return d.startsWith(b._elevationPrefix)});c&&c!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[a]=!0,this._previousElevation=a)};
f.setPositionClasses=function(a,b){a=void 0===a?this.xPosition:a;b=void 0===b?this.yPosition:b;var c=this._classList;c["mat-menu-before"]="before"===a;c["mat-menu-after"]="after"===a;c["mat-menu-above"]="above"===b;c["mat-menu-below"]="below"===b;var d;null==(d=this._changeDetectorRef)||d.markForCheck()};f._startAnimation=function(){this._panelAnimationState="enter"};f._resetAnimation=function(){this._panelAnimationState="void"};
f._onAnimationDone=function(a){this._animationDone.next(a);this._isAnimating=!1};f._onAnimationStart=function(a){this._isAnimating=!0;"enter"===a.toState&&0===this._keyManager.activeItemIndex&&(a.element.scrollTop=0)};f._updateDirectDescendants=function(){var a=this;this._allItems.changes.pipe(oe(this._allItems)).subscribe(function(b){a._directDescendantItems.reset(b.filter(function(c){return c._parentMenu===a}));gf(a._directDescendantItems)})};
gg.Object.defineProperties(GA.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=Ef(a)}},hasBackdrop:{configurable:!0,enumerable:!0,
get:function(){return this._hasBackdrop},set:function(a){this._hasBackdrop=Ef(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}}});
GA.\u0275fac=function(a){return new (a||GA)(D(fd),D(te),D(U8b),D(Lu))};
GA.\u0275dir=Cc({type:GA,contentQueries:function(a,b,c){a&1&&(kf(c,P8b,5),kf(c,FA,5),kf(c,FA,4));if(a&2){var d;hf(d=lf())&&(b.lazyContent=d.first);hf(d=lf())&&(b._allItems=d);hf(d=lf())&&(b.items=d)}},viewQuery:function(a,b){a&1&&jf(ef,5);if(a&2){var c;hf(c=lf())&&(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 HA=function(a,b,c,d){GA.call(this,a,b,c,d);this._elevationPrefix="mat-elevation-z";this._baseElevation=8};V(HA,GA);HA.\u0275dir=GA.\u0275dir;HA.\u0275fac=function(a){return new (a||HA)(D(fd),D(te),D(U8b),D(Lu))};
HA.\u0275cmp=zc({type:HA,selectors:[["mat-menu"]],hostAttrs:["ngSkipHydration",""],hostVars:3,hostBindings:function(a){a&2&&Ae("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[Xe([{provide:Q8b,useExisting:HA}]),xe],ngContentSelectors:["*"],decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mdc-menu-surface","mdc-menu-surface--open","mat-mdc-elevation-specific",3,"id","ngClass","keydown","click"],[1,"mat-mdc-menu-content",
"mdc-list"]],template:function(a){a&1&&(Ne(),R(0,ura,3,6,"ng-template"))},dependencies:[Ru],styles:['.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}.mdc-menu-surface{max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:var(--mdc-menu-max-height, calc(100vh - 32px));z-index:8;border-radius:var(--mdc-shape-medium, 4px)}mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-panel.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;position:relative}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item.mdc-list-item{align-items:center}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item .mat-icon{margin-right:16px}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:16px}.mat-mdc-menu-item .mdc-list-item__primary-text{white-space:normal}.mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n'],
encapsulation:2,data:{animation:[N8b,O8b]},changeDetection:0});var W8b=new Hc("mat-menu-scroll-strategy"),X8b={provide:W8b,deps:[Ox],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}},Y8b=Cf({passive:!0}),IA=function(a,b,c,d,e,g,h,l,q){var v=this;this._overlay=a;this._element=b;this._viewContainerRef=c;this._menuItemInstance=g;this._dir=h;this._focusMonitor=l;this._ngZone=q;this._overlayRef=null;this._menuOpen=!1;this._menuCloseSubscription=this._hoverSubscription=this._closingActionsSubscription=F.Subscription.EMPTY;this._changeDetectorRef=
wc(Lu);this._handleTouchStart=function(y){uoa(y)||(v._openedBy="touch")};this._openedBy=void 0;this.restoreFocus=!0;this.onMenuOpen=this.menuOpened=new tu;this.onMenuClose=this.menuClosed=new tu;this._scrollStrategy=d;this._parentMaterialMenu=e instanceof GA?e:void 0;b.nativeElement.addEventListener("touchstart",this._handleTouchStart,Y8b)};IA.prototype.ngAfterContentInit=function(){this._handleHover()};
IA.prototype.ngOnDestroy=function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null);this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Y8b);this._menuCloseSubscription.unsubscribe();this._closingActionsSubscription.unsubscribe();this._hoverSubscription.unsubscribe()};var KA=function(a){return!!(a._menuItemInstance&&a._parentMaterialMenu&&a.menu)};f=IA.prototype;
f.openMenu=function(){var a=this,b=this.menu;if(!this._menuOpen&&b){var c=this._createOverlay(b),d=c.getConfig(),e=d.positionStrategy;this._setPosition(b,e);d.hasBackdrop=null==b.hasBackdrop?!KA(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 GA&&(b._startAnimation(),b._directDescendantItems.changes.pipe(qe(b.close)).subscribe(function(){Z0b(c1b(e,
!1));c1b(e,!0)}))}};f.closeMenu=function(){var a;null==(a=this.menu)||a.close.emit()};f.focus=function(a,b){this._focusMonitor&&a?$v(this._focusMonitor,this._element,a,b):this._element.nativeElement.focus(b)};f.updatePosition=function(){var a;null==(a=this._overlayRef)||a.updatePosition()};
f._destroyMenu=function(a){var b=this;if(this._overlayRef&&this.menuOpen){var c=this.menu;this._closingActionsSubscription.unsubscribe();this._overlayRef.detach();!this.restoreFocus||"keydown"!==a&&this._openedBy&&KA(this)||this.focus(this._openedBy);this._openedBy=void 0;if(c instanceof GA)c._resetAnimation(),c.lazyContent?c._animationDone.pipe(Zd(function(e){return"void"===e.toState}),ge(),qe(c.lazyContent._attached)).subscribe({next:function(){return c.lazyContent.detach()},complete:function(){return b._setIsMenuOpen(!1)}}):
this._setIsMenuOpen(!1);else{this._setIsMenuOpen(!1);var d;null==c||null==(d=c.lazyContent)||d.detach()}}};f._initMenu=function(a){a.parentMenu=KA(this)?this._parentMaterialMenu:void 0;a.direction=this.dir;this._setMenuElevation(a);V8b(a,this._openedBy||"program");this._setIsMenuOpen(!0)};f._setMenuElevation=function(a){if(a.setElevation){for(var b=0,c=a.parentMenu;c;)b++,c=c.parentMenu;a.setElevation(b)}};
f._setIsMenuOpen=function(a){a!==this._menuOpen&&((this._menuOpen=a)?this.menuOpened.emit():this.menuClosed.emit(),KA(this)&&this._menuItemInstance._setHighlighted(a),this._changeDetectorRef.markForCheck())};f._createOverlay=function(a){if(!this._overlayRef){var b=this._getOverlayConfig(a);this._subscribeToPositions(a,b.positionStrategy);this._overlayRef=this._overlay.create(b);this._overlayRef.keydownEvents().subscribe()}return this._overlayRef};
f._getOverlayConfig=function(a){return new Gx({positionStrategy:d1b(a1b(c1b(Nx(this._overlay.position(),this._element))),".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:a.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:a.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})};
f._subscribeToPositions=function(a,b){var c=this;a.setPositionClasses&&b.positionChanges.subscribe(function(d){var e="start"===d.connectionPair.overlayX?"after":"before",g="top"===d.connectionPair.overlayY?"below":"above";c._ngZone?c._ngZone.run(function(){return a.setPositionClasses(e,g)}):a.setPositionClasses(e,g)})};
f._setPosition=function(a,b){var c=k("before"===a.xPosition?["end","start"]:["start","end"]),d=c.next().value;c=c.next().value;var e=k("above"===a.yPosition?["bottom","top"]:["top","bottom"]),g=e.next().value;e=e.next().value;var h=k([g,e]),l=h.next().value;h=h.next().value;var q=k([d,c]),v=q.next().value;q=q.next().value;var y=0;KA(this)?(q=d="before"===a.xPosition?"start":"end",c=v="end"===d?"start":"end",this._parentMaterialMenu&&(null==this._parentInnerPadding&&(this._parentInnerPadding=(a=this._parentMaterialMenu.items.first)?
a._getHostElement().offsetTop:0),y="bottom"===g?this._parentInnerPadding:-this._parentInnerPadding)):a.overlapTrigger||(l="top"===g?"bottom":"top",h="top"===e?"bottom":"top");Jx(b,[{originX:d,originY:l,overlayX:v,overlayY:g,offsetY:y},{originX:c,originY:l,overlayX:q,overlayY:g,offsetY:y},{originX:d,originY:h,overlayX:v,overlayY:e,offsetY:-y},{originX:c,originY:h,overlayX:q,overlayY:e,offsetY:-y}])};
f._menuClosingActions=function(){var a=this,b=this._overlayRef.backdropClick(),c=this._overlayRef._detachments,d=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,F.of)(),e=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(Zd(function(g){return g!==a._menuItemInstance}),Zd(function(){return a._menuOpen})):(0,F.of)();return(0,F.merge)(b,d,e,c)};f._handleMousedown=function(a){toa(a)||(this._openedBy=0===a.button?"mouse":void 0,KA(this)&&a.preventDefault())};
f._handleKeydown=function(a){a=a.keyCode;if(13===a||32===a)this._openedBy="keyboard";KA(this)&&(39===a&&"ltr"===this.dir||37===a&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())};f._handleClick=function(a){KA(this)?(a.stopPropagation(),this.openMenu()):this._menuOpen?this.closeMenu():this.openMenu()};
f._handleHover=function(){var a=this;KA(this)&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(Zd(function(b){return b===a._menuItemInstance&&!b.disabled}),ee(0,F.asapScheduler)).subscribe(function(){a._openedBy="mouse";a.menu instanceof GA&&a.menu._isAnimating?a.menu._animationDone.pipe(ge(),ee(0,F.asapScheduler),qe(a._parentMaterialMenu._hovered())).subscribe(function(){return a.openMenu()}):a.openMenu()}))};
f._getPortal=function(a){this._portal&&this._portal.templateRef===a.templateRef||(this._portal=new dw(a.templateRef,this._viewContainerRef));return this._portal};
gg.Object.defineProperties(IA.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(KA(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"}}});IA.\u0275fac=function(a){return new (a||IA)(D(Ox),D(fd),D(ff),D(W8b),D(Q8b,8),D(FA,10),D(qx,8),D(Zv),D(te))};
IA.\u0275dir=Cc({type:IA,hostVars:3,hostBindings:function(a,b){a&1&&O("click",function(c){return b._handleClick(c)})("mousedown",function(c){return b._handleMousedown(c)})("keydown",function(c){return b._handleKeydown(c)});a&2&&Ae("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 LA=function(){IA.apply(this,arguments)};V(LA,IA);LA.\u0275fac=function(){var a;return function(b){return(a||(a=dd(LA)))(b||LA)}}();LA.\u0275dir=Cc({type:LA,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],exportAs:["matMenuTrigger"],features:[xe]});var MA=function(){EA.apply(this,arguments)};V(MA,EA);MA.\u0275fac=function(){var a;return function(b){return(a||(a=dd(MA)))(b||MA)}}();MA.\u0275dir=Cc({type:MA,selectors:[["ng-template","matMenuContent",""]],features:[Xe([{provide:P8b,useExisting:MA}]),xe]});var NA=function(){return FA.apply(this,arguments)||this};V(NA,FA);NA.\u0275fac=function(){var a;return function(b){return(a||(a=dd(NA)))(b||NA)}}();
NA.\u0275cmp=zc({type:NA,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:20,hostBindings:function(a,b){a&2&&(Ae("role",b.role)("tabindex",b._getTabIndex())("aria-disabled",b.disabled.toString())("disabled",b.disabled||null),Ie("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:[Xe([{provide:FA,useExisting:NA}]),xe],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&&(Ne(),Oe(0),K(1,"div",0),R(2,wra,2,0,"svg",1));a&2&&(C(1),G("matRippleDisabled",b.disableRipple||b.disabled)("matRippleTrigger",b._getHostElement()),C(1),G("ngIf",b._triggersSubmenu))},dependencies:[Tu,Zx],encapsulation:2,changeDetection:0});var OA=function(){IA.apply(this,arguments)};V(OA,IA);OA.\u0275fac=function(){var a;return function(b){return(a||(a=dd(OA)))(b||OA)}}();OA.\u0275dir=Cc({type:OA,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[xe]});var PA=function(a,b,c,d){GA.call(this,a,b,c,d);this._elevationPrefix="mat-elevation-z";this._baseElevation=4};V(PA,GA);PA.\u0275dir=GA.\u0275dir;PA.\u0275fac=function(a){return new (a||PA)(D(fd),D(te),D(U8b),D(Lu))};
PA.\u0275cmp=zc({type:PA,selectors:[["mat-menu"]],hostAttrs:["ngSkipHydration",""],hostVars:3,hostBindings:function(a){a&2&&Ae("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[Xe([{provide:Q8b,useExisting:PA}]),xe],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&&(Ne(),R(0,xra,3,6,"ng-template"))},dependencies:[Ru],
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:[N8b,O8b]},changeDetection:0});var QA=function(){};QA.\u0275fac=function(a){return new (a||QA)};QA.\u0275mod=Bc({type:QA});QA.\u0275inj=oc({providers:[X8b],imports:[gv,Sx,cy,Rx,Dx,Sx]});var Z8b=["tooltip"],$8b=new Hc("mat-tooltip-scroll-strategy"),a9b={provide:$8b,deps:[Ox],useFactory:function(a){return function(){return a.scrollStrategies.reposition({scrollThrottle:20})}}},b9b=new Hc("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),c9b=Cf({passive:!0}),RA=function(a,b,c,d,e,g,h,l,q,v,y,B){var I=this;this._overlay=a;this._elementRef=b;this._scrollDispatcher=c;this._viewContainerRef=d;this._ngZone=e;this._platform=
g;this._ariaDescriber=h;this._focusMonitor=l;this._dir=v;this._defaultOptions=y;this._position="below";this._pointerExitEventsInitialized=this._viewInitialized=this._disabled=this._positionAtOrigin=!1;this._viewportMargin=8;this._cssClassPrefix="mat";this.touchGestures="auto";this._message="";this._passiveListeners=[];this._destroyed=new F.Subject;this._scrollStrategy=q;this._document=B;y&&(this._showDelay=y.showDelay,this._hideDelay=y.hideDelay,y.position&&(this.position=y.position),y.positionAtOrigin&&
(this.positionAtOrigin=y.positionAtOrigin),y.touchGestures&&(this.touchGestures=y.touchGestures));v.change.pipe(qe(this._destroyed)).subscribe(function(){I._overlayRef&&I._updatePosition(I._overlayRef)})};f=RA.prototype;f.ngAfterViewInit=function(){var a=this;this._viewInitialized=!0;this._setupPointerEnterEventsIfNeeded();this._focusMonitor.monitor(this._elementRef).pipe(qe(this._destroyed)).subscribe(function(b){b?"keyboard"===b&&a._ngZone.run(function(){return a.show()}):a._ngZone.run(function(){return a.hide(0)})})};
f.ngOnDestroy=function(){var a=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout);this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null);this._passiveListeners.forEach(function(b){var c=k(b);b=c.next().value;c=c.next().value;a.removeEventListener(b,c,c9b)});this._passiveListeners.length=0;this._destroyed.next();this._destroyed.complete();x0b(this._ariaDescriber,a,this.message,"tooltip");this._focusMonitor.stopMonitoring(a)};
f.show=function(a,b){var c=this;a=void 0===a?this.showDelay:a;if(this.disabled||!this.message||this._isTooltipVisible()){var d;null==(d=this._tooltipInstance)||d._cancelPendingAnimations()}else b=this._createOverlay(b),this._detach(),this._portal=this._portal||new cw(this._tooltipComponent,this._viewContainerRef),b=this._tooltipInstance=b.attach(this._portal).instance,b._triggerElement=this._elementRef.nativeElement,b._mouseLeaveHideDelay=this._hideDelay,b._onHide.pipe(qe(this._destroyed)).subscribe(function(){return c._detach()}),
this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),b.show(a)};f.hide=function(a){a=void 0===a?this.hideDelay:a;var b=this._tooltipInstance;b&&(b.isVisible()?b.hide(a):(b._cancelPendingAnimations(),this._detach()))};f.toggle=function(a){this._isTooltipVisible()?this.hide():this.show(void 0,a)};f._isTooltipVisible=function(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()};
f._createOverlay=function(a){var b=this;if(this._overlayRef){var c=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!a)&&c._origin instanceof fd)return this._overlayRef;this._detach()}c=Q0b(this._scrollDispatcher,this._elementRef);a=$0b(Kx(Lx(d1b(Nx(this._overlay.position(),this.positionAtOrigin?a||this._elementRef:this._elementRef),"."+this._cssClassPrefix+"-tooltip"),!1),this._viewportMargin),c);a.positionChanges.pipe(qe(this._destroyed)).subscribe(function(e){b._updateCurrentPositionClass(e.connectionPair);
b._tooltipInstance&&e.scrollableViewProperties.isOverlayClipped&&b._tooltipInstance.isVisible()&&b._ngZone.run(function(){return b.hide(0)})});this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:a,panelClass:this._cssClassPrefix+"-tooltip-panel",scrollStrategy:this._scrollStrategy()});this._updatePosition(this._overlayRef);this._overlayRef._detachments.pipe(qe(this._destroyed)).subscribe(function(){return b._detach()});this._overlayRef.outsidePointerEvents().pipe(qe(this._destroyed)).subscribe(function(){var e;
return null==(e=b._tooltipInstance)?void 0:e._handleBodyInteraction()});this._overlayRef.keydownEvents().pipe(qe(this._destroyed)).subscribe(function(e){b._isTooltipVisible()&&27===e.keyCode&&!If(e)&&(e.preventDefault(),e.stopPropagation(),b._ngZone.run(function(){return b.hide(0)}))});var d;(null==(d=this._defaultOptions)?0:d.disableTooltipInteractivity)&&this._overlayRef.addPanelClass(this._cssClassPrefix+"-tooltip-panel-non-interactive");return this._overlayRef};
f._detach=function(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach();this._tooltipInstance=null};f._updatePosition=function(a){a=a.getConfig().positionStrategy;var b=this._getOrigin(),c=this._getOverlayPosition();Jx(a,[this._addOffset(Object.assign({},b.main,c.main)),this._addOffset(Object.assign({},b.fallback,c.fallback))])};f._addOffset=function(a){return a};
f._getOrigin=function(){var a=!this._dir||"ltr"==this._dir.value,b=this.position;if("above"==b||"below"==b)var c={originX:"center",originY:"above"==b?"top":"bottom"};else if("before"==b||"left"==b&&a||"right"==b&&!a)c={originX:"start",originY:"center"};else if("after"==b||"right"==b&&a||"left"==b&&!a)c={originX:"end",originY:"center"};a=this._invertPosition(c.originX,c.originY);return{main:c,fallback:{originX:a.x,originY:a.y}}};
f._getOverlayPosition=function(){var a=!this._dir||"ltr"==this._dir.value,b=this.position;if("above"==b)var c={overlayX:"center",overlayY:"bottom"};else if("below"==b)c={overlayX:"center",overlayY:"top"};else if("before"==b||"left"==b&&a||"right"==b&&!a)c={overlayX:"end",overlayY:"center"};else if("after"==b||"right"==b&&a||"left"==b&&!a)c={overlayX:"start",overlayY:"center"};a=this._invertPosition(c.overlayX,c.overlayY);return{main:c,fallback:{overlayX:a.x,overlayY:a.y}}};
f._updateTooltipMessage=function(){var a=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(ge(),qe(this._destroyed)).subscribe(function(){a._tooltipInstance&&a._overlayRef.updatePosition()}))};f._setTooltipClass=function(a){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=a,this._tooltipInstance._markForCheck())};
f._invertPosition=function(a,b){"above"===this.position||"below"===this.position?"top"===b?b="bottom":"bottom"===b&&(b="top"):"end"===a?a="start":"start"===a&&(a="end");return{x:a,y:b}};
f._updateCurrentPositionClass=function(a){var b=a.overlayY,c=a.originX;a=a.originY;b="center"===b?this._dir&&"rtl"===this._dir.value?"end"===c?"left":"right":"start"===c?"left":"right":"bottom"===b&&"top"===a?"above":"below";if(b!==this._currentPosition){if(c=this._overlayRef)a=this._cssClassPrefix+"-tooltip-panel-",c.removePanelClass(a+this._currentPosition),c.addPanelClass(a+b);this._currentPosition=b}};
f._setupPointerEnterEventsIfNeeded=function(){var a=this;!this._disabled&&this.message&&this._viewInitialized&&!this._passiveListeners.length&&(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",function(b){a._setupPointerExitEventsIfNeeded();var c=void 0;void 0!==b.x&&void 0!==b.y&&(c=b);a.show(void 0,c)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",function(b){var c,d=(b=null==(c=b.targetTouches)?void 0:
c[0])?{x:b.clientX,y:b.clientY}:void 0;a._setupPointerExitEventsIfNeeded();clearTimeout(a._touchstartTimeout);a._touchstartTimeout=setTimeout(function(){return a.show(void 0,d)},500)}])),this._addListeners(this._passiveListeners))};
f._setupPointerExitEventsIfNeeded=function(){var a=this;if(!this._pointerExitEventsInitialized){this._pointerExitEventsInitialized=!0;var b=[];if(this._platformSupportsMouseEvents())b.push(["mouseleave",function(d){d=d.relatedTarget;var e;d&&(null==(e=a._overlayRef)?0:e.overlayElement.contains(d))||a.hide()}],["wheel",function(d){return a._wheelListener(d)}]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();var c=function(){clearTimeout(a._touchstartTimeout);a.hide(a._defaultOptions.touchendHideDelay)};
b.push(["touchend",c],["touchcancel",c])}this._addListeners(b);this._passiveListeners.push.apply(this._passiveListeners,Jc(b))}};f._addListeners=function(a){var b=this;a.forEach(function(c){var d=k(c);c=d.next().value;d=d.next().value;b._elementRef.nativeElement.addEventListener(c,d,c9b)})};f._platformSupportsMouseEvents=function(){return!this._platform.IOS&&!this._platform.ANDROID};
f._wheelListener=function(a){if(this._isTooltipVisible()){a=this._document.elementFromPoint(a.clientX,a.clientY);var b=this._elementRef.nativeElement;a===b||b.contains(a)||this.hide()}};
f._disableNativeGesturesIfNecessary=function(){var a=this.touchGestures;if("off"!==a){var b=this._elementRef.nativeElement,c=b.style;if("on"===a||"INPUT"!==b.nodeName&&"TEXTAREA"!==b.nodeName)c.userSelect=c.msUserSelect=c.webkitUserSelect=c.MozUserSelect="none";"on"!==a&&b.draggable||(c.webkitUserDrag="none");c.touchAction="none";c.webkitTapHighlightColor="transparent"}};
gg.Object.defineProperties(RA.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=Ef(a);this._detach();this._overlayRef=null}},disabled:{configurable:!0,
enumerable:!0,get:function(){return this._disabled},set:function(a){(this._disabled=Ef(a))?this.hide(0):this._setupPointerEnterEventsIfNeeded()}},showDelay:{configurable:!0,enumerable:!0,get:function(){return this._showDelay},set:function(a){this._showDelay=Hf(a)}},hideDelay:{configurable:!0,enumerable:!0,get:function(){return this._hideDelay},set:function(a){this._hideDelay=Hf(a);this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}},message:{configurable:!0,enumerable:!0,
get:function(){return this._message},set:function(a){var b=this;x0b(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)}}});RA.\u0275fac=function(){kd()};
RA.\u0275dir=Cc({type:RA,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 TA=function(a,b,c,d,e,g,h,l,q,v,y,B){RA.call(this,a,b,c,d,e,g,h,l,q,v,y,B);this._tooltipComponent=SA;this._cssClassPrefix="mat-mdc";this._viewportMargin=8};V(TA,RA);TA.prototype._addOffset=function(a){var b=!this._dir||"ltr"==this._dir.value;"top"===a.originY?a.offsetY=-8:"bottom"===a.originY?a.offsetY=8:"start"===a.originX?a.offsetX=b?-8:8:"end"===a.originX&&(a.offsetX=b?8:-8);return a};
TA.\u0275fac=function(a){return new (a||TA)(D(Ox),D(fd),D(wx),D(ff),D(te),D(Sv),D(ex),D(Zv),D($8b),D(qx,8),D(b9b,8),D(eg))};TA.\u0275dir=Cc({type:TA,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(a,b){a&2&&Ie("mat-mdc-tooltip-disabled",b.disabled)},exportAs:["matTooltip"],features:[xe]});
var UA=function(a,b){this._changeDetectorRef=a;this._isVisible=this._closeOnInteraction=!1;this._onHide=new F.Subject;this._animationsDisabled="NoopAnimations"===b};f=UA.prototype;f.show=function(a){var b=this;null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId);this._showTimeoutId=setTimeout(function(){b._toggleVisibility(!0);b._showTimeoutId=void 0},a)};
f.hide=function(a){var b=this;null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId);this._hideTimeoutId=setTimeout(function(){b._toggleVisibility(!1);b._hideTimeoutId=void 0},a)};f.isVisible=function(){return this._isVisible};f.ngOnDestroy=function(){this._cancelPendingAnimations();this._onHide.complete();this._triggerElement=null};f._handleBodyInteraction=function(){this._closeOnInteraction&&this.hide(0)};f._markForCheck=function(){this._changeDetectorRef.markForCheck()};
f._handleMouseLeave=function(a){(a=a.relatedTarget)&&this._triggerElement.contains(a)||(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))};f._onShow=function(){};f._handleAnimationEnd=function(a){a=a.animationName;a!==this._showAnimation&&a!==this._hideAnimation||this._finalizeAnimation(a===this._showAnimation)};
f._cancelPendingAnimations=function(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId);null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId);this._showTimeoutId=this._hideTimeoutId=void 0};f._finalizeAnimation=function(a){a?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()};
f._toggleVisibility=function(a){var b=this._tooltip.nativeElement,c=this._showAnimation,d=this._hideAnimation;b.classList.remove(a?d:c);b.classList.add(a?c:d);(this._isVisible=a)&&!this._animationsDisabled&&"function"===typeof getComputedStyle&&(c=getComputedStyle(b),"0s"===c.getPropertyValue("animation-duration")||"none"===c.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0);a&&this._onShow();this._animationsDisabled&&(b.classList.add("_mat-animation-noopable"),this._finalizeAnimation(a))};
UA.\u0275fac=function(a){return new (a||UA)(D(Lu),D(Tt,8))};UA.\u0275dir=Cc({type:UA});var SA=function(a,b,c){UA.call(this,a,c);this._elementRef=b;this._isMultiline=!1;this._showAnimation="mat-mdc-tooltip-show";this._hideAnimation="mat-mdc-tooltip-hide"};V(SA,UA);SA.\u0275dir=UA.\u0275dir;SA.prototype._onShow=function(){this._isMultiline=this._isTooltipMultiline();this._markForCheck()};
SA.prototype._isTooltipMultiline=function(){var a=this._elementRef.nativeElement.getBoundingClientRect();return 24<a.height&&200<=a.width};SA.\u0275fac=function(a){return new (a||SA)(D(Lu),D(fd),D(Tt,8))};
SA.\u0275cmp=zc({type:SA,selectors:[["mat-tooltip-component"]],viewQuery:function(a,b){a&1&&jf(Z8b,7);if(a&2){var c;hf(c=lf())&&(b._tooltip=c.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(a,b){a&1&&O("mouseleave",function(c){return b._handleMouseLeave(c)});a&2&&He("zoom",b.isVisible()?1:null)},features:[xe],decls:4,vars:4,consts:[[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"ngClass","animationend"],["tooltip",""],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],
template:function(a,b){a&1&&(H(0,"div",0,1),O("animationend",function(c){return b._handleAnimationEnd(c)}),H(2,"div",2),S(3),J()());a&2&&(Ie("mdc-tooltip--multiline",b._isMultiline),G("ngClass",b.tooltipClass),C(3),Ve(b.message))},dependencies:[Ru],styles:['.mdc-tooltip__surface{word-break:break-all;word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip--showing-transition .mdc-tooltip__surface-animation{transition:opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-tooltip--hide-transition .mdc-tooltip__surface-animation{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - (2 * 8px));margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - (2 * 8px));align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mat-mdc-tooltip{--mdc-plain-tooltip-container-shape:4px;--mdc-plain-tooltip-supporting-text-line-height:16px}.mat-mdc-tooltip .mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color)}.mat-mdc-tooltip .mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__caret-surface-top,.mat-mdc-tooltip .mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color)}.mat-mdc-tooltip .mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font);line-height:var(--mdc-plain-tooltip-supporting-text-line-height);font-size:var(--mdc-plain-tooltip-supporting-text-size);font-weight:var(--mdc-plain-tooltip-supporting-text-weight);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}\n'],
encapsulation:2,changeDetection:0});var VA=function(){};VA.\u0275fac=function(a){return new (a||VA)};VA.\u0275mod=Bc({type:VA});VA.\u0275inj=oc({providers:[a9b],imports:[dx,gv,Rx,Sx,Sx,Dx]});/*

 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 d9b=["tooltip"],XA=function(a,b,c,d,e,g,h,l,q,v,y,B){RA.call(this,a,b,c,d,e,g,h,l,q,v,y,B);this._tooltipComponent=WA};V(XA,RA);XA.\u0275fac=function(a){return new (a||XA)(D(Ox),D(fd),D(wx),D(ff),D(te),D(Sv),D(ex),D(Zv),D($8b),D(qx,8),D(b9b,8),D(eg))};XA.\u0275dir=Cc({type:XA,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],hostVars:2,hostBindings:function(a,b){a&2&&Ie("mat-tooltip-disabled",b.disabled)},exportAs:["matTooltip"],features:[xe]});
var WA=function(a,b,c){UA.call(this,a,c);this._showAnimation="mat-tooltip-show";this._hideAnimation="mat-tooltip-hide";this._isHandset=b.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)")};V(WA,UA);WA.\u0275dir=UA.\u0275dir;WA.\u0275fac=function(a){return new (a||WA)(D(Lu),D(Xw),D(Tt,8))};
WA.\u0275cmp=zc({type:WA,selectors:[["mat-tooltip-component"]],viewQuery:function(a,b){a&1&&jf(d9b,7);if(a&2){var c;hf(c=lf())&&(b._tooltip=c.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(a,b){a&1&&O("mouseleave",function(c){return b._handleMouseLeave(c)});a&2&&He("zoom",b.isVisible()?1:null)},features:[xe],decls:4,vars:6,consts:[[1,"mat-tooltip",3,"ngClass","animationend"],["tooltip",""]],template:function(a,b){a&1&&(H(0,"div",0,1),O("animationend",function(d){return b._handleAnimationEnd(d)}),
T(2,"async"),S(3),J());if(a&2){var c;Ie("mat-tooltip-handset",null==(c=U(2,4,b._isHandset))?null:c.matches);G("ngClass",b.tooltipClass);C(3);Ve(b.message)}},dependencies:[Ru,Zu],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 YA=function(){};YA.\u0275fac=function(a){return new (a||YA)};YA.\u0275mod=Bc({type:YA});YA.\u0275inj=oc({imports:[Sx,Sx]});var e9b=new Hc("g3cWidgetTaskManagementServicePromiseClient"),f9b=new Hc("g3cWidgetUserPrefsServicePromiseClient"),g9b=new Hc("g3cWidgetServiceConfig");var sg=function(a){r.call(this,a)};V(sg,r);f=sg.prototype;f.getYear=function(){return Ag(this,1)};f.setYear=function(a){return kb(this,1,a)};f.getMonth=function(){return Ag(this,2)};f.setMonth=function(a){return kb(this,2,a)};f.getDay=function(){return Ag(this,3)};f.toObject=function(){return ZA(this)};var ZA=function(a){if(null!=a)return t(a),{year:Ag(a,1),month:Ag(a,2),day:Ag(a,3)}},$A=[sg,1,yq,2,yq,3,yq];sg.prototype.serializeBinary=u($A);var aB=function(a){r.call(this,a)};V(aB,r);aB.prototype.getDueDate=function(){return Fi(this,sg,1,h9b)};var h9b=[1,2];aB.prototype.toObject=function(){return i9b(this)};var i9b=function(a){if(null!=a)return t(a),{dueDate:ZA(a.getDueDate()),dueTimeMs:p(bq(a,2,h9b)),dueType:Fh(a,3,0)}},j9b=[aB,1,Jq,$A,h9b,2,tq,h9b,3,Qq];aB.prototype.serializeBinary=u(j9b);var k9b=function(a){r.call(this,a)};V(k9b,r);k9b.prototype.toObject=function(){return l9b(this)};var l9b=function(a){if(null!=a)return t(a),{taskStatus:Fh(a,1,0)}},m9b=[k9b,1,Qq];k9b.prototype.serializeBinary=u(m9b);var fn=function(a){r.call(this,a)};V(fn,r);fn.prototype.getLabel=function(){return mh(this,1)};fn.prototype.setLabel=function(a){return mb(this,1,a)};fn.prototype.getApprovalStatus=function(){return Fh(this,2,0)};fn.prototype.getOwnersList=function(){return Cg(this,3)};fn.repeatedFields_=[3];fn.prototype.toObject=function(){return n9b(this)};var n9b=function(a){if(null!=a)return t(a),{label:mh(a,1),approvalStatus:Fh(a,2,0),ownersList:p(Cg(a,3))}},o9b=[fn,1,Eq,2,Qq,3,Dq];
fn.prototype.serializeBinary=u(o9b);var p9b=function(a){r.call(this,a)};V(p9b,r);f=p9b.prototype;f.getId=function(){return Wh(this,1)};f.setId=function(a){return lb(this,1,a)};f.getLabel=function(){return mh(this,2)};f.setLabel=function(a){return mb(this,2,a)};f.toObject=function(){return q9b(this)};var q9b=function(a){if(null!=a)return t(a),{id:Wh(a,1),label:mh(a,2)}},r9b=[p9b,1,sq,2,Eq];p9b.prototype.serializeBinary=u(r9b);var bB=function(a){r.call(this,a)};V(bB,r);f=bB.prototype;f.getId=function(){return Wh(this,2)};f.setId=function(a){return lb(this,2,a)};f.getLabel=function(){return mh(this,3)};f.setLabel=function(a){return mb(this,3,a)};f.toObject=function(){return s9b(this)};var s9b=function(a){if(null!=a)return t(a),{deprecated:vi(a,1),id:Wh(a,2),label:mh(a,3),helpText:mh(a,4)}},t9b=[bB,1,Aq,2,sq,3,Eq,4,Eq];bB.prototype.serializeBinary=u(t9b);var u9b=function(a){r.call(this,a)};V(u9b,r);u9b.prototype.toObject=function(){return v9b(this)};var v9b=function(a){if(null!=a)return t(a),{selectOptionId:Wh(a,1),fdlcPhase:Fh(a,2,0)}},w9b=[u9b,1,sq,2,Qq];u9b.prototype.serializeBinary=u(w9b);var cB=function(a){r.call(this,a)};V(cB,r);cB.repeatedFields_=[1];cB.prototype.toObject=function(){return x9b(this)};var x9b=function(a){if(null!=a)return t(a),{fdlcMapList:Mb(yg(a,u9b,1),v9b)}},y9b=[cB,1,Iq,w9b];cB.prototype.serializeBinary=u(y9b);var z9b=function(a){r.call(this,a)};V(z9b,r);f=z9b.prototype;f.getId=function(){return WMb(this,1)};f.setId=function(a){La(this);null!=a&&0!==+a?Za(this,1,a):dca(this,1);return this};f.getLabel=function(){return mh(this,2)};f.setLabel=function(a){return mb(this,2,a)};f.getTeamId=function(){return Wp(this,3)};f.setTeamId=function(a){return cb(this,3,a,0)};f.toObject=function(){return A9b(this)};
var A9b=function(a){if(null!=a)return t(a),{id:WMb(a,1),label:mh(a,2),teamId:Wp(a,3)}},B9b=[z9b,1,hNb,2,Eq,3,kNb];z9b.prototype.serializeBinary=u(B9b);var dB=function(a){r.call(this,a)};V(dB,r);f=dB.prototype;f.getId=function(){return Wh(this,1)};f.setId=function(a){return lb(this,1,a)};f.getLabel=function(){return mh(this,2)};f.setLabel=function(a){return mb(this,2,a)};f.getType=function(){return Fh(this,3,0)};f.setType=function(a){return Dh(this,3,a)};f.getOwner=function(){return vi(this,9)};f.setOwner=function(a){return jb(this,9,a)};f.getOptionsList=function(){return yg(this,bB,16)};f.setOptionsList=function(a){return Th(this,16,a)};
f.setOptions=function(a){Np(this,16,bB,a)};dB.repeatedFields_=[16];var C9b=[5,6],D9b=[20];dB.prototype.toObject=function(){return E9b(this)};
var E9b=function(a){if(null!=a)return t(a),{id:Wh(a,1),label:mh(a,2),type:Fh(a,3,0),helpText:mh(a,4),productArea:A9b(Fi(a,z9b,5,C9b)),approverDefinition:q9b(Fi(a,p9b,6,C9b)),doNotCopy:vi(a,7),pdaRelated:vi(a,8),owner:vi(a,9),mcrRelated:vi(a,10),eventsRelated:vi(a,11),brandingRelated:vi(a,12),securityRelated:vi(a,13),marketingPdaRelated:vi(a,14),alwaysEditable:vi(a,15),onlyConfigurableByAdmins:vi(a,17),isConfigurationAttribute:vi(a,18),emptySetNotValid:vi(a,19),optionsList:Mb(a.getOptionsList(),s9b),
singleSelectMetadata:x9b(Fi(a,cB,20,D9b))}},F9b=[dB,1,sq,2,Eq,3,Qq,4,Eq,5,Jq,B9b,C9b,6,Jq,r9b,C9b,7,Aq,8,Aq,9,Aq,10,Aq,11,Aq,12,Aq,13,Aq,14,Aq,15,Aq,17,Aq,18,Aq,19,Aq,16,Iq,t9b,20,Jq,y9b,D9b];dB.prototype.serializeBinary=u(F9b);var eB=function(a){r.call(this,a)};V(eB,r);eB.prototype.getTypeName=function(){return mh(this,1).split("/").pop()};eB.prototype.getValue=function(){var a=m(this,2);if(Array.isArray(a)||a instanceof r)throw Error("X");return si(this,2)};eB.prototype.setValue=function(a){if(null==a)a=this;else if(Array.isArray(a))a=n(this,2,qca(a));else if("string"===typeof a||a instanceof xa||Waa(a))a=UMb(this,2,a);else throw Error("Y`"+a);return a};eB.prototype.toObject=function(){return G9b(this)};
var G9b=function(a){if(null!=a)return t(a),{typeUrl:mh(a,1),value:tda(a)}},H9b=[eB,1,Eq,2,cNb];eB.prototype.serializeBinary=u(H9b);var fB=function(a){r.call(this,a)};V(fB,r);fB.prototype.getValue=function(){return W(this,eB,2)};fB.prototype.setValue=function(a){return Oh(this,eB,2,a)};fB.prototype.hasValue=function(){return qi(this,eB,2)};fB.prototype.toObject=function(){return I9b(this)};var I9b=function(a){if(null!=a)return t(a),{definition:E9b(W(a,dB,1)),value:G9b(a.getValue())}},J9b=[fB,1,X,F9b,2,X,H9b];fB.prototype.serializeBinary=u(J9b);var gB=function(a){r.call(this,a)};V(gB,r);gB.prototype.getYear=function(){return Ag(this,1)};gB.prototype.setYear=function(a){return kb(this,1,a)};gB.prototype.toObject=function(){return K9b(this)};var K9b=function(a){if(null!=a)return t(a),{year:Ag(a,1),number:Ag(a,2)}},L9b=[gB,1,yq,2,yq];gB.prototype.serializeBinary=u(L9b);var gn=function(a){r.call(this,a)};V(gn,r);var hn=[1,2,3];gn.prototype.toObject=function(){return M9b(this)};var M9b=function(a){if(null!=a)return t(a),{specificDate:ZA(Fi(a,sg,1,hn)),quarter:K9b(Fi(a,gB,2,hn)),toBeDetermined:p(Db(a,ym(a,hn,3)))}},N9b=[gn,1,Jq,$A,hn,2,Jq,L9b,hn,3,Bq,hn];gn.prototype.serializeBinary=u(N9b);var hB=function(a){r.call(this,a)};V(hB,r);f=hB.prototype;f.getDescription=function(){return mh(this,1)};f.setDescription=function(a){return mb(this,1,a)};f.getStatus=function(){return Fh(this,3,0)};f.setStatus=function(a){return Dh(this,3,a)};f.getVersion=function(){return Wh(this,5)};f.setVersion=function(a){return lb(this,5,a)};f.getOwnedByMe=function(){return vi(this,7)};f.setOwnedByMe=function(a){return jb(this,7,a)};hB.repeatedFields_=[4,6];hB.prototype.toObject=function(){return O9b(this)};
var O9b=function(a){if(null!=a)return t(a),{description:mh(a,1),launchDate:M9b(W(a,gn,2)),status:Fh(a,3,0),approversList:Mb(yg(a,fn,4),n9b),version:Wh(a,5),attributesList:Mb(yg(a,fB,6),I9b),ownedByMe:vi(a,7),needBitApprovalFromMe:vi(a,8),creatorEmail:mh(a,9)}},P9b=[hB,1,Eq,2,X,N9b,3,Qq,4,Iq,o9b,5,sq,6,Iq,J9b,7,Aq,8,Aq,9,Eq];hB.prototype.serializeBinary=u(P9b);var Q9b=function(a){r.call(this,a)};V(Q9b,r);f=Q9b.prototype;f.getContent=function(){return mh(this,1)};f.setContent=function(a){return mb(this,1,a)};f.getAuthorEmail=function(){return mh(this,2)};f.getCommentNumber=function(){return Ag(this,4)};f.setCommentNumber=function(a){return kb(this,4,a)};f.getFormattingMode=function(){return Fh(this,5,0)};f.setFormattingMode=function(a){return Dh(this,5,a)};f.toObject=function(){return R9b(this)};
var R9b=function(a){if(null!=a)return t(a),{content:mh(a,1),authorEmail:mh(a,2),modifiedTimestamp:Wh(a,3),commentNumber:Ag(a,4),formattingMode:Fh(a,5,0)}},S9b=[Q9b,1,Eq,2,Eq,3,sq,4,yq,5,Qq];Q9b.prototype.serializeBinary=u(S9b);var iB=function(a){r.call(this,a)};V(iB,r);iB.prototype.toObject=function(){return T9b(this)};var T9b=function(a){if(null!=a)return t(a),{startTimeMs:Wh(a,1),endTimeMs:Wh(a,2),targetTimeMs:Wh(a,3)}},U9b=[iB,1,sq,2,sq,3,sq];iB.prototype.serializeBinary=u(U9b);var jB=function(a){r.call(this,a)};V(jB,r);f=jB.prototype;f.getAssignmentBounds=function(){return W(this,iB,1)};f.setAssignmentBounds=function(a){Oh(this,iB,1,a)};f.hasAssignmentBounds=function(){return qi(this,iB,1)};f.getResponseBounds=function(){return W(this,iB,2)};f.setResponseBounds=function(a){Oh(this,iB,2,a)};f.hasResponseBounds=function(){return qi(this,iB,2)};f.getClosureBounds=function(){return W(this,iB,3)};f.setClosureBounds=function(a){Oh(this,iB,3,a)};
f.hasClosureBounds=function(){return qi(this,iB,3)};f.toObject=function(){return V9b(this)};var V9b=function(a){if(null!=a)return t(a),{assignmentBounds:T9b(a.getAssignmentBounds()),responseBounds:T9b(a.getResponseBounds()),closureBounds:T9b(a.getClosureBounds())}},W9b=[jB,1,X,U9b,2,X,U9b,3,X,U9b];jB.prototype.serializeBinary=u(W9b);var kB=function(a){r.call(this,a)};V(kB,r);kB.prototype.getAccessLevel=function(){return Fh(this,1,0)};kB.prototype.setAccessLevel=function(a){return Dh(this,1,a)};kB.prototype.toObject=function(){return X9b(this)};var X9b=function(a){if(null!=a)return t(a),{accessLevel:Fh(a,1,0)}},Y9b=[kB,1,Qq];kB.prototype.serializeBinary=u(Y9b);var lB=function(a){r.call(this,a)};V(lB,r);f=lB.prototype;f.getType=function(){return Fh(this,1,0)};f.setType=function(a){return Dh(this,1,a)};f.getPriority=function(){return Fh(this,2,0)};f.setPriority=function(a){return Dh(this,2,a)};f.getSeverity=function(){return Fh(this,3,0)};f.setSeverity=function(a){return Dh(this,3,a)};f.getStatus=function(){return Fh(this,4,0)};f.setStatus=function(a){return Dh(this,4,a)};f.getSloStatus=function(){return W(this,jB,20)};
f.setSloStatus=function(a){Oh(this,jB,20,a)};f.hasSloStatus=function(){return qi(this,jB,20)};f.getIsStarred=function(){return vi(this,8)};f.getComponentId=function(){return Wh(this,11)};f.setComponentId=function(a){return lb(this,11,a)};f.getVersion=function(){return Ag(this,16)};f.setVersion=function(a){return kb(this,16,a)};f.getAssignedToMe=function(){return vi(this,13)};f.getAccessLimit=function(){return W(this,kB,21)};f.setAccessLimit=function(a){return Oh(this,kB,21,a)};
f.getBlockingIssueIdsList=function(){return Wj(this,22)};f.getCommentsList=function(){return yg(this,Q9b,10)};lB.repeatedFields_=[7,22,10];lB.prototype.toObject=function(){return Z9b(this)};
var Z9b=function(a){if(null!=a)return t(a),{type:Fh(a,1,0),priority:Fh(a,2,0),severity:Fh(a,3,0),status:Fh(a,4,0),sloStatus:V9b(a.getSloStatus()),reporterEmail:mh(a,5),assigneeEmail:mh(a,6),verifierEmail:mh(a,14),ccEmailsList:p(Cg(a,7)),isStarred:vi(a,8),lastModifiedByUserEmail:mh(a,9),componentId:Wh(a,11),canonicalIssueId:Wh(a,18),version:Ag(a,16),majorModifiedTimestampMs:Wh(a,19),reportedByMe:vi(a,12),assignedToMe:vi(a,13),ccIncludesMe:vi(a,17),bugjugglerInCcList:vi(a,15),accessLimit:X9b(a.getAccessLimit()),
blockingIssueIdsList:p(Wj(a,22)),commentsList:Mb(a.getCommentsList(),R9b),isOwnedByMyTeams:vi(a,23)}},$9b=[lB,1,Qq,2,Qq,3,Qq,4,Qq,20,X,W9b,5,Eq,6,Eq,14,Eq,7,Dq,8,Aq,9,Eq,11,sq,18,sq,16,yq,19,sq,12,Aq,13,Aq,17,Aq,15,Aq,21,X,Y9b,22,rq,10,Iq,S9b,23,Aq];lB.prototype.serializeBinary=u($9b);var mB=function(a){r.call(this,a)};V(mB,r);mB.prototype.getType=function(){return Fh(this,1,0)};mB.prototype.setType=function(a){return Dh(this,1,a)};mB.prototype.getState=function(){return Fh(this,5,0)};mB.repeatedFields_=[3];mB.prototype.toObject=function(){return a$b(this)};var a$b=function(a){if(null!=a)return t(a),{type:Fh(a,1,0),approverEmailsList:p(Cg(a,3)),reasonMessage:mh(a,4),state:Fh(a,5,0)}},b$b=[mB,1,Qq,3,Dq,4,Eq,5,Qq];mB.prototype.serializeBinary=u(b$b);var nB=function(a){r.call(this,a)};V(nB,r);nB.prototype.getAuthorEmail=function(){return mh(this,3)};nB.prototype.getContent=function(){return mh(this,4)};nB.prototype.setContent=function(a){return mb(this,4,a)};nB.prototype.toObject=function(){return c$b(this)};var c$b=function(a){if(null!=a)return t(a),{publishTimestamp:Wh(a,2),authorEmail:mh(a,3),content:mh(a,4),resolved:vi(a,8)}},d$b=[nB,2,sq,3,Eq,4,Eq,8,Aq];nB.prototype.serializeBinary=u(d$b);var oB=function(a){r.call(this,a)};V(oB,r);f=oB.prototype;f.getAuthorEmail=function(){return mh(this,2)};f.getContent=function(){return mh(this,3)};f.setContent=function(a){return mb(this,3,a)};f.getRepliesList=function(){return yg(this,nB,5)};f.getExternalLink=function(){return mh(this,6)};oB.repeatedFields_=[5];oB.prototype.toObject=function(){return e$b(this)};
var e$b=function(a){if(null!=a)return t(a),{publishTimestamp:Wh(a,1),authorEmail:mh(a,2),content:mh(a,3),resolved:vi(a,4),repliesList:Mb(a.getRepliesList(),c$b),externalLink:mh(a,6)}},f$b=[oB,1,sq,2,Eq,3,Eq,4,Aq,5,Iq,d$b,6,Eq];oB.prototype.serializeBinary=u(f$b);var pB=function(a){r.call(this,a)};V(pB,r);f=pB.prototype;f.getDescription=function(){return mh(this,1)};f.setDescription=function(a){return mb(this,1,a)};f.getCategory=function(){return Fh(this,2,0)};f.getStatus=function(){return Fh(this,3,0)};f.setStatus=function(a){return Dh(this,3,a)};f.getIsStarred=function(){return vi(this,4)};f.getReviewerEmailsList=function(){return Cg(this,6)};f.getCommentsList=function(){return yg(this,oB,7)};f.getAuthorEmail=function(){return mh(this,10)};
f.getNeedsAttention=function(){return vi(this,12)};f.getChangeSize=function(){return Fh(this,18,0)};pB.repeatedFields_=[5,6,7,11,17,13,14];pB.prototype.toObject=function(){return g$b(this)};
var g$b=function(a){if(null!=a)return t(a),{description:mh(a,1),descriptionUsesMarkdown:vi(a,16),category:Fh(a,2,0),status:Fh(a,3,0),isStarred:vi(a,4),approvalStatesList:Mb(yg(a,mB,5),a$b),reviewerEmailsList:p(Cg(a,6)),commentsList:Mb(a.getCommentsList(),e$b),externalLinkToCider:mh(a,8),needsAttentionFromReviewer:vi(a,9),authorEmail:mh(a,10),isAuthorFromMyTeams:vi(a,19),ccEmailsList:p(Cg(a,11)),needsAttention:vi(a,12),attentionSetUsersList:p(Cg(a,17)),bugsList:p(Cg(a,13)),fixedBugsList:p(Cg(a,14)),
workspaceName:mh(a,15),changeSize:Fh(a,18,0)}},h$b=[pB,1,Eq,16,Aq,2,Qq,3,Qq,4,Aq,5,Iq,b$b,6,Dq,7,Iq,f$b,8,Eq,9,Aq,10,Eq,19,Aq,11,Dq,12,Aq,17,Dq,13,Dq,14,Dq,15,Eq,18,Qq];pB.prototype.serializeBinary=u(h$b);var qB=function(a){r.call(this,a)};V(qB,r);qB.prototype.getContent=function(){return mh(this,3)};qB.prototype.setContent=function(a){return mb(this,3,a)};qB.prototype.getExternalLink=function(){return mh(this,4)};qB.prototype.toObject=function(){return i$b(this)};var i$b=function(a){if(null!=a)return t(a),{authorDisplayName:mh(a,1),authorPhotoLink:mh(a,2),content:mh(a,3),externalLink:mh(a,4),modifiedTimestamp:Wh(a,5),action:Fh(a,6,0)}},j$b=[qB,1,Eq,2,Eq,3,Eq,4,Eq,5,sq,6,Qq];
qB.prototype.serializeBinary=u(j$b);var rB=function(a){r.call(this,a)};V(rB,r);f=rB.prototype;f.getCommentId=function(){return mh(this,1)};f.getAssignedToMe=function(){return vi(this,2)};f.getContent=function(){return mh(this,8)};f.setContent=function(a){return mb(this,8,a)};f.getExternalLink=function(){return mh(this,12)};f.getRepliesList=function(){return yg(this,qB,14)};f.getDueDate=function(){return W(this,sg,18)};rB.repeatedFields_=[14];rB.prototype.toObject=function(){return k$b(this)};
var k$b=function(a){if(null!=a)return t(a),{commentId:mh(a,1),assignedToMe:vi(a,2),mentioningMe:vi(a,3),isSuggestion:vi(a,4),commentStatus:Fh(a,5,0),authorDisplayName:mh(a,6),authorPhotoLink:mh(a,7),content:mh(a,8),prependQuotedContent:mh(a,9),quotedContent:mh(a,10),appendQuotedContent:mh(a,11),externalLink:mh(a,12),modifiedTimestamp:Wh(a,13),repliesList:Mb(a.getRepliesList(),i$b),isDocwrapComment:vi(a,15),assignedToMeTimestampMs:Wh(a,16),mentioningMeTimestampMs:Wh(a,17),dueDate:ZA(a.getDueDate())}},
l$b=[rB,1,Eq,2,Aq,3,Aq,4,Aq,5,Qq,6,Eq,7,Eq,8,Eq,9,Eq,10,Eq,11,Eq,12,Eq,13,sq,14,Iq,j$b,15,Aq,16,sq,17,sq,18,X,$A];rB.prototype.serializeBinary=u(l$b);var sB=function(a){r.call(this,a)};V(sB,r);f=sB.prototype;f.getCreatedTimestamp=function(){return Wh(this,1)};f.getOwnedByMe=function(){return vi(this,3)};f.setOwnedByMe=function(a){return jb(this,3,a)};f.getSharedToMe=function(){return vi(this,14)};f.getMimeType=function(){return mh(this,15)};f.setMimeType=function(a){mb(this,15,a)};f.getCommentsList=function(){return yg(this,rB,6)};f.getIsStarred=function(){return vi(this,9)};sB.repeatedFields_=[17,6];sB.prototype.toObject=function(){return m$b(this)};
var m$b=function(a){if(null!=a)return t(a),{createdTimestamp:Wh(a,1),createdByMe:vi(a,2),ownedByMe:vi(a,3),recentlySharedWithMe:vi(a,8),sharedWithMeTimestamp:Wh(a,4),sharedToMe:vi(a,14),sharedToMyGroups:vi(a,18),sharedToMyTeamDrive:vi(a,19),actionItemsChecksum:mh(a,5),mimeType:mh(a,15),teamDriveId:mh(a,16),parentIdsList:p(Cg(a,17)),openCommentsCount:Ag(a,21),commentsAssignedToMeCount:Ag(a,22),commentsMentioningMeCount:Ag(a,23),suggestionsCount:Ag(a,24),isDocwrapIncoming:vi(a,25),isDocwrapOutgoing:vi(a,
26),commentsList:Mb(a.getCommentsList(),k$b),lastCommentedTimestamp:Wh(a,7),lastCommentedByGaiaId:Wh(a,20),isStarred:vi(a,9),ownerEmail:mh(a,10),creatorEmail:mh(a,11),lastModifiedByUserEmail:mh(a,12),lastCommentedByUserDisplayName:mh(a,13)}},n$b=[sB,1,sq,2,Aq,3,Aq,8,Aq,4,sq,14,Aq,18,Aq,19,Aq,5,Eq,15,Eq,16,Eq,17,Dq,21,yq,22,yq,23,yq,24,yq,25,Aq,26,Aq,6,Iq,l$b,7,sq,20,sq,9,Aq,10,Eq,11,Eq,12,Eq,13,Eq];sB.prototype.serializeBinary=u(n$b);var tB=function(a){r.call(this,a)};V(tB,r);tB.prototype.getTitle=function(){return mh(this,2)};tB.prototype.setTitle=function(a){return mb(this,2,a)};tB.prototype.toObject=function(){return o$b(this)};var o$b=function(a){if(null!=a)return t(a),{gtaskId:mh(a,1),title:mh(a,2),isCompleted:vi(a,3),details:mh(a,4),dueDateTimestamp:Wh(a,5)}},p$b=[tB,1,Eq,2,Eq,3,Aq,4,Eq,5,sq];tB.prototype.serializeBinary=u(p$b);var q$b=function(a){r.call(this,a)};V(q$b,r);f=q$b.prototype;f.getId=function(){return mh(this,1)};f.setId=function(a){return mb(this,1,a)};f.getTitle=function(){return mh(this,2)};f.setTitle=function(a){return mb(this,2,a)};f.toObject=function(){return r$b(this)};var r$b=function(a){if(null!=a)return t(a),{id:mh(a,1),title:mh(a,2)}},s$b=[q$b,1,Eq,2,Eq];q$b.prototype.serializeBinary=u(s$b);var uB=function(a){r.call(this,a)};V(uB,r);uB.prototype.getTaskList=function(){return W(this,q$b,8)};uB.repeatedFields_=[5];var t$b=[9,10];uB.prototype.toObject=function(){return u$b(this)};
var u$b=function(a){if(null!=a)return t(a),{isCompleted:vi(a,4),details:mh(a,1),dueDateTimestamp:Wh(a,2),emailLink:mh(a,3),subtasksList:Mb(yg(a,tB,5),o$b),isNewTask:vi(a,7),taskList:r$b(a.getTaskList()),sourceGroup:yUb(Fi(a,Gt,9,t$b)),sourceDocument:wUb(Fi(a,Ft,10,t$b))}},v$b=[uB,4,Aq,1,Eq,2,sq,3,Eq,5,Iq,p$b,7,Aq,8,X,s$b,9,Jq,zUb,t$b,10,Jq,xUb,t$b];uB.prototype.serializeBinary=u(v$b);var vB=function(a){r.call(this,a)};V(vB,r);vB.prototype.getParentId=function(){return Wh(this,11)};vB.prototype.setParentId=function(a){return lb(this,11,a)};vB.prototype.toObject=function(){return w$b(this)};
var w$b=function(a){if(null!=a)return t(a),{membershipId:Wh(a,1),childId:Wh(a,10),childName:mh(a,2),childEmail:mh(a,3),parentId:Wh(a,11),parentName:mh(a,4),parentEmail:mh(a,5),createTimeMs:Wh(a,6),expireTimeMs:Wh(a,7),membershipType:Fh(a,8,0),getEmail:vi(a,9)}},x$b=[vB,1,sq,10,sq,2,Eq,3,Eq,11,sq,4,Eq,5,Eq,6,sq,7,sq,8,Qq,9,Aq];vB.prototype.serializeBinary=u(x$b);var wB=function(a){r.call(this,a)};V(wB,r);wB.prototype.getMembership=function(){return Fi(this,vB,1,y$b)};var y$b=[1];wB.prototype.toObject=function(){return z$b(this)};var z$b=function(a){if(null!=a)return t(a),{membership:w$b(a.getMembership())}},A$b=[wB,1,Jq,x$b,y$b];wB.prototype.serializeBinary=u(A$b);var xB=function(a){r.call(this,a)};V(xB,r);xB.prototype.getState=function(){return Fh(this,1,0)};xB.prototype.toObject=function(){return B$b(this)};var B$b=function(a){if(null!=a)return t(a),{state:Fh(a,1,0),updaterId:Wh(a,2),updaterName:mh(a,3),updaterEmail:mh(a,4),updateTimeMs:Wh(a,5),updateReason:mh(a,6)}},C$b=[xB,1,Qq,2,sq,3,Eq,4,Eq,5,sq,6,Eq];xB.prototype.serializeBinary=u(C$b);var yB=function(a){r.call(this,a)};V(yB,r);yB.prototype.getOriginal=function(){return W(this,wB,2)};yB.prototype.getState=function(){return Fh(this,6,0)};yB.repeatedFields_=[7];yB.prototype.toObject=function(){return D$b(this)};var D$b=function(a){if(null!=a)return t(a),{upsert:z$b(W(a,wB,1)),original:z$b(a.getOriginal()),changeType:Fh(a,3,0),createTimeMs:Wh(a,4),state:Fh(a,6,0),proposalUpdatesList:Mb(yg(a,xB,7),B$b)}},E$b=[yB,1,X,A$b,2,X,A$b,3,Qq,4,sq,6,Qq,7,Iq,C$b];
yB.prototype.serializeBinary=u(E$b);var zB=function(a){r.call(this,a)};V(zB,r);zB.prototype.getResourceCase=function(){return rh(this,F$b)};zB.prototype.getMembership=function(){return Fi(this,vB,2,F$b)};var F$b=[1,2];zB.prototype.toObject=function(){return G$b(this)};var G$b=function(a){if(null!=a)return t(a),{proposal:D$b(Fi(a,yB,1,F$b)),membership:w$b(a.getMembership())}},H$b=[zB,1,Jq,E$b,F$b,2,Jq,x$b,F$b];zB.prototype.serializeBinary=u(H$b);var I$b=function(a){r.call(this,a)};V(I$b,r);f=I$b.prototype;f.getCommentId=function(){return mh(this,1)};f.getMessage=function(){return mh(this,2)};f.setMessage=function(a){mb(this,2,a)};f.getAuthorEmail=function(){return mh(this,3)};f.toObject=function(){return J$b(this)};var J$b=function(a){if(null!=a)return t(a),{commentId:mh(a,1),message:mh(a,2),authorEmail:mh(a,3),updatedTimeMs:Wh(a,4),unresolved:vi(a,5),inReplyTo:mh(a,6)}},K$b=[I$b,1,Eq,2,Eq,3,Eq,4,sq,5,Aq,6,Eq];
I$b.prototype.serializeBinary=u(K$b);var AB=function(a){r.call(this,a)};V(AB,r);AB.prototype.getValue=function(){return Ag(this,1)};AB.prototype.setValue=function(a){return kb(this,1,a)};AB.prototype.toObject=function(){return L$b(this)};var L$b=function(a){if(null!=a)return t(a),{value:Ag(a,1),voterEmail:mh(a,2)}},M$b=[AB,1,yq,2,Eq];AB.prototype.serializeBinary=u(M$b);var BB=function(a){r.call(this,a)};V(BB,r);BB.repeatedFields_=[2];BB.prototype.toObject=function(){return N$b(this)};var N$b=function(a){if(null!=a)return t(a),{labelName:mh(a,1),votesList:Mb(yg(a,AB,2),L$b),minVoteValue:Ag(a,3),maxVoteValue:Ag(a,4)}},O$b=[BB,1,Eq,2,Iq,M$b,3,yq,4,yq];BB.prototype.serializeBinary=u(O$b);var CB=function(a){r.call(this,a)};V(CB,r);f=CB.prototype;f.getDescription=function(){return mh(this,1)};f.setDescription=function(a){return mb(this,1,a)};f.getCategory=function(){return Fh(this,15,0)};f.getReviewerEmailsList=function(){return Cg(this,6)};f.getNeedsAttention=function(){return vi(this,18)};f.setHost=function(a){return mb(this,8,a)};f.getProject=function(){return mh(this,9)};f.setProject=function(a){mb(this,9,a)};f.getChangeSize=function(){return Fh(this,11,0)};
f.getIsStarred=function(){return vi(this,13)};f.getCommentsList=function(){return yg(this,I$b,14)};CB.repeatedFields_=[3,6,7,17,12,14];CB.prototype.toObject=function(){return P$b(this)};
var P$b=function(a){if(null!=a)return t(a),{description:mh(a,1),category:Fh(a,15,0),ownerEmail:mh(a,2),statusesList:p(Gj(a,3)),submittable:vi(a,4),assigneeEmail:mh(a,5),reviewerEmailsList:p(Cg(a,6)),ccEmailsList:p(Cg(a,7)),attentionSetEmailsList:p(Cg(a,17)),needsAttention:vi(a,18),host:mh(a,8),project:mh(a,9),branch:mh(a,10),changeSize:Fh(a,11,0),labelApprovalStatesList:Mb(yg(a,BB,12),N$b),isStarred:vi(a,13),commentsList:Mb(a.getCommentsList(),J$b),hostRepoBranchLink:mh(a,16)}},Q$b=[CB,1,Eq,15,Qq,
2,Eq,3,Pq,4,Aq,5,Eq,6,Dq,7,Dq,17,Dq,18,Aq,8,Eq,9,Eq,10,Eq,11,Qq,12,Iq,O$b,13,Aq,14,Iq,K$b,16,Eq];CB.prototype.serializeBinary=u(Q$b);var DB=function(a){r.call(this,a)};V(DB,r);DB.prototype.getDescription=function(){return mh(this,3)};DB.prototype.setDescription=function(a){return mb(this,3,a)};DB.prototype.toObject=function(){return R$b(this)};var R$b=function(a){if(null!=a)return t(a),{eventLogTimestamp:pr(W(a,ug,1)),updaterEmail:mh(a,2),description:mh(a,3)}},S$b=[DB,1,X,qr,2,Eq,3,Eq];DB.prototype.serializeBinary=u(S$b);var EB=function(a){r.call(this,a)};V(EB,r);EB.prototype.getEntriesList=function(){return yg(this,DB,1)};EB.repeatedFields_=[1];EB.prototype.toObject=function(){return T$b(this)};var T$b=function(a){if(null!=a)return t(a),{entriesList:Mb(a.getEntriesList(),R$b)}},U$b=[EB,1,Iq,S$b];EB.prototype.serializeBinary=u(U$b);var FB=function(a){r.call(this,a)};V(FB,r);f=FB.prototype;f.getDescription=function(){return mh(this,1)};f.setDescription=function(a){return mb(this,1,a)};f.getStatus=function(){return Fh(this,2,0)};f.setStatus=function(a){return Dh(this,2,a)};f.getPriority=function(){return Fh(this,3,0)};f.setPriority=function(a){return Dh(this,3,a)};f.getAssignedToMe=function(){return vi(this,10)};f.getDueDate=function(){return W(this,sg,13)};FB.repeatedFields_=[6];FB.prototype.toObject=function(){return V$b(this)};
var V$b=function(a){if(null!=a)return t(a),{description:mh(a,1),status:Fh(a,2,0),priority:Fh(a,3,0),assigneeEmail:mh(a,4),requesterEmail:mh(a,5),ccEmailsList:p(Cg(a,6)),ticketType:mh(a,7),worklog:T$b(W(a,EB,8)),requestedByMe:vi(a,9),assignedToMe:vi(a,10),myApprovalNeeded:vi(a,11),ccIncludesMe:vi(a,12),dueDate:ZA(a.getDueDate())}},W$b=[FB,1,Eq,2,Qq,3,Qq,4,Eq,5,Eq,6,Dq,7,Eq,8,X,U$b,9,Aq,10,Aq,11,Aq,12,Aq,13,X,$A];FB.prototype.serializeBinary=u(W$b);var GB=function(a){r.call(this,a)};V(GB,r);f=GB.prototype;f.getStatus=function(){return Fh(this,3,0)};f.setStatus=function(a){return Dh(this,3,a)};f.getPriority=function(){return Fh(this,4,0)};f.setPriority=function(a){return Dh(this,4,a)};f.getDescription=function(){return mh(this,10)};f.setDescription=function(a){return mb(this,10,a)};GB.repeatedFields_=[7,8,11];GB.prototype.toObject=function(){return X$b(this)};
var X$b=function(a){if(null!=a)return t(a),{productName:mh(a,1),productLink:mh(a,2),status:Fh(a,3,0),priority:Fh(a,4,0),resolveDeadline:pr(W(a,ug,5)),creatorEmail:mh(a,6),productEmailsList:p(Cg(a,7)),privacyEmailsList:p(Cg(a,8)),autoCreated:vi(a,9),description:mh(a,10),descriptionUsesMarkdown:vi(a,13),participantEmailsList:p(Cg(a,11)),bugId:Wh(a,12)}},Y$b=[GB,1,Eq,2,Eq,3,Qq,4,Qq,5,X,qr,6,Eq,7,Dq,8,Dq,9,Aq,10,Eq,13,Aq,11,Dq,12,sq];GB.prototype.serializeBinary=u(Y$b);var HB=function(a){r.call(this,a)};V(HB,r);HB.prototype.getResourceCase=function(){return rh(this,Z$b)};HB.prototype.getNeedsAttention=function(){return vi(this,5)};HB.repeatedFields_=[2];var Z$b=[101];HB.prototype.toObject=function(){return $$b(this)};var $$b=function(a){if(null!=a)return t(a),{ownerEmail:mh(a,1),attentionSetList:p(Cg(a,2)),taskStatus:Fh(a,3,0),referenceName:mh(a,4),needsAttention:vi(a,5),trackable:X$b(Fi(a,GB,101,Z$b))}},aac=[HB,1,Eq,2,Dq,3,Qq,4,Eq,5,Aq,101,Jq,Y$b,Z$b];
HB.prototype.serializeBinary=u(aac);var IB=function(a){r.call(this,a)};V(IB,r);f=IB.prototype;f.getResourceCase=function(){return rh(this,Sp)};f.getResourceId=function(){return mh(this,17)};f.setResourceId=function(a){mb(this,17,a)};f.getTitle=function(){return mh(this,2)};f.setTitle=function(a){return mb(this,2,a)};f.getLastModifiedTimestamp=function(){return Wh(this,3)};f.getIconName=function(){return mh(this,10)};f.getExternalLink=function(){return mh(this,16)};f.getIsDeleted=function(){return vi(this,19)};
f.setIsDeleted=function(a){jb(this,19,a)};var kn=function(a){return Fi(a,sB,5,Sp)},jn=function(a){return Fi(a,lB,6,Sp)},cn=function(a){return Fi(a,pB,8,Sp)},uYa=function(a){return Fi(a,hB,9,Sp)},Sp=[5,6,7,8,9,18,22,23,24];IB.prototype.toObject=function(){return bac(this)};
var bac=function(a){if(null!=a)return t(a),{resourceId:mh(a,17),taskSource:mh(a,1),title:mh(a,2),lastModifiedTimestamp:Wh(a,3),fingerprint:mh(a,4),iconName:mh(a,10),itemTypeName:mh(a,11),statusDescription:mh(a,12),latestAction:mh(a,13),latestActionTimestamp:Wh(a,14),latestActionByUserEmail:mh(a,20),hasDetails:vi(a,15),externalLink:mh(a,16),isDeleted:vi(a,19),driveResource:m$b(kn(a)),buganizerResource:Z9b(jn(a)),gtasksResource:u$b(Fi(a,uB,7,Sp)),critiqueResource:g$b(cn(a)),arianeResource:O9b(uYa(a)),
gerritResource:P$b(Fi(a,CB,18,Sp)),ganpatiResource:G$b(Fi(a,zB,22,Sp)),gutsResource:V$b(Fi(a,FB,23,Sp)),privacyResource:$$b(Fi(a,HB,24,Sp))}},cac=[IB,17,Eq,1,Eq,2,Eq,3,sq,4,Eq,10,Eq,11,Eq,12,Eq,13,Eq,14,sq,20,Eq,15,Aq,16,Eq,19,Aq,5,Jq,n$b,Sp,6,Jq,$9b,Sp,7,Jq,v$b,Sp,8,Jq,h$b,Sp,9,Jq,P9b,Sp,18,Jq,Q$b,Sp,22,Jq,H$b,Sp,23,Jq,W$b,Sp,24,Jq,aac,Sp];IB.prototype.serializeBinary=u(cac);var JB=function(a){r.call(this,a)};V(JB,r);f=JB.prototype;f.getName=function(){return mh(this,1)};f.setName=function(a){return mb(this,1,a)};f.getContent=function(){return mh(this,2)};f.setContent=function(a){return mb(this,2,a)};f.toObject=function(){return dac(this)};var dac=function(a){if(null!=a)return t(a),{name:mh(a,1),content:mh(a,2)}},eac=[JB,1,Eq,2,Eq];JB.prototype.serializeBinary=u(eac);var KB=function(a){r.call(this,a)};V(KB,r);f=KB.prototype;f.getResource=function(){return W(this,IB,6)};f.setResource=function(a){return Oh(this,IB,6,a)};f.getNote=function(){return W(this,JB,22)};f.hasNote=function(){return qi(this,JB,22)};f.getCreatedTimestamp=function(){return Wh(this,7)};f.getUpdatedTimestamp=function(){return Wh(this,8)};f.toObject=function(){return fac(this)};
var fac=function(a){if(null!=a)return t(a),{taskId:mh(a,1),gaiaId:Wh(a,2),taskStatus:Fh(a,3,0),naturallyCompleted:vi(a,4),hasNoActionItems:vi(a,24),naturallyCompletedDescription:mh(a,11),priorityOrder:Xh(a,5),priorityOrderReservedUpper:Xh(a,9),priorityOrderResetTimestampMs:Wh(a,16),currentStatusSince:Wh(a,10),currentStatusAutoUpdated:vi(a,17),resource:bac(a.getResource()),snoozeUntilMs:Wh(a,12),autoUnsnoozeOnUpdate:vi(a,18),prevStatusState:l9b(W(a,k9b,13)),note:dac(a.getNote()),readTimestampMs:Wh(a,
15),createdTimestamp:Wh(a,7),updatedTimestamp:Wh(a,8),manuallyAdded:vi(a,19),hasNote:vi(a,20),dueInfo:i9b(W(a,aB,23)),taskStatusRequiresAck:vi(a,25),taskStatusRequiresAckReason:mh(a,26)}},gac=[KB,1,Eq,2,sq,3,Qq,4,Aq,24,Aq,11,Eq,5,jq,9,jq,16,sq,10,sq,17,Aq,6,X,cac,12,sq,18,Aq,13,X,m9b,22,X,eac,15,sq,7,sq,8,sq,19,Aq,20,Aq,23,X,j9b,25,Aq,26,Eq];KB.prototype.serializeBinary=u(gac);var hac=function(a){r.call(this,a)};V(hac,r);hac.prototype.toObject=function(){return iac(this)};var iac=function(a){if(null!=a)return t(a),{autoArchiveInactive:Fh(a,1,0),launchDateAsDueDate:Fh(a,2,0)}},jac=[hac,1,Qq,2,Qq];hac.prototype.serializeBinary=u(jac);var kac=function(a){r.call(this,a)};V(kac,r);kac.prototype.toObject=function(){return lac(this)};var lac=function(a){if(null!=a)return t(a),{autoArchiveClosed:Fh(a,1,0),sloAsDueDate:Fh(a,2,0)}},mac=[kac,1,Qq,2,Qq];kac.prototype.serializeBinary=u(mac);var nac=function(a){r.call(this,a)};V(nac,r);nac.prototype.toObject=function(){return oac(this)};var oac=function(a){if(null!=a)return t(a),{autoArchiveSubmitted:Fh(a,1,0),dueAfterReceivingDays:Wh(a,2),dueDateEnabled:Fh(a,3,0)}},pac=[nac,1,Qq,2,sq,3,Qq];nac.prototype.serializeBinary=u(pac);var qac=function(a){r.call(this,a)};V(qac,r);qac.prototype.toObject=function(){return rac(this)};
var rac=function(a){if(null!=a)return t(a),{invitationUserAction:Fh(a,2,0),autoArchiveSelfOwnedAllResolved:Fh(a,3,0),autoArchiveOthersOwnedAllResolved:Fh(a,4,0),dueAfterMentionReceivingDays:Wh(a,5),dueAfterAssignmentReceivingDays:Wh(a,6),mentionDueDateEnabled:Fh(a,7,0),assignmentDueDateEnabled:Fh(a,8,0),dueAfterReceivingDays:Wh(a,9),dueDateEnabled:Fh(a,10,0)}},sac=[qac,2,Qq,3,Qq,4,Qq,5,sq,6,sq,7,Qq,8,Qq,9,sq,10,Qq];qac.prototype.serializeBinary=u(sac);var tac=function(a){r.call(this,a)};V(tac,r);tac.prototype.toObject=function(){return uac(this)};var uac=function(a){if(null!=a)return t(a),{invitationUserAction:Fh(a,1,0),unsnoozedTasks:Fh(a,2,0)}},vac=[tac,1,Qq,2,Qq];tac.prototype.serializeBinary=u(vac);var LB=function(a){r.call(this,a)};V(LB,r);LB.repeatedFields_=[4];LB.prototype.toObject=function(){return wac(this)};var wac=function(a){if(null!=a)return t(a),{invitationUserAction:Fh(a,1,0),autoArchiveCompleted:Fh(a,2,0),completeOnArchiveOrMute:Fh(a,3,0),gtaskTaskListIdsList:p(Cg(a,4))}},xac=[LB,1,Qq,2,Qq,3,Qq,4,Dq];LB.prototype.serializeBinary=u(xac);var yac=function(a){r.call(this,a)};V(yac,r);yac.prototype.toObject=function(){return zac(this)};var zac=function(a){if(null!=a)return t(a),{expirationAsDue:Fh(a,4,0),autoArchiveResolved:Fh(a,3,0)}},Aac=[yac,4,Qq,3,Qq];yac.prototype.serializeBinary=u(Aac);var MB=function(a){r.call(this,a)};V(MB,r);MB.repeatedFields_=[1];MB.prototype.toObject=function(){return Bac(this)};var Bac=function(a){if(null!=a)return t(a),{gerritHostsList:p(Cg(a,1)),autoArchiveSubmitted:Fh(a,2,0),invitationUserAction:Fh(a,3,0),dueAfterReceivingDays:Wh(a,4),dueDateEnabled:Fh(a,5,0)}},Cac=[MB,1,Dq,2,Qq,3,Qq,4,sq,5,Qq];MB.prototype.serializeBinary=u(Cac);var Dac=function(a){r.call(this,a)};V(Dac,r);Dac.prototype.toObject=function(){return Eac(this)};var Eac=function(a){if(null!=a)return t(a),{invitationUserAction:Fh(a,1,0),autoArchiveClosed:Fh(a,2,0),dueDateEnabled:Fh(a,3,0)}},Fac=[Dac,1,Qq,2,Qq,3,Qq];Dac.prototype.serializeBinary=u(Fac);var Gac=function(a){r.call(this,a)};V(Gac,r);Gac.prototype.toObject=function(){return Hac(this)};var Hac=function(a){if(null!=a)return t(a),{orderingOption:Fh(a,1,0),pinOverdueTasks:Fh(a,2,0),pinTasksDueInFiveDays:Fh(a,3,0)}},Iac=[Gac,1,Qq,2,Qq,3,Qq];Gac.prototype.serializeBinary=u(Iac);var Jac=function(a){r.call(this,a)};V(Jac,r);Jac.prototype.toObject=function(){return Kac(this)};var Kac=function(a){if(null!=a)return t(a),{autoArchiveClosed:Fh(a,1,0),trackableDueDateEnabled:Fh(a,2,0)}},Lac=[Jac,1,Qq,2,Qq];Jac.prototype.serializeBinary=u(Lac);var Mac=function(a){r.call(this,a)};V(Mac,r);Mac.prototype.toObject=function(){return Nac(this)};var Nac=function(a){if(null!=a)return t(a),{filterEnabled:vi(a,1),arianeLaunches:Fh(a,2,0),arianeReviews:Fh(a,3,0)}},Oac=[Mac,1,Aq,2,Qq,3,Qq];Mac.prototype.serializeBinary=u(Oac);var NB=function(a){r.call(this,a)};V(NB,r);NB.prototype.getAssignedToMe=function(){return vi(this,2)};NB.prototype.toObject=function(){return Pac(this)};var Pac=function(a){if(null!=a)return t(a),{filterEnabled:vi(a,1),assignedToMe:vi(a,2),reportedByMe:vi(a,3),ccIncludesMe:vi(a,6),bugjugglerInCcList:Fh(a,4,0),other:Fh(a,5,0)}},Qac=[NB,1,Aq,2,Aq,3,Aq,6,Aq,4,Qq,5,Qq];NB.prototype.serializeBinary=u(Qac);var Rac=function(a){r.call(this,a)};V(Rac,r);Rac.prototype.toObject=function(){return Sac(this)};var Sac=function(a){if(null!=a)return t(a),{filterEnabled:vi(a,1),outgoingReviews:vi(a,2),incomingReviews:vi(a,3),ccedReviews:vi(a,4),inAttentionSet:Fh(a,5,0),inPending:Fh(a,7,0),other:Fh(a,6,0)}},Tac=[Rac,1,Aq,2,Aq,3,Aq,4,Aq,5,Qq,7,Qq,6,Qq];Rac.prototype.serializeBinary=u(Tac);var OB=function(a){r.call(this,a)};V(OB,r);OB.prototype.getSharedToMe=function(){return Fh(this,12,0)};OB.prototype.toObject=function(){return Uac(this)};
var Uac=function(a){if(null!=a)return t(a),{filterEnabled:vi(a,1),includeDocs:vi(a,2),includeSlides:vi(a,3),includeSheets:vi(a,4),includeOtherTypes:vi(a,5),commentsWithMentions:vi(a,6),commentsWithAssignments:vi(a,7),commentsWithSuggestions:vi(a,8),filterBySharingAge:vi(a,9),maxSharingAgeInDays:Ag(a,10),openComments:vi(a,11),sharedToMe:Fh(a,12,0),sharedToMyGroups:Fh(a,13,0),sharedToMyTeamDrive:Fh(a,14,0),other:Fh(a,15,0),incomingDesignReview:Fh(a,16,0),outgoingDesignReview:Fh(a,17,0)}},Vac=[OB,1,
Aq,2,Aq,3,Aq,4,Aq,5,Aq,6,Aq,7,Aq,8,Aq,9,Aq,10,yq,11,Aq,12,Qq,13,Qq,14,Qq,15,Qq,16,Qq,17,Qq];OB.prototype.serializeBinary=u(Vac);var Wac=function(a){r.call(this,a)};V(Wac,r);Wac.prototype.toObject=function(){return Xac(this)};var Xac=function(a){if(null!=a)return t(a),{filterEnabled:vi(a,1)}},Yac=[Wac,1,Aq];Wac.prototype.serializeBinary=u(Yac);var Zac=function(a){r.call(this,a)};V(Zac,r);Zac.prototype.toObject=function(){return $ac(this)};var $ac=function(a){if(null!=a)return t(a),{filterEnabled:Fh(a,1,0)}},abc=[Zac,1,Qq];Zac.prototype.serializeBinary=u(abc);var bbc=function(a){r.call(this,a)};V(bbc,r);bbc.prototype.toObject=function(){return cbc(this)};var cbc=function(a){if(null!=a)return t(a),{filterEnabled:vi(a,1),outgoingReviews:Fh(a,2,0),incomingReviews:Fh(a,3,0),ccedReviews:Fh(a,4,0),inAttentionSet:Fh(a,5,0),other:Fh(a,6,0)}},dbc=[bbc,1,Aq,2,Qq,3,Qq,4,Qq,5,Qq,6,Qq];bbc.prototype.serializeBinary=u(dbc);var ebc=function(a){r.call(this,a)};V(ebc,r);ebc.prototype.toObject=function(){return fbc(this)};var fbc=function(a){if(null!=a)return t(a),{filterEnabled:Fh(a,1,0)}},gbc=[ebc,1,Qq];ebc.prototype.serializeBinary=u(gbc);var hbc=function(a){r.call(this,a)};V(hbc,r);hbc.prototype.toObject=function(){return ibc(this)};var ibc=function(a){if(null!=a)return t(a),{filterEnabled:Fh(a,1,0),inAttentionSet:Fh(a,2,0),other:Fh(a,3,0)}},jbc=[hbc,1,Qq,2,Qq,3,Qq];hbc.prototype.serializeBinary=u(jbc);var PB=function(a){r.call(this,a)};V(PB,r);PB.prototype.toObject=function(){return QB(this)};
var QB=function(a){if(null!=a)return t(a),{critiqueFilter:Sac(W(a,Rac,1)),driveFilter:Uac(W(a,OB,2)),buganizerFilter:Pac(W(a,NB,3)),arianeFilter:Nac(W(a,Mac,4)),gtasksFilter:Xac(W(a,Wac,5)),gerritFilter:cbc(W(a,bbc,7)),ganpatiFilter:$ac(W(a,Zac,8)),gutsFilter:fbc(W(a,ebc,10)),privacyFilter:ibc(W(a,hbc,11)),taskAgeInDays:Ag(a,6),showPrivateNoteOnly:Fh(a,9,0)}},RB=[PB,1,X,Tac,2,X,Vac,3,X,Qac,4,X,Oac,5,X,Yac,7,X,dbc,8,X,abc,10,X,gbc,11,X,jbc,6,yq,9,Qq];PB.prototype.serializeBinary=u(RB);var SB=function(a){r.call(this,a)};V(SB,r);SB.prototype.toObject=function(){return kbc(this)};
var kbc=function(a){if(null!=a){t(a);var b=mh(a,1),c=iac(W(a,hac,15)),d=lac(W(a,kac,16)),e=oac(W(a,nac,17)),g=rac(W(a,qac,3)),h=zac(W(a,yac,27)),l=Bac(W(a,MB,23)),q=wac(W(a,LB,4)),v=Eac(W(a,Dac,29)),y=Kac(W(a,Jac,32)),B=vi(a,5),I=vi(a,6),N=vi(a,7),Q=vi(a,8),Z=vi(a,24),Y=Fh(a,28,0),ka=vi(a,22),la=vi(a,9),Da=vi(a,30),za=Fh(a,31,0),Oa=QB(W(a,PB,10)),Va=QB(W(a,PB,11)),Ya=QB(W(a,PB,12)),Xb=QB(W(a,PB,13)),Bb=QB(W(a,PB,14)),db=mh(a,19),wa=Wh(a,20),Na=Wh(a,21);var Qa=Ii(a,25,Gac);return{mostRecentWorkspaceId:b,
arianeTaskPrefs:c,buganizerTaskPrefs:d,critiqueTaskPrefs:e,driveTaskPrefs:g,ganpatiTaskPrefs:h,gerritTaskPrefs:l,gtasksTaskPrefs:q,gutsTaskPrefs:v,privacyTaskPrefs:y,arianeEnabled:B,buganizerEnabled:I,critiqueEnabled:N,driveEnabled:Q,ganpatiEnabledDeprecated:Z,ganpatiEnabled:Y,gerritEnabled:ka,gtasksEnabled:la,gutsEnabled:Da,privacyEnabled:za,pinnedTaskFilter:Oa,inboxFilter:Va,snoozedTaskFilter:Ya,completedTaskFilter:Xb,dismissedTaskFilter:Bb,viewedLaunchVersion:db,hiringChipDismissedTimestampMs:wa,
latestVisitTimestampMs:Na,taskOrderingPrefsMap:Ob(Qa,Hac),g3NotificationsPrefs:uac(W(a,tac,26))}}},lbc=[SB,1,Eq,15,X,jac,16,X,mac,17,X,pac,3,X,sac,27,X,Aac,23,X,Cac,4,X,xac,29,X,Fac,32,X,Lac,5,Aq,6,Aq,7,Aq,8,Aq,24,Aq,28,Qq,22,Aq,9,Aq,30,Aq,31,Qq,10,X,RB,11,X,RB,12,X,RB,13,X,RB,14,X,RB,19,Eq,20,sq,21,sq,25,Sq,Iac,26,X,vac];SB.prototype.serializeBinary=u(lbc);var TB=function(a){r.call(this,a)};V(TB,r);TB.prototype.getCreatedTimestamp=function(){return Wh(this,3)};TB.prototype.getUpdatedTimestamp=function(){return Wh(this,4)};var mbc=[2];TB.prototype.toObject=function(){return nbc(this)};var nbc=function(a){if(null!=a)return t(a),{prefsId:mh(a,1),taskManagementPrefs:kbc(Fi(a,SB,2,mbc)),initialized:vi(a,5),createdTimestamp:Wh(a,3),updatedTimestamp:Wh(a,4)}},obc=[TB,1,Eq,2,Jq,lbc,mbc,5,Aq,3,sq,4,sq];TB.prototype.serializeBinary=u(obc);var Ph=function(a){r.call(this,a)};V(Ph,r);f=Ph.prototype;f.getId=function(){return mh(this,1)};f.setId=function(a){return mb(this,1,a)};f.getVersion=function(){return mh(this,2)};f.setVersion=function(a){return mb(this,2,a)};f.toObject=function(){return pbc(this)};var pbc=function(a){if(null!=a)return t(a),{id:mh(a,1),version:mh(a,2)}},qbc=[Ph,1,Eq,2,Eq];Ph.prototype.serializeBinary=u(qbc);var UB=function(a){r.call(this,a)};V(UB,r);UB.prototype.getName=function(){return mh(this,1)};UB.prototype.setName=function(a){return mb(this,1,a)};UB.prototype.toObject=function(){if(null!=this){t(this);var a={name:mh(this,1)}}else a=void 0;return a};UB.prototype.serializeBinary=u([UB,1,Eq]);var VB=function(a,b,c){var d=this;this.userPrefsApiPromiseClient=a;this.config=c;this.sessionIndex="0";(0,F.defer)(function(){var e=(new UB).setName("keys/2");return(0,F.from)(d.userPrefsApiPromiseClient.getUserPrefs(e,d.getHeaders()))}).pipe(E(function(e){return(e=Fi(e.getUserPrefs()||new TB,SB,2,mbc))?12096E5>=Date.now()-Wh(e,21):!1}),ne(1))};
VB.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:Fm([])||"","X-Goog-AuthUser":this.sessionIndex}};VB.\u0275fac=function(a){return new (a||VB)(w(f9b),w(e9b),w(g9b,8))};VB.\u0275prov=nc({token:VB,factory:VB.\u0275fac,providedIn:"root"});var WB=function(){};WB.\u0275fac=function(a){return new (a||WB)};WB.\u0275mod=Bc({type:WB});WB.\u0275inj=oc({imports:[cy,Sx,Sx]});var XB=function(){};XB.\u0275fac=function(a){return new (a||XB)};XB.\u0275mod=Bc({type:XB});XB.\u0275inj=oc({imports:[dx,kz,gv,oz,WB,YA,Rx,lz]});var rbc=function(a){r.call(this,a)};V(rbc,r);rbc.prototype.toObject=function(){if(null!=this){t(this);var a={}}else a=void 0;return a};rbc.prototype.serializeBinary=u([rbc]);var sbc=function(a,b,c){this.requestMessage_=a;this.methodDescriptor_=b;this.metadata_=c};sbc.prototype.getMethodDescriptor=function(){return this.methodDescriptor_};sbc.prototype.getMetadata=function(){return this.metadata_};var tbc=function(a,b,c){c=void 0===c?{}:c;this.responseMessage_=a;this.metadata_=c;this.methodDescriptor_=b;this.status_=null};tbc.prototype.getMetadata=function(){return this.metadata_};tbc.prototype.getMethodDescriptor=function(){return this.methodDescriptor_};tbc.prototype.getStatus=function(){return this.status_};var YB=function(a,b,c,d,e){this.name=a;this.requestType=b;this.responseType=c;this.requestSerializeFn=d;this.responseDeserializeFn=e},ubc=function(a,b,c){c=void 0===c?{}:c;return new sbc(b,a,c)};YB.prototype.getName=function(){return this.name};YB.prototype.getName=YB.prototype.getName;var vbc=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}},wbc=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 ZB=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};V(ZB,Error);ZB.prototype.toString=function(){var a="RpcError("+(wbc(this.code)||String(this.code))+")";this.message&&(a+=": "+this.message);return a};ZB.prototype.name="RpcError";var xbc=Promise;var $B=function(a){r.call(this,a)};V($B,r);$B.prototype.getCode=function(){return Ag(this,1)};$B.prototype.setCode=function(a){return kb(this,1,a)};$B.prototype.getMessage=function(){return mh(this,2)};$B.prototype.setMessage=function(a){mb(this,2,a)};var ybc=Sb($B);$B.repeatedFields_=[3];$B.prototype.toObject=function(){return zbc(this)};var zbc=function(a){if(null!=a)return t(a),{code:Ag(a,1),message:mh(a,2),detailsList:Mb(yg(a,eB,3),G9b)}},Abc=[$B,1,yq,2,Eq,3,Iq,H9b];
$B.prototype.serializeBinary=u(Abc);var aC=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_&&Bbc(this)},Hbc=function(a,b){Jm(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("Ib");c=atob(c)}try{var d=
a.grpcResponseDeserializeFn_(c)}catch(g){Cbc(a,new ZB(13,"Error when deserializing response data; error: "+g+(", response: "+c)));return}c=vbc(a.xhr_.getStatus());Dbc(a,Ebc(a));0==c?Fbc(a,d):Cbc(a,new ZB(c,"Xhr succeeded but the status code is not 200"))}else{d=a.xhr_.getResponseText();var e={};d?(e=Gbc(a,d),d=e.code,c=e.details,e=e.metadata):(d=2,c="Rpc failed due to xhr error. error code: "+a.xhr_.getLastErrorCode()+", error: "+a.xhr_.getLastError());Dbc(a,Ebc(a));Cbc(a,new ZB(d,c,e))}})},Bbc=function(a){a.xhrNodeReadableStream_.on("data",
function(b){if("1"in b){var c=b["1"];try{var d=a.grpcResponseDeserializeFn_(c)}catch(e){Cbc(a,new ZB(13,"Error when deserializing response data; error: "+e+(", response: "+c)))}d&&Fbc(a,d)}if("2"in b)for(b=Gbc(a,b["2"]),c=0;c<a.onStatusCallbacks_.length;c++)a.onStatusCallbacks_[c](b)});a.xhrNodeReadableStream_.on("end",function(){Dbc(a,Ebc(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=vbc(c);break;default:d=14}Dbc(a,Ebc(a));b=U5b(b)+", error: "+a.xhr_.getLastError();-1!=c&&(b+=", http status code: "+c);Cbc(a,new ZB(d,b))}})},Ebc=function(a){var b={},c=a.xhr_.getResponseHeaders();Object.keys(c).forEach(function(d){b[d]=c[d]});return b},Gbc=function(a,b){var c=2,d={};try{var e=ybc(b);c=e.getCode();var g=e.getMessage();
yg(e,eB,3).length&&(d["grpc-web-status-details-bin"]=b)}catch(h){a.xhr_&&404===a.xhr_.getStatus()?(c=5,g="Not Found: "+a.xhr_.getLastUri()):(c=14,g="Unable to parse RpcStatus: "+h)}return{code:c,details:g,metadata:d}};aC.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 Ibc=function(a,b){b=a.indexOf(b);-1<b&&a.splice(b,1)};aC.prototype.removeListener=function(a,b){"data"==a?Ibc(this.onDataCallbacks_,b):"metadata"==a?Ibc(this.onMetadataCallbacks_,b):"status"==a?Ibc(this.onStatusCallbacks_,b):"end"==a?Ibc(this.onEndCallbacks_,b):"error"==a&&Ibc(this.onErrorCallbacks_,b);return this};aC.prototype.cancel=function(){this.xhr_.abort()};
var Fbc=function(a,b){for(var c=0;c<a.onDataCallbacks_.length;c++)a.onDataCallbacks_[c](b)},Dbc=function(a,b){for(var c=0;c<a.onMetadataCallbacks_.length;c++)a.onMetadataCallbacks_[c](b)},Cbc=function(a,b){for(var c=0;c<a.onErrorCallbacks_.length;c++)a.onErrorCallbacks_[c](b)};aC.prototype.cancel=aC.prototype.cancel;aC.prototype.removeListener=aC.prototype.removeListener;aC.prototype.on=aC.prototype.on;var bC=function(a){this.worker_=a.worker||null;this.streamBinaryChunks_=a.streamBinaryChunks||!1;this.cacheMode_=this.credentialsMode_=void 0};Cp(bC,V5b);bC.prototype.createInstance=function(){var a=new cC(this.worker_,this.streamBinaryChunks_);this.credentialsMode_&&a.setCredentialsMode(this.credentialsMode_);this.cacheMode_&&a.setCacheMode(this.cacheMode_);return a};bC.prototype.internalGetOptions=AUb({});bC.prototype.setCredentialsMode=function(a){this.credentialsMode_=a};
bC.prototype.setCacheMode=function(a){this.cacheMode_=a};var cC=function(a,b){Im.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};
Cp(cC,Im);cC.prototype.open=function(a,b){if(0!=this.readyState)throw this.abort(),Error("Jb");this.method_=a;this.url_=b;this.readyState=1;Jbc(this)};cC.prototype.send=function(a){if(1!=this.readyState)throw this.abort(),Error("Kb");this.inProgress_=!0;var b={headers:this.requestHeaders_,method:this.method_,credentials:this.credentialsMode_,cache:this.cacheMode_};a&&(b.body=a);(this.worker_||ca).fetch(new Request(this.url_,b)).then(this.handleResponse_.bind(this),this.handleSendFailure_.bind(this))};
cC.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,Kbc(this));this.readyState=0};
cC.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,Jbc(this)),this.inProgress_&&(this.readyState=3,Jbc(this),this.inProgress_)))if("arraybuffer"===this.responseType)a.arrayBuffer().then(this.handleResponseArrayBuffer_.bind(this),this.handleSendFailure_.bind(this));else if("undefined"!==typeof ca.ReadableStream&&
"body"in a){this.currentReader_=a.body.getReader();if(this.streamBinaryChunks_){if(this.responseType)throw Error("Lb");this.response=[]}else this.response=this.responseText="",this.textDecoder_=new TextDecoder;Lbc(this)}else a.text().then(this.handleResponseText_.bind(this),this.handleSendFailure_.bind(this))};var Lbc=function(a){a.currentReader_.read().then(a.handleDataFromStream_.bind(a)).catch(a.handleSendFailure_.bind(a))};
cC.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?Kbc(this):Jbc(this);3==this.readyState&&Lbc(this)}};cC.prototype.handleResponseText_=function(a){this.inProgress_&&(this.response=this.responseText=a,Kbc(this))};
cC.prototype.handleResponseArrayBuffer_=function(a){this.inProgress_&&(this.response=a,Kbc(this))};cC.prototype.handleSendFailure_=function(){this.inProgress_&&Kbc(this)};var Kbc=function(a){a.readyState=4;a.fetchResponse_=null;a.currentReader_=null;a.textDecoder_=null;Jbc(a)};f=cC.prototype;f.setRequestHeader=function(a,b){this.requestHeaders_.append(a,b)};f.getResponseHeader=function(a){return this.responseHeaders_?this.responseHeaders_.get(a.toLowerCase())||"":""};
f.getAllResponseHeaders=function(){if(!this.responseHeaders_)return"";for(var a=[],b=this.responseHeaders_.entries(),c=b.next();!c.done;)c=c.value,a.push(c[0]+": "+c[1]),c=b.next();return a.join("\r\n")};f.setCredentialsMode=function(a){this.credentialsMode_=a};f.setCacheMode=function(a){this.cacheMode_=a};var Jbc=function(a){a.onreadystatechange&&a.onreadystatechange.call(a)};
Object.defineProperty(cC.prototype,"withCredentials",{get:function(){return"include"===this.credentialsMode_},set:function(a){this.setCredentialsMode(a?"include":"same-origin")}});var Mbc=function(a){if(a.getCount&&"function"==typeof a.getCount)a=a.getCount();else if(sa(a)||"string"===typeof a)a=a.length;else{var b=0,c;for(c in a)b++;a=b}return a},dC=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(sa(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return yda(a)},Nbc=
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(sa(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}}},Obc=function(a,b,c){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,c);else if(sa(a)||"string"===typeof a)Array.prototype.forEach.call(a,
b,c);else for(var d=Nbc(a),e=dC(a),g=e.length,h=0;h<g;h++)b.call(c,e[h],d&&d[h],a)},Pbc=function(a,b,c){if("function"==typeof a.every)return a.every(b,c);if(sa(a)||"string"===typeof a)return Array.prototype.every.call(a,b,c);for(var d=Nbc(a),e=dC(a),g=e.length,h=0;h<g;h++)if(!b.call(c,e[h],d&&d[h],a))return!1;return!0};var Om=function(a,b){this.domain_=this.userInfo_=this.scheme_="";this.port_=null;this.fragment_=this.path_="";this.ignoreCase_=!1;var c;a instanceof Om?(this.ignoreCase_=void 0!==b?b:a.ignoreCase_,eC(this,a.scheme_),this.setUserInfo(a.getUserInfo()),this.setDomain(a.getDomain()),fC(this,a.port_),this.setPath(a.getPath()),Qbc(this,a.queryData_.clone()),Rbc(this,a.fragment_)):a&&(c=String(a).match(Z5b))?(this.ignoreCase_=!!b,eC(this,c[1]||"",!0),this.setUserInfo(c[2]||"",!0),this.setDomain(c[3]||"",
!0),fC(this,c[4]),this.setPath(c[5]||"",!0),Qbc(this,c[6]||"",!0),Rbc(this,c[7]||"",!0)):(this.ignoreCase_=!!b,this.queryData_=new gC(null,this.ignoreCase_))};
Om.prototype.toString=function(){var a=[],b=this.scheme_;b&&a.push(Sbc(b,Tbc,!0),":");var c=this.getDomain();if(c||"file"==b)a.push("//"),(b=this.getUserInfo())&&a.push(Sbc(b,Tbc,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.port_,null!=c&&a.push(":",String(c));if(c=this.getPath())this.hasDomain()&&"/"!=c.charAt(0)&&a.push("/"),a.push(Sbc(c,"/"==c.charAt(0)?Ubc:Vbc,!0));(c=this.queryData_.toString())&&a.push("?",c);(c=this.fragment_)&&a.push("#",Sbc(c,
Wbc));return a.join("")};
Om.prototype.resolve=function(a){var b=this.clone(),c=!!a.scheme_;c?eC(b,a.scheme_):c=a.hasUserInfo();c?b.setUserInfo(a.getUserInfo()):c=a.hasDomain();c?b.setDomain(a.getDomain()):c=null!=a.port_;var d=a.getPath();if(c)fC(b,a.port_);else if(c=a.hasPath()){if("/"!=d.charAt(0))if(this.hasDomain()&&!this.hasPath())d="/"+d;else{var e=b.getPath().lastIndexOf("/");-1!=e&&(d=b.getPath().slice(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(ha(e,"./")||ha(e,"/.")){d=Jg(e,"/");e=e.split("/");for(var g=[],h=
0;h<e.length;){var l=e[h++];"."==l?d&&h==e.length&&g.push(""):".."==l?((1<g.length||1==g.length&&""!=g[0])&&g.pop(),d&&h==e.length&&g.push("")):(g.push(l),d=!0)}d=g.join("/")}else d=e}c?b.setPath(d):c=a.hasQuery();c?Qbc(b,a.queryData_.clone()):c=!!a.fragment_;c&&Rbc(b,a.fragment_);return b};Om.prototype.clone=function(){return new Om(this)};var eC=function(a,b,c){a.scheme_=c?hC(b,!0):b;a.scheme_&&(a.scheme_=a.scheme_.replace(/:$/,""));return a};f=Om.prototype;f.getUserInfo=function(){return this.userInfo_};
f.setUserInfo=function(a,b){this.userInfo_=b?hC(a):a;return this};f.hasUserInfo=function(){return!!this.userInfo_};f.getDomain=function(){return this.domain_};f.setDomain=function(a,b){this.domain_=b?hC(a,!0):a;return this};f.hasDomain=function(){return!!this.domain_};var fC=function(a,b){if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Mb`"+b);a.port_=b}else a.port_=null;return a};Om.prototype.getPath=function(){return this.path_};Om.prototype.setPath=function(a,b){this.path_=b?hC(a,!0):a;return this};
Om.prototype.hasPath=function(){return!!this.path_};Om.prototype.hasQuery=function(){return""!==this.queryData_.toString()};var Qbc=function(a,b,c){b instanceof gC?(a.queryData_=b,a.queryData_.setIgnoreCase(a.ignoreCase_)):(c||(b=Sbc(b,Xbc)),a.queryData_=new gC(b,a.ignoreCase_));return a};Om.prototype.setQuery=function(a){return Qbc(this,a)};Om.prototype.getQuery=function(){return this.queryData_.toString()};
var iC=function(a,b,c){a.queryData_.set(b,c);return a},jC=function(a,b){return a.queryData_.get(b)},Rbc=function(a,b,c){a.fragment_=c?hC(b):b;return a},Ybc=function(a){iC(a,"zx",hVb());return a};Om.prototype.removeParameter=function(a){this.queryData_.remove(a);return this};Om.prototype.isReadOnly=function(){return!1};Om.prototype.setIgnoreCase=function(a){this.ignoreCase_=a;this.queryData_&&this.queryData_.setIgnoreCase(a)};
var kC=function(a,b){return a instanceof Om?a.clone():new Om(a,b)},Zbc=function(a,b,c,d,e){var g=new Om(null);a&&eC(g,a);b&&g.setUserInfo(b);c&&g.setDomain(c);d&&fC(g,d);e&&g.setPath(e);return g},hC=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},Sbc=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,$bc),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},$bc=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},
Tbc=/[#\/\?@]/g,Vbc=/[#\?:]/g,Ubc=/[#\?]/g,Xbc=/[#\?@]/g,Wbc=/#/g,gC=function(a,b){this.count_=this.keyMap_=null;this.encodedQuery_=a||null;this.ignoreCase_=!!b},lC=function(a){a.keyMap_||(a.keyMap_=new Map,a.count_=0,a.encodedQuery_&&$5b(a.encodedQuery_,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};f=gC.prototype;f.getCount=function(){lC(this);return this.count_};
f.add=function(a,b){lC(this);this.encodedQuery_=null;a=mC(this,a);var c=this.keyMap_.get(a);c||this.keyMap_.set(a,c=[]);c.push(b);this.count_+=1;return this};f.remove=function(a){lC(this);a=mC(this,a);return this.keyMap_.has(a)?(this.encodedQuery_=null,this.count_-=this.keyMap_.get(a).length,this.keyMap_.delete(a)):!1};f.clear=function(){this.keyMap_=this.encodedQuery_=null;this.count_=0};f.isEmpty=function(){lC(this);return 0==this.count_};f.containsKey=function(a){lC(this);a=mC(this,a);return this.keyMap_.has(a)};
f.containsValue=function(a){var b=this.getValues();return pa(b,a)};f.forEach=function(a,b){lC(this);this.keyMap_.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};f.getKeys=function(){lC(this);for(var a=Array.from(this.keyMap_.values()),b=Array.from(this.keyMap_.keys()),c=[],d=0;d<b.length;d++)for(var e=a[d],g=0;g<e.length;g++)c.push(b[d]);return c};
f.getValues=function(a){lC(this);var b=[];if("string"===typeof a)this.containsKey(a)&&(b=b.concat(this.keyMap_.get(mC(this,a))));else{a=Array.from(this.keyMap_.values());for(var c=0;c<a.length;c++)b=b.concat(a[c])}return b};f.set=function(a,b){lC(this);this.encodedQuery_=null;a=mC(this,a);this.containsKey(a)&&(this.count_-=this.keyMap_.get(a).length);this.keyMap_.set(a,[b]);this.count_+=1;return this};f.get=function(a,b){if(!a)return b;a=this.getValues(a);return 0<a.length?String(a[0]):b};
f.setValues=function(a,b){this.remove(a);0<b.length&&(this.encodedQuery_=null,this.keyMap_.set(mC(this,a),ra(b)),this.count_+=b.length)};f.toString=function(){if(this.encodedQuery_)return this.encodedQuery_;if(!this.keyMap_)return"";for(var a=[],b=Array.from(this.keyMap_.keys()),c=0;c<b.length;c++){var d=b[c],e=encodeURIComponent(String(d));d=this.getValues(d);for(var g=0;g<d.length;g++){var h=e;""!==d[g]&&(h+="="+encodeURIComponent(String(d[g])));a.push(h)}}return this.encodedQuery_=a.join("&")};
f.clone=function(){var a=new gC;a.encodedQuery_=this.encodedQuery_;this.keyMap_&&(a.keyMap_=new Map(this.keyMap_),a.count_=this.count_);return a};var mC=function(a,b){b=String(b);a.ignoreCase_&&(b=b.toLowerCase());return b};gC.prototype.setIgnoreCase=function(a){a&&!this.ignoreCase_&&(lC(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};
gC.prototype.extend=function(a){for(var b=0;b<arguments.length;b++)Obc(arguments[b],function(c,d){this.add(d,c)},this)};var acc=function(a){var b="";Tb(a,function(c,d){b+=d;b+=":";b+=c;b+="\r\n"});return b},bcc=function(a,b,c){if(Cda(c))return a;c=acc(c);if("string"===typeof a)return e6b(a,encodeURIComponent(String(b)),c);iC(a,b,c);return a};var Tn=function(a){ng.call(this);this.handler_=a;this.keys_={}};Cp(Tn,ng);var ccc=[];Tn.prototype.listen=function(a,b,c,d){Array.isArray(b)||(b&&(ccc[0]=b.toString()),b=ccc);for(var e=0;e<b.length;e++){var g=Jm(a,b[e],c||this.handleEvent,d||!1,this.handler_||this);if(!g)break;this.keys_[g.key]=g}return this};Tn.prototype.listenOnce=function(a,b,c,d){return dcc(this,a,b,c,d)};
var dcc=function(a,b,c,d,e,g){if(Array.isArray(c))for(var h=0;h<c.length;h++)dcc(a,b,c[h],d,e,g);else{b=vz(b,c,d||a.handleEvent,e,g||a.handler_||a);if(!b)return a;a.keys_[b.key]=b}return a};
Tn.prototype.unlisten=function(a,b,c,d,e){if(Array.isArray(b))for(var g=0;g<b.length;g++)this.unlisten(a,b[g],c,d,e);else c=c||this.handleEvent,d=ta(d)?!!d.capture:!!d,e=e||this.handler_||this,c=K3b(c),d=!!d,b=tz(a)?a.getListener(b,c,d,e):a?(a=M3b(a))?a.getListener(b,c,d,e):null:null,b&&(xz(b),delete this.keys_[b.key]);return this};Tn.prototype.removeAll=function(){Tb(this.keys_,function(a,b){this.keys_.hasOwnProperty(b)&&xz(a)},this);this.keys_={}};
Tn.prototype.disposeInternal=function(){Tn.superClass_.disposeInternal.call(this);this.removeAll()};Tn.prototype.handleEvent=function(){throw Error("Ob");};var ecc=function(){this.isInputValid_=!0;this.streamPos_=0;this.leftoverInput_=""};ecc.prototype.error_=function(a,b){this.isInputValid_=!1;throw Error("Pb`"+this.streamPos_+"`"+b+"`"+a);};
ecc.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=xMb(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 pg=function(){this.errorMessage_=null;this.result_=[];this.countLengthBytes_=this.length_=this.tag_=this.state_=this.streamPos_=0;this.messageBuffer_=null;this.countMessageBytes_=0};pg.prototype.getErrorMessage=function(){return this.errorMessage_};pg.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_);};pg.prototype.acceptsBinaryInput=function(){return!0};
pg.prototype.parse=function(a){function b(q){q&128&&g.error_(h,l,"invalid tag");2!=(q&7)&&g.error_(h,l,"invalid wire type");g.tag_=q>>>3;1!=g.tag_&&2!=g.tag_&&15!=g.tag_&&g.error_(h,l,"unexpected tag");g.state_=1;g.length_=0;g.countLengthBytes_=0}function c(q){g.countLengthBytes_++;5==g.countLengthBytes_&&q&240&&g.error_(h,l,"message length too long");g.length_|=(q&127)<<7*(g.countLengthBytes_-1);q&128||(g.state_=2,g.countMessageBytes_=0,"undefined"!==typeof Uint8Array?g.messageBuffer_=new Uint8Array(g.length_):
g.messageBuffer_=Array(g.length_),0==g.length_&&e())}function d(q){g.messageBuffer_[g.countMessageBytes_++]=q;g.countMessageBytes_==g.length_&&e()}function e(){if(15>g.tag_){var q={};q[g.tag_]=g.messageBuffer_;g.result_.push(q)}g.state_=0}for(var g=this,h=a instanceof Array?a:new Uint8Array(a),l=0;l<h.length;){switch(g.state_){case 3:g.error_(h,l,"stream already broken");break;case 0:b(h[l]);break;case 1:c(h[l]);break;case 2:d(h[l]);break;default:throw Error("Qb`"+g.state_);}g.streamPos_++;l++}a=
g.result_;g.result_=[];return 0<a.length?a:null};var Bra=function(){this.errorMessage_=null;this.streamPos_=0;this.base64Decoder_=new ecc;this.pbParser_=new pg};Bra.prototype.getErrorMessage=function(){return this.errorMessage_};Bra.prototype.error_=function(a,b){this.errorMessage_="The stream is broken @"+this.streamPos_+". Error: "+b+". With input:\n"+a;throw Error(this.errorMessage_);};Bra.prototype.acceptsBinaryInput=function(){return!1};
Bra.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 nC=function(a){return"\r"==a||"\n"==a||" "==a||"\t"==a};var Ara=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)},fcc={INIT:0,VALUE:1,OBJECT_OPEN:2,OBJECT_END:3,ARRAY_OPEN:4,ARRAY_END:5,STRING:6,KEY_START:7,KEY_END:8,TRUE1:9,TRUE2:10,TRUE3:11,FALSE1:12,FALSE2:13,FALSE3:14,FALSE4:15,NULL1:16,NULL2:17,NULL3:18,NUM_DECIMAL_POINT:19,
NUM_DIGIT:20};f=Ara.prototype;f.getErrorMessage=function(){return this.errorMessage_};f.done=function(){return 2===this.streamState_};f.error_=function(a,b){this.streamState_=3;this.errorMessage_="The stream is broken @"+this.pos_+"/"+b+". With input:\n"+a;throw Error(this.errorMessage_);};f.acceptsBinaryInput=function(){return!1};
f.parse=function(a){function b(){for(;I<a.length;)if(nC(a[I]))I++,g.pos_++;else break;return I<v}function c(){for(var Q;;){Q=a[I++];if(!Q)break;g.pos_++;switch(g.state_){case q.INIT:"{"===Q?g.state_=q.OBJECT_OPEN:"["===Q?g.state_=q.ARRAY_OPEN:nC(Q)||g.error_(a,I);continue;case q.KEY_START:case q.OBJECT_OPEN:if(nC(Q))continue;if(g.state_===q.KEY_START)h.push(q.KEY_END);else if("}"===Q){e("{}");g.state_=d();continue}else h.push(q.OBJECT_END);'"'===Q?g.state_=q.STRING:g.error_(a,I);continue;case q.KEY_END:case q.OBJECT_END:if(nC(Q))continue;
":"===Q?(g.state_===q.OBJECT_END&&(h.push(q.OBJECT_END),g.depth_++),g.state_=q.VALUE):"}"===Q?(g.depth_--,e(),g.state_=d()):","===Q?(g.state_===q.OBJECT_END&&h.push(q.OBJECT_END),g.state_=q.KEY_START):g.error_(a,I);continue;case q.ARRAY_OPEN:case q.VALUE:if(nC(Q))continue;if(g.state_===q.ARRAY_OPEN)if(g.depth_++,g.state_=q.VALUE,"]"===Q){g.depth_--;if(0===g.depth_){g.state_=q.ARRAY_END;return}e("[]");g.state_=d();continue}else h.push(q.ARRAY_END);'"'===Q?g.state_=q.STRING:"{"===Q?g.state_=q.OBJECT_OPEN:
"["===Q?g.state_=q.ARRAY_OPEN:"t"===Q?g.state_=q.TRUE1:"f"===Q?g.state_=q.FALSE1:"n"===Q?g.state_=q.NULL1:"-"!==Q&&(-1!=="0123456789".indexOf(Q)?g.state_=q.NUM_DIGIT:g.error_(a,I));continue;case q.ARRAY_END:if(","===Q)h.push(q.ARRAY_END),g.state_=q.VALUE,1===g.depth_&&(B=I);else if("]"===Q){g.depth_--;if(0===g.depth_)return;e();g.state_=d()}else if(nC(Q))continue;else g.error_(a,I);continue;case q.STRING:var Z=I;a:for(;;){for(;0<g.unicodeCount_;)if(Q=a[I++],4===g.unicodeCount_?g.unicodeCount_=0:g.unicodeCount_++,
!Q)break a;if('"'===Q&&!g.slashed_){g.state_=d();break}if("\\"===Q&&!g.slashed_&&(g.slashed_=!0,Q=a[I++],!Q))break;if(g.slashed_)if(g.slashed_=!1,"u"===Q&&(g.unicodeCount_=1),Q=a[I++])continue;else break;l.lastIndex=I;Q=l.exec(a);if(!Q){I=a.length+1;break}I=Q.index+1;Q=a[Q.index];if(!Q)break}g.pos_+=I-Z;continue;case q.TRUE1:if(!Q)continue;"r"===Q?g.state_=q.TRUE2:g.error_(a,I);continue;case q.TRUE2:if(!Q)continue;"u"===Q?g.state_=q.TRUE3:g.error_(a,I);continue;case q.TRUE3:if(!Q)continue;"e"===Q?
g.state_=d():g.error_(a,I);continue;case q.FALSE1:if(!Q)continue;"a"===Q?g.state_=q.FALSE2:g.error_(a,I);continue;case q.FALSE2:if(!Q)continue;"l"===Q?g.state_=q.FALSE3:g.error_(a,I);continue;case q.FALSE3:if(!Q)continue;"s"===Q?g.state_=q.FALSE4:g.error_(a,I);continue;case q.FALSE4:if(!Q)continue;"e"===Q?g.state_=d():g.error_(a,I);continue;case q.NULL1:if(!Q)continue;"u"===Q?g.state_=q.NULL2:g.error_(a,I);continue;case q.NULL2:if(!Q)continue;"l"===Q?g.state_=q.NULL3:g.error_(a,I);continue;case q.NULL3:if(!Q)continue;
"l"===Q?g.state_=d():g.error_(a,I);continue;case q.NUM_DECIMAL_POINT:"."===Q?g.state_=q.NUM_DIGIT:g.error_(a,I);continue;case q.NUM_DIGIT:if(-1!=="0123456789.eE+-".indexOf(Q))continue;else I--,g.pos_--,g.state_=d();continue;default:g.error_(a,I)}}}function d(){var Q=h.pop();return null!=Q?Q:q.VALUE}function e(Q){1<g.depth_||(Q||(Q=-1===B?g.buffer_+a.substring(y,I):a.substring(B,I)),g.deliverMessageAsRawString_?g.result_.push(Q):g.result_.push(JSON.parse(Q)),B=I)}for(var g=this,h=g.stack_,l=g.stringInputPattern_,
q=fcc,v=a.length,y=0,B=-1,I=0;I<v;)switch(g.streamState_){case 3:return g.error_(a,I),null;case 2:return b()&&g.error_(a,I),null;case 0:if(b()){var N=a[I++];g.pos_++;if("["===N){g.streamState_=1;y=I;g.state_=q.ARRAY_OPEN;continue}else g.error_(a,I)}return null;case 1:return c(),0===g.depth_&&g.state_==q.ARRAY_END?(g.streamState_=2,g.buffer_=a.substring(I)):g.buffer_=-1===B?g.buffer_+a.substring(y):a.substring(B),0<g.result_.length?(N=g.result_,g.result_=[],N):null}return null};var zra=function(){this.errorMessage_=this.jsonStreamParser_=null;this.state_=this.streamPos_=0;this.result_=[];this.statusParsed_=!1};zra.prototype.getErrorMessage=function(){return this.errorMessage_};zra.prototype.acceptsBinaryInput=function(){return!1};
zra.prototype.parse=function(a){function b(q){g.state_=6;g.errorMessage_="The stream is broken @"+g.streamPos_+"/"+h+". Error: "+q+". With input:\n";throw Error(g.errorMessage_);}function c(){g.jsonStreamParser_=new Ara({allowCompactJsonArrayFormat:!0,deliverMessageAsRawString:!0})}function d(q){if(q)for(var v=0;v<q.length;v++){var y={};y[1]=q[v];g.result_.push(y)}}function e(q){if(q){(g.statusParsed_||1<q.length)&&b("extra status: "+q);g.statusParsed_=!0;var v={};v[2]=q[0];g.result_.push(v)}}for(var g=
this,h=0;h<a.length;){var l;if(l=2!==g.state_){a:{for(;h<a.length;){if(!nC(a[h])){l=!0;break a}h++;g.streamPos_++}l=!1}l=!l}if(l)return null;switch(g.state_){case 6:b("stream already broken");break;case 0:"["===a[h]?(g.state_=1,h++,g.streamPos_++):b("unexpected input token");break;case 1:"["===a[h]?(g.state_=2,c()):","===a[h]||"null,"==a.slice(h,h+5)?g.state_=3:"]"===a[h]?(g.state_=5,h++,g.streamPos_++):b("unexpected input token");break;case 2:l=g.jsonStreamParser_.parse(a.substring(h));d(l);g.jsonStreamParser_.done()?
(g.state_=3,l=g.jsonStreamParser_.buffer_,g.streamPos_+=a.length-h-l.length,a=l,h=0):(g.streamPos_+=a.length-h,h=a.length);break;case 3:","===a[h]||"null,"==a.slice(h,h+5)?(g.state_=4,c(),g.jsonStreamParser_.parse("["),h+=","===a[h]?1:5,g.streamPos_++):"]"===a[h]&&(g.state_=5,h++,g.streamPos_++);break;case 4:l=g.jsonStreamParser_.parse(a.substring(h));e(l);g.jsonStreamParser_.done()?(g.state_=5,l=g.jsonStreamParser_.buffer_,g.streamPos_+=a.length-h-l.length,a=l,h=0):(g.streamPos_+=a.length-h,h=a.length);
break;case 5:b("extra input after stream end")}}return 0<g.result_.length?(a=g.result_,g.result_=[],a):null};var gcc=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 Tn(this);this.eventHandler_.listen(this.xhr_,"readystatechange",this.readyStateChangeHandler_)};gcc.prototype.getXhr=function(){return this.xhr_};
var oC=function(a,b){a.status_!=b&&(a.status_=b,a.statusHandler_&&a.statusHandler_())},hcc=function(a){a.eventHandler_.removeAll();if(a.xhr_){var b=a.xhr_;a.xhr_=null;b.abort();b.dispose()}};gcc.prototype.getStatus=function(){return this.status_};
gcc.prototype.readyStateChangeHandler_=function(a){a=a.target;try{if(a==this.xhr_)a:{var b=this.xhr_.getReadyState(),c=this.xhr_.getLastErrorCode(),d=this.xhr_.getStatus(),e=this.xhr_.getResponseText();a=[];if(this.xhr_.getResponse()instanceof Array){var g=this.xhr_.getResponse();0<g.length&&g[0]instanceof Uint8Array&&(this.hasStreamingResponseData_=!0,a=g)}if(!(3>b||3==b&&!e&&0==a.length))if(d=200==d||206==d,4==b&&(8==c?oC(this,7):7==c?oC(this,8):d||oC(this,3)),this.parser_||(this.parser_=Cra(this.xhr_),
null==this.parser_&&oC(this,5)),2<this.status_)hcc(this);else{if(a.length>this.pos_){var h=a.length;c=[];try{if(this.parser_.acceptsBinaryInput())for(var l=0;l<h;l++){var q=this.parser_.parse(Array.from(a[l]));q&&(c=c.concat(q))}else{q="";if(!this.textDecoder_){if("undefined"===typeof TextDecoder)throw Error("Rb");this.textDecoder_=new TextDecoder}for(l=0;l<h;l++)q+=this.textDecoder_.decode(a[l],{stream:4==b&&l==h-1});c=this.parser_.parse(q)}a.splice(0,h);c&&this.dataHandler_(c)}catch(y){oC(this,
5);hcc(this);break a}}else if(e.length>this.pos_){l=e.slice(this.pos_);this.pos_=e.length;try{var v=this.parser_.parse(l);null!=v&&this.dataHandler_&&this.dataHandler_(v)}catch(y){oC(this,5);hcc(this);break a}}4==b?(0!=e.length||this.hasStreamingResponseData_?oC(this,2):oC(this,4),hcc(this)):oC(this,1)}}}catch(y){oC(this,6),hcc(this)}};var icc=function(a){this.xhrReader_=a;a=Ap(this.onData_,this);this.xhrReader_.dataHandler_=a;a=Ap(this.onStatusChange_,this);this.xhrReader_.statusHandler_=a;this.callbackMap_={};this.callbackOnceMap_={}};f=icc.prototype;f.on=function(a,b){var c=this.callbackMap_[a];c||(c=[],this.callbackMap_[a]=c);c.push(b);return this};f.addListener=function(a,b){this.on(a,b);return this};f.removeListener=function(a,b){var c=this.callbackMap_[a];c&&qa(c,b);(a=this.callbackOnceMap_[a])&&qa(a,b);return this};
f.once=function(a,b){var c=this.callbackOnceMap_[a];c||(c=[],this.callbackOnceMap_[a]=c);c.push(b);return this};f.onData_=function(a){var b=this.callbackMap_.data;b&&jcc(this,a,b);(b=this.callbackOnceMap_.data)&&jcc(this,a,b);this.callbackOnceMap_.data=[]};
var jcc=function(a,b,c){for(var d={},e=0;e<b.length;d={$jscomp$loop$prop$message$2274:d.$jscomp$loop$prop$message$2274},e++)d.$jscomp$loop$prop$message$2274=b[e],c.forEach(function(g){return function(h){try{h(g.$jscomp$loop$prop$message$2274)}catch(l){a.handleError_("message-callback exception (ignored) "+l)}}}(d))};
icc.prototype.onStatusChange_=function(){switch(this.xhrReader_.getStatus()){case 1:kcc(this,"readable");break;case 5:case 6:case 4:case 7:case 3:kcc(this,"error");break;case 8:kcc(this,"close");break;case 2:kcc(this,"end")}};var kcc=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]=[]};icc.prototype.handleError_=function(){};var pC=function(a){a=void 0===a?{}:a;this.suppressCorsPreflight_=a.suppressCorsPreflight||Em("suppressCorsPreflight",a)||!1;this.withCredentials_=a.withCredentials||Em("withCredentials",a)||!1;this.streamInterceptors_=a.streamInterceptors||[];this.unaryInterceptors_=a.unaryInterceptors||[];this.workerScope_=a.workerScope;this.chunkedServerStreaming_=a.useFetchDownloadStreams||!1},ncc=function(a,b,c,d,e){var g=b.substr(0,b.length-e.name.length);return lcc(function(h){return new xbc(function(l,q){var v=
{},y=mcc(a,h,g);y.on("error",function(B){return q(B)});y.on("metadata",function(B){v=B});y.on("data",function(B){var I=v;I=void 0===I?{}:I;l(new tbc(B,h.getMethodDescriptor(),I))})})},a.unaryInterceptors_).call(a,ubc(e,c,d)).then(function(h){return h.responseMessage_})},qC=function(a,b,c,d,e){return ncc(a,b,c,d,e)};
pC.prototype.serverStreaming=function(a,b,c,d){var e=this,g=a.substr(0,a.length-d.name.length);return lcc(function(h){var l=h.getMethodDescriptor(),q=h.getMetadata(),v=occ(e,!1);q=pcc(e,q,v,g+l.getName());var y=qcc(v,l.responseDeserializeFn,!0);h=l.requestSerializeFn(h.requestMessage_);v.send(q,"POST",h);return y},this.streamInterceptors_).call(this,ubc(d,b,c))};
var mcc=function(a,b,c){var d=b.getMethodDescriptor(),e=b.getMetadata(),g=occ(a,!0);a=pcc(a,e,g,c+d.getName());c=qcc(g,d.responseDeserializeFn,!1);Hbc(c,"base64"==e["X-Goog-Encode-Response-If-Executable"]);b=d.requestSerializeFn(b.requestMessage_);g.send(a,"POST",b);return c},occ=function(a,b){b=a.chunkedServerStreaming_&&!b;return a.workerScope_||b?new aA(new bC({worker:a.workerScope_,streamBinaryChunks:b})):new aA},pcc=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=bcc(d,"$httpHeaders",b);else for(var g in b)c.headers.set(g,b[g]);return d},qcc=function(a,b,c){if(c)if(!Ep||10<=Number(Ip)){c=new gcc(a);var d=new icc(c)}else d=null;return new aC({xhr:a,nodeReadableStream:d},b)},lcc=function(a,b){var c=a;b.forEach(function(d){var e=c;c=function(g){return d.intercept(g,
e)}});return c};var rcc=function(a){this.client_=new pC({format:"jspb"});this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};var rC=function(a){r.call(this,a)};V(rC,r);rC.prototype.getUserPrefs=function(){return W(this,TB,1)};var scc=Sb(rC);rC.prototype.toObject=function(){if(null!=this){t(this);var a={userPrefs:nbc(this.getUserPrefs())}}else a=void 0;return a};rC.prototype.serializeBinary=u([rC,1,X,obc]);var tcc=new YB("/google.internal.devopsconsole.v1.UserPrefsTaskService/GetUserPrefs",UB,rC,function(a){return a.serialize()},scc);var sC=function(a){r.call(this,a)};V(sC,r);sC.repeatedFields_=[1];sC.prototype.toObject=function(){return tC(this)};var tC=function(a){if(null!=a)return t(a),{pathsList:p(Cg(a,1))}},uC=[sC,1,Dq];sC.prototype.serializeBinary=u(uC);var ucc=function(a){this.client_=new pC({format:"jspb"});this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};ucc.prototype.getUserPrefs=function(a,b){return qC(this.client_,this.hostname_+"/$rpc/google.internal.devopsconsole.v1.UserPrefsTaskService/GetUserPrefs",a,b||{},tcc)};var vcc=function(a,b){this.target=a;this.targetElement=b;this.value=this.target.value},vC=function(a,b,c){var d=this;this._elementRef=a;this._dateAdapter=b;this._dateFormats=c;this.dateChange=new tu;this.dateInput=new tu;this.stateChanges=new F.Subject;this._onTouched=function(){};this._validatorOnChange=function(){};this._cvaOnChange=function(){};this._localeSubscription=this._valueChangesSubscription=F.Subscription.EMPTY;this._parseValidator=function(){return d._lastValueValid?null:{matDatepickerParse:{text:d._elementRef.nativeElement.value}}};
this._filterValidator=function(e){e=Ux(d._dateAdapter,d._dateAdapter.deserialize(e.value));return!e||d._matchesFilter(e)?null:{matDatepickerFilter:!0}};this._minValidator=function(e){e=Ux(d._dateAdapter,d._dateAdapter.deserialize(e.value));var g=d._rangeInput.min;return!g||!e||0>=Vx(d._dateAdapter,g,e)?null:{matDatepickerMin:{min:g,actual:e}}};this._maxValidator=function(e){e=Ux(d._dateAdapter,d._dateAdapter.deserialize(e.value));var g=d._rangeInput.max;return!g||!e||0<=Vx(d._dateAdapter,g,e)?null:
{matDatepickerMax:{max:g,actual:e}}};this._lastValueValid=!1;this._localeSubscription=b.localeChanges.subscribe(function(){d._assignValueProgrammatically(d.value)})};f=vC.prototype;f._getValidators=function(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]};
f._registerModel=function(a){var b=this;this._model=a;this._valueChangesSubscription.unsubscribe();this._pendingValue&&this._assignValue(this._pendingValue);this._valueChangesSubscription=this._model.selectionChanged.subscribe(function(c){b._shouldHandleChangeEvent(c)&&(c=b._getValueFromModel(c.selection),b._lastValueValid=b._isValidValue(c),b._cvaOnChange(c),b._onTouched(),b._formatValue(c),b.dateInput.emit(new vcc(b,b._elementRef.nativeElement)),b.dateChange.emit(new vcc(b,b._elementRef.nativeElement)))})};
f.ngAfterViewInit=function(){this._isInitialized=!0};f.ngOnChanges=function(a){a:{var b=this._dateAdapter,c=Object.keys(a);c=k(c);for(var d=c.next();!d.done;d=c.next()){var e=a[d.value];d=e.previousValue;e=e.currentValue;if(m1b(d)&&m1b(e)){if(!b.sameDate(d,e)){a=!0;break a}}else{a=!0;break a}}a=!1}a&&this.stateChanges.next(void 0)};f.ngOnDestroy=function(){this._valueChangesSubscription.unsubscribe();this._localeSubscription.unsubscribe();this.stateChanges.complete()};
f.registerOnValidatorChange=function(a){this._validatorOnChange=a};f.validate=function(a){return this._validator?this._validator(a):null};f.writeValue=function(a){this._assignValueProgrammatically(a)};f.registerOnChange=function(a){this._cvaOnChange=a};f.registerOnTouched=function(a){this._onTouched=a};f.setDisabledState=function(a){this.disabled=a};
f._onKeydown=function(a){var b=["ctrlKey","shiftKey","metaKey"];If(a,"altKey")&&40===a.keyCode&&b.every(function(c){return!If(a,c)})&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),a.preventDefault())};
f._onInput=function(a){var b=this._lastValueValid,c=this._dateAdapter.parse(a,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(c);c=Ux(this._dateAdapter,c);var d=!this._dateAdapter.sameDate(c,this.value);!c||d?this._cvaOnChange(c):(a&&!this.value&&this._cvaOnChange(c),b!==this._lastValueValid&&this._validatorOnChange());d&&(this._assignValue(c),this.dateInput.emit(new vcc(this,this._elementRef.nativeElement)))};f._onChange=function(){this.dateChange.emit(new vcc(this,this._elementRef.nativeElement))};
f._onBlur=function(){this.value&&this._formatValue(this.value);this._onTouched()};f._formatValue=function(a){this._elementRef.nativeElement.value=null!=a?this._dateAdapter.format(a,this._dateFormats.display.dateInput):""};f._assignValue=function(a){this._model?(this._assignValueToModel(a),this._pendingValue=null):this._pendingValue=a};f._isValidValue=function(a){return!a||this._dateAdapter.isValid(a)};f._parentDisabled=function(){return!1};
f._assignValueProgrammatically=function(a){a=this._dateAdapter.deserialize(a);this._lastValueValid=this._isValidValue(a);a=Ux(this._dateAdapter,a);this._assignValue(a);this._formatValue(a)};f._matchesFilter=function(a){var b=this._rangeInput.dateFilter;return!b||b(a)};
gg.Object.defineProperties(vC.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue},set:function(a){this._assignValueProgrammatically(a)}},disabled:{configurable:!0,enumerable:!0,get:function(){return!!this._disabled||this._parentDisabled()},set:function(a){a=Ef(a);var b=this._elementRef.nativeElement;this._disabled!==a&&(this._disabled=a,this.stateChanges.next(void 0));a&&this._isInitialized&&b.blur&&b.blur()}}});
vC.\u0275fac=function(a){return new (a||vC)(D(fd),D(Tx,8),D(Wx,8))};vC.\u0275dir=Cc({type:vC,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[Mc]});var wcc=new Hc("MAT_DATE_RANGE_INPUT_PARENT"),wC=function(a,b,c,d,e,g,h,l){vC.call(this,b,h,l);this._rangeInput=a;this._elementRef=b;this._defaultErrorStateMatcher=c;this._injector=d;this._parentForm=e;this._parentFormGroup=g;this._dir=wc(qx,{optional:!0})};V(wC,vC);f=wC.prototype;f.ngOnInit=function(){var a=this._injector.get(rv,null,{optional:!0,self:!0});a&&(this.ngControl=a)};f.ngDoCheck=function(){this.ngControl&&this.updateErrorState()};f.isEmpty=function(){return 0===this._elementRef.nativeElement.value.length};
f._getPlaceholder=function(){return this._elementRef.nativeElement.placeholder};f.focus=function(){this._elementRef.nativeElement.focus()};f._onInput=function(a){vC.prototype._onInput.call(this,a);this._rangeInput._handleChildValueChange()};f._openPopup=function(){this._rangeInput._openDatepicker()};f._getMinDate=function(){return this._rangeInput.min};f._getMaxDate=function(){return this._rangeInput.max};f._getDateFilter=function(){return this._rangeInput.dateFilter};f._parentDisabled=function(){return this._rangeInput._groupDisabled};
f._shouldHandleChangeEvent=function(a){a=a.source;return a!==this._rangeInput._startInput&&a!==this._rangeInput._endInput};f._assignValueProgrammatically=function(a){vC.prototype._assignValueProgrammatically.call(this,a);var b;null==(b=this===this._rangeInput._startInput?this._rangeInput._endInput:this._rangeInput._startInput)||b._validatorOnChange()};f._getAccessibleName=function(){return Dra(this._elementRef.nativeElement,!0)};
wC.\u0275fac=function(a){return new (a||wC)(D(wcc),D(fd),D(Xx),D(Qt),D(xv,8),D(Gv,8),D(Tx,8),D(Wx,8))};wC.\u0275dir=Cc({type:wC,features:[xe]});uqa(wC);var xcc={provide:new Hc("mat-datepicker-scroll-strategy"),deps:[Ox],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}};hg(function(a){this._elementRef=a});var ycc=new Hc("mat-mdc-fab-default-options",{providedIn:"root",factory:Era});[].concat(Jc(["disabled","disableRipple","color","tabIndex"]),["extended"]);var xC=function(){};xC.\u0275fac=function(a){return new (a||xC)};xC.\u0275mod=Bc({type:xC});xC.\u0275inj=oc({imports:[Sx,cy,Sx]});var yC=function(){};yC.\u0275fac=function(a){return new (a||yC)};yC.\u0275mod=Bc({type:yC});yC.\u0275inj=oc({providers:[my,xcc],imports:[gv,xC,Rx,dx,iw,Sx,Dx]});var zC=function(){};zC.\u0275fac=function(a){return new (a||zC)};zC.\u0275mod=Bc({type:zC});zC.\u0275inj=oc({providers:[a9b],imports:[dx,gv,Rx,Sx,Sx,Dx]});var AC=function(){};AC.\u0275fac=function(a){return new (a||AC)};AC.\u0275mod=Bc({type:AC});AC.\u0275inj=oc({providers:[{provide:f9b,useFactory:function(a){return new ucc(Fra(a))},deps:[g9b]},{provide:e9b,useFactory:function(a){return new rcc(Fra(a))},deps:[g9b]},VB],imports:[gv,XB,WB,yC,Qy,YA,bz,QA,zC]});var zcc=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"})};zcc.prototype.record=function(a,b,c,d){this.streamzService_.record(this.metricName_,a,b,c,d)};zcc.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var Acc=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"})};Acc.prototype.increment=function(a,b,c){this.streamzService_.incrementCounter(this.metricName_,a,b,c)};Acc.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};
var Bcc=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"})};Bcc.prototype.record=function(a,b,c,d){this.streamzService_.record(this.metricName_,a,b,c,d)};Bcc.prototype.getMetric=function(){return this.streamzService_.getMetric(this.metricName_)};var Ccc="alternate author bookmark canonical cite help icon license next prefetch dns-prefetch prerender preconnect preload prev search subresource".split(" ");var Dcc=function(a){this.servicePromise_=a;a.then(Ap(function(){},this),function(){},this)},Ecc=function(a,b,c){return a.servicePromise_.then(function(d){var e=d[b];if(!e)throw Error("Tb`"+b);return e.apply(d,c)})},Gcc=function(a,b,c){for(var d=Array(arguments.length-2),e=2;e<arguments.length;e++)d[e-2]=arguments[e];e=Fcc(a,b).then(function(g){return g.apply(null,d)});return new Dcc(e)},Hcc={},Fcc=function(a,b){var c=Hcc[b];if(c)return c;c=(c=Em(b))?z4b(c):(new Jz(function(d,e){var g=(new zz(document)).createElement("SCRIPT");
g.async=!0;Ira(g,Ul(a));g.onload=g.onreadystatechange=function(){g.readyState&&"loaded"!=g.readyState&&"complete"!=g.readyState||d()};g.onerror=e;(document.head||document.getElementsByTagName("head")[0]).appendChild(g)})).then(function(){var d=Em(b);if(!d)throw Error("Ub`"+b+"`"+a);return d});return Hcc[b]=c};var Icc=function(a){this.loader_=a};Icc.prototype.startFeedback=function(a){Ecc(this.loader_,"startFeedback",arguments)};Icc.prototype.requestSurvey=function(a){Ecc(this.loader_,"requestSurvey",arguments).thenCatch(function(){},this)};Icc.prototype.presentSurvey=function(a){Ecc(this.loader_,"presentSurvey",arguments).thenCatch(function(){},this)};var Jcc=Vl("https://www.gstatic.com/feedback/js/help/prod/service/lazy.min.js");Fcc(Jcc,"help.service.Lazy.create").thenCatch(function(){});var BC=function(){},CC=function(){};var DC=function(a){r.call(this,a,0,DC.messageId)};V(DC,r);f=DC.prototype;f.getAuthor=function(){return mh(this,1)};f.setAuthor=function(a){n(this,1,a)};f.getDescription=function(){return mh(this,2)};f.setDescription=function(a){return n(this,2,a)};f.hasDescription=function(){return jj(this,2)};f.getPending=function(){return vi(this,3)};f.getTimestamp=function(){return Wh(this,4)};f.setTimestamp=function(a){return n(this,4,a)};f.hasTimestamp=function(){return Aj(this,4)};DC.repeatedFields_=[5];
DC.prototype.toObject=function(){if(null!=this){t(this);var a={author:p(m(this,1)),description:p(m(this,2)),pending:p(Db(this,3)),timestamp:p(m(this,4)),affectedFilesList:p(Cg(this,5))}}else a=void 0;return a};DC.prototype.serializeBinary=u([DC,1,Cq,2,Cq,3,zq,4,pq,5,Dq]);DC.messageId="b.ChangelistDetailsResponse";var EC=function(a){r.call(this,a)};V(EC,r);EC.prototype.getIssueIdsList=function(){return Bg(this,1)};EC.prototype.setIssueIdsList=function(a){return $h(this,1,a)};EC.prototype.addIssueIds=function(a){eb(this,1,a)};EC.prototype.getAuthorEmail=function(){return mh(this,3)};EC.repeatedFields_=[1];EC.prototype.toObject=function(){return Kcc(this)};
var Kcc=function(a){if(null!=a)return t(a),{issueIdsList:p(Bg(a,1)),changelistStatus:p(m(a,2)),authorEmail:p(m(a,3)),reviewerEmail:p(m(a,4)),ccEmail:p(m(a,5))}},Lcc=[EC,1,oq,2,Nq,3,Cq,4,Cq,5,Cq];EC.prototype.serializeBinary=u(Lcc);var FC=function(a){r.call(this,a,0,FC.messageId)};V(FC,r);f=FC.prototype;f.getQuery=function(){return W(this,EC,1)};f.setQuery=function(a){return Oh(this,EC,1,a)};f.clearQuery=function(){Qp(this,1)};f.hasQuery=function(){return qi(this,EC,1)};f.getNextPageToken=function(){return mh(this,2)};f.toObject=function(){if(null!=this){t(this);var a={query:Kcc(this.getQuery()),nextPageToken:p(m(this,2))}}else a=void 0;return a};f.serializeBinary=u([FC,1,X,Lcc,2,Cq]);FC.messageId="b.ListChangelistsRequest";var zg=function(a){r.call(this,a)};V(zg,r);f=zg.prototype;f.getAuthor=function(){return mh(this,1)};f.setAuthor=function(a){n(this,1,a)};f.getPending=function(){return vi(this,3)};f.getTimestamp=function(){return W(this,ug,4)};f.setTimestamp=function(a){return Oh(this,ug,4,a)};f.hasTimestamp=function(){return qi(this,ug,4)};f.getIssueIdsList=function(){return Bg(this,5)};f.setIssueIdsList=function(a){return $h(this,5,a)};f.addIssueIds=function(a){eb(this,5,a)};zg.repeatedFields_=[5,6];
zg.prototype.toObject=function(){return Mcc(this)};var Mcc=function(a){if(null!=a)return t(a),{author:p(m(a,1)),changelistNumber:p(Cb(a,2)),pending:p(Db(a,3)),timestamp:pr(a.getTimestamp()),issueIdsList:p(Bg(a,5)),fixedIssueIdsList:p(Bg(a,6))}},Ncc=[zg,1,Cq,2,wq,3,zq,4,X,qr,5,oq,6,oq];zg.prototype.serializeBinary=u(Ncc);var GC=function(a){r.call(this,a,0,GC.messageId)};V(GC,r);GC.prototype.getNextPageToken=function(){return mh(this,2)};GC.repeatedFields_=[1];GC.prototype.toObject=function(){if(null!=this){t(this);var a={changelistsList:Mb(yg(this,zg,1),Mcc),nextPageToken:p(m(this,2))}}else a=void 0;return a};GC.prototype.serializeBinary=u([GC,1,Iq,Ncc,2,Cq]);GC.messageId="b.ListChangelistsResponse";var HC=function(a){r.call(this,a,0,HC.messageId)};V(HC,r);HC.repeatedFields_=[1];HC.prototype.toObject=function(){if(null!=this){t(this);var a={changelistNumbersList:p(xg(this,1))}}else a=void 0;return a};HC.prototype.serializeBinary=u([HC,1,xq]);HC.messageId="b.PendingChangelistsResponse";var IC=function(a){this.executor=a};IC.prototype.getPendingChangelistsForIssue=function(a){return this.executor.get({url:"action/issues/"+a+"/pending_changelists",responseConstructor:HC}).pipe(E(Tra))};IC.prototype.getChangelistDetails=function(a){return this.executor.get({url:"/action/changelists/"+a,responseConstructor:DC}).pipe(E(Wra))};IC.\u0275fac=function(a){return new (a||IC)(w(BC))};IC.\u0275prov=nc({token:IC,factory:IC.\u0275fac,providedIn:"root"});
var JC=function(a){this.changelistResources=a};JC.prototype.getPendingChangelistsForIssue=function(a){return(0,F.firstValueFrom)(this.changelistResources.getPendingChangelistsForIssue(a))};JC.prototype.getChangelistDetails=function(a){return(0,F.firstValueFrom)(this.changelistResources.getChangelistDetails(a))};JC.\u0275fac=function(a){return new (a||JC)(w(IC))};JC.\u0275prov=nc({token:JC,factory:JC.\u0275fac,providedIn:"root"});var Occ={ACCESS_LEVEL_UNSPECIFIED:"ACCESS_LEVEL_UNSPECIFIED",INTERNAL:"INTERNAL",EXTERNAL_PARTNER:"EXTERNAL_PARTNER",EXTERNAL_PUBLIC:"EXTERNAL_PUBLIC"},Dsa={0:"ACCESS_LEVEL_UNSPECIFIED",1:"INTERNAL",2:"EXTERNAL_PARTNER",3:"EXTERNAL_PUBLIC"},Fsa={ACCESS_LEVEL_UNSPECIFIED:0,INTERNAL:1,EXTERNAL_PARTNER:2,EXTERNAL_PUBLIC:3},dua={0:"ACCESS_LEVEL_UNSPECIFIED",1:"LIMIT_NONE",2:"LIMIT_VIEW",3:"LIMIT_APPEND",4:"LIMIT_VIEW_TRUSTED"},mua={ACCESS_LEVEL_UNSPECIFIED:0,LIMIT_NONE:1,LIMIT_VIEW:2,LIMIT_APPEND:3,LIMIT_VIEW_TRUSTED:4},
wua={ACTION_TYPE_UNSPECIFIED:0,ADD:1,REMOVE:2},Sta={0:"OFF",1:"ON"},Tta={OFF:0,ON:1},nIa={0:"CONFIDENCE_LEVEL_UNSPECIFIED",1:"VERY_HIGH",2:"HIGH",3:"MEDIUM",4:"LOW"},Pcc={CONFIDENCE_LEVEL_UNSPECIFIED:0,VERY_HIGH:1,HIGH:2,MEDIUM:3,LOW:4},fta={0:"UNKNOWN",1:"TEXT",2:"DATE",3:"ENUM",4:"NUMERIC",5:"REPEATED_TEXT",6:"REPEATED_DATE",7:"REPEATED_ENUM",8:"REPEATED_NUMERIC"},lta={UNKNOWN:0,TEXT:1,DATE:2,ENUM:3,NUMERIC:4,REPEATED_TEXT:5,REPEATED_DATE:6,REPEATED_ENUM:7,REPEATED_NUMERIC:8},Nta={0:"DAY_TYPE_UNSPECIFIED",
1:"CALENDAR",2:"BUSINESS"},Qta={DAY_TYPE_UNSPECIFIED:0,CALENDAR:1,BUSINESS:2},Zta={0:"DELETION_REASON_UNSPECIFIED",1:"USER_REQUEST",2:"ABUSE",3:"PII",4:"RETENTION"},kua={DELETION_REASON_UNSPECIFIED:0,USER_REQUEST:1,ABUSE:2,PII:3,RETENTION:4},Xva={1:"COMFORTABLE",2:"COZY",3:"COMPACT"},kwa={COMFORTABLE:1,COZY:2,COMPACT:3},pCa={0:"NO_DETAILED_TYPE",1:"UNRESTRICTED_GOOGLER",2:"TVC",3:"EXTERNAL",4:"PUBLIC",5:"ISSUE_CREATION_ONLY"},lva={0:"UNKNOWN_DIFF_TYPE",1:"SINGLE_VALUE",2:"COLLECTION",5:"USER_COLLECTION",
3:"LINKED_COLLECTION",4:"CUSTOM_FIELD",6:"STATUS_UPDATE"},hta={0:"UNKNOWN",1:"SILENT",2:"MINOR",3:"MAJOR",4:"BULK",5:"CLOSING"},mta={UNKNOWN:0,SILENT:1,MINOR:2,MAJOR:3,BULK:4,CLOSING:5},sj={0:"UNKNOWN_PRIORITY",4:"CLOSURE_ONLY",1:"MINIMAL",2:"IMPORTANT",3:"ALL"},Kj={UNKNOWN_PRIORITY:0,CLOSURE_ONLY:4,MINIMAL:1,IMPORTANT:2,ALL:3},Wva={0:"DEFAULT",1:"ASSIGNMENT",2:"RESPONSE",3:"CLOSURE"},jwa={DEFAULT:0,ASSIGNMENT:1,RESPONSE:2,CLOSURE:3},Ulb={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"},bva={0:"FIELD_ORDERING_UNSPECIFIED",1:"INHERITED",2:"CUSTOMIZED"},Qcc={FIELD_ORDERING_UNSPECIFIED:0,INHERITED:1,CUSTOMIZED:2},gta={0:"UNSPECIFIED",1:"INHERIT",2:"DISABLED",
3:"ENABLED"},Rcc={UNSPECIFIED_FORMATTING_AUDIENCE:0,INTERNAL_AUDIENCE:1,EXTERNAL_AUDIENCE:2},Scc={UNSPECIFIED_FORMATTING_MODE:"UNSPECIFIED_FORMATTING_MODE",PLAIN:"PLAIN",MARKDOWN:"MARKDOWN",LITERAL:"LITERAL"},Dva={0:"UNSPECIFIED_FORMATTING_MODE",1:"PLAIN",2:"MARKDOWN",3:"LITERAL"},iua={UNSPECIFIED_FORMATTING_MODE:0,PLAIN:1,MARKDOWN:2,LITERAL:3},Osa={0:"IMPLICIT_ACCESS_UNSPECIFIED",1:"ALLOW",2:"DENY"},Tcc={IMPLICIT_ACCESS_UNSPECIFIED:0,ALLOW:1,DENY:2},Qj={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"},ewa={1:Qj.ISSUE_ID,2:Qj.COMPONENT_PATH,3:Qj.TYPE,4:Qj.STATUS,5:Qj.PRIORITY,6:Qj.SEVERITY,7:Qj.REPORTER,8:Qj.ASSIGNEE,9:Qj.VERIFIER,10:Qj.CC,43:Qj.COLLABORATOR,11:Qj.CHANGELIST,32:Qj.POSTMORTEM,12:Qj.BLOCKING_ISSUE_ID,13:Qj.BLOCKED_BY_ISSUE_ID,14:Qj.CREATED_TIME,15:Qj.MODIFIED_TIME,16:Qj.RESOLVED_TIME,17:Qj.VERIFIED_TIME,38:Qj.DELETION_TIME,18:Qj.TITLE,19:Qj.FOUND_IN_VERSION,20:Qj.TARGETED_TO_VERSION,21:Qj.VERIFIED_IN_VERSION,22:Qj.IN_PROD,23:Qj.CANONICAL_ISSUE_ID,
24:Qj.CUSTOM_FIELD,25:Qj.POSITION,26:Qj.VOTE_COUNT,27:Qj.DUPLICATE_COUNT,28:Qj.CC_COUNT,44:Qj.COLLABORATOR_COUNT,29:Qj.MODIFIED_BY,30:Qj.LAST_MODIFIER,31:Qj.ARCHIVED,33:Qj.MIN_SLO,35:Qj.ASSIGNMENT_SLO,36:Qj.RESPONSE_SLO,37:Qj.CLOSURE_SLO,39:Qj.TEAM,40:Qj.ESTIMATE,41:Qj.ESTIMATE_TOTAL_OPEN,42:Qj.ESTIMATE_TOTAL_COMPLETE},swa={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},Cua={ISSUE_RELATION_UNSPECIFIED:0,BLOCKING:1,
BLOCKED_BY:2,DUPLICATE:3,CANONICAL:4},$ta={0:"TYPE_UNSPECIFIED",1:"BUG",2:"FEATURE_REQUEST",3:"CUSTOMER_ISSUE",4:"INTERNAL_CLEANUP",5:"PROCESS",6:"VULNERABILITY",7:"PRIVACY_ISSUE",8:"PROJECT",9:"FEATURE",10:"MILESTONE",11:"EPIC",12:"STORY",13:"TASK"},fua={TYPE_UNSPECIFIED:0,BUG:1,FEATURE_REQUEST:2,CUSTOMER_ISSUE:3,INTERNAL_CLEANUP:4,PROCESS:5,VULNERABILITY:6,PRIVACY_ISSUE:7,PROJECT:8,FEATURE:9,MILESTONE:10,EPIC:11,STORY:12,TASK:13},Tlb={0:"NODE_JOIN_TYPE_UNSPECIFIED",1:"AND",2:"OR",3:"ERR",4:"NIL"},
Ucc={UNKNOWN_SUBSCRIPTION:"UNKNOWN_SUBSCRIPTION",UNSUBSCRIBED:"UNSUBSCRIBED",SUBSCRIBED_CLOSURE_ONLY:"SUBSCRIBED_CLOSURE_ONLY",SUBSCRIBED_MAJOR_UPDATES:"SUBSCRIBED_MAJOR_UPDATES",SUBSCRIBED_ALL_UPDATES:"SUBSCRIBED_ALL_UPDATES"},qva={0:"UNKNOWN_SUBSCRIPTION",1:"UNSUBSCRIBED",2:"SUBSCRIBED_CLOSURE_ONLY",3:"SUBSCRIBED_MAJOR_UPDATES",4:"SUBSCRIBED_ALL_UPDATES"},zua={UNKNOWN_SUBSCRIPTION:0,UNSUBSCRIBED:1,SUBSCRIBED_CLOSURE_ONLY:2,SUBSCRIBED_MAJOR_UPDATES:3,SUBSCRIBED_ALL_UPDATES:4},Vlb={0:"OPERATOR_UNSPECIFIED",
1:"EQ",2:"GT",3:"LT",4:"GE",5:"LE"},iFb={0:"UNKNOWN_PERMISSION",1:"OPEN_TO_JOIN"},Ata={0:"PII_SEVERITY_UNSPECIFIED",1:"NONE_DETECTED",2:"PII",3:"SPII"},oCa={0:"PRINCIPAL_TYPE_UNSPECIFIED",1:"NON_GAIA",2:"USER",3:"GROUP",4:"ALIAS"},Vcc={PRIORITY_UNSPECIFIED:"PRIORITY_UNSPECIFIED",P0:"P0",P1:"P1",P2:"P2",P3:"P3",P4:"P4"},aua={0:"PRIORITY_UNSPECIFIED",1:"P0",2:"P1",3:"P2",4:"P3",5:"P4"},gua={PRIORITY_UNSPECIFIED:0,P0:1,P1:2,P2:3,P3:4,P4:5},Wcc={REACTION_TYPE_UNSPECIFIED:"REACTION_TYPE_UNSPECIFIED",UPVOTE:"UPVOTE"},
Gva={0:"REACTION_TYPE_UNSPECIFIED",1:"UPVOTE"},Xcc={REACTION_TYPE_UNSPECIFIED:0,UPVOTE:1},Oua={0:"UNSPECIFIED",1:"USER_REQUEST",2:"ABUSE",3:"PII",4:"RETENTION"},jIa={REJECTION_REASON_UNSPECIFIED:0,REVERSED:1,SIMILAR:2,NOT_SIMILAR:3,OTHER:4},MAa={0:"UNKNOWN",1:"HOTLIST",2:"BOOKMARK_GROUP",3:"SAVED_SEARCH"},Ycc={UNKNOWN:0,HOTLIST:1,BOOKMARK_GROUP:2,SAVED_SEARCH:3},Zcc={RETENTION_UNSPECIFIED:"RETENTION_UNSPECIFIED",COMPONENT_DEFAULT:"COMPONENT_DEFAULT",INDEFINITE:"INDEFINITE"},Yta={0:"RETENTION_UNSPECIFIED",
1:"COMPONENT_DEFAULT",2:"INDEFINITE"},jua={RETENTION_UNSPECIFIED:0,COMPONENT_DEFAULT:1,INDEFINITE:2},$cc={UNSPECIFIED_RETENTION:"UNSPECIFIED_RETENTION",BUGANIZER_DEFAULT:"BUGANIZER_DEFAULT",CUSTOM_PERIOD:"CUSTOM_PERIOD",INDEFINITE_RETENTION:"INDEFINITE_RETENTION"},vta={0:"UNSPECIFIED_RETENTION",1:"BUGANIZER_DEFAULT",2:"CUSTOM_PERIOD",3:"INDEFINITE_RETENTION"},xta={UNSPECIFIED_RETENTION:0,BUGANIZER_DEFAULT:1,CUSTOM_PERIOD:2,INDEFINITE_RETENTION:3},bua={0:"SEVERITY_UNSPECIFIED",1:"S0",2:"S1",3:"S2",
4:"S3",5:"S4"},hua={SEVERITY_UNSPECIFIED:0,S0:1,S1:2,S2:3,S3:4,S4:5},adc={SIGNAL_TYPE_UNKNOWN:"SIGNAL_TYPE_UNKNOWN",NEAR_SLO:"NEAR_SLO",MENTIONED:"MENTIONED",REPLIED_TO_MENTION:"REPLIED_TO_MENTION",NEWLY_BLOCKING:"NEWLY_BLOCKING",UNBLOCKED:"UNBLOCKED",ASSIGNED:"ASSIGNED",NEEDS_REPORTER_INPUT:"NEEDS_REPORTER_INPUT"},fwa={0:"SIGNAL_TYPE_UNKNOWN",1:"NEAR_SLO",2:"MENTIONED",6:"REPLIED_TO_MENTION",7:"NEWLY_BLOCKING",3:"UNBLOCKED",5:"ASSIGNED",4:"NEEDS_REPORTER_INPUT"},uwa={SIGNAL_TYPE_UNKNOWN:0,NEAR_SLO:1,
MENTIONED:2,REPLIED_TO_MENTION:6,NEWLY_BLOCKING:7,UNBLOCKED:3,ASSIGNED:5,NEEDS_REPORTER_INPUT:4},Plb={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"},hFb={0:"UNKNOWN",1:"NORMAL",2:"LARGE",3:"HUGE",4:"ENORMOUS"},Mta={0:"METRIC_UNSPECIFIED",1:"ASSIGNMENT",2:"RESPONSE",3:"CLOSURE"},Pta={METRIC_UNSPECIFIED:0,ASSIGNMENT:1,RESPONSE:2,CLOSURE:3},cua={0:"SLO_SNOOZE_TYPE_UNSPECIFIED",
1:"STARTS_ON",2:"ASSIGNMENT_ETA",3:"RESPONSE_ETA",4:"CLOSURE_ETA"},lua={SLO_SNOOZE_TYPE_UNSPECIFIED:0,STARTS_ON:1,ASSIGNMENT_ETA:2,RESPONSE_ETA:3,CLOSURE_ETA:4},ava={0:"SLO_SOURCE_UNSPECIFIED",1:"USER",2:"BUGSCOPE"},Fta={SLO_SOURCE_UNSPECIFIED:0,USER:1,BUGSCOPE:2},$sa={0:"UNSPECIFIED",1:"REPORTER",2:"ASSIGNEE",3:"VERIFIER",4:"CC",5:"TYPE",6:"STATUS",7:"PRIORITY",8:"SEVERITY",9:"CHANGELISTS",10:"PENDING_CHANGELISTS",11:"POSTMORTEMS",12:"FOUND_IN",13:"TARGETED_TO",14:"VERIFIED_IN",15:"IN_PRODUCTION",
16:"SLO_STATUS",17:"TEAM",18:"COLLABORATORS"},bta={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},snb={0:"STATE_UNSPECIFIED",1:"STATE_DISABLED",2:"STATE_ENABLED"},bdc={STATUS_UNSPECIFIED:"STATUS_UNSPECIFIED",NEW:"NEW",ASSIGNED:"ASSIGNED",ACCEPTED:"ACCEPTED",FIXED:"FIXED",VERIFIED:"VERIFIED",NOT_REPRODUCIBLE:"NOT_REPRODUCIBLE",
INTENDED_BEHAVIOR:"INTENDED_BEHAVIOR",OBSOLETE:"OBSOLETE",INFEASIBLE:"INFEASIBLE",DUPLICATE:"DUPLICATE"},Uh={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"},Zh={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},Pua={0:"ACTIVE",1:"DELETED",2:"PURGED"},Nva={0:"THEME_UNSPECIFIED",1:"GOOGLE",
2:"OPEN_SOURCE"},DAa={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"},FAa={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},Xlb={0:"QUERY_BUILDER_RESPONSE_TYPE_UNSPECIFIED",
1:"AND",2:"OR"},mIa={0:"TYPE_UNSPECIFIED",1:"ISSUE_DEDUPLICATION"},cdc={TYPE_UNSPECIFIED:0,ISSUE_DEDUPLICATION:1},iIa={TYPE_UNSPECIFIED:0,VIEWED:1,ACCEPTED:2,REJECTED:3},Ksa={0:"UNSPECIFIED",1:"ACTIVE",2:"DELETED",3:"UNAVAILABLE"},Lsa={UNSPECIFIED:0,ACTIVE:1,DELETED:2,UNAVAILABLE:3},tnb={0:"USER_GROUP_UNSPECIFIED",1:"USER_GROUP_BUGANIZER_TEAM",2:"USER_GROUP_TRUSTED_TESTER"},Rlb={0:"VALUE_TYPE_UNSPECIFIED",1:"NOT",2:"OR",3:"AND",4:"RANGE",5:"SIMPLE"},ddc={VIEW_UNSPECIFIED:0,BASIC:1,FULL:2};var dsa=Object.prototype.hasOwnProperty;var Og=function(a){this.customFieldId=a.customFieldId;this.displayValues=a.displayValues;this.textValue=a.textValue;this.dateValue=a.dateValue;this.enumValue=a.enumValue;this.numericValue=a.numericValue;this.repeatedTextValue=a.repeatedTextValue;this.repeatedDateValue=a.repeatedDateValue;this.repeatedEnumValue=a.repeatedEnumValue;this.repeatedNumericValue=a.repeatedNumericValue};
Og.prototype.getValue=function(){return 0===this.numericValue?this.numericValue:this.textValue||this.dateValue||this.enumValue||this.numericValue||this.repeatedTextValue||this.repeatedDateValue||this.repeatedEnumValue||this.repeatedNumericValue||null};Og.prototype.isEmpty=function(){var a=this.getValue();return null==a?!0:"string"===typeof a?""===a:"number"===typeof a?!1:null!=a.values?0===a.values.length:!a||!a.day||!a.month||!a.year};var ysa={UNSPECIFIED:0,INHERIT:1,DISABLED:2,ENABLED:3};var qh=function(a){r.call(this,a,0,qh.messageId)};V(qh,r);f=qh.prototype;f.getCustomFieldId=function(){return Wh(this,ym(this,KC,1))};f.setCustomFieldId=function(a){return mm(this,1,KC,a)};f.hasCustomFieldId=function(){return null!=bq(this,1,KC)};f.getStandardField=function(){return Fh(this,ym(this,KC,2),0)};f.setStandardField=function(a){mm(this,2,KC,a)};var KC=[1,2];qh.prototype.toObject=function(){return edc(this)};
var edc=function(a){if(null!=a)return t(a),{customFieldId:p(bq(a,1,KC)),standardField:p(Up(a,ym(a,KC,2)))}},fdc=[qh,1,tq,KC,2,Rq,KC];qh.prototype.serializeBinary=u(fdc);qh.messageId="b.FieldId";var LC=function(a){r.call(this,a,0,LC.messageId)};V(LC,r);f=LC.prototype;f.getFieldId=function(){return W(this,qh,1)};f.setFieldId=function(a){Oh(this,qh,1,a)};f.getStateOnIssues=function(){return Fh(this,2,0)};f.setStateOnIssues=function(a){n(this,2,a)};f.getEnabledOnIssues=function(){return vi(this,3)};f.setEnabledOnIssues=function(a){xi(this,3,a)};
f.toObject=function(){if(null!=this){t(this);var a={fieldId:edc(this.getFieldId()),stateOnIssues:p(m(this,2)),enabledOnIssues:p(Db(this,3))}}else a=void 0;return a};f.serializeBinary=u([LC,1,X,fdc,2,Nq,3,zq]);LC.messageId="b.FieldConfig";var Ng=function(){this.required=!1;this.allowedValue=null;this.stateOnIssues=1;this.shared=!1;this.type="TEXT";this.fieldSignificance="MINOR"};Ng.prototype.isDate=function(){return"DATE"===this.type};Ng.prototype.isText=function(){return"TEXT"===this.type};Ng.prototype.isNumeric=function(){return"NUMERIC"===this.type};Ng.prototype.isRepeated=function(){return["REPEATED_TEXT","REPEATED_DATE","REPEATED_ENUM","REPEATED_NUMERIC"].includes(this.type)};var nFb=new Set([{alias:"googlers_unrestricted"},{alias:"google_domain"}].map(function(a){return"ALIAS:"+a.alias})),gdc={AGGREGATION_TYPE_UNSPECIFIED:"AGGREGATION_TYPE_UNSPECIFIED",SUM:"SUM",MAX:"MAX"};var Pg=function(a){r.call(this,a,0,Pg.messageId)};V(Pg,r);Pg.prototype.getAccessLevel=function(){return Fh(this,1,0)};Pg.prototype.setAccessLevel=function(a){return n(this,1,a)};Pg.prototype.toObject=function(){return hdc(this)};var hdc=function(a){if(null!=a)return t(a),{accessLevel:p(m(a,1))}},idc=[Pg,1,Nq];Pg.prototype.serializeBinary=u(idc);Pg.messageId="b.AccessLimit";var Lh=function(a){r.call(this,a)};V(Lh,r);f=Lh.prototype;f.getEmailAddress=function(){return mh(this,1)};f.setEmailAddress=function(a){mb(this,1,a)};f.getObfuscatedEmailAddress=function(){return mh(this,2)};f.setObfuscatedEmailAddress=function(a){mb(this,2,a)};f.getUserGaiaStatus=function(){return Fh(this,3,0)};f.setUserGaiaStatus=function(a){Dh(this,3,a)};f.getAliasesList=function(){return Cg(this,4)};f.setAliasesList=function(a){uh(this,4,a)};Lh.repeatedFields_=[4];Lh.prototype.toObject=function(){return MC(this)};
var MC=function(a){if(null!=a)return t(a),{emailAddress:mh(a,1),obfuscatedEmailAddress:mh(a,2),userGaiaStatus:Fh(a,3,0),aliasesList:p(Cg(a,4))}},NC=[Lh,1,Eq,2,Eq,3,Qq,4,Dq];Lh.prototype.serializeBinary=u(NC);var Wg=function(a){r.call(this,a)};V(Wg,r);f=Wg.prototype;f.getEmailAddress=function(){return mh(this,1)};f.setEmailAddress=function(a){n(this,1,a)};f.getObfuscatedEmailAddress=function(){return mh(this,2)};f.setObfuscatedEmailAddress=function(a){n(this,2,a)};f.getUserGaiaStatus=function(){return Fh(this,3,0)};f.setUserGaiaStatus=function(a){n(this,3,a)};f.getAliasesList=function(){return Cg(this,4)};f.setAliasesList=function(a){uh(this,4,a)};Wg.repeatedFields_=[4];Wg.prototype.toObject=function(){return OC(this)};
var OC=function(a){if(null!=a)return t(a),{emailAddress:p(m(a,1)),obfuscatedEmailAddress:p(m(a,2)),userGaiaStatus:p(m(a,3)),aliasesList:p(Cg(a,4))}},PC=[Wg,1,Cq,2,Cq,3,Nq,4,Dq];Wg.prototype.serializeBinary=u(PC);var fh=function(a){r.call(this,a)};V(fh,r);f=fh.prototype;f.getUser=function(){return Fi(this,Wg,1,QC)};f.setUser=function(a){sm(this,1,QC,a)};f.hasUser=function(){return Di(this,Wg,1,QC)};f.getGroup=function(){return Fi(this,Wg,2,QC)};f.setGroup=function(a){sm(this,2,QC,a)};f.getAlias=function(){return aq(this,3,QC)};f.setAlias=function(a){mm(this,3,QC,a)};var QC=[1,2,3];fh.prototype.toObject=function(){return RC(this)};
var RC=function(a){if(null!=a)return t(a),{user:OC(a.getUser()),group:OC(a.getGroup()),alias:p(Am(a,3,QC))}},SC=[fh,1,Jq,PC,QC,2,Jq,PC,QC,3,Fq,QC];fh.prototype.serializeBinary=u(SC);var TC=function(a){r.call(this,a,0,TC.messageId)};V(TC,r);f=TC.prototype;f.getAdminsList=function(){return yg(this,fh,2)};f.setAdminsList=function(a){Th(this,2,a)};f.getInheritedAdminsList=function(){return yg(this,fh,3)};f.getEditorsList=function(){return yg(this,fh,4)};f.setEditorsList=function(a){Th(this,4,a)};f.getImplicitEditorsList=function(){return yg(this,fh,5)};f.getAppendersList=function(){return yg(this,fh,6)};f.setAppendersList=function(a){Th(this,6,a)};
f.getImplicitAppendersList=function(){return yg(this,fh,7)};f.getReadersList=function(){return yg(this,fh,8)};f.setReadersList=function(a){Th(this,8,a)};f.getImplicitReadersList=function(){return yg(this,fh,9)};f.getRestrictedReadersList=function(){return yg(this,fh,11)};f.setRestrictedReadersList=function(a){Th(this,11,a)};f.getRestrictedPlusReadersList=function(){return yg(this,fh,12)};f.setRestrictedPlusReadersList=function(a){Th(this,12,a)};f.getImplicitAccess=function(){return Fh(this,10,0)};
f.setImplicitAccess=function(a){return n(this,10,a)};TC.repeatedFields_=[2,3,4,5,6,7,8,9,11,12];
TC.prototype.toObject=function(){if(null!=this){t(this);var a={adminsList:Mb(this.getAdminsList(),RC),inheritedAdminsList:Mb(this.getInheritedAdminsList(),RC),editorsList:Mb(this.getEditorsList(),RC),implicitEditorsList:Mb(this.getImplicitEditorsList(),RC),appendersList:Mb(this.getAppendersList(),RC),implicitAppendersList:Mb(this.getImplicitAppendersList(),RC),readersList:Mb(this.getReadersList(),RC),implicitReadersList:Mb(this.getImplicitReadersList(),RC),restrictedReadersList:Mb(this.getRestrictedReadersList(),
RC),restrictedPlusReadersList:Mb(this.getRestrictedPlusReadersList(),RC),implicitAccess:p(m(this,10))}}else a=void 0;return a};TC.prototype.serializeBinary=u([TC,2,Iq,SC,3,Iq,SC,4,Iq,SC,5,Iq,SC,6,Iq,SC,7,Iq,SC,8,Iq,SC,9,Iq,SC,11,Iq,SC,12,Iq,SC,10,Nq]);TC.messageId="b.AccessPolicy";var nh=function(a){r.call(this,a,0,nh.messageId)};V(nh,r);f=nh.prototype;f.getResourcePath=function(){return mh(this,2)};f.setResourcePath=function(a){return n(this,2,a)};f.hasResourcePath=function(){return jj(this,2)};f.getSeverity=function(){return Fh(this,3,0)};f.setSeverity=function(a){return n(this,3,a)};f.hasSeverity=function(){return Vh(this,3)};f.getJudgementReason=function(){return mh(this,4)};f.setJudgementReason=function(a){return n(this,4,a)};f.toObject=function(){return UC(this)};
var UC=function(a){if(null!=a)return t(a),{contentJudgementId:p(m(a,1)),resourcePath:p(m(a,2)),severity:p(m(a,3)),judgementReason:p(m(a,4)),contentJudge:p(m(a,5))}},VC=[nh,1,mq,2,Cq,3,Nq,4,Cq,5,Cq];nh.prototype.serializeBinary=u(VC);nh.messageId="b.ContentJudgement";var jdc={PII_SEVERITY_UNSPECIFIED:0,NONE_DETECTED:1,PII:2,SPII:3};var xh=function(a){r.call(this,a)};V(xh,r);xh.prototype.getValuesList=function(){return yg(this,sg,1)};xh.prototype.setValuesList=function(a){Th(this,1,a)};xh.prototype.setValues=function(a,b){Np(this,1,sg,a,b)};xh.repeatedFields_=[1];xh.prototype.toObject=function(){return kdc(this)};var kdc=function(a){if(null!=a)return t(a),{valuesList:Mb(a.getValuesList(),ZA)}},ldc=[xh,1,Iq,$A];xh.prototype.serializeBinary=u(ldc);var wh=function(a){r.call(this,a)};V(wh,r);wh.prototype.getValuesList=function(){return Op(this,1)};wh.prototype.setValuesList=function(a){bb(this,1,a,Aba)};wh.prototype.getValues=function(a){return YMb(this,a)};wh.prototype.setValues=function(a,b){fb(this,1,a,zba(b),Op)};wh.repeatedFields_=[1];wh.prototype.toObject=function(){return mdc(this)};var mdc=function(a){if(null!=a)return t(a),{valuesList:p(Op(a,1))}},ndc=[wh,1,dNb];wh.prototype.serializeBinary=u(ndc);var vh=function(a){r.call(this,a)};V(vh,r);vh.prototype.getValuesList=function(){return Cg(this,1)};vh.prototype.setValuesList=function(a){uh(this,1,a)};vh.prototype.getValues=function(a){return Zp(this,1,a)};vh.prototype.setValues=function(a,b){fb(this,1,a,b,Cg)};vh.repeatedFields_=[1];vh.prototype.toObject=function(){return odc(this)};var odc=function(a){if(null!=a)return t(a),{valuesList:p(Cg(a,1))}},pdc=[vh,1,Dq];vh.prototype.serializeBinary=u(pdc);var th=function(a){r.call(this,a)};V(th,r);f=th.prototype;f.getCustomFieldId=function(){return lh(this,1)};f.setCustomFieldId=function(a){return n(this,1,a)};f.hasCustomFieldId=function(){return kh(this,1)};f.getDisplayValues=function(){return Zp(this,12)};f.setDisplayValues=function(a,b){fb(this,12,a,b,Cg)};f.getTextValue=function(){return aq(this,4,sh)};f.setTextValue=function(a){mm(this,4,sh,a)};f.getDateValue=function(){return Fi(this,sg,5,sh)};f.setDateValue=function(a){sm(this,5,sh,a)};
f.getEnumValue=function(){return aq(this,6,sh)};f.setEnumValue=function(a){mm(this,6,sh,a)};f.getNumericValue=function(){return Xh(this,ym(this,sh,7))};f.setNumericValue=function(a){mm(this,7,sh,Pa(a))};f.getRepeatedTextValue=function(){return Fi(this,vh,8,sh)};f.setRepeatedTextValue=function(a){sm(this,8,sh,a)};f.getRepeatedDateValue=function(){return Fi(this,xh,9,sh)};f.setRepeatedDateValue=function(a){sm(this,9,sh,a)};f.getRepeatedEnumValue=function(){return Fi(this,vh,10,sh)};
f.setRepeatedEnumValue=function(a){sm(this,10,sh,a)};f.getRepeatedNumericValue=function(){return Fi(this,wh,11,sh)};f.setRepeatedNumericValue=function(a){sm(this,11,sh,a)};th.repeatedFields_=[12];var sh=[4,5,6,7,8,9,10,11];th.prototype.toObject=function(){return qdc(this)};
var qdc=function(a){if(null!=a)return t(a),{customFieldId:p(m(a,1)),displayValuesList:p(Cg(a,12)),textValue:p(Am(a,4,sh)),dateValue:ZA(a.getDateValue()),enumValue:p(Am(a,6,sh)),numericValue:p(zm(a,7,sh)),repeatedTextValue:odc(a.getRepeatedTextValue()),repeatedDateValue:kdc(a.getRepeatedDateValue()),repeatedEnumValue:odc(a.getRepeatedEnumValue()),repeatedNumericValue:mdc(a.getRepeatedNumericValue())}},rdc=[th,1,mq,12,Dq,4,Fq,sh,5,Jq,$A,sh,6,Fq,sh,7,kq,sh,8,Jq,pdc,sh,9,Jq,ldc,sh,10,Jq,pdc,sh,11,Jq,
ndc,sh];th.prototype.serializeBinary=u(rdc);var yh=function(a){r.call(this,a)};V(yh,r);f=yh.prototype;f.getCustomFieldId=function(){return lh(this,1)};f.setCustomFieldId=function(a){return n(this,1,a)};f.hasCustomFieldId=function(){return kh(this,1)};f.getComponentId=function(){return lh(this,2)};f.setComponentId=function(a){return n(this,2,a)};f.hasComponentId=function(){return kh(this,2)};f.getType=function(){return Fh(this,3,0)};f.setType=function(a){return n(this,3,a)};f.hasType=function(){return Vh(this,3)};
f.getRequired=function(){return vi(this,4)};f.setRequired=function(a){xi(this,4,a)};f.getName=function(){return mh(this,5)};f.setName=function(a){return n(this,5,a)};f.hasName=function(){return jj(this,5)};f.getNameOrUndefined=function(){return eq(this,5)};f.getDescription=function(){return mh(this,6)};f.setDescription=function(a){return n(this,6,a)};f.hasDescription=function(){return jj(this,6)};f.getTypedDefaultValue=function(){return W(this,th,10)};
f.setTypedDefaultValue=function(a){Oh(this,th,10,a)};f.getFieldSignificance=function(){return Fh(this,9,0)};f.setFieldSignificance=function(a){return n(this,9,a)};f.getStateOnIssues=function(){return Fh(this,11,0)};f.setStateOnIssues=function(a){n(this,11,a)};f.getEnabledOnIssues=function(){return vi(this,12)};f.setEnabledOnIssues=function(a){xi(this,12,a)};f.getShared=function(){return vi(this,13)};f.setShared=function(a){xi(this,13,a)};yh.repeatedFields_=[8];yh.prototype.toObject=function(){return sdc(this)};
var sdc=function(a){if(null!=a)return t(a),{customFieldId:p(m(a,1)),componentId:p(m(a,2)),type:p(m(a,3)),required:p(Db(a,4)),name:p(m(a,5)),description:p(m(a,6)),typedDefaultValue:qdc(a.getTypedDefaultValue()),allowedValueList:p(Cg(a,8)),fieldSignificance:p(m(a,9)),stateOnIssues:p(m(a,11)),enabledOnIssues:p(Db(a,12)),shared:p(Db(a,13))}},tdc=[yh,1,mq,2,mq,3,Nq,4,zq,5,Cq,6,Cq,10,X,rdc,8,Dq,9,Nq,11,Nq,12,zq,13,zq];yh.prototype.serializeBinary=u(tdc);var Ch=function(a){r.call(this,a)};V(Ch,r);f=Ch.prototype;f.getLabel=function(){return mh(this,1)};f.setLabel=function(a){return mb(this,1,a)};f.getValue=function(){return Xh(this,2)};f.setValue=function(a){return cb(this,2,Pa(a),0)};f.toObject=function(){return udc(this)};var udc=function(a){if(null!=a)return t(a),{label:mh(a,1),value:Xh(a,2)}},vdc=[Ch,1,Eq,2,jq];Ch.prototype.serializeBinary=u(vdc);var Bh=function(a){r.call(this,a)};V(Bh,r);Bh.prototype.getOptionsList=function(){return yg(this,Ch,1)};Bh.prototype.setOptionsList=function(a){return Th(this,1,a)};Bh.prototype.setOptions=function(a){Np(this,1,Ch,a)};Bh.repeatedFields_=[1];Bh.prototype.toObject=function(){return wdc(this)};var wdc=function(a){if(null!=a)return t(a),{optionsList:Mb(a.getOptionsList(),udc)}},xdc=[Bh,1,Iq,vdc];Bh.prototype.serializeBinary=u(xdc);var Ah=function(a){r.call(this,a)};V(Ah,r);var pta=function(a,b){return cb(a,1,Pa(b),0)};Ah.prototype.toObject=function(){return ydc(this)};var ydc=function(a){if(null!=a)return t(a),{multiplier:Xh(a,1)}},zdc=[Ah,1,jq];Ah.prototype.serializeBinary=u(zdc);var zh=function(a){r.call(this,a)};V(zh,r);f=zh.prototype;f.getInherit=function(){return vi(this,1)};f.setInherit=function(a){jb(this,1,a)};f.getId=function(){return Wh(this,2)};f.setId=function(a){return lb(this,2,a)};f.getName=function(){return mh(this,3)};f.setName=function(a){return mb(this,3,a)};var ota=function(a,b){sm(a,4,Ei,b)},qta=function(a,b){sm(a,5,Ei,b)};zh.prototype.getCustomFieldId=function(){return Wh(this,100)};zh.prototype.setCustomFieldId=function(a){return lb(this,100,a)};
var Ei=[4,5];zh.prototype.toObject=function(){return Adc(this)};var Adc=function(a){if(null!=a)return t(a),{inherit:vi(a,1),id:Wh(a,2),name:mh(a,3),numericSpec:ydc(Fi(a,Ah,4,Ei)),enumSpec:wdc(Fi(a,Bh,5,Ei)),aggregationType:Fh(a,6,0),customFieldId:Wh(a,100)}},Bdc=[zh,1,Aq,2,sq,3,Eq,4,Jq,zdc,Ei,5,Jq,xdc,Ei,6,Qq,100,sq];zh.prototype.serializeBinary=u(Bdc);var ai=function(a){r.call(this,a)};V(ai,r);ai.prototype.toObject=function(){return Cdc(this)};var Cdc=function(a){if(null!=a)return t(a),{specId:Wh(a,1),estimate:mh(a,2),averageDays:Xh(a,3),totalOpen:Xh(a,4),totalComplete:Xh(a,5)}},Ddc=[ai,1,sq,2,Eq,3,jq,4,jq,5,jq];ai.prototype.serializeBinary=u(Ddc);var WC=function(a){r.call(this,a)};V(WC,r);f=WC.prototype;f.getStartTime=function(){return W(this,ug,1)};f.setStartTime=function(a){Oh(this,ug,1,a)};f.getEndTime=function(){return W(this,ug,2)};f.setEndTime=function(a){Oh(this,ug,2,a)};f.getTargetTime=function(){return W(this,ug,3)};f.setTargetTime=function(a){Oh(this,ug,3,a)};f.getObjective=function(){return W(this,wg,4)};f.setObjective=function(a){return Oh(this,wg,4,a)};f.getBusinessDays=function(){return Ag(this,5)};
f.setBusinessDays=function(a){return kb(this,5,a)};f.getDayType=function(){return Fh(this,6,0)};f.setDayType=function(a){return Dh(this,6,a)};f.toObject=function(){return Edc(this)};var Edc=function(a){if(null!=a)return t(a),{startTime:pr(a.getStartTime()),endTime:pr(a.getEndTime()),targetTime:pr(a.getTargetTime()),objective:Es(a.getObjective()),businessDays:Ag(a,5),dayType:Fh(a,6,0)}},Fdc=[WC,1,X,qr,2,X,qr,3,X,qr,4,X,Fs,5,yq,6,Qq];WC.prototype.serializeBinary=u(Fdc);var XC=function(a){r.call(this,a)};V(XC,r);f=XC.prototype;f.getAssignmentBounds=function(){return W(this,WC,1)};f.setAssignmentBounds=function(a){Oh(this,WC,1,a)};f.hasAssignmentBounds=function(){return qi(this,WC,1)};f.getResponseBounds=function(){return W(this,WC,2)};f.setResponseBounds=function(a){Oh(this,WC,2,a)};f.hasResponseBounds=function(){return qi(this,WC,2)};f.getClosureBounds=function(){return W(this,WC,3)};f.setClosureBounds=function(a){Oh(this,WC,3,a)};
f.hasClosureBounds=function(){return qi(this,WC,3)};f.toObject=function(){return Gdc(this)};var Gdc=function(a){if(null!=a)return t(a),{assignmentBounds:Edc(a.getAssignmentBounds()),responseBounds:Edc(a.getResponseBounds()),closureBounds:Edc(a.getClosureBounds())}},Hdc=[XC,1,X,Fdc,2,X,Fdc,3,X,Fdc];XC.prototype.serializeBinary=u(Hdc);var ni=function(a){r.call(this,a)};V(ni,r);ni.prototype.getSourceIssueIdsList=function(){return Wj(this,1)};ni.prototype.setSourceIssueIdsList=function(a){return bb(this,1,a,Ta)};ni.repeatedFields_=[1];ni.prototype.toObject=function(){return Idc(this)};var Idc=function(a){if(null!=a)return t(a),{sourceIssueIdsList:p(Wj(a,1))}},Jdc=[ni,1,rq];ni.prototype.serializeBinary=u(Jdc);var YC=function(a){r.call(this,a)};V(YC,r);YC.prototype.getBlobRef=function(){return si(this,2)};YC.prototype.toObject=function(){return Kdc(this)};var Kdc=function(a){if(null!=a)return t(a),{resourceName:mh(a,1),blobRef:Qb(a.getBlobRef())}},Ldc=[YC,1,Eq,2,Lq];YC.prototype.serializeBinary=u(Ldc);var ZC=function(a){r.call(this,a)};V(ZC,r);ZC.prototype.getSeverity=function(){return Fh(this,1,0)};ZC.prototype.setSeverity=function(a){return Dh(this,1,a)};ZC.prototype.toObject=function(){return Mdc(this)};var Mdc=function(a){if(null!=a)return t(a),{severity:Fh(a,1,0)}},Ndc=[ZC,1,Qq];ZC.prototype.serializeBinary=u(Ndc);var $C=function(a){r.call(this,a)};V($C,r);$C.prototype.toObject=function(){return Odc(this)};var Odc=function(a){if(null!=a)return t(a),{restrictionVerdict:Mdc(W(a,ZC,1))}},Pdc=[$C,1,X,Ndc];$C.prototype.serializeBinary=u(Pdc);var aD=function(a){r.call(this,a)};V(aD,r);f=aD.prototype;f.getStatus=function(){return Fh(this,1,0)};f.setStatus=function(a){return Dh(this,1,a)};f.getReason=function(){return Fh(this,2,0)};f.setReason=function(a){Dh(this,2,a)};f.toObject=function(){return Qdc(this)};var Qdc=function(a){if(null!=a)return t(a),{status:Fh(a,1,0),reason:Fh(a,2,0)}},Rdc=[aD,1,Qq,2,Qq];aD.prototype.serializeBinary=u(Rdc);var bD=function(a){r.call(this,a)};V(bD,r);f=bD.prototype;f.getRetentionPeriod=function(){return W(this,wg,1)};f.setRetentionPeriod=function(a){Oh(this,wg,1,a)};f.getScheduledDeletionTime=function(){return W(this,ug,2)};f.setScheduledDeletionTime=function(a){Oh(this,ug,2,a)};f.toObject=function(){return Sdc(this)};var Sdc=function(a){if(null!=a)return t(a),{retentionPeriod:Es(a.getRetentionPeriod()),scheduledDeletionTime:pr(a.getScheduledDeletionTime())}},Tdc=[bD,1,X,Fs,2,X,qr];
bD.prototype.serializeBinary=u(Tdc);var cD=function(a){r.call(this,a)};V(cD,r);f=cD.prototype;f.getAttachmentId=function(){return Wh(this,1)};f.setAttachmentId=function(a){lb(this,1,a)};f.getContentType=function(){return mh(this,2)};f.getLength=function(){return Wh(this,3)};f.getFilename=function(){return mh(this,4)};f.setFilename=function(a){mb(this,4,a)};f.getEntityStatus=function(){return W(this,aD,6)};f.getEtag=function(){return si(this,7)};f.setEtag=function(a){UMb(this,7,a)};f.getContentVerdict=function(){return W(this,$C,10)};
f.getRestrictedRetentionState=function(){return W(this,bD,11)};f.toObject=function(){return Udc(this)};
var Udc=function(a){if(null!=a)return t(a),{attachmentId:Wh(a,1),contentType:mh(a,2),length:Wh(a,3),filename:mh(a,4),attachmentDataRef:Kdc(W(a,YC,5)),entityStatus:Qdc(a.getEntityStatus()),etag:Qb(a.getEtag()),contentVerdict:Odc(a.getContentVerdict()),restrictedRetentionState:Sdc(a.getRestrictedRetentionState()),restrictedRetention:Fh(a,12,0)}},Vdc=[cD,1,sq,2,Eq,3,sq,4,Eq,5,X,Ldc,6,X,Rdc,7,Lq,10,X,Pdc,11,X,Tdc,12,Qq];cD.prototype.serializeBinary=u(Vdc);var dD=function(a){r.call(this,a)};V(dD,r);dD.prototype.getValuesList=function(){return yg(this,sg,1)};dD.prototype.setValuesList=function(a){Th(this,1,a)};dD.prototype.setValues=function(a,b){Np(this,1,sg,a,b)};dD.repeatedFields_=[1];dD.prototype.toObject=function(){return Wdc(this)};var Wdc=function(a){if(null!=a)return t(a),{valuesList:Mb(a.getValuesList(),ZA)}},Xdc=[dD,1,Iq,$A];dD.prototype.serializeBinary=u(Xdc);var eD=function(a){r.call(this,a)};V(eD,r);eD.prototype.getValuesList=function(){return Op(this,1)};eD.prototype.setValuesList=function(a){bb(this,1,a,Aba)};eD.prototype.getValues=function(a){return YMb(this,a)};eD.prototype.setValues=function(a,b){fb(this,1,a,zba(b),Op)};eD.repeatedFields_=[1];eD.prototype.toObject=function(){return Ydc(this)};var Ydc=function(a){if(null!=a)return t(a),{valuesList:p(Op(a,1))}},Zdc=[eD,1,eNb];eD.prototype.serializeBinary=u(Zdc);var fD=function(a){r.call(this,a)};V(fD,r);fD.prototype.getValuesList=function(){return Cg(this,1)};fD.prototype.setValuesList=function(a){uh(this,1,a)};fD.prototype.getValues=function(a){return Zp(this,1,a)};fD.prototype.setValues=function(a,b){fb(this,1,a,b,Cg)};fD.repeatedFields_=[1];fD.prototype.toObject=function(){return $dc(this)};var $dc=function(a){if(null!=a)return t(a),{valuesList:p(Cg(a,1))}},aec=[fD,1,Dq];fD.prototype.serializeBinary=u(aec);var gD=function(a){r.call(this,a)};V(gD,r);f=gD.prototype;f.getValueCase=function(){return rh(this,hD)};f.getCustomFieldId=function(){return Wh(this,1)};f.setCustomFieldId=function(a){return lb(this,1,a)};f.getTextValue=function(){return aq(this,2,hD)};f.setTextValue=function(a){mm(this,2,hD,a)};f.getDateValue=function(){return Fi(this,sg,3,hD)};f.setDateValue=function(a){sm(this,3,hD,a)};f.getEnumValue=function(){return aq(this,4,hD)};f.setEnumValue=function(a){mm(this,4,hD,a)};
f.getNumericValue=function(){return Xh(this,ym(this,hD,5))};f.setNumericValue=function(a){mm(this,5,hD,Pa(a))};f.getRepeatedTextValue=function(){return Fi(this,fD,6,hD)};f.setRepeatedTextValue=function(a){sm(this,6,hD,a)};f.getRepeatedDateValue=function(){return Fi(this,dD,7,hD)};f.setRepeatedDateValue=function(a){sm(this,7,hD,a)};f.getRepeatedEnumValue=function(){return Fi(this,fD,8,hD)};f.setRepeatedEnumValue=function(a){sm(this,8,hD,a)};
f.getRepeatedNumericValue=function(){return Fi(this,eD,9,hD)};f.setRepeatedNumericValue=function(a){sm(this,9,hD,a)};f.getDisplayString=function(){return mh(this,10)};var hD=[2,3,4,5,6,7,8,9];gD.prototype.toObject=function(){return bec(this)};
var bec=function(a){if(null!=a)return t(a),{customFieldId:Wh(a,1),textValue:p(Am(a,2,hD)),dateValue:ZA(a.getDateValue()),enumValue:p(Am(a,4,hD)),numericValue:p(zm(a,5,hD)),repeatedTextValue:$dc(a.getRepeatedTextValue()),repeatedDateValue:Wdc(a.getRepeatedDateValue()),repeatedEnumValue:$dc(a.getRepeatedEnumValue()),repeatedNumericValue:Ydc(a.getRepeatedNumericValue()),displayString:mh(a,10)}},cec=[gD,1,sq,2,Fq,hD,3,Jq,$A,hD,4,Fq,hD,5,kq,hD,6,Jq,aec,hD,7,Jq,Xdc,hD,8,Jq,aec,hD,9,Jq,Zdc,hD,10,Eq];
gD.prototype.serializeBinary=u(cec);var iD=function(a){r.call(this,a)};V(iD,r);f=iD.prototype;f.getCustomFieldId=function(){return Wh(this,1)};f.setCustomFieldId=function(a){return lb(this,1,a)};f.getComponentId=function(){return Wh(this,2)};f.setComponentId=function(a){return lb(this,2,a)};f.getType=function(){return Fh(this,3,0)};f.setType=function(a){return Dh(this,3,a)};f.getRequired=function(){return vi(this,4)};f.setRequired=function(a){jb(this,4,a)};f.getName=function(){return mh(this,5)};
f.setName=function(a){return mb(this,5,a)};f.getDescription=function(){return mh(this,6)};f.setDescription=function(a){return mb(this,6,a)};f.getTypedDefaultValue=function(){return W(this,gD,10)};f.setTypedDefaultValue=function(a){Oh(this,gD,10,a)};f.getEnumValues=function(a){return Zp(this,8,a)};f.getFieldSignificance=function(){return Fh(this,9,0)};f.setFieldSignificance=function(a){return Dh(this,9,a)};f.getShared=function(){return vi(this,11)};f.setShared=function(a){jb(this,11,a)};
iD.repeatedFields_=[8];iD.prototype.toObject=function(){return dec(this)};var dec=function(a){if(null!=a)return t(a),{customFieldId:Wh(a,1),componentId:Wh(a,2),type:Fh(a,3,0),required:vi(a,4),name:mh(a,5),description:mh(a,6),defaultValue:mh(a,7),typedDefaultValue:bec(a.getTypedDefaultValue()),enumValuesList:p(Cg(a,8)),fieldSignificance:Fh(a,9,0),shared:vi(a,11)}},eec=[iD,1,sq,2,sq,3,Qq,4,Aq,5,Eq,6,Eq,7,Eq,10,X,cec,8,Dq,9,Qq,11,Aq];iD.prototype.serializeBinary=u(eec);var jD=function(a){r.call(this,a)};V(jD,r);f=jD.prototype;f.getCustomFieldId=function(){return Wh(this,ym(this,kD,1))};f.setCustomFieldId=function(a){return mm(this,1,kD,a)};f.hasCustomFieldId=function(){return null!=bq(this,1,kD)};f.getStandardField=function(){return Fh(this,ym(this,kD,2),0)};f.setStandardField=function(a){mm(this,2,kD,a)};var kD=[1,2];jD.prototype.toObject=function(){return fec(this)};
var fec=function(a){if(null!=a)return t(a),{customFieldId:p(bq(a,1,kD)),standardField:p(Up(a,ym(a,kD,2)))}},gec=[jD,1,tq,kD,2,Rq,kD];jD.prototype.serializeBinary=u(gec);var lD=function(a){r.call(this,a)};V(lD,r);f=lD.prototype;f.getHasReacted=function(){return vi(this,1)};f.setHasReacted=function(a){return jb(this,1,a)};f.getCount=function(){return Wh(this,2)};f.setCount=function(a){return lb(this,2,a)};f.getRecentRespondersList=function(){return yg(this,Lh,3)};f.getType=function(){return Fh(this,4,0)};f.setType=function(a){return Dh(this,4,a)};lD.repeatedFields_=[3];lD.prototype.toObject=function(){return hec(this)};
var hec=function(a){if(null!=a)return t(a),{hasReacted:vi(a,1),count:Wh(a,2),recentRespondersList:Mb(a.getRecentRespondersList(),MC),type:Fh(a,4,0)}},iec=[lD,1,Aq,2,sq,3,Iq,NC,4,Qq];lD.prototype.serializeBinary=u(iec);var mD=function(a){r.call(this,a)};V(mD,r);mD.prototype.getReactionStatesList=function(){return yg(this,lD,2)};mD.prototype.addReactionStates=function(a){return um(this,2,lD,a)};mD.repeatedFields_=[2];mD.prototype.toObject=function(){return jec(this)};var jec=function(a){if(null!=a)return t(a),{reactionStatesList:Mb(a.getReactionStatesList(),hec)}},kec=[mD,2,Iq,iec];mD.prototype.serializeBinary=u(kec);var Vi=function(a){r.call(this,a)};V(Vi,r);Vi.prototype.toObject=function(){return nD(this)};var nD=function(a){if(null!=a)return t(a),{privateDoNotAccessOrElseSafeHtmlWrappedValue:p(m(a,2))}},oD=[Vi,2,Cq];Vi.prototype.serializeBinary=u(oD);var pD=function(a){r.call(this,a)};V(pD,r);pD.prototype.getContent=function(){return W(this,Vi,1)};pD.prototype.setContent=function(a){return Oh(this,Vi,1,a)};pD.prototype.hasContent=function(){return qi(this,Vi,1)};pD.prototype.toObject=function(){return lec(this)};var lec=function(a){if(null!=a)return t(a),{content:nD(a.getContent())}},mec=[pD,1,X,oD];pD.prototype.serializeBinary=u(mec);var qD=function(a){r.call(this,a)};V(qD,r);qD.prototype.getContent=function(){return W(this,Vi,1)};qD.prototype.setContent=function(a){return Oh(this,Vi,1,a)};qD.prototype.hasContent=function(){return qi(this,Vi,1)};qD.prototype.toObject=function(){return nec(this)};var nec=function(a){if(null!=a)return t(a),{content:nD(a.getContent())}},oec=[qD,1,X,oD];qD.prototype.serializeBinary=u(oec);var pec=function(a){r.call(this,a)};V(pec,r);f=pec.prototype;f.getIsQuoted=function(){return vi(this,1)};f.setIsQuoted=function(a){return jb(this,1,a)};f.getContent=function(){return W(this,Vi,2)};f.setContent=function(a){return Oh(this,Vi,2,a)};f.hasContent=function(){return qi(this,Vi,2)};f.toObject=function(){return qec(this)};var qec=function(a){if(null!=a)return t(a),{isQuoted:vi(a,1),content:nD(a.getContent())}},rec=[pec,1,Aq,2,X,oD];pec.prototype.serializeBinary=u(rec);var rD=function(a){r.call(this,a)};V(rD,r);rD.prototype.getPlainSectionList=function(){return yg(this,pec,1)};rD.prototype.setPlainSectionList=function(a){return Th(this,1,a)};rD.repeatedFields_=[1];rD.prototype.toObject=function(){return sec(this)};var sec=function(a){if(null!=a)return t(a),{plainSectionList:Mb(a.getPlainSectionList(),qec)}},tec=[rD,1,Iq,rec];rD.prototype.serializeBinary=u(tec);var sD=function(a){r.call(this,a)};V(sD,r);f=sD.prototype;f.getKindCase=function(){return rh(this,tD)};f.getPlainFormat=function(){return Fi(this,rD,1,tD)};f.setPlainFormat=function(a){sm(this,1,tD,a)};f.hasPlainFormat=function(){return Di(this,rD,1,tD)};f.getMarkdownFormat=function(){return Fi(this,qD,2,tD)};f.setMarkdownFormat=function(a){sm(this,2,tD,a)};f.hasMarkdownFormat=function(){return Di(this,qD,2,tD)};f.getLiteralFormat=function(){return Fi(this,pD,3,tD)};
f.setLiteralFormat=function(a){sm(this,3,tD,a)};f.hasLiteralFormat=function(){return Di(this,pD,3,tD)};var tD=[1,2,3];sD.prototype.toObject=function(){return uec(this)};var uec=function(a){if(null!=a)return t(a),{plainFormat:sec(a.getPlainFormat()),markdownFormat:nec(a.getMarkdownFormat()),literalFormat:lec(a.getLiteralFormat())}},vec=[sD,1,Jq,tec,tD,2,Jq,oec,tD,3,Jq,mec,tD];sD.prototype.serializeBinary=u(vec);var uD=function(a){r.call(this,a)};V(uD,r);uD.prototype.getMentionedUser=function(){return W(this,Lh,1)};uD.prototype.getState=function(){return Fh(this,2,0)};uD.repeatedFields_=[3];uD.prototype.toObject=function(){return wec(this)};var wec=function(a){if(null!=a)return t(a),{mentionedUser:MC(a.getMentionedUser()),state:Fh(a,2,0),displayEmailList:p(Cg(a,3))}},xec=[uD,1,X,NC,2,Qq,3,Dq];uD.prototype.serializeBinary=u(xec);var vD=function(a){r.call(this,a)};V(vD,r);f=vD.prototype;f.getIssueId=function(){return Wh(this,6)};f.setIssueId=function(a){return lb(this,6,a)};f.getCommentNumber=function(){return Ag(this,7)};f.setCommentNumber=function(a){return kb(this,7,a)};f.getComment=function(){return mh(this,1)};f.setComment=function(a){mb(this,1,a)};f.getFormattedComment=function(){return W(this,sD,16)};f.hasFormattedComment=function(){return qi(this,sD,16)};f.getMentionsList=function(){return yg(this,uD,14)};
f.getFormattingMode=function(){return Fh(this,9,0)};f.setFormattingMode=function(a){return Dh(this,9,a)};f.getAttachmentsList=function(){return yg(this,cD,2)};f.setAttachmentsList=function(a){Th(this,2,a)};f.getModifiedTime=function(){return W(this,ug,4)};f.getEntityStatus=function(){return W(this,aD,5)};f.getVersion=function(){return Ag(this,8)};f.setVersion=function(a){return kb(this,8,a)};f.getContentVerdict=function(){return W(this,$C,10)};
f.getRestrictedRetentionState=function(){return W(this,bD,11)};f.getRedacted=function(){return vi(this,13)};f.getEtag=function(){return si(this,15)};f.setEtag=function(a){UMb(this,15,a)};f.getCommentReaction=function(){return W(this,mD,17)};vD.repeatedFields_=[14,2];vD.prototype.toObject=function(){return yec(this)};
var yec=function(a){if(null!=a)return t(a),{issueId:Wh(a,6),commentNumber:Ag(a,7),comment:mh(a,1),formattedComment:uec(a.getFormattedComment()),mentionsList:Mb(a.getMentionsList(),wec),formattingMode:Fh(a,9,0),attachmentsList:Mb(a.getAttachmentsList(),Udc),lastEditor:MC(W(a,Lh,3)),modifiedTime:pr(a.getModifiedTime()),entityStatus:Qdc(a.getEntityStatus()),version:Ag(a,8),contentVerdict:Odc(a.getContentVerdict()),restrictedRetentionState:Sdc(a.getRestrictedRetentionState()),restrictedRetention:Fh(a,
12,0),redacted:vi(a,13),etag:Qb(a.getEtag()),commentReaction:jec(a.getCommentReaction())}},zec=[vD,6,sq,7,yq,1,Eq,16,X,vec,14,Iq,xec,9,Qq,2,Iq,Vdc,3,X,NC,4,X,qr,5,X,Rdc,8,yq,10,X,Pdc,11,X,Tdc,12,Qq,13,Aq,15,Lq,17,X,kec];vD.prototype.serializeBinary=u(zec);var wD=function(a){r.call(this,a)};V(wD,r);wD.prototype.getAccessLevel=function(){return Fh(this,1,0)};wD.prototype.setAccessLevel=function(a){return Dh(this,1,a)};wD.prototype.toObject=function(){return Aec(this)};var Aec=function(a){if(null!=a)return t(a),{accessLevel:Fh(a,1,0)}},Bec=[wD,1,Qq];wD.prototype.serializeBinary=u(Bec);var xD=function(a){r.call(this,a)};V(xD,r);f=xD.prototype;f.getComponentId=function(){return Wh(this,1)};f.setComponentId=function(a){return lb(this,1,a)};f.getType=function(){return Fh(this,2,0)};f.setType=function(a){return Dh(this,2,a)};f.getStatus=function(){return Fh(this,3,0)};f.setStatus=function(a){return Dh(this,3,a)};f.getPriority=function(){return Fh(this,4,0)};f.setPriority=function(a){return Dh(this,4,a)};f.getSeverity=function(){return Fh(this,5,0)};
f.setSeverity=function(a){return Dh(this,5,a)};f.getTitle=function(){return mh(this,6)};f.setTitle=function(a){return mb(this,6,a)};f.getReporter=function(){return W(this,Lh,7)};f.setReporter=function(a){Oh(this,Lh,7,a)};f.getAssignee=function(){return W(this,Lh,8)};f.setAssignee=function(a){Oh(this,Lh,8,a)};f.clearAssignee=function(){return Qp(this,8)};f.getVerifier=function(){return W(this,Lh,9)};f.setVerifier=function(a){Oh(this,Lh,9,a)};f.clearVerifier=function(){return Qp(this,9)};
f.getCcsList=function(){return yg(this,Lh,10)};f.setCollaborators=function(a){Np(this,31,Lh,a)};f.getBlockingIssueIdsList=function(){return Wj(this,13)};f.addHotlistIds=function(a,b){return eb(this,14,a,b)};f.getCustomFieldsList=function(){return yg(this,gD,15)};f.setCustomFieldsList=function(a){Th(this,15,a)};f.getInProd=function(){return vi(this,20)};f.setInProd=function(a){jb(this,20,a)};f.getIsArchived=function(){return vi(this,21)};f.setIsArchived=function(a){return jb(this,21,a)};
f.getIsDeleted=function(){return vi(this,23)};f.setIsDeleted=function(a){jb(this,23,a)};f.getDeletionReason=function(){return Fh(this,24,0)};f.setDeletionReason=function(a){Dh(this,24,a)};f.getEntityStatus=function(){return W(this,aD,25)};f.getSloSnoozeUntil=function(){return W(this,ug,26)};f.setSloSnoozeUntil=function(a){Oh(this,ug,26,a)};f.getSloEndTime=function(){return W(this,ug,34)};f.setSloEndTime=function(a){Oh(this,ug,34,a)};f.getSloSnoozeType=function(){return Fh(this,30,0)};
f.setSloSnoozeType=function(a){Dh(this,30,a)};f.getPostmortemsList=function(){return Cg(this,27)};f.setPostmortemsList=function(a){uh(this,27,a)};f.getRetention=function(){return Fh(this,28,0)};f.setRetention=function(a){Dh(this,28,a)};f.getEffort=function(){return W(this,ai,29)};f.setEffort=function(a){Oh(this,ai,29,a)};f.hasEffort=function(){return qi(this,ai,29)};f.getAccessLimit=function(){return W(this,wD,32)};f.setAccessLimit=function(a){return Oh(this,wD,32,a)};
xD.repeatedFields_=[10,31,12,13,14,15,16,17,18,19,22,27];xD.prototype.toObject=function(){return Cec(this)};
var Cec=function(a){if(null!=a)return t(a),{componentId:Wh(a,1),type:Fh(a,2,0),status:Fh(a,3,0),priority:Fh(a,4,0),severity:Fh(a,5,0),title:mh(a,6),reporter:MC(a.getReporter()),assignee:MC(a.getAssignee()),verifier:MC(a.getVerifier()),ccsList:Mb(a.getCcsList(),MC),collaboratorsList:Mb(yg(a,Lh,31),MC),canonicalIssueId:Wh(a,11),blockedByIssueIdsList:p(Wj(a,12)),blockingIssueIdsList:p(Wj(a,13)),hotlistIdsList:p(Wj(a,14)),customFieldsList:Mb(a.getCustomFieldsList(),bec),codeChangesList:p(Cg(a,16)),foundInVersionsList:p(Cg(a,
17)),targetedToVersionsList:p(Cg(a,18)),verifiedInVersionsList:p(Cg(a,19)),inProd:vi(a,20),isArchived:vi(a,21),duplicateIssueIdsList:p(Wj(a,22)),isDeleted:vi(a,23),deletionReason:Fh(a,24,0),entityStatus:Qdc(a.getEntityStatus()),sloSnoozeUntil:pr(a.getSloSnoozeUntil()),sloEndTime:pr(a.getSloEndTime()),sloSnoozeType:Fh(a,30,0),postmortemsList:p(Cg(a,27)),retention:Fh(a,28,0),effort:Cdc(a.getEffort()),accessLimit:Aec(a.getAccessLimit())}},Dec=[xD,1,sq,2,Qq,3,Qq,4,Qq,5,Qq,6,Eq,7,X,NC,8,X,NC,9,X,NC,10,
Iq,NC,31,Iq,NC,11,sq,12,rq,13,rq,14,rq,15,Iq,cec,16,Dq,17,Dq,18,Dq,19,Dq,20,Aq,21,Aq,22,rq,23,Aq,24,Qq,25,X,Rdc,26,X,qr,34,X,qr,30,Qq,27,Dq,28,Qq,29,X,Ddc,32,X,Bec];xD.prototype.serializeBinary=u(Dec);var yD=function(a){r.call(this,a)};V(yD,r);yD.prototype.getNotificationSubscription=function(){return Fh(this,4,0)};yD.prototype.setNotificationSubscription=function(a){return Dh(this,4,a)};yD.repeatedFields_=[3];yD.prototype.toObject=function(){return Eec(this)};var Eec=function(a){if(null!=a)return t(a),{hasStarred:vi(a,1),hasUpvoted:vi(a,2),editableCommentNumbersList:p(xg(a,3)),notificationSubscription:Fh(a,4,0),lastViewedTime:pr(W(a,ug,5))}},Fec=[yD,1,Aq,2,Aq,3,lNb,4,Qq,5,X,qr];
yD.prototype.serializeBinary=u(Fec);var fj=function(a){r.call(this,a)};V(fj,r);fj.prototype.getHref=function(){return mh(this,1)};fj.prototype.toObject=function(){return Gec(this)};var Gec=function(a){if(null!=a)return t(a),{href:p(m(a,1))}},Hec=[fj,1,Cq];fj.prototype.serializeBinary=u(Hec);var ej=function(a){r.call(this,a)};V(ej,r);f=ej.prototype;f.getIssueId=function(){return Wh(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.getCommentNumber=function(){return Ag(this,2)};f.setCommentNumber=function(a){return n(this,2,a)};f.toObject=function(){return Iec(this)};var Iec=function(a){if(null!=a)return t(a),{issueId:p(m(a,1)),commentNumber:p(Cb(a,2))}},Jec=[ej,1,pq,2,wq];ej.prototype.serializeBinary=u(Jec);var zD=function(a){r.call(this,a)};V(zD,r);var dj=[1,2];zD.prototype.toObject=function(){return Kec(this)};var Kec=function(a){if(null!=a)return t(a),{hyperlink:Gec(Fi(a,fj,1,dj)),issueReference:Iec(Fi(a,ej,2,dj)),sourceCommentNumber:Ag(a,3)}},Lec=[zD,1,Jq,Hec,dj,2,Jq,Jec,dj,3,yq];zD.prototype.serializeBinary=u(Lec);var AD=function(a){r.call(this,a)};V(AD,r);f=AD.prototype;f.getIssueId=function(){return Wh(this,1)};f.setIssueId=function(a){return lb(this,1,a)};f.getUpdateText=function(){return mh(this,2)};f.setUpdateText=function(a){mb(this,2,a)};f.getFormattingMode=function(){return Fh(this,4,0)};f.setFormattingMode=function(a){return Dh(this,4,a)};f.getAuthor=function(){return W(this,Lh,5)};f.setAuthor=function(a){Oh(this,Lh,5,a)};f.getUpdateTime=function(){return W(this,ug,6)};
f.setUpdateTime=function(a){Oh(this,ug,6,a)};f.getVersion=function(){return Ag(this,7)};f.setVersion=function(a){return kb(this,7,a)};f.getEntityStatus=function(){return W(this,aD,8)};f.toObject=function(){return Mec(this)};
var Mec=function(a){if(null!=a)return t(a),{issueId:Wh(a,1),updateText:mh(a,2),formattedUpdateText:uec(W(a,sD,3)),formattingMode:Fh(a,4,0),author:MC(a.getAuthor()),updateTime:pr(a.getUpdateTime()),version:Ag(a,7),entityStatus:Qdc(a.getEntityStatus())}},Nec=[AD,1,sq,2,Eq,3,X,vec,4,Qq,5,X,NC,6,X,qr,7,yq,8,X,Rdc];AD.prototype.serializeBinary=u(Nec);var BD=function(a){r.call(this,a)};V(BD,r);f=BD.prototype;f.getIssueId=function(){return Wh(this,2)};f.setIssueId=function(a){return lb(this,2,a)};f.getIssueState=function(){return W(this,xD,3)};f.getAttachmentsList=function(){return yg(this,cD,18)};f.setAttachmentsList=function(a){Th(this,18,a)};f.getDescription=function(){return W(this,vD,44)};f.setDescription=function(a){return Oh(this,vD,44,a)};f.hasDescription=function(){return qi(this,vD,44)};f.getStatusUpdate=function(){return W(this,AD,43)};
f.hasStatusUpdate=function(){return qi(this,AD,43)};f.getCreatedTime=function(){return W(this,ug,5)};f.getModifiedTime=function(){return W(this,ug,6)};f.getLastModifier=function(){return W(this,Lh,14)};f.setLastModifier=function(a){Oh(this,Lh,14,a)};f.getResolvedTime=function(){return W(this,ug,7)};f.getVerifiedTime=function(){return W(this,ug,8)};f.getUserData=function(){return W(this,yD,9)};f.setUserData=function(a){Oh(this,yD,9,a)};f.getVoteCount=function(){return Wh(this,10)};
f.setVoteCount=function(a){lb(this,10,a)};f.getParentIssueIdsList=function(){return Wj(this,37)};f.setParentIssueIdsList=function(a){bb(this,37,a,Ta)};f.getAccessLimit=function(){return W(this,kB,11)};f.setAccessLimit=function(a){return Oh(this,kB,11,a)};f.getVersion=function(){return Ag(this,12)};f.setVersion=function(a){return kb(this,12,a)};f.getEtag=function(){return si(this,13)};f.setEtag=function(a){UMb(this,13,a)};f.getCustomFieldsList=function(){return yg(this,iD,15)};
f.setCustomFieldsList=function(a){Th(this,15,a)};f.getVisibleFieldsList=function(){return yg(this,jD,34)};f.setVisibleFieldsList=function(a){Th(this,34,a)};f.getSloStatus=function(){return W(this,XC,16)};f.setSloStatus=function(a){Oh(this,XC,16,a)};f.hasSloStatus=function(){return qi(this,XC,16)};f.getSloId=function(){return Wh(this,17)};f.setSloId=function(a){return lb(this,17,a)};f.getTeamId=function(){return Wh(this,33)};f.setTeamId=function(a){return lb(this,33,a)};
f.getRetentionState=function(){return W(this,bD,29)};f.setRetentionState=function(a){Oh(this,bD,29,a)};f.getAncestorsMap=function(){return fq(this,38,ni)};f.getChildIssueCount=function(){return Ag(this,39)};f.setChildIssueCount=function(a){kb(this,39,a)};f.getIsArchived=function(){return vi(this,40)};f.setIsArchived=function(a){return jb(this,40,a)};f.getRelatedLinksList=function(){return yg(this,zD,41)};f.getTrackerId=function(){return Wh(this,42)};f.setTrackerId=function(a){lb(this,42,a)};
BD.repeatedFields_=[18,37,31,15,34,41];BD.prototype.toObject=function(){return Oec(this)};
var Oec=function(a){if(null!=a)return t(a),{issueId:Wh(a,2),issueState:Cec(a.getIssueState()),issueComment:yec(W(a,vD,4)),attachmentsList:Mb(a.getAttachmentsList(),Udc),description:yec(a.getDescription()),statusUpdate:Mec(a.getStatusUpdate()),createdTime:pr(a.getCreatedTime()),modifiedTime:pr(a.getModifiedTime()),majorModifiedTime:pr(W(a,ug,35)),minorModifiedTime:pr(W(a,ug,36)),lastModifier:MC(a.getLastModifier()),resolvedTime:pr(a.getResolvedTime()),verifiedTime:pr(a.getVerifiedTime()),userData:Eec(a.getUserData()),
voteCount:Wh(a,10),parentIssueId:Wh(a,30),parentIssueIdsList:p(Wj(a,37)),incomingDependencyIdsList:p(Wj(a,31)),accessLimit:X9b(a.getAccessLimit()),version:Ag(a,12),etag:Qb(a.getEtag()),customFieldsList:Mb(a.getCustomFieldsList(),dec),visibleFieldsList:Mb(a.getVisibleFieldsList(),fec),sloStatus:Gdc(a.getSloStatus()),sloId:Wh(a,17),teamId:Wh(a,33),retentionState:Sdc(a.getRetentionState()),ancestorsMap:Ob(a.getAncestorsMap(),Idc),childIssueCount:Ag(a,39),isArchived:vi(a,40),relatedLinksList:Mb(a.getRelatedLinksList(),
Kec),trackerId:Wh(a,42)}},Pec=[BD,2,sq,3,X,Dec,4,X,zec,18,Iq,Vdc,44,X,zec,43,X,Nec,5,X,qr,6,X,qr,35,X,qr,36,X,qr,14,X,NC,7,X,qr,8,X,qr,9,X,Fec,10,sq,30,sq,37,rq,31,rq,11,X,Y9b,12,yq,13,Lq,15,Iq,eec,34,Iq,gec,16,X,Hdc,17,sq,33,sq,29,X,Tdc,38,zNb,Jdc,39,yq,40,Aq,41,Iq,Lec,42,sq];BD.prototype.serializeBinary=u(Pec);var CD=function(a){r.call(this,a)};V(CD,r);CD.prototype.getContent=function(){return W(this,Vi,1)};CD.prototype.setContent=function(a){return Oh(this,Vi,1,a)};CD.prototype.hasContent=function(){return qi(this,Vi,1)};CD.prototype.toObject=function(){return Qec(this)};var Qec=function(a){if(null!=a)return t(a),{content:nD(a.getContent())}},Rec=[CD,1,X,oD];CD.prototype.serializeBinary=u(Rec);var DD=function(a){r.call(this,a)};V(DD,r);DD.prototype.getContent=function(){return W(this,Vi,1)};DD.prototype.setContent=function(a){return Oh(this,Vi,1,a)};DD.prototype.hasContent=function(){return qi(this,Vi,1)};DD.prototype.toObject=function(){return Sec(this)};var Sec=function(a){if(null!=a)return t(a),{content:nD(a.getContent())}},Tec=[DD,1,X,oD];DD.prototype.serializeBinary=u(Tec);var Eh=function(a){r.call(this,a)};V(Eh,r);f=Eh.prototype;f.getIsQuoted=function(){return vi(this,1)};f.setIsQuoted=function(a){return xi(this,1,a)};f.getContent=function(){return W(this,Vi,2)};f.setContent=function(a){return Oh(this,Vi,2,a)};f.hasContent=function(){return qi(this,Vi,2)};f.toObject=function(){return Uec(this)};var Uec=function(a){if(null!=a)return t(a),{isQuoted:p(Db(a,1)),content:nD(a.getContent())}},Vec=[Eh,1,zq,2,X,oD];Eh.prototype.serializeBinary=u(Vec);var ED=function(a){r.call(this,a)};V(ED,r);ED.prototype.getPlainSectionList=function(){return yg(this,Eh,1)};ED.prototype.setPlainSectionList=function(a){return Th(this,1,a)};ED.repeatedFields_=[1];ED.prototype.toObject=function(){return Wec(this)};var Wec=function(a){if(null!=a)return t(a),{plainSectionList:Mb(a.getPlainSectionList(),Uec)}},Xec=[ED,1,Iq,Vec];ED.prototype.serializeBinary=u(Xec);var ri=function(a){r.call(this,a)};V(ri,r);f=ri.prototype;f.getKindCase=function(){return rh(this,FD)};f.getPlainFormat=function(){return Fi(this,ED,1,FD)};f.setPlainFormat=function(a){sm(this,1,FD,a)};f.hasPlainFormat=function(){return Di(this,ED,1,FD)};f.getMarkdownFormat=function(){return Fi(this,DD,2,FD)};f.setMarkdownFormat=function(a){sm(this,2,FD,a)};f.hasMarkdownFormat=function(){return Di(this,DD,2,FD)};f.getLiteralFormat=function(){return Fi(this,CD,3,FD)};
f.setLiteralFormat=function(a){sm(this,3,FD,a)};f.hasLiteralFormat=function(){return Di(this,CD,3,FD)};var FD=[1,2,3];ri.prototype.toObject=function(){return Yec(this)};var Yec=function(a){if(null!=a)return t(a),{plainFormat:Wec(a.getPlainFormat()),markdownFormat:Sec(a.getMarkdownFormat()),literalFormat:Qec(a.getLiteralFormat())}},Zec=[ri,1,Jq,Xec,FD,2,Jq,Tec,FD,3,Jq,Rec,FD];ri.prototype.serializeBinary=u(Zec);var Hh=function(a){r.call(this,a)};V(Hh,r);Hh.prototype.getSeverity=function(){return Fh(this,1,0)};Hh.prototype.setSeverity=function(a){return n(this,1,a)};Hh.prototype.hasSeverity=function(){return Vh(this,1)};Hh.prototype.toObject=function(){return $ec(this)};var $ec=function(a){if(null!=a)return t(a),{severity:p(m(a,1))}},afc=[Hh,1,Nq];Hh.prototype.serializeBinary=u(afc);var gj=function(a){r.call(this,a)};V(gj,r);gj.prototype.toObject=function(){return bfc(this)};var bfc=function(a){if(null!=a)return t(a),{piiVerdict:$ec(W(a,Hh,1))}},cfc=[gj,1,X,afc];gj.prototype.serializeBinary=u(cfc);var Gh=function(a){r.call(this,a)};V(Gh,r);Gh.prototype.hasRetentionSelection=function(){return Vh(this,1)};Gh.prototype.toObject=function(){return dfc(this)};var dfc=function(a){if(null!=a)return t(a),{retentionSelection:p(m(a,1)),retentionPeriodDays:p(Cb(a,2)),piiRetentionSelection:p(m(a,3)),piiRetentionPeriodDays:p(Cb(a,4)),spiiRetentionPeriodDays:p(Cb(a,5))}},efc=[Gh,1,Nq,2,wq,3,Nq,4,wq,5,wq];Gh.prototype.serializeBinary=u(efc);var li=function(a){r.call(this,a,0,li.messageId)};V(li,r);f=li.prototype;f.getRetentionPeriod=function(){return W(this,wg,1)};f.setRetentionPeriod=function(a){Oh(this,wg,1,a)};f.getScheduledDeletionTime=function(){return W(this,ug,2)};f.setScheduledDeletionTime=function(a){Oh(this,ug,2,a)};f.toObject=function(){return ffc(this)};var ffc=function(a){if(null!=a)return t(a),{retentionPeriod:Es(a.getRetentionPeriod()),scheduledDeletionTime:pr(a.getScheduledDeletionTime())}},gfc=[li,1,X,Fs,2,X,qr];
li.prototype.serializeBinary=u(gfc);li.messageId="b.RetentionState";var Mh=function(a){r.call(this,a)};V(Mh,r);f=Mh.prototype;f.getHours=function(){return Ag(this,1)};f.setHours=function(a){return kb(this,1,a)};f.getMinutes=function(){return Ag(this,2)};f.setMinutes=function(a){return kb(this,2,a)};f.getSeconds=function(){return Ag(this,3)};f.setSeconds=function(a){return kb(this,3,a)};f.getNanos=function(){return Ag(this,4)};f.setNanos=function(a){return kb(this,4,a)};f.toObject=function(){return hfc(this)};
var hfc=function(a){if(null!=a)return t(a),{hours:Ag(a,1),minutes:Ag(a,2),seconds:Ag(a,3),nanos:Ag(a,4)}},ifc=[Mh,1,yq,2,yq,3,yq,4,yq];Mh.prototype.serializeBinary=u(ifc);var Nh=function(a){r.call(this,a)};V(Nh,r);f=Nh.prototype;f.getId=function(){return Wh(this,1)};f.setId=function(a){return n(this,1,a)};f.setFrequency=function(a){return Dh(this,3,a)};f.getTimeZone=function(){return W(this,Ph,5)};f.setTimeZone=function(a){return Oh(this,Ph,5,a)};f.hasTimeZone=function(){return qi(this,Ph,5)};f.toObject=function(){return jfc(this)};
var jfc=function(a){if(null!=a)return t(a),{id:p(m(a,1)),lead:MC(W(a,Lh,2)),frequency:Fh(a,3,0),ordinal:Ag(a,4),timeZone:pbc(a.getTimeZone()),timeOfDay:hfc(W(a,Mh,6))}},kfc=[Nh,1,pq,2,X,NC,3,Qq,4,yq,5,X,qbc,6,X,ifc];Nh.prototype.serializeBinary=u(kfc);var GD=function(a){r.call(this,a)};V(GD,r);GD.prototype.getTeamId=function(){return Wh(this,1)};GD.prototype.setTeamId=function(a){return lb(this,1,a)};GD.prototype.getEffectiveSloEditPolicy=function(){return Fh(this,3,0)};GD.prototype.toObject=function(){return lfc(this)};var lfc=function(a){if(null!=a)return t(a),{teamId:Wh(a,1),sloEditPolicy:Fh(a,2,0),effectiveSloEditPolicy:Fh(a,3,0)}},mfc=[GD,1,sq,2,Qq,3,Qq];GD.prototype.serializeBinary=u(mfc);var Jh=function(a){r.call(this,a)};V(Jh,r);f=Jh.prototype;f.getInherit=function(){return vi(this,1)};f.setInherit=function(a){xi(this,1,a)};f.getSource=function(){return Fh(this,2,0)};f.setSource=function(a){return n(this,2,a)};f.hasSource=function(){return Vh(this,2)};f.getSourceOrUndefined=function(){return Qo(this,2)};f.getId=function(){return lh(this,3)};f.setId=function(a){return n(this,3,a)};f.getSourceTeamId=function(){return lh(this,5)};f.setSourceTeamId=function(a){n(this,5,a)};
f.getComment=function(){return mh(this,4)};f.setComment=function(a){n(this,4,a)};f.toObject=function(){return nfc(this)};var nfc=function(a){if(null!=a)return t(a),{inherit:p(Db(a,1)),source:p(m(a,2)),id:p(m(a,3)),sourceTeamId:p(m(a,5)),sourceComponentId:p(m(a,6)),comment:p(m(a,4))}},ofc=[Jh,1,zq,2,Nq,3,mq,5,mq,6,mq,4,Cq];Jh.prototype.serializeBinary=u(ofc);var Ih=function(a){r.call(this,a)};V(Ih,r);f=Ih.prototype;f.getStartTime=function(){return W(this,ug,1)};f.setStartTime=function(a){Oh(this,ug,1,a)};f.getEndTime=function(){return W(this,ug,2)};f.setEndTime=function(a){Oh(this,ug,2,a)};f.getTargetTime=function(){return W(this,ug,3)};f.setTargetTime=function(a){Oh(this,ug,3,a)};f.getObjective=function(){return W(this,wg,4)};f.setObjective=function(a){return Oh(this,wg,4,a)};f.getBusinessDays=function(){return Ag(this,5)};
f.setBusinessDays=function(a){return n(this,5,a)};f.getDayType=function(){return Fh(this,6,0)};f.setDayType=function(a){return n(this,6,a)};f.toObject=function(){return pfc(this)};var pfc=function(a){if(null!=a)return t(a),{startTime:pr(a.getStartTime()),endTime:pr(a.getEndTime()),targetTime:pr(a.getTargetTime()),objective:Es(a.getObjective()),businessDays:p(Cb(a,5)),dayType:p(m(a,6))}},qfc=[Ih,1,X,qr,2,X,qr,3,X,qr,4,X,Fs,5,wq,6,Nq];Ih.prototype.serializeBinary=u(qfc);var Qh=function(a){r.call(this,a)};V(Qh,r);f=Qh.prototype;f.getMetric=function(){return Fh(this,1,0)};f.getMatcher=function(){return mh(this,2)};f.setMatcher=function(a){return n(this,2,a)};f.getDayType=function(){return Fh(this,4,0)};f.setDayType=function(a){return n(this,4,a)};f.getObjective=function(){return W(this,wg,3)};f.setObjective=function(a){return Oh(this,wg,3,a)};f.getBusinessDays=function(){return Ag(this,5)};f.setBusinessDays=function(a){return n(this,5,a)};f.toObject=function(){return rfc(this)};
var rfc=function(a){if(null!=a)return t(a),{metric:p(m(a,1)),matcher:p(m(a,2)),dayType:p(m(a,4)),objective:Es(a.getObjective()),businessDays:p(Cb(a,5))}},sfc=[Qh,1,Nq,2,Cq,4,Nq,3,X,Fs,5,wq];Qh.prototype.serializeBinary=u(sfc);var Sh=function(a){r.call(this,a,0,Sh.messageId)};V(Sh,r);f=Sh.prototype;f.getSloId=function(){return lh(this,1)};f.setSloId=function(a){return n(this,1,a)};f.getVersion=function(){return Ag(this,2)};f.setVersion=function(a){return n(this,2,a)};f.getVersionOrUndefined=function(){return cq(this,2)};f.getName=function(){return mh(this,3)};f.setName=function(a){return n(this,3,a)};f.hasName=function(){return jj(this,3)};f.getNameOrUndefined=function(){return eq(this,3)};
f.getDescription=function(){return mh(this,4)};f.setDescription=function(a){return n(this,4,a)};f.hasDescription=function(){return jj(this,4)};f.getParentId=function(){return lh(this,5)};f.setParentId=function(a){return n(this,5,a)};f.getIsArchived=function(){return vi(this,8)};f.setIsArchived=function(a){return xi(this,8,a)};Sh.repeatedFields_=[6,7];Sh.prototype.toObject=function(){return tfc(this)};
var tfc=function(a){if(null!=a)return t(a),{sloId:p(m(a,1)),version:p(Cb(a,2)),name:p(m(a,3)),description:p(m(a,4)),parentId:p(m(a,5)),elementsList:Mb(yg(a,Qh,6),rfc),effectiveElementsList:Mb(yg(a,Qh,7),rfc),isArchived:p(Db(a,8)),alertState:p(m(a,9))}},ufc=[Sh,1,mq,2,wq,3,Cq,4,Cq,5,mq,6,Iq,sfc,7,Iq,sfc,8,zq,9,Nq];Sh.prototype.serializeBinary=u(ufc);Sh.messageId="b.SloState";var mi=function(a){r.call(this,a)};V(mi,r);f=mi.prototype;f.getAssignmentBounds=function(){return W(this,Ih,1)};f.setAssignmentBounds=function(a){Oh(this,Ih,1,a)};f.hasAssignmentBounds=function(){return qi(this,Ih,1)};f.getResponseBounds=function(){return W(this,Ih,2)};f.setResponseBounds=function(a){Oh(this,Ih,2,a)};f.hasResponseBounds=function(){return qi(this,Ih,2)};f.getClosureBounds=function(){return W(this,Ih,3)};f.setClosureBounds=function(a){Oh(this,Ih,3,a)};
f.hasClosureBounds=function(){return qi(this,Ih,3)};f.toObject=function(){return vfc(this)};var vfc=function(a){if(null!=a)return t(a),{assignmentBounds:pfc(a.getAssignmentBounds()),responseBounds:pfc(a.getResponseBounds()),closureBounds:pfc(a.getClosureBounds())}},wfc=[mi,1,X,qfc,2,X,qfc,3,X,qfc];mi.prototype.serializeBinary=u(wfc);var HD=function(a){r.call(this,a,0,HD.messageId)};V(HD,r);f=HD.prototype;f.getIssueId=function(){return lh(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.getReason=function(){return Fh(this,2,0)};f.setReason=function(a){n(this,2,a)};f.toObject=function(){if(null!=this){t(this);var a={issueId:p(m(this,1)),reason:p(m(this,2))}}else a=void 0;return a};f.serializeBinary=u([HD,1,mq,2,Nq]);HD.messageId="b.DeleteIssueRequest";var ei=function(a){r.call(this,a)};V(ei,r);f=ei.prototype;f.getFieldName=function(){return mh(this,1)};f.setFieldName=function(a){n(this,1,a)};f.getValue=function(){return mh(this,2)};f.setValue=function(a){return n(this,2,a)};f.hasValue=function(){return jj(this,2)};f.setActionType=function(a){n(this,3,a)};f.getCustomFieldValue=function(){return W(this,th,5)};f.setCustomFieldValue=function(a){return Oh(this,th,5,a)};f.clearCustomFieldValue=function(){return Qp(this,5)};
f.hasCustomFieldValue=function(){return qi(this,th,5)};f.toObject=function(){return xfc(this)};var xfc=function(a){if(null!=a)return t(a),{fieldName:p(m(a,1)),value:p(m(a,2)),actionType:p(m(a,3)),customFieldValue:qdc(a.getCustomFieldValue())}},yfc=[ei,1,Cq,2,Cq,3,Nq,5,X,rdc];ei.prototype.serializeBinary=u(yfc);var ci=function(a){r.call(this,a)};V(ci,r);ci.prototype.getAccessLevel=function(){return Fh(this,1,0)};ci.prototype.setAccessLevel=function(a){return n(this,1,a)};ci.prototype.toObject=function(){return zfc(this)};var zfc=function(a){if(null!=a)return t(a),{accessLevel:p(m(a,1))}},Afc=[ci,1,Nq];ci.prototype.serializeBinary=u(Afc);var bi=function(a){r.call(this,a,0,bi.messageId)};V(bi,r);f=bi.prototype;f.getIssueId=function(){return lh(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.getIssueAccessLimit=function(){return W(this,ci,2)};f.setIssueAccessLimit=function(a){Oh(this,ci,2,a)};f.getAddedCollaboratorsList=function(){return yg(this,Wg,3)};f.setAddedCollaboratorsList=function(a){Th(this,3,a)};f.getRemovedCollaboratorsList=function(){return yg(this,Wg,4)};f.setRemovedCollaboratorsList=function(a){Th(this,4,a)};
bi.repeatedFields_=[3,4];bi.prototype.toObject=function(){if(null!=this){t(this);var a={issueId:p(m(this,1)),issueAccessLimit:zfc(this.getIssueAccessLimit()),addedCollaboratorsList:Mb(this.getAddedCollaboratorsList(),OC),removedCollaboratorsList:Mb(this.getRemovedCollaboratorsList(),OC)}}else a=void 0;return a};bi.prototype.serializeBinary=u([bi,1,mq,2,X,Afc,3,Iq,PC,4,Iq,PC]);bi.messageId="b.GetRetainedAccessPrincipalsRequest";var ki=function(a){r.call(this,a)};V(ki,r);f=ki.prototype;f.getVoteCount=function(){return Wh(this,1)};f.setVoteCount=function(a){n(this,1,a)};f.getCreatedTimeMicros=function(){return Wh(this,2)};f.setCreatedTimeMicros=function(a){n(this,2,a)};f.getModifiedTimeMicros=function(){return Wh(this,3)};f.setModifiedTimeMicros=function(a){n(this,3,a)};f.getLastModifier=function(){return W(this,Wg,10)};f.setLastModifier=function(a){Oh(this,Wg,10,a)};f.getSloStatus=function(){return W(this,mi,6)};
f.setSloStatus=function(a){Oh(this,mi,6,a)};f.hasSloStatus=function(){return qi(this,mi,6)};f.getSloId=function(){return lh(this,7)};f.setSloId=function(a){return n(this,7,a)};f.getTeamId=function(){return lh(this,9)};f.setTeamId=function(a){return n(this,9,a)};f.getRetentionState=function(){return W(this,li,8)};f.setRetentionState=function(a){Oh(this,li,8,a)};f.toObject=function(){return Bfc(this)};
var Bfc=function(a){if(null!=a)return t(a),{voteCount:p(m(a,1)),createdTimeMicros:p(m(a,2)),modifiedTimeMicros:p(m(a,3)),resolvedTimeMicros:p(m(a,4)),verifiedTimeMicros:p(m(a,5)),lastModifier:OC(a.getLastModifier()),sloStatus:vfc(a.getSloStatus()),sloId:p(m(a,7)),teamId:p(m(a,9)),retentionState:ffc(a.getRetentionState())}},Cfc=[ki,1,pq,2,pq,3,pq,4,pq,5,pq,10,X,PC,6,X,wfc,7,mq,9,mq,8,X,gfc];ki.prototype.serializeBinary=u(Cfc);var ID=function(a){r.call(this,a,0,ID.messageId)};V(ID,r);f=ID.prototype;f.getHasReacted=function(){return vi(this,1)};f.setHasReacted=function(a){return xi(this,1,a)};f.getCount=function(){return Wh(this,2)};f.setCount=function(a){return n(this,2,a)};f.getRecentRespondersList=function(){return yg(this,Wg,3)};f.getType=function(){return Fh(this,4,0)};f.setType=function(a){return n(this,4,a)};f.hasType=function(){return Vh(this,4)};ID.repeatedFields_=[3];ID.prototype.toObject=function(){return Dfc(this)};
var Dfc=function(a){if(null!=a)return t(a),{hasReacted:p(Db(a,1)),count:p(m(a,2)),recentRespondersList:Mb(a.getRecentRespondersList(),OC),type:p(m(a,4))}},Efc=[ID,1,zq,2,pq,3,Iq,PC,4,Nq];ID.prototype.serializeBinary=u(Efc);ID.messageId="b.ReactionState";var JD=function(a){r.call(this,a,0,JD.messageId)};V(JD,r);JD.prototype.getReactionStatesList=function(){return yg(this,ID,1)};JD.prototype.addReactionStates=function(a){return um(this,1,ID,a)};JD.repeatedFields_=[1];JD.prototype.toObject=function(){return Ffc(this)};var Ffc=function(a){if(null!=a)return t(a),{reactionStatesList:Mb(a.getReactionStatesList(),Dfc)}},Gfc=[JD,1,Iq,Efc];JD.prototype.serializeBinary=u(Gfc);JD.messageId="b.CommentReaction";var KD=function(a){r.call(this,a)};V(KD,r);f=KD.prototype;f.getStatus=function(){return Fh(this,1,0)};f.setStatus=function(a){return n(this,1,a)};f.hasStatus=function(){return Vh(this,1)};f.getReason=function(){return Fh(this,2,0)};f.setReason=function(a){n(this,2,a)};f.toObject=function(){return LD(this)};var LD=function(a){if(null!=a)return t(a),{status:p(m(a,1)),reason:p(m(a,2))}},MD=[KD,1,Nq,2,Nq];KD.prototype.serializeBinary=u(MD);var ND=function(a){r.call(this,a)};V(ND,r);ND.prototype.getMentionedUser=function(){return W(this,Wg,1)};ND.prototype.getState=function(){return Fh(this,2,0)};ND.repeatedFields_=[3];ND.prototype.toObject=function(){return Hfc(this)};var Hfc=function(a){if(null!=a)return t(a),{mentionedUser:OC(a.getMentionedUser()),state:p(m(a,2)),displayEmailList:p(Cg(a,3))}},Ifc=[ND,1,X,PC,2,Nq,3,Dq];ND.prototype.serializeBinary=u(Ifc);var OD=function(a){r.call(this,a,0,OD.messageId)};V(OD,r);f=OD.prototype;f.getIssueId=function(){return lh(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.getCommentId=function(){return Ag(this,2)};f.getMentionsList=function(){return yg(this,ND,16)};f.getLastModified=function(){return Wh(this,5)};f.getVersion=function(){return Ag(this,6)};f.setVersion=function(a){return n(this,6,a)};f.getVersionOrUndefined=function(){return cq(this,6)};f.getEntityStatus=function(){return W(this,KD,9)};
f.getFormattingMode=function(){return Fh(this,10,0)};f.setFormattingMode=function(a){return n(this,10,a)};f.getFormattedComment=function(){return W(this,ri,13)};f.hasFormattedComment=function(){return qi(this,ri,13)};f.getPiiRetentionState=function(){return W(this,li,11)};f.getPiiRetention=function(){return Fh(this,12,0)};f.setPiiRetention=function(a){return n(this,12,a)};f.getRedacted=function(){return vi(this,15)};f.getEtag=function(){return mh(this,17)};f.setEtag=function(a){n(this,17,a)};
f.hasEtag=function(){return jj(this,17)};f.getCommentReaction=function(){return W(this,JD,18)};OD.repeatedFields_=[16];OD.prototype.toObject=function(){return Jfc(this)};
var Jfc=function(a){if(null!=a)return t(a),{issueId:p(m(a,1)),commentId:p(Cb(a,2)),mentionsList:Mb(a.getMentionsList(),Hfc),commentContentVerdict:bfc(W(a,gj,14)),lastEditorUser:OC(W(a,Wg,8)),lastModified:p(m(a,5)),version:p(Cb(a,6)),unlinkifiedComment:p(m(a,7)),entityStatus:LD(a.getEntityStatus()),formattingMode:p(m(a,10)),formattedComment:Yec(a.getFormattedComment()),piiRetentionState:ffc(a.getPiiRetentionState()),piiRetention:p(m(a,12)),redacted:p(Db(a,15)),etag:p(m(a,17)),commentReaction:Ffc(a.getCommentReaction())}},
Kfc=[OD,1,mq,2,wq,16,Iq,Ifc,14,X,cfc,8,X,PC,5,pq,6,wq,7,Cq,9,X,MD,10,Nq,13,X,Zec,11,X,gfc,12,Nq,15,zq,17,Cq,18,X,Gfc];OD.prototype.serializeBinary=u(Kfc);OD.messageId="b.IssueComment";var Yh=function(a){r.call(this,a)};V(Yh,r);f=Yh.prototype;f.getCreatedTimeMicros=function(){return Wh(this,2)};f.setCreatedTimeMicros=function(a){n(this,2,a)};f.getComponentId=function(){return lh(this,3)};f.setComponentId=function(a){return n(this,3,a)};f.hasComponentId=function(){return kh(this,3)};f.getVersion=function(){return Wh(this,4)};f.setVersion=function(a){return n(this,4,a)};f.getVersionOrUndefined=function(){return dq(this,4)};f.getType=function(){return Fh(this,5,0)};
f.setType=function(a){return n(this,5,a)};f.hasType=function(){return Vh(this,5)};f.getStatus=function(){return Fh(this,6,0)};f.setStatus=function(a){return n(this,6,a)};f.hasStatus=function(){return Vh(this,6)};f.getPriority=function(){return Fh(this,7,0)};f.setPriority=function(a){return n(this,7,a)};f.hasPriority=function(){return Vh(this,7)};f.getSeverity=function(){return Fh(this,8,0)};f.setSeverity=function(a){return n(this,8,a)};f.hasSeverity=function(){return Vh(this,8)};
f.getTitle=function(){return mh(this,9)};f.setTitle=function(a){return n(this,9,a)};f.getAttachmentId=function(){return Yp(this,14)};f.setAttachmentId=function(a){$p(this,14,a)};f.getPostmortemsList=function(){return Cg(this,35)};f.setPostmortemsList=function(a){uh(this,35,a)};f.setFoundInVersion=function(a){fb(this,19,a,void 0,Cg)};f.setTargetedToVersion=function(a){fb(this,20,a,void 0,Cg)};f.setVerifiedInVersion=function(a){fb(this,21,a,void 0,Cg)};f.getInProd=function(){return vi(this,22)};
f.setInProd=function(a){xi(this,22,a)};f.getHotlistIdList=function(){return Bg(this,23)};f.setHotlistIdList=function(a){$h(this,23,a)};f.getHotlistId=function(){return Yp(this,23)};f.setHotlistId=function(a){$p(this,23,a)};f.setCustomField=function(a,b){return Np(this,24,th,a,b)};f.getRetention=function(){return Fh(this,42,0)};f.setRetention=function(a){n(this,42,a)};f.getIsDeleted=function(){return vi(this,27)};f.setIsDeleted=function(a){xi(this,27,a)};
f.getDeletionReason=function(){return Fh(this,28,0)};f.setDeletionReason=function(a){n(this,28,a)};f.getSignificanceOverride=function(){return Fh(this,29,0)};f.setSignificanceOverride=function(a){n(this,29,a)};f.getIsArchived=function(){return vi(this,31)};f.setIsArchived=function(a){return xi(this,31,a)};f.getComment=function(){return mh(this,25)};f.setComment=function(a){n(this,25,a)};f.getFormattingMode=function(){return Fh(this,45,0)};f.setFormattingMode=function(a){return n(this,45,a)};
f.getSloSnoozeUntil=function(){return W(this,ug,34)};f.setSloSnoozeUntil=function(a){Oh(this,ug,34,a)};f.getSloEndTime=function(){return W(this,ug,54)};f.setSloEndTime=function(a){Oh(this,ug,54,a)};f.getSloSnoozeType=function(){return Fh(this,52,0)};f.setSloSnoozeType=function(a){n(this,52,a)};f.getEffort=function(){return W(this,ai,50)};f.setEffort=function(a){Oh(this,ai,50,a)};f.hasEffort=function(){return qi(this,ai,50)};f.getAccessLimitLevel=function(){return Fh(this,53,0)};
f.setAccessLimitLevel=function(a){n(this,53,a)};f.hasAccessLimitLevel=function(){return Vh(this,53)};Yh.repeatedFields_=[40,51,14,16,17,18,35,19,20,21,23,24,30];Yh.prototype.toObject=function(){return Lfc(this)};
var Lfc=function(a){if(null!=a)return t(a),{authorUser:OC(W(a,Wg,36)),createdTimeMicros:p(m(a,2)),componentId:p(m(a,3)),version:p(m(a,4)),type:p(m(a,5)),status:p(m(a,6)),priority:p(m(a,7)),severity:p(m(a,8)),title:p(m(a,9)),reporterUser:OC(W(a,Wg,37)),assigneeUser:OC(W(a,Wg,38)),verifierUser:OC(W(a,Wg,39)),ccUsersList:Mb(yg(a,Wg,40),OC),collaboratorUsersList:Mb(yg(a,Wg,51),OC),attachmentIdList:p(Bg(a,14)),duplicateOfIssueId:p(m(a,15)),blockedByIssueIdList:p(Bg(a,16)),blockingIssueIdList:p(Bg(a,17)),
changelistList:p(Cg(a,18)),postmortemsList:p(Cg(a,35)),foundInVersionList:p(Cg(a,19)),targetedToVersionList:p(Cg(a,20)),verifiedInVersionList:p(Cg(a,21)),inProd:p(Db(a,22)),hotlistIdList:p(Bg(a,23)),customFieldList:Mb(yg(a,th,24),qdc),retention:p(m(a,42)),isDeleted:p(Db(a,27)),deletionReason:p(m(a,28)),significanceOverride:p(m(a,29)),duplicateIssueIdList:p(Bg(a,30)),isArchived:p(Db(a,31)),comment:p(m(a,25)),formattingMode:p(m(a,45)),sloSnoozeUntil:pr(a.getSloSnoozeUntil()),sloEndTime:pr(a.getSloEndTime()),
sloSnoozeType:p(m(a,52)),effort:Cdc(a.getEffort()),accessLimitLevel:p(m(a,53))}},Mfc=[Yh,36,X,PC,2,pq,3,mq,4,pq,5,Nq,6,Nq,7,Nq,8,Nq,9,Cq,37,X,PC,38,X,PC,39,X,PC,40,Iq,PC,51,Iq,PC,14,nq,15,mq,16,nq,17,nq,18,Dq,35,Dq,19,Dq,20,Dq,21,Dq,22,zq,23,nq,24,Iq,rdc,42,Nq,27,zq,28,Nq,29,Nq,30,nq,31,zq,25,Cq,45,Nq,34,X,qr,54,X,qr,52,Nq,50,X,Ddc,53,Nq];Yh.prototype.serializeBinary=u(Mfc);var ji=function(a){r.call(this,a,0,ji.messageId)};V(ji,r);f=ji.prototype;f.getStarred=function(){return vi(this,1)};f.setStarred=function(a){xi(this,1,a)};f.hasStarred=function(){return pj(this,1)};f.getVoted=function(){return vi(this,2)};f.setVoted=function(a){return xi(this,2,a)};f.getNotificationSubscription=function(){return Fh(this,4,0)};f.setNotificationSubscription=function(a){return n(this,4,a)};f.toObject=function(){return Nfc(this)};
var Nfc=function(a){if(null!=a)return t(a),{starred:p(Db(a,1)),voted:p(Db(a,2)),notificationSubscription:p(m(a,4)),lastViewedTimeMicros:p(m(a,5))}},Ofc=[ji,1,zq,2,zq,4,Nq,5,pq];ji.prototype.serializeBinary=u(Ofc);ji.messageId="b.IssueUserData";var PD=function(a){r.call(this,a,0,PD.messageId)};V(PD,r);f=PD.prototype;f.getIssueId=function(){return lh(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.getUpdateText=function(){return mh(this,2)};f.setUpdateText=function(a){n(this,2,a)};f.getFormattingMode=function(){return Fh(this,4,0)};f.setFormattingMode=function(a){return n(this,4,a)};f.getAuthor=function(){return W(this,Wg,5)};f.setAuthor=function(a){Oh(this,Wg,5,a)};f.getUpdateTime=function(){return W(this,ug,6)};
f.setUpdateTime=function(a){Oh(this,ug,6,a)};f.getVersion=function(){return Ag(this,7)};f.setVersion=function(a){return n(this,7,a)};f.getVersionOrUndefined=function(){return cq(this,7)};f.getEntityStatus=function(){return W(this,KD,8)};f.toObject=function(){return Pfc(this)};
var Pfc=function(a){if(null!=a)return t(a),{issueId:p(m(a,1)),updateText:p(m(a,2)),formattedText:Yec(W(a,ri,3)),formattingMode:p(m(a,4)),author:OC(a.getAuthor()),updateTime:pr(a.getUpdateTime()),version:p(Cb(a,7)),entityStatus:LD(a.getEntityStatus())}},Qfc=[PD,1,mq,2,Cq,3,X,Zec,4,Nq,5,X,PC,6,X,qr,7,wq,8,X,MD];PD.prototype.serializeBinary=u(Qfc);PD.messageId="b.StatusUpdate";var ii=function(a){r.call(this,a)};V(ii,r);f=ii.prototype;f.getIssueId=function(){return lh(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.setSnapshot=function(a){Np(this,2,Yh,a)};f.getUserData=function(){return W(this,ji,3)};f.setUserData=function(a){Oh(this,ji,3,a)};f.getParentIssueIdsList=function(){return Bg(this,8)};f.setParentIssueIdsList=function(a){$h(this,8,a)};f.getAccessLimit=function(){return W(this,Pg,5)};f.setAccessLimit=function(a){return Oh(this,Pg,5,a)};
f.getCustomFieldsList=function(){return yg(this,yh,15)};f.setCustomFieldsList=function(a){Th(this,15,a)};f.getDescription=function(){return W(this,OD,16)};f.setDescription=function(a){return Oh(this,OD,16,a)};f.hasDescription=function(){return qi(this,OD,16)};f.getVisibleFieldsList=function(){return yg(this,qh,6)};f.setVisibleFieldsList=function(a){Th(this,6,a)};f.getAncestorsMap=function(){return fq(this,9,ni)};f.getChildIssueCount=function(){return Ag(this,10)};
f.setChildIssueCount=function(a){n(this,10,a)};f.getIsArchived=function(){return vi(this,11)};f.setIsArchived=function(a){return xi(this,11,a)};f.getRelatedLinksList=function(){return yg(this,zD,12)};f.getTrackerId=function(){return lh(this,13)};f.setTrackerId=function(a){n(this,13,a)};f.getStatusUpdate=function(){return W(this,PD,14)};f.hasStatusUpdate=function(){return qi(this,PD,14)};ii.repeatedFields_=[2,8,15,6,12];ii.prototype.toObject=function(){return QD(this)};
var QD=function(a){if(null!=a)return t(a),{issueId:p(m(a,1)),snapshotList:Mb(yg(a,Yh,2),Lfc),userData:Nfc(a.getUserData()),aggregatedData:Bfc(W(a,ki,4)),parentIssueIdsList:p(Bg(a,8)),accessLimit:hdc(a.getAccessLimit()),customFieldsList:Mb(a.getCustomFieldsList(),sdc),description:Jfc(a.getDescription()),visibleFieldsList:Mb(a.getVisibleFieldsList(),edc),majorModifiedTimeMicros:p(m(a,7)),ancestorsMap:Ob(a.getAncestorsMap(),Idc),childIssueCount:p(Cb(a,10)),isArchived:p(Db(a,11)),relatedLinksList:Mb(a.getRelatedLinksList(),
Kec),trackerId:p(m(a,13)),statusUpdate:Pfc(a.getStatusUpdate())}},RD=[ii,1,mq,2,Iq,Mfc,3,X,Ofc,4,X,Cfc,8,nq,5,X,idc,15,Iq,tdc,16,X,Kfc,6,Iq,fdc,7,pq,9,zNb,Jdc,10,wq,11,zq,12,Iq,Lec,13,mq,14,X,Qfc];ii.prototype.serializeBinary=u(RD);var hi=function(a){r.call(this,a,0,hi.messageId)};V(hi,r);f=hi.prototype;f.getIssueId=function(){return lh(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.getPosition=function(){return Ag(this,2)};f.setPosition=function(a){return n(this,2,a)};f.getIssue=function(){return W(this,ii,3)};f.setIssue=function(a){Oh(this,ii,3,a)};f.toObject=function(){return Rfc(this)};
var Rfc=function(a){if(null!=a)return t(a),{issueId:p(m(a,1)),position:p(Cb(a,2)),issue:QD(a.getIssue())}},Sfc=[hi,1,mq,2,wq,3,X,RD];hi.prototype.serializeBinary=u(Sfc);hi.messageId="b.HotlistIssue";var pi=function(a){r.call(this,a)};V(pi,r);f=pi.prototype;f.getSnapshot=function(){return W(this,Yh,1)};f.setSnapshot=function(a){Oh(this,Yh,1,a)};f.getAttachmentsList=function(){return Pp(this,2)};f.setAttachmentsList=function(a){Oj(this,2,a)};f.getAttachments=function(){return ZMb(this,2)};f.getTemplateId=function(){return lh(this,4)};f.setTemplateId=function(a){n(this,4,a)};f.getContentJudgement=function(){return W(this,nh,5)};f.setContentJudgement=function(a){return Oh(this,nh,5,a)};
pi.repeatedFields_=[2,3];pi.prototype.toObject=function(){if(null!=this){t(this);var a={snapshot:Lfc(this.getSnapshot()),attachmentsList:Qb(this.getAttachmentsList()),attachmentStringsList:p(Cg(this,3)),templateId:p(m(this,4)),contentJudgement:UC(this.getContentJudgement())}}else a=void 0;return a};pi.prototype.serializeBinary=u([pi,1,X,Mfc,2,sNb,3,Dq,4,mq,5,X,VC]);var fi=function(a){r.call(this,a)};V(fi,r);f=fi.prototype;f.getIssueId=function(){return lh(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.getActionsList=function(){return yg(this,ei,2)};f.setActionsList=function(a){Th(this,2,a)};f.getAttachmentsList=function(){return Pp(this,3)};f.setAttachmentsList=function(a){Oj(this,3,a)};f.getAttachments=function(){return ZMb(this,3)};f.getSignificanceOverride=function(){return mh(this,4)};f.setSignificanceOverride=function(a){n(this,4,a)};
fi.repeatedFields_=[2,3,5];fi.prototype.toObject=function(){if(null!=this){t(this);var a={issueId:p(m(this,1)),actionsList:Mb(this.getActionsList(),xfc),attachmentsList:Qb(this.getAttachmentsList()),significanceOverride:p(m(this,4)),attachmentStringsList:p(Cg(this,5))}}else a=void 0;return a};fi.prototype.serializeBinary=u([fi,1,mq,2,Iq,yfc,3,sNb,4,Cq,5,Dq]);var SD=function(a){r.call(this,a)};V(SD,r);f=SD.prototype;f.getCount=function(){return Ag(this,2)};f.setCount=function(a){return n(this,2,a)};f.setS=function(a){n(this,3,a)};f.setP=function(a){return n(this,4,a)};f.getNextPageToken=function(){return mh(this,5)};f.setTrackerIdsList=function(a){$h(this,6,a)};SD.repeatedFields_=[6];
SD.prototype.toObject=function(){if(null!=this){t(this);var a={q:p(m(this,1)),count:p(Cb(this,2)),s:p(m(this,3)),p:p(Cb(this,4)),nextPageToken:p(m(this,5)),trackerIdsList:p(Bg(this,6))}}else a=void 0;return a};SD.prototype.serializeBinary=u([SD,1,Cq,2,wq,3,Cq,4,wq,5,Cq,6,oq]);var tua=function(a){r.call(this,a)};V(tua,r);f=tua.prototype;f.getIssueId=function(){return lh(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.getComponentId=function(){return lh(this,2)};f.setComponentId=function(a){return n(this,2,a)};f.hasComponentId=function(){return kh(this,2)};f.toObject=function(){if(null!=this){t(this);var a={issueId:p(m(this,1)),componentId:p(m(this,2))}}else a=void 0;return a};f.serializeBinary=u([tua,1,mq,2,mq]);var rua=function(a){r.call(this,a)};V(rua,r);f=rua.prototype;f.getIssueId=function(){return lh(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.getComponentId=function(){return lh(this,2)};f.setComponentId=function(a){return n(this,2,a)};f.hasComponentId=function(){return kh(this,2)};f.toObject=function(){if(null!=this){t(this);var a={issueId:p(m(this,1)),componentId:p(m(this,2))}}else a=void 0;return a};f.serializeBinary=u([rua,1,mq,2,mq]);var oi=function(a){r.call(this,a)};V(oi,r);f=oi.prototype;f.getIssueId=function(){return lh(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.getRelation=function(){return Fh(this,3,0)};f.setRelation=function(a){n(this,3,a)};f.setActionType=function(a){n(this,4,a)};oi.repeatedFields_=[2];oi.prototype.toObject=function(){if(null!=this){t(this);var a={issueId:p(m(this,1)),targetIdsList:p(Bg(this,2)),relation:p(m(this,3)),actionType:p(m(this,4))}}else a=void 0;return a};
oi.prototype.serializeBinary=u([oi,1,mq,2,nq,3,Nq,4,Nq]);var di=function(a){r.call(this,a,0,di.messageId)};V(di,r);di.prototype.getIssueId=function(){return lh(this,1)};di.prototype.setIssueId=function(a){return n(this,1,a)};di.prototype.toObject=function(){if(null!=this){t(this);var a={issueId:p(m(this,1))}}else a=void 0;return a};di.prototype.serializeBinary=u([di,1,mq]);di.messageId="b.UnCcUserActionRequest";var TD=function(a){r.call(this,a,0,TD.messageId)};V(TD,r);TD.prototype.getIssueId=function(){return lh(this,1)};TD.prototype.setIssueId=function(a){return n(this,1,a)};TD.prototype.toObject=function(){if(null!=this){t(this);var a={issueId:p(m(this,1))}}else a=void 0;return a};TD.prototype.serializeBinary=u([TD,1,mq]);TD.messageId="b.UndeleteIssueRequest";var UD=function(a){r.call(this,a)};V(UD,r);UD.prototype.getAccessLevel=function(){return Fh(this,1,0)};UD.prototype.setAccessLevel=function(a){return n(this,1,a)};UD.prototype.toObject=function(){return Tfc(this)};var Tfc=function(a){if(null!=a)return t(a),{accessLevel:p(m(a,1))}},Ufc=[UD,1,Nq];UD.prototype.serializeBinary=u(Ufc);var VD=function(a){r.call(this,a,0,VD.messageId)};V(VD,r);f=VD.prototype;f.getIssueId=function(){return lh(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.getIssueAccessLimit=function(){return W(this,UD,2)};f.setIssueAccessLimit=function(a){Oh(this,UD,2,a)};f.getAddedCollaboratorsList=function(){return yg(this,Wg,3)};f.setAddedCollaboratorsList=function(a){Th(this,3,a)};f.getRemovedCollaboratorsList=function(){return yg(this,Wg,4)};f.setRemovedCollaboratorsList=function(a){Th(this,4,a)};
VD.repeatedFields_=[3,4];VD.prototype.toObject=function(){if(null!=this){t(this);var a={issueId:p(m(this,1)),issueAccessLimit:Tfc(this.getIssueAccessLimit()),addedCollaboratorsList:Mb(this.getAddedCollaboratorsList(),OC),removedCollaboratorsList:Mb(this.getRemovedCollaboratorsList(),OC)}}else a=void 0;return a};VD.prototype.serializeBinary=u([VD,1,mq,2,X,Ufc,3,Iq,PC,4,Iq,PC]);VD.messageId="b.UpdateIssueAccessLimitRequest";var gi=function(a){r.call(this,a)};V(gi,r);gi.prototype.setAddHotlistIdsList=function(a){$h(this,1,a)};gi.prototype.setRemoveHotlistIdsList=function(a){$h(this,2,a)};gi.prototype.getSignificanceOverride=function(){return Fh(this,4,0)};gi.prototype.setSignificanceOverride=function(a){n(this,4,a)};gi.repeatedFields_=[1,2];
gi.prototype.toObject=function(){if(null!=this){t(this);var a={addHotlistIdsList:p(Bg(this,1)),removeHotlistIdsList:p(Bg(this,2)),hotlistIssue:Rfc(W(this,hi,3)),significanceOverride:p(m(this,4))}}else a=void 0;return a};gi.prototype.serializeBinary=u([gi,1,nq,2,nq,3,X,Sfc,4,Nq]);var Eua=function(a){r.call(this,a)};V(Eua,r);f=Eua.prototype;f.getIssueId=function(){return lh(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.getRetention=function(){return Fh(this,2,0)};f.setRetention=function(a){n(this,2,a)};f.getSignificanceOverride=function(){return Fh(this,3,0)};f.setSignificanceOverride=function(a){n(this,3,a)};f.toObject=function(){if(null!=this){t(this);var a={issueId:p(m(this,1)),retention:p(m(this,2)),significanceOverride:p(m(this,3))}}else a=void 0;return a};
f.serializeBinary=u([Eua,1,mq,2,Nq,3,Nq]);var ti=function(a){r.call(this,a)};V(ti,r);ti.prototype.getContentJudgement=function(){return W(this,nh,2)};ti.prototype.setContentJudgement=function(a){return Oh(this,nh,2,a)};ti.prototype.toObject=function(){return Vfc(this)};var Vfc=function(a){if(null!=a)return t(a),{attachment:Qb(si(a,1)),contentJudgement:UC(a.getContentJudgement())}},Wfc=[ti,1,Kq,2,X,VC];ti.prototype.serializeBinary=u(Wfc);var WD=function(a){r.call(this,a)};V(WD,r);WD.prototype.getIssueId=function(){return lh(this,1)};WD.prototype.setIssueId=function(a){return n(this,1,a)};WD.repeatedFields_=[3];WD.prototype.toObject=function(){if(null!=this){t(this);var a={issueId:p(m(this,1)),attachmentsWithJudgementsList:Mb(yg(this,ti,3),Vfc)}}else a=void 0;return a};WD.prototype.serializeBinary=u([WD,1,mq,3,Iq,Wfc]);var Xfc=function(a){r.call(this,a)};V(Xfc,r);f=Xfc.prototype;f.getFilename=function(){return mh(this,1)};f.setFilename=function(a){n(this,1,a)};f.getMimeType=function(){return mh(this,2)};f.setMimeType=function(a){n(this,2,a)};f.getSize=function(){return Wh(this,5)};f.setSize=function(a){return n(this,5,a)};f.toObject=function(){if(null!=this){t(this);var a={filename:p(m(this,1)),mimeType:p(m(this,2)),encryptedBlobId:p(m(this,3)),docId:p(m(this,4)),size:p(m(this,5))}}else a=void 0;return a};
f.serializeBinary=u([Xfc,1,Cq,2,Cq,3,Cq,4,Cq,5,pq]);var Ai=function(a){r.call(this,a)};V(Ai,r);f=Ai.prototype;f.getTeamId=function(){return Wh(this,1)};f.setTeamId=function(a){return lb(this,1,a)};f.getScore=function(){return Xh(this,2)};f.setScore=function(a){cb(this,2,Pa(a),0)};f.toObject=function(){return Yfc(this)};var Yfc=function(a){if(null!=a)return t(a),{teamId:Wh(a,1),score:Xh(a,2)}},Zfc=[Ai,1,sq,2,jq];Ai.prototype.serializeBinary=u(Zfc);var zi=function(a){r.call(this,a)};V(zi,r);f=zi.prototype;f.getInherit=function(){return vi(this,1)};f.setInherit=function(a){xi(this,1,a)};f.getId=function(){return lh(this,2)};f.setId=function(a){return n(this,2,a)};f.toObject=function(){return $fc(this)};var $fc=function(a){if(null!=a)return t(a),{inherit:p(Db(a,1)),id:p(m(a,2))}},agc=[zi,1,zq,2,mq];zi.prototype.serializeBinary=u(agc);var wi=function(a){r.call(this,a)};V(wi,r);wi.prototype.getUser=function(){return W(this,Wg,1)};wi.prototype.setUser=function(a){Oh(this,Wg,1,a)};wi.prototype.hasUser=function(){return qi(this,Wg,1)};wi.prototype.toObject=function(){return bgc(this)};var bgc=function(a){if(null!=a)return t(a),{user:OC(a.getUser()),isLead:p(Db(a,2))}},cgc=[wi,1,X,PC,2,zq];wi.prototype.serializeBinary=u(cgc);var yi=function(a){r.call(this,a)};V(yi,r);f=yi.prototype;f.getInherit=function(){return vi(this,1)};f.setInherit=function(a){xi(this,1,a)};f.getSloId=function(){return lh(this,2)};f.setSloId=function(a){return n(this,2,a)};f.getComment=function(){return mh(this,3)};f.setComment=function(a){n(this,3,a)};f.getSourceTeamId=function(){return lh(this,4)};f.setSourceTeamId=function(a){n(this,4,a)};f.toObject=function(){return dgc(this)};
var dgc=function(a){if(null!=a)return t(a),{inherit:p(Db(a,1)),sloId:p(m(a,2)),comment:p(m(a,3)),sourceTeamId:p(m(a,4))}},egc=[yi,1,zq,2,mq,3,Cq,4,mq];yi.prototype.serializeBinary=u(egc);var XD=function(a){r.call(this,a,0,XD.messageId)};V(XD,r);f=XD.prototype;f.getTeamId=function(){return lh(this,1)};f.setTeamId=function(a){return n(this,1,a)};f.getVersion=function(){return Ag(this,2)};f.setVersion=function(a){return n(this,2,a)};f.getVersionOrUndefined=function(){return cq(this,2)};f.getName=function(){return mh(this,3)};f.setName=function(a){return n(this,3,a)};f.hasName=function(){return jj(this,3)};f.getNameOrUndefined=function(){return eq(this,3)};
f.getDescription=function(){return mh(this,4)};f.setDescription=function(a){return n(this,4,a)};f.hasDescription=function(){return jj(this,4)};f.getPathNamesList=function(){return Cg(this,5)};f.setPathNamesList=function(a){uh(this,5,a)};f.getPathIdsList=function(){return Wj(this,10)};f.setPathIdsList=function(a){bb(this,10,a,Ta)};f.getMembersList=function(){return yg(this,wi,7)};f.setMembersList=function(a){Th(this,7,a)};f.getDeleted=function(){return vi(this,8)};
f.setDeleted=function(a){xi(this,8,a)};f.getSlo=function(){return W(this,yi,11)};f.setSlo=function(a){Oh(this,yi,11,a)};f.hasSlo=function(){return qi(this,yi,11)};XD.repeatedFields_=[5,10,6,7];XD.prototype.toObject=function(){return fgc(this)};
var fgc=function(a){if(null!=a)return t(a),{teamId:p(m(a,1)),version:p(Cb(a,2)),name:p(m(a,3)),description:p(m(a,4)),pathNamesList:p(Cg(a,5)),pathIdsList:p(Wj(a,10)),collapsedPathNamesList:p(Cg(a,6)),membersList:Mb(a.getMembersList(),bgc),deleted:p(Db(a,8)),estimatedComponentCount:p(m(a,9)),slo:dgc(a.getSlo()),sloLead:OC(W(a,Wg,12)),defaultSloLead:OC(W(a,Wg,13))}},ggc=[XD,1,mq,2,wq,3,Cq,4,Cq,5,Dq,10,rq,6,Dq,7,Iq,cgc,8,zq,9,pq,11,X,egc,12,X,PC,13,X,PC];XD.prototype.serializeBinary=u(ggc);
XD.messageId="b.TeamState";var YD=function(a){r.call(this,a)};V(YD,r);f=YD.prototype;f.getPathIdsList=function(){return Bg(this,1)};f.setPathIdsList=function(a){$h(this,1,a)};f.getPathNamesList=function(){return Cg(this,2)};f.setPathNamesList=function(a){uh(this,2,a)};f.getId=function(){return lh(this,3)};f.setId=function(a){return n(this,3,a)};f.getName=function(){return mh(this,4)};f.setName=function(a){return n(this,4,a)};f.hasName=function(){return jj(this,4)};f.getNameOrUndefined=function(){return eq(this,4)};
f.getDescription=function(){return mh(this,5)};f.setDescription=function(a){return n(this,5,a)};f.hasDescription=function(){return jj(this,5)};YD.repeatedFields_=[1,2];YD.prototype.toObject=function(){return hgc(this)};var hgc=function(a){if(null!=a)return t(a),{pathIdsList:p(Bg(a,1)),pathNamesList:p(Cg(a,2)),id:p(m(a,3)),name:p(m(a,4)),description:p(m(a,5))}},igc=[YD,1,nq,2,Dq,3,mq,4,Cq,5,Cq];YD.prototype.serializeBinary=u(igc);var ZD=function(a){r.call(this,a)};V(ZD,r);f=ZD.prototype;f.getId=function(){return lh(this,1)};f.setId=function(a){return n(this,1,a)};f.getName=function(){return mh(this,2)};f.setName=function(a){return n(this,2,a)};f.hasName=function(){return jj(this,2)};f.getNameOrUndefined=function(){return eq(this,2)};f.getDescription=function(){return mh(this,3)};f.setDescription=function(a){return n(this,3,a)};f.hasDescription=function(){return jj(this,3)};f.toObject=function(){return jgc(this)};
var jgc=function(a){if(null!=a)return t(a),{id:p(m(a,1)),name:p(m(a,2)),description:p(m(a,3))}},kgc=[ZD,1,mq,2,Cq,3,Cq];ZD.prototype.serializeBinary=u(kgc);var Ci=function(a){r.call(this,a)};V(Ci,r);Ci.repeatedFields_=[1,2,4];Ci.prototype.toObject=function(){return lgc(this)};var lgc=function(a){if(null!=a)return t(a),{componentPathIdList:p(Bg(a,1)),componentPathNameList:p(Cg(a,2)),allCustomFieldList:Mb(yg(a,yh,4),sdc)}},mgc=[Ci,1,nq,2,Dq,4,Iq,tdc];Ci.prototype.serializeBinary=u(mgc);var Gi=function(a){r.call(this,a,0,Gi.messageId)};V(Gi,r);f=Gi.prototype;f.getComponentId=function(){return lh(this,1)};f.setComponentId=function(a){return n(this,1,a)};f.hasComponentId=function(){return kh(this,1)};f.getName=function(){return mh(this,3)};f.setName=function(a){return n(this,3,a)};f.hasName=function(){return jj(this,3)};f.getNameOrUndefined=function(){return eq(this,3)};f.getDescription=function(){return mh(this,4)};f.setDescription=function(a){return n(this,4,a)};
f.hasDescription=function(){return jj(this,4)};f.getArchived=function(){return vi(this,5)};f.setArchived=function(a){xi(this,5,a)};f.getCustomFieldId=function(){return Yp(this,7)};f.setCustomFieldId=function(a){return $p(this,7,a)};f.getHotlistIdList=function(){return Bg(this,8)};f.setHotlistIdList=function(a){$h(this,8,a)};f.getHotlistId=function(){return Yp(this,8)};f.setHotlistId=function(a){$p(this,8,a)};f.getTemplateId=function(){return Yp(this,9)};f.setTemplateId=function(a){$p(this,9,a)};
f.getAccessLimit=function(){return W(this,Pg,12)};f.setAccessLimit=function(a){return Oh(this,Pg,12,a)};f.setCommentEditState=function(a){return n(this,15,a)};f.getSlo=function(){return W(this,Jh,19)};f.setSlo=function(a){Oh(this,Jh,19,a)};f.hasSlo=function(){return qi(this,Jh,19)};f.getRetentionSettings=function(){return W(this,Gh,21)};f.setRetentionSettings=function(a){Oh(this,Gh,21,a)};f.hasRetentionSettings=function(){return qi(this,Gh,21)};f.getTeam=function(){return W(this,zi,22)};
f.setTeam=function(a){Oh(this,zi,22,a)};f.hasTeam=function(){return qi(this,zi,22)};f.getEffortSpec=function(){return W(this,zh,24)};f.getTeamSuggestionsList=function(){return yg(this,Ai,25)};f.setTeamSuggestionsList=function(a){Th(this,25,a)};f.getTrackerId=function(){return lh(this,26)};f.setTrackerId=function(a){n(this,26,a)};Gi.repeatedFields_=[6,7,8,9,25];Gi.prototype.toObject=function(){return $D(this)};
var $D=function(a){if(null!=a)return t(a),{componentId:p(m(a,1)),parentComponentId:p(m(a,2)),name:p(m(a,3)),description:p(m(a,4)),archived:p(Db(a,5)),codenameList:p(Cg(a,6)),customFieldIdList:p(Bg(a,7)),hotlistIdList:p(Bg(a,8)),templateIdList:p(Bg(a,9)),componentPathInfo:lgc(W(a,Ci,10)),accessLimit:hdc(a.getAccessLimit()),emailAlias:p(m(a,13)),userHasEditAccess:p(Db(a,14)),commentEditState:p(m(a,15)),defaultTemplateId:p(m(a,18)),slo:nfc(a.getSlo()),bugscopeSloId:p(m(a,20)),retentionSettings:dfc(a.getRetentionSettings()),
team:$fc(a.getTeam()),fieldOrdering:p(m(a,23)),effortSpec:Adc(a.getEffortSpec()),teamSuggestionsList:Mb(a.getTeamSuggestionsList(),Yfc),trackerId:p(m(a,26))}},aE=[Gi,1,mq,2,mq,3,Cq,4,Cq,5,zq,6,Dq,7,nq,8,nq,9,nq,10,X,mgc,12,X,idc,13,Cq,14,zq,15,Nq,18,mq,19,X,ofc,20,mq,21,X,efc,22,X,agc,23,Nq,24,X,Bdc,25,Iq,Zfc,26,mq];Gi.prototype.serializeBinary=u(aE);Gi.messageId="b.Component";var Hi=function(a){r.call(this,a)};V(Hi,r);f=Hi.prototype;f.getTemplateId=function(){return Wh(this,1)};f.setTemplateId=function(a){n(this,1,a)};f.getComponentId=function(){return lh(this,2)};f.setComponentId=function(a){return n(this,2,a)};f.hasComponentId=function(){return kh(this,2)};f.getDefault=function(){return vi(this,6)};f.setDefault=function(a){xi(this,6,a)};f.getName=function(){return mh(this,3)};f.setName=function(a){return n(this,3,a)};f.hasName=function(){return jj(this,3)};
f.getNameOrUndefined=function(){return eq(this,3)};f.getDescription=function(){return mh(this,4)};f.setDescription=function(a){return n(this,4,a)};f.hasDescription=function(){return jj(this,4)};f.getSnapshot=function(){return W(this,Yh,5)};f.setSnapshot=function(a){Oh(this,Yh,5,a)};f.toObject=function(){return ngc(this)};
var ngc=function(a){if(null!=a)return t(a),{templateId:p(m(a,1)),componentId:p(m(a,2)),pb_default:p(Db(a,6)),name:p(m(a,3)),description:p(m(a,4)),snapshot:Lfc(a.getSnapshot())}},ogc=[Hi,1,pq,2,mq,6,zq,3,Cq,4,Cq,5,X,Mfc];Hi.prototype.serializeBinary=u(ogc);var bE=function(a){r.call(this,a,0,bE.messageId)};V(bE,r);f=bE.prototype;f.getSlo=function(){return W(this,Jh,1)};f.setSlo=function(a){Oh(this,Jh,1,a)};f.hasSlo=function(){return qi(this,Jh,1)};f.toObject=function(){if(null!=this){t(this);var a={slo:nfc(this.getSlo())}}else a=void 0;return a};f.serializeBinary=u([bE,1,X,ofc]);bE.messageId="b.UpdateComponentSloRequest";var cE=function(a){r.call(this,a,0,cE.messageId)};V(cE,r);f=cE.prototype;f.getTeam=function(){return W(this,zi,1)};f.setTeam=function(a){Oh(this,zi,1,a)};f.hasTeam=function(){return qi(this,zi,1)};f.toObject=function(){if(null!=this){t(this);var a={team:$fc(this.getTeam())}}else a=void 0;return a};f.serializeBinary=u([cE,1,X,agc]);cE.messageId="b.UpdateComponentTeamRequest";var bj=function(a){r.call(this,a)};V(bj,r);f=bj.prototype;f.getActionsList=function(){return yg(this,ei,1)};f.setActionsList=function(a){Th(this,1,a)};f.getIssueIdsList=function(){return Bg(this,2)};f.setIssueIdsList=function(a){return $h(this,2,a)};f.addIssueIds=function(a){eb(this,2,a)};bj.repeatedFields_=[1,2];bj.prototype.toObject=function(){return pgc(this)};var pgc=function(a){if(null!=a)return t(a),{actionsList:Mb(a.getActionsList(),xfc),issueIdsList:p(Bg(a,2))}},qgc=[bj,1,Iq,yfc,2,nq];
bj.prototype.serializeBinary=u(qgc);var dE=function(a){r.call(this,a)};V(dE,r);dE.prototype.getSignificanceOverride=function(){return mh(this,3)};dE.prototype.setSignificanceOverride=function(a){n(this,3,a)};dE.repeatedFields_=[4];dE.prototype.toObject=function(){if(null!=this){t(this);var a={bulkEditOpsList:Mb(yg(this,bj,4),pgc),significanceOverride:p(m(this,3))}}else a=void 0;return a};dE.prototype.serializeBinary=u([dE,4,Iq,qgc,3,Cq]);var ak=function(a){r.call(this,a)};V(ak,r);ak.prototype.toObject=function(){return rgc(this)};var rgc=function(a){if(null!=a)return t(a),{privateDoNotAccessOrElseTrustedResourceUrlWrappedValue:p(m(a,4))}},sgc=[ak,4,Cq];ak.prototype.serializeBinary=u(sgc);var tgc=function(a){return"action/issues/"+a+"/statusUpdate"},jp={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"},ugc={ISSUE_ID:"issueId",COMPONENT_ID:"componentId",GROUP_ID:"groupId",HOTLIST_ID:"hotlistId",SAVED_SEARCH_ID:"savedSearchId",SLO_ID:"sloId",TEAM_ID:"teamId"};var ij=function(a){r.call(this,a,0,ij.messageId)};V(ij,r);ij.prototype.getLogoUrl=function(){return mh(this,1)};ij.prototype.getTheme=function(){return Fh(this,2,0)};ij.prototype.setTheme=function(a){return n(this,2,a)};ij.prototype.toObject=function(){return vgc(this)};var vgc=function(a){if(null!=a)return t(a),{logoUrl:p(m(a,1)),theme:p(m(a,2)),cocUrl:p(m(a,3))}},wgc=[ij,1,Cq,2,Nq,3,Cq];ij.prototype.serializeBinary=u(wgc);ij.messageId="b.Branding";var Zj=function(a){r.call(this,a,0,Zj.messageId)};V(Zj,r);f=Zj.prototype;f.getTrackerId=function(){return lh(this,1)};f.setTrackerId=function(a){n(this,1,a)};f.getComponentId=function(){return lh(this,2)};f.setComponentId=function(a){return n(this,2,a)};f.hasComponentId=function(){return kh(this,2)};f.getName=function(){return mh(this,3)};f.setName=function(a){return n(this,3,a)};f.hasName=function(){return jj(this,3)};f.getNameOrUndefined=function(){return eq(this,3)};Zj.repeatedFields_=[4,8];
Zj.prototype.toObject=function(){return xgc(this)};var xgc=function(a){if(null!=a)return t(a),{trackerId:p(m(a,1)),componentId:p(m(a,2)),name:p(m(a,3)),associatedTrackerIdsList:p(Bg(a,4)),internalBaseUrl:p(m(a,6)),externalBaseUrl:p(m(a,7)),branding:vgc(W(a,ij,5)),trustedCollaboratorsList:Mb(yg(a,Wg,8),OC)}},ygc=[Zj,1,mq,2,mq,3,Cq,4,oq,6,Cq,7,Cq,5,X,wgc,8,Iq,PC];Zj.prototype.serializeBinary=u(ygc);Zj.messageId="b.Tracker";var Rva={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"},zgc={},Agc=(zgc[3]="LITERAL_FORMATTING_MODE",zgc[1]="PLAIN_FORMATTING_MODE",zgc[2]="MARKDOWN_FORMATTING_MODE",zgc),Bgc=Agc[2],Cgc=Agc[1],eE={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(" ")}};var kj=function(a){this.type=a.type;this.customFieldId=a.customFieldId||void 0;this.customFieldName=a.customFieldName||void 0};kj.prototype.isCustomField=function(){return"CUSTOM_FIELD"===this.type};kj.prototype.toApiUrlParam=function(){return this.isCustomField()?this.type.toLowerCase()+"."+this.customFieldId:this.type.toLowerCase()};kj.prototype.toString=function(){return this.toApiUrlParam()};var oj=function(a,b){this.fieldId=a;this.direction=b};oj.prototype.toApiUrlParam=function(){return this.fieldId.toApiUrlParam()+":"+("ASCENDING"===this.direction?"asc":"desc")};oj.prototype.toString=function(){return this.toApiUrlParam()};var yj=function(a){r.call(this,a)};V(yj,r);yj.prototype.toObject=function(){return Dgc(this)};var Dgc=function(a){if(null!=a)return t(a),{announcementDismissed:p(Db(a,2)),enableBugScreensaver:p(Db(a,1))}},Egc=[yj,2,zq,1,zq];yj.prototype.serializeBinary=u(Egc);var Ej=function(a){r.call(this,a)};V(Ej,r);Ej.prototype.toObject=function(){return Fgc(this)};var Fgc=function(a){if(null!=a)return t(a),{commentFilter:p(m(a,1))}},Ggc=[Ej,1,Nq];Ej.prototype.serializeBinary=u(Ggc);var Pj=function(a){r.call(this,a)};V(Pj,r);f=Pj.prototype;f.getType=function(){return Fh(this,1,1)};f.setType=function(a){return n(this,1,a)};f.hasType=function(){return Vh(this,1)};f.getCustomFieldId=function(){return Wh(this,2)};f.setCustomFieldId=function(a){return n(this,2,a)};f.hasCustomFieldId=function(){return Aj(this,2)};f.toObject=function(){return Hgc(this)};var Hgc=function(a){if(null!=a)return t(a),{type:p(m(a,1)),customFieldId:p(m(a,2))}},Igc=[Pj,1,Nq,2,pq];
Pj.prototype.serializeBinary=u(Igc);var Mj=function(a){r.call(this,a)};V(Mj,r);Mj.prototype.getTimeZone=function(){return mh(this,5)};Mj.prototype.setTimeZone=function(a){return n(this,5,a)};Mj.prototype.hasTimeZone=function(){return jj(this,5)};Mj.prototype.toObject=function(){return Jgc(this)};
var Jgc=function(a){if(null!=a)return t(a),{calendarFormat:p(m(a,1)),timeFormat:p(m(a,2)),calendarTimeFormat:p(m(a,3)),fullCalendarTimeFormat:p(m(a,4)),timeZone:p(m(a,5)),timeZoneOffset:p(m(a,6)),sloEtaViewAs:p(m(a,7))}},Kgc=[Mj,1,Cq,2,Cq,3,Cq,4,Cq,5,Cq,6,Cq,7,Nq];Mj.prototype.serializeBinary=u(Kgc);var Ij=function(a){r.call(this,a)};V(Ij,r);Ij.prototype.getColumnList=function(){return yg(this,Pj,1)};Ij.prototype.setColumnList=function(a){return Th(this,1,a)};Ij.prototype.setColumn=function(a){return Np(this,1,Pj,a)};Ij.repeatedFields_=[1];Ij.prototype.toObject=function(){return Lgc(this)};var Lgc=function(a){if(null!=a)return t(a),{columnList:Mb(a.getColumnList(),Hgc)}},Mgc=[Ij,1,Iq,Igc];Ij.prototype.serializeBinary=u(Mgc);var Lj=function(a){r.call(this,a)};V(Lj,r);Lj.prototype.toObject=function(){return Ngc(this)};var Ngc=function(a){if(null!=a)return t(a),{leftSidebarWidth:p(Cb(a,1)),expandIssueSlo:p(Db(a,2)),rightSidebarWidth:p(Cb(a,3))}},Ogc=[Lj,1,wq,2,zq,3,wq];Lj.prototype.serializeBinary=u(Ogc);var tj=function(a){r.call(this,a)};V(tj,r);tj.prototype.toObject=function(){return Pgc(this)};var Pgc=function(a){if(null!=a)return t(a),{showHotlists:p(Db(a,1)),wrapTitles:p(Db(a,2)),wrapComponents:p(Db(a,3)),showStatusIcons:p(Db(a,4)),rtlComponentPath:p(Db(a,5)),fieldStatusMap:Ob(uj(a,6,void 0)),modeForFieldMap:Ob(uj(a,7,void 0))}},Qgc=[tj,1,zq,2,zq,3,zq,4,zq,5,zq,6,CNb,7,CNb];tj.prototype.serializeBinary=u(Qgc);var Rj=function(a){r.call(this,a)};V(Rj,r);Rj.prototype.getColumn=function(){return W(this,Pj,1)};Rj.prototype.setColumn=function(a){return Oh(this,Pj,1,a)};Rj.prototype.toObject=function(){return Rgc(this)};var Rgc=function(a){if(null!=a)return t(a),{column:Hgc(a.getColumn()),order:p(m(a,2))}},Sgc=[Rj,1,X,Igc,2,Nq];Rj.prototype.serializeBinary=u(Sgc);var Jj=function(a){r.call(this,a)};V(Jj,r);Jj.prototype.getColumnList=function(){return yg(this,Rj,1)};Jj.prototype.setColumnList=function(a){return Th(this,1,a)};Jj.prototype.setColumn=function(a){return Np(this,1,Rj,a)};Jj.repeatedFields_=[1];Jj.prototype.toObject=function(){return Tgc(this)};var Tgc=function(a){if(null!=a)return t(a),{columnList:Mb(a.getColumnList(),Rgc)}},Ugc=[Jj,1,Iq,Sgc];Jj.prototype.serializeBinary=u(Ugc);var vj=function(a){r.call(this,a)};V(vj,r);vj.prototype.getDensity=function(){return Fh(this,1,1)};vj.prototype.setDensity=function(a){return n(this,1,a)};vj.prototype.toObject=function(){return Vgc(this)};var Vgc=function(a){if(null!=a)return t(a),{density:p(m(a,1))}},Wgc=[vj,1,Nq];vj.prototype.serializeBinary=u(Wgc);var zj=function(a){r.call(this,a)};V(zj,r);zj.prototype.toObject=function(){return Xgc(this)};var Xgc=function(a){if(null!=a)return t(a),{announcementDismissedMillis:p(m(a,1))}},Ygc=[zj,1,pq];zj.prototype.serializeBinary=u(Ygc);var Nj=function(a){r.call(this,a)};V(Nj,r);f=Nj.prototype;f.getResourceType=function(){return Fh(this,1,1)};f.setResourceType=function(a){n(this,1,a)};f.hasResourceType=function(){return Vh(this,1)};f.getResourceId=function(){return lh(this,2)};f.setResourceId=function(a){n(this,2,a)};f.hasResourceId=function(){return kh(this,2)};f.toObject=function(){return Zgc(this)};var Zgc=function(a){if(null!=a)return t(a),{resourceType:p(m(a,1)),resourceId:p(m(a,2))}},$gc=[Nj,1,Nq,2,mq];
Nj.prototype.serializeBinary=u($gc);var wj=function(a){r.call(this,a)};V(wj,r);wj.prototype.toObject=function(){return ahc(this)};var ahc=function(a){if(null!=a)return t(a),{enableAllHotkeys:vi(a,1,!0)}},bhc=[wj,1,zq];wj.prototype.serializeBinary=u(bhc);var Fj=function(a){r.call(this,a)};V(Fj,r);Fj.repeatedFields_=[1];Fj.prototype.toObject=function(){return chc(this)};var chc=function(a){if(null!=a)return t(a),{selectedSignalsList:p(Gj(a,1))}},dhc=[Fj,1,Pq];Fj.prototype.serializeBinary=u(dhc);var rj=function(a){r.call(this,a)};V(rj,r);rj.prototype.toObject=function(){return ehc(this)};var ehc=function(a){if(null!=a)return t(a),{reportedPriority:p(m(a,1)),assignedPriority:p(m(a,2)),verifiedPriority:p(m(a,3)),ccdPriority:p(m(a,4)),collaboratorPriority:p(m(a,9)),starredPriority:p(m(a,5)),excludeChangesByMe:p(Db(a,6)),unsubscribeFromAll:p(Db(a,7)),enableV2Prefs:p(Db(a,8))}},fhc=[rj,1,Nq,2,Nq,3,Nq,4,Nq,9,Nq,5,Nq,6,zq,7,zq,8,zq];rj.prototype.serializeBinary=u(fhc);var Cj=function(a){r.call(this,a)};V(Cj,r);Cj.prototype.getComponentId=function(){return Wh(this,1)};Cj.prototype.setComponentId=function(a){return n(this,1,a)};Cj.prototype.hasComponentId=function(){return Aj(this,1)};Cj.prototype.toObject=function(){return ghc(this)};var ghc=function(a){if(null!=a)return t(a),{componentId:p(m(a,1)),dismissMillis:p(m(a,2))}},hhc=[Cj,1,pq,2,pq];Cj.prototype.serializeBinary=u(hhc);var Bj=function(a){r.call(this,a)};V(Bj,r);var twa=function(a,b){Th(a,1,b)};Bj.repeatedFields_=[1];Bj.prototype.toObject=function(){return ihc(this)};var ihc=function(a){if(null!=a)return t(a),{componentTeamWarningsList:Mb(yg(a,Cj,1),ghc)}},jhc=[Bj,1,Iq,hhc];Bj.prototype.serializeBinary=u(jhc);var xj=function(a){r.call(this,a)};V(xj,r);xj.prototype.toObject=function(){return khc(this)};var khc=function(a){if(null!=a)return t(a),{lastPublishMode:p(m(a,1)),commentDisplayOverride:p(m(a,2))}},lhc=[xj,1,Nq,2,Nq];xj.prototype.serializeBinary=u(lhc);var fE=function(a){r.call(this,a)};V(fE,r);fE.repeatedFields_=[1];fE.prototype.toObject=function(){return mhc(this)};var mhc=function(a){if(null!=a)return t(a),{recentComponentIdList:p(Wj(a,1))}},nhc=[fE,1,qq];fE.prototype.serializeBinary=u(nhc);var ohc=function(a){r.call(this,a)};V(ohc,r);ohc.prototype.toObject=function(){return phc(this)};var phc=function(a){if(null!=a)return t(a),{enableNewIssueDetailsPage:p(Db(a,1)),onboardingDialogAcknowledgedMillis:p(m(a,2)),newIdpOptOut:p(Db(a,3))}},qhc=[ohc,1,zq,2,pq,3,zq];ohc.prototype.serializeBinary=u(qhc);var gE=function(a){r.call(this,a)};V(gE,r);gE.repeatedFields_=[1];gE.prototype.toObject=function(){return rhc(this)};var rhc=function(a){if(null!=a)return t(a),{hiddenSavedSearchList:p(Wj(a,1))}},shc=[gE,1,qq];gE.prototype.serializeBinary=u(shc);var hE=function(a){r.call(this,a)};V(hE,r);hE.prototype.getValue=function(){return vi(this,1)};hE.prototype.setValue=function(a){return jb(this,1,a)};hE.prototype.toObject=function(){return thc(this)};var thc=function(a){if(null!=a)return t(a),{value:vi(a,1)}},uhc=[hE,1,Aq];hE.prototype.serializeBinary=u(uhc);var Hj=function(a){r.call(this,a)};V(Hj,r);f=Hj.prototype;f.getDisplayColumns=function(){return W(this,Ij,4)};f.getSortColumns=function(){return W(this,Jj,6)};f.getLayoutPreferences=function(){return W(this,Lj,10)};f.getDateTimePreferences=function(){return W(this,Mj,11)};f.getHomepagePreferences=function(){return W(this,Nj,13)};f.clearHomepagePreferences=function(){return Qp(this,13)};f.getShowInlineImages=function(){return vi(this,29)};f.toObject=function(){return vhc(this)};
var vhc=function(a){if(null!=a)return t(a),{showFullHistory:p(Db(a,1)),useCodefont:p(Db(a,2)),notificationPreferences:ehc(W(a,rj,3)),displayColumns:Lgc(a.getDisplayColumns()),resultsPerPage:p(Cb(a,5)),sortColumns:Tgc(a.getSortColumns()),bannerMessageId:p(m(a,7)),themePreferences:Vgc(W(a,vj,8)),listViewPreferences:Pgc(W(a,tj,9)),layoutPreferences:Ngc(a.getLayoutPreferences()),dateTimePreferences:Jgc(a.getDateTimePreferences()),sidebarPreferences:rhc(W(a,gE,12)),homepagePreferences:Zgc(a.getHomepagePreferences()),
componentPreferences:mhc(W(a,fE,14)),keyboardPreferences:ahc(W(a,wj,17)),termsAcknowledgedMillis:p(m(a,15)),newFeaturesAcknowledgedMillis:p(m(a,16)),autoCcOnComment:p(Db(a,18)),enableMaterialStyles:thc(W(a,hE,19)),textDisplayPreferences:khc(W(a,xj,20)),bugScreensaverPreferences:Dgc(W(a,yj,21)),newIssueDetailsPagePreferences:phc(W(a,ohc,22)),teamWarningPreferences:ihc(W(a,Bj,23)),g3nPreferences:Xgc(W(a,zj,24)),dismissalTimestampsMap:Ob(Ii(a,25,ug),pr),showRecentEventsFirst:p(Db(a,26)),collapsedMap:Ob(Dj(a,
27,void 0)),commentFilterPreferences:Fgc(W(a,Ej,28)),showInlineImages:p(Db(a,29)),needsAttentionPreferences:chc(W(a,Fj,30))}},whc=[Hj,1,zq,2,zq,3,X,fhc,4,X,Mgc,5,wq,6,X,Ugc,7,Cq,8,X,Wgc,9,X,Qgc,10,X,Ogc,11,X,Kgc,12,X,shc,13,X,$gc,14,X,nhc,17,X,bhc,15,pq,16,mq,18,zq,19,X,uhc,20,X,lhc,21,X,Egc,22,X,qhc,23,X,jhc,24,X,Ygc,25,Sq,qr,26,zq,27,BNb,28,X,Ggc,29,zq,30,X,dhc];Hj.prototype.serializeBinary=u(whc);var Tj=function(a){r.call(this,a)};V(Tj,r);f=Tj.prototype;f.getAnalyticsId=function(){return mh(this,1)};f.getAppName=function(){return mh(this,2)};f.getDocumentationBaseUrl=function(){return mh(this,3)};f.getEnvironmentType=function(){return mh(this,5)};f.getMaxAccurateSearchResults=function(){return Ag(this,6)};f.getOnePickUrl=function(){return mh(this,7)};f.getOnePickSecretToken=function(){return mh(this,12)};f.getCommentNumberLimit=function(){return Ag(this,8)};
f.getCreateComponentRedirectDelay=function(){return Xh(this,9)};f.getCreateRestrictedSubresourcesComponentWhitelist=function(){return XMb(this,13)};f.getIssueAccessLimitsComponentAllowlist=function(){return XMb(this,18)};Tj.repeatedFields_=[10,13,18];Tj.prototype.toObject=function(){return xhc(this)};
var xhc=function(a){if(null!=a)return t(a),{analyticsId:p(m(a,1)),appName:p(m(a,2)),documentationBaseUrl:p(m(a,3)),enabledFlagsMap:Ob(Dj(a,4,void 0)),environmentType:p(m(a,5)),maxAccurateSearchResults:p(Cb(a,6)),onePickUrl:p(m(a,7)),onePickSecretToken:p(m(a,12)),commentNumberLimit:p(Cb(a,8)),createComponentRedirectDelay:p(yb(a,9)),whitelistedWhitelistDomainPartnerComponentIdsList:p(Bg(a,10)),isDogfooder:p(Db(a,11)),createRestrictedSubresourcesComponentWhitelistList:p(Wj(a,13)),issueAccessLimitsComponentAllowlistList:p(Wj(a,
18))}},yhc=[Tj,1,Cq,2,Cq,3,Cq,4,BNb,5,Cq,6,wq,7,Cq,12,Cq,8,wq,9,lq,10,nq,11,zq,13,rq,18,rq];Tj.prototype.serializeBinary=u(yhc);var Vj=function(a){r.call(this,a)};V(Vj,r);f=Vj.prototype;f.getEmail=function(){return mh(this,1)};f.setEmail=function(a){return n(this,1,a)};f.hasEmail=function(){return jj(this,1)};f.getSessionIdentifier=function(){return mh(this,3)};f.getUserTypeLabel=function(){return mh(this,5)};f.toObject=function(){return zhc(this)};var zhc=function(a){if(null!=a)return t(a),{anonymous:p(Db(a,4)),email:p(m(a,1)),sessionIdentifier:p(m(a,3)),userTypeLabel:p(m(a,5))}},Ahc=[Vj,4,zq,1,Cq,3,Cq,5,Cq];
Vj.prototype.serializeBinary=u(Ahc);var Xj=function(a){r.call(this,a,0,Xj.messageId)};V(Xj,r);Xj.prototype.getId=function(){return mh(this,1)};Xj.prototype.setId=function(a){return n(this,1,a)};Xj.repeatedFields_=[2,4];Xj.prototype.toObject=function(){return Bhc(this)};var Bhc=function(a){if(null!=a)return t(a),{id:p(m(a,1)),namesList:p(Cg(a,2)),stdOffset:p(Cb(a,3)),transitionsList:p(xg(a,4))}},Chc=[Xj,1,Cq,2,Dq,3,wNb,4,xNb];Xj.prototype.serializeBinary=u(Chc);Xj.messageId="b.TimeZoneData";var Yj=function(a){r.call(this,a,0,Yj.messageId)};V(Yj,r);Yj.prototype.getMessage=function(){return mh(this,1)};Yj.prototype.setMessage=function(a){n(this,1,a)};Yj.prototype.getTagsList=function(){return Cg(this,4)};Yj.prototype.getTags=function(a){return Zp(this,4,a)};Yj.repeatedFields_=[4];Yj.prototype.toObject=function(){return Dhc(this)};var Dhc=function(a){if(null!=a)return t(a),{message:p(m(a,1)),messageId:p(m(a,2)),dismissible:p(Db(a,3)),tagsList:p(Cg(a,4))}},Ehc=[Yj,1,Cq,2,Cq,3,zq,4,Dq];
Yj.prototype.serializeBinary=u(Ehc);Yj.messageId="b.Announcement";var Uj=function(a){r.call(this,a)};V(Uj,r);Uj.prototype.getAnnouncement=function(){return W(this,Yj,2)};Uj.repeatedFields_=[1];Uj.prototype.toObject=function(){return Fhc(this)};var Fhc=function(a){if(null!=a)return t(a),{timezonesList:Mb(yg(a,Xj,1),Bhc),announcement:Dhc(a.getAnnouncement())}},Ghc=[Uj,1,Iq,Chc,2,X,Ehc];Uj.prototype.serializeBinary=u(Ghc);var vwa=function(a){r.call(this,a)};V(vwa,r);f=vwa.prototype;f.getUser=function(){return W(this,Vj,1)};f.setUser=function(a){Oh(this,Vj,1,a)};f.hasUser=function(){return qi(this,Vj,1)};f.getConfig=function(){return W(this,Tj,2)};f.getXsrfToken=function(){return mh(this,3)};f.getCspNonce=function(){return mh(this,8)};f.getFrontendAccessMode=function(){return mh(this,4)};f.getMustAcknowledgeTerms=function(){return vi(this,5)};f.getShowNewFeaturesDialog=function(){return vi(this,6)};
f.getUserPreferences=function(){return W(this,Hj,7)};f.getAppBaseHref=function(){return mh(this,10)};f.getTracker=function(){return W(this,Zj,11)};f.getPassiveLoginIframeUrl=function(){return W(this,ak,12)};
f.toObject=function(){if(null!=this){t(this);var a={user:zhc(this.getUser()),config:xhc(this.getConfig()),xsrfToken:p(m(this,3)),cspNonce:p(m(this,8)),frontendAccessMode:p(m(this,4)),mustAcknowledgeTerms:p(Db(this,5)),showNewFeaturesDialog:p(Db(this,6)),userPreferences:vhc(this.getUserPreferences()),preload:Fhc(W(this,Uj,9)),appBaseHref:p(m(this,10)),tracker:xgc(this.getTracker()),passiveLoginIframeUrl:rgc(this.getPassiveLoginIframeUrl())}}else a=void 0;return a};
f.serializeBinary=u([vwa,1,X,Ahc,2,X,yhc,3,Cq,8,Cq,4,Cq,5,zq,6,zq,7,X,whc,9,X,Ghc,10,Cq,11,X,ygc,12,X,sgc]);var wwa=window,Sj;var rp=function(){this.session=bk();this.tracker=this.session.tracker||void 0};rp.prototype.getAppBaseHref=function(){return this.session.appBaseHref};rp.prototype.getFrontendAccessMode=function(){return this.session.frontendAccessMode||"INTERNAL"};rp.prototype.isExternalSession=function(){return"INTERNAL"!==this.getFrontendAccessMode()};rp.prototype.isInternalSession=function(){return"INTERNAL"===this.getFrontendAccessMode()};
var Hhc=function(a){return"PARTNER"===a.getFrontendAccessMode()},Ihc=function(a){return"PUBLIC"===a.getFrontendAccessMode()};rp.prototype.isNonPublicSession=function(){return"PUBLIC"!==this.getFrontendAccessMode()};var iE=function(a,b){return!!a.session.config.enabledFlags.get(b)};f=rp.prototype;f.isAnonymous=function(){return this.session.user.anonymous};f.getUserEmail=function(){return this.session.user.email||""};f.getSessionIdentifier=function(){return this.session.user.sessionIdentifier||"0"};
f.getTracker=function(){return this.tracker};f.getPassiveLoginIframeUrl=function(){return this.session.passiveLoginIframeUrl};f.getMustAcknowledgeTerms=function(){return this.session.mustAcknowledgeTerms};f.getShowNewFeaturesDialog=function(){return this.session.showNewFeaturesDialog};f.getEnvironmentType=function(){return this.session.config.environmentType||"QA"};
var $Ha=function(a){a=a.getEnvironmentType();switch(a){case "QA":case "DEV":return!1;case "NIGHTLY":case "PROD":return!0;default:og(a,"Unknown environment type.")}};f=rp.prototype;f.getAppBaseUrl=function(a){return(void 0===a?0:a)||!this.isInternalSession()?$Ha(this)?"https://issuetracker.google.com/":"https://issuetracker.sandbox.google.com/":$Ha(this)?"http://b/":"http://b-qa/"};f.getOnePickUrl=function(){return this.session.config.onePickUrl};f.getAppName=function(){return this.session.config.appName};
f.getCommentNumberLimit=function(){return this.session.config.commentNumberLimit};f.getCreateComponentRedirectDelay=function(){return this.session.config.createComponentRedirectDelay};f.getDocumentationBaseUrl=function(){return this.session.config.documentationBaseUrl};f.getMaxAccurateSearchResults=function(){return this.session.config.maxAccurateSearchResults};f.getAnalyticsId=function(){return this.session.config.analyticsId};f.getUserPreferences=function(){return this.session.userPreferences};
f.getXsrfToken=function(){return this.session.xsrfToken};f.getOnePickSecretToken=function(){return this.session.config.onePickSecretToken};f.getCreateRestrictedSubresourcesComponentWhitelist=function(){return this.session.config.createRestrictedSubresourcesComponentWhitelist};f.getIssueAccessLimitsComponentAllowlist=function(){return this.session.config.issueAccessLimitsComponentAllowlist};f.getCspNonce=function(){return this.session.cspNonce};f.getAnnouncement=function(){return this.session.preload.announcement};
f.getUserTypeLabel=function(){return this.session.user.userTypeLabel||"UNKNOWN"};rp.\u0275fac=function(a){return new (a||rp)};rp.\u0275prov=nc({token:rp,factory:rp.\u0275fac,providedIn:"root"});var jE=new Hc("buganizerWindow",{factory:function(){return window}});var kE=function(){this.destroyed$=new F.ReplaySubject(1);this.subscriptions=new F.Subscription};kE.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete();this.subscriptions.unsubscribe()};kE.\u0275fac=function(a){return new (a||kE)};kE.\u0275dir=Cc({type:kE});var lE=function(a,b){kE.call(this);this.$window=a;this.activeSession=b;a=F.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)};V(lE,kE);lE.\u0275dir=kE.\u0275dir;lE.prototype.setTrackerId=function(a){this.trackerId$.next(a);this.$window.sessionStorage.setItem("buganizer.current_tracker_id",a)};lE.prototype.getTrackerId=function(){return this.trackerId$.value};
lE.\u0275fac=function(a){return new (a||lE)(w(jE),w(rp))};lE.\u0275prov=nc({token:lE,factory:lE.\u0275fac,providedIn:"root"});var mE=function(a){r.call(this,a,0,mE.messageId)};V(mE,r);mE.prototype.toObject=function(){if(null!=this){t(this);var a={}}else a=void 0;return a};mE.prototype.serializeBinary=u([mE]);mE.messageId="f.mt";var nE=function(a){r.call(this,a,0,nE.messageId)};V(nE,r);nE.prototype.getIdsList=function(){return Bg(this,2)};nE.prototype.setIdsList=function(a){$h(this,2,a)};nE.prototype.getIds=function(){return Yp(this,2)};nE.prototype.setIds=function(a){return $p(this,2,a)};nE.repeatedFields_=[2];nE.prototype.toObject=function(){if(null!=this){t(this);var a={idsList:p(Bg(this,2))}}else a=void 0;return a};nE.prototype.serializeBinary=u([nE,2,oq]);nE.messageId="b.BatchGetIssuesRequest";var oE=function(a){r.call(this,a,0,oE.messageId)};V(oE,r);oE.prototype.getIssuesList=function(){return yg(this,ii,1)};oE.repeatedFields_=[1];oE.prototype.toObject=function(){if(null!=this){t(this);var a={issuesList:Mb(this.getIssuesList(),QD)}}else a=void 0;return a};oE.prototype.serializeBinary=u([oE,1,Iq,RD]);oE.messageId="b.BatchGetIssuesResponse";var cj=function(a){r.call(this,a)};V(cj,r);f=cj.prototype;f.getIssueId=function(){return lh(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.getMessage=function(){return mh(this,2)};f.setMessage=function(a){n(this,2,a)};f.toObject=function(){return Jhc(this)};var Jhc=function(a){if(null!=a)return t(a),{issueId:p(m(a,1)),message:p(m(a,2))}},Khc=[cj,1,mq,2,Cq];cj.prototype.serializeBinary=u(Khc);var pE=function(a){r.call(this,a,0,pE.messageId)};V(pE,r);pE.prototype.setErrors=function(a,b){Np(this,2,cj,a,b)};pE.repeatedFields_=[2];pE.prototype.toObject=function(){if(null!=this){t(this);var a={affectedIssuesMap:Ob(Ii(this,1,ii),QD),errorsList:Mb(yg(this,cj,2),Jhc),componentMapMap:Ob(Ii(this,3,Gi),$D)}}else a=void 0;return a};pE.prototype.serializeBinary=u([pE,1,Sq,RD,2,Iq,Khc,3,Sq,aE]);pE.messageId="b.BulkEditResponse";var qE=function(a){r.call(this,a,0,qE.messageId)};V(qE,r);qE.prototype.getReadersList=function(){return yg(this,fh,1)};qE.prototype.setReadersList=function(a){Th(this,1,a)};qE.prototype.getAppendersList=function(){return yg(this,fh,2)};qE.prototype.setAppendersList=function(a){Th(this,2,a)};qE.repeatedFields_=[1,2,3];
qE.prototype.toObject=function(){if(null!=this){t(this);var a={readersList:Mb(this.getReadersList(),RC),appendersList:Mb(this.getAppendersList(),RC),writersList:Mb(yg(this,fh,3),RC)}}else a=void 0;return a};qE.prototype.serializeBinary=u([qE,1,Iq,SC,2,Iq,SC,3,Iq,SC]);qE.messageId="b.GetRetainedAccessPrincipalsResponse";var rE=function(a){r.call(this,a,0,rE.messageId)};V(rE,r);rE.prototype.getIssueId=function(){return lh(this,1)};rE.prototype.setIssueId=function(a){return n(this,1,a)};rE.prototype.toObject=function(){if(null!=this){t(this);var a={issueId:p(m(this,1))}}else a=void 0;return a};rE.prototype.serializeBinary=u([rE,1,mq]);rE.messageId="b.IssueCreateResponse";var sE=function(a){r.call(this,a)};V(sE,r);sE.prototype.toObject=function(){return Lhc(this)};var Lhc=function(a){if(null!=a)return t(a),{blobId:p(m(a,1)),blobGeneration:p(m(a,5)),readToken:p(m(a,2)),uploadMetadataContainer:Qb(Fb(a,3)),downloadReadHandle:Qb(Fb(a,4))}},Mhc=[sE,1,Cq,5,pq,2,Cq,3,Kq,4,Kq];sE.prototype.serializeBinary=u(Mhc);var tE=function(a){r.call(this,a)};V(tE,r);tE.prototype.toObject=function(){return Nhc(this)};var Nhc=function(a){if(null!=a)return t(a),{bucketName:p(m(a,1)),objectName:p(m(a,2)),generation:p(m(a,7))}},Ohc=[tE,1,Cq,2,Cq,7,pq];tE.prototype.serializeBinary=u(Ohc);var uE=function(a){r.call(this,a)};V(uE,r);f=uE.prototype;f.getLength=function(){return m(this,1)};f.getLength_legacyNullable=function(){return m(this,1)};f.getPath=function(){return m(this,3)};f.setPath=function(a){return n(this,3,a)};f.hasPath=function(){return jj(this,3)};f.getBlobRef=function(){return Fb(this,4)};f.getInline=function(){return Fb(this,5)};f.getObjectId=function(){return W(this,tE,6)};f.setObjectId=function(a){Oh(this,tE,6,a)};f.getBlobstore2Info=function(){return W(this,sE,7)};
f.getCosmoBinaryReference=function(){return Fb(this,8)};f.getMd5Hash=function(){return Fb(this,10)};f.getSha1Hash=function(){return Fb(this,11)};f.toObject=function(){return vE(this)};
var vE=function(a){if(null!=a)return t(a),{length:p(m(a,1)),referenceType:p(m(a,2)),path:p(m(a,3)),blobRef:Qb(a.getBlobRef()),inline:Qb(a.getInline()),objectId:Nhc(a.getObjectId()),blobstore2Info:Lhc(a.getBlobstore2Info()),cosmoBinaryReference:Qb(a.getCosmoBinaryReference()),crc32cHash:p(Ra(m(a,9))),md5Hash:Qb(a.getMd5Hash()),sha1Hash:Qb(a.getSha1Hash())}},wE=[uE,1,pq,2,Nq,3,Cq,4,Kq,5,Kq,6,X,Ohc,7,X,Mhc,8,Kq,9,qNb,10,Kq,11,Kq];uE.prototype.serializeBinary=u(wE);var Phc=function(a){r.call(this,a)};V(Phc,r);Phc.prototype.toObject=function(){return Qhc(this)};var Qhc=function(a){if(null!=a)return t(a),{bestGuess:p(m(a,1)),fromHeader:p(m(a,2)),fromFileName:p(m(a,3)),fromUrlPath:p(m(a,4)),fromBytes:p(m(a,5))}},Rhc=[Phc,1,Cq,2,Cq,3,Cq,4,Cq,5,Cq];Phc.prototype.serializeBinary=u(Rhc);var xE=function(a){r.call(this,a)};V(xE,r);xE.prototype.getObjectLocation=function(){return W(this,uE,5)};xE.prototype.toObject=function(){return Shc(this)};var Shc=function(a){if(null!=a)return t(a),{objectVersion:p(m(a,1)),objectSizeBytes:p(m(a,2)),chunkSizeBytes:p(m(a,3)),checksumsLocation:vE(W(a,uE,4)),objectLocation:vE(a.getObjectLocation())}},Thc=[xE,1,Cq,2,pq,3,pq,4,X,wE,5,X,wE];xE.prototype.serializeBinary=u(Thc);var yE=function(a){r.call(this,a)};V(yE,r);yE.prototype.getObjectLocation=function(){return W(this,uE,1)};yE.prototype.toObject=function(){return Uhc(this)};var Uhc=function(a){if(null!=a)return t(a),{objectLocation:vE(a.getObjectLocation())}},Vhc=[yE,1,X,wE];yE.prototype.serializeBinary=u(Vhc);var Whc=function(a){r.call(this,a)};V(Whc,r);Whc.prototype.toObject=function(){return Xhc(this)};var Xhc=function(a){if(null!=a)return t(a),{objectVersion:p(m(a,1)),objectInfo:vE(W(a,uE,2)),checksumsInfo:vE(W(a,uE,3))}},Yhc=[Whc,1,Cq,2,X,wE,3,X,wE];Whc.prototype.serializeBinary=u(Yhc);var Zhc=function(a){r.call(this,a)};V(Zhc,r);Zhc.prototype.toObject=function(){return $hc(this)};var $hc=function(a){if(null!=a)return t(a),{objectVersion:p(m(a,1)),originalObject:vE(W(a,uE,2))}},aic=[Zhc,1,Cq,2,X,wE];Zhc.prototype.serializeBinary=u(aic);var bic=function(a){r.call(this,a)};V(bic,r);bic.prototype.toObject=function(){return cic(this)};var cic=function(a){if(null!=a)return t(a),{objectVersion:p(m(a,1)),objectSizeBytes:p(m(a,2))}},dic=[bic,1,Cq,2,pq];bic.prototype.serializeBinary=u(dic);var eic=function(a){r.call(this,a)};V(eic,r);eic.prototype.toObject=function(){return fic(this)};var fic=function(a){if(null!=a)return t(a),{allowGzipCompression:p(Db(a,1)),ignoreRange:p(Db(a,2))}},gic=[eic,1,zq,2,zq];eic.prototype.serializeBinary=u(gic);var ui=function(a){r.call(this,a)};V(ui,r);f=ui.prototype;f.getContentType=function(){return m(this,1)};f.getTimestamp=function(){return m(this,2)};f.setTimestamp=function(a){return n(this,2,a)};f.hasTimestamp=function(){return null!=m(this,2)};f.getToken=function(){return m(this,3)};f.setToken=function(a){return n(this,3,a)};f.getLength=function(){return m(this,4)};f.getLength_legacyNullable=function(){return m(this,4)};f.getFilename=function(){return m(this,5)};
f.setFilename=function(a){n(this,5,a)};f.getPath=function(){return m(this,7)};f.setPath=function(a){return n(this,7,a)};f.hasPath=function(){return jj(this,7)};f.getBlobRef=function(){return Fb(this,8)};f.getInline=function(){return Fb(this,9)};f.getHash=function(){return m(this,11)};f.setHash=function(a){n(this,11,a)};f.getObjectId=function(){return W(this,tE,15)};f.setObjectId=function(a){Oh(this,tE,15,a)};f.getBlobstore2Info=function(){return W(this,sE,16)};
f.getMd5Hash=function(){return Fb(this,25)};f.getSha1Hash=function(){return Fb(this,26)};f.getCosmoBinaryReference=function(){return Fb(this,28)};ui.repeatedFields_=[13];ui.prototype.toObject=function(){return hic(this)};
var hic=function(a){if(null!=a)return t(a),{contentType:p(m(a,1)),timestamp:p(m(a,2)),token:p(m(a,3)),length:p(m(a,4)),filename:p(m(a,5)),referenceType:p(m(a,6)),path:p(m(a,7)),blobRef:Qb(a.getBlobRef()),inline:Qb(a.getInline()),mediaId:Qb(Fb(a,10)),hash:p(m(a,11)),algorithm:p(m(a,12)),compositeMediaList:Mb(yg(a,uE,13),vE),bigstoreObjectRef:Qb(Fb(a,14)),objectId:Nhc(a.getObjectId()),blobstore2Info:Lhc(a.getBlobstore2Info()),diffVersionResponse:cic(W(a,bic,17)),diffChecksumsResponse:Shc(W(a,xE,18)),
diffDownloadResponse:Uhc(W(a,yE,19)),diffUploadRequest:Xhc(W(a,Whc,20)),diffUploadResponse:$hc(W(a,Zhc,21)),contentTypeInfo:Qhc(W(a,Phc,22)),downloadParameters:fic(W(a,eic,23)),crc32cHash:p(Ra(m(a,24))),md5Hash:Qb(a.getMd5Hash()),sha1Hash:Qb(a.getSha1Hash()),sha256Hash:Qb(Fb(a,30)),isPotentialRetry:vi(a,27,!0),cosmoBinaryReference:Qb(a.getCosmoBinaryReference()),hashVerified:p(Db(a,29))}},iic=[ui,1,Cq,2,uq,3,Cq,4,pq,5,Cq,6,Nq,7,Cq,8,Kq,9,Kq,10,Kq,11,Cq,12,Cq,13,Iq,wE,14,Kq,15,X,Ohc,16,X,Mhc,17,X,
dic,18,X,Thc,19,X,Vhc,20,X,Yhc,21,X,aic,22,X,Rhc,23,X,gic,24,qNb,25,Kq,26,Kq,30,Kq,27,zq,28,Kq,29,zq];ui.prototype.serializeBinary=u(iic);var zE=function(a){r.call(this,a,0,zE.messageId)};V(zE,r);f=zE.prototype;f.getAttachmentId=function(){return lh(this,1)};f.setAttachmentId=function(a){n(this,1,a)};f.getDescription=function(){return mh(this,2)};f.setDescription=function(a){return n(this,2,a)};f.hasDescription=function(){return jj(this,2)};f.getContentType=function(){return mh(this,4)};f.getFilename=function(){return mh(this,5)};f.setFilename=function(a){n(this,5,a)};f.getLength=function(){return Wh(this,6)};
f.getEtag=function(){return mh(this,8)};f.setEtag=function(a){n(this,8,a)};f.hasEtag=function(){return jj(this,8)};f.getContentVerdict=function(){return W(this,gj,9)};f.getEntityStatus=function(){return W(this,KD,10)};f.getPiiRetentionState=function(){return W(this,li,12)};f.getPiiRetention=function(){return Fh(this,13,0)};f.setPiiRetention=function(a){return n(this,13,a)};f.toObject=function(){return jic(this)};
var jic=function(a){if(null!=a)return t(a),{attachmentId:p(m(a,1)),description:p(m(a,2)),media:hic(W(a,ui,3)),contentType:p(m(a,4)),filename:p(m(a,5)),length:p(m(a,6)),filecompUrl:p(m(a,7)),etag:p(m(a,8)),contentVerdict:bfc(a.getContentVerdict()),entityStatus:LD(a.getEntityStatus()),piiRetentionState:ffc(a.getPiiRetentionState()),piiRetention:p(m(a,13))}},kic=[zE,1,mq,2,Cq,3,X,iic,4,Cq,5,Cq,6,pq,7,Cq,8,Cq,9,X,cfc,10,X,MD,12,X,gfc,13,Nq];zE.prototype.serializeBinary=u(kic);zE.messageId="b.Attachment";var Pi=function(a){r.call(this,a)};V(Pi,r);f=Pi.prototype;f.getOldValue=function(){return mh(this,1)};f.getNewValue=function(){return mh(this,2)};f.getCustomFieldId=function(){return Wh(this,3)};f.setCustomFieldId=function(a){return n(this,3,a)};f.hasCustomFieldId=function(){return Aj(this,3)};f.toObject=function(){return lic(this)};var lic=function(a){if(null!=a)return t(a),{oldValue:p(m(a,1)),newValue:p(m(a,2)),customFieldId:p(m(a,3))}},mic=[Pi,1,Cq,2,Cq,3,pq];Pi.prototype.serializeBinary=u(mic);var AE=function(a){r.call(this,a)};V(AE,r);f=AE.prototype;f.getHref=function(){return mh(this,1)};f.getValue=function(){return mh(this,2)};f.setValue=function(a){return n(this,2,a)};f.hasValue=function(){return jj(this,2)};f.toObject=function(){return nic(this)};var nic=function(a){if(null!=a)return t(a),{href:p(m(a,1)),value:p(m(a,2))}},oic=[AE,1,Cq,2,Cq];AE.prototype.serializeBinary=u(oic);var Si=function(a){r.call(this,a)};V(Si,r);Si.prototype.getAddedList=function(){return yg(this,AE,1)};Si.prototype.getRemovedList=function(){return yg(this,AE,2)};Si.repeatedFields_=[1,2];Si.prototype.toObject=function(){return pic(this)};var pic=function(a){if(null!=a)return t(a),{addedList:Mb(a.getAddedList(),nic),removedList:Mb(a.getRemovedList(),nic)}},qic=[Si,1,Iq,oic,2,Iq,oic];Si.prototype.serializeBinary=u(qic);var Oi=function(a){r.call(this,a)};V(Oi,r);Oi.prototype.getOldValue=function(){return mh(this,1)};Oi.prototype.getNewValue=function(){return mh(this,2)};Oi.prototype.toObject=function(){return ric(this)};var ric=function(a){if(null!=a)return t(a),{oldValue:p(m(a,1)),newValue:p(m(a,2))}},sic=[Oi,1,Cq,2,Cq];Oi.prototype.serializeBinary=u(sic);var Mi=function(a){r.call(this,a)};V(Mi,r);Mi.prototype.toObject=function(){return tic(this)};var tic=function(a){if(null!=a)return t(a),{oldUser:OC(W(a,Wg,1)),newUser:OC(W(a,Wg,2))}},uic=[Mi,1,X,PC,2,X,PC];Mi.prototype.serializeBinary=u(uic);var Ki=function(a){r.call(this,a)};V(Ki,r);var Ni=[1,2];Ki.prototype.toObject=function(){return vic(this)};var vic=function(a){if(null!=a)return t(a),{userDiff:tic(Fi(a,Mi,1,Ni)),stringDiff:ric(Fi(a,Oi,2,Ni))}},wic=[Ki,1,Jq,uic,Ni,2,Jq,sic,Ni];Ki.prototype.serializeBinary=u(wic);var Ti=function(a){r.call(this,a)};V(Ti,r);Ti.prototype.getEntityStatus=function(){return W(this,KD,1)};Ti.prototype.toObject=function(){return xic(this)};var xic=function(a){if(null!=a)return t(a),{entityStatus:LD(a.getEntityStatus())}},yic=[Ti,1,X,MD];Ti.prototype.serializeBinary=u(yic);var Ri=function(a){r.call(this,a)};V(Ri,r);Ri.prototype.getAddedList=function(){return Cg(this,1)};Ri.prototype.getRemovedList=function(){return Cg(this,2)};Ri.repeatedFields_=[1,2];Ri.prototype.toObject=function(){return zic(this)};var zic=function(a){if(null!=a)return t(a),{addedList:p(Cg(a,1)),removedList:p(Cg(a,2))}},Aic=[Ri,1,Dq,2,Dq];Ri.prototype.serializeBinary=u(Aic);var Qi=function(a){r.call(this,a)};V(Qi,r);Qi.prototype.getAddedList=function(){return yg(this,Wg,1)};Qi.prototype.getRemovedList=function(){return yg(this,Wg,2)};Qi.repeatedFields_=[1,2];Qi.prototype.toObject=function(){return Bic(this)};var Bic=function(a){if(null!=a)return t(a),{addedList:Mb(a.getAddedList(),OC),removedList:Mb(a.getRemovedList(),OC)}},Cic=[Qi,1,Iq,PC,2,Iq,PC];Qi.prototype.serializeBinary=u(Cic);var Xi=function(a){r.call(this,a,0,Xi.messageId)};V(Xi,r);f=Xi.prototype;f.getName=function(){return mh(this,1)};f.setName=function(a){return n(this,1,a)};f.hasName=function(){return jj(this,1)};f.getNameOrUndefined=function(){return eq(this,1)};f.getDisplayName=function(){return mh(this,2)};f.setDisplayName=function(a){return n(this,2,a)};f.getType=function(){return Fh(this,3,0)};f.setType=function(a){return n(this,3,a)};f.hasType=function(){return Vh(this,3)};
f.getTimestamp=function(){return W(this,ug,4)};f.setTimestamp=function(a){return Oh(this,ug,4,a)};f.hasTimestamp=function(){return qi(this,ug,4)};var Li=[6,7,8,9,10,11];Xi.prototype.toObject=function(){return Dic(this)};
var Dic=function(a){if(null!=a)return t(a),{name:p(m(a,1)),displayName:p(m(a,2)),type:p(m(a,3)),timestamp:pr(a.getTimestamp()),important:p(Db(a,5)),singleValueDiff:vic(Fi(a,Ki,6,Li)),collectionDiff:zic(Fi(a,Ri,7,Li)),linkedCollectionDiff:pic(Fi(a,Si,8,Li)),customFieldDiff:lic(Fi(a,Pi,9,Li)),userCollectionDiff:Bic(Fi(a,Qi,10,Li)),statusUpdateDiff:xic(Fi(a,Ti,11,Li))}},Eic=[Xi,1,Cq,2,Cq,3,Nq,4,X,qr,5,zq,6,Jq,wic,Li,7,Jq,Aic,Li,8,Jq,qic,Li,9,Jq,mic,Li,10,Jq,Cic,Li,11,Jq,yic,Li];
Xi.prototype.serializeBinary=u(Eic);Xi.messageId="b.EventDiff";var Yi=function(a){r.call(this,a)};V(Yi,r);Yi.prototype.getTag=function(){return mh(this,1)};Yi.prototype.getText=function(){return mh(this,2)};Yi.prototype.toObject=function(){return Fic(this)};var Fic=function(a){if(null!=a)return t(a),{tag:p(m(a,1)),text:p(m(a,2))}},Gic=[Yi,1,Cq,2,Cq];Yi.prototype.serializeBinary=u(Gic);var $i=function(a){r.call(this,a,0,$i.messageId)};V($i,r);f=$i.prototype;f.getComment=function(){return W(this,OD,6)};f.setComment=function(a){Oh(this,OD,6,a)};f.getAttachmentsList=function(){return yg(this,zE,10)};f.setAttachmentsList=function(a){Th(this,10,a)};f.getVersion=function(){return Wh(this,7)};f.setVersion=function(a){return n(this,7,a)};f.getVersionOrUndefined=function(){return dq(this,7)};f.getStatusUpdate=function(){return W(this,PD,13)};
f.hasStatusUpdate=function(){return qi(this,PD,13)};$i.repeatedFields_=[2,3,10,9];$i.prototype.toObject=function(){return Hic(this)};
var Hic=function(a){if(null!=a)return t(a),{preDiffsList:Mb(yg(a,Xi,2),Dic),postDiffsList:Mb(yg(a,Xi,3),Dic),modifiedDate:pr(W(a,ug,4)),userPerformingAction:OC(W(a,Wg,5)),isHumanAuthor:p(Db(a,11)),isCollaboratorAuthor:p(Db(a,12)),comment:Jfc(a.getComment()),attachmentsList:Mb(a.getAttachmentsList(),jic),version:p(m(a,7)),isMajorEvent:p(Db(a,8)),taggedSummaryList:Mb(yg(a,Yi,9),Fic),statusUpdate:Pfc(a.getStatusUpdate())}},Iic=[$i,2,Iq,Eic,3,Iq,Eic,4,X,qr,5,X,PC,11,zq,12,zq,6,X,Kfc,10,Iq,kic,7,pq,8,
zq,9,Iq,Gic,13,X,Qfc];$i.prototype.serializeBinary=u(Iic);$i.messageId="b.IssueEvent";var gl=function(a){r.call(this,a,0,gl.messageId)};V(gl,r);gl.prototype.getIssue=function(){return W(this,ii,1)};gl.prototype.setIssue=function(a){Oh(this,ii,1,a)};gl.prototype.toObject=function(){return Jic(this)};var Jic=function(a){if(null!=a)return t(a),{issue:QD(a.getIssue()),firstEvent:Hic(W(a,$i,5))}},Kic=[gl,1,X,RD,5,X,Iic];gl.prototype.serializeBinary=u(Kic);gl.messageId="b.IssueFetchResponse";var BE=function(a){r.call(this,a,0,BE.messageId)};V(BE,r);BE.prototype.getIssuesList=function(){return yg(this,ii,1)};BE.prototype.getNumTotalResults=function(){return Ag(this,2)};BE.prototype.getComponentsMap=function(){return Ii(this,3,Gi)};BE.prototype.getNextPageToken=function(){return mh(this,5)};BE.repeatedFields_=[1];
BE.prototype.toObject=function(){if(null!=this){t(this);var a={issuesList:Mb(this.getIssuesList(),QD),numTotalResults:p(Cb(this,2)),componentsMap:Ob(this.getComponentsMap(),$D),positionsMap:Ob(Jva(this,4,void 0)),nextPageToken:p(m(this,5))}}else a=void 0;return a};BE.prototype.serializeBinary=u([BE,1,Iq,RD,2,wq,3,Sq,aE,4,ANb,5,Cq]);BE.messageId="b.IssueSearchResponse";var CE=function(a){r.call(this,a,0,CE.messageId)};V(CE,r);CE.repeatedFields_=[1];CE.prototype.toObject=function(){if(null!=this){t(this);var a={issueEventsList:Mb(yg(this,$i,1),Hic)}}else a=void 0;return a};CE.prototype.serializeBinary=u([CE,1,Iq,Iic]);CE.messageId="b.ListIssueEventsResponse";var DE=function(a){r.call(this,a)};V(DE,r);f=DE.prototype;f.getIssueId=function(){return lh(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.getStatus=function(){return Fh(this,2,0)};f.setStatus=function(a){return n(this,2,a)};f.hasStatus=function(){return Vh(this,2)};f.getTitle=function(){return mh(this,3)};f.setTitle=function(a){return n(this,3,a)};f.getVersion=function(){return Ag(this,4)};f.setVersion=function(a){return n(this,4,a)};f.getVersionOrUndefined=function(){return cq(this,4)};
f.getIsArchived=function(){return vi(this,5)};f.setIsArchived=function(a){return xi(this,5,a)};f.toObject=function(){return Lic(this)};var Lic=function(a){if(null!=a)return t(a),{issueId:p(m(a,1)),status:p(m(a,2)),title:p(m(a,3)),version:p(Cb(a,4)),isArchived:p(Db(a,5))}},Mic=[DE,1,mq,2,Nq,3,Cq,4,wq,5,zq];DE.prototype.serializeBinary=u(Mic);var EE=function(a){r.call(this,a,0,EE.messageId)};V(EE,r);EE.prototype.getIssueDigestsList=function(){return yg(this,DE,1)};EE.prototype.getNumTotalResults=function(){return Wh(this,2)};EE.repeatedFields_=[1];EE.prototype.toObject=function(){if(null!=this){t(this);var a={issueDigestsList:Mb(this.getIssueDigestsList(),Lic),numTotalResults:p(m(this,2))}}else a=void 0;return a};EE.prototype.serializeBinary=u([EE,1,Iq,Mic,2,pq]);EE.messageId="b.RelatedIssuesResponse";var FE=function(){},GE=function(a,b){this.executor=a;this.currentTrackerId=b};f=GE.prototype;f.createIssue=function(a){var b=Gua(a),c={};a.recaptchaToken&&(c["G-Recaptcha-Response-Token"]=a.recaptchaToken);return this.executor.post({url:"action/issues",body:b,options:{headers:c},responseConstructor:rE}).pipe(E(Hua))};
f.createIssueWithWizard=function(a){var b=Gua(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:rE}).pipe(E(Hua))};f.getIssue=function(a){var b={},c=this.currentTrackerId.getTrackerId();c&&(b.currentTrackerId=c);return this.executor.get({url:"action/issues/"+a,options:{params:b},responseConstructor:gl}).pipe(E(function(d){return aj(d)}))};
f.batchGetIssues=function(a){var b=new nE;b.setIdsList(a);return this.executor.post({url:"action/issues/batch",body:b,responseConstructor:oE}).pipe(E(function(c){return c.getIssuesList().map(function(d){return Wi(d)})}))};f.updateIssue=function(a,b){b=yua(b);return this.executor.post({url:"action/issues/"+a,body:b,responseConstructor:gl}).pipe(E(function(c){return aj(c)}))};f.moveIssueExternal=function(a,b){b=uua(b);return this.executor.post({url:"action/issues/"+a+"/external_move",body:b,responseConstructor:gl}).pipe(E(function(c){return aj(c)}))};
f.moveIssue=function(a,b){b=sua(b);return this.executor.post({url:"action/issues/"+a+"/move",body:b,responseConstructor:gl}).pipe(E(function(c){return aj(c)}))};f.unCcUser=function(a){var b=qua(a);return this.executor.post({url:"action/issues/"+a+"/unccuser",body:b,responseConstructor:gl}).pipe(E(function(c){return aj(c)}))};
f.updateAccessLimit=function(a,b){var c=(new VD).setIssueId(a);b&&(b=mua[b])&&(b=(new UD).setAccessLevel(b),c.setIssueAccessLimit(b));return this.executor.post({url:"action/issues/"+a+"/accessLimit",body:c,responseConstructor:mE})};
f.getRetainedAccessPrincipals=function(a,b,c,d){b=pua(a,b,c,d);return this.executor.post({url:"action/issues/"+a+"/retainedAccessPrincipals",body:b,responseConstructor:qE}).pipe(E(function(e){var g,h,l;return{readers:hh(null!=(g=e.getReadersList())?g:[]),appenders:hh(null!=(h=e.getAppendersList())?h:[]),writers:hh(null!=(l=yg(e,fh,3))?l:[])}}))};f.relateIssue=function(a,b){b=Dua(b);return this.executor.post({url:"action/issues/"+a+"/relate",body:b,responseConstructor:gl}).pipe(E(function(c){return aj(c)}))};
f.updateIssueHotlists=function(a,b){b=Aua(b);return this.executor.post({url:"action/issues/"+a+"/hotlists",body:b,responseConstructor:gl}).pipe(E(function(c){return aj(c)}))};f.updateIssueRetention=function(a,b){b=Fua(b);return this.executor.post({url:"action/issues/"+a+"/update_retention",body:b,responseConstructor:gl}).pipe(E(function(c){return aj(c)}))};
f.listIssues=function(a,b){b=void 0===b?{}:b;var c=new SD;n(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:BE}).pipe(E(Kva))};
f.issueBulkEdit=function(a,b){var c={};b&&(c["G-Recaptcha-Response-Token"]=b);b=new dE;var d=a.bulkEditOps.map(wva);Th(b,4,d);a.significanceOverride&&b.setSignificanceOverride(a.significanceOverride);return this.executor.post({url:"action/issues/bulk_edit",body:b,responseConstructor:pE,options:{headers:c}}).pipe(E(yva))};
f.getRelatedIssues=function(a){var b={};a.q&&(b.q=a.q);a.s&&(b.s=a.s);a.count&&(b.count=String(a.count));a.p&&(b.p=String(a.p));a.trackerId&&(b.trackerId=a.trackerId);var c="action/related";a.resourceType&&(c+="/"+a.resourceType,a.resourceId&&(c+="/"+a.resourceId));return this.executor.get({url:c,options:{params:b},responseConstructor:EE}).pipe(E(Bua))};
var Nic=function(a,b){return a.executor.get({url:"action/issues/"+b+"/events",options:{params:{currentTrackerId:a.currentTrackerId.getTrackerId()}},responseConstructor:CE}).pipe(E(function(c){return yg(c,$i,1).map(function(d){return tva(d)})}))};GE.\u0275fac=function(a){return new (a||GE)(w(BC),w(lE))};GE.\u0275prov=nc({token:GE,factory:GE.\u0275fac,providedIn:"root"});var HE=function(a){this.observableApi=a};V(HE,FE);f=HE.prototype;f.createIssue=function(a){return(0,F.firstValueFrom)(this.observableApi.createIssue(a))};
f.createIssueWithWizard=function(a){return(0,F.firstValueFrom)(this.observableApi.createIssueWithWizard(a))};f.getIssue=function(a){return(0,F.firstValueFrom)(this.observableApi.getIssue(a))};f.batchGetIssues=function(a){return(0,F.firstValueFrom)(this.observableApi.batchGetIssues(a))};f.updateIssue=function(a,b){return(0,F.firstValueFrom)(this.observableApi.updateIssue(a,b))};f.moveIssueExternal=function(a,b){return(0,F.firstValueFrom)(this.observableApi.moveIssueExternal(a,b))};
f.moveIssue=function(a,b){return(0,F.firstValueFrom)(this.observableApi.moveIssue(a,b))};f.unCcUser=function(a){return(0,F.firstValueFrom)(this.observableApi.unCcUser(a))};f.updateAccessLimit=function(a,b){return(0,F.firstValueFrom)(this.observableApi.updateAccessLimit(a,b))};f.getRetainedAccessPrincipals=function(a,b,c,d){return(0,F.firstValueFrom)(this.observableApi.getRetainedAccessPrincipals(a,b,c,d))};f.relateIssue=function(a,b){return(0,F.firstValueFrom)(this.observableApi.relateIssue(a,b))};
f.updateIssueHotlists=function(a,b){return(0,F.firstValueFrom)(this.observableApi.updateIssueHotlists(a,b))};f.updateIssueRetention=function(a,b){return(0,F.firstValueFrom)(this.observableApi.updateIssueRetention(a,b))};f.listIssues=function(a,b){b=void 0===b?{}:b;return(0,F.firstValueFrom)(this.observableApi.listIssues(a,b))};f.issueBulkEdit=function(a,b){return(0,F.firstValueFrom)(this.observableApi.issueBulkEdit(a,b))};f.getRelatedIssues=function(a){return(0,F.firstValueFrom)(this.observableApi.getRelatedIssues(a))};
HE.\u0275fac=function(a){return new (a||HE)(w(GE))};HE.\u0275prov=nc({token:HE,factory:HE.\u0275fac,providedIn:"root"});var IE=function(a){r.call(this,a)};V(IE,r);var JE=function(a,b){return lb(a,1,b)},Oic=function(a,b){return lb(a,2,b)};IE.prototype.toObject=function(){return KE(this)};var KE=function(a){if(null!=a)return t(a),{targetIssueId:Wh(a,1),afterIssueId:Wh(a,2),targetIssue:Oec(W(a,BD,3))}},LE=[IE,1,sq,2,sq,3,X,Pec];IE.prototype.serializeBinary=u(LE);var ME=function(a){r.call(this,a)};V(ME,r);f=ME.prototype;f.getIssueId=function(){return Wh(this,1)};f.setIssueId=function(a){return lb(this,1,a)};f.setRelationshipType=function(a){return Dh(this,2,a)};f.getIssueRelationship=function(){return W(this,IE,3)};f.setIssueRelationship=function(a){return Oh(this,IE,3,a)};f.getSignificanceOverride=function(){return Fh(this,4,0)};f.setSignificanceOverride=function(a){Dh(this,4,a)};f.toObject=function(){return Pic(this)};
var Pic=function(a){if(null!=a)return t(a),{issueId:Wh(a,1),relationshipType:Fh(a,2,0),issueRelationship:KE(a.getIssueRelationship()),significanceOverride:Fh(a,4,0)}},Qic=[ME,1,sq,2,Qq,3,X,LE,4,Qq];ME.prototype.serializeBinary=u(Qic);var NE=function(a){r.call(this,a,0,NE.messageId)};V(NE,r);f=NE.prototype;f.getIssueId=function(){return lh(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.setRelationshipType=function(a){return n(this,2,a)};f.getRequestsList=function(){return yg(this,ME,3)};f.setRequestsList=function(a){return Th(this,3,a)};f.addAndReturnRequests=function(){return gb(this,3,ME)};f.getSignificanceOverride=function(){return Fh(this,4,0)};f.setSignificanceOverride=function(a){n(this,4,a)};
NE.repeatedFields_=[3];NE.prototype.toObject=function(){if(null!=this){t(this);var a={issueId:p(m(this,1)),relationshipType:p(m(this,2)),requestsList:Mb(this.getRequestsList(),Pic),significanceOverride:p(m(this,4))}}else a=void 0;return a};NE.prototype.serializeBinary=u([NE,1,mq,2,Nq,3,Iq,Qic,4,Nq]);NE.messageId="b.BatchCreateIssueRelationshipsRequest";var OE=function(a){r.call(this,a,0,OE.messageId)};V(OE,r);OE.prototype.getIssueRelationshipsList=function(){return yg(this,IE,1)};OE.repeatedFields_=[1];OE.prototype.toObject=function(){if(null!=this){t(this);var a={issueRelationshipsList:Mb(this.getIssueRelationshipsList(),KE)}}else a=void 0;return a};OE.prototype.serializeBinary=u([OE,1,Iq,LE]);OE.messageId="b.BatchCreateIssueRelationshipsResponse";var PE=function(a){r.call(this,a,0,PE.messageId)};V(PE,r);f=PE.prototype;f.getIssueId=function(){return lh(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.setRelationshipType=function(a){return n(this,2,a)};f.getSignificanceOverride=function(){return Fh(this,4,0)};f.setSignificanceOverride=function(a){n(this,4,a)};PE.repeatedFields_=[3];
PE.prototype.toObject=function(){if(null!=this){t(this);var a={issueId:p(m(this,1)),relationshipType:p(m(this,2)),targetIssueIdsList:p(Bg(this,3)),significanceOverride:p(m(this,4))}}else a=void 0;return a};PE.prototype.serializeBinary=u([PE,1,mq,2,Nq,3,oq,4,Nq]);PE.messageId="b.BatchDeleteIssueRelationshipsRequest";var QE=function(a){r.call(this,a,0,QE.messageId)};V(QE,r);QE.prototype.getSourceIssueIdsList=function(){return Bg(this,1)};QE.prototype.setSourceIssueIdsList=function(a){return $h(this,1,a)};QE.prototype.setRelationshipType=function(a){return n(this,2,a)};QE.prototype.setIncludeArchived=function(a){return xi(this,3,a)};QE.repeatedFields_=[1];
QE.prototype.toObject=function(){if(null!=this){t(this);var a={sourceIssueIdsList:p(Bg(this,1)),relationshipType:p(m(this,2)),includeArchived:p(Db(this,3))}}else a=void 0;return a};QE.prototype.serializeBinary=u([QE,1,oq,2,Nq,3,zq]);QE.messageId="b.BatchGetIssueRelationshipsRequest";var RE=function(a){r.call(this,a)};V(RE,r);RE.prototype.getIssueRelationshipsList=function(){return yg(this,IE,1)};RE.prototype.getTotalSize=function(){return Ag(this,2)};RE.repeatedFields_=[1];RE.prototype.toObject=function(){return Ric(this)};var Ric=function(a){if(null!=a)return t(a),{sourceIssueId:Wh(a,3),issueRelationshipsList:Mb(a.getIssueRelationshipsList(),KE),totalSize:Ag(a,2)}},Sic=[RE,3,sq,1,Iq,LE,2,yq];RE.prototype.serializeBinary=u(Sic);var SE=function(a){r.call(this,a,0,SE.messageId)};V(SE,r);SE.repeatedFields_=[1];SE.prototype.toObject=function(){if(null!=this){t(this);var a={issueRelationshipsPrefixesList:Mb(yg(this,RE,1),Ric)}}else a=void 0;return a};SE.prototype.serializeBinary=u([SE,1,Iq,Sic]);SE.messageId="b.BatchGetIssueRelationshipsResponse";var TE=function(a){r.call(this,a,0,TE.messageId)};V(TE,r);TE.prototype.getIssueRelationship=function(){return W(this,IE,1)};TE.prototype.setIssueRelationship=function(a){return Oh(this,IE,1,a)};TE.prototype.toObject=function(){if(null!=this){t(this);var a={issueRelationship:KE(this.getIssueRelationship())}}else a=void 0;return a};TE.prototype.serializeBinary=u([TE,1,X,LE]);TE.messageId="b.CreateIssueRelationshipResponse";var UE=function(a){r.call(this,a,0,UE.messageId)};V(UE,r);var Tic=function(a,b){return $h(a,1,b)};UE.prototype.setRelationshipType=function(a){return n(this,2,a)};UE.prototype.setIncludeArchived=function(a){return xi(this,3,a)};var Uic=function(a,b){return n(a,4,b)},Vic=function(a,b){return n(a,5,b)};UE.repeatedFields_=[1];
UE.prototype.toObject=function(){if(null!=this){t(this);var a={rootIssueIdsList:p(Bg(this,1)),relationshipType:p(m(this,2)),includeArchived:p(Db(this,3)),depthLimit:p(Cb(this,4)),prefixSizeLimit:p(Cb(this,5))}}else a=void 0;return a};UE.prototype.serializeBinary=u([UE,1,oq,2,Nq,3,zq,4,wq,5,wq]);UE.messageId="b.GetIssueDescendantsRequest";var VE=function(a){r.call(this,a,0,VE.messageId)};V(VE,r);VE.prototype.toObject=function(){if(null!=this){t(this);var a={issueRelationshipsPrefixesMap:Ob(fq(this,1,RE),Ric)}}else a=void 0;return a};VE.prototype.serializeBinary=u([VE,1,zNb,Sic]);VE.messageId="b.GetIssueDescendantsResponse";var WE=function(a){r.call(this,a,0,WE.messageId)};V(WE,r);WE.prototype.getIssueRelationshipsList=function(){return yg(this,IE,1)};WE.repeatedFields_=[1];WE.prototype.toObject=function(){if(null!=this){t(this);var a={issueRelationshipsList:Mb(this.getIssueRelationshipsList(),KE)}}else a=void 0;return a};WE.prototype.serializeBinary=u([WE,1,Iq,LE]);WE.messageId="b.ListIssueRelationshipsResponse";var XE=function(a){r.call(this,a,0,XE.messageId)};V(XE,r);XE.prototype.getIssueRelationship=function(){return W(this,IE,1)};XE.prototype.setIssueRelationship=function(a){return Oh(this,IE,1,a)};XE.prototype.toObject=function(){if(null!=this){t(this);var a={issueRelationship:KE(this.getIssueRelationship())}}else a=void 0;return a};XE.prototype.serializeBinary=u([XE,1,X,LE]);XE.messageId="b.UpdateIssueRelationshipResponse";var YE=function(a){this.executor=a};f=YE.prototype;f.list=function(a,b){return this.executor.get({url:"action/issues/"+a+"/relationships?relationshipType="+b,responseConstructor:WE}).pipe(E(function(c){return c.getIssueRelationshipsList()}))};f.create=function(a,b,c){return this.executor.post({url:"action/issues/"+a+"/relationships?relationshipType="+b,body:c,responseConstructor:TE}).pipe(E(function(d){var e;return null!=(e=d.getIssueRelationship())?e:new IE}))};
f.update=function(a,b,c){return this.executor.put({url:"action/issues/"+a+"/relationships/"+Wh(c,1)+"?relationshipType="+b,body:c,responseConstructor:XE}).pipe(E(function(d){var e;return null!=(e=d.getIssueRelationship())?e:new IE}))};f.delete=function(a,b,c){return this.executor.delete({url:"action/issues/"+a+"/relationships/"+c+"?relationshipType="+b,responseConstructor:null})};
f.batchGet=function(a,b,c){a=(new QE).setSourceIssueIdsList(a).setRelationshipType(b).setIncludeArchived(c);return this.executor.post({url:"action/issues/batch_relationships",body:a,responseConstructor:SE}).pipe(E(function(d){return yg(d,RE,1)}))};
var Wic=function(a,b,c){c=c.map(function(d){return(new ME).setIssueRelationship(d)});b=(new NE).setIssueId(b).setRelationshipType(1).setRequestsList(c);return a.executor.post({url:"action/issues/relationships_batchCreate",body:b,responseConstructor:OE}).pipe(E(function(d){return d.getIssueRelationshipsList()}))},Xic=function(a,b,c){b=(new PE).setIssueId(b).setRelationshipType(1);c=$h(b,3,c);return a.executor.post({url:"action/issues/relationships_batchDelete",body:c,responseConstructor:null})};
YE.prototype.getDescendants=function(a){var b=a.issueIds,c=a.relationshipType,d=a.includeArchived,e=a.depthLimit;a=a.prefixSizeLimit;b=Vic(Uic(Tic(new UE,b).setRelationshipType(c).setIncludeArchived(d),e),a);return this.executor.post({url:"action/issues/descendants",body:b,responseConstructor:VE}).pipe(E(function(g){var h=new Map;g=k(fq(g,1,RE).entries());for(var l=g.next();!l.done;l=g.next()){var q=k(l.value);l=q.next().value;q=q.next().value;h.set(String(l),q)}return h}))};
YE.\u0275fac=function(a){return new (a||YE)(w(BC))};YE.\u0275prov=nc({token:YE,factory:YE.\u0275fac,providedIn:"root"});var ywa=new Set(["blockedById","blockingId","duplicateId","parentIssueIds","childIssueIds"]);var ZE=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,""]]),$E=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 aF={},bF=(aF[0]=$E.get(0),aF[1]=$E.get(1),aF[2]=$E.get(2),aF[3]=$E.get(3),aF[4]=$E.get(4),aF[5]=$E.get(5),aF[10]=$E.get(10),aF[9]=$E.get(9),aF[6]=$E.get(6),aF[8]=$E.get(8),aF[7]=$E.get(7),aF),Yic=Hwa(bF,Uh),cF={},fxa=(cF.STATUS_UNSPECIFIED=0,cF.NEW=10,cF.ASSIGNED=20,cF.ACCEPTED=30,cF.FIXED=40,cF.VERIFIED=50,cF.DUPLICATE=60,cF.INFEASIBLE=70,cF.NOT_REPRODUCIBLE=80,cF.OBSOLETE=90,cF.INTENDED_BEHAVIOR=100,cF),dF={},Zic=(dF.ASSIGNED=!0,dF.ACCEPTED=!0,dF.FIXED=!0,dF.VERIFIED=!0,dF.DUPLICATE=!0,dF.INFEASIBLE=
!0,dF.NOT_REPRODUCIBLE=!0,dF.OBSOLETE=!0,dF.INTENDED_BEHAVIOR=!0,dF),eF={},fF=(eF[0]=ZE.get(0),eF[1]=ZE.get(1),eF[2]=ZE.get(2),eF[3]=ZE.get(3),eF[4]=ZE.get(4),eF[5]=ZE.get(5),eF[10]=ZE.get(10),eF[9]=ZE.get(9),eF[6]=ZE.get(6),eF[8]=ZE.get(8),eF[7]=ZE.get(7),eF),dk=Hwa(fF,Uh),gF={},$ic=(gF.P0="P0",gF.P1="P1",gF.P2="P2",gF.P3="P3",gF.P4="P4",gF.PRIORITY_UNSPECIFIED="--",gF),hF={},ajc=(hF.S0="S0",hF.S1="S1",hF.S2="S2",hF.S3="S3",hF.S4="S4",hF.SEVERITY_UNSPECIFIED="--",hF),iF={},bjc=(iF[0]="",iF[1]="Bug",
iF[2]="Feature Request",iF[3]="Customer Issue",iF[4]="Internal Cleanup",iF[5]="Process",iF[6]="Vulnerability",iF[7]="Privacy Issue",iF[8]="Project",iF[9]="Feature",iF[10]="Milestone",iF[11]="Epic",iF[12]="Story",iF[13]="Task",iF),cjc=Hwa(bjc,$ta),jF={},djc=(jF[0]="issue-status-wont-fix",jF[1]="issue-status-new",jF[2]="issue-status-assigned",jF[3]="issue-status-accepted",jF[4]="issue-status-fixed",jF[5]="issue-status-verified",jF[10]="issue-status-duplicate",jF[9]="issue-status-wont-fix",jF[6]="issue-status-wont-fix",
jF[8]="issue-status-wont-fix",jF[7]="issue-status-wont-fix",jF),ejc=Hwa(djc,Uh);var Iwa=function(a,b,c,d,e){this.status=a;this.displayValue=b;this.open=c;this.assigneeRequirement=d;this.sortOrder=e},kF={},kk=(kF.NEW=ek("NEW",!0,"FORBIDDEN",10),kF.ASSIGNED=ek("ASSIGNED",!0,"REQUIRED",20),kF.ACCEPTED=ek("ACCEPTED",!0,"REQUIRED",30),kF.FIXED=ek("FIXED",!1,"REQUIRED",40),kF.VERIFIED=ek("VERIFIED",!1,"REQUIRED",50),kF.DUPLICATE=ek("DUPLICATE",!1,"ALLOWED",60),kF.INFEASIBLE=ek("INFEASIBLE",!1,"ALLOWED",70),kF.NOT_REPRODUCIBLE=ek("NOT_REPRODUCIBLE",!1,"ALLOWED",80),kF.OBSOLETE=ek("OBSOLETE",
!1,"ALLOWED",90),kF.INTENDED_BEHAVIOR=ek("INTENDED_BEHAVIOR",!1,"ALLOWED",100),kF),fjc=[kk.NEW,kk.ASSIGNED,kk.ACCEPTED,kk.FIXED,kk.VERIFIED,kk.NOT_REPRODUCIBLE,kk.INTENDED_BEHAVIOR,kk.OBSOLETE,kk.INFEASIBLE,kk.DUPLICATE],gjc=fjc.map(function(a){return{value:a.status,displayText:a.displayValue}}),hjc=new Set(Object.values(Ub(kk,function(a){return"REQUIRED"===a.assigneeRequirement})));var ijc=function(a,b){this.data=a;this.cfg=b;this.lastValidated=Date.now()};f=ijc.prototype;f.age=function(){return Date.now()-this.lastValidated};f.isFresh=function(){return this.age()<this.cfg.freshUntil};f.isAncient=function(){return this.age()>this.cfg.ancientAfter};f.getStatus=function(){return this.isFresh()?"fresh":this.isAncient()?"ancient":"uncertain"};f.toString=function(){var a=String(this.data);return Math.ceil(this.age()/1E3)+"s old -- "+a};
var jjc=function(a){this.cfg=a;this.cache=new Map},kjc=function(a,b){a=lF(a,b);return null==a?Infinity:a},lF=function(a,b){var c;return null==(c=a.get(b,!0))?void 0:c.age()};jjc.prototype.isFresh=function(a){return kjc(this,a)<this.cfg.freshUntil};var ljc=function(a,b){return kjc(a,b)<=a.cfg.ancientAfter};f=jjc.prototype;f.isAncient=function(){var a=lF(this);return a?a>this.cfg.ancientAfter:!1};f.getStatus=function(a){a=this.get(a,!0);if(null!=a)return a.getStatus()};
f.has=function(a,b){return!!this.get(a,void 0===b?!1:b)};f.get=function(a,b){b=void 0===b?!1:b;var c=this.cache.get(a);if(null!=c)return c.age()>this.cfg.ancientAfter&&!b&&this.cache.delete(a),this.cache.get(a)};f.getData=function(a,b){var c;return null==(c=this.get(a,void 0===b?!1:b))?void 0:c.data};f.set=function(a,b){this.cache.set(a,new ijc(b,this.cfg))};f.touch=function(a){var b=this.cache.get(a);b&&this.cache.set(a,new ijc(b.data,this.cfg))};
f.validate=function(a,b,c,d){d=void 0===d?!1:d;if(!this.has(a,d))return!1;a=this.getData(a,d);return c(a,b)};f.debug=function(){return Object.assign({},this.cfg,{count:this.cache.size,keys:this.cache.keys()})};f.toString=function(){return Array.from(this.cache,function(a){a=k(a);var b=a.next().value;a=a.next().value;b=String(b).slice(-16);var c=a.toString();return a.getStatus()+"  "+b+": "+c}).join("\n")};var mjc={trustMemory:!0},njc=function(){},hsa=["startIndex","totalSize","curPageToken","nextPageToken","prevPageToken"],ojc=function(a){this.ids=[];Object.assign(this,a)};V(ojc,njc);ojc.prototype.toString=function(){return JSON.stringify(Object.assign({},this,{ids:"["+this.ids.join(",")+"]"}))};
var pjc={freshUntil:1E4,ancientAfter:792E5},mF=function(a){var b=this;a=void 0===a?{}:a;this.error$=new F.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("ec`"+b.idKey+"`"+c);throw Error("fc`"+c);};this.valsById=new Map;this.collectionsById=new Map;this.setsByLabel=new Map;this.inFlightGets$=new F.BehaviorSubject(Object.freeze({}));
this.inFlightSaves$=new F.BehaviorSubject(Object.freeze({}));this.getting$=this.inFlightGets$.pipe(E(rxa));this.saving$=this.inFlightSaves$.pipe(E(rxa));this.thinking$=(0,F.combineLatest)(this.getting$,this.saving$).pipe(E(function(c){var d=k(c);c=d.next().value;d=d.next().value;return c||d}),fe());this.gotOne=function(c){return function(d,e){e=void 0===e?{}:e;e=e.doNotTrack?qxa:qjc({label:c,value:lF(b.memory,c)});if(b.memory.validate(c,d,b.isEqual))e("one-isSame"),b.memory.touch(c);else{b.memory.set(c,
d);var g=b.valsById.get(c);e("one-isChanged");g?g.next(d):Lra(b.recordType+"::gotOne("+c+") !isEqual. Nobody's listening")}}};this.gotSet=function(c){return function(d){for(var e=k(d),g=e.next();!g.done;g=e.next()){g=g.value;var h=b.idForRecord(g);b.gotOne(h)(g,{doNotTrack:!0})}(e=rjc(b,c))?e.next(d):rg("gotSet("+c+"), but no channel is set up")}};this.gotAll=function(c){return function(d){var e=qjc({label:c,value:lF(b.collectiveMemory,c)});if(b.normalizeQueryResponses)for(var g=k(d.results),h=g.next();!h.done;h=
g.next()){h=h.value;var l=b.idForRecord(h);b.gotOne(l)(h,{doNotTrack:!0})}g=b.normalize(d);b.collectiveMemory.validate(c,g,gsa);b.collectiveMemory.set(c,g);e("all-isChanged");(e=b.collectionsById.get(c))?(d=b.dereference(g,d.results),e.next(d)):Nra(c+" gotAll but don't have a behaviorSubject set up to broadcast on. Strange...",d)}};this.dereferenceOne=function(c){return function(d){var e=c.find(function(g){return b.idForRecord(g)===d});null==e&&rg("Couldn't find a record for id "+d);return e}};this.debug=
function(){return{recordType:b.recordType,isThinking:b.isThinking(),inFlightGets:Object.entries(b.inFlightGets).map(function(c){var d=k(c);c=d.next().value;d=d.next().value;return c+": "+d}).join(", "),inFlightSaves:Object.entries(b.inFlightSaves).map(function(c){var d=k(c);c=d.next().value;d=d.next().value;return c+": "+d}).join(", "),records:b.memory.debug(),lists:b.collectiveMemory.debug()}};this.implementsFn=function(){return function(){try{b.doSave()}catch(d){var c=d;if((void 0===c.message?"":
c.message).match("Default no-op for Fridge"))return!1}return!0}};this.canSave=this.implementsFn();this.isThinking=function(c){return b.isSaving(c)||b.isGetting(c)};this.isSaving=function(c){return null==c?rxa(b.inFlightSaves):!!b.inFlightSaves[c]};this.isSaving$=function(c){return b.inFlightSaves$.pipe(E(function(d){return!!d[c]}),fe())};this.isGetting=function(c){return null==c?rxa(b.inFlightGets):!!b.inFlightGets[c]};this.watchOne=this.watch=function(c,d){d=void 0===d?mjc:d;"number"===typeof d&&
(d=mjc);if(null==c)return(0,F.of)();"number"===typeof c&&(c=String(c));var e=sjc(b,c);tjc(b,c,d).catch(function(){});return sWb(e)};this.watchSet=function(c,d){d=void 0===d?mjc:d;"number"===typeof d&&(d=mjc);if(0===c.length)return(0,F.of)([]);c=c.map(function(g){return"number"===typeof g?String(g):g});var e=rjc(b,c);ujc(b,c,d);return e};this.watchMany=function(c){var d=void 0===d?mjc:d;c=Object.assign({},b.defaultQuery,c);var e=vjc(b,c);b.getAll(c,d);return sWb(e)};this.save=function(c){var d=b.idForRecord(c);
if(null==d)throw Error("gc");c=b.doSave(c).pipe(ee(0,F.asapScheduler),tka(),Pia());b.setIsSaving(d);c.subscribe(b.gotOne(d),b.gotErr(d,b.inFlightSaves$),wjc(d,b.inFlightSaves$));return c};this.setIsSaving=function(c){var d={};sxa(b.inFlightSaves$,(d[c]=!0,d))};this.clearIsSaving=function(c){txa(b.inFlightSaves$,c)};this.setIsGetting=function(c){var d={};sxa(b.inFlightGets$,(d[c]=!0,d))};this.clearIsGetting=function(c){txa(b.inFlightGets$,c)};this.poke=function(c,d){return null==c?Axa():tjc(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("hc");b.gotOne(e)(c,Object.assign({},{doNotTrack:!0},d))}};this.memory=new jjc(Object.assign({},pjc,a));this.collectiveMemory=new jjc(Object.assign({},pjc,a))};f=mF.prototype;f.fetchOne=function(){throw Error("ic");};f.fetchAll=function(){throw Error("jc");};
f.fetchSet=function(){throw Error("kc");};f.doSave=function(){throw Error("lc");};f.copy=function(){throw Error("mc");};f.isEqual=function(a,b){return gsa(a,b,100)};
var tjc=function(a,b,c){c=void 0===c?{}:c;var d=c.trustMemory,e=c.trustUncertainMemory;c=qjc({label:b,value:lF(a.memory,b)});d=d&&a.memory.isFresh(b);e=e&&ljc(a.memory,b);if(d||e)return c("one-trustMemory"),c=a.memory.getData(b),zxa(c);if(a.inFlightGets[b])return c("one-inFlight"),c=sjc(a,b),yxa(c).then(zxa);c("one-fetch");var g=a.fetchOne(b).pipe(ee(0,F.asapScheduler));a.setIsGetting(b);return new Promise(function(h,l){g.subscribe(function(q){a.gotOne(b)(q);h(q)},function(q){a.gotErr(b,a.inFlightGets$)(q);
l(q)},wjc(b,a.inFlightGets$))})},ujc=function(a,b,c){c=(void 0===c?{}:c).trustMemory;var d="["+[].concat(Jc(b)).sort().join("-")+"]",e=qjc({label:d});if(c&&xjc(a,b))yjc(a,b),e("set-trustMemory");else if(a.inFlightGets[d])e("set-inFlight");else{e("set-fetch");c=a.fetchSet(b).pipe(ee(0,F.asapScheduler));e={};e=(e[d]=!0,e);for(var g=k(b),h=g.next();!h.done;h=g.next())e[h.value]=!0;sxa(a.inFlightGets$,e);c.subscribe(a.gotSet(b),function(l){uxa(a.inFlightGets$,b);a.gotErr(d,a.inFlightGets$)(l)},function(){uxa(a.inFlightGets$,
[d].concat(Jc(b)))})}},xjc=function(a,b){return b.every(function(c){return a.memory.isFresh(c)})},yjc=function(a,b){var c=zjc(a,b).filter(eh);rjc(a,b).next(c)};
mF.prototype.getAll=function(a,b){var c=(void 0===b?{}:b).trustMemory;b=vxa(a);var d=qjc({label:b,value:lF(this.collectiveMemory,b)});if(c&&this.collectiveMemory.isFresh(b))return d("all-trustMemory"),a=this.collectiveMemory.getData(b),b=zjc(this,a.ids).filter(eh),a=this.dereference(a,b),Promise.resolve(a);if(this.inFlightGets[b])return d("all-inFlight"),a=vjc(this,a),yxa(a);d("all-fetch");c=this.fetchAll(a).pipe(ee(0,F.asapScheduler));this.setIsGetting(b);c.subscribe(this.gotAll(b),this.gotErr(b,
this.inFlightGets$),wjc(b,this.inFlightGets$));a=vjc(this,a);return yxa(a)};mF.prototype.gotErr=function(a,b){var c=this;return function(d){d=Object.assign({},{idOrKey:a},d);Ora(a+" gotErr()",d);txa(b,a);JSON.stringify(d,null,2);c.error$.next(d)}};var wjc=function(a,b){return function(){txa(b,a)}};mF.prototype.normalize=function(a){var b=a.results.map(this.idForRecord);return new ojc(Object.assign({},xxa(a),{ids:b}))};
mF.prototype.dereference=function(a,b){b=a.ids.map(this.dereferenceOne(b)).filter(Boolean);return Object.assign({},xxa(a),{results:b})};
var zjc=function(a,b){return b.map(function(c){return a.memory.getData(c)})},vjc=function(a,b){b=vxa(b);return wxa(a.collectionsById,b,new F.ReplaySubject(1))},rjc=function(a,b){b="["+[].concat(Jc(b)).sort().join("-")+"]";return wxa(a.setsByLabel,b,new F.ReplaySubject(1))},sjc=function(a,b){var c=new F.ReplaySubject(1),d=a.memory.getData(b);null!=d&&c.next(d);return wxa(a.valsById,b,c)},Ajc=function(a,b){return["string","number"].includes(typeof b)?a.memory.getStatus(String(b)):a.collectiveMemory.getStatus(vxa(b))};
mF.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(vxa(a))};var nF=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)};
gg.Object.defineProperties(mF.prototype,{inFlightGets:{configurable:!0,enumerable:!0,get:function(){return this.inFlightGets$.getValue()}},inFlightSaves:{configurable:!0,enumerable:!0,get:function(){return this.inFlightSaves$.getValue()}}});var qjc=function(a){for(var b=k(Object.keys(a)),c=b.next();!c.done;c=b.next())c=c.value,null==a[c]&&delete a[c];return function(){}},oF=function(){mF.apply(this,arguments);this.defaultQuery={}};V(oF,mF);var pF=function(a){oF.call(this);this.observableIssueResources=a;this.recordType="eventsForIssue"};V(pF,oF);pF.prototype.isEqual=function(a,b){return(null==a?void 0:a.id)!==(null==b?void 0:b.id)?!1:cxa(null==a?void 0:a.events,null==b?void 0:b.events)};pF.prototype.copy=function(a){return a&&Gg(a)};pF.prototype.fetchOne=function(a){return Nic(this.observableIssueResources,a).pipe(E(function(b){return{id:a,events:b}}))};pF.prototype.fetchSet=function(a){var b=this;return(0,F.combineLatest)(a.map(function(c){return b.fetchOne(c)})).pipe(E(function(c){return c.filter(eh)}))};
pF.\u0275fac=function(a){return new (a||pF)(w(GE))};pF.\u0275prov=nc({token:pF,factory:pF.\u0275fac,providedIn:"root"});var Bxa=RegExp("^https?:\\/\\/((?:screenshot.googleplex.com|screenshot.corp.google.com|screen.corp.google.com|screenshot|screen)\\/([\\w-]+)(?:\\.png)?$)"),Exa=RegExp("^(https?:\\/\\/)(www\\.)?(go|goto|goto\\.google\\.com)\\/([A-Za-z0-9-]+$)");var qF=function(a,b,c,d){this.issueApi=a;this.issueRelationshipApi=b;this.changelistApi=c;this.eventsForIssueFridge=d},Djc=function(a,b){var c,d,e,g,h,l,q,v,y,B,I,N,Q,Z,Y,ka,la,Da,za,Oa,Va,Ya,Xb;return Ld(function(Bb){switch(Bb.nextAddress){case 1:return b=gk(b),d=c=0,e=[],g=[],h=[],l=[],q=[],v=[],y=[],B=[],null==b||0===b.length?Bb.return({totalCount:c,openCount:d,clIds:e,pendingChangeLists:g,hyperLinks:h,issueLinks:l,screenshots:q,goLinks:v,contributors:y,comments:B}):Bb.yield(Bjc(a,b),2);case 2:return I=
Bb.yieldResult,N=[].concat(Jc(b)),Object.values(I).forEach(function(db){N.push.apply(N,Jc(db))}),N=gk(N),Bb.yield(a.getIssues(N),3);case 3:Q=Bb.yieldResult;Z={};Y=k(Q);for(ka=Y.next();!ka.done;ka=Y.next())la=ka.value,Z[la.issueId]=la;c=N.length-b.length;Da=k(b);za=Da.next();case 4:if(za.done){Bb.jumpTo(6);break}Oa=za.value;return Bb.yield(Cjc(a,Oa,I,Z),7);case 7:Va=Bb.yieldResult;d+=Va.openCount;e.push.apply(e,Jc(Va.clIds));g.push.apply(g,Jc(Va.pendingChangeLists));h.push.apply(h,Jc(Va.hyperLinks));
l.push.apply(l,Jc(Va.issueLinks));q.push.apply(q,Jc(Va.screenshots));v.push.apply(v,Jc(Va.goLinks));y.push.apply(y,Jc(Va.contributors));B.push.apply(B,Jc(Va.comments));za=Da.next();Bb.jumpTo(4);break;case 6:return B.sort(function(db,wa){var Na,Qa,nb,ib;return(null==(Na=wa.comments)?NaN:null==(Qa=Na[0])?NaN:Qa.modifiedTime)-(null==(nb=db.comments)?NaN:null==(ib=nb[0])?NaN:ib.modifiedTime)}),Ya=g.map(function(db){return db.fixedIssueIds}).flat(),Xb=g.map(function(db){return db.issueIds}).flat(),Bb.return({totalCount:c,
openCount:d,clIds:gk(e),pendingChangeLists:fk(g,function(db){return db.changelistNumber}),bugToPendingCl:new Map(Xb.map(function(db){return[db,g.find(function(wa){return wa.issueIds.includes(db)})]})),bugToPendingFixCl:new Map(Ya.map(function(db){return[db,g.find(function(wa){return wa.fixedIssueIds.includes(db)})]})),hyperLinks:gk(h),issueLinks:gk(l),screenshots:gk(q),goLinks:gk(v),contributors:gk(y),comments:B})}})},Ijc=function(a,b){var c,d,e,g,h,l,q,v,y,B,I,N,Q,Z,Y,ka,la,Da,za,Oa,Va,Ya,Xb,Bb,
db,wa,Na;return Ld(function(Qa){switch(Qa.nextAddress){case 1:return b=gk(b),c=b.length,d=0,e=[],g=[],h=[],l=[],q=[],v=[],y=[],null==b||0===b.length?Qa.return({totalCount:c,openCount:d,clIds:e,pendingChangeLists:[],hyperLinks:g,issueLinks:h,screenshots:l,goLinks:q,contributors:v,comments:y}):Qa.yield(Promise.all([a.getIssues(b),Ejc(a,b)]),2);case 2:B=Qa.yieldResult,I=k(B),N=I.next().value,Q=I.next().value,Z=N,Y=Q,Z.sort(function(nb,ib){return ib.majorModifiedTimeMicros-nb.majorModifiedTimeMicros}),
ka=10,la=0,Da=k(Z),za=Da.next();case 3:if(za.done){Qa.jumpTo(5);break}Oa=za.value;lk(Oa)&&(d+=1);Va=Fjc(Oa);e.push.apply(e,Jc(Va));Ya=Gjc(Oa);g.push.apply(g,Jc(Ya.hyperLinks));h.push.apply(h,Jc(Ya.issueLinks));q.push.apply(q,Jc(Ya.goLinks));l.push.apply(l,Jc(Ya.screenshots));Xb=Zwa(Oa);null!=Xb&&v.push(Xb);if(!(la<ka)){Qa.jumpTo(4);break}Md(Qa,7);return Qa.yield(Hjc(a,Oa.issueId),9);case 9:Bb=Qa.yieldResult;0<Bb.comments.length&&y.push(Bb);la+=1;xp(Qa,4);break;case 7:db=Pd(Qa),console.warn("fetch comments",
db);case 4:za=Da.next();Qa.jumpTo(3);break;case 5:return e.sort(function(nb,ib){return Number(ib)-Number(nb)}),wa=Y.map(function(nb){return nb.fixedIssueIds}).flat(),Na=Y.map(function(nb){return nb.issueIds}).flat(),Qa.return({totalCount:c,openCount:d,clIds:gk(e),pendingChangeLists:fk(Y,function(nb){return nb.changelistNumber}),bugToPendingCl:new Map(Na.map(function(nb){return[nb,Y.find(function(ib){return ib.issueIds.includes(nb)})]})),bugToPendingFixCl:new Map(wa.map(function(nb){return[nb,Y.find(function(ib){return ib.fixedIssueIds.includes(nb)})]})),
hyperLinks:gk(g),issueLinks:gk(h),screenshots:gk(l),goLinks:gk(q),contributors:gk(v),comments:y})}})},Cjc=function(a,b,c,d){var e,g,h,l,q,v,y,B,I,N,Q,Z,Y,ka,la,Da,za,Oa,Va,Ya,Xb,Bb;return Ld(function(db){switch(db.nextAddress){case 1:return g=e=0,h=[],l=[],q=[],v=[],y=[],B=[],I=[],N=Jjc(a,d[b],c,d),Q=N.map(function(wa){return wa.issueId}),db.yield(Ejc(a,Q),2);case 2:Z=db.yieldResult,N.sort(function(wa,Na){return Na.majorModifiedTimeMicros-wa.majorModifiedTimeMicros}),Y=10,ka=0,la=k(N),Da=la.next();
case 3:if(Da.done){db.jumpTo(5);break}za=Da.value;za.issueId!==b&&lk(za)&&(g+=1);Oa=Fjc(za);h.push.apply(h,Jc(Oa));Va=Gjc(za);l.push.apply(l,Jc(Va.hyperLinks));q.push.apply(q,Jc(Va.issueLinks));y.push.apply(y,Jc(Va.goLinks));v.push.apply(v,Jc(Va.screenshots));Ya=Zwa(za);null!=Ya&&B.push(Ya);if(!(ka<Y)){db.jumpTo(4);break}Md(db,7);return db.yield(Hjc(a,za.issueId),9);case 9:Xb=db.yieldResult;0<Xb.comments.length&&I.push(Xb);ka+=1;xp(db,4);break;case 7:Bb=Pd(db),console.warn("fetch comments",Bb);case 4:Da=
la.next();db.jumpTo(3);break;case 5:return h.sort(function(wa,Na){return Number(Na)-Number(wa)}),db.return({totalCount:e,openCount:g,clIds:h,pendingChangeLists:Z,hyperLinks:l,issueLinks:q,screenshots:v,goLinks:y,contributors:B,comments:I})}})},Jjc=function(a,b,c,d){if(null==b)return console.warn("getIssueAndDescendants() missing an issue"),[];var e=[b];b=k(c[b.issueId]);for(var g=b.next();!g.done;g=b.next())g=Jjc(a,d[g.value],c,d),e.push.apply(e,Jc(g));return e},Fjc=function(a){var b=[],c,d;a=null==
(c=a.snapshot)?void 0:null==(d=c[0])?void 0:d.changelist;null!=a&&b.push.apply(b,Jc(a));return b},Ejc=function(a,b){var c;return Ld(function(d){if(1==d.nextAddress){var e=d.yield,g=F.firstValueFrom;var h=a.changelistApi;var l=new FC,q=l.setQuery;var v=(new EC).setIssueIdsList(b);v=n(v,2,2);l=q.call(l,v);h=h.executor.post({url:"action/changelists/list",body:l,responseConstructor:GC}).pipe(E(Vra));return e.call(d,g.call(F,h),2)}c=d.yieldResult;return d.return(c.changelists)})},Bjc=function(a,b){var c,
d,e,g,h,l,q,v,y,B;return Ld(function(I){if(1==I.nextAddress)return c={},I.yield((0,F.firstValueFrom)(a.issueRelationshipApi.getDescendants({issueIds:b,relationshipType:1,includeArchived:!1,depthLimit:10,prefixSizeLimit:100})),2);d=I.yieldResult;e=k(d.entries());for(g=e.next();!g.done;g=e.next())h=g.value,l=k(h),q=l.next().value,v=l.next().value,y=q,B=v,c[String(y)]=B.getIssueRelationshipsList().map(function(N){return String(Wh(N,1))});return I.return(c)})},Gjc=function(a){var b=[],c=[],d=[],e=[];
a=k(a.relatedLinks||[]);for(var g=a.next();!g.done;g=a.next())g=g.value,"hyperlink"===g.type?(Cxa(g.href)?d.push(g.href):b.push(g.href),Fxa(g)&&e.push(g.href)):"issueReference"===g.type&&c.push(g.issueId);return{hyperLinks:b,issueLinks:c,goLinks:e,screenshots:d}},Hjc=function(a,b){var c,d,e,g,h,l,q,v,y,B;return Ld(function(I){if(1==I.nextAddress)return c=3,d=new Set,e=[],I.yield((0,F.firstValueFrom)(a.eventsForIssueFridge.watchOne(b)),2);g=I.yieldResult;if(void 0===g)return I.return({issueId:b,comments:e});
h=k(g.events.reverse());for(l=h.next();!l.done&&!(q=l.value,ik(q)&&q.isHumanAuthor&&(v=q.commentNumber,null!==v&&!d.has(v)&&(d.add(v),y=q.unlinkifiedComment,B=q.commentLastModifiedAtDate,null!=y&&0<y.length&&null!=B&&e.push({commentNumber:v,content:y,modifiedTime:B}),d.size>=c)));l=h.next());return I.return({issueId:b,comments:e})})};
qF.prototype.getIssues=function(a){var b=this,c,d,e,g,h;return Ld(function(l){switch(l.nextAddress){case 1:c=[],d=0;case 2:if(!(d<a.length)){l.jumpTo(4);break}e=a.slice(d,d+100);g=[];Md(l,5);return l.yield(b.issueApi.batchGetIssues(e),7);case 7:g=l.yieldResult;xp(l,6);break;case 5:h=Pd(l),console.warn("fetch issues",h);case 6:c.push.apply(c,Jc(g));d+=100;l.jumpTo(2);break;case 4:return l.return(c)}})};qF.\u0275fac=function(a){return new (a||qF)(w(HE),w(YE),w(IC),w(pF))};
qF.\u0275prov=nc({token:qF,factory:qF.\u0275fac,providedIn:"root"});var Kjc=["needs-attention-table","needs-attention-cards","pinned-issues","working-on-this-week","mvp-needs-attention"],Ljc="my-projects-as-cards my-projects-as-tabs my-projects-as-tree recently-viewed-i-own pinned-issues working-on-this-week suggested-issues assigned-to-me recent-stuff-i-follow my-tasks-area".split(" "),Mjc="team-activity-stream team-inbox tp-my-work tp-needs-input activity-stream assigned-to-me recent-stuff-i-follow my-tasks-area".split(" ");[].concat(Jc(Kjc),Jc(Ljc),Jc(Mjc));
var Njc=["children","immersed"];Jc(Njc);
var Xxa=["assigned-to-me","recent-stuff-i-follow"],Ojc={collapsed:{},projectFilters:[]},Pjc={layout:"layout-b",showHiddenSettings:!1,sectionA:"",sectionW:"my-projects-as-cards",sectionT:"tp-my-work tp-needs-input",collapsed:{},projectFilters:["OPEN"],pinned:[],issuesThisWeek:{issues:[],weekNumber:0}},Qjc={"2022-may":Pjc,a1:{layout:"layout-a",sectionA:"needs-attention-table",sectionW:"my-projects-as-cards",sectionT:"tp-my-work"},b1:{layout:"layout-b",sectionA:"needs-attention-table",sectionW:"my-projects-as-cards",
sectionT:"tp-my-work"},c1:{layout:"layout-c",sectionA:"needs-attention-table",sectionT:"assigned-to-me",sectionW:"my-projects-as-tabs"},study:{layout:"layout-c",sectionA:"mvp-needs-attention",sectionW:"",sectionT:"mvp-my-tasks mvp-my-work"}},Rjc="title assignee status id modifiedTime menu".split(" ");var Sjc=bk(),wk=Zxa(Sjc.user.email);var rF=function(){};rF.prototype.adapt=function(a){var b,c=new Tjc(a.call.bind(a),a.split.bind(a),null!=(b=a.bufferTimeMs)?b:500,a.maxBatchSize||100);return c.get.bind(c)};rF.\u0275fac=function(a){return new (a||rF)};rF.\u0275prov=nc({token:rF,factory:rF.\u0275fac,providedIn:"root"});
var Tjc=function(a,b,c,d){var e=this;this.batchCall=a;this.batchSplit=b;this.bufferTimeMs=c;this.maxBatchSize=d;this.inputSubject=new F.Subject;this.inputs$=this.inputSubject.pipe(Pja(this.inputSubject.pipe(be(this.bufferTimeMs,F.asapScheduler))));this.removeDuplicates=E(function(g){return[].concat(Jc(new Set(g)))});this.limitInputSize=E(function(g){for(var h=k(g.slice(e.maxBatchSize)),l=h.next();!l.done;l=h.next())e.inputSubject.next(l.value);return new Set(g.slice(0,e.maxBatchSize))});this.makeBatchCalls=
(0,F.pipe)(Vd(function(g){try{return e.batchCall(g).pipe(ge(),E(function(h){return{inputs:g,batchResponse:h,error:void 0}}),ce(function(h){return(0,F.of)({inputs:g,batchResponse:void 0,error:h})}))}catch(h){return(0,F.of)({inputs:g,batchResponse:void 0,error:h})}}),wka());this.batchResults$=this.inputs$.pipe(this.removeDuplicates,this.limitInputSize,this.makeBatchCalls)};
Tjc.prototype.get=function(a){var b=this;return new F.Observable(function(c){c=b.batchResults$.pipe(Zd(function(d){return d.inputs.has(a)}),ge(),E(function(d){if(!d.error&&d.batchResponse)return b.batchSplit(a,d.batchResponse);throw new Ujc(d.error,d.inputs);})).subscribe(c);b.inputSubject.next(a);return c})};var Ujc=function(a,b){var c=Error.call(this,"Error in batch call");this.message=c.message;"stack"in c&&(this.stack=c.stack);this.err=a;this.inputs=b;Object.setPrototypeOf(this,Ujc.prototype)};
V(Ujc,Error);var sF=function(a){r.call(this,a,0,sF.messageId)};V(sF,r);sF.prototype.toObject=function(){if(null!=this){t(this);var a={component:$D(W(this,Gi,1))}}else a=void 0;return a};sF.prototype.serializeBinary=u([sF,1,X,aE]);sF.messageId="b.CreateComponentResponse";var tF=function(a){r.call(this,a,0,tF.messageId)};V(tF,r);tF.repeatedFields_=[1];tF.prototype.toObject=function(){if(null!=this){t(this);var a={componentList:Mb(yg(this,Gi,1),$D)}}else a=void 0;return a};tF.prototype.serializeBinary=u([tF,1,Iq,aE]);tF.messageId="b.ListComponentsResponse";var Ji=function(a){r.call(this,a)};V(Ji,r);f=Ji.prototype;f.getComponentPath=function(){return mh(this,1)};f.getRetentionSettings=function(){return W(this,Gh,2)};f.setRetentionSettings=function(a){Oh(this,Gh,2,a)};f.hasRetentionSettings=function(){return qi(this,Gh,2)};f.toObject=function(){return Vjc(this)};var Vjc=function(a){if(null!=a)return t(a),{componentPath:p(m(a,1)),retentionSettings:dfc(a.getRetentionSettings())}},Wjc=[Ji,1,Cq,2,X,efc];Ji.prototype.serializeBinary=u(Wjc);var uF=function(a){r.call(this,a,0,uF.messageId)};V(uF,r);uF.repeatedFields_=[2];uF.prototype.toObject=function(){if(null!=this){t(this);var a={descendantsList:Mb(yg(this,Ji,2),Vjc)}}else a=void 0;return a};uF.prototype.serializeBinary=u([uF,2,Iq,Wjc]);uF.messageId="b.SubcomponentsResponse";var Xjc=function(){},Yjc=function(){},vF=function(a,b){this.executor=a;this.currentTrackerId=b};V(vF,Yjc);f=vF.prototype;f.get=function(a){return this.query({id:[a]}).pipe(E(function(b){return b.length?b[0]:null}))};f.getChildren=function(a,b){a={parentId:String(a)};if(void 0===b?0:b)a.includearchived=!0;return this.query(a)};f.getDescendants=function(a){return this.executor.get({url:"action/components/"+a+"/descendants",responseConstructor:uF}).pipe(E(kva))};
f.fetchComponent=function(a,b){var c={};b.checkEditAccess&&(c.checkEditAccess="true");return this.executor.get({url:"action/components/"+a,options:{params:c},responseConstructor:Gi}).pipe(E(Bi))};
f.query=function(a){var b={};a.id&&(b.id=a.id.map(String));a.parentId&&(b.parentId=String(a.parentId));a.query&&(b.query=a.query);a.includearchived&&(b.includearchived="true");a=this.currentTrackerId.getTrackerId();yk(a)||(b.currentTrackerId=a);return this.executor.get({url:"action/components",options:{params:b},responseConstructor:tF}).pipe(E(iva))};
f.create=function(a){a=cva(a);return this.executor.post({url:"action/components",body:a,responseConstructor:sF}).pipe(E(function(b){return Bi(W(b,Gi,1))}))};
f.update=function(a){var b=a.componentId,c=new Gi;c.setComponentId(String(a.componentId));n(c,2,String(a.parentComponentId));c.setName(a.name);c.setDescription(a.description);c.setArchived(a.archived);if(a.customFieldId){var d=a.customFieldId.map(String);$h(c,7,d)}if(a.componentPathInfo){var e=a.componentPathInfo;d=new Ci;if(e.componentPathId){var g=e.componentPathId.map(String);$h(d,1,g)}e.componentPathName&&(g=e.componentPathName.map(String),uh(d,2,g));e.allCustomField&&(e=e.allCustomField.map(nta),
Th(d,4,e));Oh(c,Ci,10,d)}a.accessLimit&&c.setAccessLimit(Gsa(a.accessLimit));n(c,13,a.emailAlias);a.userHasEditAccess&&xi(c,14,a.userHasEditAccess);a.commentEditState&&c.setCommentEditState("ENABLED"===a.commentEditState?1:2);n(c,18,String(a.defaultTemplateId));a.slo&&c.setSlo(Gta(a.slo));n(c,20,a.bugscopeSloId);a.retentionSettings&&c.setRetentionSettings(yta(a.retentionSettings));a.fieldOrdering&&n(c,23,Qcc[a.fieldOrdering]);a.effortSpec&&(d=rta(a.effortSpec),Oh(c,zh,24,d));a.team&&c.setTeam(Vua(a.team));
var h;c.setTeamSuggestionsList((null!=(h=a.teamSuggestions)?h:[]).map(Yua));return this.executor.post({url:"action/components/"+b,body:c,responseConstructor:Gi}).pipe(E(Bi))};f.move=function(a,b){return this.executor.post({url:"action/components/"+a+"/move",body:null,options:{params:{parentId:String(b)}},responseConstructor:Gi}).pipe(E(Bi))};f.updateSlo=function(a,b){var c=new bE;c.setSlo(Gta(b));return this.executor.post({url:"action/components/"+a+"/updateSlo",body:c,responseConstructor:Gi}).pipe(E(Bi))};
f.updateTeam=function(a,b){var c=new cE;c.setTeam(Vua(b));return this.executor.post({url:"action/components/"+a+"/updateTeam",body:c,responseConstructor:Gi}).pipe(E(Bi))};vF.\u0275fac=function(a){return new (a||vF)(w(BC),w(lE))};vF.\u0275prov=nc({token:vF,factory:vF.\u0275fac,providedIn:"root"});var wF=function(a){this.observableApi=a};V(wF,Xjc);f=wF.prototype;f.get=function(a){return(0,F.firstValueFrom)(this.observableApi.get(a))};
f.getChildren=function(a,b){return(0,F.firstValueFrom)(this.observableApi.getChildren(a,void 0===b?!1:b))};f.getDescendants=function(a){return(0,F.firstValueFrom)(this.observableApi.getDescendants(a))};f.fetchComponent=function(a,b){return(0,F.firstValueFrom)(this.observableApi.fetchComponent(a,b))};f.query=function(a){return(0,F.firstValueFrom)(this.observableApi.query(a))};f.create=function(a){return(0,F.firstValueFrom)(this.observableApi.create(a))};f.update=function(a){return(0,F.firstValueFrom)(this.observableApi.update(a))};
f.move=function(a,b){return(0,F.firstValueFrom)(this.observableApi.move(a,b))};f.updateSlo=function(a,b){return(0,F.firstValueFrom)(this.observableApi.updateSlo(a,b))};f.updateTeam=function(a,b){return(0,F.firstValueFrom)(this.observableApi.updateTeam(a,b))};wF.\u0275fac=function(a){return new (a||wF)(w(vF))};wF.\u0275prov=nc({token:wF,factory:wF.\u0275fac,providedIn:"root"});var xF=function(a){oF.call(this,{freshUntil:12E4,ancientAfter:6048E5});this.batchedComponentApi=a;this.recordType="component";this.idKey="componentId"};V(xF,oF);xF.prototype.fetchOne=function(a){return this.batchedComponentApi.get(a).pipe(ce(function(){return(0,F.of)(void 0)}))};xF.prototype.fetchSet=function(a){var b=this;return(0,F.combineLatest)(a.map(function(c){return b.fetchOne(c)})).pipe(E(function(c){return c.filter(eh)}))};xF.\u0275fac=function(a){return new (a||xF)(w(yF))};
xF.\u0275prov=nc({token:xF,factory:xF.\u0275fac,providedIn:"root"});var yF=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)}})};
yF.prototype.call=function(a){return 1===a.size?this.observableComponentApi.fetchComponent([].concat(Jc(a))[0],{}).pipe(E(function(b){return new Map(b?[[b.componentId,b]]:[])})):this.observableComponentApi.query({id:[].concat(Jc(a))}).pipe(E(function(b){return new Map(b.map(function(c){return[c.componentId,c]}))}))};yF.prototype.splitBatch=function(a,b){return b.get(Number(a))};yF.\u0275fac=function(a){return new (a||yF)(w(Yjc),w(rF))};yF.\u0275prov=nc({token:yF,factory:yF.\u0275fac,providedIn:"root"});var zF=function(a){r.call(this,a,0,zF.messageId)};V(zF,r);zF.prototype.getSnapshot=function(){return W(this,Yh,1)};zF.prototype.setSnapshot=function(a){Oh(this,Yh,1,a)};zF.prototype.toObject=function(){if(null!=this){t(this);var a={snapshot:Lfc(this.getSnapshot()),customFieldMapMap:Ob(Ii(this,2,yh),sdc)}}else a=void 0;return a};zF.prototype.serializeBinary=u([zF,1,X,Mfc,2,Sq,tdc]);zF.messageId="b.IssueTemplateResponse";var AF=function(a){r.call(this,a,0,AF.messageId)};V(AF,r);AF.repeatedFields_=[1];AF.prototype.toObject=function(){if(null!=this){t(this);var a={templatesList:Mb(yg(this,Hi,1),ngc)}}else a=void 0;return a};AF.prototype.serializeBinary=u([AF,1,Iq,ogc]);AF.messageId="b.ListTemplatesResponse";var BF=function(a){r.call(this,a,0,BF.messageId)};V(BF,r);BF.prototype.toObject=function(){if(null!=this){t(this);var a={template:ngc(W(this,Hi,1))}}else a=void 0;return a};BF.prototype.serializeBinary=u([BF,1,X,ogc]);BF.messageId="b.TemplateResponse";var Zjc=function(){},CF=function(a){this.executor=a};f=CF.prototype;f.get=function(a,b){return this.executor.get({url:"action/components/"+a+"/templates/"+b,responseConstructor:BF}).pipe(E(aya))};f.query=function(a){return this.executor.get({url:"action/components/"+a+"/templates",responseConstructor:AF}).pipe(E(bya))};f.create=function(a,b){b=gva(b);return this.executor.post({url:"action/components/"+a+"/templates",responseConstructor:BF,body:b}).pipe(E(aya))};
f.update=function(a,b,c){c=gva(c);return this.executor.post({url:"action/components/"+a+"/templates/"+b,responseConstructor:BF,body:c}).pipe(E(aya))};f.delete=function(a,b){return this.executor.delete({url:"action/components/"+a+"/templates/"+b,responseConstructor:null})};f.getIssueTemplate=function(a,b){return this.executor.get({url:"action/components/"+a+"/issue_template",responseConstructor:zF,options:{params:{templateId:String(b)}}}).pipe(E(hva))};CF.\u0275fac=function(a){return new (a||CF)(w(BC))};
CF.\u0275prov=nc({token:CF,factory:CF.\u0275fac,providedIn:"root"});var DF=function(a){this.observableApi=a};V(DF,Zjc);f=DF.prototype;f.get=function(a,b){return(0,F.firstValueFrom)(this.observableApi.get(a,b))};f.query=function(a){return(0,F.firstValueFrom)(this.observableApi.query(a))};f.create=function(a,b){return(0,F.firstValueFrom)(this.observableApi.create(a,b))};f.update=function(a,b,c){return(0,F.firstValueFrom)(this.observableApi.update(a,b,c))};
f.delete=function(a,b){return(0,F.firstValueFrom)(this.observableApi.delete(a,b))};f.getIssueTemplate=function(a,b){return(0,F.firstValueFrom)(this.observableApi.getIssueTemplate(a,b))};DF.\u0275fac=function(a){return new (a||DF)(w(CF))};DF.\u0275prov=nc({token:DF,factory:DF.\u0275fac,providedIn:"root"});var cya=function(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b;a.reject=c})};var $jc=Symbol("nc"),akc=Symbol("oc"),bkc=Symbol("pc"),EF=function(){};EF.prototype.schedule=function(a,b){b=void 0===b?0:b;var c=zk(),d=c.promise;b=setTimeout(function(){try{var e=a()}catch(g){c.reject(g);d[bkc]=!0;return}c.resolve(e);d[bkc]=!0},b);d[$jc]=b;d[akc]=c.reject;d[bkc]=!1;return c.promise};EF.prototype.cancel=function(a){var b=a[$jc];if(null==b||a[bkc])return!1;clearTimeout(b);var c;null==(c=a[akc])||c.call(a,Error("qc"));return a[bkc]=!0};EF.\u0275fac=function(a){return new (a||EF)};
EF.\u0275prov=nc({token:EF,factory:EF.\u0275fac,providedIn:"root"});var FF=function(a){this.timeout=a};FF.prototype.adapt=function(a){return new ckc(this.timeout,a)};FF.\u0275fac=function(a){return new (a||FF)(w(EF))};FF.\u0275prov=nc({token:FF,factory:FF.\u0275fac,providedIn:"root"});var ckc=function(a,b){this.timeout=a;this.bulkGet=b;this.batchedInputs=[[]];this.batchedDeferreds=[[]];this.isBatchScheduled=!1};
ckc.prototype.get=function(a){var b=zk(),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||dkc(this);return b.promise};
var dkc=function(a){a.isBatchScheduled=!0;a.timeout.schedule(function(){for(var b={},c=0;c<a.batchedInputs.length;b={$jscomp$loop$prop$batchedDeferred$2279:b.$jscomp$loop$prop$batchedDeferred$2279},c++){var d=a.batchedInputs[c];b.$jscomp$loop$prop$batchedDeferred$2279=a.batchedDeferreds[c];a.bulkGet(d).then(function(e){return function(g){for(var h=0;h<e.$jscomp$loop$prop$batchedDeferred$2279.length;h++)e.$jscomp$loop$prop$batchedDeferred$2279[h].resolve(g[h])}}(b),function(e){return function(g){for(var h=
k(e.$jscomp$loop$prop$batchedDeferred$2279),l=h.next();!l.done;l=h.next())l.value.reject(g)}}(b))}a.batchedInputs=[[]];a.batchedDeferreds=[[]];a.isBatchScheduled=!1})};var Ak=function(a){r.call(this,a,0,Ak.messageId)};V(Ak,r);f=Ak.prototype;f.getResource=function(){return mh(this,1)};f.setResource=function(a){return n(this,1,a)};f.getRelation=function(){return Fh(this,2,0)};f.setRelation=function(a){n(this,2,a)};f.toObject=function(){return ekc(this)};var ekc=function(a){if(null!=a)return t(a),{resource:p(m(a,1)),relation:p(m(a,2))}},fkc=[Ak,1,Cq,2,Nq];Ak.prototype.serializeBinary=u(fkc);Ak.messageId="b.ResourceRelation";var GF=function(a){r.call(this,a,0,GF.messageId)};V(GF,r);GF.repeatedFields_=[1];GF.prototype.toObject=function(){if(null!=this){t(this);var a={grantedList:Mb(yg(this,Ak,1),ekc)}}else a=void 0;return a};GF.prototype.serializeBinary=u([GF,1,Iq,fkc]);GF.messageId="b.UserAccessBatchResponse";var HF=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+)$")};HF.prototype.validate=function(a){return this.resourceNamePattern.test(a)};HF.\u0275fac=function(a){return new (a||HF)};HF.\u0275prov=nc({token:HF,factory:HF.\u0275fac,providedIn:"root"});
var IF=function(a,b,c){var d=this;this.userAccess=a;this.resourceNameValidator=b;this.accesses={};this.accessGetter=c.adapt(function(e){return gkc(d,e)})},gkc=function(a,b){return hkc(a,b).then(function(c){return eya(b,c)})},JF=function(a,b,c){return a.resourceNameValidator.validate(c)?ikc(a,b,c):Promise.reject("invalid resource name: "+c)},hkc=function(a,b){var c=[],d=[];b=k(b);for(var e=b.next();!e.done;e=b.next())e=e.value,c.push(e.relation),d.push(e.resourceName);return a.userAccess.bulkGetUserAccess(c,
d)},ikc=function(a,b,c){var d=b+"/"+c,e=a.accesses[d];if(e)return e;b=a.accessGetter.get({relation:b,resourceName:c}).then(function(g){return null==g?!1:g});a.accesses[d]=b;b.then(function(){delete a.accesses[d]});return b};IF.\u0275fac=function(a){return new (a||IF)(w(KF),w(HF),w(FF))};IF.\u0275prov=nc({token:IF,factory:IF.\u0275fac,providedIn:"root"});var LF=function(a){this.executor=a};
LF.prototype.bulkGetUserAccess=function(a,b){return this.executor.get({url:"action/user_access",options:{params:{relations:a.join(","),resourceNames:b.join(",")}},responseConstructor:GF}).pipe(E(dya))};LF.\u0275fac=function(a){return new (a||LF)(w(BC))};LF.\u0275prov=nc({token:LF,factory:LF.\u0275fac,providedIn:"root"});var KF=function(a){this.observableApi=a};KF.prototype.bulkGetUserAccess=function(a,b){return(0,F.firstValueFrom)(this.observableApi.bulkGetUserAccess(a,b))};
KF.\u0275fac=function(a){return new (a||KF)(w(LF))};KF.\u0275prov=nc({token:KF,factory:KF.\u0275fac,providedIn:"root"});var MF=function(){};MF.\u0275fac=function(a){return new (a||MF)};MF.\u0275mod=Bc({type:MF});MF.\u0275inj=oc({imports:[gv,WB,YA]});var jkc=new Hc("MatSnackBarData"),kkc=function(){this.politeness="assertive";this.announcementMessage="";this.duration=0;this.data=null;this.horizontalPosition="center";this.verticalPosition="bottom"};var lkc=Math.pow(2,31)-1,NF=function(a,b){var c=this;this._overlayRef=b;this._afterDismissed=new F.Subject;this._afterOpened=new F.Subject;this._onAction=new F.Subject;this._dismissedByAction=!1;this.containerInstance=a;a._onExit.subscribe(function(){return c._finishDismiss()})};NF.prototype.dismiss=function(){this._afterDismissed.closed||this.containerInstance.exit();clearTimeout(this._durationTimeoutId)};
var jya=function(a){a._onAction.closed||(a._dismissedByAction=!0,a._onAction.next(),a._onAction.complete(),a.dismiss());clearTimeout(a._durationTimeoutId)};f=NF.prototype;f._dismissAfter=function(a){var b=this;this._durationTimeoutId=setTimeout(function(){return b.dismiss()},Math.min(a,lkc))};f._open=function(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())};
f._finishDismiss=function(){this._overlayRef.dispose();this._onAction.closed||this._onAction.complete();this._afterDismissed.next({dismissedByAction:this._dismissedByAction});this._afterDismissed.complete();this._dismissedByAction=!1};f.afterOpened=function(){return this.containerInstance._onEnter};f.onAction=function(){return this._onAction};var mkc=Of("state",[Rf("void, hidden",Qf({transform:"scale(0.8)",opacity:0})),Rf("visible",Qf({transform:"scale(1)",opacity:1})),Sf("* => visible",Pf("150ms cubic-bezier(0, 0, 0.2, 1)")),Sf("* => void, * => hidden",Pf("75ms cubic-bezier(0.4, 0.0, 1, 1)",Qf({opacity:0})))]);var nkc=0,OF=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=wc(eg);this._trackedModals=new Set;this._announceDelay=150;this._destroyed=!1;this._onAnnounce=new F.Subject;this._onExit=new F.Subject;this._onEnter=new F.Subject;this._animationState="void";this._liveElementId="mat-snack-bar-container-live-"+nkc++;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"))};V(OF,ew);OF.prototype.attachComponentPortal=function(a){a=this._portalOutlet.attachComponentPortal(a);this._afterPortalAttached();return a};OF.prototype.attachTemplatePortal=function(a){a=this._portalOutlet.attachTemplatePortal(a);this._afterPortalAttached();return a};
var okc=function(a,b){var c=b.fromState;b=b.toState;("void"===b&&"void"!==c||"hidden"===b)&&a._completeExit();if("visible"===b){var d=a._onEnter;a._ngZone.run(function(){d.next();d.complete()})}};f=OF.prototype;f.enter=function(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())};
f.exit=function(){var a=this;this._ngZone.run(function(){a._animationState="hidden";a._elementRef.nativeElement.setAttribute("mat-exit","");clearTimeout(a._announceTimeoutId)});return this._onExit};f.ngOnDestroy=function(){this._destroyed=!0;this._clearFromModals();this._completeExit()};f._completeExit=function(){var a=this;this._ngZone.onMicrotaskEmpty.pipe(ge()).subscribe(function(){a._ngZone.run(function(){a._onExit.next();a._onExit.complete()})})};
f._afterPortalAttached=function(){var a=this._elementRef.nativeElement,b=this.snackBarConfig.panelClass;b&&(Array.isArray(b)?b.forEach(function(c){return a.classList.add(c)}):a.classList.add(b));this._exposeToModals()};
f._exposeToModals=function(){for(var a=this._liveElementId,b=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]'),c=0;c<b.length;c++){var d=b[c],e=d.getAttribute("aria-owns");this._trackedModals.add(d);e?-1===e.indexOf(a)&&d.setAttribute("aria-owns",e+" "+a):d.setAttribute("aria-owns",a)}};
f._clearFromModals=function(){var a=this;this._trackedModals.forEach(function(b){var c=b.getAttribute("aria-owns");c&&(c=c.replace(a._liveElementId,"").trim(),0<c.length?b.setAttribute("aria-owns",c):b.removeAttribute("aria-owns"))});this._trackedModals.clear()};f._assertNotAttached=function(){};
f._screenReaderAnnounce=function(){var a=this;this._announceTimeoutId||this._ngZone.runOutsideAngular(function(){a._announceTimeoutId=setTimeout(function(){var b=a._elementRef.nativeElement.querySelector("[aria-hidden]"),c=a._elementRef.nativeElement.querySelector("[aria-live]");if(b&&c){var d=null;a._platform.isBrowser&&document.activeElement instanceof HTMLElement&&b.contains(document.activeElement)&&(d=document.activeElement);b.removeAttribute("aria-hidden");c.appendChild(b);var e;null==(e=d)||
e.focus();a._onAnnounce.next();a._onAnnounce.complete()}},a._announceDelay)})};OF.\u0275fac=function(a){return new (a||OF)(D(te),D(fd),D(Lu),D(Sv),D(kkc))};OF.\u0275dir=Cc({type:OF,viewQuery:function(a,b){a&1&&jf(hw,7);if(a&2){var c;hf(c=lf())&&(b._portalOutlet=c.first)}},features:[xe]});var pkc=new Hc("mat-snack-bar-default-options",{providedIn:"root",factory:function(){return new kkc}}),PF=function(a,b,c,d,e,g){this._overlay=a;this._live=b;this._injector=c;this._breakpointObserver=d;this._parentSnackBar=e;this._defaultConfig=g;this._snackBarRefAtThisLevel=null};f=PF.prototype;
f.open=function(a,b,c){b=void 0===b?"":b;var d=Object.assign({},this._defaultConfig,c);d.data={message:a,action:b};d.announcementMessage===a&&(d.announcementMessage=void 0);return this._attach(this.simpleSnackBarComponent,d)};f.dismiss=function(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()};f.ngOnDestroy=function(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()};
f._attachSnackBarContainer=function(a,b){var c=ve({parent:b&&b.viewContainerRef&&b.viewContainerRef.injector||this._injector,providers:[{provide:kkc,useValue:b}]});a=a.attach(new cw(this.snackBarContainerComponent,b.viewContainerRef,c));a.instance.snackBarConfig=b;return a.instance};
f._attach=function(a,b){var c=this,d=Object.assign({},new kkc,this._defaultConfig,b),e=this._createOverlay(d);b=this._attachSnackBarContainer(e,d);var g=new NF(b,e);if(a instanceof ef)g.instance=b.attachTemplatePortal(new dw(a,null,{$implicit:d.data,snackBarRef:g}));else{var h=this._createInjector(d,g);a=b.attachComponentPortal(new cw(a,void 0,h));g.instance=a.instance}this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(qe(e._detachments)).subscribe(function(l){e.overlayElement.classList.toggle(c.handsetCssClass,
l.matches)});d.announcementMessage&&b._onAnnounce.subscribe(function(){c._live.announce(d.announcementMessage,d.politeness)});this._animateSnackBar(g,d);return this._openedSnackBarRef=g};
f._animateSnackBar=function(a,b){var c=this;a._afterDismissed.subscribe(function(){c._openedSnackBarRef==a&&(c._openedSnackBarRef=null);b.announcementMessage&&c._live.clear()});this._openedSnackBarRef?(this._openedSnackBarRef._afterDismissed.subscribe(function(){a.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):a.containerInstance.enter();b.duration&&0<b.duration&&a.afterOpened().subscribe(function(){return a._dismissAfter(b.duration)})};
f._createOverlay=function(a){var b=new Gx;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"):f1b(c);"top"===a.verticalPosition?c.top("0"):c.bottom("0");b.positionStrategy=c;return this._overlay.create(b)};
f._createInjector=function(a,b){return ve({parent:a&&a.viewContainerRef&&a.viewContainerRef.injector||this._injector,providers:[{provide:NF,useValue:b},{provide:jkc,useValue:a.data}]})};gg.Object.defineProperties(PF.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}}});
PF.\u0275fac=function(a){return new (a||PF)(w(Ox),w(cx),w(Qt),w(Xw),w(PF,12),w(pkc))};PF.\u0275prov=nc({token:PF,factory:PF.\u0275fac});var QF=function(a,b){this.snackBarRef=a;this.data=b};QF.prototype.action=function(){jya(this.snackBarRef)};gg.Object.defineProperties(QF.prototype,{hasAction:{configurable:!0,enumerable:!0,get:function(){return!!this.data.action}}});QF.\u0275fac=function(a){return new (a||QF)(D(NF),D(jkc))};
QF.\u0275cmp=zc({type:QF,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],decls:3,vars:2,consts:[[1,"mat-simple-snack-bar-content"],["class","mat-simple-snackbar-action",4,"ngIf"],[1,"mat-simple-snackbar-action"],["mat-button","",3,"click"]],template:function(a,b){a&1&&(H(0,"span",0),S(1),J(),R(2,fya,3,1,"div",1));a&2&&(C(1),Ve(b.data.message),C(1),G("ngIf",b.hasAction))},dependencies:[Tu,yy],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 RF=function(){OF.apply(this,arguments)};V(RF,OF);RF.\u0275dir=OF.\u0275dir;RF.prototype._afterPortalAttached=function(){OF.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")};RF.\u0275fac=function(){var a;return function(b){return(a||(a=dd(RF)))(b||RF)}}();
RF.\u0275cmp=zc({type:RF,selectors:[["snack-bar-container"]],hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(a,b){a&1&&Qla("@state.done",function(c){return okc(b,c)});a&2&&Ola("@state",b._animationState)},features:[xe],decls:3,vars:3,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(a,b){a&1&&(H(0,"div",0),R(1,gya,0,0,"ng-template",1),J(),K(2,"div"));a&2&&(C(2),Ae("aria-live",b._live)("role",b._role)("id",b._liveElementId))},dependencies:[hw],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:[mkc]}});var SF=function(){};SF.\u0275fac=function(a){return new (a||SF)};SF.\u0275mod=Bc({type:SF});SF.\u0275inj=oc({imports:[Rx,iw,gv,WB,Sx,Sx]});var TF=function(a,b,c,d,e,g){PF.call(this,a,b,c,d,e,g);this.simpleSnackBarComponent=QF;this.snackBarContainerComponent=RF;this.handsetCssClass="mat-snack-bar-handset"};V(TF,PF);TF.\u0275fac=function(a){return new (a||TF)(w(Ox),w(cx),w(Qt),w(Xw),w(TF,12),w(pkc))};TF.\u0275prov=nc({token:TF,factory:TF.\u0275fac,providedIn:SF});var UF=function(a){this.snackBar=a};UF.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(qkc,b)};UF.\u0275fac=function(a){return new (a||UF)(w(TF))};UF.\u0275prov=nc({token:UF,factory:UF.\u0275fac,providedIn:"root"});
var qkc=function(a,b){this.data=a;this.snackBarRef=b};qkc.\u0275fac=function(a){return new (a||qkc)(D(jkc),D(NF))};
qkc.\u0275cmp=zc({type:qkc,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),R(1,hya,2,1,"span",1),
R(2,iya,1,1,"span",2),H(3,"div",3),R(4,kya,2,1,"button",4),R(5,lya,2,1,"button",4),R(6,mya,2,0,"button",5),J()());a&2&&(C(1),G("ngIf",!b.data.htmlMessage),C(1),G("ngIf",b.data.htmlMessage),C(2),G("ngIf",b.data.actionLabel),C(1),G("ngIf",b.data.dismissLabel),C(1),G("ngIf",!b.data.dismissLabel))},dependencies:[Tu,yy,jz],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}\n/*# sourceMappingURL=snackbar_content.css.map */"]});var VF=function(a){this.snackbar=a};VF.prototype.dismiss=function(){this.lastSnackbar&&this.lastSnackbar.dismiss()};var WF=function(a,b,c){a.open({message:b,duration:void 0===c?1E4:c})},rkc=function(a,b,c){a.open({message:b,duration:void 0===c?1E4:c})},XF=function(a,b,c){a.open({message:b,duration:void 0===c?0:c,snackbarType:"ERROR"})};VF.prototype.open=function(a){return this.lastSnackbar=a=this.snackbar.open(a)};VF.\u0275fac=function(a){return new (a||VF)(w(UF))};
VF.\u0275prov=nc({token:VF,factory:VF.\u0275fac,providedIn:"root"});var YF=function(){};f=YF.prototype;f.debug=function(){Lra.apply(null,Jc(Fc.apply(0,arguments)))};f.error=function(){Ora.apply(null,Jc(Fc.apply(0,arguments)))};f.info=function(){Mra.apply(null,Jc(Fc.apply(0,arguments)))};f.log=function(){Nra.apply(null,Jc(Fc.apply(0,arguments)))};f.warn=function(){rg.apply(null,Jc(Fc.apply(0,arguments)))};YF.\u0275fac=function(a){return new (a||YF)};YF.\u0275prov=nc({token:YF,factory:YF.\u0275fac,providedIn:"root"});var ZF=function(a,b,c,d){this.butterBar=a;this.activeSession=b;this.$log=c;this.timeout=d};
ZF.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.":Ck(b)?Ck(b):404===b.status?"Invalid ID.":"Unknown HTTP error "+b.status+". Please copy your data and refresh the page.";c.$log.error(d,b);XF(c.butterBar,d)})};
var $F=function(a,b){a.$log.warn(b);XF(a.butterBar,b)},aG=function(a,b){if(Bk(b))a.errorHandler(null,b);else throw b;};ZF.\u0275fac=function(a){return new (a||ZF)(w(VF),w(rp),w(YF),w(EF))};ZF.\u0275prov=nc({token:ZF,factory:ZF.\u0275fac,providedIn:"root"});var bG=function(a,b,c,d){this.issueApi=a;this.templatesApi=b;this.errorHandler=c;this.userAccess=d},tkc=function(a,b){b=a.issueApi.getIssue(b).then(function(c){var d=Object,e=d.assign,g=na(c.issue.snapshot),h=c.firstEvent.unlinkifiedComment;g.comment=h?h.trim():"";g.status="NEW";g.createdTimeMicros=null;g.version=null;g.changelist=null;g.significanceOverride=null;g.duplicateIssueId=null;g.duplicateOfIssueId=null;return e.call(d,{},{snapshot:g,customFieldMap:{}},{trackerId:c.issue.trackerId})}).then(function(c){return skc(a,
c)});b.catch(function(c){a.errorHandler.errorHandler(null,c)});return b},skc=function(a,b){var c=b.snapshot.hotlistId;if(!c)return b;var d=c.map(function(e){return JF(a.userAccess,"appender","hotlists/"+e)});return Promise.all(d).then(function(e){b.snapshot.hotlistId=c.filter(function(g,h){return e[h]});return b})};bG.\u0275fac=function(a){return new (a||bG)(w(FE),w(Zjc),w(ZF),w(IF))};bG.\u0275prov=nc({token:bG,factory:bG.\u0275fac,providedIn:"root"});var cG=function(){this.bookmarkGroupModified=new F.Subject;this.commentSubmitted=new F.Subject;this.commentRendered=new F.Subject;this.componentModified=new F.Subject;this.contactChipsRevertChanges=new F.Subject;this.customFieldsModified=new F.Subject;this.dashboardPanels={moveDown:new F.Subject,moveUp:new F.Subject,moveToTop:new F.Subject,moveToBottom:new F.Subject,remove:new F.Subject};this.favoritesModified=new F.Subject;this.hotlistCreated=new F.Subject;this.onClickAppMenuIcon=new F.Subject;this.openEditField=
new F.Subject;this.sidebarWidthChanged=new F.Subject;this.hotlistChanged=new F.Subject;this.savedSearchModified=new F.Subject;this.sidebarUpdated=new F.Subject;this.topBarEvents={browseComponents:new F.Subject,manageHotlists:new F.Subject,manageSlos:new F.Subject,setDensity:new F.Subject,openSettings:new F.Subject};this.templateModified=new F.Subject;this.issueViewed=new F.Subject;this.issueEdited=new F.Subject;this.focusCommentBox=new F.Subject;this.scrollToCommentBox=new F.Subject;this.needsAttentionIssueCount=
new F.Subject;this.recaptchaSubmitted=new F.Subject};cG.\u0275fac=function(a){return new (a||cG)};cG.\u0275prov=nc({token:cG,factory:cG.\u0275fac,providedIn:"root"});var dG=function(a,b){oF.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(Zd(eh),E(function(e){return e.templates}),E(function(e){var g;return null!=(g=e.find(function(h){return h.default}))?g:e[0]}))};this.appEvents.templateModified.pipe(Zd(function(d){return!!d&&"0"!==d})).subscribe(function(d){c.poke(d)})};V(dG,oF);
dG.prototype.fetchOne=function(a){return(0,F.from)(this.template.templatesApi.query(Number(a)).then(function(b){return{componentId:a,templates:b}}))};dG.\u0275fac=function(a){return new (a||dG)(w(bG),w(cG))};dG.\u0275prov=nc({token:dG,factory:dG.\u0275fac,providedIn:"root"});var eG=function(a){r.call(this,a,0,eG.messageId)};V(eG,r);eG.prototype.getCustomField=function(){return W(this,yh,1)};eG.prototype.setCustomField=function(a){return Oh(this,yh,1,a)};eG.prototype.toObject=function(){if(null!=this){t(this);var a={customField:sdc(this.getCustomField())}}else a=void 0;return a};eG.prototype.serializeBinary=u([eG,1,X,tdc]);eG.messageId="b.CustomFieldResponse";var fG=function(){},gG=function(a){this.executor=a};V(gG,fG);f=gG.prototype;f.get=function(a){return this.executor.get({url:"action/custom_fields/"+Number(a),responseConstructor:eG}).then(kta)};f.getResource=function(a){return this.executor.get({url:"action/custom_fields/"+a,responseConstructor:eG}).then(function(b){return dta(b.getCustomField())})};f.create=function(a,b){b=nta(b);return this.executor.post({url:"action/custom_fields",options:{params:{componentId:String(a)}},body:b,responseConstructor:eG}).then(kta)};
f.update=function(a,b,c){b=Number(b);c=nta(c);return this.executor.post({url:"action/custom_fields/"+b,options:{params:{componentId:String(a)}},body:c,responseConstructor:eG}).then(kta)};f.delete=function(a,b){return this.executor.delete({url:"action/custom_fields/"+Number(b),options:{params:{componentId:String(a)}},responseConstructor:null})};gG.\u0275fac=function(a){return new (a||gG)(w(CC))};gG.\u0275prov=nc({token:gG,factory:gG.\u0275fac,providedIn:"root"});var hG=function(a){oF.call(this,{freshUntil:18E5,ancientAfter:2592E6});this.api=a;this.recordType="customFieldResource";this.idKey="customFieldId"};V(hG,oF);hG.prototype.fetchOne=function(a){var b=this;return(0,F.defer)(function(){return b.api.getResource(a)}).pipe(ce(function(c){console.error("error fetching custom field "+a,c);return(0,F.of)(void 0)}))};hG.\u0275fac=function(a){return new (a||hG)(w(fG))};hG.\u0275prov=nc({token:hG,factory:hG.\u0275fac,providedIn:"root"});var iG=function(a){r.call(this,a,0,iG.messageId)};V(iG,r);iG.prototype.getIssueId=function(){return Wh(this,1)};iG.prototype.setIssueId=function(a){return n(this,1,a)};iG.prototype.setCurrentTrackerId=function(a){n(this,3,a)};iG.repeatedFields_=[2];iG.prototype.toObject=function(){if(null!=this){t(this);var a={issueId:p(m(this,1)),commentNumbersList:p(xg(this,2)),currentTrackerId:p(m(this,3))}}else a=void 0;return a};iG.prototype.serializeBinary=u([iG,1,pq,2,lNb,3,mq]);iG.messageId="b.BatchGetIssueCommentsRequest";var jG=function(a){r.call(this,a,0,jG.messageId)};V(jG,r);jG.prototype.getIssueCommentsList=function(){return yg(this,OD,1)};jG.repeatedFields_=[1];jG.prototype.toObject=function(){if(null!=this){t(this);var a={issueCommentsList:Mb(this.getIssueCommentsList(),Jfc)}}else a=void 0;return a};jG.prototype.serializeBinary=u([jG,1,Iq,Kfc]);jG.messageId="b.BatchGetIssueCommentsResponse";var kG=function(a,b){this.jspbExecutor=a;this.currentTrackerId=b};kG.prototype.batchGet=function(a,b){a=(new iG).setIssueId(Number(a));b=bb(a,2,b,Sa);(a=this.currentTrackerId.getTrackerId())&&b.setCurrentTrackerId(a);return this.jspbExecutor.post({url:"action/comments/batch",responseConstructor:jG,body:b}).pipe(E(zva))};kG.\u0275fac=function(a){return new (a||kG)(w(BC),w(lE))};kG.\u0275prov=nc({token:kG,factory:kG.\u0275fac,providedIn:"root"});var lG=function(a,b){oF.call(this);var c=this;this.issueCommentsBatchApi=a;this.batchApiAdapter=b;this.recordType="formattedCommentsForIssue";this.idForRecord=function(d){return d.id.issueId+"-"+d.id.commentId};this.get=this.batchApiAdapter.adapt({bufferTimeMs:0,maxBatchSize:500,call:function(d){return c.call(d)},split:function(d,e){return c.splitBatch(d,e)}})};V(lG,oF);
lG.prototype.fetchSet=function(a){var b=this,c=a[0].split("-")[0];return(0,F.combineLatest)(a.map(function(d){return b.get(d)})).pipe(E(function(d){var e=[];d=k(d);for(var g=d.next();!g.done;g=d.next())if(g=g.value){var h=void 0,l={issueId:c,commentId:null!=(h=g.commentNumber)?h:0};e.push({id:l,formattedComment:g})}return e}))};
lG.prototype.call=function(a){var b="",c=[];a=k(a);for(var d=a.next();!d.done;d=a.next()){var e=k(d.value.split("-"));d=e.next().value;e=e.next().value;""!==b&&b===d?c.push(Number(e)):""===b&&(b=d,c.push(Number(e)))}return this.issueCommentsBatchApi.batchGet(b,c).pipe(E(function(g){var h=b,l=new Map;g=k(g);for(var q=g.next();!q.done;q=g.next()){q=q.value;var v=void 0,y=Number(h)+"-"+(null!=(v=q.commentNumber)?v:0);l.set(y,q)}return l}))};lG.prototype.splitBatch=function(a,b){return b.get(a)};
lG.\u0275fac=function(a){return new (a||lG)(w(kG),w(rF))};lG.\u0275prov=nc({token:lG,factory:lG.\u0275fac,providedIn:"root"});var mG=function(a){r.call(this,a,0,mG.messageId)};V(mG,r);mG.repeatedFields_=[1,2];mG.prototype.toObject=function(){if(null!=this){t(this);var a={noAccessEmailsList:p(Cg(this,1)),unknownEmailsList:p(Cg(this,2))}}else a=void 0;return a};mG.prototype.serializeBinary=u([mG,1,Dq,2,Dq]);mG.messageId="b.CheckPermissionResponse";var nG=function(){},oG=function(a){this.executor=a};f=oG.prototype;f.get=function(a,b){a=Dk(Ek(a,b));return this.executor.get({url:"action/access_policies/"+a,responseConstructor:TC}).pipe(E(Psa))};
f.update=function(a,b,c){a=Dk(Ek(a,b));b=new TC;var d;b.setAdminsList((null!=(d=c.admins)?d:[]).map(gh));var e;b.setAppendersList((null!=(e=c.appenders)?e:[]).map(gh));var g;b.setEditorsList((null!=(g=c.editors)?g:[]).map(gh));var h;b.setReadersList((null!=(h=c.readers)?h:[]).map(gh));var l;b.setRestrictedReadersList((null!=(l=c.restrictedReaders)?l:[]).map(gh));var q;b.setRestrictedPlusReadersList((null!=(q=c.restrictedPlusReaders)?q:[]).map(gh));c.implicitAccess&&b.setImplicitAccess(Tcc[c.implicitAccess]);
return this.executor.post({url:"action/access_policies/"+a,body:b,responseConstructor:TC}).pipe(E(Psa))};f.checkPermission=function(a,b,c,d){a=Dk(a.join(","));b=Dk(b);c=Dk(Ek(c,d));return this.executor.get({url:"action/check_permission/"+a+"/"+b+"/"+c,responseConstructor:mG}).pipe(E(Msa))};f.setAccessLimit=function(a,b,c){a=Dk(Ek(a,b));c=Gsa(c);return this.executor.post({url:"action/access_limits/"+a,body:c,responseConstructor:Pg}).pipe(E(Esa))};
f.checkComponentImplicitAccessEnabled=function(a){return this.get("COMPONENT",a).pipe(E(function(b){return"ALLOW"===b.implicitAccess}))};oG.\u0275fac=function(a){return new (a||oG)(w(BC))};oG.\u0275prov=nc({token:oG,factory:oG.\u0275fac,providedIn:"root"});var pG=function(a){this.observableApi=a};V(pG,nG);f=pG.prototype;f.get=function(a,b){return(0,F.firstValueFrom)(this.observableApi.get(a,b))};f.update=function(a,b,c){return(0,F.firstValueFrom)(this.observableApi.update(a,b,c))};
f.checkPermission=function(a,b,c,d){return(0,F.firstValueFrom)(this.observableApi.checkPermission(a,b,c,d))};f.setAccessLimit=function(a,b,c){return(0,F.firstValueFrom)(this.observableApi.setAccessLimit(a,b,c))};f.checkComponentImplicitAccessEnabled=function(a){return(0,F.firstValueFrom)(this.observableApi.checkComponentImplicitAccessEnabled(a))};pG.\u0275fac=function(a){return new (a||pG)(w(oG))};pG.\u0275prov=nc({token:pG,factory:pG.\u0275fac,providedIn:"root"});var qG=function(a){oF.call(this);this.accessPolicyApi=a;this.recordType="hotlistAccessPolicy";this.isEqual=Fg};V(qG,oF);qG.prototype.fetchOne=function(a){return this.accessPolicyApi.get("HOTLIST",a).pipe(E(function(b){return Object.assign({},{id:a},b)}))};qG.prototype.doSave=function(a){var b=a.id;return this.accessPolicyApi.update("HOTLIST",b,a).pipe(E(function(c){return Object.assign({},{id:b},c)}))};qG.\u0275fac=function(a){return new (a||qG)(w(oG))};
qG.\u0275prov=nc({token:qG,factory:qG.\u0275fac,providedIn:"root"});var ukc=function(a){this.allowExecution=a;this.queue=[]};ukc.prototype.addTask=function(a){this.queue.push(a);vkc(this)};var vkc=function(a){if(0!==a.queue.length)if(a.allowExecution()){var b=k(a.queue),c=b.next().value;a.queue=vja(b);c();vkc(a)}else setTimeout(function(){vkc(a)},0)};var qAa=Symbol("sc"),rG=function(a){this.params=a||{}};rG.prototype.has=function(a){return Object.prototype.hasOwnProperty.call(this.params,a)};rG.prototype.get=function(a){return this.has(a)?(a=this.params[a],Array.isArray(a)?a[0]:a):null};rG.prototype.getAll=function(a){return this.has(a)?(a=this.params[a],Array.isArray(a)?a:[a]):[]};gg.Object.defineProperties(rG.prototype,{keys:{configurable:!0,enumerable:!0,get:function(){return Object.keys(this.params)}}});var Cya={exact:Hya,subset:Kya},Dya={exact:Fya,subset:Iya,ignored:function(){return!0}},Nk=function(a,b,c){a=void 0===a?new Mk([],{}):a;b=void 0===b?{}:b;this.root=a;this.queryParams=b;this.fragment=void 0===c?null:c};Nk.prototype.toString=function(){return wkc.serialize(this)};gg.Object.defineProperties(Nk.prototype,{queryParamMap:{configurable:!0,enumerable:!0,get:function(){this._queryParamMap||(this._queryParamMap=new rG(this.queryParams));return this._queryParamMap}}});
var Mk=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})};Mk.prototype.hasChildren=function(){return 0<this.numberOfChildren};Mk.prototype.toString=function(){return Pya(this)};gg.Object.defineProperties(Mk.prototype,{numberOfChildren:{configurable:!0,enumerable:!0,get:function(){return Object.keys(this.children).length}}});var Pk=function(a,b){this.path=a;this.parameters=b};
Pk.prototype.toString=function(){return Nya(this.path)+Oya(this.parameters)};var sG=function(){};sG.\u0275fac=function(a){return new (a||sG)};sG.\u0275prov=nc({token:sG,factory:function(){return new xkc},providedIn:"root"});var xkc=function(){};xkc.prototype.parse=function(a){a=new ykc(a);tG(a,"/");var b=""===a.remaining||a.remaining.startsWith("?")||a.remaining.startsWith("#")?new Mk([],{}):new Mk([],zkc(a));return new Nk(b,a.parseQueryParams(),tG(a,"#")?decodeURIComponent(a.remaining):null)};
xkc.prototype.serialize=function(a){var b="/"+Qya(a.root,!0),c=Tya(a.queryParams);a="string"===typeof a.fragment?"#"+encodeURI(a.fragment):"";return b+c+a};var wkc=new xkc,Uya=/^[^\/()?;#]+/,Akc=/^[^\/()?;=#]+/,Bkc=/^[^=?&#]+/,Ckc=/^[^&#]+/,ykc=function(a){this.remaining=this.url=a};
ykc.prototype.parseQueryParams=function(){var a={};if(tG(this,"?")){do{var b,c=this.remaining.match(Bkc);if(b=c?c[0]:""){this.capture(b);c="";if(tG(this,"=")){var d;if(d=(d=this.remaining.match(Ckc))?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(tG(this,"&"))}return a};
var zkc=function(a){if(""===a.remaining)return{};tG(a,"/");var b=[];for(a.remaining.startsWith("(")||b.push(Dkc(a));a.remaining.startsWith("/")&&!a.remaining.startsWith("//")&&!a.remaining.startsWith("/(");)a.capture("/"),b.push(Dkc(a));var c={};a.remaining.startsWith("/(")&&(a.capture("/"),c=Ekc(a,!0));var d={};a.remaining.startsWith("(")&&(d=Ekc(a,!1));if(0<b.length||0<Object.keys(c).length)d.primary=new Mk(b,c);return d},Dkc=function(a){var b=Vya(a.remaining);if(""===b&&a.remaining.startsWith(";"))throw new rc(4009,
!1);a.capture(b);b=decodeURIComponent(b);for(var c={};tG(a,";");){var d,e=a;if(d=(d=e.remaining.match(Akc))?d[0]:""){e.capture(d);var g="";if(tG(e,"=")){var h=Vya(e.remaining);h&&(g=h,e.capture(g))}c[decodeURIComponent(d)]=decodeURIComponent(g)}}return new Pk(b,c)},Ekc=function(a,b){var c={};for(a.capture("(");!tG(a,")")&&0<a.remaining.length;){var d=Vya(a.remaining),e=a.remaining[d.length];if("/"!==e&&")"!==e&&";"!==e)throw new rc(4010,!1);e=void 0;-1<d.indexOf(":")?(e=d.slice(0,d.indexOf(":")),
a.capture(e),a.capture(":")):b&&(e="primary");d=zkc(a);c[e]=1===Object.keys(d).length?d.primary:new Mk([],d);tG(a,"//")}return c},tG=function(a,b){return a.remaining.startsWith(b)?(a.remaining=a.remaining.substring(b.length),!0):!1};ykc.prototype.capture=function(a){if(!tG(this,a))throw new rc(4011,!1);};var hza=function(a,b,c){this.isAbsolute=a;this.numberOfDoubleDots=b;this.commands=c;if(a&&0<c.length&&bza(c[0]))throw new rc(4003,!1);if((a=c.find(fza))&&a!==(0<c.length?c[c.length-1]:null))throw new rc(4004,!1);},aza=function(a,b,c){this.segmentGroup=a;this.processChildren=b;this.index=c};var uG=function(a,b){this.id=a;this.url=b},ll=function(a,b,c,d){c=void 0===c?"imperative":c;d=void 0===d?null:d;uG.call(this,a,b);this.type=0;this.navigationTrigger=c;this.restoredState=d};V(ll,uG);ll.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"};var Xk=function(a,b,c){uG.call(this,a,b);this.urlAfterRedirects=c;this.type=1};V(Xk,uG);
Xk.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"};var Yk=function(a,b,c,d){uG.call(this,a,b);this.reason=c;this.code=d;this.type=2};V(Yk,uG);Yk.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"};var xAa=function(a,b,c,d){uG.call(this,a,b);this.reason=c;this.code=d;this.type=16};V(xAa,uG);
var wAa=function(a,b,c,d){uG.call(this,a,b);this.error=c;this.target=d;this.type=3};V(wAa,uG);wAa.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"};var Fkc=function(a,b,c,d){uG.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=4};V(Fkc,uG);Fkc.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};
var Gkc=function(a,b,c,d){uG.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=7};V(Gkc,uG);Gkc.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};var Hkc=function(a,b,c,d,e){uG.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.shouldActivate=e;this.type=8};V(Hkc,uG);
Hkc.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"};var Ikc=function(a,b,c,d){uG.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=5};V(Ikc,uG);Ikc.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};
var Jkc=function(a,b,c,d){uG.call(this,a,b);this.urlAfterRedirects=c;this.state=d;this.type=6};V(Jkc,uG);Jkc.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"};var Kkc=function(a){this.route=a;this.type=9};Kkc.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"};var Lkc=function(a){this.route=a;this.type=10};
Lkc.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"};var Vza=function(a){this.snapshot=a;this.type=11};Vza.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};var Mkc=function(a){this.snapshot=a;this.type=12};Mkc.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};
var Wza=function(a){this.snapshot=a;this.type=13};Wza.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};var Nkc=function(a){this.snapshot=a;this.type=14};Nkc.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"};var Okc=function(a,b){this.position=a;this.anchor=b;this.type=15};
Okc.prototype.toString=function(){return"Scroll(anchor: '"+this.anchor+"', position: '"+(this.position?this.position[0]+", "+this.position[1]:null)+"')"};var Pkc=function(){this.injector=this.route=this.outlet=null;this.children=new vG;this.attachRef=null},vG=function(){this.contexts=new Map},Qkc=function(a,b){if(a=a.getContext(b))a.outlet=null,a.attachRef=null},Rkc=function(a,b){var c=a.getContext(b);c||(c=new Pkc,a.contexts.set(b,c));return c};vG.prototype.getContext=function(a){return this.contexts.get(a)||null};vG.\u0275fac=function(a){return new (a||vG)};vG.\u0275prov=nc({token:vG,factory:vG.\u0275fac,providedIn:"root"});var wG=function(a){this._root=a};wG.prototype.parent=function(a){a=this.pathFromRoot(a);return 1<a.length?a[a.length-2]:null};wG.prototype.children=function(a){return(a=mza(a,this._root))?a.children.map(function(b){return b.value}):[]};wG.prototype.firstChild=function(a){return(a=mza(a,this._root))&&0<a.children.length?a.children[0].value:null};wG.prototype.pathFromRoot=function(a){return nza(a,this._root).map(function(b){return b.value})};
gg.Object.defineProperties(wG.prototype,{root:{configurable:!0,enumerable:!0,get:function(){return this._root.value}}});var Qk=function(a,b){this.value=a;this.children=b};Qk.prototype.toString=function(){return"TreeNode("+this.value+")"};var qza=function(a,b){this._root=a;this.snapshot=b;uza(this,a)};V(qza,wG);qza.prototype.toString=function(){return this.snapshot.toString()};
var Sk=function(a,b,c,d,e,g,h,l){this.urlSubject=a;this.paramsSubject=b;this.queryParamsSubject=c;this.fragmentSubject=d;this.dataSubject=e;this.outlet=g;this.component=h;this._futureSnapshot=l;var q,v;this.title=null!=(v=null==(q=this.dataSubject)?void 0:q.pipe(E(function(y){return y[qAa]})))?v:(0,F.of)(void 0);this.url=a;this.params=b;this.queryParams=c;this.fragment=d;this.data=e};Sk.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"};
gg.Object.defineProperties(Sk.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(E(function(a){return new rG(a)})));return this._paramMap}},queryParamMap:{configurable:!0,enumerable:!0,get:function(){this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(E(function(a){return new rG(a)})));return this._queryParamMap}}});
var Rk=function(a,b,c,d,e,g,h,l,q){this.url=a;this.params=b;this.queryParams=c;this.fragment=d;this.data=e;this.outlet=g;this.component=h;this.routeConfig=l;this._resolve=q};Rk.prototype.toString=function(){return"Route(url:'"+this.url.map(function(a){return a.toString()}).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"};
gg.Object.defineProperties(Rk.prototype,{title:{configurable:!0,enumerable:!0,get:function(){var a;return null==(a=this.data)?void 0:a[qAa]}},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 rG(this.params));return this._paramMap}},queryParamMap:{configurable:!0,enumerable:!0,get:function(){this._queryParamMap||(this._queryParamMap=new rG(this.queryParams));return this._queryParamMap}}});var pza=function(a,b){this._root=b;this.url=a;uza(this,b)};V(pza,wG);pza.prototype.toString=function(){return vza(this._root)};var xG=function(){this._activatedRoute=this.activated=null;this.name="primary";this.activateEvents=new tu;this.deactivateEvents=new tu;this.attachEvents=new tu;this.detachEvents=new tu;this.parentContexts=wc(vG);this.location=wc(ff);this.changeDetector=wc(Lu);this.environmentInjector=wc(Nt);this.inputBinder=wc(Skc,{optional:!0})};xG.prototype.ngOnChanges=function(a){if(a.name){a=a.name;var b=a.previousValue;a.firstChange||(Tkc(this,b)&&(this.deactivate(),Qkc(this.parentContexts,b)),Ukc(this))}};
xG.prototype.ngOnDestroy=function(){Tkc(this,this.name)&&Qkc(this.parentContexts,this.name);var a;null==(a=this.inputBinder)||Vkc(a,this)};var Tkc=function(a,b){var c;return(null==(c=a.parentContexts.getContext(b))?void 0:c.outlet)===a};xG.prototype.ngOnInit=function(){Ukc(this)};
var Ukc=function(a){var b=a.parentContexts,c=a.name,d=Rkc(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):Wkc(a,b.route,b.injector))};xG.prototype.detach=function(){if(!this.activated)throw new rc(4012,!1);this.location.detach();var a=this.activated;this._activatedRoute=this.activated=null;this.detachEvents.emit(a.instance);return a};
xG.prototype.attach=function(a,b){this.activated=a;this._activatedRoute=b;this.location.insert(a.hostView);null!=(b=this.inputBinder)&&(Vkc(b,this),Xkc(b,this));this.attachEvents.emit(a.instance)};xG.prototype.deactivate=function(){if(this.activated){var a=this.component;this.activated.destroy();this._activatedRoute=this.activated=null;this.deactivateEvents.emit(a)}};
var Wkc=function(a,b,c){if(a.isActivated)throw new rc(4013,!1);a._activatedRoute=b;var d=a.location,e=b.snapshot.component,g=Rkc(a.parentContexts,a.name).children;a.activated=d.createComponent(e,{index:d.length,injector:new Ykc(b,g,d.injector),environmentInjector:null!=c?c:a.environmentInjector});a.changeDetector.markForCheck();null!=(b=a.inputBinder)&&(Vkc(b,a),Xkc(b,a));a.activateEvents.emit(a.activated.instance)};
gg.Object.defineProperties(xG.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 rc(4012,!1);return this.activated.instance}},activatedRoute:{configurable:!0,enumerable:!0,get:function(){if(!this.activated)throw new rc(4012,!1);return this._activatedRoute}}});
xG.\u0275fac=function(a){return new (a||xG)};xG.\u0275dir=Cc({type:xG,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Mc]});var Ykc=function(a,b,c){this.route=a;this.childContexts=b;this.parent=c};Ykc.prototype.get=function(a,b){return a===Sk?this.route:a===vG?this.childContexts:this.parent.get(a,b)};
var Skc=new Hc(""),yG=function(){this.outletDataSubscriptions=new Map},Vkc=function(a,b){var c;null==(c=a.outletDataSubscriptions.get(b))||c.unsubscribe();a.outletDataSubscriptions.delete(b)},Xkc=function(a,b){var c=b.activatedRoute,d=(0,F.combineLatest)([c.queryParams,c.params,c.data]).pipe(pe(function(e,g){var h=k(e);e=h.next().value;var l=h.next().value;h=h.next().value;h=Object.assign({},e,l,h);return 0===g?(0,F.of)(h):Promise.resolve(h)})).subscribe(function(e){if(b.isActivated&&b.activatedComponentRef&&
b.activatedRoute===c&&null!==c.component){var g=Ema(c.component);if(g){g=k(g.inputs);for(var h=g.next();!h.done;h=g.next())h=h.value.templateName,b.activatedComponentRef.setInput(h,e[h])}else Vkc(a,b)}else Vkc(a,b)});a.outletDataSubscriptions.set(b,d)};yG.\u0275fac=function(a){return new (a||yG)};yG.\u0275prov=nc({token:yG,factory:yG.\u0275fac});var Gza=function(){};Gza.\u0275fac=function(a){return new (a||Gza)};Gza.\u0275cmp=zc({type:Gza,selectors:[["ng-component"]],standalone:!0,features:[dma],decls:1,vars:0,template:function(a){a&1&&K(0,"router-outlet")},dependencies:[xG],encapsulation:2});var $kc=function(a,b,c,d){return E(function(e){(new Zkc(b,e.targetRouterState,e.currentRouterState,c,d)).activate(a);return e})},Zkc=function(a,b,c,d,e){this.routeReuseStrategy=a;this.futureState=b;this.currState=c;this.forwardEvent=d;this.inputBindingEnabled=e};Zkc.prototype.activate=function(a){var b=this.futureState._root,c=this.currState?this.currState._root:null;alc(this,b,c,a);wza(this.futureState.root);blc(this,b,c,a)};
var alc=function(a,b,c,d){var e=oza(c);b.children.forEach(function(g){var h=g.value.outlet,l=e[h],q=g.value,v=l?l.value:null;q===v?q.component?(q=d.getContext(q.outlet))&&alc(a,g,l,q.children):alc(a,g,l,d):v&&clc(a,l,d);delete e[h]});Object.values(e).forEach(function(g){clc(a,g,d)})},clc=function(a,b,c){var d=c.getContext(b.value.outlet);c=d&&b.value.component?d.children:c;b=oza(b);for(var e=k(Object.keys(b)),g=e.next();!g.done;g=e.next())clc(a,b[g.value],c);d&&(d.outlet&&(d.outlet.deactivate(),d.children.contexts=
new Map),d.attachRef=null,d.route=null)},blc=function(a,b,c,d){var e=oza(c);b.children.forEach(function(g){var h=e[g.value.outlet],l=g.value,q=h?h.value:null;wza(l);l===q?l.component?(l=Rkc(d,l.outlet),blc(a,g,h,l.children)):blc(a,g,h,d):l.component?(h=Rkc(d,l.outlet),q=Iza(l.snapshot),h.attachRef=null,h.route=l,h.injector=q,h.outlet&&Wkc(h.outlet,l,h.injector),blc(a,g,null,h.children)):blc(a,g,null,d);a.forwardEvent(new Nkc(g.value.snapshot))});b.children.length&&a.forwardEvent(new Mkc(b.value.snapshot))};var Jza=Symbol("uc");var Lza=function(a){this.path=a;this.route=this.path[this.path.length-1]},Nza=function(a,b){this.component=a;this.route=b};var bAa=function(a){this.segmentGroup=a||null},dlc=function(a){this.urlTree=a},elc=function(a,b){this.urlSerializer=a;this.urlTree=b},flc=function(a){var b=[];for(a=a.root;;){b=b.concat(a.segments);if(0===a.numberOfChildren)return(0,F.of)(b);if(1<a.numberOfChildren||!a.children.primary)return(0,F.throwError)(new rc(4E3,!1));a=a.children.primary}},ilc=function(a,b,c,d){var e=a.urlSerializer.parse(c);b=glc(a,c,e.root,b,d);return new Nk(b,hlc(e.queryParams,a.urlTree.queryParams),e.fragment)},hlc=function(a,
b){var c={};Object.entries(a).forEach(function(d){var e=k(d);d=e.next().value;e=e.next().value;c[d]="string"===typeof e&&e.startsWith(":")?b[e.substring(1)]:e});return c},glc=function(a,b,c,d,e){var g=jlc(c.segments,d,e),h={};Object.entries(c.children).forEach(function(l){var q=k(l);l=q.next().value;q=q.next().value;h[l]=glc(a,b,q,d,e)});return new Mk(g,h)},jlc=function(a,b,c){return a.map(function(d){if(d.path.startsWith(":")){if(d=c[d.path.substring(1)],!d)throw new rc(4001,!1);}else a:for(var e=
0,g=k(b),h=g.next();!h.done;h=g.next()){h=h.value;if(h.path===d.path){b.splice(e);d=h;break a}e++}return d})};var dAa={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};var mAa=function(a,b,c,d,e,g,h){this.injector=a;this.configLoader=b;this.rootComponentType=c;this.config=d;this.urlTree=e;this.paramsInheritanceStrategy=g;this.urlSerializer=h;this.allowRedirects=!0;this.applyRedirects=new elc(this.urlSerializer,this.urlTree)};
mAa.prototype.recognize=function(){var a=this,b=iAa(this.urlTree.root,[],[],this.config).segmentGroup;return klc(this,this.injector,this.config,b,"primary").pipe(ce(function(c){if(c instanceof dlc)return a.allowRedirects=!1,a.urlTree=c.urlTree,a.match(c.urlTree);if(c instanceof bAa)throw new rc(4002,!1);throw c;}),E(function(c){var d=new Rk([],Object.freeze({}),Object.freeze(Object.assign({},a.urlTree.queryParams)),a.urlTree.fragment,{},"primary",a.rootComponentType,null,{});c=new pza("",new Qk(d,
c));var e=a.urlTree.queryParams,g=a.urlTree.fragment;e=void 0===e?null:e;g=void 0===g?null:g;d=Yya(d);d=eza(d,[],e,g);d.queryParams=a.urlTree.queryParams;c.url=a.urlSerializer.serialize(d);llc(a,c._root);return{state:c,tree:d}}))};mAa.prototype.match=function(a){return klc(this,this.injector,this.config,a.root,"primary").pipe(ce(function(b){if(b instanceof bAa)throw new rc(4002,!1);throw b;}))};
var llc=function(a,b){var c=b.value,d=tza(c,a.paramsInheritanceStrategy);c.params=Object.freeze(d.params);c.data=Object.freeze(d.data);b.children.forEach(function(e){return llc(a,e)})},klc=function(a,b,c,d,e){return 0===d.segments.length&&d.hasChildren()?a.processChildren(b,c,d):mlc(a,b,c,d,d.segments,e,!0)};
mAa.prototype.processChildren=function(a,b,c){for(var d=this,e=[],g=k(Object.keys(c.children)),h=g.next();!h.done;h=g.next())h=h.value,"primary"===h?e.unshift(h):e.push(h);return(0,F.from)(e).pipe(Vd(function(l){var q=c.children[l],v=Hza(b,l);return klc(d,a,v,q,l)},1),qka(function(l,q){l.push.apply(l,Jc(q));return l}),aka(null),nka(),Vd(function(l){if(null===l)return Wk(c);l=lAa(l);jAa(l);return(0,F.of)(l)}))};
var mlc=function(a,b,c,d,e,g,h){return(0,F.from)(c).pipe(Vd(function(l){var q;return nlc(a,null!=(q=l._injector)?q:b,c,l,d,e,g,h).pipe(ce(function(v){if(v instanceof bAa)return(0,F.of)(null);throw v;}))},1),je(function(l){return!!l}),ce(function(l){if(Qza(l))return 0!==e.length||d.children[g]?Wk(d):(0,F.of)([]);throw l;}))},nlc=function(a,b,c,d,e,g,h,l){if((Tk(d)===h||"primary"!==h&&hAa(e,g,d))&&("**"===d.path||cAa(e,d,g).matched))if(void 0===d.redirectTo)a=olc(a,b,e,d,g,h);else{var q;l&&a.allowRedirects?
q="**"===d.path?plc(a,b,c,d,h):qlc(a,b,e,c,d,g,h):q=Wk(e);a=q}else a=Wk(e);return a},plc=function(a,b,c,d,e){var g=ilc(a.applyRedirects,[],d.redirectTo,{});return d.redirectTo.startsWith("/")?(0,F.throwError)(new dlc(g)):flc(g).pipe(Vd(function(h){var l=new Mk(h,{});return mlc(a,b,c,l,h,e,!1)}))},qlc=function(a,b,c,d,e,g,h){g=cAa(c,e,g);var l=g.consumedSegments,q=g.remainingSegments,v=g.positionalParamSegments;if(!g.matched)return Wk(c);g=ilc(a.applyRedirects,l,e.redirectTo,v);return e.redirectTo.startsWith("/")?
(0,F.throwError)(new dlc(g)):flc(g).pipe(Vd(function(y){return mlc(a,b,d,c,y.concat(q),h,!1)}))},olc=function(a,b,c,d,e,g){var h;if("**"===d.path){var l,q=new Rk(e,0<e.length?(0<e.length?e[e.length-1]:null).parameters:{},Object.freeze(Object.assign({},a.urlTree.queryParams)),a.urlTree.fragment,d.data||{},Tk(d),null!=(l=null!=(h=d.component)?h:d._loadedComponent)?l:null,d,d.resolve||{});h=(0,F.of)({snapshot:q,consumedSegments:[],remainingSegments:[]});c.children={}}else h=eAa(c,d,e,b).pipe(E(function(v){var y=
v.consumedSegments,B=v.remainingSegments;if(!v.matched)return null;var I,N;return{snapshot:new Rk(y,v.parameters,Object.freeze(Object.assign({},a.urlTree.queryParams)),a.urlTree.fragment,d.data||{},Tk(d),null!=(N=null!=(I=d.component)?I:d._loadedComponent)?N:null,d,d.resolve||{}),consumedSegments:y,remainingSegments:B}}));return h.pipe(pe(function(v){if(null===v)return Wk(c);var y;b=null!=(y=d._injector)?y:b;return rlc(a,b,d,e).pipe(pe(function(B){B=B.routes;var I,N=null!=(I=d._loadedInjector)?I:
b,Q=v.snapshot,Z=iAa(c,v.consumedSegments,v.remainingSegments,B);I=Z.segmentGroup;Z=Z.slicedSegments;return 0===Z.length&&I.hasChildren()?a.processChildren(N,B,I).pipe(E(function(Y){return null===Y?null:[new Qk(Q,Y)]})):0===B.length&&0===Z.length?(0,F.of)([new Qk(Q,[])]):mlc(a,N,B,I,Z,Tk(d)===g?"primary":g,!0).pipe(E(function(Y){return[new Qk(Q,Y)]}))}))}))},rlc=function(a,b,c,d){return c.children?(0,F.of)({routes:c.children,injector:b}):c.loadChildren?void 0!==c._loadedRoutes?(0,F.of)({routes:c._loadedRoutes,
injector:c._loadedInjector}):$za(b,c,d).pipe(Vd(function(e){return e?a.configLoader.loadChildren(b,c).pipe(re(function(g){c._loadedRoutes=g.routes;c._loadedInjector=g.injector})):(0,F.throwError)(Bza(3))})):(0,F.of)({routes:[],injector:b})};var slc=new Hc("ROUTES"),zG=function(){this.componentLoaders=new WeakMap;this.childrenLoaders=new WeakMap;wc($t)};
zG.prototype.loadComponent=function(a){var b=this;if(this.componentLoaders.get(a))return this.componentLoaders.get(a);if(a._loadedComponent)return(0,F.of)(a._loadedComponent);if(this.onLoadStartListener)this.onLoadStartListener(a);var c=Kk(a.loadComponent()).pipe(E(vAa),re(function(d){if(b.onLoadEndListener)b.onLoadEndListener(a);a._loadedComponent=d}),ika(function(){b.componentLoaders.delete(a)}));c=(new F.ConnectableObservable(c,function(){return new F.Subject})).pipe(Pia());this.componentLoaders.set(a,
c);return c};
zG.prototype.loadChildren=function(a,b){var c=this;if(this.childrenLoaders.get(b))return this.childrenLoaders.get(b);if(b._loadedRoutes)return(0,F.of)({routes:b._loadedRoutes,injector:b._loadedInjector});if(this.onLoadStartListener)this.onLoadStartListener(b);var d=tlc(b.loadChildren).pipe(E(function(e){if(c.onLoadEndListener)c.onLoadEndListener(b);if(!Array.isArray(e)){var g=e.create(a).injector;e=g.get(slc,[],10).flat()}return{routes:e.map(Fza),injector:g}}),ika(function(){c.childrenLoaders.delete(b)}));d=
(new F.ConnectableObservable(d,function(){return new F.Subject})).pipe(Pia());this.childrenLoaders.set(b,d);return d};var tlc=function(a){return Kk(a()).pipe(E(vAa),Vd(function(b){return b instanceof KVb||Array.isArray(b)?(0,F.of)(b):(0,F.from)(Promise.resolve(new jWb(b)))}))};zG.\u0275fac=function(a){return new (a||zG)};zG.\u0275prov=nc({token:zG,factory:zG.\u0275fac,providedIn:"root"});var AG=function(){var a=this;this.lastSuccessfulNavigation=this.currentNavigation=null;this.events=new F.Subject;this.configLoader=wc(zG);this.environmentInjector=wc(Nt);this.urlSerializer=wc(sG);this.rootContexts=wc(vG);this.inputBindingEnabled=null!==wc(Skc,{optional:!0});this.navigationId=0;this.afterPreactivation=function(){return(0,F.of)(void 0)};this.rootComponentType=null;this.configLoader.onLoadEndListener=function(b){return a.events.next(new Lkc(b))};this.configLoader.onLoadStartListener=
function(b){return a.events.next(new Kkc(b))}};AG.prototype.complete=function(){var a;null==(a=this.transitions)||a.complete()};
var ulc=function(a,b){var c=++a.navigationId,d;null==(d=a.transitions)||d.next(Object.assign({},a.transitions.value,b,{id:c}))},zlc=function(a,b){a.transitions=new F.BehaviorSubject({id:0,currentUrlTree:b.currentUrlTree,currentRawUrl:b.currentUrlTree,extractedUrl:b.urlHandlingStrategy.extract(b.currentUrlTree),urlAfterRedirects:b.urlHandlingStrategy.extract(b.currentUrlTree),rawUrl:b.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,
currentSnapshot:b.routerState.snapshot,targetSnapshot:null,currentRouterState:b.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null});return a.transitions.pipe(Zd(function(c){return 0!==c.id}),E(function(c){return Object.assign({},c,{extractedUrl:b.urlHandlingStrategy.extract(c.rawUrl)})}),pe(function(c){var d=!1,e=!1;return(0,F.of)(c).pipe(re(function(g){a.currentNavigation={id:g.id,initialUrl:g.rawUrl,extractedUrl:g.extractedUrl,trigger:g.source,
extras:g.extras,previousNavigation:a.lastSuccessfulNavigation?Object.assign({},a.lastSuccessfulNavigation,{previousNavigation:null}):null}}),pe(function(g){var h=b.browserUrlTree.toString();h=!b.navigated||g.extractedUrl.toString()!==h||h!==b.currentUrlTree.toString();var l,q=null!=(l=g.extras.onSameUrlNavigation)?l:b.onSameUrlNavigation;if(!h&&"reload"!==q)return a.events.next(new xAa(g.id,b.urlSerializer.serialize(c.rawUrl),"",0)),b.rawUrlTree=g.rawUrl,g.resolve(null),F.EMPTY;"imperative"!==g.source&&
(b.browserUrlTree=g.extractedUrl);return(0,F.of)(g).pipe(pe(function(v){var y,B=null==(y=a.transitions)?void 0:y.getValue();a.events.next(new ll(v.id,a.urlSerializer.serialize(v.extractedUrl),v.source,v.restoredState));var I;return B!==(null==(I=a.transitions)?void 0:I.getValue())?F.EMPTY:Promise.resolve(v)}),nAa(a.environmentInjector,a.configLoader,a.rootComponentType,b.config,a.urlSerializer,b.paramsInheritanceStrategy),re(function(v){c.targetSnapshot=v.targetSnapshot;c.urlAfterRedirects=v.urlAfterRedirects;
a.currentNavigation=Object.assign({},a.currentNavigation,{finalUrl:v.urlAfterRedirects});if("eager"===b.urlUpdateStrategy){if(!v.extras.skipLocationChange){var y=b.urlHandlingStrategy.merge(v.urlAfterRedirects,v.rawUrl);vlc(b,y,v)}b.browserUrlTree=v.urlAfterRedirects}v=new Fkc(v.id,a.urlSerializer.serialize(v.extractedUrl),a.urlSerializer.serialize(v.urlAfterRedirects),v.targetSnapshot);a.events.next(v)}))}),re(function(g){g=new Gkc(g.id,a.urlSerializer.serialize(g.extractedUrl),a.urlSerializer.serialize(g.urlAfterRedirects),
g.targetSnapshot);a.events.next(g)}),E(function(g){var h=Object,l=h.assign;var q=g.currentSnapshot;var v=g.targetSnapshot._root;q=Mza(v,q?q._root:null,a.rootContexts,[v.value]);return c=l.call(h,{},g,{guards:q})}),Tza(a.environmentInjector,function(g){return a.events.next(g)}),re(function(g){c.guardsResult=g.guardsResult;if(Ok(g.guardsResult))throw Cza(g.guardsResult);g=new Hkc(g.id,a.urlSerializer.serialize(g.extractedUrl),a.urlSerializer.serialize(g.urlAfterRedirects),g.targetSnapshot,!!g.guardsResult);
a.events.next(g)}),Zd(function(g){return g.guardsResult?!0:(wlc(b,g),xlc(a,g,3),!1)}),uAa(function(g){if(g.guards.canActivateChecks.length)return(0,F.of)(g).pipe(re(function(h){h=new Ikc(h.id,a.urlSerializer.serialize(h.extractedUrl),a.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);a.events.next(h)}),pe(function(h){var l=!1;return(0,F.of)(h).pipe(pAa(b.paramsInheritanceStrategy,a.environmentInjector),re({next:function(){return l=!0},complete:function(){l||(wlc(b,h),xlc(a,h,2))}}))}),
re(function(h){h=new Jkc(h.id,a.urlSerializer.serialize(h.extractedUrl),a.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);a.events.next(h)}))}),uAa(function(g){var h=function(l){var q=[],v;(null==(v=l.routeConfig)?0:v.loadComponent)&&!l.routeConfig._loadedComponent&&q.push(a.configLoader.loadComponent(l.routeConfig).pipe(re(function(B){l.component=B}),E(function(){})));v=k(l.children);for(var y=v.next();!y.done;y=v.next())q.push.apply(q,Jc(h(y.value)));return q};return(0,F.combineLatest)(h(g.targetSnapshot.root)).pipe(aka(),
ge())}),uAa(function(){return a.afterPreactivation()}),E(function(g){var h=g.targetSnapshot;var l=g.currentRouterState;l=Aza(b.routeReuseStrategy,h._root,l?l._root:void 0);h=new qza(l,h);return c=Object.assign({},g,{targetRouterState:h})}),re(function(g){b.currentUrlTree=g.urlAfterRedirects;b.rawUrlTree=b.urlHandlingStrategy.merge(g.urlAfterRedirects,g.rawUrl);b.routerState=g.targetRouterState;"deferred"===b.urlUpdateStrategy&&(g.extras.skipLocationChange||vlc(b,b.rawUrlTree,g),b.browserUrlTree=g.urlAfterRedirects)}),
$kc(a.rootContexts,b.routeReuseStrategy,function(g){return a.events.next(g)},a.inputBindingEnabled),ge(),re({next:function(g){d=!0;a.lastSuccessfulNavigation=a.currentNavigation;b.navigated=!0;a.events.next(new Xk(g.id,a.urlSerializer.serialize(g.extractedUrl),a.urlSerializer.serialize(b.currentUrlTree)));var h;null==(h=b.titleStrategy)||h.updateTitle(g.targetRouterState.snapshot);g.resolve(!0)},complete:function(){d=!0}}),ika(function(){d||e||xlc(a,c,1);var g;(null==(g=a.currentNavigation)?void 0:
g.id)===c.id&&(a.currentNavigation=null)}),ce(function(g){e=!0;if(Dza(g)){Dza(g)&&Ok(g.url)||(b.navigated=!0,wlc(b,c,!0));var h=new Yk(c.id,a.urlSerializer.serialize(c.extractedUrl),g.message,g.cancellationCode);a.events.next(h);Dza(g)&&Ok(g.url)?(g=b.urlHandlingStrategy.merge(g.url,b.rawUrlTree),ylc(b,g,"imperative",null,{skipLocationChange:c.extras.skipLocationChange,replaceUrl:"eager"===b.urlUpdateStrategy||"imperative"!==c.source},{resolve:c.resolve,reject:c.reject,promise:c.promise})):c.resolve(!1)}else{wlc(b,
c,!0);var l=new wAa(c.id,a.urlSerializer.serialize(c.extractedUrl),g,null!=(h=c.targetSnapshot)?h:void 0);a.events.next(l);try{c.resolve(b.errorHandler(g))}catch(q){c.reject(q)}}return F.EMPTY}))}))},xlc=function(a,b,c){c=new Yk(b.id,a.urlSerializer.serialize(b.extractedUrl),"",c);a.events.next(c);b.resolve(!1)};gg.Object.defineProperties(AG.prototype,{hasRequestedNavigation:{configurable:!0,enumerable:!0,get:function(){return 0!==this.navigationId}}});AG.\u0275fac=function(a){return new (a||AG)};
AG.\u0275prov=nc({token:AG,factory:AG.\u0275fac,providedIn:"root"});var BG=function(){},Alc=function(a){for(a=a.root;void 0!==a;){var b=void 0;var c=null!=(b=a.data[qAa])?b:c;a=a.children.find(function(d){return"primary"===d.outlet})}return c};BG.\u0275fac=function(a){return new (a||BG)};BG.\u0275prov=nc({token:BG,factory:function(){return wc(CG)},providedIn:"root"});var CG=function(a){this.title=a};V(CG,BG);CG.prototype.updateTitle=function(a){a=Alc(a);void 0!==a&&this.title.setTitle(a)};CG.\u0275fac=function(a){return new (a||CG)(w(tw))};
CG.\u0275prov=nc({token:CG,factory:CG.\u0275fac,providedIn:"root"});var DG=function(){};DG.\u0275fac=function(a){return new (a||DG)};DG.\u0275prov=nc({token:DG,factory:function(){return wc(EG)},providedIn:"root"});var Blc=function(){};Blc.prototype.store=function(){};Blc.prototype.shouldReuseRoute=function(a,b){return a.routeConfig===b.routeConfig};var EG=function(){};V(EG,Blc);EG.\u0275fac=function(){var a;return function(b){return(a||(a=dd(EG)))(b||EG)}}();EG.\u0275prov=nc({token:EG,factory:EG.\u0275fac,providedIn:"root"});var Clc=new Hc("",{providedIn:"root",factory:function(){return{}}});var Dlc=function(){};Dlc.\u0275fac=function(a){return new (a||Dlc)};Dlc.\u0275prov=nc({token:Dlc,factory:function(){return wc(FG)},providedIn:"root"});var FG=function(){};FG.prototype.extract=function(a){return a};FG.prototype.merge=function(a){return a};FG.\u0275fac=function(a){return new (a||FG)};FG.\u0275prov=nc({token:FG,factory:FG.\u0275fac,providedIn:"root"});var Elc={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Flc={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},GG=function(){var a=this;this.disposed=!1;this.currentPageId=0;this.console=wc(Zt);this.options=wc(Clc,{optional:!0})||{};this.pendingTasks=wc(Qu);this.errorHandler=this.options.errorHandler||zAa;this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||AAa;this.navigated=!1;this.lastSuccessfulId=-1;this.urlHandlingStrategy=
wc(Dlc);this.routeReuseStrategy=wc(DG);this.titleStrategy=wc(BG);this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";var b,c;this.config=null!=(c=null==(b=wc(slc,{optional:!0}))?void 0:b.flat())?c:[];this.navigationTransitions=wc(AG);this.urlSerializer=
wc(sG);this.location=wc(ov);wc(Skc,{optional:!0});wc(te)instanceof te&&Pka();this.config=this.config.map(Fza);this.navigated=!1;this.lastSuccessfulId=-1;this.browserUrlTree=this.rawUrlTree=this.currentUrlTree=new Nk;this.routerState=rza();zlc(this.navigationTransitions,this).subscribe(function(d){a.lastSuccessfulId=d.id;var e;a.currentPageId=null!=(e=a.browserPageId)?e:0},function(d){a.console.warn("Unhandled Navigation Error: "+d)})};
GG.prototype.initialNavigation=function(){Glc(this);if(!this.navigationTransitions.hasRequestedNavigation){var a=this.location.getState();Hlc(this,this.location.path(!0),"imperative",a)}};
var Glc=function(a){a.locationSubscription||(a.locationSubscription=a.location.subscribe(function(b){var c="popstate"===b.type?"popstate":"hashchange";"popstate"===c&&setTimeout(function(){Hlc(a,b.url,c,b.state)},0)}))},Hlc=function(a,b,c,d){var e={replaceUrl:!0},g=(null==d?0:d.navigationId)?d:null;d&&(d=Object.assign({},d),delete d.navigationId,delete d.\u0275routerPageId,0!==Object.keys(d).length&&(e.state=d));b=Ilc(a,b);ylc(a,b,c,g,e)};GG.prototype.ngOnDestroy=function(){this.dispose()};
GG.prototype.dispose=function(){this.navigationTransitions.complete();this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0);this.disposed=!0};
var HG=function(a,b,c){var d=c=void 0===c?{}:c;c=d.relativeTo;var e=d.queryParams,g=d.fragment;g=d.preserveFragment?a.currentUrlTree.fragment:g;switch(d.queryParamsHandling){case "merge":d=Object.assign({},a.currentUrlTree.queryParams,e);break;case "preserve":d=a.currentUrlTree.queryParams;break;default:d=e||null}null!==d&&(d=Jlc(d));try{var h=Yya(c?c.snapshot:a.routerState.snapshot.root)}catch(l){"string"===typeof b[0]&&b[0].startsWith("/")||(b=[]),h=a.currentUrlTree.root}return eza(h,b,d,null!=
g?g:null)},ip=function(a,b,c){c=void 0===c?{skipLocationChange:!1}:c;b=Ok(b)?b:Ilc(a,b);b=a.urlHandlingStrategy.merge(b,a.rawUrlTree);return ylc(a,b,"imperative",null,c)};GG.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 rc(4008,!1);return ip(this,HG(this,a,b),b)};var Ilc=function(a,b){try{var c=a.urlSerializer.parse(b)}catch(d){c=a.malformedUriErrorHandler(d,a.urlSerializer,b)}return c};
GG.prototype.isActive=function(a,b){var c;!0===b?c=Object.assign({},Elc):!1===b?c=Object.assign({},Flc):c=b;if(Ok(a))return Eya(this.currentUrlTree,a,c);a=Ilc(this,a);return Eya(this.currentUrlTree,a,c)};
var Jlc=function(a){return Object.keys(a).reduce(function(b,c){var d=a[c];null!==d&&void 0!==d&&(b[c]=d);return b},{})},ylc=function(a,b,c,d,e,g){if(a.disposed)return Promise.resolve(!1);if(g){var h=g.resolve;var l=g.reject;g=g.promise}else g=new Promise(function(v,y){h=v;l=y});var q=a.pendingTasks.add();yAa(a,function(){Promise.resolve().then(function(){return a.pendingTasks.remove(q)})});ulc(a.navigationTransitions,{source:c,restoredState:d,currentUrlTree:a.currentUrlTree,currentRawUrl:a.currentUrlTree,
rawUrl:b,extras:e,resolve:h,reject:l,promise:g,currentSnapshot:a.routerState.snapshot,currentRouterState:a.routerState});return g.catch(function(v){return Promise.reject(v)})},vlc=function(a,b,c){b=a.urlSerializer.serialize(b);var d=a.location;var e=void 0===e?"":e;if(d.path()==d.normalize(b+yf(e))||c.extras.replaceUrl){var g=Object.assign({},c.extras.state,Klc(a,c.id,a.browserPageId));a.location.replaceState(b,"",g)}else c=Object.assign({},c.extras.state,Klc(a,c.id,(null!=(g=a.browserPageId)?g:0)+
1)),a.location.go(b,"",c)},wlc=function(a,b,c){c=void 0===c?!1:c;if("computed"===a.canceledNavigationResolution){var d;c=null!=(d=a.browserPageId)?d:a.currentPageId;d=a.currentPageId-c;if(0!==d)a.location.historyGo(d);else{var e;a.currentUrlTree===(null==(e=a.navigationTransitions.currentNavigation)?void 0:e.finalUrl)&&0===d&&(a.resetState(b),a.browserUrlTree=b.currentUrlTree,Llc(a))}}else"replace"===a.canceledNavigationResolution&&(c&&a.resetState(b),Llc(a))};
GG.prototype.resetState=function(a){this.routerState=a.currentRouterState;this.currentUrlTree=a.currentUrlTree;this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,a.rawUrl)};var Llc=function(a){a.location.replaceState(a.urlSerializer.serialize(a.rawUrlTree),"",Klc(a,a.lastSuccessfulId,a.currentPageId))},Klc=function(a,b,c){return"computed"===a.canceledNavigationResolution?{navigationId:b,"\u0275routerPageId":c}:{navigationId:b}};
gg.Object.defineProperties(GG.prototype,{navigationId:{configurable:!0,enumerable:!0,get:function(){return this.navigationTransitions.navigationId}},browserPageId:{configurable:!0,enumerable:!0,get:function(){if("computed"===this.canceledNavigationResolution){var a;return null==(a=this.location.getState())?void 0:a.\u0275routerPageId}}},events:{configurable:!0,enumerable:!0,get:function(){return this.navigationTransitions.events}},url:{configurable:!0,enumerable:!0,get:function(){return this.urlSerializer.serialize(this.currentUrlTree)}},
lastSuccessfulNavigation:{configurable:!0,enumerable:!0,get:function(){return this.navigationTransitions.lastSuccessfulNavigation}}});GG.\u0275fac=function(a){return new (a||GG)};GG.\u0275prov=nc({token:GG,factory:GG.\u0275fac,providedIn:"root"});var IG=function(a,b,c,d,e,g){var h=this;this.router=a;this.route=b;this.tabIndexAttribute=c;this.renderer=d;this.el=e;this.locationStrategy=g;this._replaceUrl=this._skipLocationChange=this._preserveFragment=!1;this.commands=this.href=null;this.onChanges=new F.Subject;var l;b=null==(l=e.nativeElement.tagName)?void 0:l.toLowerCase();(this.isAnchorElement="a"===b||"area"===b)?this.subscription=a.events.subscribe(function(q){q instanceof Xk&&Mlc(h)}):Nlc(this,"0")},Nlc=function(a,b){null!=a.tabIndexAttribute||
a.isAnchorElement||Olc(a,"tabindex",b)};IG.prototype.ngOnChanges=function(){this.isAnchorElement&&Mlc(this);this.onChanges.next(this)};IG.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;ip(this.router,this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state});return!this.isAnchorElement};
IG.prototype.ngOnDestroy=function(){var a;null==(a=this.subscription)||a.unsubscribe()};var Mlc=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?Gha:vd)(a.href));Olc(a,"href",b)},Olc=function(a,b,c){var d=a.renderer;a=a.el.nativeElement;null!==c?d.setAttribute(a,b,c):d.removeAttribute(a,b)};
gg.Object.defineProperties(IG.prototype,{preserveFragment:{configurable:!0,enumerable:!0,set:function(a){this._preserveFragment=Dma(a)},get:function(){return this._preserveFragment}},skipLocationChange:{configurable:!0,enumerable:!0,set:function(a){this._skipLocationChange=Dma(a)},get:function(){return this._skipLocationChange}},replaceUrl:{configurable:!0,enumerable:!0,set:function(a){this._replaceUrl=Dma(a)},get:function(){return this._replaceUrl}},routerLink:{configurable:!0,enumerable:!0,set:function(a){null!=
a?(this.commands=Array.isArray(a)?a:[a],Nlc(this,"0")):(this.commands=null,Nlc(this,null))}},urlTree:{configurable:!0,enumerable:!0,get:function(){return null===this.commands?null:HG(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})}}});IG.\u0275fac=function(a){return new (a||IG)(D(GG),D(Sk),$c("tabindex"),D(Ut),D(fd),D(lv))};
IG.\u0275dir=Cc({type:IG,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(a,b){a&1&&O("click",function(c){return b.onClick(c.button,c.ctrlKey,c.shiftKey,c.altKey,c.metaKey)});a&2&&Ae("target",b.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,
features:[Mc]});var JG=function(a,b,c,d,e){var g=this;this.router=a;this.element=b;this.renderer=c;this.cdr=d;this.link=e;this.classes=[];this._isActive=!1;this.routerLinkActiveOptions={exact:!1};this.isActiveChange=new tu;this.routerEventsSubscription=a.events.subscribe(function(h){h instanceof Xk&&g.update()})};JG.prototype.ngAfterContentInit=function(){var a=this;(0,F.of)(this.links.changes,(0,F.of)(null)).pipe(Wd()).subscribe(function(){a.update();Plc(a)})};
var Plc=function(a){var b;null==(b=a.linkInputChangesSubscription)||b.unsubscribe();b=[].concat(Jc(a.links.toArray()),[a.link]).filter(function(c){return!!c}).map(function(c){return c.onChanges});a.linkInputChangesSubscription=(0,F.from)(b).pipe(Wd()).subscribe(function(c){a._isActive!==Qlc(a,a.router)(c)&&a.update()})};JG.prototype.ngOnChanges=function(){this.update()};
JG.prototype.ngOnDestroy=function(){this.routerEventsSubscription.unsubscribe();var a;null==(a=this.linkInputChangesSubscription)||a.unsubscribe()};
JG.prototype.update=function(){var a=this;this.links&&this.router.navigated&&Promise.resolve().then(function(){var b=Rlc(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 Qlc=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}},Rlc=function(a){var b=Qlc(a,a.router);return a.link&&b(a.link)||a.links.some(b)};
gg.Object.defineProperties(JG.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})}}});JG.\u0275fac=function(a){return new (a||JG)(D(GG),D(fd),D(Ut),D(Lu),D(IG,8))};
JG.\u0275dir=Cc({type:JG,selectors:[["","routerLinkActive",""]],contentQueries:function(a,b,c){a&1&&kf(c,IG,5);if(a&2){var d;hf(d=lf())&&(b.links=d)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Mc]});var Slc=function(){},KG=function(a,b,c,d,e){this.router=a;this.injector=c;this.preloadingStrategy=d;this.loader=e},Tlc=function(a){a.subscription=a.router.events.pipe(Zd(function(b){return b instanceof Xk}),Vd(function(){return a.preload()},1)).subscribe(function(){})};KG.prototype.preload=function(){return Ulc(this,this.injector,this.router.config)};KG.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()};
var Ulc=function(a,b,c){var d=[];c=k(c);for(var e=c.next();!e.done;e=c.next()){e=e.value;e.providers&&!e._injector&&(e._injector=qia(e.providers,b,"Route: "+e.path));var g=void 0,h=null!=(g=e._injector)?g:b,l=void 0;g=null!=(l=e._loadedInjector)?l:h;(e.loadChildren&&!e._loadedRoutes&&void 0===e.canLoad||e.loadComponent&&!e._loadedComponent)&&d.push(Vlc(a,h,e));if(e.children||e._loadedRoutes)h=void 0,d.push(Ulc(a,g,null!=(h=e.children)?h:e._loadedRoutes))}return(0,F.from)(d).pipe(Wd())},Vlc=function(a,
b,c){return a.preloadingStrategy.preload(c,function(){var d=(c.loadChildren&&void 0===c.canLoad?a.loader.loadChildren(b,c):(0,F.of)(null)).pipe(Vd(function(g){if(null===g)return(0,F.of)(void 0);c._loadedRoutes=g.routes;c._loadedInjector=g.injector;var h;return Ulc(a,null!=(h=g.injector)?h:b,g.routes)}));if(c.loadComponent&&!c._loadedComponent){var e=a.loader.loadComponent(c);return(0,F.from)([d,e]).pipe(Wd())}return d})};KG.\u0275fac=function(a){return new (a||KG)(w(GG),w($t),w(Nt),w(Slc),w(zG))};
KG.\u0275prov=nc({token:KG,factory:KG.\u0275fac,providedIn:"root"});var Wlc=new Hc(""),LG=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"};
LG.prototype.init=function(){if("disabled"!==this.options.scrollPositionRestoration){var a=this.viewportScroller;try{if(zYb(a)){var b=Object.getOwnPropertyDescriptor(a.window.history,"scrollRestoration")||Object.getOwnPropertyDescriptor(Object.getPrototypeOf(a.window.history),"scrollRestoration");var c=!!b&&!(!b.writable&&!b.set)}else c=!1}catch(d){c=!1}c&&(a=a.window.history)&&a.scrollRestoration&&(a.scrollRestoration="manual")}this.routerEventsSubscription=Xlc(this);this.scrollEventsSubscription=
Ylc(this)};
var Xlc=function(a){return a.transitions.events.subscribe(function(b){b instanceof ll?(a.store[a.lastId]=a.viewportScroller.getScrollPosition(),a.lastSource=b.navigationTrigger,a.restoredId=b.restoredState?b.restoredState.navigationId:0):b instanceof Xk?(a.lastId=b.id,Zlc(a,a.urlSerializer.parse(b.urlAfterRedirects).fragment)):b instanceof xAa&&0===b.code&&(a.lastSource=void 0,a.restoredId=0,Zlc(a,a.urlSerializer.parse(b.url).fragment))})},Ylc=function(a){return a.transitions.events.subscribe(function(b){if(b instanceof Okc)if(b.position)"top"===
a.options.scrollPositionRestoration?AYb(a.viewportScroller,[0,0]):"enabled"===a.options.scrollPositionRestoration&&AYb(a.viewportScroller,b.position);else if(b.anchor&&"enabled"===a.options.anchorScrolling){var c=a.viewportScroller;if(zYb(c)){a:{var d=c.document;b=b.anchor;var e=d.getElementById(b)||d.getElementsByName(b)[0];if(e)b=e;else{if("function"===typeof d.createTreeWalker&&d.body&&"function"===typeof d.body.attachShadow)for(d=d.createTreeWalker(d.body,NodeFilter.SHOW_ELEMENT),e=d.currentNode;e;){if(e=
e.shadowRoot)if(e=e.getElementById(b)||e.querySelector('[name="'+b+'"]')){b=e;break a}e=d.nextNode()}b=null}}if(b){e=b.getBoundingClientRect();d=e.left+c.window.pageXOffset;e=e.top+c.window.pageYOffset;var g=c.offset();c.window.scrollTo(d-g[0],e-g[1]);b.focus()}}}else"disabled"!==a.options.scrollPositionRestoration&&AYb(a.viewportScroller,[0,0])})},Zlc=function(a,b){a.zone.runOutsideAngular(function(){setTimeout(function(){a.zone.run(function(){a.transitions.events.next(new Okc("popstate"===a.lastSource?
a.store[a.restoredId]:null,b))})},0)})};LG.prototype.ngOnDestroy=function(){var a;null==(a=this.routerEventsSubscription)||a.unsubscribe();var b;null==(b=this.scrollEventsSubscription)||b.unsubscribe()};LG.\u0275fac=function(){kd()};LG.\u0275prov=nc({token:LG,factory:LG.\u0275fac});new Hc("",{providedIn:"root",factory:function(){return!1}});var $lc=new Hc("",{factory:function(){return new F.Subject}}),amc=new Hc("",{providedIn:"root",factory:function(){return 1}}),bmc=new Hc("");var cmc=new Hc("ROUTER_FORROOT_GUARD"),dmc=[ov,{provide:sG,useClass:xkc},GG,vG,{provide:Sk,useFactory:function(a){return a.routerState.root},deps:[GG]},zG,[]],MG=function(){};MG.\u0275fac=function(a){return new (a||MG)(w(cmc,8))};MG.\u0275mod=Bc({type:MG});MG.\u0275inj=oc({});var emc=new Hc("");new Wt;var NG=function(a,b,c,d){var e=this;this.location=a;this.platformLocation=b;this.activatedRoute=c;this.router=d;this.scheduler=new ukc(function(){return!e.router.navigationTransitions.currentNavigation})};f=NG.prototype;f.absUrl=function(){return this.platformLocation.href};f.hash=function(a,b){"undefined"!==typeof a&&this.setHash(null!=a?a:"",b);return this.getHash()};f.getHash=function(){var a;return null!=(a=this.activatedRoute.snapshot.fragment)?a:""};
f.setHash=function(a,b){var c=this;a=void 0===a?"":a;b=void 0===b?!1:b;this.addTask(function(){c.router.navigate([],{fragment:a,replaceUrl:b})})};f.path=function(a,b){"undefined"!==typeof a&&this.setPath(a,b);return this.getPath()};var fmc=function(a,b){a.path(b,!0)};f=NG.prototype;f.getPath=function(){var a=k(this.location.path().split("?")).next().value;return k(a.split("#")).next().value};
f.setPath=function(a,b){var c=this;a=void 0===a?"":a;b=void 0===b?!1:b;this.addTask(function(){c.router.navigate([a],{replaceUrl:b,queryParamsHandling:"preserve"})});return this};f.search=function(a,b,c){"undefined"!==typeof a&&this.setSearch(a,b,c);return this.getSearch()};f.getSearch=function(){return CAa(this.activatedRoute.snapshot.queryParamMap)};
f.setSearch=function(a,b,c){var d=this;c=void 0===c?!1:c;this.addTask(function(){var e={};d.router.navigate([],{relativeTo:d.activatedRoute,queryParams:(e[a]=b,e),queryParamsHandling:"merge",replaceUrl:c})})};f.url=function(a,b){return"undefined"===typeof a?this.getUrl():this.setUrl(a,b)};f.replaceUrl=function(a){return this.url(a,!0)};f.setUrl=function(a,b){var c=this;b=void 0===b?!1:b;return new Promise(function(d,e){c.addTask(function(){ip(c.router,a,{replaceUrl:b}).then(d).catch(e)})})};
f.getUrl=function(){return this.location.path(!0)};f.addTask=function(a){this.scheduler.addTask(a)};NG.\u0275fac=function(a){return new (a||NG)(w(ov),w(jv),w(Sk),w(GG))};NG.\u0275prov=nc({token:NG,factory:NG.\u0275fac,providedIn:"root"});var OG=function(a){this.bLocation=a};f=OG.prototype;f.createIssue=function(a){return Hk("issues/new",{params:a})};f.editIssue=function(a,b){return Gk(a,b)};f.listIssues=function(a){return Ik(a)};f.needsAttention=function(){return"attention"};f.viewSavedSearch=function(a){return Fk("savedsearches/:savedSearchId",{id:a,params:void 0})};
var gmc=function(a,b){b="/"!==b.charAt(0)?"/"+b:b;return a.bLocation.path()===b},hmc=function(a,b){b="/"!==b.charAt(0)?"/"+b:b;a=a.bLocation.url();a=new Om(a);b=new Om(b);return a.getPath()===b.getPath()&&hC(a.queryData_.toString())===hC(b.queryData_.toString())};f=OG.prototype;f.viewHotlist=function(a){return Fk("hotlists/:hotlistId",{id:a})};f.editHotlist=function(a){return Hk("hotlists/:hotlistId/edit",{id:a,tab:void 0})};f.createHotlist=function(){return"hotlists/new"};f.createBookmarkGroup=function(){return"bookmark-groups/new"};
f.viewBookmarkGroup=function(a){return Fk("bookmark-groups/:groupId",{id:a})};f.editBookmarkGroup=function(a){return Hk("bookmark-groups/:groupId/edit",{id:a})};f.editSavedSearch=function(a){return Hk("savedsearches/:savedSearchId/edit",{id:a})};f.dashboard=function(a){return Hk("dashboard/:groupId",{id:a})};f.issuesCsvAction=function(a,b,c,d,e){c=pya(c);d=qya(d);return $z("action/issues/csv","q",a,"trackerIds",b,"s",c,"c",d,"h",e)};
f.hotlistIssuesCsvAction=function(a,b,c,d,e){a="action/hotlists/"+a+"/issues/csv";c=pya(c);(d=qya(d))&&(d="position,"+d);return $z(a,"trackerIds",b,"s",c,"c",d,"h",e)};f.toApiSortParamValue=function(a){return pya(a)};f.getAttachmentAction=function(a,b){return"action/issues/"+a.toString()+"/attachments/"+b.toString()};f.listComponents=function(){return Hk("components",{params:void 0})};f.viewComponent=function(a,b){return Fk("components/:componentId",{id:a,tab:b})};
f.manageComponent=function(a,b){return rya(a,b)};f.createComponent=function(a){return Hk("components/new",{params:a})};f.editComponent=function(a,b){return Hk("components/:componentId/edit",{id:a,tab:b})};f.createSlo=function(){return Hk("slos/new",{params:void 0})};f.editSlo=function(a){return zya(a).path};f.listSlos=function(){return Hk("slos",{params:void 0})};
f.getBaseUrl=function(){var a=this.bLocation.absUrl();a=a.slice(0,a.length-this.bLocation.url().length);"/"===a.charAt(a.length-1)&&(a=a.slice(0,a.length-1));return a};f.listHotlists=function(){return"hotlists"};f.settings=function(a){return sya(a)};OG.\u0275fac=function(a){return new (a||OG)(w(NG))};OG.\u0275prov=nc({token:OG,factory:OG.\u0275fac,providedIn:"root"});var imc=function(a,b){this.childIterator_=a[ca.Symbol.iterator]();this.mapFn_=b};imc.prototype[Symbol.iterator]=function(){return this};imc.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 jmc=function(a,b){return new imc(a,b)};var PG=function(){};PG.prototype.next=function(){return kmc};var kmc={done:!0,value:void 0};PG.prototype.__iterator__=function(){return this};var lmc=function(a){if(a instanceof QG||a instanceof RG||a instanceof SG)return a;if("function"==typeof a.next)return new QG(function(){return a});if("function"==typeof a[Symbol.iterator])return new QG(function(){return a[Symbol.iterator]()});if("function"==typeof a.__iterator__)return new QG(function(){return a.__iterator__()});throw Error("vc");},QG=function(a){this.func_=a};QG.prototype.__iterator__=function(){return new RG(this.func_())};QG.prototype[Symbol.iterator]=function(){return new SG(this.func_())};
QG.prototype.toEs6=function(){return new SG(this.func_())};var RG=function(a){this.iter_=a};V(RG,PG);RG.prototype.next=function(){return this.iter_.next()};RG.prototype[Symbol.iterator]=function(){return new SG(this.iter_)};RG.prototype.toEs6=function(){return new SG(this.iter_)};var SG=function(a){QG.call(this,function(){return a});this.iter_=a};V(SG,QG);SG.prototype.next=function(){return this.iter_.next()};var TG=function(a,b){this.map_={};this.keys_=[];this.version_=this.size=0;var c=arguments.length;if(1<c){if(c%2)throw Error("aa");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else a&&this.addAll(a)};f=TG.prototype;f.getCount=function(){return this.size};f.getValues=function(){UG(this);for(var a=[],b=0;b<this.keys_.length;b++)a.push(this.map_[this.keys_[b]]);return a};f.getKeys=function(){UG(this);return this.keys_.concat()};f.containsKey=function(a){return this.has(a)};
f.has=function(a){return VG(this.map_,a)};f.containsValue=function(a){for(var b=0;b<this.keys_.length;b++){var c=this.keys_[b];if(VG(this.map_,c)&&this.map_[c]==a)return!0}return!1};f.equals=function(a,b){if(this===a)return!0;if(this.size!=a.getCount())return!1;b=b||mmc;UG(this);for(var c,d=0;c=this.keys_[d];d++)if(!b(this.get(c),a.get(c)))return!1;return!0};var mmc=function(a,b){return a===b};TG.prototype.isEmpty=function(){return 0==this.size};
TG.prototype.clear=function(){this.map_={};this.keys_.length=0;this.setSizeInternal_(0);this.version_=0};TG.prototype.remove=function(a){return this.delete(a)};TG.prototype.delete=function(a){return VG(this.map_,a)?(delete this.map_[a],this.setSizeInternal_(this.size-1),this.version_++,this.keys_.length>2*this.size&&UG(this),!0):!1};
var UG=function(a){if(a.size!=a.keys_.length){for(var b=0,c=0;b<a.keys_.length;){var d=a.keys_[b];VG(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],VG(e,d)||(a.keys_[c++]=d,e[d]=1),b++;a.keys_.length=c}};f=TG.prototype;f.get=function(a,b){return VG(this.map_,a)?this.map_[a]:b};f.set=function(a,b){VG(this.map_,a)||(this.setSizeInternal_(this.size+1),this.keys_.push(a),this.version_++);this.map_[a]=b};
f.addAll=function(a){if(a instanceof TG)for(var b=a.getKeys(),c=0;c<b.length;c++)this.set(b[c],a.get(b[c]));else for(b in a)this.set(b,a[b])};f.forEach=function(a,b){for(var c=this.getKeys(),d=0;d<c.length;d++){var e=c[d],g=this.get(e);a.call(b,g,e,this)}};f.clone=function(){return new TG(this)};f.transpose=function(){for(var a=new TG,b=0;b<this.keys_.length;b++){var c=this.keys_[b];a.set(this.map_[c],c)}return a};
f.toObject=function(){UG(this);for(var a={},b=0;b<this.keys_.length;b++){var c=this.keys_[b];a[c]=this.map_[c]}return a};f.keys=function(){return lmc(this.__iterator__(!0)).toEs6()};f.values=function(){return lmc(this.__iterator__(!1)).toEs6()};f.entries=function(){var a=this;return jmc(this.keys(),function(b){return[b,a.get(b)]})};
f.__iterator__=function(a){UG(this);var b=0,c=this.version_,d=this,e=new PG;e.next=function(){if(c!=d.version_)throw Error("wc");if(b>=d.keys_.length)return kmc;var g=d.keys_[b++];return{value:a?g:d.map_[g],done:!1}};return e};f.setSizeInternal_=function(a){this.size=a};var VG=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var WG=function(a,b,c){this.maxCount_=a||null;this.cache_=!!b;this.evictionCallback_=c;this.map_=new TG;this.head_=new nmc("");this.head_.next=this.head_.prev=this.head_},pmc=function(a,b){(b=a.map_.get(b))&&a.cache_&&(b.remove(),omc(a,b));return b};WG.prototype.get=function(a,b){return(a=pmc(this,a))?a.value:b};var qmc=function(a,b){return(a=a.map_.get(b))?a.value:void 0};f=WG.prototype;f.set=function(a,b){var c=pmc(this,a);c?c.value=b:(c=new nmc(a,b),this.map_.set(a,c),omc(this,c))};
f.shift=function(){return rmc(this,this.head_.next)};f.pop=function(){return rmc(this,this.head_.prev)};f.remove=function(a){return(a=this.map_.get(a))?(this.removeNode(a),!0):!1};f.removeNode=function(a){a.remove();this.map_.remove(a.key)};f.getCount=function(){return this.map_.getCount()};f.isEmpty=function(){return this.map_.isEmpty()};f.getKeys=function(){return this.map(function(a,b){return b})};f.getValues=function(){return this.map(function(a){return a})};
f.contains=function(a){return this.some(function(b){return b==a})};f.containsKey=function(a){return this.map_.containsKey(a)};f.clear=function(){smc(this,0)};f.forEach=function(a,b){for(var c=this.head_.next;c!=this.head_;c=c.next)a.call(b,c.value,c.key,this)};f.map=function(a,b){for(var c=[],d=this.head_.next;d!=this.head_;d=d.next)c.push(a.call(b,d.value,d.key,this));return c};f.some=function(a,b){for(var c=this.head_.next;c!=this.head_;c=c.next)if(a.call(b,c.value,c.key,this))return!0;return!1};
f.every=function(a,b){for(var c=this.head_.next;c!=this.head_;c=c.next)if(!a.call(b,c.value,c.key,this))return!1;return!0};
var omc=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_&&smc(a,a.maxCount_)},smc=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)}},rmc=function(a,b){a.head_!=b&&a.removeNode(b);return b.value},nmc=function(a,b){this.key=a;this.value=b};
nmc.prototype.remove=function(){this.prev.next=this.next;this.next.prev=this.prev;delete this.prev;delete this.next};var XG=function(){this.caches=new Map};XG.prototype.create=function(a,b){if(this.caches.has(a))throw Error("xc`"+a);b=new tmc(null==b?void 0:b.capacity);this.caches.set(a,b);return b};XG.prototype.get=function(a){return this.caches.get(a)};XG.\u0275fac=function(a){return new (a||XG)};XG.\u0275prov=nc({token:XG,factory:XG.\u0275fac,providedIn:"root"});var tmc=function(a){this.lruCache=new WG(a,!0)};tmc.prototype.get=function(a){return this.lruCache.get(a)};
tmc.prototype.put=function(a,b){void 0!==b&&this.lruCache.set(a,b);return b};tmc.prototype.remove=function(a){this.lruCache.remove(a)};tmc.prototype.removeAll=function(){this.lruCache.clear()};var Zk=function(a){r.call(this,a)};V(Zk,r);f=Zk.prototype;f.getType=function(){return Fh(this,1,0)};f.setType=function(a){return n(this,1,a)};f.hasType=function(){return Vh(this,1)};f.getCustomFieldId=function(){return lh(this,2)};f.setCustomFieldId=function(a){return n(this,2,a)};f.hasCustomFieldId=function(){return kh(this,2)};f.getCustomFieldName=function(){return mh(this,3)};f.toObject=function(){return umc(this)};
var umc=function(a){if(null!=a)return t(a),{type:p(m(a,1)),customFieldId:p(m(a,2)),customFieldName:p(m(a,3))}},vmc=[Zk,1,Nq,2,mq,3,Cq];Zk.prototype.serializeBinary=u(vmc);var $k=function(a){r.call(this,a)};V($k,r);f=$k.prototype;f.getField=function(){return W(this,Zk,1)};f.setField=function(a){Oh(this,Zk,1,a)};f.getDirection=function(){return Fh(this,2,0)};f.setDirection=function(a){return n(this,2,a)};f.toObject=function(){return wmc(this)};var wmc=function(a){if(null!=a)return t(a),{field:umc(a.getField()),direction:p(m(a,2))}},xmc=[$k,1,X,vmc,2,Nq];$k.prototype.serializeBinary=u(xmc);var al=function(a){r.call(this,a,0,al.messageId)};V(al,r);f=al.prototype;f.getHotlistId=function(){return lh(this,1)};f.setHotlistId=function(a){n(this,1,a)};f.getName=function(){return mh(this,3)};f.setName=function(a){return n(this,3,a)};f.hasName=function(){return jj(this,3)};f.getNameOrUndefined=function(){return eq(this,3)};f.getDescription=function(){return mh(this,4)};f.setDescription=function(a){return n(this,4,a)};f.hasDescription=function(){return jj(this,4)};
f.getArchived=function(){return vi(this,6)};f.setArchived=function(a){xi(this,6,a)};f.getDisplayColumnList=function(){return yg(this,Zk,8)};f.setDisplayColumnList=function(a){Th(this,8,a)};f.getSortOrderList=function(){return yg(this,$k,9)};f.setSortOrderList=function(a){Th(this,9,a)};f.getCreatedTimeMicros=function(){return Wh(this,10)};f.setCreatedTimeMicros=function(a){n(this,10,a)};f.getModifiedTimeMicros=function(){return Wh(this,11)};f.setModifiedTimeMicros=function(a){n(this,11,a)};
f.getAdminUsersList=function(){return yg(this,Wg,14)};f.setAdminUsersList=function(a){Th(this,14,a)};f.getEtag=function(){return mh(this,15)};f.setEtag=function(a){n(this,15,a)};f.hasEtag=function(){return jj(this,15)};al.repeatedFields_=[8,9,14];al.prototype.toObject=function(){return ymc(this)};
var ymc=function(a){if(null!=a)return t(a),{hotlistId:p(m(a,1)),name:p(m(a,3)),description:p(m(a,4)),archived:p(Db(a,6)),displayColumnList:Mb(a.getDisplayColumnList(),umc),sortOrderList:Mb(a.getSortOrderList(),wmc),createdTimeMicros:p(m(a,10)),modifiedTimeMicros:p(m(a,11)),adminUsersList:Mb(a.getAdminUsersList(),OC),etag:p(m(a,15))}},zmc=[al,1,mq,3,Cq,4,Cq,6,zq,8,Iq,vmc,9,Iq,xmc,10,pq,11,pq,14,Iq,PC,15,Cq];al.prototype.serializeBinary=u(zmc);al.messageId="b.Hotlist";var YG=function(a){r.call(this,a,0,YG.messageId)};V(YG,r);YG.prototype.getHotlistsList=function(){return yg(this,al,1)};YG.repeatedFields_=[1];YG.prototype.toObject=function(){if(null!=this){t(this);var a={hotlistsList:Mb(this.getHotlistsList(),ymc)}}else a=void 0;return a};YG.prototype.serializeBinary=u([YG,1,Iq,zmc]);YG.messageId="b.ListHotlistsResponse";var ZG=function(a,b){this.hotlistApi=b;this.hotlistCache=a.get("hotlists-second-level-cache")||a.create("hotlists-second-level-cache",{capacity:1E3})};ZG.prototype.get=function(a){var b=this.hotlistCache.get(String(a))||this.hotlistApi.get(a);return this.hotlistCache.put(String(a),b)};ZG.prototype.bulkLoad=function(a){var b=this;a=a.filter(function(d){return!b.hotlistCache.get(String(d))});if(!a.length)return Promise.resolve();var c=this.hotlistApi.bulkLoad(a);Amc(this,a,c);return c.then(function(){})};
var Amc=function(a,b,c){c=c.then(function(g){if(g){var h={};g=k(g);for(var l=g.next();!l.done;l=g.next())l=l.value,h[l.hotlistId]=l;return h}});var d={};b=k(b);for(var e=b.next();!e.done;d={$jscomp$loop$prop$id$2283:d.$jscomp$loop$prop$id$2283},e=b.next())d.$jscomp$loop$prop$id$2283=e.value,a.hotlistCache.put(String(d.$jscomp$loop$prop$id$2283),c.then(function(g){return function(h){return h&&h[g.$jscomp$loop$prop$id$2283]?h[g.$jscomp$loop$prop$id$2283]:Promise.reject({data:{message:"Could not load hotlist "+
g.$jscomp$loop$prop$id$2283}})}}(d)))};f=ZG.prototype;f.repositionHotlistIssue=function(a,b,c){return this.hotlistApi.repositionHotlistIssue(a,b,c)};f.createHotlist=function(a,b){return this.hotlistApi.createHotlist(a,b)};f.queryHotlists=function(a){return this.hotlistApi.queryHotlists(a)};f.archiveHotlist=function(a,b){return this.hotlistApi.archiveHotlist(a,b)};f.updateMetadata=function(a,b){return this.hotlistApi.updateMetadata(a,b)};
f.getPagedHotlistContent=function(a,b,c,d,e){return this.hotlistApi.getPagedHotlistContent(a,b,c,d,e)};ZG.\u0275fac=function(a){return new (a||ZG)(w(XG),w($G))};ZG.\u0275prov=nc({token:ZG,factory:ZG.\u0275fac,providedIn:"root"});var aH=function(a,b){this.paths=a;this.executor=b};f=aH.prototype;f.get=function(a){return this.executor.get({url:"action/hotlists/"+a,responseConstructor:al}).pipe(E(bl))};f.bulkLoad=function(a){return this.executor.get({url:"action/hotlists",responseConstructor:YG,options:{params:{id:a.map(String)}}}).pipe(E(KAa))};
f.repositionHotlistIssue=function(a,b,c){var d=new hi;d.setIssueId(b);d.setPosition(c);return this.executor.put({url:"action/hotlists/"+a+"/issues",body:d,responseConstructor:null})};f.createHotlist=function(a,b){var c=new al;c.setName(a);b&&c.setDescription(b);return this.executor.post({url:"action/hotlists",body:c,responseConstructor:al}).pipe(E(bl))};
f.queryHotlists=function(a){return this.executor.get({url:"action/hotlists",responseConstructor:YG,options:{params:{q:a}}}).pipe(E(function(b){var c;return(null!=(c=b.getHotlistsList())?c:[]).map(bl)}))};f.archiveHotlist=function(a,b){return this.executor.post({url:"action/hotlists/"+a+"/archive",body:JAa(b),responseConstructor:al}).pipe(E(bl))};
f.updateMetadata=function(a,b){var c={};b.etag&&(c["If-Match"]=String(b.etag));return this.executor.post({url:"action/hotlists/"+a,body:JAa(b),options:{headers:c},responseConstructor:al}).pipe(E(bl))};f.getPagedHotlistContent=function(a,b,c,d,e){b={p:String(b),count:String(c)};if(d=this.paths.toApiSortParamValue(d))b.s=d;e&&(b.trackerIds=e);return this.executor.get({url:"action/hotlists/"+a+"/issues",options:{params:Object.assign({},b)},responseConstructor:BE}).pipe(E(Kva))};
aH.\u0275fac=function(a){return new (a||aH)(w(OG),w(BC))};aH.\u0275prov=nc({token:aH,factory:aH.\u0275fac,providedIn:"root"});var $G=function(a){this.observableApi=a};f=$G.prototype;f.get=function(a){return(0,F.firstValueFrom)(this.observableApi.get(a))};f.bulkLoad=function(a){return(0,F.firstValueFrom)(this.observableApi.bulkLoad(a))};f.repositionHotlistIssue=function(a,b,c){return(0,F.firstValueFrom)(this.observableApi.repositionHotlistIssue(a,b,c))};
f.createHotlist=function(a,b){return(0,F.firstValueFrom)(this.observableApi.createHotlist(a,b))};f.queryHotlists=function(a){return(0,F.firstValueFrom)(this.observableApi.queryHotlists(a))};f.archiveHotlist=function(a,b){return(0,F.firstValueFrom)(this.observableApi.archiveHotlist(a,b))};f.updateMetadata=function(a,b){return(0,F.firstValueFrom)(this.observableApi.updateMetadata(a,b))};
f.getPagedHotlistContent=function(a,b,c,d,e){return(0,F.firstValueFrom)(this.observableApi.getPagedHotlistContent(a,b,c,d,e))};$G.\u0275fac=function(a){return new (a||$G)(w(aH))};$G.\u0275prov=nc({token:$G,factory:$G.\u0275fac,providedIn:"root"});var bH=function(a){r.call(this,a)};V(bH,r);f=bH.prototype;f.getUser=function(){return W(this,Wg,5)};f.setUser=function(a){Oh(this,Wg,5,a)};f.hasUser=function(){return qi(this,Wg,5)};f.getResourceType=function(){return Fh(this,2,0)};f.setResourceType=function(a){n(this,2,a)};f.hasResourceType=function(){return Vh(this,2)};f.getResourceId=function(){return lh(this,3)};f.setResourceId=function(a){n(this,3,a)};f.hasResourceId=function(){return kh(this,3)};f.getName=function(){return mh(this,4)};
f.setName=function(a){return n(this,4,a)};f.hasName=function(){return jj(this,4)};f.getNameOrUndefined=function(){return eq(this,4)};f.toObject=function(){return Bmc(this)};var Bmc=function(a){if(null!=a)return t(a),{user:OC(a.getUser()),resourceType:p(m(a,2)),resourceId:p(m(a,3)),name:p(m(a,4))}},Cmc=[bH,5,X,PC,2,Nq,3,mq,4,Cq];bH.prototype.serializeBinary=u(Cmc);var cl=function(a){r.call(this,a)};V(cl,r);f=cl.prototype;f.getName=function(){return mh(this,3)};f.setName=function(a){return n(this,3,a)};f.hasName=function(){return jj(this,3)};f.getNameOrUndefined=function(){return eq(this,3)};f.getDescription=function(){return mh(this,4)};f.setDescription=function(a){return n(this,4,a)};f.hasDescription=function(){return jj(this,4)};f.getQuery=function(){return mh(this,7)};f.setQuery=function(a){return n(this,7,a)};f.clearQuery=function(){Qp(this,7)};
f.hasQuery=function(){return jj(this,7)};f.getSortOrderList=function(){return yg(this,$k,8)};f.setSortOrderList=function(a){Th(this,8,a)};f.getDisplayColumnList=function(){return yg(this,Zk,6)};f.setDisplayColumnList=function(a){Th(this,6,a)};f.getAdminUsersList=function(){return yg(this,Wg,11)};f.setAdminUsersList=function(a){Th(this,11,a)};cl.repeatedFields_=[8,6,11];cl.prototype.toObject=function(){return Dmc(this)};
var Dmc=function(a){if(null!=a)return t(a),{searchId:p(m(a,1)),name:p(m(a,3)),description:p(m(a,4)),query:p(m(a,7)),sortOrderList:Mb(a.getSortOrderList(),wmc),displayColumnList:Mb(a.getDisplayColumnList(),umc),adminUsersList:Mb(a.getAdminUsersList(),OC)}},Emc=[cl,1,mq,3,Cq,4,Cq,7,Cq,8,Iq,xmc,6,Iq,vmc,11,Iq,PC];cl.prototype.serializeBinary=u(Emc);var cH=function(a){r.call(this,a,0,cH.messageId)};V(cH,r);cH.prototype.getFavorite=function(){return W(this,bH,1)};cH.prototype.toObject=function(){if(null!=this){t(this);var a={favorite:Bmc(this.getFavorite())}}else a=void 0;return a};cH.prototype.serializeBinary=u([cH,1,X,Cmc]);cH.messageId="b.Favorite";var dH=function(a){r.call(this,a,0,dH.messageId)};V(dH,r);dH.prototype.addHotlist=function(a){um(this,1,al,a)};dH.repeatedFields_=[1];dH.prototype.toObject=function(){if(null!=this){t(this);var a={hotlistList:Mb(yg(this,al,1),ymc)}}else a=void 0;return a};dH.prototype.serializeBinary=u([dH,1,Iq,zmc]);dH.messageId="b.HotlistBatchResponse";var dl=function(a){r.call(this,a)};V(dl,r);f=dl.prototype;f.getId=function(){return lh(this,1)};f.setId=function(a){return n(this,1,a)};f.getName=function(){return mh(this,2)};f.setName=function(a){return n(this,2,a)};f.hasName=function(){return jj(this,2)};f.getNameOrUndefined=function(){return eq(this,2)};f.getDescription=function(){return mh(this,3)};f.setDescription=function(a){return n(this,3,a)};f.hasDescription=function(){return jj(this,3)};
f.getAdminUsersList=function(){return yg(this,Wg,8)};f.setAdminUsersList=function(a){Th(this,8,a)};f.getStarred=function(){return vi(this,5)};f.setStarred=function(a){xi(this,5,a)};f.hasStarred=function(){return pj(this,5)};f.getResourceType=function(){return mh(this,6)};f.setResourceType=function(a){n(this,6,a)};f.hasResourceType=function(){return jj(this,6)};dl.repeatedFields_=[8];dl.prototype.toObject=function(){return Fmc(this)};
var Fmc=function(a){if(null!=a)return t(a),{id:p(m(a,1)),name:p(m(a,2)),description:p(m(a,3)),adminUsersList:Mb(a.getAdminUsersList(),OC),starred:p(Db(a,5)),resourceType:p(m(a,6))}},Gmc=[dl,1,mq,2,Cq,3,Cq,8,Iq,PC,5,zq,6,Cq];dl.prototype.serializeBinary=u(Gmc);var el=function(a){r.call(this,a)};V(el,r);f=el.prototype;f.getId=function(){return lh(this,1)};f.setId=function(a){return n(this,1,a)};f.getName=function(){return mh(this,2)};f.setName=function(a){return n(this,2,a)};f.hasName=function(){return jj(this,2)};f.getNameOrUndefined=function(){return eq(this,2)};f.getDescription=function(){return mh(this,3)};f.setDescription=function(a){return n(this,3,a)};f.hasDescription=function(){return jj(this,3)};
f.getAdminUsersList=function(){return yg(this,Wg,8)};f.setAdminUsersList=function(a){Th(this,8,a)};f.getStarred=function(){return vi(this,5)};f.setStarred=function(a){xi(this,5,a)};f.hasStarred=function(){return pj(this,5)};el.repeatedFields_=[8,6];el.prototype.toObject=function(){return Hmc(this)};
var Hmc=function(a){if(null!=a)return t(a),{id:p(m(a,1)),name:p(m(a,2)),description:p(m(a,3)),adminUsersList:Mb(a.getAdminUsersList(),OC),starred:p(Db(a,5)),sublinksList:Mb(yg(a,dl,6),Fmc)}},Imc=[el,1,mq,2,Cq,3,Cq,8,Iq,PC,5,zq,6,Iq,Gmc];el.prototype.serializeBinary=u(Imc);var eH=function(a){r.call(this,a,0,eH.messageId)};V(eH,r);eH.prototype.getHotlistsList=function(){return yg(this,dl,1)};eH.prototype.getBookmarkGroupsList=function(){return yg(this,el,2)};eH.repeatedFields_=[1,2,3,4];eH.prototype.toObject=function(){if(null!=this){t(this);var a={hotlistsList:Mb(this.getHotlistsList(),Fmc),bookmarkGroupsList:Mb(this.getBookmarkGroupsList(),Hmc),archivedHotlistsList:Mb(yg(this,dl,3),Fmc),archivedBookmarkGroupsList:Mb(yg(this,el,4),Hmc)}}else a=void 0;return a};
eH.prototype.serializeBinary=u([eH,1,Iq,Gmc,2,Iq,Imc,3,Iq,Gmc,4,Iq,Imc]);eH.messageId="b.SidebarInfo";var fH=function(a){r.call(this,a,0,fH.messageId)};V(fH,r);fH.repeatedFields_=[1];fH.prototype.toObject=function(){if(null!=this){t(this);var a={componentsList:Mb(yg(this,Gi,1),$D)}}else a=void 0;return a};fH.prototype.serializeBinary=u([fH,1,Iq,aE]);fH.messageId="b.UserRecentComponentResponse";var gH=function(a){r.call(this,a,0,gH.messageId)};V(gH,r);gH.repeatedFields_=[1];gH.prototype.toObject=function(){if(null!=this){t(this);var a={searchesList:Mb(yg(this,cl,1),Dmc)}}else a=void 0;return a};gH.prototype.serializeBinary=u([gH,1,Iq,Emc]);gH.messageId="b.UserSavedSearchesResponse";var hH=function(){},iH=function(){};iH.\u0275fac=function(a){return new (a||iH)};iH.\u0275prov=nc({token:iH,factory:iH.\u0275fac,providedIn:"root"});var jH=function(a){this.executor=a};V(jH,iH);f=jH.prototype;f.getUserHotlists=function(){return this.executor.get({url:"action/current_user/hotlists",responseConstructor:dH}).pipe(E(LAa))};f.getUserSidebar=function(){return this.executor.get({url:"action/current_user/sidebar",responseConstructor:eH}).pipe(E(SAa))};
f.getRecentComponents=function(){return this.executor.get({url:"action/current_user/recent_components",responseConstructor:fH}).pipe(E(dva))};f.getUserSavedSearches=function(){return this.executor.get({url:"action/current_user/searches",responseConstructor:gH}).pipe(E(PAa))};f.getFavorite=function(a,b){return this.executor.get({url:"action/favorites/"+a+"/"+b,responseConstructor:cH}).pipe(E(NAa))};
f.saveFavorite=function(a){var b=new bH;b.setResourceType(Ycc[a.resourceType]);b.setResourceId(String(a.resourceId));return this.executor.post({url:"action/favorites",body:b,responseConstructor:cH}).pipe(E(NAa))};f.deleteFavorite=function(a){return this.executor.delete({url:"action/favorites/"+a.resourceType+"/"+a.resourceId,responseConstructor:null})};
var Jmc=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})};jH.\u0275fac=function(a){return new (a||jH)(w(BC))};jH.\u0275prov=nc({token:jH,factory:jH.\u0275fac,providedIn:"root"});var kH=function(a){this.observableApi=a};
V(kH,hH);f=kH.prototype;f.getUserHotlists=function(){return(0,F.firstValueFrom)(this.observableApi.getUserHotlists())};f.getUserSidebar=function(){return(0,F.firstValueFrom)(this.observableApi.getUserSidebar())};f.getRecentComponents=function(){return(0,F.firstValueFrom)(this.observableApi.getRecentComponents())};f.getUserSavedSearches=function(){return(0,F.firstValueFrom)(this.observableApi.getUserSavedSearches())};
f.getFavorite=function(a,b){return(0,F.firstValueFrom)(this.observableApi.getFavorite(a,b))};f.saveFavorite=function(a){return(0,F.firstValueFrom)(this.observableApi.saveFavorite(a))};f.deleteFavorite=function(a){return(0,F.firstValueFrom)(this.observableApi.deleteFavorite(a))};kH.\u0275fac=function(a){return new (a||kH)(w(jH))};kH.\u0275prov=nc({token:kH,factory:kH.\u0275fac,providedIn:"root"});var Kmc={parent:"me"},lH=function(a,b,c){oF.call(this,{freshUntil:3E5});var d=this;this.observableHotlistResources=a;this.observableUserResources=b;this.appEvents=c;this.recordType="hotlist";this.idKey="hotlistId";(0,F.merge)(this.appEvents.hotlistChanged,this.appEvents.hotlistCreated,this.appEvents.bookmarkGroupModified).subscribe(function(){d.pokeMany(Kmc)})};V(lH,oF);
lH.prototype.fetchOne=function(a){return this.observableHotlistResources.get(a).pipe(ce(function(b){return 403===b.status?(0,F.of)(void 0):(0,F.throwError)(b)}))};lH.prototype.fetchAll=function(a){if("me"===a.parent)return this.observableUserResources.getUserHotlists().pipe(E(function(b){return{results:b}}));rg("Unsupported query for Fridge['"+this.recordType+"']",a);return(0,F.of)({results:[]})};
lH.prototype.fetchSet=function(a){return this.observableHotlistResources.bulkLoad(a).pipe(E(function(b){return(null!=b?b:[]).filter(eh)}))};lH.prototype.doSave=function(a){return this.observableHotlistResources.updateMetadata(a.hotlistId,a)};var Lmc=function(a){return a.watchMany(Kmc).pipe(E(function(b){return b.results}))};lH.\u0275fac=function(a){return new (a||lH)(w(aH),w(iH),w(cG))};lH.\u0275prov=nc({token:lH,factory:lH.\u0275fac,providedIn:"root"});var fl=function(a){r.call(this,a)};V(fl,r);fl.repeatedFields_=[1];fl.prototype.toObject=function(){if(null!=this){t(this);var a={issueDetailsList:Mb(yg(this,gl,1),Jic),noIndex:p(Db(this,2))}}else a=void 0;return a};fl.prototype.serializeBinary=u([fl,1,Iq,Kic,2,zq]);var Mmc=!1;var Yl={ADD_USER_WITHOUT_ACCESS:"addUserWithoutAccess",COMPONENT_PICKER:"componentPicker",CREATE_ISSUE:"createIssue",EDIT_ISSUE:"editIssue",EDIT_SLO:"editSlo",EXPERIMENTAL_HOMEPAGE:"experimentalHomepage",FIELD_ORDERING:"fieldOrdering",G3C_WIDGET:"g3cWidget",G3N:"g3n",GLOBAL_SEARCH:"global-search",ISSUE:"issue",ISSUE_ACCESS_LIMITS:"issueAccessLimits",ISSUE_CARD:"issueCard",ISSUE_EVENT_DETAIL:"issueEventDetail",ISSUE_PICKER:"issuePicker",ISSUE_SLO:"issueSlo",JOURNEY:"journey",LINK_FIELD:"linkField",
LIST_ISSUES:"listIssues",MAGIC_BOX:"magicBox",MANAGE_COMPONENT:"component",NEEDS_ATTENTION:"needsAttention",PERSON_CARD:"personCard",PUSH_UPDATE:"pushUpdate",RECAPTCHA_TOKEN:"recaptchaToken",RESTRICTED_CONTENT:"restrictedContent",ROLE_BASED_PERMISSIONS:"roleBasedPermissions",SEARCH:"search",SIDEBAR:"sidebar",SLO_REPORTS:"sloReports",TEAM_CARD:"teamCard",TEAM_WARNING:"teamWarning",UPDATE_HISTORY_MODAL:"updateHistoryModal",WHATS_NEW:"whatsNew"};var mH=function(){var a=new sra(852,"0");a.setComponentId("");a.useSendBeaconForFinalFlush();a.useGetRequestForFinalFlush();a.enableSendBeaconApi_=!0;a=new G8b(852,void 0,void 0,void 0,void 0,a.build());a=this.service=new U4b(a);a.flushInterval=3E3;a.flushTimer.setInterval(3E3)};mH.\u0275fac=function(a){return new (a||mH)};mH.\u0275prov=nc({token:mH,factory:mH.\u0275fac,providedIn:"root"});var Nmc={clear:function(){},getItem:function(){},removeItem:function(){},setItem:function(){}},hl=window.localStorage||Nmc,Omc=function(a){return function(){var b=hl.getItem(a);if(null!=b)return b=Number(b),isNaN(b)?void 0:b}},Pmc=function(a){return function(){var b=hl.getItem(a);if(null!=b)return String(b)}},Qmc=function(a){return function(b){null==b?hl.removeItem(a):hl.setItem(a,String(b))}},Rmc=function(a){return function(b){null==b?hl.removeItem(a):hl.setItem(a,b)}},Smc=function(a){return function(){var b=
il(a)();UAa(a)(!b);return!b}},nH=function(a){return function(){var b=hl.getItem(a);if(null!=b)try{return JSON.parse(b)}catch(c){console.warn("JSON.parse("+a+")"),console.warn(c)}}},Zm=function(a){return function(b){null==b?hl.removeItem(a):hl.setItem(a,JSON.stringify(b))}};var Tmc=il("debug-logging")(),oH=function(a,b){this.activeSession=a;this.streamz=b;this.pageLoadTime=new zcc(this.streamz.service);this.userLatency=new Bcc(this.streamz.service);this.userActionCounter=new Acc(this.streamz.service);this.frontendAccessMode=this.activeSession.getFrontendAccessMode();this.environmentType=this.activeSession.getEnvironmentType()};
oH.prototype.timePageLoad=function(a,b){this.pageLoadTime.record(a,b,this.frontendAccessMode,this.environmentType);Tmc&&console.log("Clearcut stub",{action:b,duration:a})};var pH=function(a,b,c){a.userLatency.record(b,c,a.frontendAccessMode,a.environmentType);Tmc&&console.log("Clearcut stub",{action:c,duration:b})},qH=function(a,b){a.userActionCounter.increment(b,a.frontendAccessMode,a.environmentType);Tmc&&console.log("Clearcut stub",{action:b})};
oH.\u0275fac=function(a){return new (a||oH)(w(rp),w(mH))};oH.\u0275prov=nc({token:oH,factory:oH.\u0275fac,providedIn:"root"});var VAa=window,kBa=function(){return{count:0,duration:0,transferSize:0,cacheHits:0,cacheHitRate:0}},Umc=function(a){if(WAa())try{window.performance.mark(a)}catch(b){console.warn("route_performance",b)}};var mBa=il("debug-logging")(),lBa=window,Vmc,jBa=!1;var Wmc=Yl.GLOBAL_SEARCH,Xmc=Yl.JOURNEY,Ymc=Zm("journey-log"),Zmc=nH("journey-log"),rH={},$mc=(rH.ssue__edit="edit",rH.ssue__addComment="comment",rH["ssue__light-ixn"]="ixn",rH.ssue__copyIssueId="ixn",rH[Wmc+"__.*__.*text"]="ilp-search",rH[Wmc+"__.*__filters"]="ilp-filter",rH),sH={startEvents:["ilp-search"],successEvents:["edit","ixn","comment"],abortEvents:["ilp-filter","idle"],successMarker:"SUCCESS-search",count:["nav"]},tH=function(a){this.clearcut=a},anc=function(a,b){var c=void 0===c?Date.now():
c;var d,e=null!=(d=Zmc())?d:[];e.push([b,c]);100<e.length&&(e=e.slice(-100));Ymc(e);if(sH.successEvents.includes(b)){b=e;c=sH.abortEvents;d=sH.successEvents;e=sH.startEvents;for(var g=sH.successMarker,h,l=b.length-1;0<=l;l--){var q=k(b[l]),v=q.next().value;q=q.next().value;if(c.includes(v))break;if(g===v)break;if(d.includes(v)){if(h&&y)break;var y=q}else y&&e.includes(v)&&(h=q)}y=h&&y?[h,y]:void 0;y&&(y=k(y),h=y.next().value,y=y.next().value-h,pH(a.clearcut,y,nBa(Xmc,"global-search-text")),gBa({hitType:"event",
eventCategory:Xmc,eventAction:"global-search-text",eventLabel:"duration",eventValue:y}),anc(a,sH.successMarker))}};tH.\u0275fac=function(a){return new (a||tH)(w(oH))};tH.\u0275prov=nc({token:tH,factory:tH.\u0275fac,providedIn:"root"});var uH=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))}},bnc=function(a){WAa()&&(null!=a.observer&&a.observer.disconnect(),a.observer=new VAa.PerformanceObserver(a.onMeasurement),a.observer.observe({entryTypes:["measure"]}))};uH.\u0275fac=function(a){return new (a||uH)(w(oH))};
uH.\u0275prov=nc({token:uH,factory:uH.\u0275fac,providedIn:"root"});var oBa={},cnc={logInfo:function(){console.log(rBa());console.log("\nDuplicate Requests:");console.table(pBa())},getCounts:function(){return oBa},getDupes:pBa,getAggregates:rBa};var dnc={attributes:!1,childList:!0,subtree:!0},vH=function(a,b,c){var d=this;this.ngZone=a;this.router=b;this.activatedRoute=c;this.dom$=new F.Subject;this.cdr$=this.ngZone.onStable;this.xhr$=new F.Subject;this.render$=(0,F.merge)(this.dom$,this.cdr$);this.renderSettled$=this.render$.pipe(de(200));this.navigatedTo$=this.router.events.pipe(Zd(tBa),E(function(){return sBa(d.activatedRoute.snapshot)}));this.navigatedTo$.pipe(pe(function(e){return d.renderSettled$.pipe(ge(),E(function(){return e}))}),
ne(1));this.domObserver=new MutationObserver(function(){return void d.dom$.next()})},enc=function(a){a.domObserver.disconnect();a.domObserver.observe(document.body,dnc)};vH.prototype.intercept=function(a,b){var c=a.method+" "+a.urlWithParams;oBa[c]=~~oBa[c]+1;this.xhr$.next(c);return b.handle(a)};vH.\u0275fac=function(a){return new (a||vH)(w(te),w(GG),w(Sk))};vH.\u0275prov=nc({token:vH,factory:vH.\u0275fac,providedIn:"root"});var fnc={provide:YZb,useExisting:vH,multi:!0};var wH=function(a,b){this.cdr=a;this.zone=b;this.destroyed=!1};wH.prototype.ngOnDestroy=function(){this.destroyed=!0};wH.prototype.detectChanges=function(){var a=this;this.destroyed||this.zone.run(function(){a.cdr.detectChanges()})};wH.prototype.markForCheck=function(){var a=this;this.destroyed||this.zone.run(function(){a.cdr.markForCheck()})};wH.\u0275fac=function(a){return new (a||wH)(w(Lu),w(te))};wH.\u0275prov=nc({token:wH,factory:wH.\u0275fac});var xH=function(a){kE.call(this);var b=this;this.ngZone=a;this.activeSubject$=new F.BehaviorSubject(!1);this.active$=this.activeSubject$.pipe(fe(),qe(this.destroyed$),vBa(this.ngZone));this.onUserEvent=EUb(function(){b.activeSubject$.next(!0);gnc(b)},200);this.onVisibilityChange=function(){"hidden"===document.visibilityState?(b.activeSubject$.next(!1),clearTimeout(b.activeTimeoutId)):(b.activeSubject$.next(!0),gnc(b))}};V(xH,kE);xH.\u0275dir=kE.\u0275dir;
xH.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)};
xH.prototype.ngOnDestroy=function(){kE.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 gnc=function(a){clearTimeout(a.activeTimeoutId);a.activeTimeoutId=setTimeout(function(){a.activeSubject$.next(!1)},3E3)};xH.\u0275fac=function(a){return new (a||xH)(w(te))};xH.\u0275prov=nc({token:xH,factory:xH.\u0275fac,providedIn:"root"});var hnc=[Xk,wAa,Yk],zH=function(a,b){kE.call(this);var c=this;this.router=a;this.activatedRoute=b;this.routeChangeStart=new F.Subject;this.routeChangeSuccess=new F.Subject;this.locationChangeStart=new F.Subject;this.locationChangeSuccess=new F.Subject;this.routeUpdate=new F.Subject;this.viewContentLoaded=new F.Subject;this.navigationEnd$=this.router.events.pipe(Zd(tBa));this.navigationOver$=this.router.events.pipe(Zd(function(d){return hnc.some(function(e){return d instanceof e})}));yH(this,Wza).subscribe(function(d){c.routeChangeStart.next({params:Object.assign({},
d.snapshot.queryParams,d.snapshot.params)})});a=yH(this,Nkc);(0,F.merge)(this.navigationOver$.pipe(ke(F.NEVER)),this.routeChangeStart.pipe(ke(a))).pipe(pe(Ed),qe(this.destroyed$),Zd(function(d){return d.snapshot.routeConfig.isRootRoute}),E(function(d){return{params:Object.assign({},d.snapshot.queryParams,d.snapshot.params)}})).subscribe(function(d){c.routeChangeSuccess.next(d)});yH(this,ll).pipe(E(function(d){return d.url}),fe()).subscribe(function(){c.locationChangeStart.next()});yH(this,Xk).pipe(E(function(d){return d.url}),
fe()).subscribe(function(){c.locationChangeSuccess.next()});a=this.activatedRoute.queryParams.pipe(se(yH(this,Fkc)));(0,F.merge)(this.routeChangeStart.pipe(ke(F.NEVER)),this.navigationOver$.pipe(ke(a))).pipe(pe(Ed),qe(this.destroyed$)).subscribe(function(d){d=k(d);d.next();d=d.next().value;c.routeUpdate.next({params:d.state.root.params})});yH(this,Xk).subscribe(function(){c.viewContentLoaded.next()})};V(zH,kE);zH.\u0275dir=kE.\u0275dir;
var yH=function(a,b){return a.router.events.pipe(Zd(function(c){return c instanceof b}),E(function(c){return c}),qe(a.destroyed$))};zH.\u0275fac=function(a){return new (a||zH)(w(GG),w(Sk))};zH.\u0275prov=nc({token:zH,factory:zH.\u0275fac,providedIn:"root"});var wBa=Omc("last-visit"),xBa=Omc("last-visit-count"),zBa=Qmc("last-visit"),yBa=Qmc("last-visit-count");null==Date.now&&(Date.now=function(){return(new Date).getTime()});var inc=il("onedev-darkmode"),jnc=il("hasClickedCommentSortBtn"),AH=function(a,b,c,d){kE.call(this);var e=this;this.journeyTracker=d;this.preapply=function(){var y=knc;return function(B){return function(I,N){e.trackEvent(y,B,I,N)}}};ABa();kl("dimension13",b.getUserTypeLabel());d=b.getUserPreferences();var g=d.needsAttentionPreferences,h;g=null==g?"default":null==g?void 0:null==(h=g.selectedSignals)?void 0:h.length;kl("dimension1",g);kl("dimension7",inc()?"dark":"default");var l;kl("dimension3",null==
(l=d.themePreferences)?void 0:l.density);kl("dimension6",iE(b,"readUnreadOptOut"));kl("dimension8",iE(b,"enableEnhancedCommentThread"));kl("dimension9",jnc());h=d.showFullHistory?"fh":"comments";var q;if(iE(b,"enableCommentFiltering")&&(null==(q=d.commentFilterPreferences)?0:q.commentFilter)){var v;h=null==(v=d.commentFilterPreferences)?void 0:v.commentFilter}kl("dimension2",h);kl("dimension5",d.showRecentEventsFirst?"newestFirst":"oldestFirst");kl("dimension11",iE(b,"enableHomepageVariantA"));this.subscriptions.add(a.viewContentLoaded.pipe(oe(void 0)).subscribe(function(){var y=
sBa(c.snapshot);kl("page",y);gBa({hitType:"pageview",page:y})}))};V(AH,kE);AH.\u0275dir=kE.\u0275dir;AH.prototype.trackEvent=function(a,b,c,d){jl(a,b,c,"boolean"===typeof d?d?1:0:d);d=this.journeyTracker;a=nBa(a,b,c);b=k(Object.entries($mc));for(c=b.next();!c.done;c=b.next()){var e=k(c.value);c=e.next().value;e=e.next().value;if(a.match(new RegExp(c))){anc(d,e);break}}};
var lnc=function(a,b,c){gBa(Object.assign({},{hitType:"timing",timingCategory:"userAction",timingVar:a,timingValue:b},void 0!==c?{timingLabel:c}:{}))};AH.\u0275fac=function(a){return new (a||AH)(w(zH),w(rp),w(Sk),w(tH))};AH.\u0275prov=nc({token:AH,factory:AH.\u0275fac,providedIn:"root"});var BH=function(a){r.call(this,a)};V(BH,r);f=BH.prototype;f.getComponentId=function(){return Wh(this,1)};f.setComponentId=function(a){return n(this,1,a)};f.hasComponentId=function(){return Aj(this,1)};f.getType=function(){return Fh(this,2,0)};f.setType=function(a){return n(this,2,a)};f.hasType=function(){return Vh(this,2)};f.getPriority=function(){return Fh(this,3,0)};f.setPriority=function(a){return n(this,3,a)};f.hasPriority=function(){return Vh(this,3)};
f.getSeverity=function(){return Fh(this,4,0)};f.setSeverity=function(a){return n(this,4,a)};f.hasSeverity=function(){return Vh(this,4)};f.getStatus=function(){return Fh(this,5,0)};f.setStatus=function(a){return n(this,5,a)};f.hasStatus=function(){return Vh(this,5)};f.getReporter=function(){return W(this,Wg,6)};f.setReporter=function(a){Oh(this,Wg,6,a)};f.getAssignee=function(){return W(this,Wg,7)};f.setAssignee=function(a){Oh(this,Wg,7,a)};f.clearAssignee=function(){return Qp(this,7)};
f.getVerifier=function(){return W(this,Wg,8)};f.setVerifier=function(a){Oh(this,Wg,8,a)};f.clearVerifier=function(){return Qp(this,8)};f.getCcsList=function(){return yg(this,Wg,9)};f.addHotlistIds=function(a,b){return eb(this,10,a,b)};f.getBlockingIssueIdsList=function(){return Wj(this,12)};f.getInProd=function(){return vi(this,15)};f.setInProd=function(a){xi(this,15,a)};f.getSloSnoozeUntil=function(){return W(this,ug,16)};f.setSloSnoozeUntil=function(a){Oh(this,ug,16,a)};
f.getSloEndTime=function(){return W(this,ug,20)};f.setSloEndTime=function(a){Oh(this,ug,20,a)};f.getRetention=function(){return Fh(this,17,0)};f.setRetention=function(a){n(this,17,a)};f.getEntityStatus=function(){return W(this,KD,18)};f.getIsArchived=function(){return vi(this,19)};f.setIsArchived=function(a){return xi(this,19,a)};f.getAccessLimitLevel=function(){return Fh(this,21,0)};f.setAccessLimitLevel=function(a){n(this,21,a)};f.hasAccessLimitLevel=function(){return Vh(this,21)};
BH.repeatedFields_=[9,10,11,12,14];BH.prototype.toObject=function(){return mnc(this)};
var mnc=function(a){if(null!=a)return t(a),{componentId:p(m(a,1)),type:p(m(a,2)),priority:p(m(a,3)),severity:p(m(a,4)),status:p(m(a,5)),reporter:OC(a.getReporter()),assignee:OC(a.getAssignee()),verifier:OC(a.getVerifier()),ccsList:Mb(a.getCcsList(),OC),hotlistIdsList:p(Wj(a,10)),blockedByIssueIdsList:p(Wj(a,11)),blockingIssueIdsList:p(Wj(a,12)),canonicalIssueId:p(m(a,13)),duplicateIssueIdsList:p(Wj(a,14)),inProd:p(Db(a,15)),sloSnoozeUntil:pr(a.getSloSnoozeUntil()),sloEndTime:pr(a.getSloEndTime()),
retention:p(m(a,17)),entityStatus:LD(a.getEntityStatus()),isArchived:p(Db(a,19)),accessLimitLevel:p(m(a,21))}},nnc=[BH,1,pq,2,Nq,3,Nq,4,Nq,5,Nq,6,X,PC,7,X,PC,8,X,PC,9,Iq,PC,10,qq,11,qq,12,qq,13,pq,14,qq,15,zq,16,X,qr,20,X,qr,17,Nq,18,X,MD,19,zq,21,Nq];BH.prototype.serializeBinary=u(nnc);var CH=function(a){r.call(this,a,0,CH.messageId)};V(CH,r);f=CH.prototype;f.getIssueId=function(){return Wh(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.getIssueState=function(){return W(this,BH,2)};f.getVersion=function(){return Ag(this,3)};f.setVersion=function(a){return n(this,3,a)};f.getVersionOrUndefined=function(){return cq(this,3)};f.getCreatedTime=function(){return W(this,ug,4)};f.getModifiedTime=function(){return W(this,ug,5)};f.getResolvedTime=function(){return W(this,ug,6)};
f.getVerifiedTime=function(){return W(this,ug,7)};f.getSloId=function(){return Wh(this,9)};f.setSloId=function(a){return n(this,9,a)};f.getSloStatus=function(){return W(this,mi,10)};f.setSloStatus=function(a){Oh(this,mi,10,a)};f.hasSloStatus=function(){return qi(this,mi,10)};f.getRetentionState=function(){return W(this,li,11)};f.setRetentionState=function(a){Oh(this,li,11,a)};f.getAccessLimit=function(){return W(this,Pg,12)};f.setAccessLimit=function(a){return Oh(this,Pg,12,a)};
f.getTeamId=function(){return Wh(this,13)};f.setTeamId=function(a){return n(this,13,a)};
f.toObject=function(){if(null!=this){t(this);var a={issueId:p(m(this,1)),issueState:mnc(this.getIssueState()),version:p(Cb(this,3)),createdTime:pr(this.getCreatedTime()),modifiedTime:pr(this.getModifiedTime()),resolvedTime:pr(this.getResolvedTime()),verifiedTime:pr(this.getVerifiedTime()),sloId:p(m(this,9)),sloStatus:vfc(this.getSloStatus()),retentionState:ffc(this.getRetentionState()),accessLimit:hdc(this.getAccessLimit()),teamId:p(m(this,13))}}else a=void 0;return a};
f.serializeBinary=u([CH,1,pq,2,X,nnc,3,wq,4,X,qr,5,X,qr,6,X,qr,7,X,qr,9,pq,10,X,wfc,11,X,gfc,12,X,idc,13,pq]);CH.messageId="b.IssueMetadata";var DH=function(a){r.call(this,a)};V(DH,r);DH.prototype.getIssueIdsList=function(){return Wj(this,1)};DH.prototype.setIssueIdsList=function(a){return bb(this,1,a,Ta)};DH.prototype.addIssueIds=function(a){eb(this,1,a)};DH.repeatedFields_=[1];DH.prototype.toObject=function(){if(null!=this){t(this);var a={issueIdsList:p(Wj(this,1)),read:p(Db(this,2))}}else a=void 0;return a};DH.prototype.serializeBinary=u([DH,1,qq,2,zq]);var EH=function(a){r.call(this,a,0,EH.messageId)};V(EH,r);EH.prototype.toObject=function(){if(null!=this){t(this);var a={readTimestamp:p(m(this,1))}}else a=void 0;return a};EH.prototype.serializeBinary=u([EH,1,pq]);EH.messageId="b.UpdateIssueReadTimestampResponse";var FH=function(a){this.executor=a};FH.prototype.delete=function(a,b){var c=new HD;c.setIssueId(String(a));c.setReason(kua[b]);return this.executor.post({url:"action/issues/"+a+"/delete",body:c,responseConstructor:null})};FH.prototype.undelete=function(a){var b=new TD;b.setIssueId(String(a));return this.executor.post({url:"action/issues/"+a+"/undelete",body:b,responseConstructor:null})};FH.prototype.getMetadata=function(a){return this.executor.get({url:"action/issues/"+a+"/metadata",responseConstructor:CH}).then(Bva)};
FH.prototype.markRead=function(a,b){b=void 0===b?!0:b;var c=new DH;c.setIssueIdsList(a.map(Number));xi(c,2,b);return this.executor.post({url:"action/issues/read_timestamp",body:c,responseConstructor:EH}).then(Ava)};FH.\u0275fac=function(a){return new (a||FH)(w(CC))};FH.\u0275prov=nc({token:FH,factory:FH.\u0275fac,providedIn:"root"});var GH=function(){this.refreshRequest=new F.Subject};GH.prototype.getObservable=function(){return this.refreshRequest};var onc=function(a,b){return a.getObservable().pipe(oe(void 0)).pipe(pe(function(){return b}))};GH.\u0275fac=function(a){return new (a||GH)};GH.\u0275prov=nc({token:GH,factory:GH.\u0275fac,providedIn:"root"});var HH=Yl.ISSUE,IH=function(a,b,c,d,e,g,h,l){oF.call(this);var q=this;this.batchApiAdapter=a;this.issueResources=b;this.userResources=c;this.refreshMonitor=d;this.issueService=e;this.activeSession=g;this.hotlistFridge=h;this.analytics=l;this.recordType="issue";this.normalizeQueryResponses=!1;this.idForRecord=function(v){return String(v.issueId)};this.isEqual=Fg;this.issueFetchResponse$=new F.Subject;this.get=this.batchApiAdapter.adapt({bufferTimeMs:0,call:function(v){return q.call(v)},split:function(v,
y){return q.splitBatch(v,y)}});this.refreshMonitor.getObservable().subscribe(function(){q.invalidate()})};V(IH,oF);IH.prototype.fetchOne=function(a){return this.get(a).pipe(ce(function(){return(0,F.of)(void 0)}))};IH.prototype.fetchSet=function(a){var b=this;return(0,F.combineLatest)(a.map(function(c){return b.fetchOne(c)})).pipe(E(function(c){return c.filter(eh)}))};
IH.prototype.fetchAll=function(a){var b=a.filter;a={s:a.sort,count:a.pageSize};if(b)return this.issueResources.listIssues(b,a).pipe(E(function(c){return{results:c.issues,totalSize:c.numTotalResults}}));throw Error("Fc");};IH.prototype.copy=function(a){return a&&Gg(a)};
var pnc=function(a,b,c){a.analytics.trackEvent(HH,"light-ixn","star");var d={starred:c,voted:null,notificationSubscription:null};Ihc(a.activeSession)&&(d.voted=c);return Jmc(a.userResources,b,d).pipe(re(function(){nF(a,b,function(e){e.userData&&(e.userData.starred=c,Ihc(a.activeSession)&&(e.userData.voted=c))})}))};
IH.prototype.setVoted=function(a,b){var c=this;this.analytics.trackEvent(HH,"light-ixn","vote",b);return Jmc(this.userResources,a,{voted:b,starred:null,notificationSubscription:null}).pipe(re(function(){nF(c,a,function(d){d.userData&&(d.userData.voted=b)})}))};
IH.prototype.setNotificationSubscription=function(a,b){var c=this,d;return Ld(function(e){if(1==e.nextAddress)return c.analytics.trackEvent(HH,"light-ixn","notifs",Number(b)),d={voted:null,starred:null,notificationSubscription:b},e.yield((0,F.firstValueFrom)(Jmc(c.userResources,a,d)),2);nF(c,a,function(g){g.userData&&(g.userData.notificationSubscription=b)});Qd(e)})};
var qnc=function(a,b,c){a.analytics.trackEvent(HH,"edit","title");var d={issueId:b,actions:[{fieldName:"title",value:c}]};nF(a,b,function(e){e.snapshot[0].title=c});return a.issueResources.updateIssue(b,d).pipe(re(function(e){e&&a.announce(e.issue)}))},rnc=function(a,b,c,d){var e,g,h,l,q,v,y;return Ld(function(B){if(1==B.nextAddress){a.analytics.trackEvent(HH,"edit","hotlists");e={removeHotlistIds:d,addHotlistIds:c,hotlistIssue:{issueId:b}};g=k([].concat(Jc(c),Jc(d)));for(h=g.next();!h.done;h=g.next())l=
h.value,a.hotlistFridge.setIsSaving(l);Md(B,2);return B.yield((0,F.firstValueFrom)(a.issueResources.updateIssueHotlists(b,e)).finally(function(){for(var I=k([].concat(Jc(c),Jc(d))),N=I.next();!N.done;N=I.next())a.hotlistFridge.clearIsSaving(N.value)}),4)}if(2!=B.nextAddress)return(q=B.yieldResult)&&a.announce(q.issue),B.return(null==(v=q)?void 0:v.issue);y=Pd(B);a.poke(b);throw y;})},snc=function(a,b,c){return JH(a,"ADD","DUPLICATE",c,[b]).then(function(){return a.poke(b)})};
IH.prototype.removeDuplicate=function(a,b){var c=this;return JH(this,"REMOVE","DUPLICATE",b,[a]).then(function(){return c.poke(a)})};
var JH=function(a,b,c,d,e){if(0===e.length||null==d)return Promise.resolve(void 0);a.analytics.trackEvent(HH,"edit","relation",Number(c));b={relation:c,issueId:d,targetIds:e,actionType:b};tnc(a,b);var g=[d].concat(Jc(e));e=k(g);for(c=e.next();!c.done;c=e.next())a.setIsSaving(c.value);return(0,F.firstValueFrom)(a.issueResources.relateIssue(d,b)).then(function(h){h&&a.announce(h.issue)}).catch(function(h){a.poke(d);throw h;}).finally(function(){for(var h=k(g),l=h.next();!l.done;l=h.next())a.clearIsSaving(l.value)})},
KH=function(a,b,c){c=void 0===c?{}:c;var d=void 0===c.markRead?!0:c.markRead,e=void 0===c.eagerUpdate?!0:c.eagerUpdate,g,h,l,q;return Ld(function(v){if(1==v.nextAddress)return a.activeSession.isAnonymous()?v.return():v.yield(a.issueService.markRead(b,d),2);g=v.yieldResult;if(e)for(h=k(b),l=h.next();!l.done;l=h.next())q=l.value,nF(a,String(q),function(y){y.userData&&(y.userData.lastViewedTimeMicros=g.readTimestamp)});return v.return(g.readTimestamp?Math.round(g.readTimestamp/1E3):void 0)})},tnc=function(a,
b){nF(a,b.issueId,function(c){switch(b.relation){case "BLOCKED_BY":if("ADD"===b.actionType){var d;c.snapshot[0].blockedByIssueId=[].concat(Jc(null!=(d=c.snapshot[0].blockedByIssueId)?d:[]),Jc(b.targetIds.map(String)))}else if("REMOVE"===b.actionType){var e,g;c.snapshot[0].blockedByIssueId=null!=(g=null==(e=c.snapshot[0].blockedByIssueId)?void 0:e.filter(function(h){return!b.targetIds.includes(String(h))}))?g:[]}}})};
IH.prototype.call=function(a){var b=this;if(1===a.size){var c=[].concat(Jc(a))[0];return this.issueResources.getIssue(c).pipe(re(function(d){b.issueFetchResponse$.next(d)}),E(function(d){return new Map([[c,d.issue]])}))}return this.issueResources.batchGetIssues([].concat(Jc(a))).pipe(E(function(d){return new Map(d.map(function(e){return[e.issueId,e]}))}))};IH.prototype.splitBatch=function(a,b){return b.get(a)};IH.\u0275fac=function(a){return new (a||IH)(w(rF),w(GE),w(iH),w(GH),w(FH),w(rp),w(lH),w(AH))};
IH.\u0275prov=nc({token:IH,factory:IH.\u0275fac,providedIn:"root"});var LH=function(a,b){oF.call(this);this.observableIssueResources=a;this.issueFridge=b;this.recordType="issue-fr";this.idForRecord=function(c){return c.issueId};this.isEqual=Fg;this.destroyed$=new F.ReplaySubject(1);Mmc?a=void 0:(Mmc=!0,a=TAa());a&&unc(this,a);this.issueFridge.issueFetchResponse$.pipe(Zd(eh),E(CBa),qe(this.destroyed$)).subscribe(this.announce)};V(LH,oF);
var MH=function(a,b){return a.watch(b).pipe(pe(function(c){return a.issueFridge.watch(b).pipe(E(function(d){return c&&d&&Object.assign({},c,{issue:d})}))}))},NH=function(a,b,c){return a.poke(b,c).then(function(){return(0,F.firstValueFrom)(MH(a,b))})},unc=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)};
LH.prototype.fetchOne=function(a){var b=this;this.issueFridge.setIsGetting(a);return this.observableIssueResources.getIssue(a).pipe(re(function(c){(null==c?0:c.issue)&&b.issueFridge.announce(c.issue);b.issueFridge.clearIsGetting(a)}),E(function(c){return c&&CBa(c)}),ce(function(c){b.issueFridge.clearIsGetting(a);return(0,F.throwError)(c)}))};LH.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};LH.prototype.copy=function(a){return a&&Object.assign({},a)};
LH.\u0275fac=function(a){return new (a||LH)(w(GE),w(IH))};LH.\u0275prov=nc({token:LH,factory:LH.\u0275fac,providedIn:"root"});var OH={},vnc=(OH.BUG="BUG",OH.FEATURE_REQUEST="FEATURE_REQUEST",OH.CUSTOMER_ISSUE="CUSTOMER_ISSUE",OH.INTERNAL_CLEANUP="INTERNAL_CLEANUP",OH.PROCESS="PROCESS",OH.VULNERABILITY="VULNERABILITY",OH.PRIVACY_ISSUE="PRIVACY_ISSUE",OH.EPIC="STORY",OH.STORY="TASK",OH.TASK="TASK",OH.PROJECT="TASK",OH.FEATURE="TASK",OH.MILESTONE="TASK",OH);var PH=function(a,b,c){mF.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=Fg;this.activeMoveOperation$=new F.BehaviorSubject(new Set);this.defaultQuery={type:"descendants",depth:1};this.assignParentToIssues=EBa(function(e,g){return wnc(d,e,g)});this.assignParentToOneIssue=function(e,g){return wnc(d,String(e),[{issueId:g}])};
this.moveChildrenInAPI=DBa(function(e){return d.moveChildrenInAPISequentially(e)});this.moveChildrenInAPISequentially=EBa(function(e){var g,h,l,q,v,y,B,I,N,Q,Z,Y,ka,la,Da,za,Oa,Va,Ya,Xb,Bb,db,wa,Na,Qa,nb;return Ld(function(ib){switch(ib.nextAddress){case 1:h=KBa(e);if(0===h.length)return ib.return();l=h.map(function(hd){return hd.issues.map(function(pb){return pb.parentId})}).flat();q=h.map(function(hd){return hd.newParentId});v=gk([].concat(Jc(l),Jc(q)));y=k(v);for(B=y.next();!B.done;B=y.next())I=
B.value,d.setIsSaving(I);Md(ib,2);N=k(h);Q=N.next();case 4:if(Q.done){xp(ib,3);break}Z=Q.value;Y={};ka=k(Z.newRelations);la=ka.next();case 7:if(la.done){Q=N.next();ib.jumpTo(4);break}Y.$jscomp$loop$prop$newRelation$2285=la.value;Da=Z.issues.find(function(hd){return function(pb){return pb.issueId===hd.$jscomp$loop$prop$newRelation$2285.targetIssueId}}(Y)).parentId;if(Z.newParentId===Da)return Oa=void 0,ib.yield((0,F.firstValueFrom)(d.issueRelationshipService.update(Z.newParentId,1,JE(Oic(new IE,null!=
(Oa=Zg(Y.$jscomp$loop$prop$newRelation$2285.afterIssueId))?Oa:0),Number(Y.$jscomp$loop$prop$newRelation$2285.targetIssueId)))),8);za=void 0;return ib.yield((0,F.firstValueFrom)(d.issueRelationshipService.create(Z.newParentId,1,JE(Oic(new IE,null!=(za=Zg(Y.$jscomp$loop$prop$newRelation$2285.afterIssueId))?za:0),Number(Y.$jscomp$loop$prop$newRelation$2285.targetIssueId)))).catch(function(hd){var pb,Ib;if(!(null==hd?0:null==(pb=hd.error)?0:null==(Ib=pb.details)?0:Ib.includes("ALREADY_EXISTS")))throw hd;
}),12);case 12:return ib.yield((0,F.firstValueFrom)(d.issueRelationshipService.delete(Da,1,Y.$jscomp$loop$prop$newRelation$2285.targetIssueId)),8);case 8:Y={$jscomp$loop$prop$newRelation$2285:Y.$jscomp$loop$prop$newRelation$2285};la=ka.next();ib.jumpTo(7);break;case 2:g=Va=Pd(ib);case 3:Ya=d.activeMoveOperation$.value;Xb=k(e.map(function(hd){return hd.eventTimestamps}).flat());for(Bb=Xb.next();!Bb.done;Bb=Xb.next())db=Bb.value,Ya.delete(db);d.activeMoveOperation$.next(Ya);wa=k(v);for(B=wa.next();!B.done;B=
wa.next())Na=B.value,d.clearIsSaving(Na);Promise.all(v.map(function(hd){return d.poke(hd)}));Qa=k(h);for(Q=Qa.next();!Q.done;Q=Qa.next())nb=Q.value,g&&nb.done.reject(g),nb.done.resolve();Qd(ib)}})});this.refreshMonitor.getObservable().subscribe(function(){d.invalidate()})};V(PH,mF);
PH.prototype.fetchOne=function(a){var b=this;return xnc(this,function(){return b.issueRelationshipService.list(a,1).pipe(E(function(c){return{issueId:a,relatedChildren:c.map(oua),totalChildCount:c.length}}),ce(function(c){return Bk(c)&&403===c.status?(0,F.of)(void 0):(0,F.throwError)(c)}))})};
PH.prototype.fetchAll=function(a){var b=this;switch(a.type){case "descendants":var c,d=[].concat(Jc(null!=(c=a.ids)?c:[]));return 0===d.length?(0,F.of)({results:[]}):xnc(this,function(){return b.issueRelationshipService.getDescendants({issueIds:d,relationshipType:1,includeArchived:!!a.includeArchived,depthLimit:a.depth,prefixSizeLimit:500}).pipe(E(vva),E(function(e){return{results:e}}))});default:og(a.type)}};PH.prototype.copy=function(a){return a&&Gg(a)};
var xnc=function(a,b){var c=function(){return a.activeMoveOperation$.pipe(Zd(function(d){return 0===d.size}),pe(function(){return b()}),pe(function(d){return 0===a.activeMoveOperation$.value.size?(0,F.of)(d):c()}),ge())};return c()},ync=function(a,b){return a.watch(b).pipe(pe(function(c){return c&&c.totalChildCount===c.relatedChildren.length?(0,F.of)(c):a.watch(b,{trustMemory:!1})}))},znc=function(a,b,c){return a.watchMany({type:"descendants",ids:new Set([b]),depth:void 0===c?100:c})},Anc=function(a,
b){return a.pokeMany({type:"descendants",ids:new Set([b]),depth:3})};
PH.prototype.unlinkFromParent=function(a,b,c){c=void 0===c?!1:c;var d=this,e;return Ld(function(g){switch(g.nextAddress){case 1:nF(d.issueFridge,b,function(h){--h.childIssueCount});nF(d.issueFridge,a,function(h){h.parentIssueIds=h.parentIssueIds.filter(function(l){return l!==b})});nF(d,b,function(h){var l=h.relatedChildren;h.relatedChildren=JBa(l,a);h.totalChildCount-=l.length-h.relatedChildren.length});if(c)return g.return();Md(g,2);return g.yield((0,F.firstValueFrom)(d.issueRelationshipService.delete(b,
1,a)),4);case 4:xp(g,0);break;case 2:return e=Pd(g),g.yield(Promise.all([d.poke(b),d.issueFridge.poke(b),d.issueFridge.poke(a)]),5);case 5:throw e;}})};
var wnc=function(a,b,c){var d,e,g,h,l,q,v,y,B,I;return Ld(function(N){switch(N.nextAddress){case 1:d=[];e=[];g=[];if(0===c.length)return N.return({added:d,notAdded:e});h=Bnc(a,b);l=c.map(function(Q,Z){var Y="-1"===Q.afterIssueId?h:Q.afterIssueId;return{targetIssueId:Q.issueId,afterIssueId:Z?c[Z-1].issueId:Y}});Cnc(a,b,l);q=k(l);v=q.next();case 2:if(v.done){N.jumpTo(4);break}y=v.value;Md(N,5);B=void 0;return N.yield((0,F.firstValueFrom)(a.issueRelationshipService.create(b,1,JE(Oic(new IE,null!=(B=
Zg(y.afterIssueId))?B:0),Number(y.targetIssueId)))),7);case 7:d.push(y.targetIssueId);xp(N,3);break;case 5:I=Pd(N);if(!Bk(I))throw I;g.push(I);e.push(y.targetIssueId);case 3:v=q.next();N.jumpTo(2);break;case 4:return Promise.all([a.poke(b),a.issueFridge.poke(b)]),N.return(Object.assign({},{added:d,notAdded:e},g.length?{errors:g}:{}))}})},Cnc=function(a,b,c){var d=0;nF(a,b,function(e){var g=IBa(e.relatedChildren,c);d=g.length-e.relatedChildren.length;e.relatedChildren=g;e.totalChildCount+=d},{evenWhenInFlight:!0});
nF(a.issueFridge,b,function(e){e.childIssueCount+=d},{evenWhenInFlight:!0})},Dnc=function(a,b,c){var d,e,g,h,l,q,v,y,B,I,N,Q;return Ld(function(Z){if(1==Z.nextAddress)return d=[],e=[],g=[],0===c.length?Z.return({added:d,notAdded:e}):Z.yield(Promise.allSettled(c.map(function(Y){return(0,F.firstValueFrom)(a.issueRelationshipService.create(Y,1,JE(Oic(new IE,Number(Bnc(a,Y))),Number(b))))})),2);h=Z.yieldResult;l=k(h.entries());for(q=l.next();!q.done;q=l.next())v=q.value,y=k(v),B=y.next().value,I=y.next().value,
N=B,Q=I,"fulfilled"===Q.status&&d.push(c[N]),"rejected"===Q.status&&(e.push(c[N]),g.push(Q.reason));Promise.all(c.map(function(Y){return a.poke(Y)}));return Z.return({added:d,notAdded:e,errors:g})})},Enc=function(a,b,c){var d=b.parentId,e=Date.now();a.activeMoveOperation$.next(a.activeMoveOperation$.value.add(e));for(var g={},h=k(c),l=h.next();!l.done;g={$jscomp$loop$prop$issue$2287:g.$jscomp$loop$prop$issue$2287},l=h.next())g.$jscomp$loop$prop$issue$2287=l.value,nF(a,g.$jscomp$loop$prop$issue$2287.parentId,
function(ka){return function(la){la.relatedChildren=JBa(la.relatedChildren,ka.$jscomp$loop$prop$issue$2287.issueId);--la.totalChildCount}}(g));var q=void 0,v;if(null==(v=b.position)?0:v.issueId){var y;if("after"===(null==(y=b.position)?void 0:y.position))q=b.position.issueId;else{var B;if("before"===(null==(B=b.position)?void 0:B.position)){var I,N;g=null!=(N=null==(I=a.memory.getData(d))?void 0:I.relatedChildren)?N:[];I=k(g.entries());for(N=I.next();!N.done;N=I.next())if(h=k(N.value),N=h.next().value,
h=h.next().value,h.targetIssueId===b.position.issueId){b=void 0;q=null==(b=g[N-1])?void 0:b.targetIssueId;break}}}}var Q=c.map(function(ka,la){return{targetIssueId:ka.issueId,afterIssueId:la?c[la-1].issueId:q}});void 0!==Ajc(a,d)?nF(a,d,function(ka){ka.relatedChildren=IBa(ka.relatedChildren,Q);ka.totalChildCount+=Q.length},{evenWhenInFlight:!0}):a.announce({issueId:d,relatedChildren:IBa([],Q),totalChildCount:Q.length});b=new cya;var Z,Y;a.moveChildrenInAPI({newParentId:d,newRelations:Q,issues:c,eventTimestamps:[e],
newParentChildrenSnapshot:null!=(Y=null==(Z=a.memory.getData(d))?void 0:Z.relatedChildren)?Y:[],done:b});return b.promise},Bnc=function(a,b){var c;a=null==(c=a.memory.getData(b))?void 0:c.relatedChildren;var d,e;return null!=(e=null==a?void 0:null==(d=a[(null==a?NaN:a.length)-1])?void 0:d.targetIssueId)?e:"0"};PH.\u0275fac=function(a){return new (a||PH)(w(YE),w(IH),w(GH))};PH.\u0275prov=nc({token:PH,factory:PH.\u0275fac,providedIn:"root"});var QH=function(a){oF.call(this);this.observableAccessResources=a;this.recordType="permissions"};V(QH,oF);QH.prototype.fetchOne=function(a){return this.fetchSet([a]).pipe(E(function(b){return k(b).next().value}))};
QH.prototype.fetchSet=function(a){for(var b=[],c=k(a),d=c.next();!d.done;d=c.next())d=d.value,b.push(["admin",d]),b.push(["writer",d]),b.push(["appender",d]),b.push(["reader",d]);c=b.map(function(e){return e[0]});b=b.map(function(e){return e[1]});return this.observableAccessResources.bulkGetUserAccess(c,b).pipe(E(function(e){return a.map(function(g){return Object.assign({},e[g],{id:g})})}))};QH.\u0275fac=function(a){return new (a||QH)(w(LF))};QH.\u0275prov=nc({token:QH,factory:QH.\u0275fac,providedIn:"root"});var Fnc={results:[]},RH=function(a){oF.call(this);this.savedSearchResources=a;this.recordType="savedSearch";this.idKey="searchId"};V(RH,oF);RH.prototype.fetchAll=function(a){if("me"===a.parent)return this.savedSearchResources.getUserSavedSearches().pipe(E(function(b){return{results:b}}));rg("Unsupported query for Fridge['"+this.recordType+"']",a);return(0,F.of)(Fnc)};RH.\u0275fac=function(a){return new (a||RH)(w(iH))};RH.\u0275prov=nc({token:RH,factory:RH.\u0275fac,providedIn:"root"});var Gnc=function(a,b){this.rawGet=a;this.cacheSize=b;this.lruCache=new WG(this.cacheSize,!0,function(c,d){d.subscription.unsubscribe()})};Gnc.prototype.get=function(a){var b=this;return new F.Observable(function(c){var d=b.lruCache.get(a);d||(d=Hnc(b,a));return d.obs$.subscribe(c)})};
var Hnc=function(a,b){var c=a.rawGet(b).pipe(ne({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 Inc(c,d);a.lruCache.set(b,c);return c},Inc=function(a,b){this.obs$=a;this.subscription=b};var SH=function(a){r.call(this,a,0,SH.messageId)};V(SH,r);SH.prototype.setTeamIdsList=function(a){return $h(this,1,a)};SH.repeatedFields_=[1];SH.prototype.toObject=function(){if(null!=this){t(this);var a={teamIdsList:p(Bg(this,1))}}else a=void 0;return a};SH.prototype.serializeBinary=u([SH,1,oq]);SH.messageId="b.BatchChildTeamsRequest";var TH=function(a){r.call(this,a)};V(TH,r);TH.repeatedFields_=[1];TH.prototype.toObject=function(){return Jnc(this)};var Jnc=function(a){if(null!=a)return t(a),{teamSummariesList:Mb(yg(a,ZD,1),jgc)}},Knc=[TH,1,Iq,kgc];TH.prototype.serializeBinary=u(Knc);var UH=function(a){r.call(this,a,0,UH.messageId)};V(UH,r);UH.prototype.toObject=function(){if(null!=this){t(this);var a={childTeamsMap:Ob(Ii(this,1,TH),Jnc)}}else a=void 0;return a};UH.prototype.serializeBinary=u([UH,1,Sq,Knc]);UH.messageId="b.BatchChildTeamsResponse";var VH=function(a){r.call(this,a,0,VH.messageId)};V(VH,r);VH.prototype.toObject=function(){if(null!=this){t(this);var a={teamsMap:Ob(Ii(this,1,XD),fgc)}}else a=void 0;return a};VH.prototype.serializeBinary=u([VH,1,Sq,ggc]);VH.messageId="b.BatchGetTeamsResponse";var WH=function(a){r.call(this,a,0,WH.messageId)};V(WH,r);WH.prototype.getTeamSuggestionsList=function(){return yg(this,YD,1)};WH.prototype.setTeamSuggestionsList=function(a){Th(this,1,a)};WH.repeatedFields_=[1];WH.prototype.toObject=function(){if(null!=this){t(this);var a={teamSuggestionsList:Mb(this.getTeamSuggestionsList(),hgc)}}else a=void 0;return a};WH.prototype.serializeBinary=u([WH,1,Iq,igc]);WH.messageId="b.TeamSuggestionResult";var XH=function(a){r.call(this,a,0,XH.messageId)};V(XH,r);XH.prototype.getTeamId=function(){return lh(this,1)};XH.prototype.setTeamId=function(a){return n(this,1,a)};XH.prototype.toObject=function(){if(null!=this){t(this);var a={teamId:p(m(this,1)),sloMetadata:dgc(W(this,yi,2))}}else a=void 0;return a};XH.prototype.serializeBinary=u([XH,1,mq,2,X,egc]);XH.messageId="b.UpdateTeamSloRequest";var YH=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 Gnc(function(e){return d.batchAdaptedGet(e)},100)};YH.prototype.get=function(a){return this.executor.get({url:"action/teams/"+a,responseConstructor:XD}).pipe(E(Sua))};YH.prototype.getTeam=function(a){return this.memoizingTeamStateMap.get(a)};
var ZH=function(a,b){return a.getTeam(b).pipe(E(function(c){return null!=c?c:LBa(b)}),ce(function(){return(0,F.of)(LBa(b))}))},Lnc=function(a,b){b=b.filter(function(c){return"0"!==c}).map(function(c){return a.getTeam(c)});return(0,F.forkJoin)(b).pipe(E(function(c){var d=new Map;c=k(c);for(var e=c.next();!e.done;e=c.next())(e=e.value)&&d.set(e.teamId,e);return d}))};
YH.prototype.getChildTeams=function(a){a=(new SH).setTeamIdsList(a);return this.executor.post({url:"action/child_teams",body:a,responseConstructor:UH}).pipe(E(function(b){b=[].concat(Jc(Ii(b,1,TH).entries()));return new Map(b.map(function(c){var d=k(c);c=d.next().value;d=d.next().value;return[c,yg(d,ZD,1).map(Qua)]}))}))};
var $H=function(a,b){return a.executor.get({url:"action/suggest_teams",options:{params:{query:b}},responseConstructor:WH}).pipe(E(function(c){return c.getTeamSuggestionsList().map(Wua)}))},Mnc=function(a,b,c){return"0"===b?(0,F.of)(!1):a.memoizingTeamStateMap.get(b).pipe(E(function(d){return void 0!==(null==d?void 0:d.members.find(function(e){return e&&Ug(e.user)===c}))}))},Nnc=function(a,b){return a.executor.get({url:"action/teams",options:{params:{teamIds:b.join(","),view:"full"}},responseConstructor:VH}).pipe(ce(function(){return(0,F.of)(new VH)}),
E(function(c){return new Map(Array.from(Ii(c,1,XD).entries()).map(function(d){var e=k(d);d=e.next().value;e=e.next().value;return[d,Wh(e,9)]}))}))};
YH.prototype.updateTeam=function(a){var b=new XD;b.setTeamId(a.teamId);b.setVersion(a.version);b.setName(a.name);b.setDescription(a.description);b.setPathNamesList(a.pathNames);var c;b.setPathIdsList(null==(c=a.pathIds)?void 0:c.map(Zg).filter(eh));uh(b,6,a.collapsedPathNames);var d;b.setMembersList(null==(d=a.members)?void 0:d.map(Tua));b.setDeleted(a.deleted);n(b,9,a.estimatedComponentCount);b.setSlo(Uua(a.slo));null!=a.sloLead&&(c=Xg(a.sloLead),Oh(b,Wg,12,c));null!=a.defaultSloLead&&(c=Xg(a.defaultSloLead),
Oh(b,Wg,13,c));return this.executor.post({url:"action/teams/"+a.teamId,body:b,responseConstructor:XD}).pipe(E(Sua))};YH.\u0275fac=function(a){return new (a||YH)(w(BC),w(aI),w(rF))};YH.\u0275prov=nc({token:YH,factory:YH.\u0275fac,providedIn:"root"});var aI=function(a){this.executor=a};aI.prototype.call=function(a){return this.executor.get({url:"action/teams",options:{params:{teamIds:[].concat(Jc(a)).join(",")}},responseConstructor:VH}).pipe(ce(function(){return(0,F.of)(new VH)}))};
aI.prototype.split=function(a,b){return(a=Ii(b,1,XD).get(a))?Sua(a):void 0};aI.\u0275fac=function(a){return new (a||aI)(w(BC))};aI.\u0275prov=nc({token:aI,factory:aI.\u0275fac,providedIn:"root"});var bI=function(a){mF.call(this);this.teamsApi=a;this.defaultQuery={};this.recordType="TeamDigest";this.idForRecord=function(b){var c;return null!=(c=b.teamId)?c:"NO_ID"}};V(bI,mF);bI.prototype.fetchAll=function(a){if(a.myTeams)return $H(this.teamsApi,"").pipe(E(function(b){b=void 0===b?[]:b;return{results:b}}));throw Error("Gc");};bI.\u0275fac=function(a){return new (a||bI)(w(YH))};bI.\u0275prov=nc({token:bI,factory:bI.\u0275fac,providedIn:"root"});var cI=function(a){oF.call(this);this.teamsApi=a;this.recordType="team";this.idForRecord=function(b){return b.teamId}};V(cI,oF);cI.prototype.fetchOne=function(a){return"0"===a?(0,F.of)(void 0):this.teamsApi.getTeam(a).pipe(ce(function(){return(0,F.of)(void 0)}))};cI.prototype.fetchSet=function(a){var b=this;return(0,F.combineLatest)(a.map(function(c){return b.fetchOne(c)})).pipe(E(function(c){return c.filter(eh)}))};cI.\u0275fac=function(a){return new (a||cI)(w(YH))};
cI.\u0275prov=nc({token:cI,factory:cI.\u0275fac,providedIn:"root"});var dI=function(a){r.call(this,a,0,dI.messageId)};V(dI,r);dI.prototype.getTrackersList=function(){return yg(this,Zj,1)};dI.repeatedFields_=[1];dI.prototype.toObject=function(){if(null!=this){t(this);var a={trackersList:Mb(this.getTrackersList(),xgc)}}else a=void 0;return a};dI.prototype.serializeBinary=u([dI,1,Iq,ygc]);dI.messageId="b.BatchGetTrackersResponse";var eI=function(a){r.call(this,a,0,eI.messageId)};V(eI,r);eI.prototype.getTrackersList=function(){return yg(this,Zj,1)};eI.prototype.getNextPageToken=function(){return mh(this,2)};eI.prototype.getTotalSize=function(){return Ag(this,3)};eI.repeatedFields_=[1];eI.prototype.toObject=function(){if(null!=this){t(this);var a={trackersList:Mb(this.getTrackersList(),xgc),nextPageToken:p(m(this,2)),totalSize:p(Cb(this,3))}}else a=void 0;return a};eI.prototype.serializeBinary=u([eI,1,Iq,ygc,2,Cq,3,wq]);
eI.messageId="b.ListTrackersResponse";var fI=function(a){this.jspbExecutor=a};fI.prototype.get=function(a){return this.jspbExecutor.get({url:"action/trackers/"+a,responseConstructor:Zj}).pipe(E(Ova))};fI.prototype.batchGet=function(a){return this.jspbExecutor.get({url:"action/trackers/batch",responseConstructor:dI,options:{params:{trackerIds:a}}}).pipe(E(Pva))};
fI.prototype.query=function(a,b,c){return this.jspbExecutor.get({url:"action/trackers",responseConstructor:eI,options:{params:{query:a,pageSize:String(b),pageToken:void 0===c?"":c}}}).pipe(E(Qva))};fI.\u0275fac=function(a){return new (a||fI)(w(BC))};fI.\u0275prov=nc({token:fI,factory:fI.\u0275fac,providedIn:"root"});var gI=function(a,b){oF.call(this,{freshUntil:36E5,ancientAfter:2592E5});this.trackerApi=a;this.activeSession=b;this.recordType="tracker";this.idKey="trackerId";(a=this.activeSession.getTracker())&&this.announce(a)};V(gI,oF);gI.prototype.fetchOne=function(a){return this.trackerApi.get(a)};gI.prototype.fetchSet=function(a){return this.trackerApi.batchGet(a)};
gI.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(E(function(d){var e;return{results:null!=(e=null==d?void 0:d.trackers)?e:[]}}))};gI.\u0275fac=function(a){return new (a||gI)(w(fI),w(rp))};gI.\u0275prov=nc({token:gI,factory:gI.\u0275fac,providedIn:"root"});var hI=function(a){this.issueFridge=a},Onc=function(a,b,c){c=void 0===c?!1:c;if(null==b)return(0,F.of)([]);var d="(assignee:"+b+" OR reporter:"+b+") t:(bug | customer_issue | feature | feature_request | story | task | internal_cleanup | process) modified:90d status:open";c&&(d="(assignee:"+b+" OR reporter:"+b+") t:(bug | customer_issue | feature | feature_request | story | task | internal_cleanup | process)\n      modified:90d status:(open | fixed | verified)");return a.issueFridge.watchMany({filter:d,
pageSize:50,sort:"modified_time:desc"}).pipe(E(function(e){return e.results}))},Pnc=function(a){var b=xk();return a.issueFridge.watchMany({filter:vk()!==wk?"(assignee:"+b+" OR reporter:"+b+" OR commenter:"+b+") status:open modified:30d":"(assignee:"+b+" OR reporter:"+b+" OR commenter:"+b+" OR star:true) status:open modified:30d",pageSize:50,sort:"modified_time:desc"}).pipe(E(function(c){return c.results}))},Qnc=function(a){return a.issueFridge.watchMany({filter:"assignee:"+xk()+" status:open modified:30d",
pageSize:50,sort:"modified_time:desc"}).pipe(E(function(b){return b.results}))};hI.\u0275fac=function(a){return new (a||hI)(w(IH))};hI.\u0275prov=nc({token:hI,factory:hI.\u0275fac,providedIn:"root"});var iI=function(a){var b=this;this.queryIssuesService=a;this.issuesFromQuery$=(0,F.defer)(function(){return Onc(b.queryIssuesService,xk(),!0)});this.suggestedHotlists$=this.issuesFromQuery$.pipe(E(this.fetchHotlistsFromIssues.bind(this)))};
iI.prototype.fetchHotlistsFromIssues=function(a){var b=new Map;a=k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=void 0,e=void 0,g=null!=(e=null==(d=c.snapshot[0])?void 0:d.hotlistId)?e:[];d=k(g);for(e=d.next();!e.done;e=d.next())if(e=e.value,b.has(e)){g=void 0;var h=null!=(g=b.get(e))?g:{count:0,confidence:0};h.count++;h.confidence+=this.calculateConfidence(c);b.set(e,h)}else g=this.calculateConfidence(c),b.set(e,{count:1,confidence:g})}return Rnc(b)};
var Rnc=function(a){return new Map([].concat(Jc(a.entries())).sort(function(b,c){return c[1].confidence-b[1].confidence}))};iI.prototype.calculateConfidence=function(a){var b=0,c=xk(),d,e,g,h=(null==(d=a.snapshot[0])?void 0:null==(e=d.assigneeUser)?void 0:null==(g=e.emailAddress)?void 0:g.split("@")[0])===c,l,q,v;d=(null==(l=a.snapshot[0])?void 0:null==(q=l.reporterUser)?void 0:null==(v=q.emailAddress)?void 0:v.split("@")[0])===c;h&&(b+=5);d&&(b+=3);return b=lk(a)?b+2:b+1};
iI.\u0275fac=function(a){return new (a||iI)(w(hI))};iI.\u0275prov=nc({token:iI,factory:iI.\u0275fac,providedIn:"root"});var Snc=function(a){r.call(this,a)};V(Snc,r);f=Snc.prototype;f.getIssueId=function(){return lh(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.getComment=function(){return mh(this,2)};f.setComment=function(a){n(this,2,a)};f.getFormattingMode=function(){return Fh(this,3,0)};f.setFormattingMode=function(a){return n(this,3,a)};f.getContentJudgement=function(){return W(this,nh,4)};f.setContentJudgement=function(a){return Oh(this,nh,4,a)};
f.toObject=function(){if(null!=this){t(this);var a={issueId:p(m(this,1)),comment:p(m(this,2)),formattingMode:p(m(this,3)),contentJudgement:UC(this.getContentJudgement())}}else a=void 0;return a};f.serializeBinary=u([Snc,1,mq,2,Cq,3,Nq,4,X,VC]);var jI=function(a){r.call(this,a,0,jI.messageId)};V(jI,r);f=jI.prototype;f.getType=function(){return Fh(this,1,0)};f.setType=function(a){return n(this,1,a)};f.hasType=function(){return Vh(this,1)};f.setPageSize=function(a){return n(this,2,a)};f.setPageToken=function(a){return n(this,3,a)};f.toObject=function(){if(null!=this){t(this);var a={type:p(m(this,1)),pageSize:p(Cb(this,2)),pageToken:p(m(this,3))}}else a=void 0;return a};f.serializeBinary=u([jI,1,Nq,2,wq,3,Cq]);jI.messageId="b.ListCommentReactionRespondersRequest";var hj=function(a){r.call(this,a,0,hj.messageId)};V(hj,r);hj.prototype.getCreatedTime=function(){return W(this,ug,2)};hj.prototype.toObject=function(){return Tnc(this)};var Tnc=function(a){if(null!=a)return t(a),{responder:OC(W(a,Wg,1)),createdTime:pr(a.getCreatedTime())}},Unc=[hj,1,X,PC,2,X,qr];hj.prototype.serializeBinary=u(Unc);hj.messageId="b.CommentReactionResponder";var kI=function(a){r.call(this,a,0,kI.messageId)};V(kI,r);kI.prototype.getNextPageToken=function(){return mh(this,2)};kI.prototype.getTotalSize=function(){return Ag(this,3)};kI.repeatedFields_=[1];kI.prototype.toObject=function(){if(null!=this){t(this);var a={respondersList:Mb(yg(this,hj,1),Tnc),nextPageToken:p(m(this,2)),totalSize:p(Cb(this,3))}}else a=void 0;return a};kI.prototype.serializeBinary=u([kI,1,Iq,Unc,2,Cq,3,wq]);kI.messageId="b.ListCommentReactionRespondersResponse";var lI=function(a){r.call(this,a,0,lI.messageId)};V(lI,r);lI.prototype.getIssueCommentsList=function(){return yg(this,OD,1)};lI.repeatedFields_=[1];lI.prototype.toObject=function(){if(null!=this){t(this);var a={issueCommentsList:Mb(this.getIssueCommentsList(),Jfc)}}else a=void 0;return a};lI.prototype.serializeBinary=u([lI,1,Iq,Kfc]);lI.messageId="b.ListIssueCommentHistoryResponse";var Vnc=function(a){r.call(this,a)};V(Vnc,r);f=Vnc.prototype;f.getIssueId=function(){return lh(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.getCommentNumber=function(){return Ag(this,2)};f.setCommentNumber=function(a){return n(this,2,a)};f.getComment=function(){return mh(this,3)};f.setComment=function(a){n(this,3,a)};f.getFormattingMode=function(){return Fh(this,4,0)};f.setFormattingMode=function(a){return n(this,4,a)};
f.toObject=function(){if(null!=this){t(this);var a={issueId:p(m(this,1)),commentNumber:p(Cb(this,2)),comment:p(m(this,3)),formattingMode:p(m(this,4))}}else a=void 0;return a};f.serializeBinary=u([Vnc,1,mq,2,wq,3,Cq,4,Nq]);var mI=function(){};mI.\u0275fac=function(a){return new (a||mI)};mI.\u0275prov=nc({token:mI,factory:mI.\u0275fac,providedIn:"root"});var nI=function(a){this.executor=a};f=nI.prototype;f.get=function(a,b,c){var d={};c&&(d["X-Restricted-Content-Limit"]=String(Vsa(c)));return this.executor.get({url:"action/issues/"+a+"/comment/"+b,options:{headers:d},responseConstructor:OD}).pipe(E(Zi))};
f.create=function(a,b,c,d,e){var g={};e&&(g["G-Recaptcha-Response-Token"]=e);e=new Snc;e.setIssueId(a);e.setComment(b);e.setFormattingMode(Cva(c));e.setContentJudgement(d);return this.executor.post({url:"action/issues/"+a+"/comment",body:e,responseConstructor:null,options:{headers:g}})};
f.update=function(a,b,c,d,e){var g={};e&&(g["G-Recaptcha-Response-Token"]=e);e=new Vnc;e.setIssueId(a);e.setCommentNumber(b);e.setComment(c);e.setFormattingMode(Cva(d));return this.executor.post({url:"action/issues/"+a+"/updateComment",body:e,options:{headers:g},responseConstructor:null})};f.delete=function(a,b,c,d){return this.executor.delete({url:"action/issues/"+a+"/comment/"+b,options:{params:{reason:c},headers:{"If-Match":d}},responseConstructor:null})};
f.undelete=function(a,b,c){var d={};void 0!==c&&(d.comment_version=String(c));return this.executor.post({url:"action/issues/"+a+"/comment/"+b+"/undelete",body:null,options:{params:d},responseConstructor:OD}).pipe(E(Zi))};f.listHistory=function(a,b){return this.executor.get({url:"action/issues/"+a+"/comment/"+b+"/history",responseConstructor:lI}).pipe(E(Fva))};
f.updateCommentReaction=function(a){var b=a.issueId,c=a.commentId,d=a.reactionType;a=a.hasReacted;var e;d=(new JD).addReactionStates((new ID).setType(null!=(e=Xcc[d])?e:0).setHasReacted(a));return this.executor.post({url:"action/issues/"+b+"/comment/"+c+"/updateReaction",body:d,responseConstructor:JD}).pipe(E(Eva))};
f.listCommentReactionResponders=function(a){var b=a.issueId,c=a.commentId,d=a.reactionType,e=a.pageToken;a=void 0===a.pageSize?500:a.pageSize;var g;d=(new jI).setType(null!=(g=Xcc[d])?g:0).setPageSize(a);e&&d.setPageToken(e);return this.executor.post({url:"action/issues/"+b+"/comment/"+c+"/listReactionResponders",body:d,responseConstructor:kI}).pipe(E(Iva))};nI.\u0275fac=function(a){return new (a||nI)(w(BC))};nI.\u0275prov=nc({token:nI,factory:nI.\u0275fac,providedIn:"root"});
var oI=function(a){this.observableApi=a};V(oI,mI);f=oI.prototype;f.get=function(a,b,c){return(0,F.firstValueFrom)(this.observableApi.get(a,b,c))};f.create=function(a,b,c,d,e){return(0,F.firstValueFrom)(this.observableApi.create(a,b,c,d,e))};f.update=function(a,b,c,d,e){return(0,F.firstValueFrom)(this.observableApi.update(a,b,c,d,e))};f.delete=function(a,b,c,d){return(0,F.firstValueFrom)(this.observableApi.delete(a,b,c,d))};
f.undelete=function(a,b,c){return(0,F.firstValueFrom)(this.observableApi.undelete(a,b,c))};f.listHistory=function(a,b){return(0,F.firstValueFrom)(this.observableApi.listHistory(a,b))};f.updateCommentReaction=function(a){return(0,F.firstValueFrom)(this.observableApi.updateCommentReaction(a))};f.listCommentReactionResponders=function(a){return(0,F.firstValueFrom)(this.observableApi.listCommentReactionResponders(a))};oI.\u0275fac=function(a){return new (a||oI)(w(nI))};
oI.\u0275prov=nc({token:oI,factory:oI.\u0275fac,providedIn:"root"});var pI=function(a,b){this.teamDigestFridge=a;this.activeSession=b;this.destroyed$=new F.Subject;this.email=this.activeSession.getUserEmail();this.user=Yg(this.activeSession.getUserEmail());this.isInternal=this.activeSession.isInternalSession();this.teams$=this.teamDigestFridge.watchMany({myTeams:!0}).pipe(E(function(c){return c.results}));this.teams$.pipe(E(function(c){return c.map(function(d){return d.teamId})}));this.allTeamIds$=this.teams$.pipe(E(function(c){return c.flatMap(function(d){return d.pathIds})}),
E(function(c){return[].concat(Jc(new Set(c))).filter(eh)}));this.allTeamIdsSubject$=nl(this.allTeamIds$.pipe(qe(this.destroyed$)),[])};pI.prototype.ngOnDestroy=function(){this.destroyed$.next()};gg.Object.defineProperties(pI.prototype,{allTeamIds:{configurable:!0,enumerable:!0,get:function(){return this.allTeamIdsSubject$.value}}});pI.\u0275fac=function(a){return new (a||pI)(w(bI),w(rp))};pI.\u0275prov=nc({token:pI,factory:pI.\u0275fac,providedIn:"root"});var Wnc="QA"===bk().config.environmentType?412808:1294964,Nwa=[9019942154,9327443891,1953099861400,1292819114016,1525660445733],qI=function(a,b,c,d,e){var g=this;this.issueApi=a;this.issueCommentsApi=b;this.currentUser=c;this.issueRelationshipsFridge=d;this.issueRelationshipService=e;this.prefs$=new F.BehaviorSubject(void 0);this.issue$=new F.BehaviorSubject(void 0);this.projectIds$=this.prefs$.pipe(E(function(h){return null==h?void 0:h.id}),pe(this.issueRelationshipsFridge.watch),E(function(h){var l;
return null!=(l=null==h?void 0:h.relatedChildren.map(function(q){return q.targetIssueId}))?l:[]}));this.onSaveError=function(h){400===h.status?(console.log("Couldn't save hackypref, resetting the backing pref",h),Xnc(g)):console.error("UNHANDLED: Couldn't save hackypref",h)}};qI.prototype.init=function(a,b){a=void 0===a?wk:a;var c=this;return Ld(function(d){c.ldap=a;c.pendingCfgBundleName=b;return d.yield(Ync(c),0)})};var Ync=function(a){return Ld(function(b){return b.yield(Znc(a),0)})};
qI.prototype.save=function(a){var b=this,c=a.id;null==c?console.error("Can't save, missing config issue id"):(a.hasUserEdits=!0,this.prefs$.next(a),a=JSON.stringify(a,null,2),this.issueCommentsApi.update(c,1,a,"PLAIN").then(function(){$nc(b,c)}).catch(this.onSaveError))};
var R1a=function(a,b){a.save(Object.assign({},a.prefs,b))},Xnc=function(a){var b,c,d,e,g;Ld(function(h){if(1==h.nextAddress){b=a.prefs.id;if(null==b)return h.return();d=null!=(c=ol(a.projectIds$))?c:[];return h.yield(aoc(a),2)}e=h.yieldResult;a.prefs.id=e;a.save(a.prefs);g=d.map(Number).map(function(l){return JE(new IE,l)});Wic(a.issueRelationshipService,e,g).subscribe();return h.yield(boc(a,b),0)})},boc=function(a,b){b=void 0===b?a.prefs.id:b;return null==b?Promise.reject():a.issueApi.updateIssue(b,
{issueId:b,actions:[{fieldName:"status",value:"OBSOLETE"}]})};qI.prototype.toggleCollapsed=function(a){this.prefs.collapsed[a]=!this.prefs.collapsed[a];this.save(this.prefs)};
var $nc=function(a,b){var c;return Ld(function(d){if(1==d.nextAddress)return d.yield(a.issueApi.getIssue(b),2);c=d.yieldResult;coc(a,c);Qd(d)})},coc=function(a,b){var c,d,e,g,h,l,q,v;Ld(function(y){if(1==y.nextAddress){c=b.issue.issueId;e=null==(d=b.firstEvent)?void 0:d.unlinkifiedComment;a.configVersionNumber=(null==(g=b.firstEvent)?void 0:g.commentVersion)||0;h={};try{h=JSON.parse(null!=(l=e)?l:"")}catch(N){console.warn("unable to parse as json: `"+e+"`"),console.error(N)}return y.yield(doc(a),
2)}q=y.yieldResult;v=Object.assign({},q,h,{id:c});a.prefs$.next(v);var B=a.pendingCfgBundleName;if(null!=B){var I=Qjc[B];a.pendingCfgBundleName=void 0;null==I?console.error('No config bundle found named "'+B+'"'):R1a(a,I)}Qd(y)})},Znc=function(a){var b;return Ld(function(c){switch(c.nextAddress){case 1:return c.yield(eoc(a),2);case 2:b=c.yieldResult;if(null!=b){c.jumpTo(3);break}return c.yield(aoc(a),4);case 4:b=c.yieldResult;case 3:return c.yield($nc(a,b),0)}})},eoc=function(a){var b,c,d,e;return Ld(function(g){if(1==
g.nextAddress)return c=null!=(b=a.ldap)?b:wk,null==c?g.return():g.yield(foc(a,c),2);d=g.yieldResult;return g.return(null==(e=d)?void 0:e.issueId)})},foc=function(a,b){var c,d,e,g;return Ld(function(h){if(1==h.nextAddress)return c='title:"__experimental config__ for '+b+'" status:open archived:all',h.yield(a.issueApi.listIssues(c,{count:1,s:"created_time:desc"}),2);d=h.yieldResult;return h.return(null==(e=d)?void 0:null==(g=e.issues)?void 0:g[0])})},aoc=function(a){var b,c,d,e,g,h;return Ld(function(l){if(1==
l.nextAddress){c=null!=(b=a.ldap)?b:wk;if(null==c)return console.error("createConfigIssue() needs an ldap to make an issue"),l.return("");d={snapshot:{title:"__experimental config__ for "+c,componentId:Wnc,comment:'{ "README": "This issue is a temporary config container. For more info, see go/task-mission-control" }'}};return l.yield(a.issueApi.createIssue(d),2)}return 3!=l.nextAddress?(e=l.yieldResult,g=e.issueId,h=[{fieldName:"isArchived",value:"true"}],l.yield(a.issueApi.updateIssue(g,{issueId:g,
actions:h}),3)):l.return(e.issueId)})},doc=function(a){var b;return Ld(function(c){0<a.currentUser.allTeamIds.length?(b=a.currentUser.allTeamIds.map(Number),b=Owa(b)):console.warn("No team ids found on currentUser");return c.return(Object.assign({},Pjc,{teamIds:b}))})},ln=function(a){var b;return null!=(b=a.prefs.pinned)?b:[]},Hl=function(a,b){var c=a.prefs;if(a.prefs.pinned){if(a.prefs.pinned.includes(b))return;a.prefs.pinned.unshift(b)}else a.prefs.pinned=[b];a.save(c)},Tm=function(a,b){if(null!=
b){var c=a.prefs;c.pinned&&c.pinned.includes(b)&&c.pinned.splice(c.pinned.indexOf(b),1);a.save(c)}},Sm=function(a,b,c){var d=a.prefs;if(null!=d.pinned&&Um(a,b,c)){b=d.pinned.indexOf(b);var e=d.pinned.splice(b,1)[0];d.pinned.splice(b+c,0,e);a.save(d)}},Um=function(a,b,c){a=a.prefs;if(null==a.pinned)return!1;b=a.pinned.indexOf(b);if(0>b)return!1;c=b+c;return 0<=c&&c<a.pinned.length},goc=function(a){var b=a.prefs;var c=void 0===c?new Date:c;c=new Date(c.getTime());c.setHours(0,0,0,0);c.setDate(c.getDate()+
3-(c.getDay()+6)%7);var d=new Date(c.getFullYear(),0,4);c=1+Math.round(((c.getTime()-d.getTime())/864E5-3+(d.getDay()+6)%7)/7);var e,g;d=null!=(g=null==(e=b.issuesThisWeek)?void 0:e.weekNumber)?g:0;if(!b.issuesThisWeek||c>d||52===d&&c<d)b.issuesThisWeek={issues:[],weekNumber:c},a.save(b)};gg.Object.defineProperties(qI.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){var a;return null!=(a=this.prefs$.value)?a:Ojc}}});
qI.\u0275fac=function(a){return new (a||qI)(w(HE),w(mI),w(pI),w(PH),w(YE))};qI.\u0275prov=nc({token:qI,factory:qI.\u0275fac,providedIn:"root"});var rI=function(a,b,c,d){var e=this;this.issueFridge=a;this.hackyPrefs=b;this.eventsForIssueFridge=c;this.teamFridge=d;this.lastModifiedIssueTimestampMap=new Map;this.issuesToEventsMap=new Map;var g;this.currTeamIds=null!=(g=this.hackyPrefs.prefs.teamIds)?g:[];this.currTeamIssuesFilter="("+MBa(this.currTeamIds)+") (created<"+NBa()+") -status:(duplicate | infeasible | intended_behavior | not_reproducible | obsolete)";this.recentTeamIssues$=(0,F.timer)(1,11E3).pipe(pe(function(){return e.issueFridge.watchMany({filter:e.currTeamIssuesFilter,
sort:"modified_time:desc",pageSize:20})}),E(function(h){return h.results}));this.teamObjects$=this.teamFridge.watchSet(this.currTeamIds);this.noChangeEvents$=this.recentTeamIssues$.pipe(E(function(h){return e.getNoChangeEvents(h)}));this.changedIssues$=this.recentTeamIssues$.pipe(E(function(h){return Mxa(h,e.lastModifiedIssueTimestampMap)}));this.eventsForUpdatedIssues$=this.changedIssues$.pipe(E(function(h){return h.map(function(l){return l.issueId})}),pe(this.eventsForIssueFridge.watchSet));this.allRecentTeamEvents$=
(0,F.combineLatest)([this.noChangeEvents$,this.eventsForUpdatedIssues$]).pipe(E(function(h){var l=k(h);h=l.next().value;l=l.next().value;for(var q=k(l),v=q.next();!v.done;v=q.next())v=v.value,e.issuesToEventsMap.set(v.id,v);return[].concat(Jc(h),Jc(l))}),Zd(eh));this.interestingEventsForTeamActivity$=(0,F.combineLatest)([this.teamObjects$,this.allRecentTeamEvents$]).pipe(E(function(h){var l=k(h);h=l.next().value;l=l.next().value;return e.filterAllEventsToRecentActivity(h,l)}))};
rI.prototype.getInterestingEventType=function(a,b){if(b.modifiedDate<(new Date(Date.now()-3456E5)).getTime())return"";if(hoc(a,b.userPerformingActionUser)&&(0<b.preDiffs.length||0<b.postDiffs.length)){a=[].concat(Jc(b.preDiffs),Jc(b.postDiffs));a=k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;if("priority"===c.name)return"priority";if("status"===c.name)return"status"}}return pk(b)?"changelist":ik(b)&&b.isHumanAuthor?"comment":""};
var hoc=function(a,b){if(!b||!b.emailAddress||0===a.length)return!1;a=k(a);for(var c=a.next();!c.done;c=a.next())if(c.value.members.find(function(d){return d&&Ug(d.user)===Ug(b)}))return!0;return!1};
rI.prototype.filterAllEventsToRecentActivity=function(a,b){var c=[];b=k(b);for(var d=b.next();!d.done;d=b.next()){var e=d.value;if(e){d=e.id;e=k(e.events);for(var g=e.next();!g.done;g=e.next()){g=g.value;var h=this.getInterestingEventType(a,g);""!==h&&c.push({issueId:d,event:g,eventType:h})}c.sort(function(l,q){return q.event.modifiedDate-l.event.modifiedDate})}}return c};
rI.prototype.getNoChangeEvents=function(a){var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=void 0;this.lastModifiedIssueTimestampMap.has(c.issueId)&&this.lastModifiedIssueTimestampMap.get(c.issueId)===(null==(d=c.aggregatedData)?void 0:d.modifiedTimeMicros)&&b.push(this.issuesToEventsMap.get(c.issueId))}return b};rI.\u0275fac=function(a){return new (a||rI)(w(IH),w(qI),w(pF),w(cI))};rI.\u0275prov=nc({token:rI,factory:rI.\u0275fac,providedIn:"root"});var sI=function(a,b){var c=this;this.queryIssuesService=a;this.eventsForIssueFridge=b;this.lastModifiedIssueTimestampMap=new Map;this.issuesToEventsMap=new Map;this.ldap=xk();this.issuesFromQuery$=(0,F.defer)(function(){return Onc(c.queryIssuesService,c.ldap)});this.changedIssues$=this.issuesFromQuery$.pipe(E(function(d){return Mxa(d,c.lastModifiedIssueTimestampMap)}));this.eventsForUpdatedIssues$=this.changedIssues$.pipe(E(function(d){return d.map(function(e){return e.issueId})}),pe(function(d){return(0,F.combineLatest)(d.map(function(e){return c.eventsForIssueFridge.watch(e,
{trustUncertainMemory:!0})}))}),Zd(eh));this.suggestedIssues$=(0,F.combineLatest)([this.issuesFromQuery$,this.eventsForUpdatedIssues$]).pipe(pe(function(d){d=k(d);var e=d.next().value;d=d.next().value;d=k(d);for(var g=d.next();!g.done;g=d.next())g=g.value,null!=g&&c.issuesToEventsMap.set(g.id,g);d=F.of;var h=e;if(h&&0!==h.length&&null!=c.ldap){50<h.length&&(console.warn("truncating search to the first SUGGESTED_ISSUE_LIMIT issues"),h=h.slice(0,50));e=c.ldap;if(h&&0!==h.length){g=[];h=k(h);for(var l=
h.next();!l.done;l=h.next()){var q=l.value,v=q.snapshot[0].reporterUser,y=q.snapshot[0].assigneeUser;l=g;var B=l.push,I=q.issueId;v=null===v?0:c.getLdapFromUser(v)===e?1:0;y=null===y?0:c.getLdapFromUser(y)===e?1:0;var N=q.majorModifiedTimeMicros,Q=c.getPriority(q);var Z=void 0;var Y=e;var ka=0,la=new Set,Da=null==(Z=c.issuesToEventsMap.get(q.issueId))?void 0:Z.events;if(void 0!==Da)for(Z=k(Da),Da=Z.next();!Da.done;Da=Z.next()){var za=Da.value;if(ik(za)&&za.isHumanAuthor){var Oa=za.commentNumber;null===
Oa||la.has(Oa)||(Da=za.lastCommentEditorUser,null!=Da&&(la.add(Oa),za=za.unlinkifiedComment,Da=c.getLdapFromUser(Da),null!=za&&0<za.length&&Da===Y&&(ka+=1)))}}Y=ka;Da=void 0;ka=e;la=0;Z=new Set;q=null==(Da=c.issuesToEventsMap.get(q.issueId))?void 0:Da.events;if(void 0!==q)for(q=k(q),Da=q.next();!Da.done;Da=q.next())Da=Da.value,pk(Da)&&(za=Da.commentNumber,null==za||Z.has(za)||(Z.add(za),rk(Da)===ka&&(la+=1)));q=la;B.call(l,{issueId:I,reporterStatus:v,assigneeStatus:y,lastModifiedTime:N,priority:Q,
commentCountByUser:Y,clCountByUser:q})}}else g=[];e=[];g=k(g);for(B=g.next();!B.done;B=g.next())h=e,l=h.push,B=B.value,I=5-B.priority,v=B.lastModifiedTime,v=Math.abs(1E3*Date.now()-v)/864E8,l.call(h,{issueId:B.issueId,interest:I+(1>=v?4:7>=v?3:14>=v?2:30>=v?1:0)+2*B.commentCountByUser+2*B.clCountByUser+2*B.assigneeStatus+B.reporterStatus,priority:B.priority});g=[];ioc(e);for(h=0;10>h;++h)g.push(e[h].issueId);e=g}else e=[];return d.call(F,e)}),ne({refCount:!0,bufferSize:1}))};
sI.prototype.getLdapFromUser=function(a){return null!=a&&null!=a.emailAddress?a.emailAddress.split("@")[0]:null};sI.prototype.getPriority=function(a){switch(a.snapshot[0].priority){case "P0":return 0;case "P1":return 1;case "P2":return 2;case "P3":return 3;case "P4":return 4;default:return console.warn("cannot find issue priority"),null}};var ioc=function(a){a.sort(function(b,c){return b.interest===c.interest?b.priority-c.priority:c.interest-b.interest})};
sI.\u0275fac=function(a){return new (a||sI)(w(hI),w(pF))};sI.\u0275prov=nc({token:sI,factory:sI.\u0275fac,providedIn:"root"});var tI=function(a,b,c){this.issueFridge=a;this.eventsForIssueFridge=b;this.hotlistApi=c;this.lastModifiedIssueTimestampMap=new Map;this.issuesToEventsMap=new Map},koc=function(a,b){var c=(0,F.timer)(1,11E3).pipe(pe(function(){return a.issueFridge.watchMany({filter:"parentid:"+b+"+ OR id:"+b,sort:"modified_time:desc",pageSize:20})}),E(function(e){return e.results})),d=c.pipe(E(function(e){return a.getNoChangeEvents(e)}));c=c.pipe(E(function(e){return joc(a,e)})).pipe(E(function(e){return e.map(function(g){return g.issueId})}),
pe(a.eventsForIssueFridge.watchSet));return(0,F.combineLatest)([d,c]).pipe(E(function(e){var g=k(e);e=g.next().value;g=g.next().value;for(var h=k(g),l=h.next();!l.done;l=h.next())l=l.value,a.issuesToEventsMap.set(l.id,l);return[].concat(Jc(e),Jc(g))}),Zd(eh),E(function(e){return a.filterAllEventsToRecentActivity(e)}))},loc=function(a,b){var c=(0,F.timer)(1,11E3).pipe(pe(function(){return a.hotlistApi.getPagedHotlistContent(b,1,20,[])}),E(function(e){return e.issues})),d=c.pipe(E(function(e){return a.getNoChangeEvents(e)}));
c=c.pipe(E(function(e){return joc(a,e)})).pipe(E(function(e){return e.map(function(g){return g.issueId})}),pe(a.eventsForIssueFridge.watchSet));return(0,F.combineLatest)([d,c]).pipe(E(function(e){var g=k(e);e=g.next().value;g=g.next().value;for(var h=k(g),l=h.next();!l.done;l=h.next())l=l.value,a.issuesToEventsMap.set(l.id,l);return[].concat(Jc(e),Jc(g))}),Zd(eh),E(function(e){return a.filterAllEventsToRecentActivity(e)}))},moc=function(a,b){var c=(0,F.timer)(1,11E3).pipe(pe(function(){return a.issueFridge.watchMany({filter:"savedsearchid:"+
b,sort:"modified_time:desc",pageSize:20})}),E(function(e){return e.results})),d=c.pipe(E(function(e){return a.getNoChangeEvents(e)}));c=c.pipe(E(function(e){return joc(a,e)})).pipe(E(function(e){return e.map(function(g){return g.issueId})}),pe(a.eventsForIssueFridge.watchSet));return(0,F.combineLatest)([d,c]).pipe(E(function(e){var g=k(e);e=g.next().value;g=g.next().value;for(var h=k(g),l=h.next();!l.done;l=h.next())l=l.value,a.issuesToEventsMap.set(l.id,l);return[].concat(Jc(e),Jc(g))}),Zd(eh),E(function(e){return a.filterAllEventsToRecentActivity(e)}))};
tI.prototype.getNoChangeEvents=function(a){var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=void 0;this.lastModifiedIssueTimestampMap.has(c.issueId)&&this.lastModifiedIssueTimestampMap.get(c.issueId)===(null==(d=c.aggregatedData)?void 0:d.modifiedTimeMicros)&&b.push(this.issuesToEventsMap.get(c.issueId))}return b};
var joc=function(a,b){var c=[];b=k(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;var e=void 0;if(!a.lastModifiedIssueTimestampMap.has(d.issueId)||a.lastModifiedIssueTimestampMap.get(d.issueId)!==(null==(e=d.aggregatedData)?void 0:e.modifiedTimeMicros)){c.push(d);var g=e=void 0;a.lastModifiedIssueTimestampMap.set(d.issueId,null!=(g=null==(e=d.aggregatedData)?void 0:e.modifiedTimeMicros)?g:0)}}return c};
tI.prototype.filterAllEventsToRecentActivity=function(a){var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next()){var d=c.value;if(d){c=d.id;d=k(d.events);for(var e=d.next();!e.done;e=d.next()){e=e.value;var g=this.getInterestingEventType(e);""!==g&&b.push({issueId:c,event:e,eventType:g})}b.sort(function(h,l){return l.event.modifiedDate-h.event.modifiedDate})}}return b};
tI.prototype.getInterestingEventType=function(a){if(a.modifiedDate<Date.now()-12096E5)return"";if(0<a.preDiffs.length||0<a.postDiffs.length){var b=[].concat(Jc(a.preDiffs),Jc(a.postDiffs));b=k(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;if(!c.oldValue&&("priority"===c.name||"status"===c.name))return"newIssue";if("priority"===c.name)return"priority";if("status"===c.name)return pk(a)?"changelistFixed":"status"}}return pk(a)?"changelist":ik(a)&&a.isHumanAuthor?"comment":""};
tI.\u0275fac=function(a){return new (a||tI)(w(IH),w(pF),w(aH))};tI.\u0275prov=nc({token:tI,factory:tI.\u0275fac,providedIn:"root"});var noc={issueId:"0",issueIdChain:[],isArchived:!1,confidence:0,issueNumAssignedOrReported:0,issueNumCls:0,issueNumRecentlyModified:0,issueChildrenCount:0,issueNumOpen:0,issueNumClosed:0,directChildrenNumAssignedOrReported:0,directChildrenNumCls:0,directChildrenNumRecentlyModified:0,directChildrenCount:0,directChildrenNumOpen:0,directChildrenNumClosed:0,rollupNumAssignedOrReported:0,rollupNumCls:0,rollupNumRecentlyModified:0,rollupChildrenCount:0,rollupNumOpen:0,rollupNumClosed:0},ooc={issueNumAssignedOrReported:1,
issueNumCls:1,issueNumRecentlyModified:1,issueChildrenCount:1,issueNumOpen:1,issueNumClosed:-500,directChildrenNumAssignedOrReported:10,directChildrenNumCls:1.25,directChildrenNumRecentlyModified:5,directChildrenCount:1.25,directChildrenNumOpen:20,directChildrenNumClosed:-20,rollupNumAssignedOrReported:10,rollupNumCls:.75,rollupNumRecentlyModified:1,rollupChildrenCount:.75,rollupNumOpen:2,rollupNumClosed:-2},uI=function(a,b){this.issueFridge=a;this.issueRelationshipApi=b;this.parentToChildIssueIds=
new Map},poc=function(a){return a.issueFridge.watchMany({filter:"(assignee:"+xk()+") t:(feature | feature_request | story | task | internal_cleanup | process) modified:90d parentId:any",pageSize:50,sort:"modified_time:desc"}).pipe(E(function(b){var c;return null!=(c=b.results)?c:[]}),Vd(a.findPossibleProjectIssueIds.bind(a)))};
uI.prototype.findPossibleProjectIssueIds=function(a){var b=this,c,d,e,g,h,l,q,v,y,B,I,N;return Ld(function(Q){switch(Q.nextAddress){case 1:if(!a||0===a.length)return Q.return([]);c=[a[0]];for(d={$jscomp$loop$prop$g$2295:1};d.$jscomp$loop$prop$g$2295<a.length;d={$jscomp$loop$prop$g$2295:d.$jscomp$loop$prop$g$2295},d.$jscomp$loop$prop$g$2295++)c.some(function(Z){return function(Y){return Y.parentIssueIds[0]===a[Z.$jscomp$loop$prop$g$2295].parentIssueIds[0]}}(d))||c.push(a[d.$jscomp$loop$prop$g$2295]);
return Q.yield(qoc(b,c),2);case 2:e=[],g=0;case 3:if(!(g<c.length)){Q.jumpTo(5);break}return Q.yield(roc(b,c[g]),6);case 6:h=Q.yieldResult;e.push.apply(e,Jc(h));g++;Q.jumpTo(3);break;case 5:l=new Map;q=k(e);for(v=q.next();!v.done;v=q.next())y=v.value,y.isArchived||(y.confidence=b.calculateConfidence(y),l.has(y.issueId)&&(B=l.get(y.issueId),I=y,y.confidence=B.confidence>I.confidence?B.confidence:I.confidence),l.set(y.issueId,y));N=Array.from(l.values());N.sort(function(Z,Y){return Y.confidence-Z.confidence});
return Q.return(N.filter(function(Z){return 0<Z.confidence}).map(function(Z){return Z.issueId}).slice(0,10))}})};
var qoc=function(a,b){var c,d,e,g,h,l,q,v,y;return Ld(function(B){if(1==B.nextAddress)return c=b.filter(function(I){return I.parentIssueIds&&0<I.parentIssueIds.length}).map(function(I){return I.parentIssueIds[0]}),d=[].concat(Jc(c)),B.yield((0,F.firstValueFrom)(a.issueRelationshipApi.batchGet(c,1,!1)),2);if(3!=B.nextAddress){e=B.yieldResult;g=[];h=k(e);for(l=h.next();!l.done;l=h.next())q=l.value,g=q.getIssueRelationshipsList().map(function(I){return String(Wh(I,1))}),a.parentToChildIssueIds.set(String(Wh(q,
3)),g),d.push.apply(d,Jc(g));return B.yield((0,F.firstValueFrom)(a.issueFridge.watchSet(d)),3)}v=B.yieldResult;y=v.filter(function(I){return c.includes(I.issueId)});return 0<y.length?B.yield(qoc(a,y),0):B.jumpTo(0)})},roc=function(a,b,c){c=void 0===c?[]:c;var d,e,g,h,l,q,v,y,B,I,N,Q;return Ld(function(Z){switch(Z.nextAddress){case 1:var Y=Object,ka=Y.assign,la=b.issueId,Da=b.isArchived,za=soc(a,b)?1:0,Oa=(null!=(d=b.snapshot[0].changelist)?d:[]).length;var Va=2592E9>1E3*Date.now()-b.majorModifiedTimeMicros;
e=ka.call(Y,{},noc,{issueId:la,issueIdChain:[],isArchived:Da,issueNumAssignedOrReported:za,issueNumCls:Oa,issueNumRecentlyModified:Va?1:0,issueChildrenCount:b.childIssueCount||0,issueNumOpen:lk(b)?1:0,issueNumClosed:lk(b)?0:1});g=a.parentToChildIssueIds.get(b.issueId)||[];if(!(0<g.length)){Z.jumpTo(2);break}l=k(g);q=l.next();case 3:if(q.done){Z.jumpTo(2);break}v=q.value;return Z.yield((0,F.firstValueFrom)(a.issueFridge.watchOne(v)),6);case 6:h=Z.yieldResult;if(!h){Z.jumpTo(4);break}e.directChildrenNumAssignedOrReported+=
soc(a,h)?1:0;y=void 0;e.directChildrenNumCls+=(null!=(y=h.snapshot[0].changelist)?y:[]).length;Y=e.directChildrenNumRecentlyModified;ka=h;ka=2592E9>1E3*Date.now()-ka.majorModifiedTimeMicros;e.directChildrenNumRecentlyModified=Y+(ka?1:0);e.directChildrenCount+=1;e.directChildrenNumOpen+=lk(h)?1:0;e.directChildrenNumClosed+=lk(h)?0:1;case 4:q=l.next();Z.jumpTo(3);break;case 2:B=k(c);for(I=B.next();!I.done;I=B.next())N=I.value,e.issueIdChain.unshift(N.issueId),e.rollupNumAssignedOrReported+=N.issueNumAssignedOrReported+
N.directChildrenNumAssignedOrReported,e.rollupNumCls+=N.issueNumCls+N.directChildrenNumCls,e.rollupNumRecentlyModified+=N.issueNumRecentlyModified+N.directChildrenNumRecentlyModified,e.rollupChildrenCount+=N.issueChildrenCount+N.directChildrenCount,e.rollupNumOpen+=N.issueNumOpen+N.directChildrenNumOpen,e.rollupNumClosed+=N.issueNumClosed+N.directChildrenNumClosed;e.issueIdChain.unshift(b.issueId);c.push(e);return b.parentIssueIds&&0<b.parentIssueIds.length?Z.yield((0,F.firstValueFrom)(a.issueFridge.watchOne(b.parentIssueIds[0])),
8):Z.return(c);case 8:return(Q=Z.yieldResult)?Z.return(roc(a,Q,c)):Z.return(c)}})};
uI.prototype.calculateConfidence=function(a){var b=void 0===b?ooc:b;var c=a.issueNumAssignedOrReported*b.issueNumAssignedOrReported;c+=a.issueNumCls*b.issueNumCls;c+=a.issueNumRecentlyModified*b.issueNumRecentlyModified;c+=a.issueChildrenCount*b.issueChildrenCount;c+=a.issueNumOpen*b.issueNumOpen;c+=a.directChildrenNumAssignedOrReported*b.directChildrenNumAssignedOrReported;c+=a.directChildrenNumCls*b.directChildrenNumCls;c+=a.directChildrenNumRecentlyModified*b.directChildrenNumRecentlyModified;
c+=a.directChildrenCount*b.directChildrenCount;c+=a.directChildrenNumOpen*b.directChildrenNumOpen;c+=a.rollupNumAssignedOrReported*b.rollupNumAssignedOrReported;c+=a.rollupNumCls*b.rollupNumCls;c+=a.rollupNumRecentlyModified*b.rollupNumRecentlyModified;c+=a.rollupChildrenCount*b.rollupChildrenCount;c+=a.rollupNumOpen*b.rollupNumOpen;c+=a.issueNumClosed*b.issueNumClosed;c+=a.directChildrenNumClosed*b.directChildrenNumClosed;c+=a.rollupNumClosed*b.rollupNumClosed;0===a.directChildrenNumAssignedOrReported&&
(c-=10*a.directChildrenCount);b=a.directChildrenNumAssignedOrReported/a.directChildrenCount;.5>b?(a=100<a.directChildrenCount?1.5:1,c=.25>b?.1>b?c-300*a:c-200*a:c-50*a):c=.75<b?c+200:c+150;return c};var soc=function(a,b){var c=xk(),d=a.getLdapFromUser(b.snapshot[0].assigneeUser);return a.getLdapFromUser(b.snapshot[0].reporterUser)===c||d===c};uI.prototype.getLdapFromUser=function(a){return null!=a&&null!=a.emailAddress?a.emailAddress.split("@")[0]:null};
uI.\u0275fac=function(a){return new (a||uI)(w(IH),w(YE))};uI.\u0275prov=nc({token:uI,factory:uI.\u0275fac,providedIn:"root"});var vI=function(){},toc=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""}};vI.\u0275fac=function(a){return new (a||vI)};
vI.\u0275cmp=zc({type:vI,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),S(1),J());a&2&&(G("ngClass",toc(b)),C(1),a=b.issuePriority,Te(" ",null==a?"--":$ic[a]," "))},dependencies:[Ru],styles:["\n/*# sourceMappingURL=issue_priority_display.css.map */"],changeDetection:0});var wI=function(a){r.call(this,a)};V(wI,r);wI.prototype.getDisplayName=function(){return mh(this,1)};wI.prototype.setDisplayName=function(a){return n(this,1,a)};wI.prototype.getPhotoUrl=function(){return mh(this,2)};wI.prototype.toObject=function(){return uoc(this)};var uoc=function(a){if(null!=a)return t(a),{displayName:p(m(a,1)),photoUrl:p(m(a,2)),highResolutionPhotoUrl:p(m(a,3))}},voc=[wI,1,Cq,2,Cq,3,Cq];wI.prototype.serializeBinary=u(voc);var xI=function(a){r.call(this,a,0,xI.messageId)};V(xI,r);xI.prototype.toObject=function(){if(null!=this){t(this);var a={userProfileMap:Ob(Ii(this,1,wI),uoc)}}else a=void 0;return a};xI.prototype.serializeBinary=u([xI,1,Sq,voc]);xI.messageId="b.UserProfileBatchResponse";var yI=function(a,b){var c=this;this.userProfilesBatchApiConfig=a;this.batchApiAdapter=b;this.batchAdaptedGet=this.batchApiAdapter.adapt(this.userProfilesBatchApiConfig);this.memoizingUserProfileMap=new Gnc(function(d){return c.batchAdaptedGet(d)},100)};yI.prototype.get=function(a){return this.memoizingUserProfileMap.get(a)};yI.\u0275fac=function(a){return new (a||yI)(w(zI),w(rF))};yI.\u0275prov=nc({token:yI,factory:yI.\u0275fac,providedIn:"root"});var zI=function(a){this.executor=a};
zI.prototype.call=function(a){return this.executor.get({url:"action/user_profiles",options:{params:{usernames:[].concat(Jc(a)).join(",")}},responseConstructor:xI}).pipe(ce(function(){return(0,F.of)(new xI)}))};zI.prototype.split=function(a,b){return(a=Ii(b,1,wI).get(a))?{photoUrl:a.getPhotoUrl(),highResolutionPhotoUrl:mh(a,3),displayName:a.getDisplayName()}:void 0};zI.\u0275fac=function(a){return new (a||zI)(w(BC))};zI.\u0275prov=nc({token:zI,factory:zI.\u0275fac,providedIn:"root"});var AI=function(a,b,c){kE.call(this);this.templateRef=a;this.viewContainer=b;this.cdr=c;this.viewContainer.createEmbeddedView(this.templateRef)};V(AI,kE);gg.Object.defineProperties(AI.prototype,{refreshable:{configurable:!0,enumerable:!0,set:function(a){var b=this;a.pipe(qe(this.destroyed$)).subscribe(function(){b.viewContainer.clear();b.viewContainer.createEmbeddedView(b.templateRef);b.cdr.detectChanges()})}}});AI.\u0275fac=function(a){return new (a||AI)(D(ef),D(ff),D(Lu))};
AI.\u0275dir=Cc({type:AI,selectors:[["","refreshable",""]],inputs:{refreshable:"refreshable"},features:[xe]});var woc=function(){};var ql=function(){this.Serializable$values={}},pl=function(a,b){return a.Serializable$values.hasOwnProperty(b)?a.Serializable$values[b]:null},BI=function(a,b){return null!=a.Serializable$values[b]};var xoc=function(){};var yoc=function(a,b){this.requestService=a;this.hookFactory=void 0===b?null:b};V(yoc,xoc);
var zoc=function(a,b,c){var d=OBa(a.hookFactory,b);return null==d?c:F.EMPTY.pipe(re({complete:function(){d.onBeforeSend()}}),Tja(c.pipe(re(function(e){d.onSuccess(e)},function(e){d.onError(e)}))))},Aoc=function(a,b){var c=b.responseCtor||void 0,d=a.requestService,e=d.send,g=b.body instanceof ql?TBa(b.body,QBa,RBa,SBa):b.body;return zoc(a,b,e.call(d,{path:b.path,httpMethod:b.httpMethod,methodId:b.methodId,body:g,queryParams:b.queryParams,streamingType:b.streamingType&&b.streamingType},c))};var Boc=function(){};Boc.prototype.send=function(a,b){aCa(a);return this.makeRequest(a).pipe(E(function(c){return b?XBa(b,c):c}))};var Coc=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};V(Coc,ql);Coc.prototype.getPartialClassMetadata=function(){return{keys:["dayOfWeek","periodEndMinutes","periodStartMinutes"]}};
gg.Object.defineProperties(Coc.prototype,{dayOfWeek:{configurable:!0,enumerable:!0,get:function(){return BI(this,"dayOfWeek")?pl(this,"dayOfWeek"):0},set:function(a){this.Serializable$values.dayOfWeek=a}},periodEndMinutes:{configurable:!0,enumerable:!0,get:function(){return BI(this,"periodEndMinutes")?pl(this,"periodEndMinutes"):0},set:function(a){this.Serializable$values.periodEndMinutes=a}},periodStartMinutes:{configurable:!0,enumerable:!0,get:function(){return BI(this,"periodStartMinutes")?pl(this,
"periodStartMinutes"):0},set:function(a){this.Serializable$values.periodStartMinutes=a}}});var gYa=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};V(gYa,ql);gYa.prototype.getPartialClassMetadata=function(){return{arrays:{userIds:an},keys:["debugOptions","userIds"],objects:{debugOptions:Doc}}};
gg.Object.defineProperties(gYa.prototype,{debugOptions:{configurable:!0,enumerable:!0,get:function(){return BI(this,"debugOptions")?pl(this,"debugOptions"):this.debugOptions=new Doc},set:function(a){this.Serializable$values.debugOptions=a}},userIds:{configurable:!0,enumerable:!0,get:function(){return BI(this,"userIds")?pl(this,"userIds"):this.userIds=[]},set:function(a){this.Serializable$values.userIds=a}}});
var Eoc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.results=null==a.results?null:a.results};V(Eoc,ql);Eoc.prototype.getPartialClassMetadata=function(){return{arrays:{results:Foc},keys:["results"]}};
gg.Object.defineProperties(Eoc.prototype,{hasResults:{configurable:!0,enumerable:!0,get:function(){return null!==pl(this,"results")}},results:{configurable:!0,enumerable:!0,get:function(){return BI(this,"results")?pl(this,"results"):this.results=[]},set:function(a){this.Serializable$values.results=a}}});
var Goc=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};V(Goc,ql);
Goc.prototype.getPartialClassMetadata=function(){return{keys:["committedUntil","eventSummary","nextAvailable","occupiedUntil"]}};
gg.Object.defineProperties(Goc.prototype,{committedUntil:{configurable:!0,enumerable:!0,get:function(){return BI(this,"committedUntil")?pl(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},eventSummary:{configurable:!0,enumerable:!0,get:function(){return BI(this,"eventSummary")?pl(this,"eventSummary"):""},set:function(a){this.Serializable$values.eventSummary=a}},nextAvailable:{configurable:!0,enumerable:!0,get:function(){return BI(this,"nextAvailable")?pl(this,
"nextAvailable"):""},set:function(a){this.Serializable$values.nextAvailable=a}},occupiedUntil:{configurable:!0,enumerable:!0,get:function(){return BI(this,"occupiedUntil")?pl(this,"occupiedUntil"):""},set:function(a){this.Serializable$values.occupiedUntil=a}}});
var Hoc=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};V(Hoc,ql);Hoc.prototype.getPartialClassMetadata=function(){return{keys:["geoCoordinates","label","location"],objects:{geoCoordinates:Ioc}}};
gg.Object.defineProperties(Hoc.prototype,{geoCoordinates:{configurable:!0,enumerable:!0,get:function(){return BI(this,"geoCoordinates")?pl(this,"geoCoordinates"):this.geoCoordinates=new Ioc},set:function(a){this.Serializable$values.geoCoordinates=a}},label:{configurable:!0,enumerable:!0,get:function(){return BI(this,"label")?pl(this,"label"):""},set:function(a){this.Serializable$values.label=a}},location:{configurable:!0,enumerable:!0,get:function(){return BI(this,"location")?pl(this,"location"):
""},set:function(a){this.Serializable$values.location=a}}});var Joc=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};V(Joc,ql);Joc.prototype.getPartialClassMetadata=function(){return{keys:["committedUntil","nextAvailable","occupiedUntil"]}};
gg.Object.defineProperties(Joc.prototype,{committedUntil:{configurable:!0,enumerable:!0,get:function(){return BI(this,"committedUntil")?pl(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},nextAvailable:{configurable:!0,enumerable:!0,get:function(){return BI(this,"nextAvailable")?pl(this,"nextAvailable"):""},set:function(a){this.Serializable$values.nextAvailable=a}},occupiedUntil:{configurable:!0,enumerable:!0,get:function(){return BI(this,"occupiedUntil")?pl(this,
"occupiedUntil"):""},set:function(a){this.Serializable$values.occupiedUntil=a}}});var Koc=function(){this.Serializable$values={}};V(Koc,ql);Koc.prototype.getPartialClassMetadata=function(){return{keys:[]}};
var Loc=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};V(Loc,ql);
Loc.prototype.getPartialClassMetadata=function(){return{keys:["committedUntil","eventSummary","inMeetingsUntil","nextAvailable","occupiedUntil"]}};
gg.Object.defineProperties(Loc.prototype,{committedUntil:{configurable:!0,enumerable:!0,get:function(){return BI(this,"committedUntil")?pl(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},eventSummary:{configurable:!0,enumerable:!0,get:function(){return BI(this,"eventSummary")?pl(this,"eventSummary"):""},set:function(a){this.Serializable$values.eventSummary=a}},inMeetingsUntil:{configurable:!0,enumerable:!0,get:function(){return BI(this,"inMeetingsUntil")?pl(this,
"inMeetingsUntil"):""},set:function(a){this.Serializable$values.inMeetingsUntil=a}},nextAvailable:{configurable:!0,enumerable:!0,get:function(){return BI(this,"nextAvailable")?pl(this,"nextAvailable"):""},set:function(a){this.Serializable$values.nextAvailable=a}},occupiedUntil:{configurable:!0,enumerable:!0,get:function(){return BI(this,"occupiedUntil")?pl(this,"occupiedUntil"):""},set:function(a){this.Serializable$values.occupiedUntil=a}}});var Moc=function(){this.Serializable$values={}};V(Moc,ql);
Moc.prototype.getPartialClassMetadata=function(){return{keys:[]}};var Ioc=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};V(Ioc,ql);Ioc.prototype.getPartialClassMetadata=function(){return{keys:["latitude","longitude"]}};
gg.Object.defineProperties(Ioc.prototype,{latitude:{configurable:!0,enumerable:!0,get:function(){return BI(this,"latitude")?pl(this,"latitude"):0},set:function(a){this.Serializable$values.latitude=a}},longitude:{configurable:!0,enumerable:!0,get:function(){return BI(this,"longitude")?pl(this,"longitude"):0},set:function(a){this.Serializable$values.longitude=a}}});var Noc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.timeZone=null==a.timeZone?null:a.timeZone};
V(Noc,ql);Noc.prototype.getPartialClassMetadata=function(){return{keys:["timeZone"]}};gg.Object.defineProperties(Noc.prototype,{timeZone:{configurable:!0,enumerable:!0,get:function(){return BI(this,"timeZone")?pl(this,"timeZone"):""},set:function(a){this.Serializable$values.timeZone=a}}});
var Ooc=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};V(Ooc,ql);
Ooc.prototype.getPartialClassMetadata=function(){return{keys:["experimentalBuildingId","experimentalDeskId","experimentalFloorId","label"]}};
gg.Object.defineProperties(Ooc.prototype,{experimentalBuildingId:{configurable:!0,enumerable:!0,get:function(){return BI(this,"experimentalBuildingId")?pl(this,"experimentalBuildingId"):""},set:function(a){this.Serializable$values.experimentalBuildingId=a}},experimentalDeskId:{configurable:!0,enumerable:!0,get:function(){return BI(this,"experimentalDeskId")?pl(this,"experimentalDeskId"):""},set:function(a){this.Serializable$values.experimentalDeskId=a}},experimentalFloorId:{configurable:!0,enumerable:!0,
get:function(){return BI(this,"experimentalFloorId")?pl(this,"experimentalFloorId"):""},set:function(a){this.Serializable$values.experimentalFloorId=a}},label:{configurable:!0,enumerable:!0,get:function(){return BI(this,"label")?pl(this,"label"):""},set:function(a){this.Serializable$values.label=a}}});
var Poc=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};V(Poc,ql);Poc.prototype.getPartialClassMetadata=function(){return{keys:["comeBackTime","committedUntil","eventSummary"]}};
gg.Object.defineProperties(Poc.prototype,{comeBackTime:{configurable:!0,enumerable:!0,get:function(){return BI(this,"comeBackTime")?pl(this,"comeBackTime"):""},set:function(a){this.Serializable$values.comeBackTime=a}},committedUntil:{configurable:!0,enumerable:!0,get:function(){return BI(this,"committedUntil")?pl(this,"committedUntil"):""},set:function(a){this.Serializable$values.committedUntil=a}},eventSummary:{configurable:!0,enumerable:!0,get:function(){return BI(this,"eventSummary")?pl(this,"eventSummary"):
""},set:function(a){this.Serializable$values.eventSummary=a}}});var Qoc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.comeBackTime=null==a.comeBackTime?null:a.comeBackTime};V(Qoc,ql);Qoc.prototype.getPartialClassMetadata=function(){return{keys:["comeBackTime"]}};
gg.Object.defineProperties(Qoc.prototype,{comeBackTime:{configurable:!0,enumerable:!0,get:function(){return BI(this,"comeBackTime")?pl(this,"comeBackTime"):""},set:function(a){this.Serializable$values.comeBackTime=a}}});var Roc=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};V(Roc,ql);
Roc.prototype.getPartialClassMetadata=function(){return{keys:["code","details","message"],objectMaps:{details:{ctor:null,isPropertyArray:!0,isSerializable:!1,isValueArray:!1}}}};
gg.Object.defineProperties(Roc.prototype,{code:{configurable:!0,enumerable:!0,get:function(){return BI(this,"code")?pl(this,"code"):0},set:function(a){this.Serializable$values.code=a}},hasDetails:{configurable:!0,enumerable:!0,get:function(){return null!==pl(this,"details")}},details:{configurable:!0,enumerable:!0,get:function(){return BI(this,"details")?pl(this,"details"):this.details=[]},set:function(a){this.Serializable$values.details=a}},message:{configurable:!0,enumerable:!0,get:function(){return BI(this,
"message")?pl(this,"message"):""},set:function(a){this.Serializable$values.message=a}}});var CI=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};V(CI,ql);CI.prototype.getPartialClassMetadata=function(){return{keys:["endTime","startTime"]}};
gg.Object.defineProperties(CI.prototype,{endTime:{configurable:!0,enumerable:!0,get:function(){return BI(this,"endTime")?pl(this,"endTime"):""},set:function(a){this.Serializable$values.endTime=a}},startTime:{configurable:!0,enumerable:!0,get:function(){return BI(this,"startTime")?pl(this,"startTime"):""},set:function(a){this.Serializable$values.startTime=a}}});
var Soc=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};V(Soc,ql);Soc.prototype.getPartialClassMetadata=function(){return{keys:["computationDuration","overrideCurrentTime"]}};
gg.Object.defineProperties(Soc.prototype,{computationDuration:{configurable:!0,enumerable:!0,get:function(){return BI(this,"computationDuration")?pl(this,"computationDuration"):""},set:function(a){this.Serializable$values.computationDuration=a}},overrideCurrentTime:{configurable:!0,enumerable:!0,get:function(){return BI(this,"overrideCurrentTime")?pl(this,"overrideCurrentTime"):""},set:function(a){this.Serializable$values.overrideCurrentTime=a}}});
var Toc=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};V(Toc,ql);Toc.prototype.getPartialClassMetadata=function(){return{keys:["nextCommitmentStatus","nextCommitmentTime"],objects:{nextCommitmentStatus:DI}}};
gg.Object.defineProperties(Toc.prototype,{nextCommitmentStatus:{configurable:!0,enumerable:!0,get:function(){return BI(this,"nextCommitmentStatus")?pl(this,"nextCommitmentStatus"):this.nextCommitmentStatus=new DI},set:function(a){this.Serializable$values.nextCommitmentStatus=a}},nextCommitmentTime:{configurable:!0,enumerable:!0,get:function(){return BI(this,"nextCommitmentTime")?pl(this,"nextCommitmentTime"):""},set:function(a){this.Serializable$values.nextCommitmentTime=a}}});
var Uoc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.timeRange=null==a.timeRange?null:a.timeRange};V(Uoc,ql);Uoc.prototype.getPartialClassMetadata=function(){return{keys:["timeRange"],objects:{timeRange:CI}}};gg.Object.defineProperties(Uoc.prototype,{timeRange:{configurable:!0,enumerable:!0,get:function(){return BI(this,"timeRange")?pl(this,"timeRange"):this.timeRange=new CI},set:function(a){this.Serializable$values.timeRange=a}}});
var Voc=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};V(Voc,ql);Voc.prototype.getPartialClassMetadata=function(){return{arrays:{availabilities:Woc},keys:["availabilities","nextPollTime","workingHours"],objects:{workingHours:Xoc}}};
gg.Object.defineProperties(Voc.prototype,{availabilities:{configurable:!0,enumerable:!0,get:function(){return BI(this,"availabilities")?pl(this,"availabilities"):this.availabilities=[]},set:function(a){this.Serializable$values.availabilities=a}},nextPollTime:{configurable:!0,enumerable:!0,get:function(){return BI(this,"nextPollTime")?pl(this,"nextPollTime"):""},set:function(a){this.Serializable$values.nextPollTime=a}},workingHours:{configurable:!0,enumerable:!0,get:function(){return BI(this,"workingHours")?
pl(this,"workingHours"):this.workingHours=new Xoc},set:function(a){this.Serializable$values.workingHours=a}}});var Doc=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};V(Doc,ql);Doc.prototype.getPartialClassMetadata=function(){return{keys:["forceEnableUserStatusCache","timeSettings"],objects:{timeSettings:Soc}}};
gg.Object.defineProperties(Doc.prototype,{forceEnableUserStatusCache:{configurable:!0,enumerable:!0,get:function(){return BI(this,"forceEnableUserStatusCache")?pl(this,"forceEnableUserStatusCache"):!1},set:function(a){this.Serializable$values.forceEnableUserStatusCache=a}},timeSettings:{configurable:!0,enumerable:!0,get:function(){return BI(this,"timeSettings")?pl(this,"timeSettings"):this.timeSettings=new Soc},set:function(a){this.Serializable$values.timeSettings=a}}});
var Foc=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};V(Foc,ql);Foc.prototype.getPartialClassMetadata=function(){return{keys:["status","userAvailabilities","userId"],objects:{status:Roc,userAvailabilities:Voc,userId:an}}};
gg.Object.defineProperties(Foc.prototype,{hasStatus:{configurable:!0,enumerable:!0,get:function(){return null!==pl(this,"status")}},status:{configurable:!0,enumerable:!0,get:function(){return BI(this,"status")?pl(this,"status"):this.status=new Roc},set:function(a){this.Serializable$values.status=a}},hasUserAvailabilities:{configurable:!0,enumerable:!0,get:function(){return null!==pl(this,"userAvailabilities")}},userAvailabilities:{configurable:!0,enumerable:!0,get:function(){return BI(this,"userAvailabilities")?
pl(this,"userAvailabilities"):this.userAvailabilities=new Voc},set:function(a){this.Serializable$values.userAvailabilities=a}},hasUserId:{configurable:!0,enumerable:!0,get:function(){return null!==pl(this,"userId")}},userId:{configurable:!0,enumerable:!0,get:function(){return BI(this,"userId")?pl(this,"userId"):this.userId=new an},set:function(a){this.Serializable$values.userId=a}}});
var Woc=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};V(Woc,ql);Woc.prototype.getPartialClassMetadata=function(){return{keys:["contexts","status","timeRange"],objects:{contexts:Yoc,status:DI,timeRange:CI}}};
gg.Object.defineProperties(Woc.prototype,{contexts:{configurable:!0,enumerable:!0,get:function(){return BI(this,"contexts")?pl(this,"contexts"):this.contexts=new Yoc},set:function(a){this.Serializable$values.contexts=a}},hasStatus:{configurable:!0,enumerable:!0,get:function(){return null!==pl(this,"status")}},status:{configurable:!0,enumerable:!0,get:function(){return BI(this,"status")?pl(this,"status"):this.status=new DI},set:function(a){this.Serializable$values.status=a}},timeRange:{configurable:!0,
enumerable:!0,get:function(){return BI(this,"timeRange")?pl(this,"timeRange"):this.timeRange=new CI},set:function(a){this.Serializable$values.timeRange=a}}});
var Yoc=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};V(Yoc,ql);
Yoc.prototype.getPartialClassMetadata=function(){return{keys:["localTime","upcomingCommitmentContext","upcomingOoo","workingElsewhere"],objects:{localTime:Noc,upcomingCommitmentContext:Toc,upcomingOoo:Uoc,workingElsewhere:Zoc}}};
gg.Object.defineProperties(Yoc.prototype,{localTime:{configurable:!0,enumerable:!0,get:function(){return BI(this,"localTime")?pl(this,"localTime"):this.localTime=new Noc},set:function(a){this.Serializable$values.localTime=a}},upcomingCommitmentContext:{configurable:!0,enumerable:!0,get:function(){return BI(this,"upcomingCommitmentContext")?pl(this,"upcomingCommitmentContext"):this.upcomingCommitmentContext=new Toc},set:function(a){this.Serializable$values.upcomingCommitmentContext=a}},upcomingOoo:{configurable:!0,
enumerable:!0,get:function(){return BI(this,"upcomingOoo")?pl(this,"upcomingOoo"):this.upcomingOoo=new Uoc},set:function(a){this.Serializable$values.upcomingOoo=a}},workingElsewhere:{configurable:!0,enumerable:!0,get:function(){return BI(this,"workingElsewhere")?pl(this,"workingElsewhere"):this.workingElsewhere=new Zoc},set:function(a){this.Serializable$values.workingElsewhere=a}}});
var an=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};V(an,ql);an.prototype.getPartialClassMetadata=function(){return{keys:["email","obfuscatedGaiaId"]}};
gg.Object.defineProperties(an.prototype,{email:{configurable:!0,enumerable:!0,get:function(){return BI(this,"email")?pl(this,"email"):""},set:function(a){this.Serializable$values.email=a}},obfuscatedGaiaId:{configurable:!0,enumerable:!0,get:function(){return BI(this,"obfuscatedGaiaId")?pl(this,"obfuscatedGaiaId"):""},set:function(a){this.Serializable$values.obfuscatedGaiaId=a}}});
var $oc=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};V($oc,ql);$oc.prototype.getPartialClassMetadata=function(){return{keys:["customLocation","homeLocation","officeLocation"],objects:{customLocation:Hoc,homeLocation:Koc,officeLocation:Ooc}}};
gg.Object.defineProperties($oc.prototype,{customLocation:{configurable:!0,enumerable:!0,get:function(){return BI(this,"customLocation")?pl(this,"customLocation"):this.customLocation=new Hoc},set:function(a){this.Serializable$values.customLocation=a}},homeLocation:{configurable:!0,enumerable:!0,get:function(){return BI(this,"homeLocation")?pl(this,"homeLocation"):this.homeLocation=new Koc},set:function(a){this.Serializable$values.homeLocation=a}},officeLocation:{configurable:!0,enumerable:!0,get:function(){return BI(this,
"officeLocation")?pl(this,"officeLocation"):this.officeLocation=new Ooc},set:function(a){this.Serializable$values.officeLocation=a}}});
var DI=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};V(DI,ql);DI.prototype.getPartialClassMetadata=function(){return{keys:"calendarBusy doNotDisturb inMeeting inactive outOfOffice outsideWorkingHours".split(" "),objects:{calendarBusy:Goc,doNotDisturb:Joc,inMeeting:Loc,inactive:Moc,outOfOffice:Poc,outsideWorkingHours:Qoc}}};
gg.Object.defineProperties(DI.prototype,{calendarBusy:{configurable:!0,enumerable:!0,get:function(){return BI(this,"calendarBusy")?pl(this,"calendarBusy"):this.calendarBusy=new Goc},set:function(a){this.Serializable$values.calendarBusy=a}},doNotDisturb:{configurable:!0,enumerable:!0,get:function(){return BI(this,"doNotDisturb")?pl(this,"doNotDisturb"):this.doNotDisturb=new Joc},set:function(a){this.Serializable$values.doNotDisturb=a}},inMeeting:{configurable:!0,enumerable:!0,get:function(){return BI(this,
"inMeeting")?pl(this,"inMeeting"):this.inMeeting=new Loc},set:function(a){this.Serializable$values.inMeeting=a}},inactive:{configurable:!0,enumerable:!0,get:function(){return BI(this,"inactive")?pl(this,"inactive"):this.inactive=new Moc},set:function(a){this.Serializable$values.inactive=a}},hasOutOfOffice:{configurable:!0,enumerable:!0,get:function(){return null!==pl(this,"outOfOffice")}},outOfOffice:{configurable:!0,enumerable:!0,get:function(){return BI(this,"outOfOffice")?pl(this,"outOfOffice"):
this.outOfOffice=new Poc},set:function(a){this.Serializable$values.outOfOffice=a}},hasOutsideWorkingHours:{configurable:!0,enumerable:!0,get:function(){return null!==pl(this,"outsideWorkingHours")}},outsideWorkingHours:{configurable:!0,enumerable:!0,get:function(){return BI(this,"outsideWorkingHours")?pl(this,"outsideWorkingHours"):this.outsideWorkingHours=new Qoc},set:function(a){this.Serializable$values.outsideWorkingHours=a}}});
var Zoc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.location=null==a.location?null:a.location};V(Zoc,ql);Zoc.prototype.getPartialClassMetadata=function(){return{keys:["location"],objects:{location:$oc}}};gg.Object.defineProperties(Zoc.prototype,{location:{configurable:!0,enumerable:!0,get:function(){return BI(this,"location")?pl(this,"location"):this.location=new $oc},set:function(a){this.Serializable$values.location=a}}});
var Xoc=function(a){a=void 0===a?{}:a;this.Serializable$values={};this.Serializable$values.availableTime=null==a.availableTime?null:a.availableTime};V(Xoc,ql);Xoc.prototype.getPartialClassMetadata=function(){return{arrays:{availableTime:Coc},keys:["availableTime"]}};
gg.Object.defineProperties(Xoc.prototype,{availableTime:{configurable:!0,enumerable:!0,get:function(){return BI(this,"availableTime")?pl(this,"availableTime"):this.availableTime=[]},set:function(a){this.Serializable$values.availableTime=a}}});var apc=new Hc("API_VERSION"),bpc=new Hc("REQUEST_SERVICE"),EI=function(){};EI.\u0275fac=function(a){return new (a||EI)};EI.\u0275mod=Bc({type:EI});EI.\u0275inj=oc({});
var cpc={$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"},FI=function(a,b,c){this.gapiVersion=a;this.gapiVersion=null==a?"v1alpha":a;this.$apiClient=new yoc(b,c)},dpc=function(a,b){var c=void 0===c?{}:c;var d=void 0===d?{}:d;return Aoc(a.$apiClient,{body:b,httpMethod:"POST",methodId:"waldo_service_api_from_stubby_sandbox.useravailabilities.batchget",
path:"/"+a.gapiVersion+"/useravailabilities:batchget",queryParams:bCa(c,cpc,d),responseCtor:Eoc})};FI.\u0275fac=function(a){return new (a||FI)(w(apc,8),w(bpc),w(woc,8))};FI.\u0275prov=nc({token:FI,factory:FI.\u0275fac});var GI=function(){};GI.\u0275fac=function(a){return new (a||GI)};GI.\u0275prov=nc({token:GI,factory:function(a){return FI.\u0275fac(a)},providedIn:EI});var HI=function(a){var b=this;this.apiStub=a;this.result=new F.Subject;this.destroyed=new F.ReplaySubject(1);this.trigger=new F.Subject;this.batchedTrigger=this.trigger.pipe(Pja(this.trigger.pipe(be(200))));this.responseHandler=function(c){if(c.hasResults){c=k(c.results);for(var d=c.next();!d.done;d=c.next()){var e=d.value;d="";e.hasUserId&&e.userId.email&&(d=e.userId.email);if(d)if(e.hasUserAvailabilities){e=e.userAvailabilities.availabilities[0];if(e.hasStatus&&e.status.hasOutOfOffice){e=e.status.outOfOffice;
if(e.comeBackTime){var g=e=new Date(e.comeBackTime),h=new Date;e=h.getFullYear()===g.getFullYear()&&h.getMonth()===g.getMonth()&&h.getDate()===g.getDate()?"at "+e.toLocaleString("en-Us",{hour:"numeric",minute:"2-digit",hour12:!0}):"on "+(e.getFullYear()!==(new Date).getFullYear()?e.toLocaleString("en-Us",{weekday:"short",month:"short",day:"numeric",year:"numeric"}):e.toLocaleString("en-Us",{weekday:"short",month:"short",day:"numeric"}));e=" - back "+e}else e="";e="Out of Office"+e}else e="";b.result.next({emailAddress:d,
availability:e})}else b.result.next({emailAddress:d,availability:""})}}};this.batchedTrigger.pipe(qe(this.destroyed)).subscribe(function(c){c=[].concat(Jc(new Set(c)));var d=c.slice(0,100);epc(b,d);c=k(c.slice(100));for(d=c.next();!d.done;d=c.next())b.trigger.next(d.value)})},epc=function(a,b){var c,d;Ld(function(e){for(var g=new gYa,h=[],l=k(b),q=l.next();!q.done;q=l.next()){q=q.value;var v=new an;v.email=q;h.push(v)}g.userIds=h;c=g;d=dpc(a.apiStub,c);d.pipe(qe(a.destroyed)).subscribe(a.responseHandler);
Qd(e)})},fpc=function(a,b){if(!b)return(0,F.of)("");a.trigger.next(b);return a.result.pipe(Zd(function(c){return c.emailAddress===b})).pipe(E(function(c){return c.availability}))};HI.prototype.ngOnDestroy=function(){this.destroyed.next()};HI.\u0275fac=function(a){return new (a||HI)(w(GI))};HI.\u0275prov=nc({token:HI,factory:HI.\u0275fac});var II=function(a){var b=this;this.waldoAvailabilityService=a;this.user="";this.userSubject=new F.ReplaySubject(1);this.availability=this.userSubject.pipe(pe(function(c){return fpc(b.waldoAvailabilityService,c)}))};II.prototype.ngOnChanges=function(){this.userSubject.next(this.user)};II.\u0275fac=function(a){return new (a||II)(D(HI))};
II.\u0275cmp=zc({type:II,selectors:[["waldo-availability-chip"]],inputs:{user:"user"},features:[Mc],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&&(R(0,cCa,6,3,"div",0),T(1,"async"));a&2&&G("ngIf",U(1,1,b.availability))},dependencies:[Tu,Zu],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 JI=function(a){this.refreshMonitor=a;this.user="";this.coinonly=null};JI.\u0275fac=function(a){return new (a||JI)(D(GH))};JI.\u0275cmp=zc({type:JI,selectors:[["b-availability-chip"]],inputs:{user:"user",coinonly:"coinonly"},decls:1,vars:1,consts:[[3,"refreshable"],[3,"user"]],template:function(a,b){a&1&&R(0,dCa,1,2,"ng-template",0);a&2&&G("refreshable",b.refreshMonitor.getObservable())},dependencies:[II,AI],styles:["waldo-availability-chip[_ngcontent-%COMP%] { margin-left: 5px; }"],changeDetection:0});var gpc=function(){this.issueId="";this.customFieldMap={};this.currentUserEmail="";this.createdTimeMicros=this.authorUser=this.user=this.originalModelData=null;this.componentId=0;this.severity=this.priority=this.type=this.version=null;this.title="";this.verifierUser=this.verifier=this.assigneeUser=this.assignee=this.reporterUser=this.reporter=null;this.cc=[];this.ccUsers=[];this.collaborators=[];this.collaboratorsUsers=[];this.hotlistId=this.verifiedInVersion=this.targetedToVersion=this.foundInVersion=
this.postmortems=this.changelist=this.blockingIssueId=this.blockedByIssueId=this.duplicateOfIssueId=this.attachmentId=null;this.customField=[];this.duplicateIssueId=this.significanceOverride=this.deletionReason=this.isDeleted=null;this.isArchived=this.inProd=!1;this.effortEstimate=this.sloSnoozeType=this.sloEndTime=this.sloSnoozeUntil=null;this.status="NEW"};
gpc.prototype.setData=function(a,b,c){this.issueId=b;a=Gg(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=Gg(a);this.assignee=Qg(a.assigneeUser);this.assigneeUser=a.assigneeUser;this.authorUser=a.authorUser;this.attachmentId=a.attachmentId;this.blockedByIssueId=a.blockedByIssueId;this.blockingIssueId=a.blockingIssueId;this.cc=Sg(a.ccUsers)||[];this.ccUsers=a.ccUsers||[];this.collaborators=Sg(a.collaboratorsUsers)||[];this.collaboratorsUsers=a.collaboratorsUsers||[];this.changelist=a.changelist;this.componentId=a.componentId||
0;this.createdTimeMicros=a.createdTimeMicros;this.deletionReason=a.deletionReason;this.duplicateIssueId=a.duplicateIssueId;this.duplicateOfIssueId=a.duplicateOfIssueId;this.foundInVersion=a.foundInVersion;this.hotlistId=a.hotlistId;this.inProd=a.inProd;this.isArchived=a.isArchived;this.isDeleted=a.isDeleted;this.postmortems=a.postmortems;this.priority=a.priority;this.reporter=Qg(a.reporterUser);this.reporterUser=a.reporterUser;this.severity=a.severity;this.significanceOverride=a.significanceOverride;
this.status=a.status||"NEW";this.targetedToVersion=a.targetedToVersion;this.title=a.title;this.type=a.type;this.user=Qg(a.authorUser);this.verifiedInVersion=a.verifiedInVersion;this.verifier=Qg(a.verifierUser);this.verifierUser=a.verifierUser;this.version=a.version;this.sloSnoozeUntil=a.sloSnoozeUntil;this.sloEndTime=a.sloEndTime;this.sloSnoozeType=a.sloSnoozeType;var d,e;this.effortEstimate=null!=(e=null==(d=a.effort)?void 0:d.estimate)?e:null;this.customField=[];a&&(this.customField=(a.customField||
[]).filter(function(g){return g}).map(function(g){return new hpc(g)}));d={};c=k(c);for(e=c.next();!e.done;d={$jscomp$loop$prop$fieldResource$2302:d.$jscomp$loop$prop$fieldResource$2302},e=c.next())d.$jscomp$loop$prop$fieldResource$2302=e.value,e=d.$jscomp$loop$prop$fieldResource$2302.allowedValue?d.$jscomp$loop$prop$fieldResource$2302.allowedValue.map(function(g){return{value:g,displayText:g}}):null,(a=this.customField.find(function(g){return function(h){return h.customFieldId===g.$jscomp$loop$prop$fieldResource$2302.customFieldId}}(d)))?
(a.type=d.$jscomp$loop$prop$fieldResource$2302.type,a.customFieldName=d.$jscomp$loop$prop$fieldResource$2302.name,a.choices=e,this.customFieldMap[String(d.$jscomp$loop$prop$fieldResource$2302.customFieldId)]=a):(a=new hpc({customFieldId:d.$jscomp$loop$prop$fieldResource$2302.customFieldId}),a.type=d.$jscomp$loop$prop$fieldResource$2302.type,a.customFieldName=d.$jscomp$loop$prop$fieldResource$2302.name,a.choices=e,this.customFieldMap[String(d.$jscomp$loop$prop$fieldResource$2302.customFieldId)]=a)};
var jpc=function(a){for(var b=[],c=k(Object.values(a.customFieldMap)),d=c.next();!d.done;d=c.next()){d=d.value;var e=ipc(a,d.customFieldId);e=e?e.getValue():null;var g=d.getValue();if(!Fg(e,g)){if(e=d.isEmpty())d.textValue="";b.push({fieldName:"customField",customFieldValue:d,actionType:e?"REMOVE":"ADD"})}}if(a.originalModelData){KI(Qg(a.originalModelData.assigneeUser),a.assignee,"assignee",b);KI(a.originalModelData.componentId,a.componentId,"componentId",b);KI(a.originalModelData.createdTimeMicros,
a.createdTimeMicros,"createdTimeMicros",b);KI(a.originalModelData.deletionReason,a.deletionReason,"deletionReason",b);KI(a.originalModelData.duplicateOfIssueId,a.duplicateOfIssueId,"duplicateOfIssueId",b);KI(a.originalModelData.inProd,a.inProd,"inProd",b);KI(a.originalModelData.isArchived,a.isArchived,"isArchived",b);KI(a.originalModelData.isDeleted,a.isDeleted,"isDeleted",b);KI(a.originalModelData.priority,a.priority,"priority",b);KI(Qg(a.originalModelData.reporterUser),a.reporter,"reporter",b);
KI(a.originalModelData.severity,a.severity,"severity",b);KI(a.originalModelData.significanceOverride,a.significanceOverride,"significanceOverride",b);KI(a.originalModelData.status,a.status,"status",b);KI(a.originalModelData.title,a.title,"title",b);KI(a.originalModelData.type,a.type,"type",b);KI(Qg(a.originalModelData.authorUser),a.user,"user",b);KI(Qg(a.originalModelData.verifierUser),a.verifier,"verifier",b);KI(a.originalModelData.version,a.version,"version",b);var h,l,q,v;KI(null!=(q=null==(h=
a.originalModelData.sloSnoozeUntil)?void 0:h.seconds)?q:null,null!=(v=null==(l=a.sloSnoozeUntil)?void 0:l.seconds)?v:null,"sloSnoozeUntil",b);var y,B,I,N;KI(null!=(I=null==(y=a.originalModelData.sloEndTime)?void 0:y.seconds)?I:null,null!=(N=null==(B=a.sloEndTime)?void 0:B.seconds)?N:null,"sloEndTime",b);KI(a.originalModelData.sloSnoozeType,a.sloSnoozeType,"sloSnoozeType",b);var Q,Z;KI(null!=(Z=null==(Q=a.originalModelData.effort)?void 0:Q.estimate)?Z:null,a.effortEstimate,"effortEstimate",b);LI(a.originalModelData.attachmentId,
a.attachmentId,"attachmentId",b);LI(Sg(a.originalModelData.ccUsers),a.cc,"ccs",b);LI(Sg(a.originalModelData.collaboratorsUsers),a.collaborators,"collaborators",b);LI(a.originalModelData.changelist,a.changelist,"changelists",b);LI(a.originalModelData.blockedByIssueId,a.blockedByIssueId,"blockedByIssueId",b);LI(a.originalModelData.blockingIssueId,a.blockingIssueId,"blockingIssueId",b);LI(a.originalModelData.foundInVersion,a.foundInVersion,"foundInVersion",b);LI(a.originalModelData.targetedToVersion,
a.targetedToVersion,"targetedToVersion",b);LI(a.originalModelData.verifiedInVersion,a.verifiedInVersion,"verifiedInVersion",b);LI(a.originalModelData.hotlistId,a.hotlistId,"hotlists",b)}return b.length?{issueId:a.issueId,actions:b}:null},KI=function(a,b,c,d){a!==b&&d.push({fieldName:c,value:null!=b?String(b):void 0})},LI=function(a,b,c,d){var e=ssa(b||[],new Set(a));a=ssa(a||[],new Set(b));e.length&&d.push({fieldName:c,value:e.join(","),actionType:"ADD"});a.length&&d.push({fieldName:c,value:a.join(","),
actionType:"REMOVE"})};f=gpc.prototype;
f.setCustomField=function(a,b){a=String(a);if(this.customFieldMap[a]){var c=this.customFieldMap[a].type;if(c)switch(c){case "UNKNOWN":break;case "TEXT":this.customFieldMap[a].textValue=b||"";break;case "DATE":this.customFieldMap[a].dateValue=b||void 0;break;case "ENUM":this.customFieldMap[a].enumValue=b||"";break;case "NUMERIC":this.customFieldMap[a].numericValue=b;break;case "REPEATED_TEXT":this.customFieldMap[a].repeatedTextValue={values:b};break;case "REPEATED_DATE":this.customFieldMap[a].repeatedDateValue={values:b};
break;case "REPEATED_ENUM":this.customFieldMap[a].repeatedEnumValue={values:b};break;case "REPEATED_NUMERIC":this.customFieldMap[a].repeatedNumericValue={values:b};break;default:og(c,"Unexpected custom field type: "+c)}}};f.setIsDeleted=function(a){this.isDeleted=a};f.setIsArchived=function(a){this.isArchived=a};f.setDeletionReason=function(a){this.deletionReason=a};f.setReporter=function(a){this.reporter=a};f.setType=function(a){this.type=a};f.setPriority=function(a){this.priority=a};
f.setSeverity=function(a){this.severity=a};f.setAssignee=function(a){this.assignee=a;a=kk[this.status];!this.assignee&&this.originalModelData&&Qg(this.originalModelData.assigneeUser)&&"REQUIRED"===(null==a?void 0:a.assigneeRequirement)?this.status="NEW":this.assignee&&"FIXED"!==this.status&&"VERIFIED"!==this.status&&(this.status="ASSIGNED")};
f.setVerifier=function(a){this.verifier=a;!this.verifier&&this.originalModelData&&Qg(this.originalModelData.verifierUser)&&"VERIFIED"===this.originalModelData.status&&(this.status="FIXED")};
f.setStatus=function(a){this.status=a;a=kk[this.status];"FORBIDDEN"===(null==a?void 0:a.assigneeRequirement)&&this.assigneeUser?this.assignee="":"REQUIRED"!==(null==a?void 0:a.assigneeRequirement)||this.assigneeUser||(this.assignee=this.currentUserEmail);"VERIFIED"!==this.status||this.verifier||(this.verifier=this.currentUserEmail)};f.setInProd=function(a){this.inProd=a};f.setCollaborators=function(a){this.collaborators=a};f.setFoundInVersion=function(a){this.foundInVersion=a};
f.setTargetedToVersion=function(a){this.targetedToVersion=a};f.setVerifiedInVersion=function(a){this.verifiedInVersion=a};f.setSloSnoozeUntil=function(a){this.sloSnoozeUntil=a};f.setSloEndTime=function(a){this.sloEndTime=a};f.setSloSnoozeType=function(a){this.sloSnoozeType=a};
var ipc=function(a,b){return a.originalModelData?(a=(a.originalModelData.customField||[]).find(function(c){return c.customFieldId===b}))?new Og(a):null:null},hpc=function(a){Og.call(this,a);this.choices=this.customFieldName=this.type=null};V(hpc,Og);hpc.prototype.isRepeated=function(){return null==this.type?!1:["REPEATED_TEXT","REPEATED_DATE","REPEATED_ENUM","REPEATED_NUMERIC"].includes(this.type)};var kpc=new Map([["assignee",function(a,b){a.assigneeUser=Yg(b.assignee)}],["ccs",function(a,b){a.ccUsers=b.cc.map(Yg).filter(eh)}],["changelists",function(a,b){a.changelist=b.changelist}],["hotlists",function(a,b){a.hotlistId=b.hotlistId}],["reporter",function(a,b){a.reporterUser=Yg(b.reporter)}],["verifier",function(a,b){a.verifierUser=Yg(b.verifier)}],["componentId",function(a,b){a.componentId=b.componentId}],["createdTimeMicros",function(a,b){a.createdTimeMicros=b.createdTimeMicros}],["deletionReason",
function(a,b){a.deletionReason=b.deletionReason}],["duplicateOfIssueId",function(a,b){a.duplicateOfIssueId=b.duplicateOfIssueId}],["inProd",function(a,b){a.inProd=b.inProd}],["isArchived",function(a,b){a.isArchived=b.isArchived}],["isDeleted",function(a,b){a.isDeleted=b.isDeleted}],["priority",function(a,b){a.priority=b.priority}],["severity",function(a,b){a.severity=b.severity}],["significanceOverride",function(a,b){a.significanceOverride=b.significanceOverride}],["status",function(a,b){a.status=
b.status}],["title",function(a,b){a.title=b.title}],["type",function(a,b){a.type=b.type}],["user",function(a,b){a.authorUser=b.authorUser}],["version",function(a,b){a.version=b.version}],["attachmentId",function(a,b){a.attachmentId=b.attachmentId}],["blockedByIssueId",function(a,b){a.blockedByIssueId=b.blockedByIssueId}],["blockingIssueId",function(a,b){a.blockingIssueId=b.blockingIssueId}],["foundInVersion",function(a,b){a.foundInVersion=b.foundInVersion}],["targetedToVersion",function(a,b){a.targetedToVersion=
b.targetedToVersion}],["verifiedInVersion",function(a,b){a.verifiedInVersion=b.verifiedInVersion}]]);var MI=function(a){this.$window=a};MI.\u0275fac=function(a){return new (a||MI)(w(jE))};MI.\u0275prov=nc({token:MI,factory:MI.\u0275fac,providedIn:"root"});var NI=function(a){this.session=a;this.baseDocumentationUrl=a.getDocumentationBaseUrl()},Xl=function(a){return a.session.isInternalSession()?"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/access-control":a.baseDocumentationUrl+"/concepts/access-control"},lpc=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"};
NI.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 mpc=function(a){return a.session.isInternalSession()?"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/automation-access":Xl(a)},npc=function(a){return a.session.isExternalSession()?a.baseDocumentationUrl+"/concepts/public-access":"http://go/buganizer-public-access"},opc=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"},Csb=function(){return"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/guides/manage-component#enabling-comment-editing"},
ppc=function(a){return a.session.isExternalSession()?a.baseDocumentationUrl+"/concepts/external-access":"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/access-dos-donts#creating-moving-issues"},qp=function(){return"http://go/buganizer-retention"};NI.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 fHb=function(){return"https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/custom-fields"};NI.prototype.getDisablingFieldsHelpLink=function(){return fHb()+"#hiding-inherited-fields"};var qpc=function(a){return a.session.isInternalSession()?"http://go/delete-comments-attachments":""};NI.\u0275fac=function(a){return new (a||NI)(w(rp))};NI.\u0275prov=nc({token:NI,factory:NI.\u0275fac,providedIn:"root"});var rpc=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};rpc.\u0275fac=function(a){return new (a||rpc)(D(Iy),D(Ky))};
rpc.\u0275cmp=zc({type:rpc,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),S(1),J(),K(2,"div",1),H(3,"div",2),R(4,jCa,2,1,"button",3),H(5,"button",4),
O("click",function(){return b.dialogRef.close(!0)}),S(6),J()());a&2&&(C(1),Ve(b.data.title),C(1),G("innerHTML",b.data.content,ud),C(2),G("ngIf",b.showCancelButton),C(1),G("color",b.confirmButtonTheme),C(1),Te(" ",b.confirmButtonText," "))},dependencies:[Tu,yy,Ny,Oy,Py],encapsulation:2});var OI=function(a){this.dialog=a},spc=function(a,b){return new Promise(function(c){a.open(Object.assign({},b,{onConfirm:function(){c(!0)},onDismiss:function(){c(!1)}}))})};
OI.prototype.open=function(a){var b=a.onConfirm,c=a.onDismiss;Gy(this.dialog.open(rpc,{data:{title:a.title,content:a.content,isDestructive:a.isDestructive,cancelButtonText:a.cancelButtonText,confirmButtonText:a.confirmButtonText,showCancelButton:a.showCancelButton},maxWidth:"500px"})).subscribe(function(d){d?null==b||b():null==c||c()})};OI.\u0275fac=function(a){return new (a||OI)(w(Ly))};OI.\u0275prov=nc({token:OI,factory:OI.\u0275fac,providedIn:"root"});var PI=function(a,b,c){this.activeSession=a;this.documentationLinks=b;this.confirmationDialogService=c},upc=function(a,b){return new Promise(function(c){tpc(a,b,function(){c(!0)},function(){c(!1)})})},tpc=function(a,b,c,d){if(a.activeSession.isExternalSession())c&&c();else{var e="",g=yl("");if("VULNERABILITY"===b)e="Set the issue type to \u201cVulnerability\u201d?",b={},g=Bl(Lt('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'),
Al("A",(b.href="http://goto.google.com/vulnerability-slo",b.target="_blank",b),"Learn more"));else if("PRIVACY_ISSUE"===b){e="Set the issue type to \u201cPrivacy Issue\u201d?";b={};g={};var h={};g=Bl(Lt('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. '),Al("A",(b.href="http://goto.google.com/pib-slo",b.target="_blank",b),"Learn more"),Lt(".\n\nDO NOT use this type to file "),
Al("A",(g.href="http://goto.google.com/incident-response-policy",g.target="_blank",g),"privacy incidents"),Lt(". Incidents should be filed at "),Al("A",(h.href="http://goto.google.com/privacy-incidents",h.target="_blank",h),"go/privacy-incidents"),Lt(".\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."))}a.confirmationDialogService.open({title:e,
content:g,onConfirm:null!=c?c:function(){},onDismiss:null!=d?d:function(){}})}};PI.\u0275fac=function(a){return new (a||PI)(w(rp),w(NI),w(OI))};PI.\u0275prov=nc({token:PI,factory:PI.\u0275fac,providedIn:"root"});var QI=function(a){r.call(this,a,0,QI.messageId)};V(QI,r);QI.repeatedFields_=[1];QI.prototype.toObject=function(){if(null!=this){t(this);var a={zonesList:Mb(yg(this,Xj,1),Bhc)}}else a=void 0;return a};QI.prototype.serializeBinary=u([QI,1,Iq,Chc]);QI.messageId="b.TimeZoneDataList";var RI=function(a,b){var c=this;this.executor=a;this.activeSession=b;this.memoized=new Gnc(function(d){a:{var e=k(c.activeSession.session.preload.timezones);for(var g=e.next();!g.done;g=e.next())if(g=g.value,d===g.timeZoneId_){e=g;break a}e=void 0}return e?(0,F.of)(e):c.executor.get({url:"action/timezone/"+encodeURIComponent(d),responseConstructor:Xj}).pipe(E(Mva))},10)};RI.prototype.get=function(a){return this.memoized.get(a)};
var vpc=function(a){return a.executor.get({url:"action/timezone",responseConstructor:QI}).pipe(E(function(b){return null==b?void 0:yg(b,Xj,1).map(function(c){c=Mva(c);var d=a3b(c.getOffset(new Date));return{id:c.timeZoneId_,displayName:"("+d+") - "+c.timeZoneId_}})}))};RI.\u0275fac=function(a){return new (a||RI)(w(BC),w(rp))};RI.\u0275prov=nc({token:RI,factory:RI.\u0275fac,providedIn:"root"});var SI=function(a){this.executor=a},wpc=function(a,b){return a.executor.post({url:"action/current_user/preferences",responseConstructor:Hj,body:qwa(b)}).pipe(E(function(c){return dwa(c)}))};SI.\u0275fac=function(a){return new (a||SI)(w(BC))};SI.\u0275prov=nc({token:SI,factory:SI.\u0275fac,providedIn:"root"});var TI=function(a){this.userPreferencesManagerBase=a;this.destroyed$=new F.ReplaySubject(1);this.preferencesSubject$=this.userPreferencesManagerBase.preferences$;this.preferences$=this.preferencesSubject$.pipe(E(Gg));this.textDisplayPreferences$=this.preferences$.pipe(E(function(b){return b.textDisplayPreferences||{}}));this.textDisplayPreferencesSubject$=nl(this.textDisplayPreferences$.pipe(qe(this.destroyed$)),{});this.lastPublishMode$=this.textDisplayPreferences$.pipe(E(function(b){return b.lastPublishMode}),
fe());this.lastPublishModeProto$=this.lastPublishMode$.pipe(E(Sva));this.themePreferences$=this.preferences$.pipe(E(function(b){var c;return null!=(c=b.themePreferences)?c:Gg(eE.themePreferences)}),ul());this.listViewPreferences$=this.preferences$.pipe(E(function(b){var c;return null!=(c=b.listViewPreferences)?c:Gg(eE.listViewPreferences)}),ul());this.layoutPreferences$=this.preferences$.pipe(E(this.getLayoutPreferences),ul());this.dateTimePreferences$=this.preferences$.pipe(E(function(b){var c;return null!=
(c=b.dateTimePreferences)?c:Gg(eE.dateTimePreferences)}),ul());this.homepagePreferences$=this.preferences$.pipe(E(this.getHomepagePreferences),ul());this.keyboardPrefs$=this.preferences$.pipe(E(function(b){var c;return null!=(c=b.keyboardPreferences)?c:Gg(eE.keyboardPreferences)}),ul());this.displayColumnsPreferences$=this.preferences$.pipe(E(function(b){var c,d;return null!=(d=null==(c=b.displayColumns)?void 0:c.column)?d:[]}),ul());this.sortColumnsPreferences$=this.preferences$.pipe(E(function(b){var c,
d;return null!=(d=null==(c=b.sortColumns)?void 0:c.column)?d:[]}),ul());this.needsAttentionPreferences$=this.preferences$.pipe(E(function(b){var c;return null!=(c=b.needsAttentionPreferences)?c:Gg(eE.needsAttentionPreferences)}),ul());this.bugScreensaverPreferences$=this.preferences$.pipe(E(function(b){var c;return null!=(c=b.bugScreensaverPreferences)?c:Gg(eE.bugScreensaverPreferences)}),ul());this.bugScreensaverSubject$=nl(this.bugScreensaverPreferences$.pipe(qe(this.destroyed$)),eE.bugScreensaverPreferences);
this.g3nPreferences$=this.preferences$.pipe(E(function(b){var c;return null!=(c=b.g3nPreferences)?c:Gg(eE.g3nPreferences)}),ul());nl(this.g3nPreferences$.pipe(qe(this.destroyed$)),eE.g3nPreferences);this.teamWarningPreferences$=this.preferences$.pipe(E(function(b){var c;return null!=(c=b.teamWarningPreferences)?c:Gg(eE.teamWarningPreferences)}),ul());this.teamWarningPreferencesSubject$=nl(this.teamWarningPreferences$.pipe(qe(this.destroyed$)),eE.teamWarningPreferences);this.commentFilterPreferences$=
this.preferences$.pipe(E(function(b){var c;return null!=(c=b.commentFilterPreferences)?c:Gg(eE.commentFilterPreferences)}),ul());nl(this.commentFilterPreferences$.pipe(qe(this.destroyed$)),eE.commentFilterPreferences);this.codeFont$=this.preferences$.pipe(E(function(b){return!!b.useCodefont}),fe());this.autoCcOnComment$=this.preferences$.pipe(E(function(b){var c;return null!=(c=b.autoCcOnComment)?c:!1}),fe());this.showFullHistory$=this.preferences$.pipe(E(function(b){return!!b.showFullHistory}),fe());
this.showRecentEventsFirst$=this.preferences$.pipe(E(function(b){return!!b.showRecentEventsFirst}),fe());this.showInlineImages$=this.preferences$.pipe(E(function(b){var c;return null!=(c=b.showInlineImages)?c:eE.showInlineImages}),fe())};TI.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};TI.prototype.save=function(a){return this.userPreferencesManagerBase.save(a)};
var xpc=function(a,b){b=Object.assign({},a.getLayoutPreferences(a.preferencesSubject$.value),b);return a.save({layoutPreferences:b}).pipe(E(a.getLayoutPreferences))},ypc=function(a,b){return a.save({homepagePreferences:b}).pipe(E(a.getHomepagePreferences))};TI.prototype.getDateTimePreferences=function(){var a;return null!=(a=(void 0).dateTimePreferences)?a:Gg(eE.dateTimePreferences)};
var zpc=function(a,b){b=Object.assign({},a.preferencesSubject$.value.collapsed,b);return a.save({collapsed:b})},Apc=function(a,b){var c;return null==(c=a.preferencesSubject$.value.collapsed)?void 0:c[b]};TI.prototype.clearHomepagePreferences=function(){return ypc(this,{})};var Bpc=function(a,b){return a.save({displayColumns:{column:b}}).pipe(E(function(c){var d,e;return null!=(e=null==(d=c.displayColumns)?void 0:d.column)?e:[]}))};
TI.prototype.saveSortColumns=function(a){return this.save({sortColumns:{column:a}}).pipe(E(function(b){var c,d;return null!=(d=null==(c=b.sortColumns)?void 0:c.column)?d:[]}))};var Cpc=function(a,b){return a.save({teamWarningPreferences:b}).pipe(E(function(c){var d;return null!=(d=c.teamWarningPreferences)?d:Gg(eE.teamWarningPreferences)}))};TI.prototype.getLayoutPreferences=function(a){var b;return null!=(b=a.layoutPreferences)?b:Gg(eE.layoutPreferences)};
TI.prototype.getHomepagePreferences=function(a){var b;return null!=(b=a.homepagePreferences)?b:Gg(eE.homepagePreferences)};var UI=function(a){return Gg(a.preferencesSubject$.getValue())};TI.\u0275fac=function(a){return new (a||TI)(w(VI))};TI.\u0275prov=nc({token:TI,factory:TI.\u0275fac,providedIn:"root"});
var VI=function(a,b){this.activeSession=a;this.userPreferencesResources=b;this.preferences$=new F.BehaviorSubject(Gg(eE));a=this.preferences$.value;if(b=this.activeSession.getUserPreferences())a=Object.assign({},a,b),Dpc(a);this.preferences$.next(a)};VI.prototype.save=function(a){var b=this;return this.activeSession.isAnonymous()?(0,F.of)(Epc(this,a)):wpc(this.userPreferencesResources,a).pipe(E(function(){return Epc(b,a)}))};
var Epc=function(a,b){var c=Gg(a.preferences$.value);c=Object.assign({},c,b);Dpc(c);a.preferences$.next(c);return c},Dpc=function(a){a.dateTimePreferences&&(a.dateTimePreferences.calendarFormat||(a.dateTimePreferences.calendarFormat=eE.dateTimePreferences.calendarFormat),a.dateTimePreferences.timeFormat||(a.dateTimePreferences.timeFormat=eE.dateTimePreferences.timeFormat),a.dateTimePreferences.sloEtaViewAs||(a.dateTimePreferences.sloEtaViewAs=eE.dateTimePreferences.sloEtaViewAs));!a.notificationPreferences||
a.notificationPreferences.collaboratorPriority&&"UNKNOWN_PRIORITY"!==a.notificationPreferences.collaboratorPriority||(a.notificationPreferences.collaboratorPriority=eE.notificationPreferences.collaboratorPriority)};VI.\u0275fac=function(a){return new (a||VI)(w(rp),w(SI))};VI.\u0275prov=nc({token:VI,factory:VI.\u0275fac,providedIn:"root"});var Fpc=nCa({PRIORITY_UNSPECIFIED:0,P0:1,P1:2,P2:3,P3:4,P4:5}),Gpc=nCa({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}),Hpc=nCa({TYPE_UNSPECIFIED:0,BUG:1,FEATURE_REQUEST:2,CUSTOMER_ISSUE:3,INTERNAL_CLEANUP:4,PROCESS:5,VULNERABILITY:6,PRIVACY_ISSUE:7,PROJECT:8,FEATURE:9,MILESTONE:10,EPIC:11,STORY:12,TASK:13});Hpc.slice(0,7);var WI={},XI=(WI.BUG="Unintended behavior",WI.FEATURE_REQUEST="Request for new functionality",WI.CUSTOMER_ISSUE="Issue affecting a 3rd party",WI.INTERNAL_CLEANUP="Maintenance work",WI.PROCESS="Miscellaneous non-feature work",WI.VULNERABILITY="A security concern",WI.PRIVACY_ISSUE="A privacy concern",WI.PROJECT="Goal-driven effort",WI.FEATURE="A collection of work",WI.MILESTONE="An important achievement",WI.EPIC="A large collection of work",WI.STORY="A small collection of work",WI.TASK="A small unit of work",
WI.TYPE_UNSPECIFIED="Unspecified",WI),Ipc="TYPE_UNSPECIFIED BUG FEATURE_REQUEST CUSTOMER_ISSUE INTERNAL_CLEANUP PROCESS VULNERABILITY PRIVACY_ISSUE PROJECT FEATURE MILESTONE EPIC STORY TASK".split(" "),Jpc="PRIORITY_UNSPECIFIED P0 P1 P2 P3 P4".split(" ").slice(1),Kpc="STATUS_UNSPECIFIED NEW ASSIGNED ACCEPTED FIXED VERIFIED NOT_REPRODUCIBLE INTENDED_BEHAVIOR OBSOLETE INFEASIBLE DUPLICATE".split(" ").slice(1),Lpc=Ipc.slice(1),Mpc=["S0","S1","S2","S3","S4"],Npc=Ipc.slice(1,8),YI={},Opc=(YI.PRIORITY_UNSPECIFIED=
"(Unspecified Priority)",YI.P0="P0",YI.P1="P1",YI.P2="P2",YI.P3="P3",YI.P4="P4",YI),ZI={},Ppc=(ZI.TYPE_UNSPECIFIED="(Unspecified Issue Type)",ZI.BUG="Bug",ZI.FEATURE_REQUEST="Feature Request",ZI.CUSTOMER_ISSUE="Customer Issue",ZI.INTERNAL_CLEANUP="Internal Cleanup",ZI.PROCESS="Process",ZI.VULNERABILITY="Vulnerability",ZI.PRIVACY_ISSUE="Privacy Issue",ZI.PROJECT="Project",ZI.FEATURE="Feature",ZI.MILESTONE="Milestone",ZI.EPIC="Epic",ZI.STORY="Story",ZI.TASK="Task",ZI),Qpc=Jpc.map(function(a){return Opc[a]}),
Rpc=Lpc.map(function(a){return Ppc[a]}),Spc=new Map([[1,XI.BUG],[2,XI.FEATURE_REQUEST],[3,XI.CUSTOMER_ISSUE],[4,XI.INTERNAL_CLEANUP],[5,XI.PROCESS],[6,XI.VULNERABILITY],[7,XI.PRIVACY_ISSUE],[8,XI.PROJECT],[9,XI.FEATURE],[10,XI.MILESTONE],[11,XI.EPIC],[12,XI.STORY],[13,XI.TASK]]),Tpc=new Map([["BUG",XI.BUG],["FEATURE_REQUEST",XI.FEATURE_REQUEST],["CUSTOMER_ISSUE",XI.CUSTOMER_ISSUE],["INTERNAL_CLEANUP",XI.INTERNAL_CLEANUP],["PROCESS",XI.PROCESS],["VULNERABILITY",XI.VULNERABILITY],["PRIVACY_ISSUE",XI.PRIVACY_ISSUE],
["PROJECT",XI.PROJECT],["FEATURE",XI.FEATURE],["MILESTONE",XI.MILESTONE],["EPIC",XI.EPIC],["STORY",XI.STORY],["TASK",XI.TASK]]),Upc=new Set("PROJECT FEATURE MILESTONE EPIC STORY TASK".split(" ")),Vpc=Lpc.map(function(a){return{value:a,displayText:Gwa(a),altText:Tpc.get(a)}}),$I=function(){this.protoIssueTypesEnumStrings=new Map(Lwa(Hpc,Lpc));this.protoIssueStatusesEnumStrings=new Map(Lwa(Gpc,Kpc));this.priorities=Jpc;this.severities=Mpc;this.issueTypes=Npc;this.editIssueTypes=Lpc;this.editIssueTypeChoices=
Vpc;Lwa(Lpc,Rpc);this.protoIssuePrioritiesDisplayNames=new Map(Lwa(Fpc,Qpc));this.protoIssueTypesDisplayNames=new Map(Lwa(Hpc,Rpc));this.protoIssueTypesShortDescriptions=Spc;this.issueTypesShortDescriptions=Tpc;this.supportedTimeZones=[{name:"Local time",id:""},{name:"UTC",id:"UTC"},{name:"America/Los_Angeles",id:"America/Los_Angeles"}]};$I.\u0275fac=function(a){return new (a||$I)};$I.\u0275prov=nc({token:$I,factory:$I.\u0275fac,providedIn:"root"});var aJ=function(a,b,c,d){kE.call(this);var e=this;this.errorHandler=d;this.cachedFormatters=new Map;this.formatPrefChange$=new F.Subject;this.userTimeZone=null;this.timeZones={};this.userPrefs=eE.dateTimePreferences;Promise.all(c.supportedTimeZones.map(function(g){if(""===g.id)return Promise.resolve({name:"",timeZone:null});var h=b.get(g.id).pipe(qe(e.destroyed$));return(0,F.firstValueFrom)(h).then(function(l){return{name:g.name,timeZone:l}})})).then(function(g){g=k(g);for(var h=g.next();!h.done;h=
g.next())h=h.value,e.timeZones[h.name]=h.timeZone;a.preferences$.pipe(qe(e.destroyed$)).subscribe(function(l){l.dateTimePreferences&&(l=l.dateTimePreferences,e.userPrefs=l,e.userTimeZone=e.timeZones[l.timeZone],e.formatPrefChange$.next())})}).catch(function(g){e.errorHandler.errorHandler(null,g)})};V(aJ,kE);aJ.\u0275dir=kE.\u0275dir;aJ.prototype.format=function(a,b,c){var d=this.cachedFormatters.get(a);d||(d=new ez(a),this.cachedFormatters.set(a,d));return b?d.format(c,b):d.format(c)};
var Wpc=function(a,b){return a.formatPrefChange$.subscribe(b)};aJ.prototype.formatUserCalendar=function(a){return this.format(this.userPrefs.calendarFormat,this.userTimeZone,a)};aJ.prototype.formatUserTime=function(a){return this.format(this.userPrefs.timeFormat,this.userTimeZone,a)};aJ.\u0275fac=function(a){return new (a||aJ)(w(TI),w(RI),w($I),w(ZF))};aJ.\u0275prov=nc({token:aJ,factory:aJ.\u0275fac,providedIn:"root"});var bJ=function(a){this.dateFormatter=a};
bJ.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(Eg(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(Eg(c))}).join(", ");if(a.repeatedEnumValue)return a.repeatedEnumValue.values.join(", ");
if(a.repeatedNumericValue)return a.repeatedNumericValue.values.join(", ")}return""};bJ.\u0275fac=function(a){return new (a||bJ)(w(aJ))};bJ.\u0275prov=nc({token:bJ,factory:bJ.\u0275fac,providedIn:"root"});var cJ=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",sloSnoozeUntil:"SLO Snooze Until",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"]},Zpc=function(a,b,c,d){c=void 0===c?null:c;d=void 0===d?"":d;var e;b.bulkEditOps&&(e=lCa(b.bulkEditOps));var g=b.actions||[];!g.length&&b.bulkEditOps&&(g=kCa(b.bulkEditOps));b=Xpc(g).map(function(h){return Ypc(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+"."},Xpc=function(a){var b=[],c=[];a=k(a);for(var d=a.next();!d.done;d=a.next())d=d.value,"status"===d.fieldName?c.push(d):b.push(d);return b.concat(c)},Ypc=function(a,b,c,d){c=void 0===c?null:c;d=void 0===d?"":d;var e=a.FIELD_TEXT_MAP[b.fieldName]||b.fieldName,g=b.value||"<none>";b.customFieldValue?(d=new Og(b.customFieldValue),e=c[d.customFieldId].name||c[d.customFieldId].customFieldName,g=a.customFieldFormatter.format(d)||"<none>"):e="effortEstimate"===b.fieldName&&d?d:a.FIELD_TEXT_MAP[b.fieldName]||
b.fieldName;"hotlists"===b.fieldName?g=b.value.split(",").map(function(h){var l,q;return(l=null==(q=ol(a.hotlistFridge.watch(String(h),{trustUncertainMemory:!0})))?void 0:q.name)?"'"+l+"'":h}).join(","):a.ENUM_FIELDS.includes(b.fieldName)&&(g=g?Bsa(g.replace(/_/g," ").toLowerCase()):"");return"ADD"===b.actionType&&"hotlists"===b.fieldName?(g=g.replace(/,/g,", "),"Added issue to Hotlist ["+g+"]"):"REMOVE"===b.actionType&&"hotlists"===b.fieldName?(g=g.replace(/,/g,", "),"Removed issue from Hotlist ["+
g+"]"):"ADD"===b.actionType&&"parentId"===b.fieldName?"Added child issue(s) to parent ["+g+"]":"REMOVE"===b.actionType&&"parentId"===b.fieldName?"Unlinked child issue(s) from parent ["+g+"]":b.actionType||"status"!==b.fieldName?b.actionType||"comment"!==b.fieldName?b.actionType||"attachments"!==b.fieldName?b.actionType||"sloSnoozeUntil"!==b.fieldName?b.actionType||"sloEndTime"!==b.fieldName?"ADD"!==b.actionType||b.customFieldValue?"REMOVE"!==b.actionType||b.customFieldValue?"isArchived"===b.fieldName?
"true"===b.value?"Archived successfully":"Unarchived successfully":e+' set to "'+g+'"':(g=g.replace(/,/g,", "),'"'+g+'" removed from '+e):(g=g.replace(/,/g,", "),'"'+g+'" added to '+e):b.value?"SLO End Time Set":"SLO End Time Unset":b.value?"SLO snoozed":"SLO un-snoozed":"":"Comment added":'Status set to "'+kk[b.value].displayValue+'"'};cJ.\u0275fac=function(a){return new (a||cJ)(w(bJ),w(lH))};cJ.\u0275prov=nc({token:cJ,factory:cJ.\u0275fac,providedIn:"root"});var dJ=function(a){r.call(this,a,0,dJ.messageId)};V(dJ,r);dJ.prototype.getAttachmentsList=function(){return yg(this,zE,1)};dJ.prototype.setAttachmentsList=function(a){Th(this,1,a)};dJ.repeatedFields_=[1];dJ.prototype.toObject=function(){if(null!=this){t(this);var a={attachmentsList:Mb(this.getAttachmentsList(),jic)}}else a=void 0;return a};dJ.prototype.serializeBinary=u([dJ,1,Iq,kic]);dJ.messageId="b.CreateAttachmentsResponse";var eJ=function(a){r.call(this,a,0,eJ.messageId)};V(eJ,r);eJ.prototype.getErrorMessage=function(){return mh(this,2)};eJ.prototype.setErrorMessage=function(a){n(this,2,a)};eJ.prototype.toObject=function(){if(null!=this){t(this);var a={encryptedMedia:Qb(si(this,1)),errorMessage:p(m(this,2))}}else a=void 0;return a};eJ.prototype.serializeBinary=u([eJ,1,Kq,2,Cq]);eJ.messageId="b.EncryptedMediaResponse";var $pc=function(){},fJ=function(a){this.executor=a};V(fJ,$pc);var aqc=function(a,b){var c=new Xfc;c.setFilename(b.filename);c.setMimeType(b.mimeType);null!=b.encryptedBlobId&&n(c,3,b.encryptedBlobId);n(c,4,b.docId);null!=b.size&&c.setSize(b.size);return a.executor.post({url:"action/issues/drive_attachment",body:c,responseConstructor:eJ}).then(Jua)};fJ.\u0275fac=function(a){return new (a||fJ)(w(CC))};fJ.\u0275prov=nc({token:fJ,factory:fJ.\u0275fac,providedIn:"root"});var gJ=function(){};gJ.\u0275fac=function(a){return new (a||gJ)};gJ.\u0275prov=nc({token:gJ,factory:gJ.\u0275fac,providedIn:"root"});var hJ=function(a){this.executor=a};V(hJ,gJ);hJ.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})};
hJ.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:zE}).then(Lua)};hJ.\u0275fac=function(a){return new (a||hJ)(w(CC))};hJ.\u0275prov=nc({token:hJ,factory:hJ.\u0275fac,providedIn:"root"});var vl=function(a){r.call(this,a)};V(vl,r);vl.prototype.toObject=function(){return bqc(this)};var bqc=function(a){if(null!=a)return t(a),{principalType:p(m(a,1)),detailedUserType:p(m(a,2))}},cqc=[vl,1,Nq,2,Nq];vl.prototype.serializeBinary=u(cqc);var iJ=function(a){r.call(this,a,0,iJ.messageId)};V(iJ,r);iJ.prototype.toObject=function(){if(null!=this){t(this);var a={principalTypeInfoMap:Ob(Ii(this,1,vl),bqc)}}else a=void 0;return a};iJ.prototype.serializeBinary=u([iJ,1,Sq,cqc]);iJ.messageId="b.PrincipalTypeInfoBatchResponse";var jJ=function(a,b){this.principalResources=a;this.principalTypeGetter=b.adapt(dqc(this,!1));this.principalTypeWithDetailGetter=b.adapt(dqc(this,!0))},dqc=function(a,b){return function(c){return eqc(a.principalResources,c,b).then(function(d){return rCa(c,d)})}};jJ.prototype.get=function(a){return kJ(this,a,!1)};var kJ=function(a,b,c){return(c?a.principalTypeWithDetailGetter.get(b):a.principalTypeGetter.get(b)).then(function(d){return null!=d?d:sCa()})};
jJ.\u0275fac=function(a){return new (a||jJ)(w(lJ),w(FF))};jJ.\u0275prov=nc({token:jJ,factory:jJ.\u0275fac,providedIn:"root"});var lJ=function(a){this.executor=a},eqc=function(a,b,c){var d={};d.email=gk(b);c&&(d.includeDetailedUserType="true");return a.executor.get({url:"action/principal_types",options:{params:d},responseConstructor:iJ}).then(qCa).then(function(e){for(var g={},h=k(b),l=h.next();!l.done;l=h.next()){l=l.value;var q=void 0;g[l]=null!=(q=e[l])?q:sCa()}return g})};
lJ.\u0275fac=function(a){return new (a||lJ)(w(CC))};lJ.\u0275prov=nc({token:lJ,factory:lJ.\u0275fac,providedIn:"root"});var mJ=function(a,b,c){this.dialogRef=a;this.data=c;this.readMoreLink=b.baseDocumentationUrl+"/concepts/access-control#explicit_access_warnings";this.userEmails=c.userEmails};mJ.prototype.close=function(a){this.dialogRef.close(a)};mJ.\u0275fac=function(a){return new (a||mJ)(D(Iy),D(NI),D(Ky))};
mJ.\u0275cmp=zc({type:mJ,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),S(2,"User may not have access"),J(),H(3,"section",2)(4,"p"),S(5," The following user(s) may not be able to edit, interact with, or get notifications about this issue: "),
J(),H(6,"ul"),R(7,tCa,2,1,"li",3),J(),H(8,"section"),S(9,"Continue anyway?"),J()(),H(10,"footer",4)(11,"div",5)(12,"a",6),S(13,"Learn more"),J()(),H(14,"button",7),O("click",function(){return b.close(!0)}),S(15,"Continue"),J(),H(16,"button",8),O("click",function(){return b.close(!1)}),S(17,"Cancel"),J()()());a&2&&(C(7),G("ngForOf",b.userEmails),C(5),G("href",b.readMoreLink,vd))},dependencies:[Su,yy,Ny,Oy,Py],styles:["ul[_ngcontent-%COMP%]{list-style:disc;margin-bottom:10px}"]});var nJ=function(a,b,c,d,e){this.matDialogService=a;this.analytics=b;this.butterBar=c;this.logger=d;this.accessPolicy=e},gqc=function(a,b){var c=b.componentId,d=b.userEmails,e=b.relation,g=b.analyticsEventLabel,h,l,q;return Ld(function(v){switch(v.nextAddress){case 1:if(d.every(function(y){return 0===y.length}))return v.return(!0);Md(v,2);return v.yield(fqc(a,c,d,e),4);case 4:h=v.yieldResult;if(0===h.length)return v.return(!0);a.analytics.trackEvent(Yl.ADD_USER_WITHOUT_ACCESS,"warn",g);return v.yield(a.confirm(h,
e),5);case 5:l=v.yieldResult;if(!l)return WF(a.butterBar,"Save cancelled.",4E3),a.analytics.trackEvent(Yl.ADD_USER_WITHOUT_ACCESS,"cancel",g),v.return(!1);a.analytics.trackEvent(Yl.ADD_USER_WITHOUT_ACCESS,"proceed",g);return v.return(!0);case 2:return q=Pd(v),a.logger.error(q),v.return(!1)}})},fqc=function(a,b,c,d){var e;return Ld(function(g){if(1==g.nextAddress)return g.yield(a.accessPolicy.checkPermission(c,d,"ISSUE_DEFAULTS",b),2);e=g.yieldResult;return g.return([].concat(Jc(e.noAccessEmails||
[]),Jc(e.unknownEmails||[])))})};nJ.prototype.confirm=function(a,b){var c=this,d,e,g;return Ld(function(h){if(1==h.nextAddress)return d={userEmails:a,relation:b},e=c.matDialogService.open(mJ,{width:"400px",data:d}),h.yield((0,F.firstValueFrom)(Gy(e)),2);g=h.yieldResult;return h.return(!!g)})};nJ.\u0275fac=function(a){return new (a||nJ)(w(Ly),w(AH),w(VF),w(YF),w(nG))};nJ.\u0275prov=nc({token:nJ,factory:nJ.\u0275fac,providedIn:"root"});var hqc=function(a,b){this.size=a;this.name=b;this.transferredBytes=0;this.errorMessage="";this.blobRef=null;this.state=1};hqc.prototype.cancel=function(){this.state=4};var iqc={UPLOADING:1,COMPLETE:2,ERROR:3,CANCELLED:4,1:"UPLOADING",2:"COMPLETE",3:"ERROR",4:"CANCELLED"};var oJ=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};oJ.prototype.reset=function(){this.value="";jqc(this)};var jqc=function(a){for(var b=k(a.uploads),c=b.next();!c.done;c=b.next())c.value.cancel();a.uploads=[]},kqc=function(a){return a.fromTemplate&&a.initialComment===a.value};
oJ.prototype.getAttachments=function(){for(var a=[],b=k(this.uploads),c=b.next();!c.done;c=b.next())c=c.value,2===c.state&&c.blobRef&&a.push(Gg(c.blobRef));return a};oJ.prototype.hasContent=function(){return!(!this.value&&!this.uploads.length)};var lqc=function(a){return!a.isEmpty()&&!xtb(a)};oJ.prototype.isEmpty=function(){return!this.value&&!mqc(this)};
var xtb=function(a){return a.uploads.some(function(b){return 1===b.state||3===b.state})},mqc=function(a){return a.uploads.some(function(b){return 2===b.state})};var pJ=function(a,b){kE.call(this);this.router=a;this.activatedRoute=b;this.params={};this.routeParams$=new F.BehaviorSubject({});this.issueId$=this.routeParams$.pipe(E(function(c){return c.issueId}),fe())};V(pJ,kE);pJ.\u0275dir=kE.\u0275dir;
var oqc=function(a){a.activatedRoute.queryParams.pipe(qe(a.destroyed$)).subscribe(function(b){nqc(a,a.routeParams$.value,b)});a.router.events.pipe(Zd(function(b){return b instanceof Wza}),E(function(b){return b}),qe(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);nqc(a,c,b.queryParams)})},pqc=function(a,b){return a.routeParams$.pipe(E(function(c){return c[b]}))},nqc=function(a,b,c){for(var d=k(Object.keys(a.params)),
e=d.next();!e.done;e=d.next())delete a.params[uCa(e.value)];a.routeParams$.next(b);c=k(Object.entries(c));for(d=c.next();!d.done;d=c.next())e=k(d.value),d=e.next().value,e=e.next().value,a.params[uCa(d)]=e;b=k(Object.entries(b));for(c=b.next();!c.done;c=b.next())d=k(c.value),c=d.next().value,d=d.next().value,a.params[uCa(c)]=d};pJ.\u0275fac=function(a){return new (a||pJ)(w(GG),w(Sk))};pJ.\u0275prov=nc({token:pJ,factory:pJ.\u0275fac,providedIn:"root"});var qJ=new Hc("routeParams",{factory:function(){return wc(pJ).params}});var rJ=function(a,b,c,d){this.routeParams=a;this.issueComments=b;this.draftStore=c;this.errorHandler=d};rJ.prototype.get=function(a){var b=this;if(this.routeParams.comment)return(0,F.of)(this.routeParams.comment);var c=this.routeParams.template_issue;if(c){var d=Ig(this.routeParams.template_comment)||1;return(0,F.defer)(function(){return qqc(b,c,d,b.routeParams.do_attribution)})}return a?(0,F.of)(this.draftStore.$window.sessionStorage.getItem(tl(a))||""):(0,F.of)("")};
var qqc=function(a,b,c,d){var e,g,h,l,q;return Ld(function(v){if(1==v.nextAddress)return Md(v,2),v.yield(a.issueComments.get(b,c),4);if(2!=v.nextAddress)return e=v.yieldResult,g=e.unlinkifiedComment,h=(new Date(Number(e.lastModified)/1E3)).toLocaleDateString(),d?(l="> From issue "+b+" on "+h+":",v.return(l+"\n\n"+g)):v.return(g);q=Pd(v);aG(a.errorHandler,q);return v.return("")})};rJ.\u0275fac=function(a){return new (a||rJ)(w(qJ),w(mI),w(MI),w(ZF))};
rJ.\u0275prov=nc({token:rJ,factory:rJ.\u0275fac,providedIn:"root"});var rqc=function(a,b,c,d,e){var g=this;this.issueId=a;this.defaultCommentSource=b;this.issueFetchResponseFridge=c;this.activeSession=d;this.userPreferencesManager=e;this.issueFr$=MH(this.issueFetchResponseFridge,this.issueId);this.issue$=this.issueFr$.pipe(E(function(h){return null==h?void 0:h.issue}));this.componentId$=this.issue$.pipe(E(function(h){return null==h?void 0:h.snapshot[0].componentId}),fe());this.comment$=this.defaultCommentSource.get(this.issueId).pipe(oe(""),fe(),se(this.userPreferencesManager.lastPublishModeProto$),
E(function(h){var l=k(h);h=l.next().value;l=l.next().value;h=new oJ(h);h.formattingMode=l;return h}),ne({bufferSize:1,refCount:!0}));this.comment=function(){return ol(g.comment$)};this.createRestrictedResourcesComponentWhitelist=this.activeSession.getCreateRestrictedSubresourcesComponentWhitelist();this.componentJudgementForNewContent$=this.componentId$.pipe(E(function(h){if(h&&g.createRestrictedResourcesComponentWhitelist.includes(h))return(new nh).setSeverity(2).setJudgementReason("None Specified")}),
ne({bufferSize:1,refCount:!0}));this.userDefinedJudgementForNewContent$=new F.BehaviorSubject(void 0);this.judgementForNewContent$=(0,F.combineLatest)([this.componentJudgementForNewContent$.pipe(oe(void 0)),this.userDefinedJudgementForNewContent$]).pipe(E(function(h){var l=k(h);h=l.next().value;l=l.next().value;return null!=l?l:h}),ne({bufferSize:1,refCount:!1}));this.judgementForNewContent=function(){return ol(g.judgementForNewContent$)}},sqc=function(a){var b=a.comment(),c,d=1===(null==(c=a.judgementForNewContent())?
void 0:c.getSeverity())?void 0:a.judgementForNewContent();a=b.value;c=b.formattingMode;var e=[];b=k(b.uploads);for(var g=b.next();!g.done;g=b.next())g=g.value,2===g.state&&g.blobRef&&(g=Gg({attachment:g.blobRef}),d&&(g.contentJudgement={severity:Tsa(d.getSeverity()),judgementReason:d.getJudgementReason()}),e.push(g));return{judgementForNewContent:d,commentText:a,formattingMode:c,attachmentsWithJudgements:e}},tqc=function(a){var b=sqc(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},sJ=function(a,b,c,d){this.defaultCommentSource=a;this.issueFetchResponseFridge=b;this.activeSession=c;this.userPreferencesManager=d};sJ.prototype.create=function(a){return new rqc(a,this.defaultCommentSource,this.issueFetchResponseFridge,this.activeSession,this.userPreferencesManager)};sJ.\u0275fac=function(a){return new (a||sJ)(w(rJ),w(LH),w(rp),w(TI))};
sJ.\u0275prov=nc({token:sJ,factory:sJ.\u0275fac,providedIn:"root"});var tJ=function(){};tJ.prototype.isSloSnoozed=function(a){return!!a&&a.seconds>Date.now()/1E3};
var uJ=function(a){return!!a&&!!a.targetTime&&0!==a.targetTime.seconds},uqc=function(a){return uJ(a.assignmentBounds)||uJ(a.responseBounds)||uJ(a.closureBounds)},vqc=function(a,b){switch(b){case "ASSIGNMENT":return uJ(a.assignmentBounds);case "RESPONSE":return uJ(a.responseBounds);case "CLOSURE":return uJ(a.closureBounds);default:return uqc(a)}},wqc=function(a){if(!a)return null;var b=[],c=[];a.assignmentBounds&&vCa(b,c,a.assignmentBounds,"ASSIGNMENT");a.responseBounds&&vCa(b,c,a.responseBounds,"RESPONSE");
a.closureBounds&&vCa(b,c,a.closureBounds,"CLOSURE");return 0<b.length?(b.sort(wCa),b[0]):0<c.length?(c.sort(wCa),{sloBounds:c[0].sloBounds,sloMetric:""}):null};tJ.\u0275fac=function(a){return new (a||tJ)};tJ.\u0275prov=nc({token:tJ,factory:tJ.\u0275fac,providedIn:"root"});var xqc=function(a,b,c,d,e){var g=this;this.issueId=a;this.issueFetchResponseFridge=b;this.constants=c;this.activeSession=d;this.sloStatusHelpersService=e;this.enableNonWtdmFieldPerTypeVisibility=iE(this.activeSession,"enableNonWtdmFieldPerTypeVisibility")||!1;this.showSloStatus=this.activeSession.isInternalSession();this.showChangelists=!this.activeSession.isExternalSession();this.issueFetchResponse$=MH(this.issueFetchResponseFridge,this.issueId);this.issue$=this.issueFetchResponse$.pipe(E(function(h){return null==
h?void 0:h.issue}));this.issueSnapshot$=this.issue$.pipe(E(function(h){return null==h?void 0:h.snapshot[0]}));this.hasSloDefined$=this.issue$.pipe(E(function(h){var l;return null==h?void 0:null==(l=h.aggregatedData)?void 0:l.sloStatus}),E(function(h){return!!h&&uqc(h)}));this.isWtdmType$=this.issueSnapshot$.pipe(E(function(h){return null!=(null==h?void 0:h.type)&&Upc.has(h.type)}));this.isForgottenFourPrimary$=this.isWtdmType$.pipe(E(function(h){return!h&&!g.enableNonWtdmFieldPerTypeVisibility}));
this.isSloStatusPrimary$=(0,F.combineLatest)([this.hasSloDefined$,this.isWtdmType$]).pipe(E(function(h){var l=k(h);h=l.next().value;l=l.next().value;return h||!l}));this.isSeverityPrimary$=this.isWtdmType$.pipe(E(function(h){return!h}));this.isChangelistPrimary$=(0,F.combineLatest)([this.isWtdmType$,this.issueSnapshot$]).pipe(E(function(h){var l=k(h);h=l.next().value;l=l.next().value;return!h||"STORY"===(null==l?void 0:l.type)||"TASK"===(null==l?void 0:l.type)}));this.customFields$=this.issueFetchResponse$.pipe(E(function(h){var l;
return null!=(l=null==h?void 0:h.issue.customFields)?l:[]}));this.visibleFields$=this.issue$.pipe(E(function(h){var l;return null!=(l=null==h?void 0:h.visibleFields)?l:[]}));this.visibleFieldIds$=this.visibleFields$.pipe(E(function(h){return h.map(function(l){return l.customFieldId}).filter(eh)}),E(function(h){return new Set(h)}),ne({refCount:!0,bufferSize:1}));this.visibleCustomFields$=(0,F.combineLatest)([this.visibleFieldIds$,this.customFields$]).pipe(E(function(h){h=k(h);var l=h.next().value;
return h.next().value.filter(function(q){return l.has(q.customFieldId)})}),ne({refCount:!0,bufferSize:1}));this.hiddenCustomFields$=(0,F.combineLatest)([this.visibleFieldIds$,this.customFields$]).pipe(E(function(h){h=k(h);var l=h.next().value;return h.next().value.filter(function(q){return!l.has(q.customFieldId)})}),ne({refCount:!0,bufferSize:1}));this.hiddenFieldCount$=(0,F.combineLatest)([this.isForgottenFourPrimary$,this.isSeverityPrimary$,this.isSloStatusPrimary$,this.isChangelistPrimary$,this.hiddenCustomFields$]).pipe(E(function(h){var l=
k(h);h=l.next().value;var q=l.next().value,v=l.next().value,y=l.next().value;l=l.next().value;return(h?0:4)+(q?0:1)+(!g.showSloStatus||v?0:1)+(!g.showChangelists||y?0:2)+l.length}),ne({refCount:!0,bufferSize:1}));this.hasHiddenFields$=this.hiddenFieldCount$.pipe(E(function(h){return 0<h}));this.showHiddenFieldsLabel$=this.hiddenFieldCount$.pipe(E(function(h){return 1===h?"Show 1 additional field":"Show "+h+" additional fields"}))},vJ=function(a,b,c,d){this.issueFetchResponseFridge=a;this.constants=
b;this.activeSession=c;this.sloStatusHelpersService=d};vJ.prototype.create=function(a){return new xqc(a,this.issueFetchResponseFridge,this.constants,this.activeSession,this.sloStatusHelpersService)};vJ.\u0275fac=function(a){return new (a||vJ)(w(LH),w($I),w(rp),w(tJ))};vJ.\u0275prov=nc({token:vJ,factory:vJ.\u0275fac,providedIn:"root"});var knc=Yl.EDIT_ISSUE,wJ=function(a,b){kE.call(this);this.analytics=a;this.clearcut=b;this.issueToTrackingState=new Map;this.getState=wl(this.issueToTrackingState,ACa);this.trackFirstAction=this.analytics.preapply()("first-action");this.trackEdit=this.analytics.preapply()("edit");this.trackNavigation=this.analytics.preapply()("navigate");this.trackDestroy=this.analytics.preapply()("destroyed")};V(wJ,kE);wJ.\u0275dir=kE.\u0275dir;
var zqc=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),yqc(a,c,"idp-time-to-action",b.variations),d.firstActionSeen=!0)},Rm=function(a,b,c){a.getState(b).variations.add(c)},yqc=function(a,b,c,d){pH(a.clearcut,b,c);d=k(d);for(var e=d.next();!e.done;e=d.next())pH(a.clearcut,b,c+"-"+e.value)};wJ.prototype.resetState=function(a){this.issueToTrackingState.delete(a)};
wJ.\u0275fac=function(a){return new (a||wJ)(w(AH),w(oH))};wJ.\u0275prov=nc({token:wJ,factory:wJ.\u0275fac,providedIn:"root"});var xJ=function(a,b,c,d,e,g,h){var l=this;this.issueFetchResponseFridge=a;this.issueFridge=b;this.teamFridge=c;this.componentFridge=d;this.eventsForIssue=e;this.paramsService=g;this.activatedRoute=h;this.id$=this.paramsService.issueId$;this.urlComment$=this.activatedRoute.fragment.pipe(E(kDa),ne({refCount:!0,bufferSize:1}));this.issueJs$=this.id$.pipe(pe(function(q){return MH(l.issueFetchResponseFridge,q)}),ne({refCount:!0,bufferSize:1}));this.issueJs$.pipe(E(function(q){return null==q?void 0:q.firstEvent}));
this.eventsJs$=this.id$.pipe(pe(this.eventsForIssue.watch),E(function(q){var v;return null!=(v=null==q?void 0:q.events)?v:[]}));this.starred$=this.issueJs$.pipe(E(BCa));this.lastViewedTimeMicros$=this.issueJs$.pipe(E(CCa));this.lastViewedTimeMicros$.pipe(E(function(q){return!q}));this.issueJs$.pipe(E(DCa));this.issueJs$.pipe(E(UCa));this.accessLimitLevel$=this.issueJs$.pipe(E(LCa));this.voted$=this.issueJs$.pipe(E(VCa));this.status$=this.issueJs$.pipe(E(ECa));this.priority$=this.issueJs$.pipe(E(FCa));
this.assignee$=this.issueJs$.pipe(E(GCa));this.issueJs$.pipe(E(HCa));this.teamId$=this.issueJs$.pipe(E(ICa));this.team$=this.teamId$.pipe(pe(this.teamFridge.watch),ne({refCount:!0,bufferSize:1}));this.ccUsers$=this.issueJs$.pipe(E(KCa));this.collaboratorsUsers$=this.issueJs$.pipe(E(MCa));this.issueJs$.pipe(E(function(q){var v,y;return null!=(y=null==(v=ok(q))?void 0:v.severity)?y:void 0}));this.type$=this.issueJs$.pipe(E(NCa));this.issueJs$.pipe(E(OCa));this.issueJs$.pipe(E(PCa));this.issueJs$.pipe(E(QCa));
this.postmortems$=this.issueJs$.pipe(E(RCa));this.postmortems$.pipe(E(function(q){return 0<q.length}));this.issueJs$.pipe(E(SCa));this.effort$=this.issueJs$.pipe(E(TCa));this.isDeleted$=this.issueJs$.pipe(E(XCa));this.accessLevel$=this.issueJs$.pipe(E(ZCa));this.modifiedTime$=this.issueJs$.pipe(E($Ca));this.retention$=this.issueJs$.pipe(E(bDa));this.retention=function(){return ol(l.retention$)};this.retentionState$=this.issueJs$.pipe(E(eDa));this.retentionState=function(){return ol(l.retentionState$)};
this.canonicalIssueId$=this.issueJs$.pipe(E(cDa));this.canonicalIssue$=this.canonicalIssueId$.pipe(pe(this.issueFridge.watch));this.sloStatus$=this.issueJs$.pipe(E(function(q){var v;return null==q?void 0:null==(v=q.issue.aggregatedData)?void 0:v.sloStatus}));this.sloId$=this.issueJs$.pipe(E(fDa));this.createdTimeMicros$=this.issueJs$.pipe(E(gDa));this.componentId$=this.issueJs$.pipe(E(JCa));this.component$=this.componentId$.pipe(pe(this.componentFridge.watch));this.teamSuggestions$=this.component$.pipe(E(function(q){var v;
return null!=(v=null==q?void 0:q.teamSuggestions)?v:[]}));this.effortSpec$=this.component$.pipe(E(hDa));this.isEffortEnabled$=this.component$.pipe(E(iDa));this.component$.pipe(E(jDa));this.thinking$=this.issueFetchResponseFridge.thinking$};xJ.\u0275fac=function(a){return new (a||xJ)(w(LH),w(IH),w(cI),w(xF),w(pF),w(pJ),w(Sk))};xJ.\u0275prov=nc({token:xJ,factory:xJ.\u0275fac,providedIn:"root"});var Aqc={admin:!1,writer:!0,appender:!0,reader:!0},zJ=function(a,b,c,d,e,g){var h=this;this.issueDetailsBrain=a;this.permissionsFridge=b;this.activeSession=c;this.accessPolicyApi=d;this.errorHandler=e;this.userAccess=g;this.currentUserEmail=this.activeSession.getUserEmail();this.currentUserEmailPattern=new RegExp("^"+zl(this.currentUserEmail).replace("@","(\\+.*)?@")+"$");this.issueId$=this.issueDetailsBrain.id$;this.issuePermissions$=this.issueId$.pipe(pe(function(l){return l?h.permissionsFridge.watchOne("issues/"+
l):(0,F.of)(void 0)}),E(function(l){return null!=l?l:Aqc}),oe(Aqc),ne({bufferSize:1,refCount:!1}));this.hasAclToEdit$=this.issuePermissions$.pipe(E(function(l){return!!l.writer}));this.hasAclToEdit=function(){return!!ol(h.hasAclToEdit$)};this.hasAclToComment$=this.issuePermissions$.pipe(E(function(l){return!!l.appender}));this.hasAclToComment=function(){return!!ol(h.hasAclToComment$)};this.hasAclToAdmin$=this.issuePermissions$.pipe(E(function(l){return!!l.admin}));this.hasAclToAdmin=function(){return!!ol(h.hasAclToAdmin$)};
this.isCurrentUserCCd$=this.issueDetailsBrain.ccUsers$.pipe(E(function(l){return l.some(function(q){return yJ(h,q.emailAddress)})}));this.isCurrentUserCCd=function(){return!!ol(h.isCurrentUserCCd$)};this.isCurrentUserCollaborator$=this.issueDetailsBrain.collaboratorsUsers$.pipe(E(function(l){return l.some(function(q){return yJ(h,q.emailAddress)})}));this.isCurrentUserCollaborator=function(){return!!ol(h.isCurrentUserCollaborator$)};this.isAllowedToEditCC$=this.hasAclToEdit$;(0,F.combineLatest)([this.hasAclToEdit$,
this.isCurrentUserCCd$]).pipe(E(function(l){var q=k(l);l=q.next().value;q=q.next().value;return l?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(fe(),pe(function(l){return l?h.accessPolicyApi.checkComponentImplicitAccessEnabled(Number(l)):(0,F.of)(!1)}),ce(function(l){if(403===l.status)return(0,F.of)(!0);h.errorHandler.errorHandler(null,l);return(0,F.of)(!1)}),
ne({bufferSize:1,refCount:!1}));this.isImplicitAccessEnabled=function(){return!!ol(h.isImplicitAccessEnabled$)};this.canDeleteIssue$=this.hasAclToAdmin$;this.canUndeleteIssue$=(0,F.combineLatest)([this.issueDetailsBrain.isDeleted$,this.canDeleteIssue$]).pipe(E(function(l){var q=k(l);l=q.next().value;q=q.next().value;return l&&q}));this.userIsComponentAdmin$=this.issueDetailsBrain.componentId$.pipe(fe(),pe(function(l){return l?JF(h.userAccess,"admin","components/"+l):(0,F.of)(!1)}),ce(function(l){h.errorHandler.errorHandler(null,
l);return(0,F.of)(!1)}),ne({bufferSize:1,refCount:!1}));this.accessLevel$=this.issueDetailsBrain.accessLevel$;this.accessLevel=function(){return ol(h.accessLevel$)};this.isWithinExternalComponent$=this.accessLevel$.pipe(E(function(l){return!(!l||"INTERNAL"===l)}));this.audience$=this.isWithinExternalComponent$.pipe(E(function(l){return l?"EXTERNAL_AUDIENCE":"INTERNAL_AUDIENCE"}));this.audience=function(){return ol(h.audience$)};this.canChangeCommentRetention$=this.hasAclToEdit$;this.canChangeCommentRetention=
function(){return ol(h.canChangeCommentRetention$)}},yJ=function(a,b){return 0===(null==b?void 0:b.search(a.currentUserEmailPattern))},Bqc=function(a,b){return ik(b)&&"DELETED"===b.commentDeletionStatus?a.hasAclToAdmin()||Qg(b.lastCommentEditorUser)===a.activeSession.getUserEmail()&&a.hasAclToComment()?!0:!1:!1},Cqc=function(a,b){return ik(b)&&"ACTIVE"===b.commentDeletionStatus?Ug(b.userPerformingActionUser)===a.activeSession.getUserEmail()?!0:a.hasAclToAdmin():!1};
zJ.prototype.canEditComment$=function(a){var b=this;return(0,F.combineLatest)([this.issueDetailsBrain.component$,this.hasAclToEdit$,this.hasAclToComment$]).pipe(E(function(c){var d=k(c);c=d.next().value;var e=d.next().value;d=d.next().value;return void 0!==c&&"ENABLED"===c.commentEditState&&"DELETED"!==a.commentDeletionStatus&&"PURGED"!==a.commentDeletionStatus&&a.commentNumber?1===a.commentNumber?e:d&&Ug(a.userPerformingActionUser)===b.activeSession.getUserEmail():!1}))};
zJ.\u0275fac=function(a){return new (a||zJ)(w(xJ),w(QH),w(rp),w(nG),w(ZF),w(IF))};zJ.\u0275prov=nc({token:zJ,factory:zJ.\u0275fac,providedIn:"root"});var Dqc={type:"TAKE",displayText:"Assign to me",description:"Assign issue to yourself"},Eqc={type:"DEFAULT_ASSIGNEE",displayText:"Assign to default",description:"Use the component's default assignee"},Fqc={type:"START",displayText:"Start work",description:"Change issue status to '"+dk.ACCEPTED+"'"},Gqc={type:"FIX",displayText:"Mark fixed",description:"Change issue status to '"+dk.FIXED+"'"},Hqc={type:"VERIFY",displayText:"Verify",description:"Change issue status to '"+dk.VERIFIED+"'"},Iqc={type:"REOPEN",
displayText:"Re-open",description:"Change issue status back to '"+dk.ASSIGNED+"'"};var Kqc=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(ne({bufferSize:1,refCount:!0}));this.issueSnapshot$=this.issue$.pipe(E(function(g){return null==g?void 0:g.snapshot[0]}));this.currentAssignee$=this.issueSnapshot$.pipe(E(function(g){return(null==g?void 0:g.assigneeUser)&&Ug(g.assigneeUser)}),E($g));
this.defaultAssigneeForComponent$=this.issueSnapshot$.pipe(E(function(g){return null==g?void 0:g.componentId}),fe(),pe(function(g){return g?e.componentTemplatesFridge.defaultTemplate$(String(g)):(0,F.of)(void 0)}),E(function(g){return g&&Ug(g.snapshot.assigneeUser)}),ne({bufferSize:1,refCount:!0}));this.defaultAssigneeForComponent=function(){return ol(e.defaultAssigneeForComponent$)};this.issueAssigneeQuickAction$=(0,F.combineLatest)([this.currentAssignee$,this.defaultAssigneeForComponent$]).pipe(E(function(g){var h=
k(g);g=h.next().value;h=h.next().value;return e.defaultAssigneeQuickActionEnabled&&h&&g!==h?Eqc:void 0}));this.issueStatusQuickAction$=this.issueSnapshot$.pipe(E(function(g){return g&&Jqc(e,g)}))},Jqc=function(a,b){var c=a.activeSession.getUserEmail();a=Ug(b.assigneeUser)===c;c=Ug(b.verifierUser)===c;b=b.status;if(c&&"FIXED"===b)return Hqc;if(a)switch(b){case "ASSIGNED":return Fqc;case "ACCEPTED":return Gqc;default:return Iqc}switch(b){case "NEW":return Dqc;case "ASSIGNED":return Dqc;case "ACCEPTED":return Dqc;
default:return Iqc}},AJ=function(a,b,c){this.activeSession=a;this.issueFridge=b;this.componentTemplatesFridge=c};AJ.prototype.create=function(a){return new Kqc(a,this.activeSession,this.issueFridge,this.componentTemplatesFridge)};AJ.\u0275fac=function(a){return new (a||AJ)(w(rp),w(IH),w(dG))};AJ.\u0275prov=nc({token:AJ,factory:AJ.\u0275fac,providedIn:"root"});var mDa=RegExp("^[^\\.\\s]{2}\\.{3}@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$"),lDa=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])?$"),pDa=["@twosync.google.com","@twosync-src.google.com","@twosync-loas.google.com"];var Lqc=function(){this.transform=qDa};Lqc.\u0275fac=function(a){return new (a||Lqc)};Lqc.\u0275pipe=Dc({name:"toNewEmailPreference",type:Lqc,pure:!0});var BJ=function(){this.transform=rDa};BJ.\u0275fac=function(a){return new (a||BJ)};BJ.\u0275pipe=Dc({name:"enumToHuman",type:BJ,pure:!0});var CJ=function(){this.transform=sDa};CJ.\u0275fac=function(a){return new (a||CJ)};CJ.\u0275pipe=Dc({name:"arrayToHuman",type:CJ,pure:!0});var DJ=function(){};
DJ.prototype.transform=function(a,b){return Ui(tDa(a,b)).toString()};DJ.\u0275fac=function(a){return new (a||DJ)};DJ.\u0275pipe=Dc({name:"boldPrefixMatches",type:DJ,pure:!0});var EJ=function(){this.transform=uDa};EJ.\u0275fac=function(a){return new (a||EJ)};EJ.\u0275pipe=Dc({name:"yesNo",type:EJ,pure:!0});var Mqc=function(){this.transform=vDa};Mqc.\u0275fac=function(a){return new (a||Mqc)};Mqc.\u0275pipe=Dc({name:"teamPath",type:Mqc,pure:!0});var Nqc=function(){this.transform=wDa};
Nqc.\u0275fac=function(a){return new (a||Nqc)};Nqc.\u0275pipe=Dc({name:"humanFileSize",type:Nqc,pure:!0});var FJ=function(){this.transform=xDa};FJ.\u0275fac=function(a){return new (a||FJ)};FJ.\u0275pipe=Dc({name:"omitObfuscatedEmail",type:FJ,pure:!0});var Oqc=function(){this.transform=Cl};Oqc.\u0275fac=function(a){return new (a||Oqc)};Oqc.\u0275pipe=Dc({name:"toString",type:Oqc,pure:!0});var Pqc=function(){this.transform=yDa};Pqc.\u0275fac=function(a){return new (a||Pqc)};
Pqc.\u0275pipe=Dc({name:"csv",type:Pqc,pure:!0});var Qqc=new Map([["(",")"],[")","("],["{","}"],["}","{"],["[","]"],["]","["],["<",">"],[">","<"]]),GJ=function(){};GJ.prototype.transform=function(a){return null==a?void 0:a.split("").reverse().map(function(b){var c;return null!=(c=Qqc.get(b))?c:b}).join("")};GJ.\u0275fac=function(a){return new (a||GJ)};GJ.\u0275pipe=Dc({name:"reverse",type:GJ,pure:!0});var HJ=function(){};HJ.\u0275fac=function(a){return new (a||HJ)};HJ.\u0275mod=Bc({type:HJ});
HJ.\u0275inj=oc({});var IJ=function(a){a=void 0===a?[]:a;this.internalValue$=new F.BehaviorSubject(new Set);this.value$=sWb(this.internalValue$).pipe(E(function(b){return new Set(b)}),fe(Fg),ne({refCount:!0,bufferSize:1}));this.reset(a)};f=IJ.prototype;f.reset=function(a){this.value.clear();a=k(a);for(var b=a.next();!b.done;b=a.next())this.value.add(b.value);this.internalValue$.next(this.value)};
f.add=function(){for(var a=k(Fc.apply(0,arguments)),b=a.next();!b.done;b=a.next())this.value.add(b.value);this.internalValue$.next(this.value);return this};f.clear=function(){this.value.clear();this.internalValue$.next(this.value)};f.delete=function(a){a=this.value.delete(a);this.internalValue$.next(this.value);return a};f.has=function(a){return this.value.has(a)};var Sl=function(a,b){return a.internalValue$.pipe(E(function(c){return c.has(b)}),fe())};IJ.prototype[Symbol.iterator]=function(){return this.value.values()};
IJ.prototype.toString=function(){return"[ReactiveSet](["+[].concat(Jc(this.value.values())).join(", ")+"])"};IJ.prototype.indexOf=function(a){return[].concat(Jc(this.value.values())).indexOf(a)};
gg.Object.defineProperties(IJ.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(E(function(a){return a.size}),fe())}}});var Rqc=function(){this.propertiesBeingSaved=new IJ};Rqc.prototype.get=function(a){return this.propertiesBeingSaved.has(Cl(a))};var JJ=function(a,b){a.propertiesBeingSaved.add(Cl(b))},KJ=function(a,b){a.propertiesBeingSaved.delete(Cl(b))};Rqc.prototype.properties=function(){return[].concat(Jc(this.propertiesBeingSaved))};var LJ=function(){};LJ.prototype.transform=function(a){return Dl(a)};LJ.\u0275fac=function(a){return new (a||LJ)};LJ.\u0275pipe=Dc({name:"appendDomain",type:LJ,pure:!0});var CDa={"\u2705":"good","\u26a0\ufe0f":"warn","\u26a0":"warn","\u26d4":"bad","\u274c":"bad","\ud83d\uded1":"bad","\ud83d\udeab":"bad"};var MJ=function(a,b,c,d,e,g,h,l,q,v,y,B,I,N,Q,Z,Y,ka,la,Da,za,Oa,Va,Ya,Xb,Bb,db){var wa=this;this.issueFetchResponseFridge=a;this.activeSession=b;this.butterBar=c;this.issueInteractionsTracking=d;this.issueApi=e;this.componentFridge=g;this.permissionsFridge=h;this.eventsForIssueFridge=l;this.statusMessages=q;this.errorHandler=v;this.confirmationDialogService=y;this.principalTypes=B;this.issuePermissionService=I;this.accessPolicy=N;this.issueTypeDialog=Q;this.logger=Z;this.issueFridge=Y;this.confirmNoAccessService=
ka;this.issueService=la;this.attachmentsMember=Da;this.userPreferencesManager=za;this.issueComments=Oa;this.draftStore=Va;this.attachmentApi=Ya;this.issueFieldsFactory=Xb;this.issueQuickActionsFactory=Bb;this.issueCommentDraftFactory=db;this.isSavingMap=new Map;this.savingState=wl(this.isSavingMap,function(){return new Rqc});this.issueFieldsMap=new Map;this.issueFields=wl(this.issueFieldsMap,function(Na){return wa.issueFieldsFactory.create(Na)});this.issueQuickActionsMap=new Map;this.issueQuickActions=
wl(this.issueQuickActionsMap,function(Na){return wa.issueQuickActionsFactory.create(Na)});this.editableIssueMap=new Map;this.editableIssue$=wl(this.editableIssueMap,function(Na){return Sqc(wa,Na)});this.editableIssue=function(Na){return wa.editableIssue$(Na).value};this.subscriptions=new Map;this.getSubscription=wl(this.subscriptions,function(){return new F.Subscription});this.issueCommentDraftMap=new Map;this.issueCommentDraft=wl(this.issueCommentDraftMap,function(Na){return wa.issueCommentDraftFactory.create(Na)});
this.FOR_ISSUE_COMMENT_DIALOGS_SERVICE_ONLY={saveCommentDraft:this.saveCommentDraft.bind(this)}};MJ.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()};
MJ.prototype.updateComponent=function(a,b,c){var d=this,e,g,h,l,q;return Ld(function(v){if(1==v.nextAddress)return e=d.editableIssue(a),e.componentId=b,(g=Tqc(d,e))&&g.actions&&g.actions.length?v.yield(d.getRetentionState(a),2):v.return();h=v.yieldResult;Uqc(d,g);l={issueId:a,componentId:b};q=c?d.issueApi.moveIssueExternal(a,l):d.issueApi.moveIssue(a,l);return v.return(Vqc(d,q,g,{originalRetentionState:h}))})};
var Zyb=function(a,b,c){var d;return Ld(function(e){if(!c)return XF(a.butterBar,"Reporter can't be empty."),e.return();a.editableIssue(b).setReporter(c);return e.return(null!=(d=a.updateIssue(b))?d:Promise.resolve())})},vAb=function(a,b,c){var d,e,g,h;return Ld(function(l){if(1==l.nextAddress){d=Dwa(c);if(!d)return a.logger.warn("unknown issue type: "+c),l.return();e=a.editableIssue(b);return"VULNERABILITY"!==d&&"PRIVACY_ISSUE"!==d?l.jumpTo(2):l.yield(upc(a.issueTypeDialog,d),3)}if(2!=l.nextAddress&&
(g=l.yieldResult,!g))return l.return();e.setType(d);return l.return(null!=(h=a.updateIssue(b))?h:Promise.resolve())})},wAb=function(a,b,c){var d,e,g;return Ld(function(h){d=ck(c);if(!d)return a.logger.warn("unknown priority: "+c),h.return();e=a.editableIssue(b);e.setPriority(d);return h.return(null!=(g=a.updateIssue(b))?g:Promise.resolve())})},Xqc=function(a,b,c){var d,e,g;return Ld(function(h){d=a.editableIssue(b);d.duplicateOfIssueId=c;d.status="DUPLICATE";e=Tqc(a,d);return e?(g=e.actions.find(function(l){return"duplicateOfIssueId"===
l.fieldName&&!nj(l.value||"")}))&&g.value?h.return(Wqc(a,b,{actionIssueId:g.value,implicitAppenders:d.cc,implicitEditors:[],isDeduping:!0,isRemovingSelfFromCc:!1,requestData:e})):h.return():h.return()})},Yqc=function(a,b,c){var d,e;return Ld(function(g){d=a.editableIssue(b);d.setStatus(c);return g.return(null!=(e=a.updateIssue(b))?e:Promise.resolve())})},Zqc=function(a,b,c){var d,e,g;return Ld(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 l=e.defaultAssigneeForComponent();l&&("NEW"===d.status&&(d.status="ASSIGNED"),d.assignee=l);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:og(c.type)}return h.return(null!=(g=a.updateIssue(b))?g:Promise.resolve())})},fzb=function(a,b,c){var d,e;return Ld(function(g){d=
a.editableIssue(b);var h;d.effortEstimate=null!=(h=null==c?void 0:c.estimate)?h:null;return g.return(null!=(e=a.updateIssue(b))?e:Promise.resolve())})},gAb=function(a,b,c){var d,e,g;return Ld(function(h){d=a.editableIssue(b);e=usa(c,!1);d.setFoundInVersion(e);return h.return(null!=(g=a.updateIssue(b))?g:Promise.resolve())})},kAb=function(a,b,c){var d,e,g;return Ld(function(h){d=a.editableIssue(b);e=usa(c,!1);d.setVerifiedInVersion(e);return h.return(null!=(g=a.updateIssue(b))?g:Promise.resolve())})},
iAb=function(a,b,c){var d,e,g;return Ld(function(h){d=a.editableIssue(b);e=usa(c,!1);d.setTargetedToVersion(e);return h.return(null!=(g=a.updateIssue(b))?g:Promise.resolve())})},mAb=function(a,b,c){var d,e;return Ld(function(g){d=a.editableIssue(b);d.setInProd(c);return g.return(null!=(e=a.updateIssue(b))?e:Promise.resolve())})},bAb=function(a,b,c){var d,e,g;return Ld(function(h){d=Ewa(c);if(!d)return a.logger.warn("unknown severity: "+c),h.return();e=a.editableIssue(b);e.setSeverity(d);return h.return(null!=
(g=a.updateIssue(b))?g:Promise.resolve())})},Zzb=function(a,b,c){var d,e;return Ld(function(g){d=a.editableIssue(b);d.setSloSnoozeUntil(c);return g.return(null!=(e=a.updateIssue(b))?e:Promise.resolve())})};MJ.prototype.updateSloEndTime=function(a,b){var c=this,d,e;return Ld(function(g){d=c.editableIssue(a);d.setSloEndTime(b);return g.return(null!=(e=c.updateIssue(a))?e:Promise.resolve())})};
var eAb=function(a,b,c){var d,e,g;return Ld(function(h){d=a.editableIssue(b);d.changelist=null!=(e=c)?e:[];return h.return(null!=(g=a.updateIssue(b))?g:Promise.resolve())})},tAb=function(a,b,c,d){var e,g;return Ld(function(h){e=a.editableIssue(b);e.setCustomField(c,d);return h.return(null!=(g=a.updateIssue(b))?g:Promise.resolve())})},vzb=function(a,b,c){var d,e,g,h;return Ld(function(l){switch(l.nextAddress){case 1:return d=a.editableIssue(b),a.issuePermissionService.isImplicitAccessEnabled()?l.yield($qc(a,
b,"verifier",[c]),5):l.yield(gqc(a.confirmNoAccessService,{componentId:String(d.componentId),userEmails:[c],relation:"writer",analyticsEventLabel:"verifier"}),4);case 4:e=l.yieldResult;if(!e)return l.return();l.jumpTo(3);break;case 5:if(g=l.yieldResult,!g)return l.return();case 3:return d.setVerifier(c),l.return(null!=(h=a.updateIssue(b))?h:Promise.resolve())}})},ozb=function(a,b,c){var d,e,g,h;return Ld(function(l){switch(l.nextAddress){case 1:return d=a.editableIssue(b),a.issuePermissionService.isImplicitAccessEnabled()?
l.yield($qc(a,b,"assignee",[c]),5):l.yield(gqc(a.confirmNoAccessService,{componentId:String(d.componentId),userEmails:[c],relation:"writer",analyticsEventLabel:"assignee"}),4);case 4:e=l.yieldResult;if(!e)return l.return();l.jumpTo(3);break;case 5:if(g=l.yieldResult,!g)return l.return();case 3:return d.setAssignee(c),l.return(null!=(h=a.updateIssue(b))?h:Promise.resolve())}})},arc=function(a,b,c){var d,e,g,h,l,q;return Ld(function(v){switch(v.nextAddress){case 1:d=a.editableIssue(b);if(a.issuePermissionService.isImplicitAccessEnabled())return v.yield($qc(a,
b,"CC",c),5);e=Qwa(d.cc,c);g=e.added;return v.yield(gqc(a.confirmNoAccessService,{componentId:String(d.componentId),userEmails:g,relation:"reader",analyticsEventLabel:"cc"}),4);case 4:h=v.yieldResult;if(!h)return v.return();v.jumpTo(3);break;case 5:if(l=v.yieldResult,!l)return v.return();case 3:return d.cc=c,v.return(null!=(q=a.updateIssue(b))?q:Promise.resolve())}})},brc=function(a,b,c){var d,e,g,h,l,q;return Ld(function(v){switch(v.nextAddress){case 1:d=a.editableIssue(b);if(a.issuePermissionService.isImplicitAccessEnabled())return v.yield($qc(a,
b,"collaborators",c),5);e=Qwa(d.collaborators,c);g=e.added;return v.yield(gqc(a.confirmNoAccessService,{componentId:String(d.componentId),userEmails:g,relation:"reader",analyticsEventLabel:"collaborators"}),4);case 4:h=v.yieldResult;if(!h)return v.return();v.jumpTo(3);break;case 5:if(l=v.yieldResult,!l)return v.return();case 3:return d.setCollaborators(c),v.return(null!=(q=a.updateIssue(b))?q:Promise.resolve())}})};
MJ.prototype.unarchive=function(a){var b=this,c,d;return Ld(function(e){c=b.editableIssue(a);c.setIsArchived(!1);return e.return(null!=(d=b.updateIssue(a))?d:Promise.resolve())})};
MJ.prototype.updateIssueRetention=function(a,b){var c=this,d,e,g;return Ld(function(h){switch(h.nextAddress){case 1:return d={issueId:a,retention:b},e=c.savingState(a),JJ(e,"retention"),Md(h,2,3),h.yield(c.issueApi.updateIssueRetention(a,d),5);case 5:return h.yield(c.issueFridge.poke(a),6);case 6:WF(c.butterBar,"Issue retention updated to "+b+".",4E3);case 3:Nd(h);KJ(e,"retention");Od(h,0);break;case 2:g=Pd(h),aG(c.errorHandler,g),h.jumpTo(3)}})};
var crc=function(a,b){var c,d,e;return Ld(function(g){c=a.editableIssue(b);c.setIsDeleted(!0);c.setDeletionReason("ABUSE");d=Tqc(a,c);if(!d||!d.actions)return g.jumpTo(0);Uqc(a,d);e=a.issueService.delete(b,"ABUSE");return g.yield(Vqc(a,e,d),0)})},MAb=function(a,b){var c,d,e;return Ld(function(g){c=a.editableIssue(b);c.setIsDeleted(!1);c.setDeletionReason(null);d=Tqc(a,c);if(!d||!d.actions)return g.jumpTo(0);Uqc(a,d);e=a.issueService.undelete(b);return g.yield(Vqc(a,e,d),0)})};
MJ.prototype.updateSubscription=function(a,b){var c=this,d,e,g,h,l;return Ld(function(q){switch(q.nextAddress){case 1:return d=c.savingState(a),q.yield((0,F.firstValueFrom)(c.issueFridge.watch(a,{trustUncertainMemory:!0})),2);case 2:e=q.yieldResult;h=null==(g=e)?void 0:g.userData;if(null==h||d.get("subscribe"))return q.return();Md(q,3,4);JJ(d,"subscribe");return q.yield(c.issueFridge.setNotificationSubscription(a,b),4);case 4:Nd(q);KJ(d,"subscribe");Od(q,0);break;case 3:l=Pd(q),aG(c.errorHandler,
l),q.jumpTo(4)}})};
var drc=function(a,b,c){var d,e;Ld(function(g){switch(g.nextAddress){case 1:d=a.savingState(b);if(!c.attachmentId||d.get("undeleteAttachment"))return g.return();Md(g,2,3);WF(a.butterBar,"Restoring attachment...");JJ(d,"undeleteAttachment");return g.yield(a.attachmentsMember.undelete(b.toString(),c),5);case 5:WF(a.butterBar,"Attachment restored."),NH(a.issueFetchResponseFridge,b),a.eventsForIssueFridge.poke(b);case 3:Nd(g);KJ(d,"undeleteAttachment");Od(g,0);break;case 2:e=Pd(g),aG(a.errorHandler,e),
g.jumpTo(3)}})},erc=function(a,b,c,d){var e,g;return Ld(function(h){switch(h.nextAddress){case 1:e=a.savingState(b);if(!c.attachmentId||e.get("deleteAttachment"))return h.return();Md(h,2,3);WF(a.butterBar,"Deleting attachment...");JJ(e,"deleteAttachment");return h.yield(a.attachmentsMember.delete(b,c,d),5);case 5:WF(a.butterBar,"Attachment deleted."),NH(a.issueFetchResponseFridge,b),a.eventsForIssueFridge.poke(b);case 3:Nd(h);KJ(e,"deleteAttachment");Od(h,0);break;case 2:g=Pd(h),aG(a.errorHandler,
g),h.jumpTo(3)}})};
MJ.prototype.saveCommentDraft=function(a,b){var c=this,d=this.issueCommentDraft(a),e=d.comment(),g=sqc(d);if(!g.commentText&&!g.attachmentsWithJudgements.length)return Promise.resolve();var h=tqc(d);Uqc(this,h);return Vqc(this,function(){return Ld(function(l){switch(l.nextAddress){case 1:return l.yield(frc(c,a),2);case 2:if(!g.commentText){l.jumpTo(3);break}return l.yield(c.issueComments.create(String(a),g.commentText,g.formattingMode,g.judgementForNewContent,b),4);case 4:e.reset(),c.draftStore.$window.sessionStorage.removeItem(tl(a));
case 3:if(!g.attachmentsWithJudgements.length){l.jumpTo(5);break}var q=l.yield;var v=c.attachmentApi;var y=g.attachmentsWithJudgements,B=new WD;B.setIssueId(String(a));void 0!==y&&(y=y.map(Kua),Th(B,3,y));v=v.executor.post({url:"action/issues/"+a+"/attachments",body:B,responseConstructor:dJ}).then(Mua);return q.call(l,v,6);case 6:e.reset();case 5:return d.userDefinedJudgementForNewContent$.next(void 0),l.return(NH(c.issueFetchResponseFridge,a))}})}(),h)};
var frc=function(a,b){var c,d;return Ld(function(e){if(!UI(a.userPreferencesManager).autoCcOnComment||!a.issuePermissionService.hasAclToEdit()||a.issuePermissionService.isCurrentUserCCd())return e.return();c=a.editableIssue(b);var g=[].concat(Jc(c.cc),[a.activeSession.getUserEmail()]);c.cc=g;d={issueId:b,actions:[{fieldName:"ccs",value:a.activeSession.getUserEmail(),actionType:"ADD"}]};return e.yield(a.issueApi.updateIssue(b,d),0)})},Sqc=function(a,b){var c=MH(a.issueFetchResponseFridge,b).pipe(E(function(e){var g=
new gpc;if(e){var h=grc(a,b,Gg(na(e.issue.snapshot))),l=a.activeSession.getUserEmail();g.currentUserEmail=l;g.setData(h,b,e.issue.customFields)}return g})),d=new F.BehaviorSubject(new gpc);a.getSubscription(b).add(c.subscribe(d));return d};
MJ.prototype.updateIssue=function(a){var b=this.editableIssue(a),c=Tqc(this,b);if(!c)return null;for(var d=!1,e=[],g=[],h=a,l=k(c.actions),q=l.next();!q.done;q=l.next()){q=q.value;var v=q.value||"";if("REMOVE"!==q.actionType)switch(q.fieldName){case "ccs":e=v.split(",").filter(Boolean);break;case "verifier":case "assignee":case "collaborators":g=v.split(",").filter(Boolean);break;case "duplicateOfIssueId":nj(v)||(e=b.cc,h=String(v),d=!0)}}b=1===c.actions.length&&"ccs"===c.actions[0].fieldName&&"REMOVE"===
c.actions[0].actionType&&this.activeSession.getUserEmail()===c.actions[0].value;return Wqc(this,a,{actionIssueId:h,implicitAppenders:e,implicitEditors:g,isDeduping:d,isRemovingSelfFromCc:b,requestData:c})};
var Wqc=function(a,b,c){var d=c.actionIssueId,e=c.implicitAppenders,g=c.implicitEditors,h=c.isDeduping,l=c.isRemovingSelfFromCc,q=c.requestData,v,y,B,I,N,Q,Z,Y,ka,la,Da,za,Oa,Va;return Ld(function(Ya){switch(Ya.nextAddress){case 1:return Ya.yield(Promise.all([hrc(a,e,"appender",d),hrc(a,g,"writer",d)]),2);case 2:v=Ya.yieldResult;y=k(v);B=y.next().value;I=y.next().value;N=B;Q=I;Z=N.noAccessEmails||[];Y=Q.noAccessEmails||[];ka=[].concat(Jc(Z),Jc(Y));if(0===ka.length)return Ya.return(irc(a,q,h,l));Md(Ya,
3);return Ya.yield(Promise.all(ka.map(function(Xb){return jrc(a,Xb)})),5);case 5:return la=Ya.yieldResult,Da=pxa({userPrincipals:la,newEditors:Y,newImplicitUsers:ka,isExternalSession:a.activeSession.isExternalSession(),issueId:b,actionIssueId:d}),za=Da.title,Oa=Da.content,Ya.yield(spc(a.confirmationDialogService,{title:za,content:yl(Oa),confirmButtonText:"Allow"}),6);case 6:if(Va=Ya.yieldResult)return Ya.return(irc(a,q,h,l));a.permissionsFridge.poke("issues/"+b);NH(a.issueFetchResponseFridge,b);xp(Ya,
0);break;case 3:Pd(Ya),XF(a.butterBar,"Could not determine email type."),Qd(Ya)}})},irc=function(a,b,c,d){Uqc(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 Vqc(a,e,b)},hrc=function(a,b,c,d,e,g){e=void 0===e?!1:e;g=void 0===g?null:g;if(e&&!g)throw Error("Kc");var h=e?"ISSUE_DEFAULTS":"ISSUE";d=e?g:d;e={noAccessEmails:[]};
return 0!==b.length&&a.issuePermissionService.isImplicitAccessEnabled()?a.accessPolicy.checkPermission(b.map(Dl),c,h,d):Promise.resolve(e)},grc=function(a,b,c){var d=a.isSavingMap.get(b);a=(a=a.editableIssueMap.get(b))&&ol(a);if(!a||!d)return c;b=d.properties();d={};b=k(b);for(var e=b.next();!e.done;d={$jscomp$loop$prop$customFieldId$2306:d.$jscomp$loop$prop$customFieldId$2306},e=b.next())if(e=e.value,e.match(/^\d+$/)){d.$jscomp$loop$prop$customFieldId$2306=Ig(e);var g=(c.customField||[]).find(function(h){return function(l){return l.customFieldId===
h.$jscomp$loop$prop$customFieldId$2306}}(d));e=a.customFieldMap[e];g&&e&&(g.textValue=e.textValue,g.dateValue=e.dateValue,g.enumValue=e.enumValue,g.numericValue=e.numericValue)}else g=void 0,null==(g=kpc.get(e))||g(c,a);return c},Tqc=function(a,b){var c=jpc(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(FDa(e)))});return c.actions.length?c:null},Uqc=function(a,b){var c=String(b.issueId);WF(a.butterBar,"Saving...",0);var d=
b.actions.map(function(e){return e.fieldName}).join(",");zqc(a.issueInteractionsTracking,c,{label:d});a=a.savingState(c);b=k(b.actions);for(c=b.next();!c.done;c=b.next())JJ(a,FDa(c.value))},Vqc=function(a,b,c,d){var e,g;return Ld(function(h){switch(h.nextAddress){case 1:return Md(h,2),h.yield(b,4);case 4:return e=h.yieldResult,KH(a.issueFridge,[c.issueId],{eagerUpdate:!1}).then(function(){var l=String(c.issueId);NH(a.issueFetchResponseFridge,l);a.eventsForIssueFridge.poke(l)}),h.yield(krc(a,c,e,d),
5);case 5:xp(h,0);break;case 2:g=Pd(h),lrc(a,c,g),Qd(h)}})},krc=function(a,b,c,d){var e=(void 0===d?{}:d).originalRetentionState,g,h,l,q;return Ld(function(v){g=a.savingState(String(b.issueId));h=k(b.actions);for(l=h.next();!l.done;l=h.next())q=l.value,KJ(g,FDa(q));return c?v.yield(mrc(a,b,e),0):v.jumpTo(0)})},lrc=function(a,b,c){var d=String(b.issueId),e=a.savingState(d);b=k(b.actions);for(var g=b.next();!g.done;g=b.next())KJ(e,FDa(g.value));a.permissionsFridge.poke("issues/"+d);NH(a.issueFetchResponseFridge,
d);Bk(c)&&403===c.status&&Ck(c)?$F(a.errorHandler,Ck(c)):aG(a.errorHandler,c)},mrc=function(a,b,c){var d,e,g,h,l,q,v,y,B,I,N;return Ld(function(Q){switch(Q.nextAddress){case 1:return Q.yield(a.getEffortSpec(String(b.issueId)),2);case 2:d=Q.yieldResult;e=a.editableIssue(String(b.issueId));l=Zpc(a.statusMessages,b,e.customFieldMap,null!=(h=null==(g=d)?void 0:g.name)?h:"");if(!c){Q.jumpTo(3);break}return Q.yield(Promise.all([a.getRetentionState(String(b.issueId)),a.getRetention(String(b.issueId))]),
4);case 4:q=Q.yieldResult;v=k(q);y=v.next().value;B=v.next().value;I=y;N=B;var Z=l;if("INDEFINITE"!==N&&c&&I){var Y=iCa(c);var ka=iCa(I);Y=Y===ka?"":" Issue retention period changed from "+Y+" to "+ka+"."}else Y="";l=Z+Y;case 3:WF(a.butterBar,l),Qd(Q)}})},$qc=function(a,b,c,d){return Ld(function(e){if(1==e.nextAddress){var g=a.editableIssue(b);var h=a.activeSession.getUserEmail();g=new Map([["CC",g.cc],["collaborators",g.collaborators],["assignee",g.assignee?[g.assignee]:[]],["verifier",g.verifier?
[g.verifier]:[]]]);(new Set([].concat(Jc(g.values())).flat())).has(h)?(g.set(c,d),h=!(new Set([].concat(Jc(g.values())).flat())).has(h)):h=!1;e=h?e.yield(nrc(a,b,a.editableIssue(b).componentId,c),2):e.return(!0)}else e=e.return(e.yieldResult);return e})},nrc=function(a,b,c,d){var e;return Ld(function(g){if(1==g.nextAddress)return g.yield(hrc(a,[a.activeSession.getUserEmail()],"reader",b,!0,c),2);e=g.yieldResult;return e.noAccessEmails&&0!==e.noAccessEmails.length?g.return(spc(a.confirmationDialogService,
{title:"Removing yourself from "+d+" may revoke your access to the issue",content:yl("This issue is in a component with Expanded Access enabled, and you do not have access to view this issue by default. Removing yourself from "+d+" may also remove your ability to view the issue. Are you sure you would like to do this?")})):g.return(!0)})};MJ.prototype.getRetentionState=function(a){return(0,F.firstValueFrom)(MH(this.issueFetchResponseFridge,a).pipe(E(eDa)))};
MJ.prototype.getRetention=function(a){return(0,F.firstValueFrom)(MH(this.issueFetchResponseFridge,a).pipe(E(bDa)))};MJ.prototype.getEffortSpec=function(a){return(0,F.firstValueFrom)(MH(this.issueFetchResponseFridge,a).pipe(E(JCa),pe(this.componentFridge.watch),E(hDa)))};var jrc=function(a,b){return Ld(function(c){return a.activeSession.isExternalSession()?c.return({principalType:"NON_GAIA",detailedUserType:"NO_DETAILED_TYPE"}):c.return(kJ(a.principalTypes,b,!0))})};
MJ.prototype.ngOnDestroy=function(){this.isSavingMap.clear();this.issueFieldsMap.clear();this.issueQuickActionsMap.clear();this.editableIssueMap.clear();for(var a=k(this.subscriptions.values()),b=a.next();!b.done;b=a.next())b.value.unsubscribe();this.subscriptions.clear()};MJ.\u0275fac=function(a){return new (a||MJ)(w(LH),w(rp),w(VF),w(wJ),w(FE),w(xF),w(QH),w(pF),w(cJ),w(ZF),w(OI),w(jJ),w(zJ),w(nG),w(PI),w(YF),w(IH),w(nJ),w(FH),w(gJ),w(TI),w(mI),w(MI),w($pc),w(vJ),w(AJ),w(sJ))};
MJ.\u0275prov=nc({token:MJ,factory:MJ.\u0275fac,providedIn:"root"});var NJ=function(a,b,c){kE.call(this);this.issueDetailsBrain=a;this.issuePermissionService=b;this.editIssueService=c;this.assigneeInProgress$=new F.ReplaySubject(1);this.ccInProgress$=new F.ReplaySubject(1);this.id$=this.issueDetailsBrain.id$;this.assigneeUpdate$=this.issueDetailsBrain.issueJs$.pipe(E(function(d){var e;return Qg(null==(e=Xwa(d))?void 0:e.assigneeUser)||""}));this.ccUpdate$=this.issueDetailsBrain.issueJs$.pipe(E(function(d){var e;return Rg(null==(e=Xwa(d))?void 0:e.ccUsers)||[]}));
this.assignee$=this.assigneeUpdate$.pipe(ne({refCount:!0,bufferSize:1}));this.cc$=this.ccUpdate$.pipe(ne({refCount:!0,bufferSize:1}));this.assigneeUpdating$=this.assigneeInProgress$;this.ccUpdating$=this.ccInProgress$;this.editAccess$=this.issuePermissionService.hasAclToEdit$};V(NJ,kE);NJ.\u0275dir=kE.\u0275dir;
var orc=function(a,b){var c,d,e;return Ld(function(g){switch(g.nextAddress){case 1:c=ol(a.id$);if(!c)return g.return();a.assigneeInProgress$.next(!0);d="remove_user"===b.action?"":b.email;Md(g,2,3);return g.yield(ozb(a.editIssueService,c,d),5);case 5:return g.yield((0,F.firstValueFrom)(a.assigneeUpdate$.pipe(Zd(function(h){h=b.email===h;return"set_user"===b.action?h:!h}),ae(6E4))),3);case 3:Nd(g);a.assigneeInProgress$.next(!1);Od(g,0);break;case 2:throw e=Pd(g),e;}})},prc=function(a,b){var c,d,e,
g,h;return Ld(function(l){switch(l.nextAddress){case 1:c=ol(a.id$);if(!c)return l.return();d=a.editIssueService.editableIssue(c);e=d.cc.includes(b.email);g=void 0;"set_user"!==b.action||e?"remove_user"===b.action&&e&&(g=arc(a.editIssueService,c,d.cc.filter(function(q){return q!==b.email}))):g=arc(a.editIssueService,c,[].concat(Jc(d.cc),[b.email]));if(!g)return l.return();Md(l,2,3);a.ccInProgress$.next(!0);return l.yield(g,5);case 5:return l.yield((0,F.firstValueFrom)(a.ccUpdate$.pipe(Zd(function(q){q=
q.includes(b.email);return"set_user"===b.action?q:!q}),ae(6E4))),3);case 3:Nd(l);a.ccInProgress$.next(!1);Od(l,0);break;case 2:throw h=Pd(l),h;}})};NJ.\u0275fac=function(a){return new (a||NJ)(w(xJ),w(zJ),w(MJ))};NJ.\u0275prov=nc({token:NJ,factory:NJ.\u0275fac});var GDa;var OJ=function(a){var b=this;this.elementRef=a;this.eventType="click";this.clickOutside=new tu;this.clickHandler=function(c){if(c instanceof MouseEvent){var d=c.target;d&&(b.elementRef.nativeElement.contains(d)||b.clickOutside.emit(c))}}};OJ.prototype.ngOnInit=function(){this.getRoot().addEventListener(this.eventType,this.clickHandler,!0)};OJ.prototype.ngOnDestroy=function(){this.getRoot().removeEventListener(this.eventType,this.clickHandler,!0)};
OJ.prototype.getRoot=function(){var a;return null!=(a=HDa(this.elementRef.nativeElement))?a:document};OJ.\u0275fac=function(a){return new (a||OJ)(D(fd))};OJ.\u0275dir=Cc({type:OJ,selectors:[["","clickOutside",""]],inputs:{eventType:["clickOutsideEvent","eventType"]},outputs:{clickOutside:"clickOutside"}});var PJ=function(){};PJ.\u0275fac=function(a){return new (a||PJ)};PJ.\u0275mod=Bc({type:PJ});PJ.\u0275inj=oc({});var qrc,rrc=Symbol("Lc"),src=Symbol("Mc"),QJ=function(a){this.viewContainerRef=a;this.className="onedev-hovercard";this.onHide=new tu;this[qrc]=new F.ReplaySubject(1);this.wasTriggeredByKeyboard=!1;this.isOnHover$=new F.BehaviorSubject(!1);this.closeHovercard$=new F.Subject};QJ.prototype.ngOnInit=function(){};var trc=function(a){var b=a[src];return b?(b.loaded||(b.viewContainerRef.createEmbeddedView(b.templateRef),b.cdr.detectChanges(),b.loaded=!0),a[rrc].pipe(ee(0))):(0,F.of)(void 0)};qrc=rrc;
QJ.\u0275fac=function(a){return new (a||QJ)(D(ff))};
QJ.\u0275cmp=zc({type:QJ,selectors:[["onedev-hovercard"]],viewQuery:function(a,b){a&1&&jf(ef,7);if(a&2){var c;hf(c=lf())&&(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&&(Ne(),R(0,IDa,2,3,"ng-template"))},dependencies:[Wv,OJ],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 RJ=function(a,b,c,d){this.templateRef=a;this.viewContainerRef=b;this.cdr=c;this.loaded=!1;d[src]=this};RJ.\u0275fac=function(a){return new (a||RJ)(D(ef),D(ff),D(Lu),D(QJ))};RJ.\u0275dir=Cc({type:RJ,selectors:[["","onedevHovercardLazyBody",""]]});var SJ=function(a){this.hovercard=a;this.destroyed$=new F.ReplaySubject(1)};SJ.prototype.ngOnDestroy=function(){this.destroyed$.next()};SJ.prototype.ngOnInit=function(){this.isHovercardReady$.pipe(qe(this.destroyed$)).subscribe(this.hovercard[rrc])};
SJ.\u0275fac=function(a){return new (a||SJ)(D(QJ))};SJ.\u0275dir=Cc({type:SJ,selectors:[["","onedevIsHovercardReady",""]],inputs:{isHovercardReady$:["onedevIsHovercardReady","isHovercardReady$"]}});var urc={originX:"start",originY:"center",overlayX:"end",overlayY:"center",offsetX:-10},vrc={originX:"center",originY:"top",overlayX:"center",overlayY:"bottom",offsetY:-10},wrc=[{originX:"end",originY:"center",overlayX:"start",overlayY:"center",offsetX:10},{originX:"center",originY:"bottom",overlayX:"center",overlayY:"top",offsetY:10},vrc,{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 TJ=function(){this.delay=600;this.position=wrc;this.triggerKey=[]},UJ=function(a,b){var c=this;this.overlay=a;this.origin=b;this.waitFor$=void 0;this.enabled=!0;this.config=new TJ;this.active=!1;this.hovercardShown$=new F.ReplaySubject(1);this.hide$=new F.Subject;this.hovercard$=new F.BehaviorSubject(null);this.isHovered$=new F.BehaviorSubject(!1);this.isKeyboardActivated$=new F.BehaviorSubject(!1);this.destroyed$=new F.ReplaySubject(1);this.onDocumentKeyDown=function(d){"Escape"===d.key&&(xrc(c),
d.stopPropagation(),d.preventDefault())};yrc(this);this.handleClose()},yrc=function(a){zrc(a).pipe(qe(a.destroyed$)).subscribe(function(b){(a.active=b)?a.show():a.hide()})};UJ.prototype.handleClose=function(){var a=this;this.hovercard$.pipe(pe(function(b){return(null==b?void 0:b.closeHovercard$)||F.NEVER}),qe(this.destroyed$)).subscribe(function(){xrc(a)})};UJ.prototype.dispose=function(){Arc(this);var a;null==(a=this.overlayRef)||a.dispose();this.destroyed$.next();this.destroyed$.complete()};
UJ.prototype.isExpanded=function(){return this.hovercard$.getValue()?this.active:void 0};UJ.prototype.toggle=function(a){this.isHovered$.next(a)};var xrc=function(a){a.isKeyboardActivated$.next(!1);a.isHovered$.next(!1);var b;null==(b=a.hovercard$.getValue())||b.isOnHover$.next(!1)};
UJ.prototype.show=function(){var a=this;this.enabled&&this.overlayRef&&!this.overlayRef.hasAttached()&&this.hovercard$.getValue()&&(this.hovercard$.getValue().wasTriggeredByKeyboard=this.isKeyboardActivated$.value,trc(this.hovercard$.getValue()).pipe(ge(),qe(this.destroyed$)).subscribe(function(){a.overlayRef&&a.templatePortal&&a.overlayRef.attach(a.templatePortal);document.addEventListener("keydown",a.onDocumentKeyDown);a.hovercardShown$.next()}))};UJ.prototype.hide=function(){Arc(this);this.hide$.next()};
var Arc=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()}};UJ.prototype.getPositionStrategy=function(){return Jx(Kx(Lx(Nx(this.overlay.position(),this.origin)),8),this.config.position)};
var zrc=function(a){return(0,F.combineLatest)([Brc(a).pipe(oe(!1)),a.isKeyboardActivated$]).pipe(zka(1),E(function(b){var c=k(b);b=c.next().value;c=c.next().value;return b||c}),pe(function(b){var c;return(null==(c=a.waitFor$)?void 0:c.pipe(ke(b)))||(0,F.of)(b)}))},Brc=function(a){return a.hovercard$.pipe(pe(function(b){return(0,F.combineLatest)([a.isHovered$,(null==b?void 0:b.isOnHover$)||(0,F.of)(!1)]).pipe(E(function(c){var d=k(c);c=d.next().value;d=d.next().value;return c||d}),de(a.config.delay),
qe(a.destroyed$))}))};var Crc=new Hc("onedevHovercardLoggingOn"),VJ=function(a,b,c,d,e){var g=this;this.viewContainerRef=c;this.injector=e;this.config=new TJ;this.destroyed$=new F.ReplaySubject(1);this.triggerControl=new UJ(a,b);this.triggerControl.hovercardShown$.pipe(se(d||(0,F.of)(!1)),qe(this.destroyed$)).subscribe(function(h){h=k(h);h.next();h.next().value&&(g.clientStreamzService||(g.clientStreamzService=g.injector.get(DA)),g.clientStreamzService.logUsageMetric("hovercardShown",!0))})};f=VJ.prototype;
f.ngOnChanges=function(a){if(a.hovercard){var b;a=null==(b=a.hovercard)?void 0:b.currentValue;this.triggerControl.hovercard$.next(a);if(a){b=this.triggerControl;var c=this.viewContainerRef;b.config=this.config;b.overlayRef=b.overlay.create({positionStrategy:b.getPositionStrategy(),scrollStrategy:b.overlay.scrollStrategies.reposition()});b.templatePortal=new dw(a.templateRef,c);b.hovercard$.next(a)}}};f.ngOnDestroy=function(){this.triggerControl.dispose();this.destroyed$.next();this.destroyed$.complete()};
f.isExpanded=function(){return this.triggerControl.isExpanded()};f.onKeyDown=function(a){if(this.config.triggerKey.includes(a.key)){var b=this.triggerControl;a.stopPropagation();a.preventDefault();b.isKeyboardActivated$.next(!0)}};f.toggle=function(a){this.triggerControl.toggle(a)};f.hide=function(){this.triggerControl.hide()};gg.Object.defineProperties(VJ.prototype,{enabled:{configurable:!0,enumerable:!0,set:function(a){this.triggerControl.enabled=a}}});
VJ.\u0275fac=function(a){return new (a||VJ)(D(Ox),D(fd),D(ff),D(Crc,8),D(Qt))};
VJ.\u0275dir=Cc({type:VJ,selectors:[["","onedevHovercardTrigger",""]],hostVars:2,hostBindings:function(a,b){a&1&&O("mouseenter",function(){return b.toggle(!0)})("mouseleave",function(){return b.toggle(!1)})("keydown.alt.arrowRight",function(c){var d=b.triggerControl;c.stopPropagation();c.preventDefault();d.isKeyboardActivated$.next(!0)})("keydown",function(c){return b.onKeyDown(c)});a&2&&Ae("aria-haspopup",b.hovercard?"true":void 0)("aria-expanded",b.isExpanded())},inputs:{hovercard:["onedevHovercardTrigger",
"hovercard"],enabled:["onedevHovercardActive","enabled"],config:["onedevHovercardConfig","config"]},features:[Mc]});var Drc=function(a){return["chip","gmat-caption",a]},WJ=function(){this.variant="grey";this.isTall=!1};WJ.\u0275fac=function(a){return new (a||WJ)};
WJ.\u0275cmp=zc({type:WJ,selectors:[["onedev-chip"]],hostVars:2,hostBindings:function(a,b){a&2&&Ie("tall",b.isTall)},inputs:{variant:"variant",isTall:"isTall"},ngContentSelectors:["*"],decls:3,vars:3,consts:[[3,"ngClass"],[1,"centering"]],template:function(a,b){a&1&&(Ne(),H(0,"div",0)(1,"div",1),Oe(2),J()());a&2&&G("ngClass",Ze(1,Drc,b.variant))},dependencies:[Ru],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 Erc=function(a){this.chip=a};Erc.\u0275fac=function(a){return new (a||Erc)(D(WJ))};Erc.\u0275dir=Cc({type:Erc,selectors:[["","onedevChipIcon",""]],hostVars:10,hostBindings:function(a,b){a&2&&He("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 Frc=function(){};Frc.\u0275fac=function(a){return new (a||Frc)};Frc.\u0275cmp=zc({type:Frc,selectors:[["","onedevDot",""]],hostVars:1,hostBindings:function(a){a&2&&Ae("aria-hidden",!0)},attrs:["onedevDot",""],decls:1,vars:0,template:function(a){a&1&&S(0,"\u00a0\u00b7\u00a0")},encapsulation:2});var Grc=[[["","onedev-additional-content",""]],[["onedev-hovercard-action"]]],Hrc=function(a){return{"with-avatar":a}},XJ=function(){};XJ.prototype.ngOnInit=function(){};XJ.\u0275fac=function(a){return new (a||XJ)};
XJ.\u0275cmp=zc({type:XJ,selectors:[["onedev-person-hovercard-body"]],inputs:{person:"person",outOfOfficeDescription:"outOfOfficeDescription"},ngContentSelectors:["[onedev-additional-content]","onedev-hovercard-action"],decls:14,vars:10,consts:[["role","dialog","aria-label","Person hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"contact-info",3,"ngClass"],["aria-hidden","true","class","avatar",3,"src","alt",4,"ngIf"],[1,"name","gmat-headline-4"],["class","email gmat-body-3",
4,"ngIf"],["class","chips gmat-caption",4,"ngIf"],[1,"content","gmat-body-3"],[4,"ngIf"],["aria-hidden","true",1,"avatar",3,"src","alt"],[1,"email","gmat-body-3"],[1,"chips","gmat-caption"],["variant","yellow"],["onedevChipIcon","","svgIcon","event_busy_24px"],["svgIcon","work_outline_24px"],[1,"detail"],[1,"dot-separated-list"],["onedevDot","",4,"ngIf"],["onedevDot",""],["svgIcon","location_pin_24px"],["svgIcon","link_24px"],["target","_blank","rel","noopener noreferrer",3,"href"]],template:function(a,
b){a&1&&(Ne(Grc),H(0,"div",0)(1,"div",1)(2,"div",2),R(3,JDa,1,2,"img",3),H(4,"div",4),S(5),J(),R(6,KDa,2,1,"div",5),J(),R(7,LDa,4,1,"div",6),H(8,"div",7),R(9,PDa,7,3,"ng-container",8),R(10,QDa,4,1,"ng-container",8),R(11,TDa,21,6,"ng-container",8),Oe(12),J()(),Oe(13,1),J());a&2&&(C(2),G("ngClass",Ze(8,Hrc,b.person.imageUrl)),C(1),G("ngIf",b.person.imageUrl),C(2),Te(" ",b.person.name||b.person.email," "),C(1),G("ngIf",b.person.name),C(1),G("ngIf",b.outOfOfficeDescription),C(2),G("ngIf",b.person.title||
b.person.department),C(1),G("ngIf",b.person.location),C(1),G("ngIf",b.person.ldap))},dependencies:[WJ,Erc,Ru,Tu,Frc,jz],styles:[".onedev-hovercard-content{--onedev-card-background:var(--surface-default,#fff);--onedev-card-title-text:var(--text-default,#202124);--onedev-card-icon:var(--icon,#5f6368);--onedev-card-secondary-text:var(--text-secondary,#5f6368);--onedev-card-link-color:var(--primary-default,#1a73e8)}.onedev-hovercard-content{background-color:var(--onedev-card-background);width:356px}.onedev-hovercard-content .onedev-hovercard-body{padding:20px}.onedev-hovercard-content .onedev-hovercard-body a{color:var(--onedev-card-link-color)}.onedev-hovercard-content .onedev-hovercard-body .contact-info.with-avatar{display:grid;grid-template-columns:48px auto;-webkit-column-gap:20px;-moz-column-gap:20px;column-gap:20px}.onedev-hovercard-content .onedev-hovercard-body .contact-info.with-avatar .avatar{grid-row:1/span 2}.onedev-hovercard-content .onedev-hovercard-body .contact-info .name{grid-row:1;grid-column:2;line-clamp:2;overflow:hidden;text-overflow:ellipsis}.onedev-hovercard-content .onedev-hovercard-body .contact-info .email{grid-row:2;grid-column:2}.onedev-hovercard-content .onedev-hovercard-body .title{color:var(--onedev-card-title-text);margin:0 0 12px;max-height:48px;overflow:hidden}.onedev-hovercard-content .onedev-hovercard-body .chips{display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin-top:12px}.onedev-hovercard-content .onedev-hovercard-body mat-icon{color:var(--onedev-card-icon);font-size:18px;height:18px;width:18px}.onedev-hovercard-content .onedev-hovercard-body .content{display:grid;grid-template-columns:18px auto;grid-gap:12px 20px;margin:0;margin-top:12px}.onedev-hovercard-content .onedev-hovercard-body .content .detail{margin-top:2px}.onedev-hovercard-content .onedev-hovercard-body .content:empty{margin-top:0}.onedev-hovercard-content .onedev-hovercard-body .subcontent:not(:last-child){margin-bottom:8px}.onedev-hovercard-content .onedev-hovercard-body .label{color:var(--onedev-card-secondary-text);padding:0 8px 0 0}.onedev-hovercard-content .onedev-hovercard-body .dot-separated-list{display:inline;list-style-type:none;margin:0;padding:0}.onedev-hovercard-content .onedev-hovercard-body .dot-separated-list li{display:inline}.avatar{border-radius:50%;object-fit:cover;height:48px;width:48px}"],
encapsulation:2,changeDetection:0});var Irc=new Hc("API_VERSION"),Jrc=new Hc("REQUEST_SERVICE"),YJ=function(){};YJ.\u0275fac=function(a){return new (a||YJ)};YJ.\u0275mod=Bc({type:YJ});YJ.\u0275inj=oc({});
var Krc={$Xgafv:"$.xgafv",access_token:"access_token",affinityType:"affinityType",alt:"alt",authDelegationContextContactsEncryptedOwnerId:"authDelegationContext.contacts.encryptedOwnerId",authDelegationContextDelegationType:"authDelegationContext.delegationType",authDelegationContextObfuscatedOwnerId:"authDelegationContext.obfuscatedOwnerId",authDelegationContextUnicornObfuscatedOwnerId:"authDelegationContext.unicorn.obfuscatedOwnerId",blockDirection:"blockDirection",callback:"callback",client:"client",
clientId:"client.id",clientVersionClientAgent:"clientVersion.clientAgent",clientVersionClientType:"clientVersion.clientType",clientVersionClientVersion:"clientVersion.clientVersion",clientVersionGmsCoreContextAppManagementContext:"clientVersion.gmsCoreContext.appManagementContext",clientVersionGmsCoreContextIsFirstParty:"clientVersion.gmsCoreContext.isFirstParty",clientVersionGmsCoreContextPackageName:"clientVersion.gmsCoreContext.packageName",clientVersionGmsCoreContextPackageSignature:"clientVersion.gmsCoreContext.packageSignature",
consentOptionsStrategy:"consentOptions.strategy",consistencyOptionsLevel:"consistencyOptions.level",consistencyOptionsLevelOptionsBoundedConsistencyMaxAllowedStaleness:"consistencyOptions.levelOptions.boundedConsistency.maxAllowedStaleness",consistencyOptionsLevelOptionsExactTimestamp:"consistencyOptions.levelOptions.exactTimestamp",consistencyOptionsLevelOptionsStaleConsistencyConsistencyRequirement:"consistencyOptions.levelOptions.staleConsistency.consistencyRequirement",contactId:"contactId",contactListType:"contactListType",
contactLookupOptionsEmailLookupType:"contactLookupOptions.emailLookupType",container:"container",containerId:"containerId",containerIds:"containerIds",contextAllowedRequesterState:"context.allowedRequesterState",contextAuthDelegationContextContactsEncryptedOwnerId:"context.authDelegationContext.contacts.encryptedOwnerId",contextAuthDelegationContextDelegationType:"context.authDelegationContext.delegationType",contextAuthDelegationContextObfuscatedOwnerId:"context.authDelegationContext.obfuscatedOwnerId",
contextAuthDelegationContextUnicornObfuscatedOwnerId:"context.authDelegationContext.unicorn.obfuscatedOwnerId",contextClientType:"context.clientType",contextClientVersionClientAgent:"context.clientVersion.clientAgent",contextClientVersionClientType:"context.clientVersion.clientType",contextClientVersionClientVersion:"context.clientVersion.clientVersion",contextClientVersionGmsCoreContextAppManagementContext:"context.clientVersion.gmsCoreContext.appManagementContext",contextClientVersionGmsCoreContextIsFirstParty:"context.clientVersion.gmsCoreContext.isFirstParty",
contextClientVersionGmsCoreContextPackageName:"context.clientVersion.gmsCoreContext.packageName",contextClientVersionGmsCoreContextPackageSignature:"context.clientVersion.gmsCoreContext.packageSignature",contextConsistencyContextBase64EncodedZookie:"context.consistencyContext.base64EncodedZookie",contextConsistencyContextDirectoryVersionToken:"context.consistencyContext.directoryVersionToken",contextConsistencyContextFbsRequireAllImportantWritesUpToTime:"context.consistencyContext.fbsRequireAllImportantWritesUpToTime",
contextConsistencyContextFbsVersionInfo:"context.consistencyContext.fbsVersionInfo",contextConsistencyOptionsLevel:"context.consistencyOptions.level",contextConsistencyOptionsLevelOptionsBoundedConsistencyMaxAllowedStaleness:"context.consistencyOptions.levelOptions.boundedConsistency.maxAllowedStaleness",contextConsistencyOptionsLevelOptionsExactTimestamp:"context.consistencyOptions.levelOptions.exactTimestamp",contextConsistencyOptionsLevelOptionsStaleConsistencyConsistencyRequirement:"context.consistencyOptions.levelOptions.staleConsistency.consistencyRequirement",
contextMigrationOptionsUseClusterBased:"context.migrationOptions.useClusterBased",contextMigrationOptionsUseLegacyRequestMaskBehavior:"context.migrationOptions.useLegacyRequestMaskBehavior",contextMigrationOptionsUseNewRequestMaskBehavior:"context.migrationOptions.useNewRequestMaskBehavior",contextRequestGroupLoggingId:"context.requestGroupLoggingId",contextRightOfPublicityContext:"context.rightOfPublicityContext",coreIdParamsCheckIdentityAcl:"coreIdParams.checkIdentityAcl",coreIdParamsEnablePrivateAccountEmails:"coreIdParams.enablePrivateAccountEmails",
coreIdParamsEnablePrivateNames:"coreIdParams.enablePrivateNames",coreIdParamsIdentityAclOptionsContextConfigName:"coreIdParams.identityAclOptions.context.configName",coreIdParamsIdentityAclOptionsContextObjectId:"coreIdParams.identityAclOptions.context.objectId",coreIdParamsIdentityAclOptionsContextObjectPart:"coreIdParams.identityAclOptions.context.objectPart",coreIdParamsIdentityAclOptionsMode:"coreIdParams.identityAclOptions.mode",coreIdParamsIgnoreAclConditionIgnoreAclConditionType:"coreIdParams.ignoreAclCondition.ignoreAclConditionType",
coreIdParamsUseRealtimeNotificationExpandedAcls:"coreIdParams.useRealtimeNotificationExpandedAcls",coreNameCoreProfileFirstName:"coreName.coreProfileFirstName",coreNameCoreProfileLastName:"coreName.coreProfileLastName",customLookupType:"customLookupType",dataFormatsAffinityFormatsScoreFormat:"dataFormats.affinityFormats.scoreFormat",dataFormatsProfilePhotoOptionsPrivateUrlFormat:"dataFormats.profilePhotoOptions.privateUrlFormat",dataJoinParamsProfileJoinType:"dataJoinParams.profileJoinType",dedupeOption:"dedupeOption",
delayFullSync:"delayFullSync",delegatedGroupIdDelegatedGroupId:"delegatedGroupId.delegatedGroupId",deleteContacts:"deleteContacts",deleteTrashedContacts:"deleteTrashedContacts",deletionContextMutationContextAndroidDeviceInfoId:"deletionContext.mutationContext.androidDeviceInfo.id",deletionContextMutationContextHostAppInfoHostAppName:"deletionContext.mutationContext.hostAppInfo.hostAppName",deletionContextMutationContextSource:"deletionContext.mutationContext.source",deletionContextMutationContextThirdPartyInfoClientName:"deletionContext.mutationContext.thirdPartyInfo.clientName",
deletionContextMutationContextThirdPartyInfoProjectNumber:"deletionContext.mutationContext.thirdPartyInfo.projectNumber",deletionContextMutationContextTimestamp:"deletionContext.mutationContext.timestamp",deviceId:"deviceId",deviceIdentifierClientInstanceId:"deviceIdentifier.clientInstanceId",deviceIdentityDeviceId:"deviceIdentity.deviceId",extensionSetExtendedRequestDataPeopleBackendExtensionApplication:"extensionSet.extendedRequestData.peopleBackendExtension.application",extensionSetExtensionNames:"extensionSet.extensionNames",
fieldFilterField:"fieldFilter.field",fieldMask:"fieldMask",fieldValueFilterAdminAssistants:"fieldValueFilter.adminAssistants",fieldValueFilterDottedLineManagers:"fieldValueFilter.dottedLineManagers",fieldValueFilterExecAssistants:"fieldValueFilter.execAssistants",fieldValueFilterIndirectManagers:"fieldValueFilter.indirectManagers",fieldValueFilterIndirectManagersWithMaxNumHops:"fieldValueFilter.indirectManagersWithMaxNumHops",fieldValueFilterManagers:"fieldValueFilter.managers",fieldValueFilterProfileExternalIdCustomTag:"fieldValueFilter.profileExternalId.customTag",
fieldValueFilterProfileExternalIdStandardTag:"fieldValueFilter.profileExternalId.standardTag",fieldValueFilterProfileExternalIdValue:"fieldValueFilter.profileExternalId.value",fields:"fields",getPeopleRequestContextAllowedRequesterState:"getPeopleRequest.context.allowedRequesterState",getPeopleRequestContextAuthDelegationContextContactsEncryptedOwnerId:"getPeopleRequest.context.authDelegationContext.contacts.encryptedOwnerId",getPeopleRequestContextAuthDelegationContextDelegationType:"getPeopleRequest.context.authDelegationContext.delegationType",
getPeopleRequestContextAuthDelegationContextObfuscatedOwnerId:"getPeopleRequest.context.authDelegationContext.obfuscatedOwnerId",getPeopleRequestContextAuthDelegationContextUnicornObfuscatedOwnerId:"getPeopleRequest.context.authDelegationContext.unicorn.obfuscatedOwnerId",getPeopleRequestContextClientType:"getPeopleRequest.context.clientType",getPeopleRequestContextClientVersionClientAgent:"getPeopleRequest.context.clientVersion.clientAgent",getPeopleRequestContextClientVersionClientType:"getPeopleRequest.context.clientVersion.clientType",
getPeopleRequestContextClientVersionClientVersion:"getPeopleRequest.context.clientVersion.clientVersion",getPeopleRequestContextClientVersionGmsCoreContextAppManagementContext:"getPeopleRequest.context.clientVersion.gmsCoreContext.appManagementContext",getPeopleRequestContextClientVersionGmsCoreContextIsFirstParty:"getPeopleRequest.context.clientVersion.gmsCoreContext.isFirstParty",getPeopleRequestContextClientVersionGmsCoreContextPackageName:"getPeopleRequest.context.clientVersion.gmsCoreContext.packageName",
getPeopleRequestContextClientVersionGmsCoreContextPackageSignature:"getPeopleRequest.context.clientVersion.gmsCoreContext.packageSignature",getPeopleRequestContextConsistencyContextDirectoryVersionToken:"getPeopleRequest.context.consistencyContext.directoryVersionToken",getPeopleRequestContextConsistencyOptionsLevel:"getPeopleRequest.context.consistencyOptions.level",getPeopleRequestContextConsistencyOptionsLevelOptionsBoundedConsistencyMaxAllowedStaleness:"getPeopleRequest.context.consistencyOptions.levelOptions.boundedConsistency.maxAllowedStaleness",
getPeopleRequestContextConsistencyOptionsLevelOptionsExactTimestamp:"getPeopleRequest.context.consistencyOptions.levelOptions.exactTimestamp",getPeopleRequestContextConsistencyOptionsLevelOptionsStaleConsistencyConsistencyRequirement:"getPeopleRequest.context.consistencyOptions.levelOptions.staleConsistency.consistencyRequirement",getPeopleRequestContextMigrationOptionsUseClusterBased:"getPeopleRequest.context.migrationOptions.useClusterBased",getPeopleRequestContextMigrationOptionsUseLegacyRequestMaskBehavior:"getPeopleRequest.context.migrationOptions.useLegacyRequestMaskBehavior",
getPeopleRequestContextMigrationOptionsUseNewRequestMaskBehavior:"getPeopleRequest.context.migrationOptions.useNewRequestMaskBehavior",getPeopleRequestContextRequestGroupLoggingId:"getPeopleRequest.context.requestGroupLoggingId",getPeopleRequestContextRightOfPublicityContext:"getPeopleRequest.context.rightOfPublicityContext",getPeopleRequestCoreIdParamsCheckIdentityAcl:"getPeopleRequest.coreIdParams.checkIdentityAcl",getPeopleRequestCoreIdParamsEnablePrivateAccountEmails:"getPeopleRequest.coreIdParams.enablePrivateAccountEmails",
getPeopleRequestCoreIdParamsEnablePrivateNames:"getPeopleRequest.coreIdParams.enablePrivateNames",getPeopleRequestCoreIdParamsIdentityAclOptionsContextConfigName:"getPeopleRequest.coreIdParams.identityAclOptions.context.configName",getPeopleRequestCoreIdParamsIdentityAclOptionsContextObjectId:"getPeopleRequest.coreIdParams.identityAclOptions.context.objectId",getPeopleRequestCoreIdParamsIdentityAclOptionsContextObjectPart:"getPeopleRequest.coreIdParams.identityAclOptions.context.objectPart",getPeopleRequestCoreIdParamsIdentityAclOptionsMode:"getPeopleRequest.coreIdParams.identityAclOptions.mode",
getPeopleRequestCoreIdParamsIgnoreAclConditionIgnoreAclConditionType:"getPeopleRequest.coreIdParams.ignoreAclCondition.ignoreAclConditionType",getPeopleRequestCoreIdParamsUseRealtimeNotificationExpandedAcls:"getPeopleRequest.coreIdParams.useRealtimeNotificationExpandedAcls",getPeopleRequestDataFormatsAffinityFormatsScoreFormat:"getPeopleRequest.dataFormats.affinityFormats.scoreFormat",getPeopleRequestDataFormatsProfilePhotoOptionsPrivateUrlFormat:"getPeopleRequest.dataFormats.profilePhotoOptions.privateUrlFormat",
getPeopleRequestDedupeOption:"getPeopleRequest.dedupeOption",getPeopleRequestExtensionSetExtendedRequestDataPeopleBackendExtensionApplication:"getPeopleRequest.extensionSet.extendedRequestData.peopleBackendExtension.application",getPeopleRequestExtensionSetExtensionNames:"getPeopleRequest.extensionSet.extensionNames",getPeopleRequestIncludeFieldAcl:"getPeopleRequest.includeFieldAcl",getPeopleRequestIncludedProfileStates:"getPeopleRequest.includedProfileStates",getPeopleRequestMergedPersonSourceOptionsCertificateParamsRequestCertificates:"getPeopleRequest.mergedPersonSourceOptions.certificateParams.requestCertificates",
getPeopleRequestMergedPersonSourceOptionsConnectedSitesOptionsConnectedSiteType:"getPeopleRequest.mergedPersonSourceOptions.connectedSitesOptions.connectedSiteType",getPeopleRequestMergedPersonSourceOptionsDataJoinParamsProfileJoinType:"getPeopleRequest.mergedPersonSourceOptions.dataJoinParams.profileJoinType",getPeopleRequestMergedPersonSourceOptionsDeviceContactFilterDeviceIdentifierClientInstanceId:"getPeopleRequest.mergedPersonSourceOptions.deviceContactFilter.deviceIdentifier.clientInstanceId",
getPeopleRequestMergedPersonSourceOptionsDeviceContactFilterFilterType:"getPeopleRequest.mergedPersonSourceOptions.deviceContactFilter.filterType",getPeopleRequestMergedPersonSourceOptionsIncludeAccountLocale:"getPeopleRequest.mergedPersonSourceOptions.includeAccountLocale",getPeopleRequestMergedPersonSourceOptionsIncludeAffinity:"getPeopleRequest.mergedPersonSourceOptions.includeAffinity",getPeopleRequestMergedPersonSourceOptionsIncludedContactDeletionStates:"getPeopleRequest.mergedPersonSourceOptions.includedContactDeletionStates",
getPeopleRequestMergedPersonSourceOptionsIncludedProfileStates:"getPeopleRequest.mergedPersonSourceOptions.includedProfileStates",getPeopleRequestMergedPersonSourceOptionsPersonModelParamsPersonModel:"getPeopleRequest.mergedPersonSourceOptions.personModelParams.personModel",getPeopleRequestMergedPersonSourceOptionsPlaceParamsRequestPhotoTypes:"getPeopleRequest.mergedPersonSourceOptions.placeParams.requestPhotoTypes",getPeopleRequestMergedPersonSourceOptionsPlaceParamsRequestPlaces:"getPeopleRequest.mergedPersonSourceOptions.placeParams.requestPlaces",
getPeopleRequestPersonId:"getPeopleRequest.personId",getPeopleRequestRequestConfigContextConfigKey:"getPeopleRequest.requestConfigContext.configKey",getPeopleRequestRequestConfigContextVersion:"getPeopleRequest.requestConfigContext.version",getPeopleRequestRequestMaskCustomRequestMask:"getPeopleRequest.requestMask.customRequestMask",getPeopleRequestRequestMaskImageUrlType:"getPeopleRequest.requestMask.imageUrlType",getPeopleRequestRequestMaskIncludeContainer:"getPeopleRequest.requestMask.includeContainer",
getPeopleRequestRequestMaskIncludeField:"getPeopleRequest.requestMask.includeField",getPeopleRequestRequestMaskIncludePeopleInCommon:"getPeopleRequest.requestMask.includePeopleInCommon",getPeopleRequestRequestMaskPersonAttribute:"getPeopleRequest.requestMask.personAttribute",getPeopleRequestRequestMaskPhotoOptionsPrivateUrlFormat:"getPeopleRequest.requestMask.photoOptions.privateUrlFormat",graphRestricts:"graphRestricts",groupExtensionSetExtensionNames:"groupExtensionSet.extensionNames",groupId:"groupId",
id:"id",includeAllAvailableSources:"includeAllAvailableSources",includeAllReachablePeople:"includeAllReachablePeople",includeBlocks:"includeBlocks",includeContent:"includeContent",includeFieldAcl:"includeFieldAcl",includeLinkedPeople:"includeLinkedPeople",includeOthers:"includeOthers",includedProfileStates:"includedProfileStates",key:"key",listFilterParamsContainer:"listFilterParams.container",listFilterParamsExcludeUnreachablePeople:"listFilterParams.excludeUnreachablePeople",matchType:"matchType",
maxContacts:"maxContacts",mergedPersonSourceOptionsCertificateParamsRequestCertificates:"mergedPersonSourceOptions.certificateParams.requestCertificates",mergedPersonSourceOptionsConnectedSitesOptionsConnectedSiteType:"mergedPersonSourceOptions.connectedSitesOptions.connectedSiteType",mergedPersonSourceOptionsDataJoinParamsProfileJoinType:"mergedPersonSourceOptions.dataJoinParams.profileJoinType",mergedPersonSourceOptionsDeviceContactFilterDeviceIdentifierClientInstanceId:"mergedPersonSourceOptions.deviceContactFilter.deviceIdentifier.clientInstanceId",
mergedPersonSourceOptionsDeviceContactFilterFilterType:"mergedPersonSourceOptions.deviceContactFilter.filterType",mergedPersonSourceOptionsIncludeAccountLocale:"mergedPersonSourceOptions.includeAccountLocale",mergedPersonSourceOptionsIncludeAffinity:"mergedPersonSourceOptions.includeAffinity",mergedPersonSourceOptionsIncludedContactDeletionStates:"mergedPersonSourceOptions.includedContactDeletionStates",mergedPersonSourceOptionsIncludedProfileStates:"mergedPersonSourceOptions.includedProfileStates",
mergedPersonSourceOptionsPersonModelParamsPersonModel:"mergedPersonSourceOptions.personModelParams.personModel",mergedPersonSourceOptionsPlaceParamsRequestPhotoTypes:"mergedPersonSourceOptions.placeParams.requestPhotoTypes",mergedPersonSourceOptionsPlaceParamsRequestPlaces:"mergedPersonSourceOptions.placeParams.requestPlaces",oauth_token:"oauth_token",objectTypesRestricts:"objectTypesRestricts",options:"options",orderBy:"orderBy",pageSize:"pageSize",pageToken:"pageToken",pagingOptionsPageSize:"pagingOptions.pageSize",
pagingOptionsPageToken:"pagingOptions.pageToken",peopleType:"peopleType",personAttribute:"personAttribute",personExpansion:"personExpansion",personId:"personId",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"},ZJ=function(a,b,c){this.gapiVersion=a;this.gapiVersion=null==a?"v2":a;this.$apiClient=new yoc(b,c)};
ZJ.prototype.list=function(a,b){a=void 0===a?{}:a;b=void 0===b?{}:b;return Aoc(this.$apiClient,{body:null,httpMethod:"GET",methodId:"people_pa.people.lookup.list",path:"/"+this.gapiVersion+"/people/lookup",queryParams:bCa(a,Krc,b)})};ZJ.\u0275fac=function(a){return new (a||ZJ)(w(Irc,8),w(Jrc),w(woc,8))};ZJ.\u0275prov=nc({token:ZJ,factory:ZJ.\u0275fac});var Lrc=function(){};Lrc.\u0275fac=function(a){return new (a||Lrc)};Lrc.\u0275prov=nc({token:Lrc,factory:function(a){return ZJ.\u0275fac(a)},providedIn:YJ});
var $J=function(a,b,c){this.gapiVersion=a;this.gapiVersion=null==a?"v2":a;this.$apiClient=new yoc(b,c)};$J.\u0275fac=function(a){return new (a||$J)(w(Irc,8),w(Jrc),w(woc,8))};$J.\u0275prov=nc({token:$J,factory:$J.\u0275fac});var Mrc=function(){};Mrc.\u0275fac=function(a){return new (a||Mrc)};Mrc.\u0275prov=nc({token:Mrc,factory:function(a){return $J.\u0275fac(a)},providedIn:YJ});var UDa=/.*@google.com/,Nrc=new Hc("onedevPeopleServiceConfig"),Orc={},aK=function(a,b,c){var d=this;this.lookupApiClient=a;this.destroy$=new F.Subject;this.config=Orc;c&&c.pipe(re(function(e){window.gapi&&e.accessToken&&window.gapi.auth.setToken({access_token:e.accessToken})}),qe(this.destroy$)).subscribe({next:function(e){d.config=e}})},Qrc=function(a,b){return Prc(a,[b]).pipe(E(function(c){return c[0]}))},Prc=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(E(function(c){return YDa(b,c)}))};aK.prototype.ngOnDestroy=function(){this.destroy$.next()};aK.\u0275fac=function(a){return new (a||aK)(w(Lrc),w(Mrc),w(Nrc,8))};aK.\u0275prov=nc({token:aK,factory:aK.\u0275fac});var Rrc=function(a){r.call(this,a)};V(Rrc,r);f=Rrc.prototype;f.getSize=function(){return Cb(this,1)};f.setSize=function(a){return n(this,1,a)};f.getWidth=function(){return Cb(this,12)};f.setWidth=function(a){return n(this,12,a)};f.getHeight=function(){return Cb(this,13)};f.setHeight=function(a){return n(this,13,a)};f.setStretch=function(a){return xi(this,33,a)};f.setCrop=function(a){return xi(this,2,a)};f.setCircleCrop=function(a){return xi(this,51,a)};
f.setImageCrop=function(a){return xi(this,32,a)};f.setSmartCrop=function(a){return xi(this,19,a)};f.setSmartCropNoClip=function(a){return xi(this,52,a)};f.setSmartCropUseFace=function(a){return xi(this,67,a)};f.setDetectFaces=function(a){xi(this,80,a)};f.setCenterCrop=function(a){return xi(this,20,a)};f.setPad=function(a){return xi(this,60,a)};f.getDownload=function(){return vi(this,3,!1)};f.setDownload=function(a){xi(this,3,a)};f.setHtml=function(a){xi(this,4,a)};
f.getObjectId=function(){return m(this,7)};f.setObjectId=function(a){n(this,7,a)};f.setLooseFaceCrop=function(a){return xi(this,65,a)};f.setFaceCropVersion=function(a){n(this,94,a)};f.setFrameId=function(a){n(this,29,a)};f.setTileX=function(a){n(this,9,a)};f.setTileY=function(a){n(this,10,a)};f.setTileZoom=function(a){n(this,11,a)};f.setTileGeneration=function(a){xi(this,14,a)};f.setForceTileGeneration=function(a){xi(this,34,a)};f.setTilePyramidAsProto=function(a){xi(this,72,a)};
f.setExpirationTime=function(a){n(this,15,a)};f.setImageFilter=function(a){return n(this,16,a)};f.setKillAnimation=function(a){return xi(this,17,a)};f.setUnfiltered=function(a){xi(this,18,a)};f.setUnfilteredWithTransforms=function(a){xi(this,45,a)};f.setIncludeMetadata=function(a){xi(this,22,a)};f.setIncludePublicMetadata=function(a){xi(this,54,a)};f.setStripGoogleData=function(a){xi(this,82,a)};f.setPreserveGoogleData=function(a){xi(this,83,a)};f.setStripMetadata=function(a){xi(this,93,a)};
f.setStripGeoinfo=function(a){xi(this,95,a)};f.setEsPortraitApprovedOnly=function(a){return xi(this,21,a)};f.setBypassTakedown=function(a){xi(this,23,a)};f.getToken=function(){return m(this,24)};f.setToken=function(a){return n(this,24,a)};f.setVersionedToken=function(a){n(this,36,a)};f.setSkipRefererCheck=function(a){xi(this,6,a)};f.getRotate=function(){return Cb(this,26)};f.setRotate=function(a){return n(this,26,a)};f.setHorizontalFlip=function(a){xi(this,30,a)};
f.setVerticalFlip=function(a){xi(this,31,a)};f.getOverlay=function(){return Db(this,27)};f.setOverlay=function(a){return xi(this,27,a)};f.setQueryString=function(a){n(this,28,a)};f.setRequestJpeg=function(a){return xi(this,57,a)};f.setRequestPng=function(a){return xi(this,58,a)};f.setRequestGif=function(a){xi(this,59,a)};f.setRequestAvif=function(a){xi(this,103,a)};f.setRequestWebp=function(a){return xi(this,35,a)};f.setRequestWebpUnlessMaybeTransparent=function(a){xi(this,41,a)};
f.setRequestAnimatedWebp=function(a){xi(this,64,a)};f.setNoWebp=function(a){xi(this,48,a)};f.setRequestH264=function(a){return xi(this,49,a)};f.setLossy=function(a){xi(this,97,a)};f.setNoOverlay=function(a){return xi(this,37,a)};f.setBorderSize=function(a){n(this,38,a)};f.setBorderRadius=function(a){n(this,86,a)};f.setBorderColor=function(a){n(this,39,a)};f.getBackgroundColor=function(){return Cb(this,87)};f.setBackgroundColor=function(a){n(this,87,a)};f.setPadColor=function(a){n(this,88,a)};
f.setSubstitutionColor=function(a){n(this,89,a)};f.setNoSilhouette=function(a){xi(this,40,a)};f.setFocusBlur=function(a){n(this,42,a)};f.setFocalPlane=function(a){n(this,43,a)};f.setQualityLevel=function(a){return n(this,44,a)};f.setQualityBucket=function(a){return n(this,62,a)};f.setNoUpscale=function(a){xi(this,46,a)};f.setPreserveAspectRatio=function(a){xi(this,61,a)};f.setForceTransformation=function(a){xi(this,50,a)};f.setNoDefaultImage=function(a){xi(this,53,a)};
f.setNoCorrectExifOrientation=function(a){xi(this,55,a)};f.setSelectFrameNumber=function(a){n(this,56,a)};f.setVideoFormat=function(a){n(this,63,a)};f.setVideoMultiFormat=function(a){n(this,81,a)};f.setVideoManifest=function(a){xi(this,98,a)};f.setDownloadVideo=function(a){xi(this,90,a)};f.setVideoBegin=function(a){n(this,68,a)};f.setVideoLength=function(a){n(this,69,a)};f.setMatchVersion=function(a){xi(this,66,a)};f.setImageDigest=function(a){xi(this,70,a)};
f.setInternalClient=function(a){n(this,71,a)};f.setMonogram=function(a){xi(this,73,a)};f.setForceMonogram=function(a){return xi(this,84,a)};f.setMonogramDogfood=function(a){xi(this,91,a)};f.setIgnoreLowResProfilePhoto=function(a){xi(this,96,a)};f.setAutoloop=function(a){xi(this,74,a)};f.getImageVersion=function(){return m(this,75)};f.setImageVersion=function(a){n(this,75,a)};f.setPitchDegrees=function(a){n(this,76,Pa(a))};f.setYawDegrees=function(a){n(this,77,Pa(a))};
f.setRollDegrees=function(a){n(this,78,Pa(a))};f.setFovDegrees=function(a){n(this,79,Pa(a))};f.setBadge=function(a){n(this,85,a)};f.setColorProfile=function(a){n(this,92,a)};f.setDeepCrop=function(a){n(this,99,a)};f.setRequestVideoFast=function(a){xi(this,100,a)};f.setVideoFormatFilters=function(a){n(this,102,a)};f.setDummyCacheKeyModifier=function(a){xi(this,104,a)};
f.toObject=function(){if(null!=this){t(this);var a={size:p(Cb(this,1)),width:p(Cb(this,12)),height:p(Cb(this,13)),stretch:p(Db(this,33)),crop:vi(this,2,!1),circleCrop:p(Db(this,51)),imageCrop:p(Db(this,32)),smartCrop:vi(this,19,!1),smartCropNoClip:vi(this,52,!1),smartCropUseFace:vi(this,67,!1),detectFaces:p(Db(this,80)),centerCrop:vi(this,20,!1),pad:p(Db(this,60)),download:vi(this,3,!1),html:vi(this,4,!1),objectId:p(m(this,7)),looseFaceCrop:p(Db(this,65)),faceCropVersion:p(Cb(this,94)),frameId:p(m(this,
29)),imageUrlDomain:Ag(this,8,0),tileX:p(Cb(this,9)),tileY:p(Cb(this,10)),tileZoom:p(Cb(this,11)),tileGeneration:vi(this,14,!1),forceTileGeneration:vi(this,34,!1),tilePyramidAsProto:vi(this,72,!1),expirationTime:p(Cb(this,15)),imageFilter:p(m(this,16)),killAnimation:p(Db(this,17)),unfiltered:p(Db(this,18)),unfilteredWithTransforms:p(Db(this,45)),includeMetadata:p(Db(this,22)),includePublicMetadata:p(Db(this,54)),stripGoogleData:p(Db(this,82)),preserveGoogleData:p(Db(this,83)),stripMetadata:p(Db(this,
93)),stripGeoinfo:p(Db(this,95)),esPortraitApprovedOnly:p(Db(this,21)),bypassTakedown:vi(this,23,!1),token:p(m(this,24)),versionedToken:p(m(this,36)),skipRefererCheck:vi(this,6,!1),rotate:p(Cb(this,26)),horizontalFlip:p(Db(this,30)),verticalFlip:p(Db(this,31)),overlay:p(Db(this,27)),queryString:p(m(this,28)),requestJpeg:p(Db(this,57)),requestPng:p(Db(this,58)),requestGif:p(Db(this,59)),requestAvif:vi(this,103,!1),requestWebp:vi(this,35,!1),requestWebpUnlessMaybeTransparent:vi(this,41,!1),requestAnimatedWebp:vi(this,
64,!1),noWebp:vi(this,48,!1),requestH264:vi(this,49,!1),lossy:p(Db(this,97)),noOverlay:vi(this,37,!1),borderSize:p(Cb(this,38)),borderRadius:p(Cb(this,86)),borderColor:p(Cb(this,39)),backgroundColor:p(Cb(this,87)),padColor:p(Cb(this,88)),substitutionColor:p(Cb(this,89)),noSilhouette:p(Db(this,40)),focusBlur:p(Cb(this,42)),focalPlane:p(Cb(this,43)),qualityLevel:p(Cb(this,44)),qualityBucket:p(Cb(this,62)),noUpscale:p(Db(this,46)),preserveAspectRatio:p(Db(this,61)),forceTransformation:p(Db(this,50)),
noDefaultImage:p(Db(this,53)),noCorrectExifOrientation:p(Db(this,55)),selectFrameNumber:p(Cb(this,56)),videoFormat:p(Cb(this,63)),videoMultiFormat:p(m(this,81)),videoManifest:p(Db(this,98)),downloadVideo:p(Db(this,90)),videoBegin:p(m(this,68)),videoLength:p(m(this,69)),matchVersion:p(Db(this,66)),imageDigest:p(Db(this,70)),internalClient:p(Cb(this,71)),monogram:p(Db(this,73)),forceMonogram:p(Db(this,84)),monogramDogfood:p(Db(this,91)),ignoreLowResProfilePhoto:p(Db(this,96)),autoloop:p(Db(this,74)),
imageVersion:p(m(this,75)),pitchDegrees:p(yb(this,76)),yawDegrees:p(yb(this,77)),rollDegrees:p(yb(this,78)),fovDegrees:p(yb(this,79)),badge:p(Cb(this,85)),colorProfile:p(Cb(this,92)),deepCrop:p(m(this,99)),requestVideoFast:p(Db(this,100)),videoFormatFilters:p(m(this,102)),dummyCacheKeyModifier:p(Db(this,104))}}else a=void 0;return a};
f.serializeBinary=u([Rrc,1,wq,12,wq,13,wq,33,zq,2,zq,51,zq,32,zq,19,zq,52,zq,67,zq,80,zq,20,zq,60,zq,3,zq,4,zq,7,uq,65,zq,94,wq,29,uq,8,wq,9,wq,10,wq,11,wq,14,zq,34,zq,72,zq,15,wq,16,Cq,17,zq,18,zq,45,zq,22,zq,54,zq,82,zq,83,zq,93,zq,95,zq,21,zq,23,zq,24,Cq,36,Cq,6,zq,26,wq,30,zq,31,zq,27,zq,28,Cq,57,zq,58,zq,59,zq,103,zq,35,zq,41,zq,64,zq,48,zq,49,zq,97,zq,37,zq,38,wq,86,wq,39,wq,87,wq,88,wq,89,wq,40,zq,42,wq,43,wq,44,wq,62,wq,46,zq,61,zq,50,zq,53,zq,55,zq,56,wq,63,wq,81,Cq,98,zq,90,zq,68,pq,69,
pq,66,zq,70,zq,71,wq,73,zq,84,zq,91,zq,96,zq,74,zq,75,pq,76,lq,77,lq,78,lq,79,lq,85,wq,92,wq,99,Cq,100,zq,102,Cq,104,zq]);var bK=function(a){this.value_=void 0;this.childNodes_={};a&&this.setAll(a)};bK.prototype.set=function(a,b){Src(this,a,b,!1)};bK.prototype.add=function(a,b){Src(this,a,b,!0)};var Src=function(a,b,c,d){for(var e=0;e<b.length;e++){var g=b.charAt(e);a.childNodes_[g]||(a.childNodes_[g]=new bK);a=a.childNodes_[g]}if(d&&void 0!==a.value_)throw Error("Nc`"+b);a.value_=c};bK.prototype.setAll=function(a){var b=Nbc(a);a=dC(a);for(var c=0;c<b.length;c++)this.set(b[c],a[c])};
var Trc=function(a,b){for(var c=0;c<b.length;c++)if(a=a.childNodes_[b.charAt(c)],!a)return;return a};bK.prototype.get=function(a){return(a=Trc(this,a))?a.value_:void 0};bK.prototype.getValues=function(){var a=[];Urc(this,a);return a};var Urc=function(a,b){void 0!==a.value_&&b.push(a.value_);for(var c in a.childNodes_)Urc(a.childNodes_[c],b)};
bK.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]}Vrc(c,a,b)}else Vrc(this,"",b);return b};var Vrc=function(a,b,c){void 0!==a.value_&&c.push(b);for(var d in a.childNodes_)Vrc(a.childNodes_[d],b+d,c)};f=bK.prototype;f.containsKey=function(a){return void 0!==this.get(a)};
f.containsValue=function(a){if(this.value_===a)return!0;for(var b in this.childNodes_)if(this.childNodes_[b].containsValue(a))return!0;return!1};f.clear=function(){this.childNodes_={};this.value_=void 0};f.remove=function(a){for(var b=this,c=[],d=0;d<a.length;d++){var e=a.charAt(d);if(!b.childNodes_[e])throw Error("Oc`"+a);c.push([b,e]);b=b.childNodes_[e]}a=b.value_;for(delete b.value_;0<c.length;)if(e=c.pop(),b=e[0],e=e[1],b.childNodes_[e].isEmpty())delete b.childNodes_[e];else break;return a};
f.clone=function(){return new bK(this)};f.getCount=function(){return Mbc(this.getValues())};f.isEmpty=function(){return void 0===this.value_&&Cda(this.childNodes_)};var Yrc=function(){if(!Wrc){var a=Wrc=new bK,b;for(b in Xrc)a.add(b,Xrc[b])}},Wrc,cK=function(a,b){this.types=a;this.setters=b},Xrc={a:new cK([3,0],[function(a,b){a.setEsPortraitApprovedOnly(b)},function(a,b){a.setSelectFrameNumber(b)}]),al:new cK([3],[function(a,b){a.setAutoloop(b)}]),b:new cK([3,0],[function(a,b){a.setBypassTakedown(b)},function(a,b){a.setBorderSize(b)}]),ba:new cK([0],[function(a,b){a.setBadge(b)}]),bc:new cK([0],[function(a,b){a.setBackgroundColor(b)}]),br:new cK([0],[function(a,
b){a.setBorderRadius(b)}]),c:new cK([3,0],[function(a,b){a.setCrop(b)},function(a,b){a.setBorderColor(b)}]),cc:new cK([3],[function(a,b){a.setCircleCrop(b)}]),ci:new cK([3],[function(a,b){a.setImageCrop(b)}]),ckm:new cK([3],[function(a,b){a.setDummyCacheKeyModifier(b)}]),cp:new cK([0],[function(a,b){a.setColorProfile(b)}]),cv:new cK([0],[function(a,b){a.setFaceCropVersion(b)}]),d:new cK([3],[function(a,b){a.setDownload(b)}]),dc:new cK([5],[function(a,b){a.setDeepCrop(b)}]),df:new cK([3],[function(a,
b){a.setDetectFaces(b)}]),dv:new cK([3],[function(a,b){a.setDownloadVideo(b)}]),e:new cK([0],[function(a,b){a.setExpirationTime(b)}]),f:new cK([4],[function(a,b){a.setImageFilter(b)}]),fg:new cK([3],[function(a,b){a.setForceTileGeneration(b)}]),fh:new cK([3],[function(a,b){a.setHorizontalFlip(b)}]),fm:new cK([3],[function(a,b){a.setForceMonogram(b)}]),fo:new cK([2],[function(a,b){a.setFovDegrees(b)}]),ft:new cK([3],[function(a,b){a.setForceTransformation(b)}]),fv:new cK([3],[function(a,b){a.setVerticalFlip(b)}]),
g:new cK([3],[function(a,b){a.setTileGeneration(b)}]),gd:new cK([3],[function(a,b){a.setPreserveGoogleData(b)}]),h:new cK([3,0],[function(a,b){a.setHtml(b)},function(a,b){a.setHeight(b)}]),i:new cK([3],[function(a,b){a.setIncludeMetadata(b)}]),ic:new cK([0],[function(a,b){a.setInternalClient(b)}]),id:new cK([3],[function(a,b){a.setImageDigest(b)}]),il:new cK([3],[function(a,b){a.setIgnoreLowResProfilePhoto(b)}]),ip:new cK([3],[function(a,b){a.setIncludePublicMetadata(b)}]),iv:new cK([0],[function(a,
b){a.setImageVersion(b)}]),j:new cK([1],[function(a,b){a.setFrameId(b)}]),k:new cK([3,0],[function(a,b){a.setKillAnimation(b)},function(a,b){a.setFocusBlur(b)}]),l:new cK([0],[function(a,b){a.setQualityLevel(b)}]),lf:new cK([3],[function(a,b){a.setLooseFaceCrop(b)}]),lo:new cK([3],[function(a,b){a.setLossy(b)}]),m:new cK([0],[function(a,b){a.setVideoFormat(b)}]),md:new cK([3],[function(a,b){a.setMonogramDogfood(b)}]),mm:new cK([4],[function(a,b){a.setVideoMultiFormat(b)}]),mo:new cK([3],[function(a,
b){a.setMonogram(b)}]),mv:new cK([3],[function(a,b){a.setMatchVersion(b)}]),n:new cK([3],[function(a,b){a.setCenterCrop(b)}]),nc:new cK([3],[function(a,b){a.setNoCorrectExifOrientation(b)}]),nd:new cK([3],[function(a,b){a.setNoDefaultImage(b)}]),ng:new cK([3],[function(a,b){a.setStripGeoinfo(b)}]),no:new cK([3],[function(a,b){a.setNoOverlay(b)}]),ns:new cK([3],[function(a,b){a.setNoSilhouette(b)}]),nt0:new cK([4],[function(a,b){a.setVersionedToken(b)}]),nu:new cK([3],[function(a,b){a.setNoUpscale(b)}]),
nw:new cK([3],[function(a,b){a.setNoWebp(b)}]),o:new cK([1,3],[function(a,b){a.setObjectId(b)},function(a,b){a.setOverlay(b)}]),p:new cK([3,0],[function(a,b){a.setSmartCrop(b)},function(a,b){a.setFocalPlane(b)}]),pa:new cK([3],[function(a,b){a.setPreserveAspectRatio(b)}]),pc:new cK([0],[function(a,b){a.setPadColor(b)}]),pd:new cK([3],[function(a,b){a.setPad(b)}]),pf:new cK([3],[function(a,b){a.setSmartCropUseFace(b)}]),pg:new cK([3],[function(a,b){a.setTilePyramidAsProto(b)}]),pi:new cK([2],[function(a,
b){a.setPitchDegrees(b)}]),pp:new cK([3],[function(a,b){a.setSmartCropNoClip(b)}]),q:new cK([4],[function(a,b){a.setQueryString(b)}]),r:new cK([3,0],[function(a,b){a.setSkipRefererCheck(b)},function(a,b){a.setRotate(b)}]),ra:new cK([3],[function(a,b){a.setRequestAvif(b)}]),rf:new cK([3],[function(a,b){a.setRequestVideoFast(b)}]),rg:new cK([3],[function(a,b){a.setRequestGif(b)}]),rh:new cK([3],[function(a,b){a.setRequestH264(b)}]),rj:new cK([3],[function(a,b){a.setRequestJpeg(b)}]),ro:new cK([2],[function(a,
b){a.setRollDegrees(b)}]),rp:new cK([3],[function(a,b){a.setRequestPng(b)}]),rw:new cK([3],[function(a,b){a.setRequestWebp(b)}]),rwa:new cK([3],[function(a,b){a.setRequestAnimatedWebp(b)}]),rwu:new cK([3],[function(a,b){a.setRequestWebpUnlessMaybeTransparent(b)}]),s:new cK([3,0],[function(a,b){a.setStretch(b)},function(a,b){a.setSize(b)}]),sc:new cK([0],[function(a,b){a.setSubstitutionColor(b)}]),sg:new cK([3],[function(a,b){a.setStripGoogleData(b)}]),sm:new cK([3],[function(a,b){a.setStripMetadata(b)}]),
t:new cK([4],[function(a,b){a.setToken(b)}]),u:new cK([3],[function(a,b){a.setUnfiltered(b)}]),ut:new cK([3],[function(a,b){a.setUnfilteredWithTransforms(b)}]),v:new cK([0],[function(a,b){a.setQualityBucket(b)}]),vb:new cK([0],[function(a,b){a.setVideoBegin(b)}]),vf:new cK([4],[function(a,b){a.setVideoFormatFilters(b)}]),vl:new cK([0],[function(a,b){a.setVideoLength(b)}]),vm:new cK([3],[function(a,b){a.setVideoManifest(b)}]),w:new cK([0],[function(a,b){a.setWidth(b)}]),x:new cK([0],[function(a,b){a.setTileX(b)}]),
y:new cK([0],[function(a,b){a.setTileY(b)}]),ya:new cK([2],[function(a,b){a.setYawDegrees(b)}]),z:new cK([0],[function(a,b){a.setTileZoom(b)}])};
Yrc.prototype.parse=function(a){var b=new Rrc,c=new Rrc;if(""==a)a=!0;else{a=a.split("-");for(var d=!0,e=0;e<a.length;e++){var g=a[e];if(0==g.length)d=!1;else{var h=g,l=!1;var q=h;var v=h.charAt(0);v!=v.toLowerCase()&&(l=!0,q=h.charAt(0).toLowerCase()+h.substring(1));var y=Wrc;for(v=1;v<=q.length;++v){var B=y,I=q.substring(0,v);if(0==I.length?B.isEmpty():!Trc(B,I))break}q=1==v?null:(q=y.get(q.substring(0,v-1)))?{option:h.substring(0,v-1),value:h.substring(v-1),signed:l,attributes:q}:null;if(q){h=
[];l=[];v=!1;for(y=0;y<q.attributes.types.length;y++){B=q.attributes.types[y];var N=q.value;I=e;if(q.signed&&1==B)for(var Q=N.length;12>Q&&I<a.length-1;)N+="-"+a[I+1],Q=N.length,++I;else if(2==B)for(;I<a.length-1&&a[I+1].match(/^[\d\.]/);)N+="-"+a[I+1],++I;Q=q.attributes.setters[y];N=Zrc(this,B)(q.option,N,b,c,Q);if(null===N){v=!0;e=I;break}else h.push(B),l.push(N)}if(!v)for(q=0;q<l.length;q++)y=h[q],N=l[q],$rc(this,y)(g,N);d=d&&v}else d=!1}}a=d}return new asc(b,c,a)};
var bsc=function(a,b,c,d,e,g){e(c,b);a=a.charAt(0);g=g(a==a.toUpperCase());e(d,g)};f=Yrc.prototype;f.parseAndSetIntOption_=function(a,b,c,d,e){if(""==b)return 0;b=Ig(b);if(isNaN(b))return 1;bsc(a,b,c,d,e,Number);return null};f.logIntParseError_=function(){};f.parseAndSetFloatOption_=function(a,b,c,d,e){if(""==b)return 0;b=Mg(b);if(isNaN(b))return 1;bsc(a,b,c,d,e,Number);return null};f.logFloatParseError_=function(){};
f.parseAndSetBoolOption_=function(a,b,c,d,e){if(""!=b)return 2;bsc(a,!0,c,d,e,Boolean);return null};f.logBoolParseError_=function(){};f.parseAndSetStringOption_=function(a,b,c,d,e){if(""==b)return 0;bsc(a,b,c,d,e,function(g){return g?"1":""});return null};f.logStringParseError_=function(){};
var Zrc=function(a,b){switch(b){case 0:return Ap(a.parseAndSetIntOption_,a);case 2:return Ap(a.parseAndSetFloatOption_,a);case 3:return Ap(a.parseAndSetBoolOption_,a);case 4:case 1:return Ap(a.parseAndSetStringOption_,a);default:return function(){}}},$rc=function(a,b){switch(b){case 0:return Ap(a.logIntParseError_,a);case 2:return Ap(a.logFloatParseError_,a);case 3:return Ap(a.logBoolParseError_,a);case 4:case 1:return Ap(a.logStringParseError_,a);default:return function(){}}},asc=function(a,b,c){this.valueProto_=
a;this.signatureFlagProto_=b;this.valid_=c};asc.prototype.isValid=function(){return this.valid_};var csc=function(a,b){null!=a&&this.append.apply(this,arguments)};f=csc.prototype;f.buffer_="";f.set=function(a){this.buffer_=""+a};f.append=function(a,b,c){this.buffer_+=String(a);if(null!=b)for(var d=1;d<arguments.length;d++)this.buffer_+=arguments[d];return this};f.clear=function(){this.buffer_=""};f.getLength=function(){return this.buffer_.length};f.toString=function(){return this.buffer_};var esc=function(a){this.parser_=null;this.components_=[];this.parsedOptions_=null;dsc(this,a)};esc.prototype.getParsedOptions=function(){return this.parsedOptions_};var fsc=function(a){null==a.parser_&&(a.parser_=new Yrc);return a.parser_},dsc=function(a,b){a.parsedOptions_=b?"string"===typeof b?fsc(a).parse(b):b:fsc(a).parse("")},dK=function(a,b){return a==b?!1:!0};f=esc.prototype;
f.setEsPortraitApprovedOnly=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,Db(c,21),Db(b.signatureFlagProto_,21))&&c.setEsPortraitApprovedOnly(a);return this};f.setSelectFrameNumber=function(a){var b=this.parsedOptions_,c=b.valueProto_;dK(a,Cb(c,56),Cb(b.signatureFlagProto_,56))&&c.setSelectFrameNumber(a)};f.setAutoloop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,Db(c,74),Db(b.signatureFlagProto_,74))&&c.setAutoloop(a)};
f.setBypassTakedown=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,vi(c,23,!1),vi(b.signatureFlagProto_,23,!1))&&c.setBypassTakedown(a)};f.setBorderSize=function(a){var b=this.parsedOptions_,c=b.valueProto_;dK(a,Cb(c,38),Cb(b.signatureFlagProto_,38))&&c.setBorderSize(a)};f.setBadge=function(a){var b=this.parsedOptions_,c=b.valueProto_;dK(a,Cb(c,85),Cb(b.signatureFlagProto_,85))&&c.setBadge(a)};
f.setBackgroundColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;dK(a,c.getBackgroundColor(),b.signatureFlagProto_.getBackgroundColor())&&c.setBackgroundColor(a)};f.setBorderRadius=function(a){var b=this.parsedOptions_,c=b.valueProto_;dK(a,Cb(c,86),Cb(b.signatureFlagProto_,86))&&c.setBorderRadius(a)};f.setCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,vi(c,2,!1),vi(b.signatureFlagProto_,2,!1))&&c.setCrop(a);return this};
f.setBorderColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;dK(a,Cb(c,39),Cb(b.signatureFlagProto_,39))&&c.setBorderColor(a)};f.setCircleCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,Db(c,51),Db(b.signatureFlagProto_,51))&&c.setCircleCrop(a);return this};f.setImageCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,Db(c,32),Db(b.signatureFlagProto_,32))&&c.setImageCrop(a);return this};
f.setDummyCacheKeyModifier=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,Db(c,104),Db(b.signatureFlagProto_,104))&&c.setDummyCacheKeyModifier(a)};f.setColorProfile=function(a){var b=this.parsedOptions_,c=b.valueProto_;dK(a,Cb(c,92),Cb(b.signatureFlagProto_,92))&&c.setColorProfile(a)};f.setFaceCropVersion=function(a){var b=this.parsedOptions_,c=b.valueProto_;dK(a,Cb(c,94),Cb(b.signatureFlagProto_,94))&&c.setFaceCropVersion(a)};
f.setDownload=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,c.getDownload(),b.signatureFlagProto_.getDownload())&&c.setDownload(a)};f.setDeepCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,m(c,99),m(b.signatureFlagProto_,99))&&c.setDeepCrop(a)};f.setDetectFaces=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,Db(c,80),Db(b.signatureFlagProto_,80))&&c.setDetectFaces(a)};
f.setDownloadVideo=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,Db(c,90),Db(b.signatureFlagProto_,90))&&c.setDownloadVideo(a)};f.setExpirationTime=function(a){var b=this.parsedOptions_,c=b.valueProto_;dK(a,Cb(c,15),Cb(b.signatureFlagProto_,15))&&c.setExpirationTime(a)};f.setImageFilter=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,m(c,16),m(b.signatureFlagProto_,16))&&c.setImageFilter(a);return this};
f.setForceTileGeneration=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,vi(c,34,!1),vi(b.signatureFlagProto_,34,!1))&&c.setForceTileGeneration(a)};f.setHorizontalFlip=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,Db(c,30),Db(b.signatureFlagProto_,30))&&c.setHorizontalFlip(a)};f.setForceMonogram=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,Db(c,84),Db(b.signatureFlagProto_,84))&&c.setForceMonogram(a);return this};
f.setFovDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;dK(a,yb(c,79),yb(b.signatureFlagProto_,79))&&c.setFovDegrees(a)};f.setForceTransformation=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,Db(c,50),Db(b.signatureFlagProto_,50))&&c.setForceTransformation(a)};f.setVerticalFlip=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,Db(c,31),Db(b.signatureFlagProto_,31))&&c.setVerticalFlip(a)};
f.setTileGeneration=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,vi(c,14,!1),vi(b.signatureFlagProto_,14,!1))&&c.setTileGeneration(a)};f.setPreserveGoogleData=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,Db(c,83),Db(b.signatureFlagProto_,83))&&c.setPreserveGoogleData(a)};f.setHtml=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,vi(c,4,!1),vi(b.signatureFlagProto_,4,!1))&&c.setHtml(a)};
f.setHeight=function(a){var b=this.parsedOptions_,c=b.valueProto_;dK(a,c.getHeight(),b.signatureFlagProto_.getHeight())&&c.setHeight(a);return this};f.setIncludeMetadata=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,Db(c,22),Db(b.signatureFlagProto_,22))&&c.setIncludeMetadata(a)};f.setInternalClient=function(a){var b=this.parsedOptions_,c=b.valueProto_;dK(a,Cb(c,71),Cb(b.signatureFlagProto_,71))&&c.setInternalClient(a)};
f.setImageDigest=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,Db(c,70),Db(b.signatureFlagProto_,70))&&c.setImageDigest(a)};f.setIgnoreLowResProfilePhoto=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,Db(c,96),Db(b.signatureFlagProto_,96))&&c.setIgnoreLowResProfilePhoto(a)};f.setIncludePublicMetadata=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,Db(c,54),Db(b.signatureFlagProto_,54))&&c.setIncludePublicMetadata(a)};
f.setImageVersion=function(a){var b=this.parsedOptions_,c=b.valueProto_;dK(a,c.getImageVersion(),b.signatureFlagProto_.getImageVersion())&&c.setImageVersion(a)};f.setFrameId=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,m(c,29),m(b.signatureFlagProto_,29))&&c.setFrameId(a)};f.setKillAnimation=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,Db(c,17),Db(b.signatureFlagProto_,17))&&c.setKillAnimation(a);return this};
f.setFocusBlur=function(a){var b=this.parsedOptions_,c=b.valueProto_;dK(a,Cb(c,42),Cb(b.signatureFlagProto_,42))&&c.setFocusBlur(a)};f.setQualityLevel=function(a){var b=this.parsedOptions_,c=b.valueProto_;dK(a,Cb(c,44),Cb(b.signatureFlagProto_,44))&&c.setQualityLevel(a);return this};f.setLooseFaceCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,Db(c,65),Db(b.signatureFlagProto_,65))&&c.setLooseFaceCrop(a);return this};
f.setLossy=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,Db(c,97),Db(b.signatureFlagProto_,97))&&c.setLossy(a)};f.setVideoFormat=function(a){var b=this.parsedOptions_,c=b.valueProto_;dK(a,Cb(c,63),Cb(b.signatureFlagProto_,63))&&c.setVideoFormat(a)};f.setMonogramDogfood=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,Db(c,91),Db(b.signatureFlagProto_,91))&&c.setMonogramDogfood(a)};
f.setVideoMultiFormat=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,m(c,81),m(b.signatureFlagProto_,81))&&c.setVideoMultiFormat(a)};f.setMonogram=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,Db(c,73),Db(b.signatureFlagProto_,73))&&c.setMonogram(a)};f.setMatchVersion=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,Db(c,66),Db(b.signatureFlagProto_,66))&&c.setMatchVersion(a)};
f.setCenterCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,vi(c,20,!1),vi(b.signatureFlagProto_,20,!1))&&c.setCenterCrop(a);return this};f.setNoCorrectExifOrientation=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,Db(c,55),Db(b.signatureFlagProto_,55))&&c.setNoCorrectExifOrientation(a)};f.setNoDefaultImage=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,Db(c,53),Db(b.signatureFlagProto_,53))&&c.setNoDefaultImage(a)};
f.setStripGeoinfo=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,Db(c,95),Db(b.signatureFlagProto_,95))&&c.setStripGeoinfo(a)};f.setNoOverlay=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,vi(c,37,!1),vi(b.signatureFlagProto_,37,!1))&&c.setNoOverlay(a);return this};f.setNoSilhouette=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,Db(c,40),Db(b.signatureFlagProto_,40))&&c.setNoSilhouette(a)};
f.setVersionedToken=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,m(c,36),m(b.signatureFlagProto_,36))&&c.setVersionedToken(a)};f.setNoUpscale=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,Db(c,46),Db(b.signatureFlagProto_,46))&&c.setNoUpscale(a)};f.setNoWebp=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,vi(c,48,!1),vi(b.signatureFlagProto_,48,!1))&&c.setNoWebp(a)};
f.setObjectId=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,c.getObjectId(),b.signatureFlagProto_.getObjectId())&&c.setObjectId(a)};f.setOverlay=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,c.getOverlay(),b.signatureFlagProto_.getOverlay())&&c.setOverlay(a);return this};f.setSmartCrop=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,vi(c,19,!1),vi(b.signatureFlagProto_,19,!1))&&c.setSmartCrop(a);return this};
f.setFocalPlane=function(a){var b=this.parsedOptions_,c=b.valueProto_;dK(a,Cb(c,43),Cb(b.signatureFlagProto_,43))&&c.setFocalPlane(a)};f.setPreserveAspectRatio=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,Db(c,61),Db(b.signatureFlagProto_,61))&&c.setPreserveAspectRatio(a)};f.setPadColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;dK(a,Cb(c,88),Cb(b.signatureFlagProto_,88))&&c.setPadColor(a)};
f.setPad=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,Db(c,60),Db(b.signatureFlagProto_,60))&&c.setPad(a);return this};f.setSmartCropUseFace=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,vi(c,67,!1),vi(b.signatureFlagProto_,67,!1))&&c.setSmartCropUseFace(a);return this};f.setTilePyramidAsProto=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,vi(c,72,!1),vi(b.signatureFlagProto_,72,!1))&&c.setTilePyramidAsProto(a)};
f.setPitchDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;dK(a,yb(c,76),yb(b.signatureFlagProto_,76))&&c.setPitchDegrees(a)};f.setSmartCropNoClip=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,vi(c,52,!1),vi(b.signatureFlagProto_,52,!1))&&c.setSmartCropNoClip(a);return this};f.setQueryString=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,m(c,28),m(b.signatureFlagProto_,28))&&c.setQueryString(a)};
f.setSkipRefererCheck=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,vi(c,6,!1),vi(b.signatureFlagProto_,6,!1))&&c.setSkipRefererCheck(a)};f.setRotate=function(a){var b=this.parsedOptions_,c=b.valueProto_;dK(a,c.getRotate(),b.signatureFlagProto_.getRotate())&&c.setRotate(a);return this};f.setRequestAvif=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,vi(c,103,!1),vi(b.signatureFlagProto_,103,!1))&&c.setRequestAvif(a)};
f.setRequestVideoFast=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,Db(c,100),Db(b.signatureFlagProto_,100))&&c.setRequestVideoFast(a)};f.setRequestGif=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,Db(c,59),Db(b.signatureFlagProto_,59))&&c.setRequestGif(a)};f.setRequestH264=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,vi(c,49,!1),vi(b.signatureFlagProto_,49,!1))&&c.setRequestH264(a);return this};
f.setRequestJpeg=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,Db(c,57),Db(b.signatureFlagProto_,57))&&c.setRequestJpeg(a);return this};f.setRollDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;dK(a,yb(c,78),yb(b.signatureFlagProto_,78))&&c.setRollDegrees(a)};f.setRequestPng=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,Db(c,58),Db(b.signatureFlagProto_,58))&&c.setRequestPng(a);return this};
f.setRequestWebp=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,vi(c,35,!1),vi(b.signatureFlagProto_,35,!1))&&c.setRequestWebp(a);return this};f.setRequestAnimatedWebp=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,vi(c,64,!1),vi(b.signatureFlagProto_,64,!1))&&c.setRequestAnimatedWebp(a)};f.setRequestWebpUnlessMaybeTransparent=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,vi(c,41,!1),vi(b.signatureFlagProto_,41,!1))&&c.setRequestWebpUnlessMaybeTransparent(a)};
f.setStretch=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,Db(c,33),Db(b.signatureFlagProto_,33))&&c.setStretch(a);return this};f.setSize=function(a){var b=this.parsedOptions_,c=b.valueProto_;dK(a,c.getSize(),b.signatureFlagProto_.getSize())&&c.setSize(a);return this};f.setSubstitutionColor=function(a){var b=this.parsedOptions_,c=b.valueProto_;dK(a,Cb(c,89),Cb(b.signatureFlagProto_,89))&&c.setSubstitutionColor(a)};
f.setStripGoogleData=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,Db(c,82),Db(b.signatureFlagProto_,82))&&c.setStripGoogleData(a)};f.setStripMetadata=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,Db(c,93),Db(b.signatureFlagProto_,93))&&c.setStripMetadata(a)};f.setToken=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,c.getToken(),b.signatureFlagProto_.getToken())&&c.setToken(a);return this};
f.setUnfiltered=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,Db(c,18),Db(b.signatureFlagProto_,18))&&c.setUnfiltered(a)};f.setUnfilteredWithTransforms=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,Db(c,45),Db(b.signatureFlagProto_,45))&&c.setUnfilteredWithTransforms(a)};f.setQualityBucket=function(a){var b=this.parsedOptions_,c=b.valueProto_;dK(a,Cb(c,62),Cb(b.signatureFlagProto_,62))&&c.setQualityBucket(a);return this};
f.setVideoBegin=function(a){var b=this.parsedOptions_,c=b.valueProto_;dK(a,m(c,68),m(b.signatureFlagProto_,68))&&c.setVideoBegin(a)};f.setVideoFormatFilters=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,m(c,102),m(b.signatureFlagProto_,102))&&c.setVideoFormatFilters(a)};f.setVideoLength=function(a){var b=this.parsedOptions_,c=b.valueProto_;dK(a,m(c,69),m(b.signatureFlagProto_,69))&&c.setVideoLength(a)};
f.setVideoManifest=function(a){a=a||void 0;var b=this.parsedOptions_,c=b.valueProto_;dK(a,Db(c,98),Db(b.signatureFlagProto_,98))&&c.setVideoManifest(a)};f.setWidth=function(a){var b=this.parsedOptions_,c=b.valueProto_;dK(a,c.getWidth(),b.signatureFlagProto_.getWidth())&&c.setWidth(a);return this};f.setTileX=function(a){var b=this.parsedOptions_,c=b.valueProto_;dK(a,Cb(c,9),Cb(b.signatureFlagProto_,9))&&c.setTileX(a)};
f.setTileY=function(a){var b=this.parsedOptions_,c=b.valueProto_;dK(a,Cb(c,10),Cb(b.signatureFlagProto_,10))&&c.setTileY(a)};f.setYawDegrees=function(a){var b=this.parsedOptions_,c=b.valueProto_;dK(a,yb(c,77),yb(b.signatureFlagProto_,77))&&c.setYawDegrees(a)};f.setTileZoom=function(a){var b=this.parsedOptions_,c=b.valueProto_;dK(a,Cb(c,11),Cb(b.signatureFlagProto_,11))&&c.setTileZoom(a)};f.setOptions=function(a){dsc(this,a)};
f.build=function(){this.components_.length=0;var a=this.parsedOptions_,b=a.valueProto_;a=a.signatureFlagProto_;eK(this,"s",b.getSize(),a.getSize());eK(this,"w",b.getWidth(),a.getWidth());fK(this,"c",vi(b,2,!1),vi(a,2,!1));fK(this,"d",b.getDownload(),a.getDownload());eK(this,"h",b.getHeight(),a.getHeight());fK(this,"s",Db(b,33),Db(a,33));fK(this,"h",vi(b,4,!1),vi(a,4,!1));fK(this,"p",vi(b,19,!1),vi(a,19,!1));fK(this,"pp",vi(b,52,!1),vi(a,52,!1));fK(this,"pf",vi(b,67,!1),vi(a,67,!1));fK(this,"n",vi(b,
20,!1),vi(a,20,!1));eK(this,"r",b.getRotate(),a.getRotate());fK(this,"r",vi(b,6,!1),vi(a,6,!1));fK(this,"o",b.getOverlay(),a.getOverlay());var c=b.getObjectId();gK(this,"o",c,a.getObjectId());c=m(b,29);gK(this,"j",c,m(a,29));eK(this,"x",Cb(b,9),Cb(a,9));eK(this,"y",Cb(b,10),Cb(a,10));eK(this,"z",Cb(b,11),Cb(a,11));fK(this,"g",vi(b,14,!1),vi(a,14,!1));eK(this,"e",Cb(b,15),Cb(a,15));gK(this,"f",m(b,16),m(a,16));fK(this,"k",Db(b,17),Db(a,17));fK(this,"u",Db(b,18),!0);fK(this,"ut",Db(b,45),!0);fK(this,
"i",Db(b,22),!0);fK(this,"a",Db(b,21),Db(a,21));fK(this,"b",vi(b,23,!1),vi(a,23,!1));eK(this,"b",Cb(b,38),Cb(a,38));eK(this,"c",Cb(b,39),Cb(a,39),16,8);gK(this,"q",m(b,28),m(a,28));fK(this,"fh",Db(b,30),Db(a,30));fK(this,"fv",Db(b,31),Db(a,31));fK(this,"fg",vi(b,34,!1),vi(a,34,!1));fK(this,"ci",Db(b,32),Db(a,32));gK(this,"t",b.getToken(),a.getToken());gK(this,"nt0",m(b,36),m(a,36));fK(this,"rw",vi(b,35,!1),vi(a,35,!1));fK(this,"rwu",vi(b,41,!1),vi(a,41,!1));fK(this,"rwa",vi(b,64,!1),vi(a,64,!1));
fK(this,"nw",vi(b,48,!1),vi(a,48,!1));fK(this,"rh",vi(b,49,!1),vi(a,49,!1));fK(this,"no",vi(b,37,!1),vi(a,37,!1));fK(this,"ns",Db(b,40),Db(a,40));eK(this,"k",Cb(b,42),Cb(a,42));eK(this,"p",Cb(b,43),Cb(a,43));eK(this,"l",Cb(b,44),Cb(a,44));eK(this,"v",Cb(b,62),Cb(a,62));fK(this,"nu",Db(b,46),Db(a,46));fK(this,"ft",Db(b,50),Db(a,50));fK(this,"cc",Db(b,51),Db(a,51));fK(this,"nd",Db(b,53),Db(a,53));fK(this,"ip",Db(b,54),Db(a,54));fK(this,"nc",Db(b,55),Db(a,55));eK(this,"a",Cb(b,56),Cb(a,56));fK(this,
"rj",Db(b,57),Db(a,57));fK(this,"rp",Db(b,58),Db(a,58));fK(this,"rg",Db(b,59),Db(a,59));fK(this,"pd",Db(b,60),Db(a,60));fK(this,"pa",Db(b,61),Db(a,61));eK(this,"m",Cb(b,63),Cb(a,63));eK(this,"vb",m(b,68),m(a,68));eK(this,"vl",m(b,69),m(a,69));fK(this,"lf",Db(b,65),Db(a,65));fK(this,"mv",Db(b,66),Db(a,66));fK(this,"id",Db(b,70),Db(a,70));eK(this,"ic",Cb(b,71),!0);fK(this,"pg",vi(b,72,!1),vi(a,72,!1));fK(this,"mo",Db(b,73),Db(a,73));fK(this,"al",Db(b,74),Db(a,74));eK(this,"iv",b.getImageVersion(),a.getImageVersion());
eK(this,"pi",yb(b,76),yb(a,76));eK(this,"ya",yb(b,77),yb(a,77));eK(this,"ro",yb(b,78),yb(a,78));eK(this,"fo",yb(b,79),yb(a,79));fK(this,"df",Db(b,80),Db(a,80));gK(this,"mm",m(b,81),m(a,81));fK(this,"sg",Db(b,82),Db(a,82));fK(this,"gd",Db(b,83),Db(a,83));fK(this,"fm",Db(b,84),Db(a,84));eK(this,"ba",Cb(b,85),Cb(a,85));eK(this,"br",Cb(b,86),Cb(a,86));eK(this,"bc",b.getBackgroundColor(),a.getBackgroundColor(),16,8);eK(this,"pc",Cb(b,88),Cb(a,88),16,8);eK(this,"sc",Cb(b,89),Cb(a,89),16,8);fK(this,"dv",
Db(b,90),Db(a,90));fK(this,"md",Db(b,91),Db(a,91));eK(this,"cp",Cb(b,92),Cb(a,92));fK(this,"sm",Db(b,93),Db(a,93));eK(this,"cv",Cb(b,94),Cb(a,94));fK(this,"ng",Db(b,95),Db(a,95));fK(this,"il",Db(b,96),Db(a,96));fK(this,"lo",Db(b,97),Db(a,97));fK(this,"vm",Db(b,98),Db(a,98));gK(this,"dc",m(b,99),m(a,99));fK(this,"rf",Db(b,100),Db(a,100));gK(this,"vf",m(b,102),m(a,102));fK(this,"ra",vi(b,103,!1),vi(a,103,!1));fK(this,"ckm",Db(b,104),Db(a,104));return this.components_.join("-")};
var eK=function(a,b,c,d,e,g){if(null!=c){var h=void 0==e||10!=e&&16!=e?10:e;c=c.toString(h);e=new csc;e.append(16==h?"0x":"");h=e.append;void 0==g?g="":(g-=c.length,g=0>=g?"":gVb("0",g));h.call(e,g);e.append(c);gsc(a,b,e.toString(),!!d)}},fK=function(a,b,c,d){c&&gsc(a,b,"",!!d)},gK=function(a,b,c,d){c&&gsc(a,b,c,!!d)},gsc=function(a,b,c,d){d&&(b=b.charAt(0).toUpperCase()+b.substring(1));a.components_.push(b+c)};var hK=function(a){esc.call(this,a)};Cp(hK,esc);f=hK.prototype;f.setCrop=function(a){a&&iK(this);return hK.superClass_.setCrop.call(this,a)};f.setHeight=function(a){a=null==a||0>a?void 0:a;null!=a&&this.setSize();return hK.superClass_.setHeight.call(this,a)};f.setStretch=function(a){a&&iK(this);return hK.superClass_.setStretch.call(this,a)};f.setQualityLevel=function(a){return hK.superClass_.setQualityLevel.call(this,a)};
f.setImageFilter=function(a){a&&(a=a.replace(";",":"));return hK.superClass_.setImageFilter.call(this,a)};f.setImageCrop=function(a){a&&iK(this);return hK.superClass_.setImageCrop.call(this,a)};f.setCircleCrop=function(a){a&&iK(this);return hK.superClass_.setCircleCrop.call(this,a)};f.setSize=function(a){ta(a)&&(a=Math.max(a.width,a.height));a=null==a||0>a?void 0:a;null!=a&&(this.setWidth(),this.setHeight());return hK.superClass_.setSize.call(this,a)};
f.setSmartCrop=function(a){a&&iK(this);return hK.superClass_.setSmartCrop.call(this,a)};f.setSmartCropNoClip=function(a){a&&iK(this);return hK.superClass_.setSmartCropNoClip.call(this,a)};f.setSmartCropUseFace=function(a){a&&iK(this);return hK.superClass_.setSmartCropUseFace.call(this,a)};f.setCenterCrop=function(a){a&&iK(this);return hK.superClass_.setCenterCrop.call(this,a)};f.setPad=function(a){a&&iK(this);return hK.superClass_.setPad.call(this,a)};
f.setWidth=function(a){a=null==a||0>a?void 0:a;null!=a&&this.setSize();return hK.superClass_.setWidth.call(this,a)};var iK=function(a){a.setCenterCrop();a.setCircleCrop();a.setCrop();a.setImageCrop();a.setPad();a.setSmartCrop();a.setSmartCropNoClip();a.setSmartCropUseFace()};
hK.prototype.build=function(){var a=this.getParsedOptions().valueProto_;Db(a,18)||Db(a,45)?a.getSize()||this.setSize(0):(a=this.getParsedOptions().valueProto_,a.getSize()||a.getWidth()||a.getHeight()||(this.setSize(),this.setHeight(),this.setWidth(),iK(this)));return hK.superClass_.build.call(this)};var hsc=/^[^\/]*\/\//,jK=function(a,b){b=void 0===b?!1:b;this.original_=a;this.originalPrefix_="";(a=this.original_.match(hsc))&&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_=kC(a,!0);this.isFreeformUrl_=b;this.valid_=!0;this.obfuscated_=!1},isc=function(a,b){a.pathPrefix_=a.pathPrefix_?a.pathPrefix_+("/"+b):b},kK=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]&&(isc(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)isc(a,
a.components_[0]);else if("image"==a.components_[0])isc(a,a.components_[0]);else if(7==b||3==b)return a.valid_=!1,a.components_;if(3>=b){a.obfuscated_=!0;3==b&&(isc(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_};jK.prototype.isValid=function(){kK(this);return this.valid_};var jsc=function(a){kK(a);return a.obfuscated_},ksc=function(a){kK(a);return a.isFreeformUrl_};
jK.prototype.getDomain=function(){var a=this.uri_.port_;return this.uri_.getDomain()+(a?":"+a:"")};jK.prototype.getQuery=function(){return this.uri_.queryData_.toString()};var lK=function(a){kK(a);void 0==a.pathPrefix_&&(a.pathPrefix_=null);return a.pathPrefix_};jK.prototype.hasOptions=function(){switch(kK(this).length){case 7:return!0;case 6:return null==lK(this);case 5:return!1;case 3:return!0;case 2:return null==lK(this);case 1:return!1;default:return!1}};
var mK=function(a,b){if(ksc(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=kK(a)[b]}else if(jsc(a))a:{var c=null!=lK(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=kK(a)[b]}else a:{c=null!=lK(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=kK(a)[b]}return a};f=jK.prototype;f.getOriginal=function(){return this.original_};f.getObfuscatedGaiaId=function(){void 0==this.obfuscatedGaiaId_&&(this.obfuscatedGaiaId_=mK(this,0));return this.obfuscatedGaiaId_};f.getPhotoId=function(){void 0==this.photoId_&&(this.photoId_=mK(this,1));return this.photoId_};f.getImageVersion=function(){void 0==this.imageVersion_&&(this.imageVersion_=mK(this,2));return this.imageVersion_};
f.getOptions=function(){void 0==this.options_&&(this.options_=mK(this,4));return this.options_};f.getFilename=function(){void 0==this.filename_&&(this.filename_=mK(this,5));return this.filename_};var lsc=function(){};lsc.prototype.parse=function(a,b){return new msc(a,void 0===b?!1:b)};var msc=function(a,b){jK.call(this,a,void 0===b?!1:b)};V(msc,jK);msc.prototype.getParsedOptions=function(){if(void 0==this.parsedOptions_){var a=this.getOptions();a||(a="");this.parsedOptions_=(new Yrc).parse(a)}return this.parsedOptions_};var nK=function(a,b){b=void 0===b?!1:b;this.parsedImageUrl_=null;a instanceof msc||(void 0==nsc&&(nsc=new lsc),a=nsc.parse(a.toString(),b));this.parsedImageUrl_=a;a=this.parsedImageUrl_.getParsedOptions();esc.call(this,a);this.protocolPrefix_=this.parsedImageUrl_.originalPrefix_;this.domain_=this.parsedImageUrl_.getDomain();this.query_=this.parsedImageUrl_.getQuery()},nsc;Cp(nK,hK);nK.prototype.isValid=function(){return this.parsedImageUrl_.isValid()};
nK.prototype.build=function(){if(!this.parsedImageUrl_.isValid())return this.parsedImageUrl_.getOriginal();var a=nK.superClass_.build.call(this),b=[];null!=lK(this.parsedImageUrl_)&&b.push(lK(this.parsedImageUrl_));var c=ksc(this.parsedImageUrl_);if(jsc(this.parsedImageUrl_)){var d=this.parsedImageUrl_;void 0==d.obfuscatedData_&&(d.obfuscatedData_=mK(d,6));b.push(d.obfuscatedData_+(a?"="+a:""))}else if(c){d=b.push;var e=this.parsedImageUrl_;void 0===e.freeformUrlPath_&&(e.freeformUrlPath_=mK(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_=mK(e,3)),d.call(b,e.signature_),a&&b.push(a),b.push(this.parsedImageUrl_.getFilename());a=c?b.join("="):b.join("/");a=kC(this.protocolPrefix_+this.domain_+"/"+a+(this.query_?"?"+this.query_:"")).toString();a.startsWith("%3a//")&&(a=a.replace("%3a//",
"://"));return a};var osc=[[["onedev-hovercard-action"]],[["","onedev-additional-content",""]]],oK=function(a,b){var c=this;this.peopleService=a;this.waldoService=b;this.enableWaldo=!1;this.providedEmail$=new F.ReplaySubject(1);this.person$=this.providedEmail$.pipe(pe(function(d){return Qrc(c.peopleService,d)}),E(function(d){if(d){var e=Object,g=e.assign;if(d.imageUrl){var h=d.imageUrl;var l=new nK(h);l.setSize(48);h=l.build()||h}else h=d.imageUrl;d=g.call(e,{},d,{imageUrl:h})}return d}),ne(1));this.outOfOfficeDescription$=
new F.ReplaySubject;this.init=new F.ReplaySubject(1);this.destroyed$=new F.ReplaySubject(1)};oK.prototype.ngOnInit=function(){var a=this;this.person$.pipe(ge(),qe(this.destroyed$)).subscribe(function(){a.init.next()});this.enableWaldo&&psc(this)};var psc=function(a){a.waldoService&&a.person$.pipe(pe(function(b){return b?fpc(a.waldoService,b.email):(0,F.of)("")}),qe(a.destroyed$)).subscribe(function(b){a.outOfOfficeDescription$.next(b)})};
gg.Object.defineProperties(oK.prototype,{email:{configurable:!0,enumerable:!0,get:function(){return this.emailInternal},set:function(a){this.emailInternal=a;this.providedEmail$.next(a)}}});oK.\u0275fac=function(a){return new (a||oK)(D(aK),D(HI,8))};
oK.\u0275cmp=zc({type:oK,selectors:[["onedev-person-hovercard"]],inputs:{email:"email",enableWaldo:"enableWaldo"},outputs:{init:"init"},ngContentSelectors:["onedev-hovercard-action","[onedev-additional-content]"],decls:2,vars:3,consts:[[3,"person","outOfOfficeDescription",4,"ngIf"],[3,"person","outOfOfficeDescription"]],template:function(a,b){a&1&&(Ne(osc),R(0,ZDa,4,4,"onedev-person-hovercard-body",0),T(1,"async"));a&2&&G("ngIf",U(1,1,b.person$))},dependencies:[Tu,XJ,Zu],encapsulation:2,changeDetection:0});var qsc=[[["onedev-hovercard-action"],["",8,"actions"]]],pK=function(){};pK.prototype.ngOnInit=function(){};pK.\u0275fac=function(a){return new (a||pK)};
pK.\u0275cmp=zc({type:pK,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&&(Ne(qsc),R(0,$Da,3,3,"onedev-person-hovercard",0))},dependencies:[oK,RJ,SJ],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 qK=function(){this.isNonObfuscatedEmail=xl};qK.\u0275fac=function(a){return new (a||qK)};
qK.\u0275cmp=zc({type:qK,selectors:[["b-person-hovercard"]],inputs:{email:"email",triggerClass:"triggerClass"},ngContentSelectors:["*"],decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["content",""],[3,"onedevHovercardTrigger","onedevHovercardActive"],[4,"ngTemplateOutlet"],["card",""],[3,"email"]],template:function(a,b){a&1&&(Ne(),R(0,bEa,6,4,"ng-container",0),R(1,cEa,1,0,"ng-template",null,1,of));if(a&2){var c=Se(2);G("ngIf",!!b.email&&b.isNonObfuscatedEmail(b.email))("ngIfElse",c)}},dependencies:[Tu,
Yu,QJ,VJ,pK],encapsulation:2,changeDetection:0});var rK=function(a){this.window=a};rK.prototype.openInNewTab=function(a){a=Nf(a);Jra(this.window,a,"_blank")};var Wl=function(a,b){b=Nf(b);Jra(a.window,b)},rsc=function(a,b){a=a.window.location;b=Nf(b);b=Poa(b);void 0!==b&&(a.href=b)};rK.\u0275fac=function(a){return new (a||rK)(w(jE))};rK.\u0275prov=nc({token:rK,factory:rK.\u0275fac,providedIn:"root"});var sK=function(){this.onAction=new tu;this.disabled=!1};sK.prototype.handleClick=function(){this.onAction.emit()};sK.\u0275fac=function(a){return new (a||sK)};
sK.\u0275cmp=zc({type:sK,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&&(Ne(),H(0,"button",0),O("click",function(){return b.handleClick()}),Oe(1),J());a&2&&G("disabled",b.disabled)},dependencies:[yy],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 tK=function(a,b,c){kE.call(this);this.domSafe=a;this.cdr=b;this.actionService=c;this.currentAssignee="";this.currentCc=[];this.ccActionDisabled=this.assigneeActionDisabled=!1};V(tK,kE);tK.\u0275dir=kE.\u0275dir;
tK.prototype.ngOnInit=function(){var a=this;if(this.actionService){var b;null==(b=this.actionService)||b.assignee$.pipe(qe(this.destroyed$)).subscribe(function(d){a.currentAssignee=d;a.cdr.detectChanges()});var c;null==(c=this.actionService)||c.cc$.pipe(qe(this.destroyed$)).subscribe(function(d){a.currentCc=d;a.cdr.detectChanges()})}};
var dEa=function(a){if(a.actionService&&!a.assigneeActionDisabled){a.assigneeActionDisabled=!0;var b=a.email===a.currentAssignee?"remove_user":"set_user";jl(Yl.PERSON_CARD,"assigneeAction",b);orc(a.actionService,{email:a.email,action:b}).finally(function(){a.assigneeActionDisabled=!1})}},eEa=function(a){if(a.actionService&&!a.ccActionDisabled){a.ccActionDisabled=!0;var b=a.currentCc.includes(a.email)?"remove_user":"set_user";jl(Yl.PERSON_CARD,"ccAction",b);prc(a.actionService,{email:a.email,action:b}).finally(function(){a.ccActionDisabled=
!1})}};tK.\u0275fac=function(a){return new (a||tK)(D(rK),D(wH,2),D(NJ,8))};
tK.\u0275cmp=zc({type:tK,selectors:[["b-issue-person-card"]],inputs:{email:"email"},features:[Xe([wH]),xe],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),R(1,fEa,9,8,"ng-container",1),T(2,"async"),H(3,"onedev-hovercard-action",2),O("click",function(c){jl(Yl.PERSON_CARD,"showAssignedIssuesAction");var d=Ik({q:"assignee:"+b.email+" status:open"});c.ctrlKey||c.metaKey?b.domSafe.openInNewTab(d):
rsc(b.domSafe,d)}),H(4,"span"),S(5,"Show assigned issues"),J()()());a&2&&(G("email",b.email),C(1),G("ngIf",b.actionService&&U(2,2,b.actionService.editAccess$)))},dependencies:[Tu,sK,pK,Zu],encapsulation:2,changeDetection:0});var uK=function(a,b){var c=this;this.session=a;this.userProfiles=b;this.hovercardEnabled=this.availabilityChipEnabled=!0;this.hovercardFocusEnabled=!1;this.email$=new F.ReplaySubject(1);this.showEmail$=new F.BehaviorSubject(!1);this.isNonObfuscatedEmail=xl;this.userProfile$=this.email$.pipe(pe(function(d){return c.userProfiles.get(d)})).pipe(oe(void 0));this.content$=(0,F.combineLatest)([this.email$,this.userProfile$,this.showEmail$]).pipe(E(function(d){var e=k(d);d=e.next().value;var g=e.next().value;
e=e.next().value;return(g=null==g?void 0:g.displayName)?e?d+" ("+g+")":g:d}));this.vars$=(0,F.combineLatest)([this.email$,this.content$]).pipe(E(function(d){var e=k(d);d=e.next().value;e=e.next().value;return{email:d,content:e}}));this.enableWaldoAvailability=iE(this.session,"enableWaldoAvailability")&&this.session.isInternalSession()};gg.Object.defineProperties(uK.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)}}});
uK.\u0275fac=function(a){return new (a||uK)(D(rp),D(yI))};
uK.\u0275cmp=zc({type:uK,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&&(R(0,kEa,4,2,"ng-container",
0),T(1,"async"));a&2&&G("ngIf",U(1,1,b.vars$))},dependencies:[Tu,Yu,JI,tK,QJ,VJ,Zu],encapsulation:2,changeDetection:0});var nEa={"alertmanager-buganizer-handler@prod.google.com":"https://g3doc.corp.google.com/production/borg/alertmanager/g3doc/templates/AlertManager-darkred.png","bugjuggler-beta@google.com":"https://g3doc.corp.google.com/productivity/bugjuggler/g3doc/logo.png?cl=head","bugjuggler-beta@prod.google.com":"https://g3doc.corp.google.com/productivity/bugjuggler/g3doc/logo.png?cl=head","bugjuggler@google.com":"https://g3doc.corp.google.com/productivity/bugjuggler/g3doc/logo.png?cl=head","bugjuggler@prod.google.com":"https://g3doc.corp.google.com/productivity/bugjuggler/g3doc/logo.png?cl=head",
"koalassistant@prod.google.com":"https://g3doc.corp.google.com/platforms/networking/orion/release/g3doc/images/koalassistant.png?cl=head","modem-explorer-jobs@prod.google.com":"https://static.corp.google.com/modem-tools/riemann/logo/riemann_logo.svg","piper-bugupdater@google.com":"https://static.corp.google.com/devtools/codereview/new_logo_only.svg","piper-bugupdater@prod.google.com":"https://static.corp.google.com/devtools/codereview/new_logo_only.svg","pixel-modem-tools-issue-classifier-be@prod.google.com":"https://static.corp.google.com/modem-tools/riemann/logo/riemann_logo.svg",
"pixel-modem-tools-ltp-be@prod.google.com":"https://static.corp.google.com/modem-tools/ltp/logo.svg","spur-workflows@prod.google.com":"https://g3doc.corp.google.com/security/spur/g3doc/spur_logo.jpg?cl=head"};var vK=function(a,b){var c=this;this.userProfiles=a;this.activeSession=b;this.email$=new F.ReplaySubject(1);this.isNonObfuscatedEmail=xl;this.userProfile$=this.email$.pipe(pe(function(d){return d?c.userProfiles.get(d).pipe(oe(void 0)):(0,F.of)(void 0)}));this.vars$=(0,F.combineLatest)([this.email$,this.userProfile$]).pipe(E(function(d){var e=k(d);d=e.next().value;e=e.next().value;if(!e)return{email:d,showImage:!1,src:void 0,srcset:void 0};var g=!e.photoUrl,h=g?void 0:e.photoUrl,l;g?l=void 0:l=e.highResolutionPhotoUrl?
e.highResolutionPhotoUrl+" 2x":e.photoUrl+" 1x";return{email:d,showImage:!g,src:h,srcset:l}}))},rEa=function(a,b){return!b||a.activeSession.isExternalSession()?!1:void 0!==nEa[b]};gg.Object.defineProperties(vK.prototype,{email:{configurable:!0,enumerable:!0,set:function(a){xl(a)?this.email$.next(a):this.email$.next(void 0)}}});vK.\u0275fac=function(a){return new (a||vK)(D(yI),D(rp))};
vK.\u0275cmp=zc({type:vK,selectors:[["b-user-image"]],inputs:{email:"email"},decls:2,vars:3,consts:[[4,"ngIf"],[4,"ngIf","ngIfElse"],["imageDisplay",""],["role","img","aria-label","user avatar",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],["card",""],[3,"email"],["class","user-avatar material",3,"anonymous",4,"ngIf"],["alt","",1,"user-avatar","material","robo-avatar",3,"src"],[1,"user-avatar","material"],["alt","",3,"src","srcset",4,"ngIf"],["alt","",3,"src","srcset"]],template:function(a,b){a&
1&&(R(0,tEa,4,2,"ng-container",0),T(1,"async"));a&2&&G("ngIf",U(1,1,b.vars$))},dependencies:[Tu,Yu,tK,QJ,VJ,Zu],styles:['.user-avatar.anonymous[_ngcontent-%COMP%]{border:1px solid;border-color:#bdc1c6;border-color:var(--c400);border-radius:18px;background-image:url("https://www.gstatic.com/buganizer/img/v0/logo_avatar_anonymous.svg");background-repeat:no-repeat;background-position:center}.material.user-avatar[_ngcontent-%COMP%]   img[_ngcontent-%COMP%], .material.user-avatar.anonymous[_ngcontent-%COMP%]{border-radius:50%}.material.user-avatar.robo-avatar[_ngcontent-%COMP%]{border-radius:0;object-fit:contain}[_nghost-%COMP%]{display:inline-flex;vertical-align:middle}'],
changeDetection:0});var wK=function(){this.onlyTitle=this.disableDismiss=!1;this.onDismiss=new tu;this.STATUS_TERSE=bF;this.STATUS_FULL_TEXT=fF};wK.prototype.convertIssueStatusStrToTag=function(a){return Zh[a]};wK.\u0275fac=function(a){return new (a||wK)};
wK.\u0275cmp=zc({type:wK,selectors:[["issue-card-compact"]],hostAttrs:[1,"carded"],inputs:{issue:"issue",dismissIcon:"dismissIcon",dismissTooltip:"dismissTooltip",disableDismiss:"disableDismiss",moreInfoIcon:"moreInfoIcon",moreInfoIconSvg:"moreInfoIconSvg",moreInfoMessage:"moreInfoMessage",moreInfoAccentColor:"moreInfoAccentColor",onlyTitle:"onlyTitle"},outputs:{onDismiss:"onDismiss"},decls:1,vars:1,consts:[[4,"ngIf"],[1,"title","line-clamp-3"],[1,"subtle-link",3,"href"],["class","dismiss",4,"ngIf"],
["class","assignee",4,"ngIf"],["class","meta",4,"ngIf"],[1,"dismiss"],["mat-icon-button","",1,"small",3,"matTooltip","disabled","click"],["inline","true",1,"google-material-icons"],[1,"assignee"],["class","margin-xs-right",3,"email",4,"ngIf"],[3,"email",4,"ngIf"],[1,"margin-xs-right",3,"email"],[3,"email"],[1,"meta"],[3,"issuePriority",4,"ngIf"],[3,"issuePriority"],["class","icon-s",3,"svgIcon",4,"ngIf"],["inline","true","class","google-material-icons icon-s",4,"ngIf"],[1,"line-clamp-2"],[1,"icon-s",
3,"svgIcon"],["inline","true",1,"google-material-icons","icon-s"]],template:function(a,b){a&1&&R(0,GEa,8,7,"ng-container",0);a&2&&G("ngIf",b.issue)},dependencies:[Tu,yy,jz,vK,uK,vI,XA,BJ],styles:['[_nghost-%COMP%]{background-color:#fff;background-color:var(--surface-default);display:grid;gap:8px;width:220px;grid-template-rows:minmax(1fr,60px) 1fr 1fr 1fr 1fr;grid-template-areas:"title dismiss" "title dismiss" "assignee assignee" "meta meta" "more-info more-info"}.title[_ngcontent-%COMP%]{grid-area:title}.dismiss[_ngcontent-%COMP%]{grid-area:dismiss;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.assignee[_ngcontent-%COMP%]{grid-area:assignee}[_nghost-%COMP%]     .user-avatar img{max-height:24px}.meta[_ngcontent-%COMP%]{grid-area:meta;place-self:center start;width:100%;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.more-info[_ngcontent-%COMP%]{grid-area:more-info;color:#5f6368;color:var(--muted);box-shadow:inset 0 1px 0 0 #dadce0;box-shadow:inset 0 1px 0 0 var(--divider);font-style:italic;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;gap:8px}.orange[_ngcontent-%COMP%]{color:#bd4800;color:var(--orange-text);box-shadow:inset 0 1px 0 0 #bd4800;box-shadow:inset 0 1px 0 0 var(--orange-text)}.pink[_ngcontent-%COMP%]{color:#d01884;color:var(--pink-text);box-shadow:inset 0 1px 0 0 #d01884;box-shadow:inset 0 1px 0 0 var(--pink-text)}.cyan[_ngcontent-%COMP%]{color:#34989d;color:var(--cyan-text);box-shadow:inset 0 1px 0 0 #34989d;box-shadow:inset 0 1px 0 0 var(--cyan-text)}.purple[_ngcontent-%COMP%]{color:#9334e6;color:var(--purple-text);box-shadow:inset 0 1px 0 0 #9334e6;box-shadow:inset 0 1px 0 0 var(--purple-text)}\n/*# sourceMappingURL=issue_card_compact.css.map */']});var ssc={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"}}},tsc=ssc;tsc=ssc;var usc={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 vsc={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"},xK=vsc;xK=vsc;var yK=function(a){this.maximumIntegerDigits_=40;this.minimumIntegerDigits_=1;this.significantDigits_=0;this.maximumFractionDigits_=3;this.minExponentDigits_=this.minimumFractionDigits_=0;this.useSignForPositiveExponent_=!1;this.positiveSuffix_=this.positivePrefix_="";this.negativePrefix_=xK.MINUS_SIGN;this.negativeSuffix_="";this.multiplier_=1;this.negativePercentSignExpected_=!1;this.groupingArray_=[];this.useExponentialNotation_=this.decimalSeparatorAlwaysShown_=!1;this.compactStyle_=0;this.pattern_=
"string"===typeof a?a:"";"number"===typeof a?this.applyStandardPattern_(a):this.applyPattern_(a)};
yK.prototype.applyPattern_=function(a){this.pattern_=a.replace(/ /g,"\u00a0");var b=[0];this.positivePrefix_=wsc(this,a,b);for(var c=b[0],d=-1,e=0,g=0,h=0,l=-1,q=a.length,v=!0;b[0]<q&&v;b[0]++)switch(a.charAt(b[0])){case "#":0<g?h++:e++;0<=l&&0>d&&l++;break;case "0":if(0<h)throw Error("Yc`"+a);g++;0<=l&&0>d&&l++;break;case ",":0<l&&this.groupingArray_.push(l);l=0;break;case ".":if(0<=d)throw Error("Zc`"+a);d=e+g+h;break;case "E":if(this.useExponentialNotation_)throw Error("$c`"+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+g||1>this.minExponentDigits_)throw Error("ad`"+a);v=!1;break;default:b[0]--,v=!1}0==g&&0<e&&0<=d&&(g=d,0==g&&g++,h=e-g,e=g-1,g=1);if(0>d&&0<h||0<=d&&(d<e||d>e+g)||0==l)throw Error("bd`"+a);h=e+g+h;this.maximumFractionDigits_=0<=d?h-d:0;0<=d&&(this.minimumFractionDigits_=e+g-d,0>this.minimumFractionDigits_&&(this.minimumFractionDigits_=
0));this.minimumIntegerDigits_=(0<=d?d:h)-e;this.useExponentialNotation_&&(this.maximumIntegerDigits_=e+this.minimumIntegerDigits_,0==this.maximumFractionDigits_&&0==this.minimumIntegerDigits_&&(this.minimumIntegerDigits_=1));this.groupingArray_.push(Math.max(0,l));this.decimalSeparatorAlwaysShown_=0==d||d==h;c=b[0]-c;this.positiveSuffix_=wsc(this,a,b);b[0]<a.length&&";"==a.charAt(b[0])?(b[0]++,1!=this.multiplier_&&(this.negativePercentSignExpected_=!0),this.negativePrefix_=wsc(this,a,b),b[0]+=c,
this.negativeSuffix_=wsc(this,a,b)):(this.negativePrefix_+=this.positivePrefix_,this.negativeSuffix_+=this.positiveSuffix_)};
yK.prototype.applyStandardPattern_=function(a){switch(a){case 1:this.applyPattern_(xK.DECIMAL_PATTERN);break;case 2:this.applyPattern_(xK.SCIENTIFIC_PATTERN);break;case 3:this.applyPattern_(xK.PERCENT_PATTERN);break;case 4:a=this.applyPattern_;var b=xK.CURRENCY_PATTERN;var c=["0"],d=usc[xK.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:xsc(this,1);break;case 6:xsc(this,2);break;default:throw Error("Sc");
}};var xsc=function(a,b){a.compactStyle_=b;a.applyPattern_(xK.DECIMAL_PATTERN);a.minimumFractionDigits_=0;a.maximumFractionDigits_=2;if(0<a.minimumFractionDigits_)throw Error("Qc");a.significantDigits_=2};
yK.prototype.parse=function(a,b){b=b||[0];if(0!==this.compactStyle_)throw Error("Tc");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(xK.INFINITY,b[0])==b[0]){b[0]+=xK.INFINITY.length;var e=Infinity}else{e=
a;var g=!1,h=!1,l=!1,q=-1,v=1,y=xK.DECIMAL_SEP,B=xK.GROUP_SEP,I=xK.EXP_SYMBOL;if(0!=this.compactStyle_)throw Error("Uc");B=B.replace(/\u202f/g,"\u00a0");for(var N="";b[0]<e.length;b[0]++){var Q=e.charAt(b[0]),Z=ysc(Q);if(0<=Z&&9>=Z)N+=Z,l=!0;else if(Q==y.charAt(0)){if(g||h)break;N+=".";g=!0}else if(Q==B.charAt(0)&&("\u00a0"!=B.charAt(0)||b[0]+1<e.length&&0<=ysc(e.charAt(b[0]+1)))){if(g||h)break}else if(Q==I.charAt(0)){if(h)break;N+="E";h=!0;q=b[0]}else if("+"==Q||"-"==Q){if(l&&q!=b[0]-1)break;N+=
Q}else if(1==this.multiplier_&&Q==xK.PERCENT.charAt(0)){if(1!=v)break;v=100;if(l){b[0]++;break}}else if(1==this.multiplier_&&Q==xK.PERMILL.charAt(0)){if(1!=v)break;v=1E3;if(l){b[0]++;break}}else break}1!=this.multiplier_&&(v=this.multiplier_);e=parseFloat(N)/v}if(c){if(a.indexOf(this.positiveSuffix_,b[0])!=b[0])return NaN;b[0]+=this.positiveSuffix_.length}else if(d){if(a.indexOf(this.negativeSuffix_,b[0])!=b[0])return NaN;b[0]+=this.negativeSuffix_.length}return d?-e:e};
yK.prototype.format=function(a){if(this.minimumFractionDigits_>this.maximumFractionDigits_)throw Error("Vc");if(isNaN(a))return xK.NAN;var b=[];var c=a;if(0==this.compactStyle_)c=zsc;else{c=Math.abs(c);var d=Asc(this,1>=c?0:Bsc(c)).divisorBase;c=Asc(this,d+Bsc(Csc(this,zK(c,-d)).intValue))}a=zK(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)Dsc(this,e,this.minimumIntegerDigits_,b),Esc(this,0,b);else{var g=Math.floor(Math.log(e)/Math.log(10)+2E-15);e=zK(e,-g);var h=this.minimumIntegerDigits_;1<this.maximumIntegerDigits_&&this.maximumIntegerDigits_>this.minimumIntegerDigits_?(h=g%this.maximumIntegerDigits_,0>h&&(h=this.maximumIntegerDigits_+h),e=zK(e,h),g-=h,h=1):1>this.minimumIntegerDigits_?(g++,e=zK(e,-1)):(g-=this.minimumIntegerDigits_-1,e=zK(e,this.minimumIntegerDigits_-
1));Dsc(this,e,h,b);Esc(this,g,b)}}else Dsc(this,a,this.minimumIntegerDigits_,b);else b.push(xK.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 Csc=function(a,b){var c=zK(b,a.maximumFractionDigits_);0<a.significantDigits_&&(c=Fsc(c,a.significantDigits_,a.maximumFractionDigits_));c=Math.round(c);isFinite(c)?(b=Math.floor(zK(c,-a.maximumFractionDigits_)),a=Math.floor(c-zK(b,a.maximumFractionDigits_))):a=0;return{intValue:b,fracValue:a}},Dsc=function(a,b,c,d){if(a.minimumFractionDigits_>a.maximumFractionDigits_)throw Error("Vc");d||(d=[]);b=Csc(a,b);var e=b.intValue,g=b.fracValue,h=0<a.minimumFractionDigits_||0<g||!1;b=a.minimumFractionDigits_;
h&&(b=a.minimumFractionDigits_);for(var l="",q=e;1E20<q;)l="0"+l,q=Math.round(zK(q,-1));l=q+l;var v=xK.DECIMAL_SEP;q=xK.ZERO_DIGIT.charCodeAt(0);var y=l.length,B=0;if(0<e||0<c){for(e=y;e<c;e++)d.push(String.fromCharCode(q));if(2<=a.groupingArray_.length)for(c=1;c<a.groupingArray_.length;c++)B+=a.groupingArray_[c];c=y-B;if(0<c){e=a.groupingArray_;B=y=0;for(var I,N=xK.GROUP_SEP,Q=l.length,Z=0;Z<Q;Z++)if(d.push(String.fromCharCode(q+Number(l.charAt(Z)))),1<Q-Z)if(I=e[B],Z<c){var Y=c-Z;(1===I||0<I&&1===
Y%I)&&d.push(N)}else B<e.length&&(Z===c?B+=1:I===Z-c-y+1&&(d.push(N),y+=I,B+=1))}else{c=l;l=a.groupingArray_;e=xK.GROUP_SEP;I=c.length;N=[];for(y=l.length-1;0<=y&&0<I;y--){B=l[y];for(Q=0;Q<B&&0<=I-Q-1;Q++)N.push(String.fromCharCode(q+Number(c.charAt(I-Q-1))));I-=B;0<I&&N.push(e)}d.push.apply(d,N.reverse())}}else h||d.push(String.fromCharCode(q));(a.decimalSeparatorAlwaysShown_||h)&&d.push(v);g=String(g);h=g.split("e+");2==h.length&&(g=String(Fsc(parseFloat(h[0]),a.significantDigits_,1)),g=g.replace(".",
""),g+=gVb("0",parseInt(h[1],10)-g.length+1));a.maximumFractionDigits_+1>g.length&&(g="1"+gVb("0",a.maximumFractionDigits_-g.length)+g);for(a=g.length;"0"==g.charAt(a-1)&&a>b+1;)a--;for(b=1;b<a;b++)d.push(String.fromCharCode(q+Number(g.charAt(b))))},Esc=function(a,b,c){c.push(xK.EXP_SYMBOL);0>b?(b=-b,c.push(xK.MINUS_SIGN)):a.useSignForPositiveExponent_&&c.push(xK.PLUS_SIGN);b=""+b;for(var d=xK.ZERO_DIGIT,e=b.length;e<a.minExponentDigits_;e++)c.push(d);c.push(b)},ysc=function(a){a=a.charCodeAt(0);
if(48<=a&&58>a)return a-48;var b=xK.ZERO_DIGIT.charCodeAt(0);return b<=a&&a<b+10?a-b:-1},wsc=function(a,b,c){for(var d="",e=!1,g=b.length;c[0]<g;c[0]++){var h=b.charAt(c[0]);if("'"==h)c[0]+1<g&&"'"==b.charAt(c[0]+1)?(c[0]++,d+="'"):e=!e;else if(e)d+=h;else switch(h){case "#":case "0":case ",":case ".":case ";":return d;case "\u00a4":c[0]+1<g&&"\u00a4"==b.charAt(c[0]+1)?(c[0]++,d+=xK.DEF_CURRENCY_CODE):(h=xK.DEF_CURRENCY_CODE,d+=h in usc?usc[h][1]:h);break;case "%":if(!a.negativePercentSignExpected_&&
1!=a.multiplier_)throw Error("Wc");if(a.negativePercentSignExpected_&&100!=a.multiplier_)throw Error("Xc");a.multiplier_=100;a.negativePercentSignExpected_=!1;d+=xK.PERCENT;break;case "\u2030":if(!a.negativePercentSignExpected_&&1!=a.multiplier_)throw Error("Wc");if(a.negativePercentSignExpected_&&1E3!=a.multiplier_)throw Error("Xc");a.multiplier_=1E3;a.negativePercentSignExpected_=!1;d+=xK.PERMILL;break;default:d+=h}}return d},zsc={divisorBase:0,negative_prefix:"",negative_suffix:"",prefix:"",suffix:""},
Asc=function(a,b){a=1==a.compactStyle_?tsc.COMPACT_DECIMAL_SHORT_PATTERN:tsc.COMPACT_DECIMAL_LONG_PATTERN;null==a&&(a=tsc.COMPACT_DECIMAL_SHORT_PATTERN);if(3>b)return zsc;b=Math.min(14,b);var c=a[zK(1,b)];for(--b;!c&&3<=b;)c=a[zK(1,b)],b--;if(!c)return zsc;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]}:zsc:zsc},Bsc=function(a){if(!isFinite(a))return 0<a?a:0;for(var b=0;1<=(a/=10);)b++;return b},zK=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))},Gsc=function(a,b){return a&&isFinite(a)?zK(Math.round(zK(a,b)),-b):a},Fsc=function(a,b,c){if(!a)return a;b=b-Bsc(a)-1;return b<-c?Gsc(a,-c):Gsc(a,b)};var Hsc=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"},Isc=Hsc;Isc=Hsc;var Jsc=function(a,b){var c=a|0;if(void 0===b){b=Math;var d=b.min,e=a+"",g=e.indexOf(".");b=d.call(b,-1===g?0:e.length-g-1,3)}d=Math.pow(10,b);a={v:b,f:(a*d|0)%d};return 1==c&&0==a.v?"one":"other"},Ksc=Jsc;Ksc=Jsc;var Osc=function(a){this.pattern_=a;this.parsedPattern_=this.literals_=this.initialLiterals_=null;a=xK;var b=tsc;if(Lsc!==a||Msc!==b)Lsc=a,Msc=b,Nsc=new yK(1);this.numberFormatter_=Nsc},Lsc=null,Msc=null,Nsc=null,Psc=RegExp("'([{}#].*?)'","g"),Qsc=RegExp("''","g");Osc.prototype.format=function(a){return this.format_(a,!1)};
Osc.prototype.format_=function(a,b){if(this.pattern_){this.initialLiterals_=[];var c=Rsc(this,this.pattern_);this.parsedPattern_=Ssc(this,c);this.pattern_=null}if(!this.parsedPattern_||0==this.parsedPattern_.length)return"";this.literals_=ra(this.initialLiterals_);c=[];Tsc(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 Tsc=function(a,b,c,d,e){for(var g=0;g<b.length;g++)switch(b[g].type){case 4:e.push(b[g].value);break;case 3:var h=b[g].value,l=a,q=e,v=c[h];void 0===v?q.push("Undefined parameter - "+h):(l.literals_.push(v),q.push(l.buildPlaceholder_(l.literals_)));break;case 2:h=b[g].value;l=a;q=c;v=d;var y=e,B=h.argumentIndex;void 0===q[B]?y.push("Undefined parameter - "+B):(B=h[q[B]],void 0===B&&(B=h.other),Tsc(l,B,q,v,y));break;case 0:h=b[g].value;Usc(a,h,c,Ksc,d,e);break;case 1:h=b[g].value,Usc(a,h,c,Isc,
d,e)}},Usc=function(a,b,c,d,e,g){var h=b.argumentIndex,l=b.argumentOffset,q=+c[h];isNaN(q)?g.push("Undefined or invalid parameter - "+h):(l=q-l,h=b[c[h]],void 0===h&&(d=d(Math.abs(l)),h=b[d],void 0===h&&(h=b.other)),b=[],Tsc(a,h,c,e,b),c=b.join(""),e?g.push(c):(a=a.numberFormatter_.format(l),g.push(c.replace(/#/g,a))))},Rsc=function(a,b){var c=a.initialLiterals_,d=Ap(a.buildPlaceholder_,a);b=b.replace(Qsc,function(){c.push("'");return d(c)});return b=b.replace(Psc,function(e,g){c.push(g);return d(c)})},
Vsc=function(a){var b=0,c=[],d=[],e=/[{}]/g;e.lastIndex=0;for(var g;g=e.exec(a);){var h=g.index;"}"==g[0]?(c.pop(),0==c.length&&(g={type:1},g.value=a.substring(b,h),d.push(g),b=h+1)):(0==c.length&&(b=a.substring(b,h),""!=b&&d.push({type:0,value:b}),b=h+1),c.push("{"))}b=a.substring(b);""!=b&&d.push({type:0,value:b});return d},Wsc=/^\s*(\w+)\s*,\s*plural\s*,(?:\s*offset:(\d+))?/,Xsc=/^\s*(\w+)\s*,\s*selectordinal\s*,/,Ysc=/^\s*(\w+)\s*,\s*select\s*,/,Ssc=function(a,b){var c=[];b=Vsc(b);for(var d=0;d<
b.length;d++){var e={};if(0==b[d].type)e.type=4,e.value=b[d].value;else if(1==b[d].type){var g=b[d].value;switch(Wsc.test(g)?0:Xsc.test(g)?1:Ysc.test(g)?2:/^\s*\w+\s*/.test(g)?3:5){case 2:e.type=2;e.value=Zsc(a,b[d].value);break;case 0:e.type=0;e.value=$sc(a,b[d].value);break;case 1:e.type=1;e.value=atc(a,b[d].value);break;case 3:e.type=3,e.value=b[d].value}}c.push(e)}return c},Zsc=function(a,b){var c="";b=b.replace(Ysc,function(l,q){c=q;return""});var d={};d.argumentIndex=c;b=Vsc(b);for(var e=0;e<
b.length;){var g=b[e].value;e++;var h;1==b[e].type&&(h=Ssc(a,b[e].value));d[g.replace(/\s/g,"")]=h;e++}return d},$sc=function(a,b){var c="",d=0;b=b.replace(Wsc,function(q,v,y){c=v;y&&(d=parseInt(y,10));return""});var e={};e.argumentIndex=c;e.argumentOffset=d;b=Vsc(b);for(var g=0;g<b.length;){var h=b[g].value;g++;var l;1==b[g].type&&(l=Ssc(a,b[g].value));e[h.replace(/\s*(?:=)?(\w+)\s*/,"$1")]=l;g++}return e},atc=function(a,b){var c="";b=b.replace(Xsc,function(l,q){c=q;return""});var d={};d.argumentIndex=
c;d.argumentOffset=0;b=Vsc(b);for(var e=0;e<b.length;){var g=b[e].value;e++;if(1==b[e].type)var h=Ssc(a,b[e].value);d[g.replace(/\s*(?:=)?(\w+)\s*/,"$1")]=h;e++}return d};Osc.prototype.buildPlaceholder_=function(a){return"\ufddf_"+(a.length-1).toString(10)+"_"};var ctc=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=g3b(b),g=g3b(c),h=g3b(d);a=b*(c+d)?" ":"";var l=c*d?" ":"";b=btc("{COUNT, plural, =0 {}=1 {{TEXT} day}other {{TEXT} days}}",b,e);c=btc("{COUNT, plural, =0 {}=1 {{TEXT} hour}other {{TEXT} hours}}",c,g);d=btc("{COUNT, plural, =0 {}=1 {{TEXT} minute}other {{TEXT} minutes}}",d,h);return b+a+c+l+d},btc=function(a,b,c){return(new Osc(a)).format({COUNT:b,TEXT:c})};var AK=function(a,b){var c=this;this.userPreferencesManager=a;this.timeZonesApi=b;this.cachedFormatters=new WG(100,!0);this.userDatePrefs$=this.userPreferencesManager.dateTimePreferences$;this.userCalendarFormat$=this.userDatePrefs$.pipe(E(function(d){return d.calendarFormat||"MMM d, yyyy"}));this.userTimeFormat$=this.userDatePrefs$.pipe(E(function(d){return d.timeFormat||"hh:mma"}));this.userTimeZone$=this.userDatePrefs$.pipe(pe(function(d){return d.timeZone?c.timeZonesApi.get(d.timeZone):(0,F.of)(void 0)}))};
AK.prototype.format=function(a,b,c){var d=this.cachedFormatters.get(a);void 0===d&&(d=new ez(a),this.cachedFormatters.set(a,d));return b?d.format(c,b):d.format(c)};AK.prototype.formatUserCalendar=function(a){var b=this;return(0,F.combineLatest)([this.userCalendarFormat$,this.userTimeZone$]).pipe(E(function(c){var d=k(c);c=d.next().value;d=d.next().value;return b.format(c,d,a)}))};
AK.prototype.formatUserTime=function(a){var b=this;return(0,F.combineLatest)([this.userTimeFormat$,this.userTimeZone$]).pipe(E(function(c){var d=k(c);c=d.next().value;d=d.next().value;return b.format(c,d,a)}))};
var dtc=function(a,b){return(0,F.combineLatest)([a.userCalendarFormat$,a.userTimeFormat$,a.userTimeZone$]).pipe(E(function(c){var d=k(c);c=d.next().value;var e=d.next().value;d=d.next().value;return a.format(c+" "+e,d,b)}))},etc=function(a,b,c){return c?a.timeZonesApi.get(c).pipe(E(function(d){return a.format("yyyy-MM-dd HH:mm:ss Z",d,b)})):(0,F.of)(a.format("yyyy-MM-dd HH:mm:ss Z",void 0,b))},uNa=function(a,b){var c=void 0;c=void 0===c?0:c;b=void 0===b?!1:b;var d=new Dg;c&&d.setTime(c);c=new Dg;
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 dz("m",a)),e=Math.floor((c.getTime()-d.getTime())/864E5));d=new dz(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"};AK.\u0275fac=function(a){return new (a||AK)(w(TI),w(RI))};AK.\u0275prov=nc({token:AK,factory:AK.\u0275fac,providedIn:"root"});var ftc=[["year",31536E3],["month",2592E3],["week",604800],["day",86400],["hour",3600],["minute",60],["second",1]];var gtc,htc,itc=[{name:"local",id:""},{name:"UTC",id:"UTC"},{name:"MTV",id:"America/Los_Angeles"}],jtc=Symbol("cd"),ktc=Symbol("cd"),BK=function(a){var b=this;this.dateFormatter=a;this.paddingLeftPx=5;this.timestampMs$=new F.ReplaySubject(1);this.timestampIso$=this.timestampMs$.pipe(E(function(c){return c?(new Date(c)).toISOString():""}));this.timestampDate$=this.timestampMs$.pipe(E(function(c){if(void 0!==c)return new Date(c)}));this[gtc]=this.timestampDate$.pipe(pe(function(c){if(void 0===c)return(0,F.of)("");
switch(b.mode){case "date":return b.dateFormatter.formatUserCalendar(c);case "time":return b.dateFormatter.formatUserTime(c);case "datetime":return dtc(b.dateFormatter,c);case "relativepast":a:if(c=Math.floor((new Date).getTime()/1E3-c.getTime()/1E3),300>c)c="just now";else{for(var d=k(ftc),e=d.next();!e.done;e=d.next()){var g=k(e.value);e=g.next().value;g=g.next().value;g=Math.floor(c/g);if(1===g){c=g+" "+e+" ago";break a}if(1<g){c=g+" "+e+"s ago";break a}}c=void 0}return(0,F.of)(c);default:return og(b.mode)}}));
this[htc]=this.timestampDate$.pipe(pe(function(c){return void 0===c?(0,F.of)(""):(0,F.combineLatest)(itc.map(function(d){return etc(b.dateFormatter,c,d.id).pipe(E(function(e){return{formatted:e,tzName:d.name}}))})).pipe(ltc)}));this.vars$=(0,F.combineLatest)([this[jtc],this[ktc]]).pipe(E(function(c){var d=k(c);c=d.next().value;d=d.next().value;return{formatted:c,title:d}}))};BK.prototype.ngOnInit=function(){};
gg.Object.defineProperties(BK.prototype,{timestamp:{configurable:!0,enumerable:!0,set:function(a){var b=this.timestampMs$,c=b.next;a=null!=a?"number"===typeof a?a:"string"===typeof a?Date.parse(a):a instanceof ug?1E3*a.getSeconds():1E3*a.seconds:void 0;a=null==a||isNaN(a)?void 0:a;c.call(b,a)}},date:{configurable:!0,enumerable:!0,set:function(a){a&&this.timestampMs$.next(a.valueOf())}}});gtc=jtc;htc=ktc;BK.\u0275fac=function(a){return new (a||BK)(D(AK))};
BK.\u0275cmp=zc({type:BK,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&&(R(0,HEa,4,8,"ng-container",0),T(1,"async"));a&2&&G("ngIf",U(1,1,b.vars$))},dependencies:[Tu,Zu],encapsulation:2,changeDetection:0});
var ltc=(0,F.pipe)(E(function(a){var b=new Map;a=k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=b.get(c.formatted);d?d.tzNames.push(c.tzName):(d={formatted:c.formatted,tzNames:[c.tzName]},b.set(c.formatted,d))}return Array.from(b.values()).map(function(e){return e.formatted+" ("+e.tzNames.join("/")+")"}).join("\n")}));var CK=function(){};CK.\u0275fac=function(a){return new (a||CK)};CK.\u0275cmp=zc({type:CK,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&&(Ne(),R(0,IEa,1,0,"div",0),R(1,JEa,2,0,"ng-container",1));a&2&&(G("ngIf",!b.isReady),C(1),G("ngIf",b.isReady))},dependencies:[Tu],encapsulation:2});var DK=function(){this.issue=null;this.isDataLoaded=!1};DK.prototype.ngOnChanges=function(){var a;this.assignee=xDa(Ug(null==(a=this.issue)?void 0:a.snapshot[0].assigneeUser)||void 0);this.isDataLoaded=null!==this.issue};DK.\u0275fac=function(a){return new (a||DK)};
DK.\u0275cmp=zc({type:DK,selectors:[["b-issue-assignee-cell"]],inputs:{issue:"issue"},features:[Mc],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),R(1,KEa,2,2,"b-person-hovercard",1),R(2,LEa,1,0,"ng-template",null,2,of),J());if(a&2){var c=Se(3);G("isReady",b.isDataLoaded);C(1);G("ngIf",b.assignee)("ngIfElse",c)}},dependencies:[CK,Tu,qK],encapsulation:2,changeDetection:0});var EK=function(){this.mode="datetime";this.isDataLoaded=!1};EK.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};EK.\u0275fac=function(a){return new (a||EK)};
EK.\u0275cmp=zc({type:EK,selectors:[["b-issue-created-time-cell"]],inputs:{issue:"issue",mode:"mode"},features:[Mc],decls:4,vars:3,consts:[[1,"nowrap",3,"isReady"],[3,"mode","timestamp",4,"ngIf","ngIfElse"],["noData",""],[3,"mode","timestamp"]],template:function(a,b){a&1&&(H(0,"b-async-data-placeholder",0),R(1,MEa,1,2,"b-formatted-date-time",1),J(),R(2,NEa,1,0,"ng-template",null,2,of));if(a&2){var c=Se(3);G("isReady",b.isDataLoaded);C(1);G("ngIf",b.createdTime)("ngIfElse",c)}},dependencies:[CK,Tu,
BK],encapsulation:2,changeDetection:0});var FK=function(){this.issue=null;this.isDataLoaded=!1};FK.prototype.ngOnChanges=function(){var a;this.reporter=xDa(Ug(null==(a=this.issue)?void 0:a.snapshot[0].reporterUser)||void 0);this.isDataLoaded=null!==this.issue};FK.\u0275fac=function(a){return new (a||FK)};
FK.\u0275cmp=zc({type:FK,selectors:[["b-issue-reporter-cell"]],inputs:{issue:"issue"},features:[Mc],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),R(1,OEa,2,2,"b-person-hovercard",1),R(2,PEa,1,0,"ng-template",null,2,of),J());if(a&2){var c=Se(3);G("isReady",b.isDataLoaded);C(1);G("ngIf",b.reporter)("ngIfElse",c)}},dependencies:[CK,Tu,qK],encapsulation:2,changeDetection:0});var GK=function(){this.STATUS_FULL_TEXT=fF;this.STATUS_TERSE=bF;this.issue=null;this.isDataLoaded=!1};GK.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};GK.prototype.convertIssueStatusStrToTag=function(a){return Zh[a]};GK.\u0275fac=function(a){return new (a||GK)};
GK.\u0275cmp=zc({type:GK,selectors:[["b-issue-status-cell"]],inputs:{issue:"issue"},features:[Mc],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),R(1,QEa,2,5,"div",1),R(2,REa,1,0,"ng-template",null,2,of),J());if(a&2){var c=Se(3);G("isReady",b.isDataLoaded);C(1);G("ngIf",b.convertIssueStatusStrToTag(b.status))("ngIfElse",c)}},dependencies:[CK,Tu],encapsulation:2,changeDetection:0});var mtc=0,HK=function(a,b){kE.call(this);var c=this;this.teamsService=b;this.anchorLinkEnabled=!0;this.teamNotAssignedMessage="No team assigned";this.linkFocused=new tu;this.linkBlurred=new tu;this.teamName=this.teamId;this.teamLogoUrl=this.teamDescription="";this.providedTeamId$=new F.ReplaySubject(1);this.teamLinkId="b-team-link-content-"+mtc;this.fetchedTeam$=this.providedTeamId$.pipe(fe(),Zd(function(d){return"0"!==d}),pe(function(d){return ZH(c.teamsService,d)}));this.isTeamFetched$=this.fetchedTeam$.pipe(E(function(){return!0}),
oe(!1));this.fetchedTeam$.pipe(qe(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});mtc++};V(HK,kE);HK.\u0275dir=kE.\u0275dir;f=HK.prototype;f.ngOnInit=function(){};f.ngOnChanges=function(a){a.teamId&&this.providedTeamId$.next(this.teamId)};f.trackClick=function(a){jl(Yl.TEAM_CARD,"click",a,1)};f.manageComponentLink=function(){return rya(this.componentId,"basic")};
f.linkAriaLabelledBy=function(){if(this.labelledById)return this.labelledById+" "+this.teamLinkId};HK.\u0275fac=function(a){return new (a||HK)(D(rp),D(YH))};
HK.\u0275cmp=zc({type:HK,selectors:[["b-team-card"]],inputs:{teamId:"teamId",componentId:"componentId",anchorLinkEnabled:"anchorLinkEnabled",teamNotAssignedMessage:"teamNotAssignedMessage",labelledById:"labelledById"},outputs:{linkFocused:"linkFocused",linkBlurred:"linkBlurred"},features:[xe,Mc],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),K(3,"img",3),H(4,"div",4)(5,"div",5),K(6,"mat-icon",6),S(7),J(),H(8,"div",7),S(9),J()()(),H(10,"p",8),S(11),J(),H(12,"div",9)(13,"a",10),O("click",function(){return b.trackClick("viewTeamSettingsPage")}),H(14,"button",11),S(15,"View team settings"),J()(),H(16,"a",12),O("click",function(){return b.trackClick("viewTeamInMoma")}),H(17,"button",11),S(18,"View team in Moma "),K(19,"mat-icon",13),J()(),R(20,SEa,3,1,"a",14),
J()()());a&2&&(C(3),Ae("src",b.teamLogoUrl,vd),C(4),Te(" Team: ",b.teamName," "),C(2),Te("Team ID: ",b.teamId,""),C(2),Ve(b.teamDescription),C(2),Pe("routerLink","/teams/",b.teamId,"/edit"),C(3),Pe("href","https://moma.corp.google.com/team/",b.teamId,"",vd),C(4),G("ngIf",b.componentId))},dependencies:[Tu,yy,jz,IG],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 ntc=0,IK=function(a){kE.call(this);var b=this;this.teamsService=a;this.anchorLinkEnabled=!0;this.teamNotAssignedMessage="No team assigned";this.providedTeamId$=new F.ReplaySubject(1);this.teamLinkId="b-team-link-content-"+ntc;this.teamName=this.teamId;this.fetchedTeam$=this.providedTeamId$.pipe(fe(),Zd(function(c){return"0"!==c}),pe(function(c){return ZH(b.teamsService,c)}));this.isTeamFetched$=this.fetchedTeam$.pipe(E(function(){return!0}),oe(!1));this.fetchedTeam$.pipe(qe(this.destroyed$)).subscribe(function(c){b.teamName=
c.name});ntc++};V(IK,kE);IK.\u0275dir=kE.\u0275dir;IK.prototype.ngOnInit=function(){};IK.prototype.ngOnChanges=function(a){a.teamId&&this.providedTeamId$.next(this.teamId)};IK.prototype.trackClick=function(a){jl(Yl.TEAM_CARD,"click",a,1)};IK.prototype.linkAriaLabelledBy=function(){if(this.labelledById)return this.labelledById+" "+this.teamLinkId};IK.\u0275fac=function(a){return new (a||IK)(D(YH))};
IK.\u0275cmp=zc({type:IK,selectors:[["b-team-display"]],inputs:{teamId:"teamId",componentId:"componentId",anchorLinkEnabled:"anchorLinkEnabled",teamNotAssignedMessage:"teamNotAssignedMessage",labelledById:"labelledById"},features:[xe,Mc],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&&(R(0,VEa,3,2,"ng-container",0),T(1,"async"),H(2,"onedev-hovercard",null,1),L(4),K(5,"b-team-card",2),M(),J(),R(6,YEa,2,2,"ng-template",null,3,of));if(a&2){var c=Se(7);G("ngIf","0"!=b.teamId&&U(1,4,b.isTeamFetched$))("ngIfElse",c);C(5);G("componentId",
null==b.componentId?null:b.componentId.toString())("teamId",b.teamId.toString())}},dependencies:[Tu,jz,QJ,VJ,HK,Zu]});var JK=function(){this.issue=null;this.componentId=this.teamId="";this.isDataLoaded=!1};JK.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};JK.\u0275fac=function(a){return new (a||JK)};
JK.\u0275cmp=zc({type:JK,selectors:[["b-issue-team-cell"]],inputs:{issue:"issue"},features:[Mc],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),R(1,ZEa,1,3,"b-team-display",1),R(2,$Ea,1,0,"ng-template",null,2,of),J());if(a&2){var c=Se(3);G("isReady",b.isDataLoaded);
C(1);G("ngIf",b.teamId)("ngIfElse",c)}},dependencies:[CK,Tu,IK],encapsulation:2,changeDetection:0});var otc=up(["https://www.gstatic.com/buganizer/gfx/","/",""]),KK=up(["https://www.gstatic.com/buganizer/img/v2/",""]),ptc=Lf(otc,"2023-03-14-05391d2a","all-icons.svg"),qtc=Lf(KK,"empty_blocker_light.png"),rtc=Lf(KK,"empty_blocker_dark.png"),stc=Lf(KK,"empty_child_light.png"),ttc=Lf(KK,"empty_child_dark.png"),utc=Lf(KK,"robot_sleeping.png"),vtc=Lf(KK,"tea_light.png"),wtc=Lf(KK,"tea_dark.png"),xtc=Lf(KK,"space_empty_state.png");var LK=function(a,b,c,d){kE.call(this);var e=this;this.currentTrackerId=a;this.activeSession=b;this.trackerFridge=c;this.errorHandler=d;this.handleTrackerError=function(g){e.errorHandler.errorHandler(null,g)};this.enableTrackersComponentPathTruncation=iE(this.activeSession,"enableTrackersComponentPathTruncation");this.trackerId$=this.currentTrackerId.trackerId$;this.tracker$=this.trackerId$.pipe(pe(function(g){return""===g?(0,F.of)(void 0):e.trackerFridge.watch(g).pipe(oe(void 0))}));this.inTracker$=
this.tracker$.pipe(E(function(g){return!!g}));this.inTracker=!1;this.associatedTrackers$=this.tracker$.pipe(E(function(g){var h;return null!=(h=null==g?void 0:g.associatedTrackerIds)?h:[]}),pe(this.trackerFridge.watchSet));this.availableTrackers$=this.associatedTrackers$.pipe(se(this.tracker$),E(function(g){var h=k(g);g=h.next().value;return(h=h.next().value)?[h].concat(Jc(g)):[]}));this.trackerFridge.error$.pipe(qe(this.destroyed$)).subscribe(this.handleTrackerError);this.tracker$.pipe(qe(this.destroyed$)).subscribe(function(g){e.tracker=
g});this.inTracker$.pipe(qe(this.destroyed$)).subscribe(function(g){e.inTracker=g})};V(LK,kE);LK.\u0275dir=kE.\u0275dir;LK.prototype.getTrackerId=function(){return this.currentTrackerId.getTrackerId()};var ytc=function(a){a=a.getTrackerId();if(""!==a&&"0"!==a)return[a]};LK.prototype.setTrackerId=function(a){this.currentTrackerId.setTrackerId(a)};
var MK=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:ztc(a,b,!0,c.trackerId,d)):a=ztc(a,b,!1,"",d);return a},ztc=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},dp=function(a,b){if(!a.enableTrackersComponentPathTruncation||!b||!a.tracker)return b;var c,
d=null!=(c=b.componentPathId)?c:[],e;b=null!=(e=b.componentPathName)?e:[];a=Number(a.tracker.componentId);a=d.includes(a)?d.indexOf(a):d.length;return{componentPathId:d.slice(a),componentPathName:b.slice(a)}};LK.\u0275fac=function(a){return new (a||LK)(w(lE),w(rp),w(gI),w(ZF))};LK.\u0275prov=nc({token:LK,factory:LK.\u0275fac,providedIn:"root"});var NK=function(a,b){this.activeSession=a;this.currentTracker=b;this.compactMode=!1;this.showHovercard=!0;this.isGlobalBuganizer=!1;this.logoDark=this.logoLight=this.extendedName=this.name=this.redirectUrl=""};
NK.prototype.ngOnChanges=function(a){if(a.tracker||a.isGlobalBuganizer){this.redirectUrl=MK(this.currentTracker,"",this.tracker);this.name=this.getName();this.extendedName=this.isGlobalBuganizer?this.name:"the "+this.name+" Tracker";if(this.isGlobalBuganizer)a="https://www.gstatic.com/buganizer/img/v3/logo_light.svg";else{var b,c;if(null==(b=this.tracker)?0:null==(c=b.branding)?0:c.logoUrl){var d,e,g;a=null!=(g=null==(d=this.tracker)?void 0:null==(e=d.branding)?void 0:e.logoUrl)?g:""}else a="https://www.gstatic.com/buganizer/img/v3/logo_light.svg"}this.logoLight=
a;if(this.isGlobalBuganizer)d="https://www.gstatic.com/buganizer/img/v3/logo_dark.svg";else{var h;d=null!=(h=this.logoLight)?h:""}this.logoDark=d}};NK.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:""};NK.\u0275fac=function(a){return new (a||NK)(D(rp),D(LK))};
NK.\u0275cmp=zc({type:NK,selectors:[["b-tracker-chip"]],inputs:{tracker:"tracker",compactMode:"compactMode",showHovercard:"showHovercard",isGlobalBuganizer:"isGlobalBuganizer"},features:[Mc],decls:1,vars:1,consts:[[4,"ngIf"],[1,"chippy","rounded",3,"onedevHovercardTrigger","onedevHovercardActive"],["alt","",1,"logo","light-only",3,"src"],["alt","",1,"logo","dark-only",3,"src"],[1,"name"],["card","onedevHovercard"],[1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"hovertext"],[1,"flex-kids-y",
"padded-s-top","actions"],["mat-button","","target","_blank",1,"gmat-button","primary",3,"href"],["mat-button","","class","gmat-button primary","href","http://go/chrome-buganizer#trackers","target","_blank",4,"ngIf"],["mat-button","","href","http://go/chrome-buganizer#trackers","target","_blank",1,"gmat-button","primary"]],template:function(a,b){a&1&&R(0,cFa,17,12,"ng-container",0);a&2&&G("ngIf",b.tracker||b.isGlobalBuganizer)},dependencies:[Tu,zy,QJ,VJ],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 OK=function(a,b){var c=this;this.currentTracker=a;this.trackerFridge=b;this.compactMode=!1;this.showHovercard=!0;this.trackerId$=new F.BehaviorSubject("");this.tracker$=this.trackerId$.pipe(Vd(function(d){return yk(d)?(0,F.of)(void 0):c.trackerFridge.watch(d)}));this.isCurrentTracker$=(0,F.combineLatest)([this.currentTracker.trackerId$,this.trackerId$]).pipe(E(function(d){var e=k(d);d=e.next().value;e=e.next().value;return yk(d)?yk(e):d===e}))};
OK.prototype.ngOnChanges=function(a){a.trackerId&&this.trackerId$.next(this.trackerId||"")};gg.Object.defineProperties(OK.prototype,{isGlobalBuganizer:{configurable:!0,enumerable:!0,get:function(){return yk(this.trackerId)}}});OK.\u0275fac=function(a){return new (a||OK)(D(LK),D(gI))};
OK.\u0275cmp=zc({type:OK,selectors:[["b-tracker-chip-smart"]],inputs:{trackerId:"trackerId",compactMode:"compactMode",showHovercard:"showHovercard"},features:[Mc],decls:2,vars:3,consts:[[3,"tracker","compactMode","showHovercard","isGlobalBuganizer",4,"ngIf"],[3,"tracker","compactMode","showHovercard","isGlobalBuganizer"]],template:function(a,b){a&1&&(R(0,dFa,2,6,"b-tracker-chip",0),T(1,"async"));a&2&&G("ngIf",!1===U(1,1,b.isCurrentTracker$))},dependencies:[Tu,NK,Zu],encapsulation:2,changeDetection:0});var PK=function(){this.issue=null;this.useButtonToNavigate=!1;this.anchorTarget=void 0;this.title="";this.isDataLoaded=!1;this.link=""};PK.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:"")};PK.prototype.getIssueUrl=function(a){return this.issueUrlFactory?this.issueUrlFactory(a):Gk(a)};
PK.\u0275fac=function(a){return new (a||PK)};
PK.\u0275cmp=zc({type:PK,selectors:[["b-issue-title-cell"]],hostAttrs:[1,"flex-kids-x","line-clamp-3"],inputs:{issue:"issue",issueUrlFactory:"issueUrlFactory",useButtonToNavigate:"useButtonToNavigate",anchorTarget:"anchorTarget"},features:[Mc],decls:5,vars:5,consts:[[1,"title","title-location","gap-xs",3,"isReady"],[3,"trackerId","compactMode"],[4,"ngIf","ngIfElse"],["useLinkToNavigate",""],[1,"line-clamp-3"],["mat-icon-button","","tabindex","0","title","Open issue in a new tab","aria-label","Open issue",
1,"small","visible-on-row-active",3,"routerLink","target","keydown","click"],["svgIcon","pop-out",1,"icon-s"],[1,"hover-link","line-clamp-3",3,"routerLink","target","keydown","click"]],template:function(a,b){a&1&&(H(0,"b-async-data-placeholder",0),K(1,"b-tracker-chip-smart",1),R(2,eFa,5,3,"ng-container",2),R(3,fFa,2,3,"ng-template",null,3,of),J());if(a&2){var c=Se(4);G("isReady",b.isDataLoaded);C(1);G("trackerId",null==b.issue?null:b.issue.trackerId)("compactMode",!0);C(1);G("ngIf",b.useButtonToNavigate)("ngIfElse",
c)}},dependencies:[CK,Tu,zy,jz,IG,OK],styles:[".title[_ngcontent-%COMP%]{margin-left:4px;padding:7px 0 6px;display:flex;flex-direction:row;align-items:center}a[_ngcontent-%COMP%]{color:inherit}"],changeDetection:0});var QK=function(){this.type=this.issue=null;this.isDataLoaded=!1};QK.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};QK.\u0275fac=function(a){return new (a||QK)};
QK.\u0275cmp=zc({type:QK,selectors:[["b-issue-type-cell"]],inputs:{issue:"issue"},features:[Mc],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),R(1,gFa,3,3,"ng-container",1),R(2,hFa,1,0,"ng-template",null,2,of),J());if(a&2){var c=Se(3);G("isReady",b.isDataLoaded);C(1);G("ngIf",b.type)("ngIfElse",c)}},dependencies:[CK,Tu,BJ],encapsulation:2,changeDetection:0});var Atc=["actionsMenuIconButton"],RK=function(){this.buttonLabel="";this.buttonIcon="more-settings-vertical"};RK.prototype.trackByIndex=function(a){return a};RK.prototype.onAction=function(a,b){return Ld(function(c){if("mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button)return c.return();"action"!==b.type&&"select"!==b.type||b.action(a);Qd(c)})};RK.prototype.ngOnInit=function(){};RK.\u0275fac=function(a){return new (a||RK)};
RK.\u0275cmp=zc({type:RK,selectors:[["b-actions-menu"]],viewQuery:function(a,b){a&1&&jf(Atc,5);if(a&2){var c;hf(c=lf())&&(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&&(R(0,iFa,3,4,"button",0),H(1,"mat-menu",null,1)(3,"div",2),R(4,jFa,2,1,"div",3),R(5,xFa,3,2,"ng-container",4),J()());a&2&&(G("ngIf",0<b.menuItems.length),C(4),G("ngIf",b.header),C(1),G("ngForOf",b.menuItems)("ngForTrackBy",b.trackByIndex))},dependencies:[PA,
NA,OA,Ru,Su,Tu,yy,jz,XA],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}\n/*# sourceMappingURL=actions_menu.css.map */"],changeDetection:0});var SK=function(){};SK.prototype.onClick=function(a,b){Btc(b)&&a.preventDefault()};var Btc=function(a){if(window.getSelection){var b=window.getSelection();if(b&&!b.isCollapsed&&a.contains(b.focusNode))return!0}return!1};SK.\u0275fac=function(a){return new (a||SK)};SK.\u0275dir=Cc({type:SK,selectors:[["","selectionPreventsClick",""]],hostBindings:function(a,b){a&1&&O("click",function(c){return b.onClick(c,c.target)})}});var Ctc=new Hc("CDK_DRAG_PARENT");var Dtc=new Hc("CdkDragHandle"),TK=function(a,b){this.element=a;this._stateChanges=new F.Subject;this._disabled=!1;this._parentDrag=b};TK.prototype.ngOnDestroy=function(){this._stateChanges.complete()};gg.Object.defineProperties(TK.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=Ef(a);this._stateChanges.next(this)}}});TK.\u0275fac=function(a){return new (a||TK)(D(fd),D(Ctc,12))};
TK.\u0275dir=Cc({type:TK,selectors:[["","cdkDragHandle",""]],hostAttrs:[1,"cdk-drag-handle"],inputs:{disabled:["cdkDragHandleDisabled","disabled"]},standalone:!0,features:[Xe([{provide:Dtc,useExisting:TK}])]});var Etc=new Hc("CdkDragPlaceholder");var Ftc=new Hc("CdkDragPreview"),UK=function(a){this.templateRef=a;this._matchSize=!1};gg.Object.defineProperties(UK.prototype,{matchSize:{configurable:!0,enumerable:!0,get:function(){return this._matchSize},set:function(a){this._matchSize=Ef(a)}}});UK.\u0275fac=function(a){return new (a||UK)(D(ef))};UK.\u0275dir=Cc({type:UK,selectors:[["ng-template","cdkDragPreview",""]],inputs:{data:"data",matchSize:"matchSize"},standalone:!0,features:[Xe([{provide:Ftc,useExisting:UK}])]});var Gtc=new Hc("CDK_DRAG_CONFIG");var Htc=Cf({passive:!1,capture:!0}),VK=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 F.Subject;this.pointerUp=new F.Subject;this.scroll=new F.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},Itc=function(a,b){a._dropInstances.has(b)||a._dropInstances.add(b)},Jtc=function(a,b){a._dragInstances.add(b);1===a._dragInstances.size&&a._ngZone.runOutsideAngular(function(){a._document.addEventListener("touchmove",a._persistentTouchmoveListener,Htc)})},Ltc=function(a,b){a._dragInstances.delete(b);Ktc(a,b);0===a._dragInstances.size&&a._document.removeEventListener("touchmove",a._persistentTouchmoveListener,
Htc)};
VK.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:Htc}),a||this._globalListeners.set("mousemove",{handler:function(d){return c.pointerMove.next(d)},
options:Htc}),this._ngZone.runOutsideAngular(function(){c._globalListeners.forEach(function(d,e){c._document.addEventListener(e,d.handler,d.options)})})))};var Ktc=function(a,b){b=a._activeDragInstances.indexOf(b);-1<b&&(a._activeDragInstances.splice(b,1),0===a._activeDragInstances.length&&a._clearGlobalListeners())};VK.prototype.isDragging=function(a){return-1<this._activeDragInstances.indexOf(a)};
VK.prototype.scrolled=function(a){var b=this,c=[this.scroll];a&&a!==this._document&&c.push(new F.Observable(function(d){return b._ngZone.runOutsideAngular(function(){var e=function(g){b._activeDragInstances.length&&d.next(g)};a.addEventListener("scroll",e,!0);return function(){a.removeEventListener("scroll",e,!0)}})}));return F.merge.apply(null,Jc(c))};
VK.prototype.ngOnDestroy=function(){var a=this;this._dragInstances.forEach(function(b){return Ltc(a,b)});this._dropInstances.forEach(function(b){a._dropInstances.delete(b)});this._clearGlobalListeners();this.pointerMove.complete();this.pointerUp.complete()};VK.prototype._clearGlobalListeners=function(){var a=this;this._globalListeners.forEach(function(b,c){a._document.removeEventListener(c,b.handler,b.options)});this._globalListeners.clear()};VK.\u0275fac=function(a){return new (a||VK)(w(te),w(eg))};
VK.\u0275prov=nc({token:VK,factory:VK.\u0275fac,providedIn:"root"});var GFa=0;var Mtc=function(a){this._document=a;this.positions=new Map};Mtc.prototype.clear=function(){this.positions.clear()};Mtc.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:yFa(c)})})};
var Ntc=function(a,b){var c=Df(b);b=a.positions.get(c);if(!b)return null;b=b.scrollPosition;if(c===a._document){var d=a.getViewportScrollPosition();var e=d.top;d=d.left}else e=c.scrollTop,d=c.scrollLeft;var g=b.top-e,h=b.left-d;a.positions.forEach(function(l,q){l.clientRect&&c!==q&&c.contains(q)&&AFa(l.clientRect,g,h)});b.top=e;b.left=d;return{top:g,left:h}};Mtc.prototype.getViewportScrollPosition=function(){return{top:window.scrollY,left:window.scrollX}};var Otc=Cf({passive:!0}),Ptc=Cf({passive:!1}),IFa=new Set(["position"]),Stc=function(a,b,c,d,e,g){var h=this;this._config=b;this._document=c;this._ngZone=d;this._viewportRuler=e;this._dragDropRegistry=g;this._passiveTransform={x:0,y:0};this._activeTransform={x:0,y:0};this._hasStartedDragging=!1;this._moveEvents=new F.Subject;this._resizeSubscription=this._scrollSubscription=this._pointerUpSubscription=this._pointerMoveSubscription=F.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 F.Subject;this.started=new F.Subject;this.released=new F.Subject;this.ended=new F.Subject;this.entered=new F.Subject;this.exited=new F.Subject;this.dropped=new F.Subject;this.moved=this._moveEvents;this._pointerDown=function(l){h.beforeStarted.next();if(h._handles.length){var q=h._getTargetHandle(l);!q||h._disabledHandles.has(q)||h.disabled||h._initializeDragSequence(q,
l)}else h.disabled||h._initializeDragSequence(h._rootElement,l)};this._pointerMove=function(l){var q=h._getPointerPositionOnPage(l);if(h._hasStartedDragging){l.preventDefault();var v=h._getConstrainedPointerPosition(q);h._hasMoved=!0;h._lastKnownPointerPosition=q;h._updatePointerDirectionDelta(v);if(h._dropContainer)h._updateActiveDropContainer(v,q);else{q=h.constrainPosition?h._initialClientRect:h._pickupPositionOnPage;var y=h._activeTransform;y.x=v.x-q.x+h._passiveTransform.x;y.y=v.y-q.y+h._passiveTransform.y;
h._applyRootElementTransform(y.x,y.y)}h._moveEvents.observers.length&&h._ngZone.run(function(){h._moveEvents.next({source:h,pointerPosition:v,event:l,distance:h._getDragDistance(v),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(l),y=h._dropContainer,q)?y&&(y.isDragging()||0<y._activeSiblings.size)||(l.preventDefault(),h._hasStartedDragging=!0,
h._ngZone.run(function(){return h._startDragSequence(l)})):h._endDragSequence(l))};this._pointerUp=function(l){h._endDragSequence(l)};this._nativeDragStart=function(l){if(h._handles.length){var q=h._getTargetHandle(l);!q||h._disabledHandles.has(q)||h.disabled||l.preventDefault()}else h.disabled||l.preventDefault()};Qtc(Rtc(this,a),b.parentDragRef||null);this._parentPositions=new Mtc(c);Jtc(g,this)};Stc.prototype.getPlaceholderElement=function(){return this._placeholder};
Stc.prototype.getRootElement=function(){return this._rootElement};
var Ttc=function(a){return a.isDragging()?a.getPlaceholderElement():a.getRootElement()},Utc=function(a,b){a._handles=b.map(function(d){return Gf(d)});a._handles.forEach(function(d){return El(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},Rtc=function(a,b){var c=Gf(b);c!==a._rootElement&&(a._rootElement&&a._removeRootElementListeners(a._rootElement),a._ngZone.runOutsideAngular(function(){c.addEventListener("mousedown",
a._pointerDown,Ptc);c.addEventListener("touchstart",a._pointerDown,Otc);c.addEventListener("dragstart",a._nativeDragStart,Ptc)}),a._initialTransform=void 0,a._rootElement=c);"undefined"!==typeof SVGElement&&a._rootElement instanceof SVGElement&&(a._ownerSVGElement=a._rootElement.ownerSVGElement);return a},Vtc=function(a,b){a._boundaryElement=b?Gf(b):null;a._resizeSubscription.unsubscribe();b&&(a._resizeSubscription=a._viewportRuler.change(10).subscribe(function(){return a._containInsideBoundaryOnResize()}));
return a},Qtc=function(a,b){a._parentDragRef=b};f=Stc.prototype;
f.dispose=function(){this._removeRootElementListeners(this._rootElement);if(this.isDragging()){var a;null==(a=this._rootElement)||a.remove()}var b;null==(b=this._anchor)||b.remove();this._destroyPreview();this._destroyPlaceholder();Ltc(this._dragDropRegistry,this);this._removeSubscriptions();this.beforeStarted.complete();this.started.complete();this.released.complete();this.ended.complete();this.entered.complete();this.exited.complete();this.dropped.complete();this._moveEvents.complete();this._handles=
[];this._disabledHandles.clear();this._dropContainer=void 0;this._resizeSubscription.unsubscribe();this._parentPositions.clear();this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=this._parentDragRef=null};f.isDragging=function(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)};
f.reset=function(){this._rootElement.style.transform=this._initialTransform||"";this._activeTransform={x:0,y:0};this._passiveTransform={x:0,y:0}};f.withDirection=function(a){this._direction=a;return this};f._withDropContainer=function(a){this._dropContainer=a};f.setFreeDragPosition=function(a){this._activeTransform={x:0,y:0};this._passiveTransform.x=a.x;this._passiveTransform.y=a.y;this._dropContainer||this._applyRootElementTransform(a.x,a.y)};
f._sortFromLastPointerPosition=function(){var a=this._lastKnownPointerPosition;a&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(a),a)};f._removeSubscriptions=function(){this._pointerMoveSubscription.unsubscribe();this._pointerUpSubscription.unsubscribe();this._scrollSubscription.unsubscribe()};f._destroyPreview=function(){var a;null==(a=this._preview)||a.remove();var b;null==(b=this._previewRef)||b.destroy();this._preview=this._previewRef=null};
f._destroyPlaceholder=function(){var a;null==(a=this._placeholder)||a.remove();var b;null==(b=this._placeholderRef)||b.destroy();this._placeholder=this._placeholderRef=null};
f._endDragSequence=function(a){var b=this;if(this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),Ktc(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();
Ktc(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();Ktc(this._dragDropRegistry,this)}};
f._startDragSequence=function(a){PFa(a)&&(this._lastTouchEventTime=Date.now());this._toggleNativeDragInteractions();var b=this._dropContainer;if(b){var c=this._rootElement,d=c.parentNode,e=this._placeholder=this._createPlaceholderElement(),g=this._anchor=this._anchor||this._document.createComment(""),h=this._getShadowRoot();d.insertBefore(g,c);this._initialTransform=c.style.transform||"";this._preview=this._createPreviewElement();JFa(c,!1);this._document.body.appendChild(d.replaceChild(e,c));this._getPreviewInsertionPoint(d,
h).appendChild(this._preview);this.started.next({source:this,event:a});b.start();this._initialContainer=b;this._initialIndex=b.getItemIndex(this)}else this.started.next({source:this,event:a}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(b?b._scrollableElements:[])};
f._initializeDragSequence=function(a,b){var c=this;this._parentDragRef&&b.stopPropagation();var d=this.isDragging(),e=PFa(b),g=!e&&0!==b.button,h=this._rootElement,l=Df(b),q=!e&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now();e=e?uoa(b):toa(b);l&&l.draggable&&"mousedown"===b.type&&b.preventDefault();d||g||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(v){return c._updateOnScroll(v)}),this._boundaryElement&&(this._boundaryRect=yFa(this._boundaryElement)),this._pickupPositionInElement=
(d=this._previewTemplate)&&d.template&&!d.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialClientRect,a,b),a=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(b),this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:a.x,y:a.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,b))};
f._cleanupDragArtifacts=function(a){var b=this;JFa(this._rootElement,!0);this._anchor.parentNode.replaceChild(this._rootElement,this._anchor);this._destroyPreview();this._destroyPlaceholder();this._initialClientRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0;this._ngZone.run(function(){var c=b._dropContainer,d=c.getItemIndex(b),e=b._getPointerPositionOnPage(a),g=b._getDragDistance(e),h=c._isOverContainer(e.x,e.y);b.ended.next({source:b,distance:g,dropPoint:e,event:a});b.dropped.next({item:b,
currentIndex:d,previousIndex:b._initialIndex,container:c,previousContainer:b._initialContainer,isPointerOverContainer:h,distance:g,dropPoint:e,event:a});c.drop(b,d,b._initialIndex,b._initialContainer,h,g,e,a);b._dropContainer=b._initialContainer})};
f._updateActiveDropContainer=function(a,b){var c=this,d=a.x,e=a.y;a=b.x;b=b.y;var g=this._initialContainer._getSiblingContainerFromPosition(this,d,e);!g&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(d,e)&&(g=this._initialContainer);g&&g!==this._dropContainer&&this._ngZone.run(function(){c.exited.next({item:c,container:c._dropContainer});c._dropContainer.exit(c);c._dropContainer=g;c._dropContainer.enter(c,d,e,g===c._initialContainer&&g.sortingDisabled?c._initialIndex:
void 0);c.entered.next({item:c,container:g,currentIndex:g.getItemIndex(c)})});this.isDragging()&&(this._dropContainer._startScrollingIfNecessary(a,b),this._dropContainer._sortItem(this,d,e,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(d,e):this._applyPreviewTransform(d-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y))};
f._createPreviewElement=function(){var a=this._previewTemplate,b=this.previewClass,c=a?a.template:null;if(c&&a){var d=a.matchSize?this._initialClientRect:null;c=a.viewContainer.createEmbeddedView(c,a.context);c.detectChanges();var e=QFa(c,this._document);this._previewRef=c;a.matchSize?RFa(e,d):e.style.transform=OFa(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else e=FFa(this._rootElement),RFa(e,this._initialClientRect),this._initialTransform&&(e.style.transform=this._initialTransform);
HFa(e.style,{"pointer-events":"none",margin:"0",position:"fixed",top:"0",left:"0","z-index":""+(this._config.zIndex||1E3)},IFa);El(e,!1);e.classList.add("cdk-drag-preview");e.setAttribute("dir",this._direction);b&&(Array.isArray(b)?b.forEach(function(g){return e.classList.add(g)}):e.classList.add(b));return e};
f._animatePreviewToPlaceholder=function(){var a=this;if(!this._hasMoved)return Promise.resolve();var b=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating");this._applyPreviewTransform(b.left,b.top);var c=NFa(this._preview);return 0===c?Promise.resolve():this._ngZone.runOutsideAngular(function(){return new Promise(function(d){var e=function(h){if(!h||Df(h)===a._preview&&"transform"===h.propertyName){var l;null==(l=a._preview)||l.removeEventListener("transitionend",
e);d();clearTimeout(g)}},g=setTimeout(e,1.5*c);a._preview.addEventListener("transitionend",e)})})};f._createPlaceholderElement=function(){var a=this._placeholderTemplate,b=a?a.template:null;b?(this._placeholderRef=a.viewContainer.createEmbeddedView(b,a.context),this._placeholderRef.detectChanges(),a=QFa(this._placeholderRef,this._document)):a=FFa(this._rootElement);a.style.pointerEvents="none";a.classList.add("cdk-drag-placeholder");return a};
f._getPointerPositionInElement=function(a,b,c){b=(b=b===this._rootElement?null:b)?b.getBoundingClientRect():a;c=PFa(c)?c.targetTouches[0]:c;var d=this._getViewportScrollPosition();return{x:b.left-a.left+(c.pageX-b.left-d.left),y:b.top-a.top+(c.pageY-b.top-d.top)}};
f._getPointerPositionOnPage=function(a){var b=this._getViewportScrollPosition(),c=PFa(a)?a.touches[0]||a.changedTouches[0]||{pageX:0,pageY:0}:a;a=c.pageX-b.left;b=c.pageY-b.top;if(this._ownerSVGElement&&(c=this._ownerSVGElement.getScreenCTM())){var d=this._ownerSVGElement.createSVGPoint();d.x=a;d.y=b;return d.matrixTransform(c.inverse())}return{x:a,y:b}};
f._getConstrainedPointerPosition=function(a){var b=this._dropContainer?this._dropContainer.lockAxis:null,c=this.constrainPosition?this.constrainPosition(a,this,this._initialClientRect,this._pickupPositionInElement):a;a=c.x;c=c.y;if("x"===this.lockAxis||"x"===b)c=this._pickupPositionOnPage.y;else if("y"===this.lockAxis||"y"===b)a=this._pickupPositionOnPage.x;if(this._boundaryRect){var d=this._pickupPositionInElement;b=d.x;var e=d.y;d=this._boundaryRect;var g=this._getPreviewRect(),h=d.top+e;e=d.bottom-
(g.height-e);a=Math.max(d.left+b,Math.min(d.right-(g.width-b),a));c=Math.max(h,Math.min(e,c))}return{x:a,y:c}};f._updatePointerDirectionDelta=function(a){var b=a.x;a=a.y;var c=this._pointerDirectionDelta,d=this._pointerPositionAtLastDirectionChange,e=Math.abs(a-d.y);Math.abs(b-d.x)>this._config.pointerDirectionChangeThreshold&&(c.x=b>d.x?1:-1,d.x=b);e>this._config.pointerDirectionChangeThreshold&&(c.y=a>d.y?1:-1,d.y=a);return c};
f._toggleNativeDragInteractions=function(){if(this._rootElement&&this._handles){var a=0<this._handles.length||!this.isDragging();a!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=a,El(this._rootElement,a))}};f._removeRootElementListeners=function(a){a.removeEventListener("mousedown",this._pointerDown,Ptc);a.removeEventListener("touchstart",this._pointerDown,Otc);a.removeEventListener("dragstart",this._nativeDragStart,Ptc)};
f._applyRootElementTransform=function(a,b){a=OFa(a,b);b=this._rootElement.style;null==this._initialTransform&&(this._initialTransform=b.transform&&"none"!=b.transform?b.transform:"");b.transform=KFa(a,this._initialTransform)};f._applyPreviewTransform=function(a,b){var c,d=(null==(c=this._previewTemplate)?0:c.template)?void 0:this._initialTransform;this._preview.style.transform=KFa(OFa(a,b),d)};f._getDragDistance=function(a){var b=this._pickupPositionOnPage;return b?{x:a.x-b.x,y:a.y-b.y}:{x:0,y:0}};
f._cleanupCachedDimensions=function(){this._boundaryRect=this._previewRect=void 0;this._parentPositions.clear()};
f._containInsideBoundaryOnResize=function(){var a=this._passiveTransform,b=a.x;a=a.y;if(!(0===b&&0===a||this.isDragging())&&this._boundaryElement){var c=this._rootElement.getBoundingClientRect(),d=this._boundaryElement.getBoundingClientRect();if(!(0===d.width&&0===d.height||0===c.width&&0===c.height)){var e=d.left-c.left,g=c.right-d.right,h=d.top-c.top,l=c.bottom-d.bottom;d.width>c.width?(0<e&&(b+=e),0<g&&(b-=g)):b=0;d.height>c.height?(0<h&&(a+=h),0<l&&(a-=l)):a=0;b===this._passiveTransform.x&&a===
this._passiveTransform.y||this.setFreeDragPosition({y:a,x:b})}}};f._getDragStartDelay=function(a){var b=this.dragStartDelay;return"number"===typeof b?b:PFa(a)?b.touch:b?b.mouse:0};
f._updateOnScroll=function(a){var b=Ntc(this._parentPositions,a);b&&(a=Df(a),this._boundaryRect&&a!==this._boundaryElement&&a.contains(this._boundaryElement)&&AFa(this._boundaryRect,b.top,b.left),this._pickupPositionOnPage.x+=b.left,this._pickupPositionOnPage.y+=b.top,this._dropContainer||(this._activeTransform.x-=b.left,this._activeTransform.y-=b.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y)))};
f._getViewportScrollPosition=function(){var a;return(null==(a=this._parentPositions.positions.get(this._document))?void 0:a.scrollPosition)||this._parentPositions.getViewportScrollPosition()};f._getShadowRoot=function(){void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=moa(this._rootElement));return this._cachedShadowRoot};
f._getPreviewInsertionPoint=function(a,b){var c=this._previewContainer||"global";return"parent"===c?a:"global"===c?(a=this._document,b||a.fullscreenElement||a.webkitFullscreenElement||a.mozFullScreenElement||a.msFullscreenElement||a.body):Gf(c)};f._getPreviewRect=function(){this._previewRect&&(this._previewRect.width||this._previewRect.height)||(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialClientRect);return this._previewRect};
f._getTargetHandle=function(a){return this._handles.find(function(b){return a.target&&(a.target===b||b.contains(a.target))})};gg.Object.defineProperties(Stc.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)},set:function(a){var b=Ef(a);b!==this._disabled&&(this._disabled=b,this._toggleNativeDragInteractions(),this._handles.forEach(function(c){return El(c,b)}))}}});var WK=function(a,b){this._element=a;this._dragDropRegistry=b;this._itemPositions=[];this.orientation="vertical";this._previousSwap={drag:null,delta:0,overlaps:!1}};WK.prototype.start=function(a){this.withItems(a)};
WK.prototype.sort=function(a,b,c,d){var e=this._itemPositions,g=this._getItemIndexFromPointerPosition(a,b,c,d);if(-1===g&&0<e.length)return null;var h="horizontal"===this.orientation,l=e.findIndex(function(Q){return Q.drag===a}),q=e[g],v=q.clientRect,y=l>g?1:-1,B=this._getItemOffsetPx(e[l].clientRect,v,y),I=this._getSiblingOffsetPx(l,e,y),N=e.slice();Fl(e,l,g);e.forEach(function(Q,Z){if(N[Z]!==Q){var Y=Q.drag===a;Z=Y?B:I;Y=Y?a.getPlaceholderElement():Q.drag.getRootElement();Q.offset+=Z;h?(Y.style.transform=
KFa("translate3d("+Math.round(Q.offset)+"px, 0, 0)",Q.initialTransform),AFa(Q.clientRect,0,Z)):(Y.style.transform=KFa("translate3d(0, "+Math.round(Q.offset)+"px, 0)",Q.initialTransform),AFa(Q.clientRect,Z,0))}});this._previousSwap.overlaps=zFa(v,b,c);this._previousSwap.drag=q.drag;this._previousSwap.delta=h?d.x:d.y;return{previousIndex:l,currentIndex:g}};
WK.prototype.enter=function(a,b,c,d){d=null==d||0>d?this._getItemIndexFromPointerPosition(a,b,c):d;var e=this._activeDraggables,g=e.indexOf(a),h=a.getPlaceholderElement(),l=e[d];l===a&&(l=e[d+1]);!l&&(null==d||-1===d||d<e.length-1)&&this._shouldEnterAsFirstChild(b,c)&&(l=e[0]);-1<g&&e.splice(g,1);l&&!this._dragDropRegistry.isDragging(l)?(b=l.getRootElement(),b.parentElement.insertBefore(h,b),e.splice(d,0,a)):(Gf(this._element).appendChild(h),e.push(a));h.style.transform="";this._cacheItemPositions()};
WK.prototype.withItems=function(a){this._activeDraggables=a.slice();this._cacheItemPositions()};var Wtc=function(a,b){a._sortPredicate=b};
WK.prototype.reset=function(){var a=this;this._activeDraggables.forEach(function(b){var c=b.getRootElement();if(c){var d,e=null==(d=a._itemPositions.find(function(g){return g.drag===b}))?void 0:d.initialTransform;c.style.transform=e||""}});this._itemPositions=[];this._activeDraggables=[];this._previousSwap.drag=null;this._previousSwap.delta=0;this._previousSwap.overlaps=!1};
WK.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 Xtc=function(a,b,c){a._itemPositions.forEach(function(d){AFa(d.clientRect,b,c)});a._itemPositions.forEach(function(d){d=d.drag;a._dragDropRegistry.isDragging(d)&&d._sortFromLastPointerPosition()})};f=WK.prototype;
f._cacheItemPositions=function(){var a="horizontal"===this.orientation;this._itemPositions=this._activeDraggables.map(function(b){var c=Ttc(b);return{drag:b,offset:0,initialTransform:c.style.transform||"",clientRect:yFa(c)}}).sort(function(b,c){return a?b.clientRect.left-c.clientRect.left:b.clientRect.top-c.clientRect.top})};f._getItemOffsetPx=function(a,b,c){var d="horizontal"===this.orientation,e=d?b.left-a.left:b.top-a.top;-1===c&&(e+=d?b.width-a.width:b.height-a.height);return e};
f._getSiblingOffsetPx=function(a,b,c){var d="horizontal"===this.orientation,e=b[a].clientRect;a=b[a+-1*c];b=e[d?"width":"height"]*c;if(a){var g=d?"left":"top";d=d?"right":"bottom";b=-1===c?b-(a.clientRect[g]-e[d]):b+(e[g]-a.clientRect[d])}return b};
f._shouldEnterAsFirstChild=function(a,b){if(!this._activeDraggables.length)return!1;var c=this._itemPositions,d="horizontal"===this.orientation;if(c[0].drag!==this._activeDraggables[0])return c=c[c.length-1].clientRect,d?a>=c.right:b>=c.bottom;c=c[0].clientRect;return d?a<=c.left:b<=c.top};
f._getItemIndexFromPointerPosition=function(a,b,c,d){var e=this,g="horizontal"===this.orientation,h=this._itemPositions.findIndex(function(l){var q=l.drag;l=l.clientRect;if(q===a)return!1;if(d){var v=g?d.x:d.y;if(q===e._previousSwap.drag&&e._previousSwap.overlaps&&v===e._previousSwap.delta)return!1}return g?b>=Math.floor(l.left)&&b<Math.floor(l.right):c>=Math.floor(l.top)&&c<Math.floor(l.bottom)});return-1!==h&&this._sortPredicate(h,a)?h:-1};var Ztc=function(a,b,c,d,e){var g=this;this._dragDropRegistry=b;this._ngZone=d;this._viewportRuler=e;this.autoScrollDisabled=this.sortingDisabled=this.disabled=!1;this.autoScrollStep=2;this.enterPredicate=function(){return!0};this.sortPredicate=function(){return!0};this.beforeStarted=new F.Subject;this.entered=new F.Subject;this.exited=new F.Subject;this.dropped=new F.Subject;this.sorted=new F.Subject;this.receivingStarted=new F.Subject;this.receivingStopped=new F.Subject;this._isDragging=!1;this._draggables=
[];this._siblings=[];this._activeSiblings=new Set;this._viewportScrollSubscription=F.Subscription.EMPTY;this._horizontalScrollDirection=this._verticalScrollDirection=0;this._stopScrollTimers=new F.Subject;this._cachedShadowRoot=null;this._startScrollInterval=function(){g._stopScrolling();(0,F.interval)(0,F.animationFrameScheduler).pipe(qe(g._stopScrollTimers)).subscribe(function(){var h=g._scrollNode,l=g.autoScrollStep;1===g._verticalScrollDirection?h.scrollBy(0,-l):2===g._verticalScrollDirection&&
h.scrollBy(0,l);1===g._horizontalScrollDirection?h.scrollBy(-l,0):2===g._horizontalScrollDirection&&h.scrollBy(l,0)})};this.element=Gf(a);this._document=c;Ytc(this,[this.element]);Itc(b,this);this._parentPositions=new Mtc(c);this._sortStrategy=new WK(this.element,b);Wtc(this._sortStrategy,function(h,l){return g.sortPredicate(h,l,g)})};f=Ztc.prototype;
f.dispose=function(){this._stopScrolling();this._stopScrollTimers.complete();this._viewportScrollSubscription.unsubscribe();this.beforeStarted.complete();this.entered.complete();this.exited.complete();this.dropped.complete();this.sorted.complete();this.receivingStarted.complete();this.receivingStopped.complete();this._activeSiblings.clear();this._scrollNode=null;this._parentPositions.clear();this._dragDropRegistry._dropInstances.delete(this)};f.isDragging=function(){return this._isDragging};
f.start=function(){this._draggingStarted();this._notifyReceivingSiblings()};f.enter=function(a,b,c,d){this._draggingStarted();null==d&&this.sortingDisabled&&(d=this._draggables.indexOf(a));this._sortStrategy.enter(a,b,c,d);this._cacheParentPositions();this._notifyReceivingSiblings();this.entered.next({item:a,container:this,currentIndex:this.getItemIndex(a)})};f.exit=function(a){this._reset();this.exited.next({item:a,container:this})};
f.drop=function(a,b,c,d,e,g,h,l){l=void 0===l?{}:l;this._reset();this.dropped.next({item:a,currentIndex:b,previousIndex:c,container:this,previousContainer:d,isPointerOverContainer:e,distance:g,dropPoint:h,event:l})};f.withItems=function(a){var b=this,c=this._draggables;this._draggables=a;a.forEach(function(d){return d._withDropContainer(b)});this.isDragging()&&(c.filter(function(d){return d.isDragging()}).every(function(d){return-1===a.indexOf(d)})?this._reset():this._sortStrategy.withItems(this._draggables))};
f.withDirection=function(a){this._sortStrategy.direction=a;return this};f.connectedTo=function(a){this._siblings=a.slice();return this};var $tc=function(a,b){a._sortStrategy.orientation=b},Ytc=function(a,b){var c=Gf(a.element);a._scrollableElements=-1===b.indexOf(c)?[c].concat(Jc(b)):b.slice()};f=Ztc.prototype;f.getItemIndex=function(a){return this._isDragging?this._sortStrategy.getItemIndex(a):this._draggables.indexOf(a)};
f._sortItem=function(a,b,c,d){!this.sortingDisabled&&this._clientRect&&BFa(this._clientRect,b,c)&&(b=this._sortStrategy.sort(a,b,c,d))&&this.sorted.next({previousIndex:b.previousIndex,currentIndex:b.currentIndex,container:this,item:a})};
f._startScrollingIfNecessary=function(a,b){var c=this;if(!this.autoScrollDisabled){var d=0,e=0;this._parentPositions.positions.forEach(function(q,v){if(v!==c._document&&q.clientRect&&!l&&BFa(q.clientRect,a,b)){var y=q.clientRect;q=SFa(y,b);y=TFa(y,a);var B=0,I=0;if(q){var N=v.scrollTop;1===q?0<N&&(B=1):v.scrollHeight-N>v.clientHeight&&(B=2)}y&&(q=v.scrollLeft,1===y?0<q&&(I=1):v.scrollWidth-q>v.clientWidth&&(I=2));q=k([B,I]);d=q.next().value;e=q.next().value;if(d||e)l=v}});if(!d&&!e){var g=this._viewportRuler.getViewportSize(),
h=g.width;g=g.height;h={width:h,height:g,top:0,right:h,bottom:g,left:0};d=SFa(h,b);e=TFa(h,a);var l=window}!l||d===this._verticalScrollDirection&&e===this._horizontalScrollDirection&&l===this._scrollNode||(this._verticalScrollDirection=d,this._horizontalScrollDirection=e,this._scrollNode=l,(d||e)&&l?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}};f._stopScrolling=function(){this._stopScrollTimers.next()};
f._draggingStarted=function(){var a=Gf(this.element).style;this.beforeStarted.next();this._isDragging=!0;this._initialScrollSnap=a.msScrollSnapType||a.scrollSnapType||"";a.scrollSnapType=a.msScrollSnapType="none";this._sortStrategy.start(this._draggables);this._cacheParentPositions();this._viewportScrollSubscription.unsubscribe();this._listenToScrollEvents()};f._cacheParentPositions=function(){var a=Gf(this.element);this._parentPositions.cache(this._scrollableElements);this._clientRect=this._parentPositions.positions.get(a).clientRect};
f._reset=function(){var a=this;this._isDragging=!1;var b=Gf(this.element).style;b.scrollSnapType=b.msScrollSnapType=this._initialScrollSnap;this._siblings.forEach(function(c){return c._stopReceiving(a)});this._sortStrategy.reset();this._stopScrolling();this._viewportScrollSubscription.unsubscribe();this._parentPositions.clear()};f._isOverContainer=function(a,b){return null!=this._clientRect&&zFa(this._clientRect,a,b)};
f._getSiblingContainerFromPosition=function(a,b,c){return this._siblings.find(function(d){return d._canReceive(a,b,c)})};f._canReceive=function(a,b,c){if(!this._clientRect||!zFa(this._clientRect,b,c)||!this.enterPredicate(a,this))return!1;a=this._getShadowRoot().elementFromPoint(b,c);if(!a)return!1;b=Gf(this.element);return a===b||b.contains(a)};
f._startReceiving=function(a,b){var c=this,d=this._activeSiblings;!d.has(a)&&b.every(function(e){return c.enterPredicate(e,c)||-1<c._draggables.indexOf(e)})&&(d.add(a),this._cacheParentPositions(),this._listenToScrollEvents(),this.receivingStarted.next({initiator:a,receiver:this,items:b}))};f._stopReceiving=function(a){this._activeSiblings.delete(a);this._viewportScrollSubscription.unsubscribe();this.receivingStopped.next({initiator:a,receiver:this})};
f._listenToScrollEvents=function(){var a=this;this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(function(b){a.isDragging()?(b=Ntc(a._parentPositions,b))&&Xtc(a._sortStrategy,b.top,b.left):0<a._activeSiblings.size&&a._cacheParentPositions()})};f._getShadowRoot=function(){this._cachedShadowRoot||(this._cachedShadowRoot=moa(Gf(this.element))||this._document);return this._cachedShadowRoot};
f._notifyReceivingSiblings=function(){var a=this,b=this._sortStrategy._activeDraggables.filter(function(c){return c.isDragging()});this._siblings.forEach(function(c){return c._startReceiving(a,b)})};var auc={dragStartThreshold:5,pointerDirectionChangeThreshold:5},XK=function(a,b,c,d){this._document=a;this._ngZone=b;this._viewportRuler=c;this._dragDropRegistry=d};XK.prototype.createDrag=function(a,b){b=void 0===b?auc:b;return new Stc(a,b,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)};XK.\u0275fac=function(a){return new (a||XK)(w(eg),w(te),w(Ax),w(VK))};XK.\u0275prov=nc({token:XK,factory:XK.\u0275fac,providedIn:"root"});var buc=new Hc("CdkDropList"),YK=function(a,b,c,d,e,g,h,l,q,v,y){var B=this;this.element=a;this.dropContainer=b;this._ngZone=d;this._viewContainerRef=e;this._dir=h;this._changeDetectorRef=q;this._selfHandle=v;this._parentDrag=y;this._destroyed=new F.Subject;this.started=new tu;this.released=new tu;this.ended=new tu;this.entered=new tu;this.exited=new tu;this.dropped=new tu;this.moved=new F.Observable(function(I){var N=B._dragRef.moved.pipe(E(function(Q){return{source:B,pointerPosition:Q.pointerPosition,
event:Q.event,delta:Q.delta,distance:Q.distance}})).subscribe(I);return function(){N.unsubscribe()}});this._dragRef=l.createDrag(a,{dragStartThreshold:g&&null!=g.dragStartThreshold?g.dragStartThreshold:5,pointerDirectionChangeThreshold:g&&null!=g.pointerDirectionChangeThreshold?g.pointerDirectionChangeThreshold:5,zIndex:null==g?void 0:g.zIndex});this._dragRef.data=this;cuc.push(this);g&&this._assignDefaults(g);b&&(this._dragRef._withDropContainer(b._dropListRef),b.addItem(this));this._syncInputs(this._dragRef);
this._handleEvents(this._dragRef)};f=YK.prototype;f.getPlaceholderElement=function(){return this._dragRef.getPlaceholderElement()};f.getRootElement=function(){return this._dragRef.getRootElement()};f.reset=function(){this._dragRef.reset()};f.setFreeDragPosition=function(a){this._dragRef.setFreeDragPosition(a)};
f.ngAfterViewInit=function(){var a=this;this._ngZone.runOutsideAngular(function(){a._ngZone.onStable.pipe(ge(),qe(a._destroyed)).subscribe(function(){a._updateRootElement();a._setupHandlesListener();a.freeDragPosition&&a._dragRef.setFreeDragPosition(a.freeDragPosition)})})};f.ngOnChanges=function(a){var b=a.rootElementSelector;a=a.freeDragPosition;b&&!b.firstChange&&this._updateRootElement();a&&!a.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)};
f.ngOnDestroy=function(){var a=this;this.dropContainer&&this.dropContainer.removeItem(this);var b=cuc.indexOf(this);-1<b&&cuc.splice(b,1);this._ngZone.runOutsideAngular(function(){a._destroyed.next();a._destroyed.complete();a._dragRef.dispose()})};f._updateRootElement=function(){var a=this.element.nativeElement,b=a;if(this.rootElementSelector){var c;b=void 0!==a.closest?a.closest(this.rootElementSelector):null==(c=a.parentElement)?void 0:c.closest(this.rootElementSelector)}Rtc(this._dragRef,b||a)};
f._getBoundaryElement=function(){var a=this.boundaryElement;return a?"string"===typeof a?this.element.nativeElement.closest(a):Gf(a):null};
f._syncInputs=function(a){var b=this;a.beforeStarted.subscribe(function(){if(!a.isDragging()){var c=b._dir,d=b.dragStartDelay,e=b._placeholderTemplate?{template:b._placeholderTemplate.templateRef,context:b._placeholderTemplate.data,viewContainer:b._viewContainerRef}:null,g=b._previewTemplate?{template:b._previewTemplate.templateRef,context:b._previewTemplate.data,matchSize:b._previewTemplate.matchSize,viewContainer:b._viewContainerRef}:null;a.disabled=b.disabled;a.lockAxis=b.lockAxis;a.dragStartDelay=
"object"===typeof d&&d?d:Hf(d);a.constrainPosition=b.constrainPosition;a.previewClass=b.previewClass;d=Vtc(a,b._getBoundaryElement());d._placeholderTemplate=e;d._previewTemplate=g;d._previewContainer=b.previewContainer||"global";c&&a.withDirection(c.value)}});a.beforeStarted.pipe(ge()).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;Qtc(a,(null==(d=cuc.find(function(e){return e.element.nativeElement===
c}))?void 0:d._dragRef)||null);break}c=c.parentElement}})};
f._handleEvents=function(a){var b=this;a.started.subscribe(function(c){b.started.emit({source:b,event:c.event});b._changeDetectorRef.markForCheck()});a.released.subscribe(function(c){b.released.emit({source:b,event:c.event})});a.ended.subscribe(function(c){b.ended.emit({source:b,distance:c.distance,dropPoint:c.dropPoint,event:c.event});b._changeDetectorRef.markForCheck()});a.entered.subscribe(function(c){b.entered.emit({container:c.container.data,item:b,currentIndex:c.currentIndex})});a.exited.subscribe(function(c){b.exited.emit({container:c.container.data,
item:b})});a.dropped.subscribe(function(c){b.dropped.emit({previousIndex:c.previousIndex,currentIndex:c.currentIndex,previousContainer:c.previousContainer.data,container:c.container.data,isPointerOverContainer:c.isPointerOverContainer,item:b,distance:c.distance,dropPoint:c.dropPoint,event:c.event})})};
f._assignDefaults=function(a){var b=a.lockAxis,c=a.dragStartDelay,d=a.constrainPosition,e=a.previewClass,g=a.boundaryElement,h=a.draggingDisabled,l=a.rootElementSelector;a=a.previewContainer;this.disabled=null==h?!1:h;this.dragStartDelay=c||0;b&&(this.lockAxis=b);d&&(this.constrainPosition=d);e&&(this.previewClass=e);g&&(this.boundaryElement=g);l&&(this.rootElementSelector=l);a&&(this.previewContainer=a)};
f._setupHandlesListener=function(){var a=this;this._handles.changes.pipe(oe(this._handles),re(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);Utc(a._dragRef,b)}),pe(function(b){return F.merge.apply(null,Jc(b.map(function(c){return c._stateChanges.pipe(oe(c))})))}),qe(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),El(d,!0)):c._disabledHandles.has(d)&&(c._disabledHandles.delete(d),El(d,c.disabled))})};gg.Object.defineProperties(YK.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled||this.dropContainer&&this.dropContainer.disabled},set:function(a){this._disabled=Ef(a);this._dragRef.disabled=this._disabled}}});var cuc=[];YK.\u0275fac=function(a){return new (a||YK)(D(fd),D(buc,12),D(eg),D(te),D(ff),D(Gtc,8),D(qx,8),D(XK),D(Lu),D(Dtc,10),D(Ctc,12))};
YK.\u0275dir=Cc({type:YK,selectors:[["","cdkDrag",""]],contentQueries:function(a,b,c){a&1&&(kf(c,Ftc,5),kf(c,Etc,5),kf(c,Dtc,5));if(a&2){var d;hf(d=lf())&&(b._previewTemplate=d.first);hf(d=lf())&&(b._placeholderTemplate=d.first);hf(d=lf())&&(b._handles=d)}},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(a,b){a&2&&Ie("cdk-drag-disabled",b.disabled)("cdk-drag-dragging",b._dragRef.isDragging())},inputs:{data:["cdkDragData","data"],lockAxis:["cdkDragLockAxis","lockAxis"],rootElementSelector:["cdkDragRootElement",
"rootElementSelector"],boundaryElement:["cdkDragBoundary","boundaryElement"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"],disabled:["cdkDragDisabled","disabled"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],previewContainer:["cdkDragPreviewContainer","previewContainer"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",
entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],standalone:!0,features:[Xe([{provide:Ctc,useExisting:YK}]),Mc]});var duc=new Hc("CdkDropListGroup"),ZK=function(){this._items=new Set;this._disabled=!1};ZK.prototype.ngOnDestroy=function(){this._items.clear()};gg.Object.defineProperties(ZK.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=Ef(a)}}});ZK.\u0275fac=function(a){return new (a||ZK)};
ZK.\u0275dir=Cc({type:ZK,selectors:[["","cdkDropListGroup",""]],inputs:{disabled:["cdkDropListGroupDisabled","disabled"]},exportAs:["cdkDropListGroup"],standalone:!0,features:[Xe([{provide:duc,useExisting:ZK}])]});var euc=0,$K=function(a,b,c,d,e,g,h){var l=this;this.element=a;this._changeDetectorRef=c;this._scrollDispatcher=d;this._dir=e;this._group=g;this._destroyed=new F.Subject;this.connectedTo=[];this.id="cdk-drop-list-"+euc++;this.enterPredicate=function(){return!0};this.sortPredicate=function(){return!0};this.dropped=new tu;this.entered=new tu;this.exited=new tu;this.sorted=new tu;this._unsortedItems=new Set;this._dropListRef=new Ztc(a,b._dragDropRegistry,b._document,b._ngZone,b._viewportRuler);this._dropListRef.data=
this;h&&this._assignDefaults(h);this._dropListRef.enterPredicate=function(q,v){return l.enterPredicate(q.data,v.data)};this._dropListRef.sortPredicate=function(q,v,y){return l.sortPredicate(q,v.data,y.data)};this._setupInputSyncSubscription(this._dropListRef);this._handleEvents(this._dropListRef);fuc.push(this);g&&g._items.add(this)};$K.prototype.addItem=function(a){this._unsortedItems.add(a);this._dropListRef.isDragging()&&this._syncItemsWithRef()};
$K.prototype.removeItem=function(a){this._unsortedItems.delete(a);this._dropListRef.isDragging()&&this._syncItemsWithRef()};var guc=function(a){return Array.from(a._unsortedItems).sort(function(b,c){return Ttc(b._dragRef).compareDocumentPosition(Ttc(c._dragRef))&Node.DOCUMENT_POSITION_FOLLOWING?-1:1})};f=$K.prototype;
f.ngOnDestroy=function(){var a=fuc.indexOf(this);-1<a&&fuc.splice(a,1);this._group&&this._group._items.delete(this);this._unsortedItems.clear();this._dropListRef.dispose();this._destroyed.next();this._destroyed.complete()};
f._setupInputSyncSubscription=function(a){var b=this;this._dir&&this._dir.change.pipe(oe(this._dir.value),qe(this._destroyed)).subscribe(function(c){return a.withDirection(c)});a.beforeStarted.subscribe(function(){var c=roa(b.connectedTo).map(function(e){return"string"===typeof e?fuc.find(function(g){return g.id===e}):e});b._group&&b._group._items.forEach(function(e){-1===c.indexOf(e)&&c.push(e)});if(!b._scrollableParentsResolved){var d=Q0b(b._scrollDispatcher,b.element).map(function(e){return e.elementRef.nativeElement});
Ytc(b._dropListRef,d);b._scrollableParentsResolved=!0}a.disabled=b.disabled;a.lockAxis=b.lockAxis;a.sortingDisabled=Ef(b.sortingDisabled);a.autoScrollDisabled=Ef(b.autoScrollDisabled);a.autoScrollStep=Hf(b.autoScrollStep,2);$tc(a.connectedTo(c.filter(function(e){return e&&e!==b}).map(function(e){return e._dropListRef})),b.orientation)})};
f._handleEvents=function(a){var b=this;a.beforeStarted.subscribe(function(){b._syncItemsWithRef();b._changeDetectorRef.markForCheck()});a.entered.subscribe(function(c){b.entered.emit({container:b,item:c.item.data,currentIndex:c.currentIndex})});a.exited.subscribe(function(c){b.exited.emit({container:b,item:c.item.data});b._changeDetectorRef.markForCheck()});a.sorted.subscribe(function(c){b.sorted.emit({previousIndex:c.previousIndex,currentIndex:c.currentIndex,container:b,item:c.item.data})});a.dropped.subscribe(function(c){b.dropped.emit({previousIndex:c.previousIndex,
currentIndex:c.currentIndex,previousContainer:c.previousContainer.data,container:c.container.data,item:c.item.data,isPointerOverContainer:c.isPointerOverContainer,distance:c.distance,dropPoint:c.dropPoint,event:c.event});b._changeDetectorRef.markForCheck()});(0,F.merge)(a.receivingStarted,a.receivingStopped).subscribe(function(){return b._changeDetectorRef.markForCheck()})};
f._assignDefaults=function(a){var b=a.lockAxis,c=a.draggingDisabled,d=a.sortingDisabled,e=a.listAutoScrollDisabled;a=a.listOrientation;this.disabled=null==c?!1:c;this.sortingDisabled=null==d?!1:d;this.autoScrollDisabled=null==e?!1:e;this.orientation=a||"vertical";b&&(this.lockAxis=b)};f._syncItemsWithRef=function(){this._dropListRef.withItems(guc(this).map(function(a){return a._dragRef}))};
gg.Object.defineProperties($K.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled||!!this._group&&this._group.disabled},set:function(a){this._dropListRef.disabled=this._disabled=Ef(a)}}});var fuc=[];$K.\u0275fac=function(a){return new (a||$K)(D(fd),D(XK),D(Lu),D(wx),D(qx,8),D(duc,12),D(Gtc,8))};
$K.\u0275dir=Cc({type:$K,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(a,b){a&2&&(Ae("id",b.id),Ie("cdk-drop-list-disabled",b.disabled)("cdk-drop-list-dragging",b._dropListRef.isDragging())("cdk-drop-list-receiving",0<b._dropListRef._activeSiblings.size))},inputs:{connectedTo:["cdkDropListConnectedTo","connectedTo"],data:["cdkDropListData","data"],orientation:["cdkDropListOrientation","orientation"],id:"id",lockAxis:["cdkDropListLockAxis",
"lockAxis"],disabled:["cdkDropListDisabled","disabled"],sortingDisabled:["cdkDropListSortingDisabled","sortingDisabled"],enterPredicate:["cdkDropListEnterPredicate","enterPredicate"],sortPredicate:["cdkDropListSortPredicate","sortPredicate"],autoScrollDisabled:["cdkDropListAutoScrollDisabled","autoScrollDisabled"],autoScrollStep:["cdkDropListAutoScrollStep","autoScrollStep"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},
exportAs:["cdkDropList"],standalone:!0,features:[Xe([{provide:duc,useValue:void 0},{provide:buc,useExisting:$K}])]});var aL=function(){};aL.\u0275fac=function(a){return new (a||aL)};aL.\u0275mod=Bc({type:aL});aL.\u0275inj=oc({providers:[XK],imports:[Dx]});var bL=new Hc("CDK_TABLE");new Hc("text-column-options");var cL=function(a){this.template=a};cL.\u0275fac=function(a){return new (a||cL)(D(ef))};cL.\u0275dir=Cc({type:cL,selectors:[["","cdkCellDef",""]]});var dL=function(a){this.template=a};dL.\u0275fac=function(a){return new (a||dL)(D(ef))};dL.\u0275dir=Cc({type:dL,selectors:[["","cdkHeaderCellDef",""]]});var huc=function(a){this.template=a};huc.\u0275fac=function(a){return new (a||huc)(D(ef))};huc.\u0275dir=Cc({type:huc,selectors:[["","cdkFooterCellDef",""]]});
var iuc=UFa(function(){}),eL=function(a){var b=iuc.call(this)||this;b._table=a;b._stickyEnd=!1;return b};V(eL,iuc);eL.prototype._updateColumnCssClassName=function(){this._columnCssClassName=["cdk-column-"+this.cssClassFriendlyName]};eL.prototype._setNameInput=function(a){a&&(this._name=a,this.cssClassFriendlyName=a.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())};
gg.Object.defineProperties(eL.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return this._name},set:function(a){this._setNameInput(a)}},stickyEnd:{configurable:!0,enumerable:!0,get:function(){return this._stickyEnd},set:function(a){var b=this._stickyEnd;this._stickyEnd=Ef(a);this._hasStickyChanged=b!==this._stickyEnd}}});eL.\u0275fac=function(a){return new (a||eL)(D(bL,8))};
eL.\u0275dir=Cc({type:eL,selectors:[["","cdkColumnDef",""]],contentQueries:function(a,b,c){a&1&&(kf(c,cL,5),kf(c,dL,5),kf(c,huc,5));if(a&2){var d;hf(d=lf())&&(b.cell=d.first);hf(d=lf())&&(b.headerCell=d.first);hf(d=lf())&&(b.footerCell=d.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[Xe([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:eL}]),xe]});
var juc=function(a,b){b.nativeElement.classList.add.apply(b.nativeElement.classList,Jc(a._columnCssClassName))},fL=function(a,b){juc.call(this,a,b)};V(fL,juc);fL.\u0275fac=function(a){return new (a||fL)(D(eL),D(fd))};fL.\u0275dir=Cc({type:fL,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[xe]});
var gL=function(a,b){juc.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"))};V(gL,juc);gL.\u0275fac=function(a){return new (a||gL)(D(eL),D(fd))};gL.\u0275dir=Cc({type:gL,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[xe]});var kuc=function(){this.tasks=[];this.endTasks=[]},luc=new Hc("_COALESCED_STYLE_SCHEDULER"),hL=function(a){this._ngZone=a;this._currentSchedule=null;this._destroyed=new F.Subject};hL.prototype.schedule=function(a){this._createScheduleIfNeeded();this._currentSchedule.tasks.push(a)};hL.prototype.ngOnDestroy=function(){this._destroyed.next();this._destroyed.complete()};
hL.prototype._createScheduleIfNeeded=function(){var a=this;this._currentSchedule||(this._currentSchedule=new kuc,this._getScheduleObservable().pipe(qe(this._destroyed)).subscribe(function(){for(;a._currentSchedule.tasks.length||a._currentSchedule.endTasks.length;){var b=a._currentSchedule;a._currentSchedule=new kuc;for(var c=k(b.tasks),d=c.next();!d.done;d=c.next())d=d.value,d();b=k(b.endTasks);for(d=b.next();!d.done;d=b.next())c=d.value,c()}a._currentSchedule=null}))};
hL.prototype._getScheduleObservable=function(){return this._ngZone.isStable?(0,F.from)(Promise.resolve(void 0)):this._ngZone.onStable.pipe(ge())};hL.\u0275fac=function(a){return new (a||hL)(w(te))};hL.\u0275prov=nc({token:hL,factory:hL.\u0275fac});var iL=function(a,b){this.template=a;this._differs=b};iL.prototype.ngOnChanges=function(a){this._columnsDiffer||(a=a.columns&&a.columns.currentValue||[],this._columnsDiffer=this._differs.find(a).create(),this._columnsDiffer.diff(a))};iL.\u0275fac=function(a){return new (a||iL)(D(ef),D(Ou))};iL.\u0275dir=Cc({type:iL,features:[Mc]});var muc=function(){iL.apply(this,arguments)};V(muc,iL);muc.\u0275dir=iL.\u0275dir;muc.\u0275fac=iL.\u0275fac;
var nuc=UFa(muc),jL=function(a,b,c){a=nuc.call(this,a,b)||this;a._table=c;return a};V(jL,nuc);jL.prototype.ngOnChanges=function(a){nuc.prototype.ngOnChanges.call(this,a)};jL.\u0275fac=function(a){return new (a||jL)(D(ef),D(Ou),D(bL,8))};jL.\u0275dir=Cc({type:jL,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[xe,Mc]});var ouc=function(){iL.apply(this,arguments)};V(ouc,iL);ouc.\u0275dir=iL.\u0275dir;
ouc.\u0275fac=iL.\u0275fac;var puc=UFa(ouc),kL=function(a,b,c){a=puc.call(this,a,b)||this;a._table=c;return a};V(kL,puc);kL.prototype.ngOnChanges=function(a){puc.prototype.ngOnChanges.call(this,a)};kL.\u0275fac=function(a){return new (a||kL)(D(ef),D(Ou),D(bL,8))};kL.\u0275dir=Cc({type:kL,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[xe,Mc]});var lL=function(a,b,c){iL.call(this,a,b);this._table=c};V(lL,iL);
lL.\u0275fac=function(a){return new (a||lL)(D(ef),D(Ou),D(bL,8))};lL.\u0275dir=Cc({type:lL,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[xe]});var mL=function(a){this._viewContainer=a;quc=this};mL.prototype.ngOnDestroy=function(){quc===this&&(quc=null)};var quc=null;mL.\u0275fac=function(a){return new (a||mL)(D(ff))};mL.\u0275dir=Cc({type:mL,selectors:[["","cdkCellOutlet",""]]});var nL=function(){};
nL.\u0275fac=function(a){return new (a||nL)};nL.\u0275cmp=zc({type:nL,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Le(0,0)},dependencies:[mL],encapsulation:2});var oL=function(){};oL.\u0275fac=function(a){return new (a||oL)};
oL.\u0275cmp=zc({type:oL,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Le(0,0)},dependencies:[mL],encapsulation:2});var ruc=function(a){this.templateRef=a;this._contentClassName="cdk-no-data-row"};ruc.\u0275fac=function(a){return new (a||ruc)(D(ef))};ruc.\u0275dir=Cc({type:ruc,selectors:[["ng-template","cdkNoDataRow",""]]});var suc=new Hc("CDK_SPL");var tuc=["top","bottom","left","right"],uuc=function(a,b,c,d,e,g,h){e=void 0===e?!0:e;g=void 0===g?!0:g;this._isNativeHtmlTable=a;this._stickCellCss=b;this.direction=c;this._coalescedStyleScheduler=d;this._isBrowser=e;this._needsPositionStickyOnElement=g;this._positionListener=h;this._cachedCellWidths=[];this._borderCellCss={top:b+"-border-elem-top",bottom:b+"-border-elem-bottom",left:b+"-border-elem-left",right:b+"-border-elem-right"}},vuc=function(a,b,c){var d=[];b=k(b);for(var e=b.next();!e.done;e=
b.next())if(e=e.value,e.nodeType===e.ELEMENT_NODE){d.push(e);for(var g=0;g<e.children.length;g++)d.push(e.children[g])}a._coalescedStyleScheduler.schedule(function(){for(var h=k(d),l=h.next();!l.done;l=h.next())a._removeStickyStyle(l.value,c)})},wuc=function(a,b,c,d,e){e=void 0===e?!0:e;if(b.length&&a._isBrowser&&(c.some(function(I){return I})||d.some(function(I){return I}))){var g=b[0],h=g.children.length,l=a._getCellWidths(g,e),q=a._getStickyStartColumnPositions(l,c),v=a._getStickyEndColumnPositions(l,
d),y=c.lastIndexOf(!0),B=d.indexOf(!0);a._coalescedStyleScheduler.schedule(function(){var I="rtl"===a.direction,N=I?"right":"left";I=I?"left":"right";for(var Q=k(b),Z=Q.next();!Z.done;Z=Q.next()){Z=Z.value;for(var Y=0;Y<h;Y++){var ka=Z.children[Y];c[Y]&&a._addStickyStyle(ka,N,q[Y],Y===y);d[Y]&&a._addStickyStyle(ka,I,v[Y],Y===B)}}a._positionListener&&(a._positionListener.stickyColumnsUpdated({sizes:-1===y?[]:l.slice(0,y+1).map(function(la,Da){return c[Da]?la:null})}),a._positionListener.stickyEndColumnsUpdated({sizes:-1===
B?[]:l.slice(B).map(function(la,Da){return d[Da+B]?la:null}).reverse()}))})}else a._positionListener&&(a._positionListener.stickyColumnsUpdated({sizes:[]}),a._positionListener.stickyEndColumnsUpdated({sizes:[]}))},xuc=function(a,b,c,d){if(a._isBrowser){var e="bottom"===d?b.slice().reverse():b,g="bottom"===d?c.slice().reverse():c,h=[],l=[],q=[];for(c=b=0;b<e.length;b++)if(g[b]){h[b]=c;var v=e[b];q[b]=a._isNativeHtmlTable?Array.from(v.children):[v];v=v.getBoundingClientRect().height;c+=v;l[b]=v}var y=
g.lastIndexOf(!0);a._coalescedStyleScheduler.schedule(function(){for(var B=0;B<e.length;B++)if(g[B])for(var I=h[B],N=B===y,Q=k(q[B]),Z=Q.next();!Z.done;Z=Q.next())a._addStickyStyle(Z.value,d,I,N);if("top"===d){var Y;null==(Y=a._positionListener)||Y.stickyHeaderRowsUpdated({sizes:l,offsets:h,elements:q})}else{var ka;null==(ka=a._positionListener)||ka.stickyFooterRowsUpdated({sizes:l,offsets:h,elements:q})}})}},yuc=function(a,b,c){if(a._isNativeHtmlTable){var d=b.querySelector("tfoot");a._coalescedStyleScheduler.schedule(function(){c.some(function(e){return!e})?
a._removeStickyStyle(d,["bottom"]):a._addStickyStyle(d,"bottom",0,!1)})}};f=uuc.prototype;f._removeStickyStyle=function(a,b){for(var c=k(b),d=c.next();!d.done;d=c.next())d=d.value,a.style[d]="",a.classList.remove(this._borderCellCss[d]);tuc.some(function(e){return-1===b.indexOf(e)&&a.style[e]})?a.style.zIndex=this._getCalculatedZIndex(a):(a.style.zIndex="",this._needsPositionStickyOnElement&&(a.style.position=""),a.classList.remove(this._stickCellCss))};
f._addStickyStyle=function(a,b,c,d){a.classList.add(this._stickCellCss);d&&a.classList.add(this._borderCellCss[b]);a.style[b]=c+"px";a.style.zIndex=this._getCalculatedZIndex(a);this._needsPositionStickyOnElement&&(a.style.cssText+="position: -webkit-sticky; position: sticky; ")};f._getCalculatedZIndex=function(a){for(var b={top:100,bottom:10,left:1,right:1},c=0,d=k(tuc),e=d.next();!e.done;e=d.next())e=e.value,a.style[e]&&(c+=b[e]);return c?""+c:""};
f._getCellWidths=function(a,b){if(void 0!==b&&!b&&this._cachedCellWidths.length)return this._cachedCellWidths;b=[];a=a.children;for(var c=0;c<a.length;c++)b.push(a[c].getBoundingClientRect().width);return this._cachedCellWidths=b};f._getStickyStartColumnPositions=function(a,b){for(var c=[],d=0,e=0;e<a.length;e++)b[e]&&(c[e]=d,d+=a[e]);return c};f._getStickyEndColumnPositions=function(a,b){for(var c=[],d=0,e=a.length;0<e;e--)b[e]&&(c[e]=d,d+=a[e]);return c};var zuc=[[["caption"]],[["colgroup"],["col"]]],pL=function(a,b){this.viewContainer=a;this.elementRef=b};pL.\u0275fac=function(a){return new (a||pL)(D(ff),D(fd))};pL.\u0275dir=Cc({type:pL,selectors:[["","rowOutlet",""]]});var qL=function(a,b){this.viewContainer=a;this.elementRef=b};qL.\u0275fac=function(a){return new (a||qL)(D(ff),D(fd))};qL.\u0275dir=Cc({type:qL,selectors:[["","headerRowOutlet",""]]});var rL=function(a,b){this.viewContainer=a;this.elementRef=b};
rL.\u0275fac=function(a){return new (a||rL)(D(ff),D(fd))};rL.\u0275dir=Cc({type:rL,selectors:[["","footerRowOutlet",""]]});var sL=function(a,b){this.viewContainer=a;this.elementRef=b};sL.\u0275fac=function(a){return new (a||sL)(D(ff),D(fd))};sL.\u0275dir=Cc({type:sL,selectors:[["","noDataRowOutlet",""]]});
var tL=function(a,b,c,d,e,g,h,l,q,v,y,B){this._differs=a;this._changeDetectorRef=b;this._elementRef=c;this._dir=e;this._platform=h;this._viewRepeater=l;this._coalescedStyleScheduler=q;this._viewportRuler=v;this._stickyPositioningListener=y;this._ngZone=B;this._onDestroy=new F.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 tu;d||this._elementRef.nativeElement.setAttribute("role","table");this._document=g;this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName};
tL.prototype.ngOnInit=function(){var a=this;this._setupStickyStyler();this._isNativeHtmlTable&&this._applyNativeTableSections();this._dataDiffer=this._differs.find([]).create(function(b,c){return a.trackBy?a.trackBy(c.dataIndex,c.data):c});this._viewportRuler.change().pipe(qe(this._onDestroy)).subscribe(function(){a._forceRecalculateCellWidths=!0})};
tL.prototype.ngAfterContentChecked=function(){this._cacheRowDefs();this._cacheColumnDefs();var a=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||a;this._forceRecalculateCellWidths=a;this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1);this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1);this.dataSource&&0<this._rowDefs.length&&
!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&uL(this);this._checkStickyStates()};
tL.prototype.ngOnDestroy=function(){[this._rowOutlet.viewContainer,this._headerRowOutlet.viewContainer,this._footerRowOutlet.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(function(a){a.clear()});this._headerRowDefs=[];this._footerRowDefs=[];this._defaultRowDef=null;this._onDestroy.next();this._onDestroy.complete();qqa(this.dataSource)&&this.dataSource.disconnect(this)};
tL.prototype.renderRows=function(){var a=this;this._renderRows=this._getAllRenderRows();var b=this._dataDiffer.diff(this._renderRows);if(b){var c=this._rowOutlet.viewContainer;S0b(b,c,function(d,e,g){return a._getEmbeddedViewArgs(d.item,g)},function(d){1===d.operation&&d.context&&a._renderCellTemplateForItem(d.record.item.rowDef,d.context)});this._updateRowIndexContext();WXb(b,function(d){c.get(d.currentIndex).context.$implicit=d.item.data});this._updateNoDataRow();this._ngZone&&Pka()?this._ngZone.onStable.pipe(ge(),
qe(this._onDestroy)).subscribe(function(){uL(a)}):uL(this)}else this._updateNoDataRow();this.contentChanged.next()};
var Auc=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});vuc(a._stickyStyler,b,["top"]);xuc(a._stickyStyler,b,c,"top");a._headerRowDefs.forEach(function(d){return d.resetStickyChanged()})},Buc=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});
vuc(a._stickyStyler,b,["bottom"]);xuc(a._stickyStyler,b,c,"bottom");yuc(a._stickyStyler,a._elementRef.nativeElement,c);a._footerRowDefs.forEach(function(d){return d.resetStickyChanged()})},uL=function(a){var b=a._getRenderedRows(a._headerRowOutlet),c=a._getRenderedRows(a._rowOutlet),d=a._getRenderedRows(a._footerRowOutlet);if(a._isNativeHtmlTable&&!a._fixedLayout||a._stickyColumnStylesNeedReset)vuc(a._stickyStyler,[].concat(Jc(b),Jc(c),Jc(d)),["left","right"]),a._stickyColumnStylesNeedReset=!1;b.forEach(function(e,
g){a._addStickyColumnStyles([e],a._headerRowDefs[g])});a._rowDefs.forEach(function(e){for(var g=[],h=0;h<c.length;h++)a._renderRows[h].rowDef===e&&g.push(c[h]);a._addStickyColumnStyles(g,e)});d.forEach(function(e,g){a._addStickyColumnStyles([e],a._footerRowDefs[g])});Array.from(a._columnDefsByName.values()).forEach(function(e){return e.resetStickyChanged()})};f=tL.prototype;
f._getAllRenderRows=function(){var a=[],b=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(var c=0;c<this._data.length;c++){var d=this._data[c],e=this._getRenderRowsForData(d,c,b.get(d));this._cachedRenderRowsMap.has(d)||this._cachedRenderRowsMap.set(d,new WeakMap);for(d=0;d<e.length;d++){var g=e[d],h=this._cachedRenderRowsMap.get(g.data);h.has(g.rowDef)?h.get(g.rowDef).push(g):h.set(g.rowDef,[g]);a.push(g)}}return a};
f._getRenderRowsForData=function(a,b,c){return this._getRowDefs(a,b).map(function(d){var e=c&&c.has(d)?c.get(d):[];return e.length?(d=e.shift(),d.dataIndex=b,d):{data:a,rowDef:d,dataIndex:b}})};f._cacheColumnDefs=function(){var a=this;this._columnDefsByName.clear();VFa(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(function(b){a._columnDefsByName.has(b.name);a._columnDefsByName.set(b.name,b)})};
f._cacheRowDefs=function(){this._headerRowDefs=VFa(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs);this._footerRowDefs=VFa(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs);this._rowDefs=VFa(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);this._defaultRowDef=this._rowDefs.filter(function(a){return!a.when})[0]};
f._renderUpdatedColumns=function(){var a=function(d,e){return d||!!e._columnsDiffer.diff(e.columns)},b=this._rowDefs.reduce(a,!1);b&&this._forceRenderDataRows();var c=this._headerRowDefs.reduce(a,!1);c&&this._forceRenderHeaderRows();(a=this._footerRowDefs.reduce(a,!1))&&this._forceRenderFooterRows();return b||c||a};
f._switchDataSource=function(a){this._data=[];qqa(this.dataSource)&&this.dataSource.disconnect(this);this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null);a||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear());this._dataSource=a};
f._observeRenderChanges=function(){var a=this;if(this.dataSource){var b;qqa(this.dataSource)?b=this.dataSource.connect(this):(0,F.isObservable)(this.dataSource)?b=this.dataSource:Array.isArray(this.dataSource)&&(b=(0,F.of)(this.dataSource));this._renderChangeSubscription=b.pipe(qe(this._onDestroy)).subscribe(function(c){a._data=c||[];a.renderRows()})}};
f._forceRenderHeaderRows=function(){var a=this;0<this._headerRowOutlet.viewContainer.length&&this._headerRowOutlet.viewContainer.clear();this._headerRowDefs.forEach(function(b,c){return a._renderRow(a._headerRowOutlet,b,c)});Auc(this)};f._forceRenderFooterRows=function(){var a=this;0<this._footerRowOutlet.viewContainer.length&&this._footerRowOutlet.viewContainer.clear();this._footerRowDefs.forEach(function(b,c){return a._renderRow(a._footerRowOutlet,b,c)});Buc(this)};
f._addStickyColumnStyles=function(a,b){var c=this,d=Array.from(b.columns||[]).map(function(e){return c._columnDefsByName.get(e)});b=d.map(function(e){return e.sticky});d=d.map(function(e){return e.stickyEnd});wuc(this._stickyStyler,a,b,d,!this._fixedLayout||this._forceRecalculateCellWidths)};f._getRenderedRows=function(a){for(var b=[],c=0;c<a.viewContainer.length;c++){var d=a.viewContainer.get(c);b.push(d.rootNodes[0])}return b};
f._getRowDefs=function(a,b){if(1==this._rowDefs.length)return[this._rowDefs[0]];var c=[];if(this.multiTemplateDataRows)c=this._rowDefs.filter(function(e){return!e.when||e.when(b,a)});else{var d=this._rowDefs.find(function(e){return e.when&&e.when(b,a)})||this._defaultRowDef;d&&c.push(d)}return c};f._getEmbeddedViewArgs=function(a,b){return{templateRef:a.rowDef.template,context:{$implicit:a.data},index:b}};
f._renderRow=function(a,b,c,d){d=void 0===d?{}:d;a=a.viewContainer.createEmbeddedView(b.template,d,c);this._renderCellTemplateForItem(b,d);return a};f._renderCellTemplateForItem=function(a,b){a=k(this._getCellTemplates(a));for(var c=a.next();!c.done;c=a.next())c=c.value,quc&&quc._viewContainer.createEmbeddedView(c,b);this._changeDetectorRef.markForCheck()};
f._updateRowIndexContext=function(){for(var a=this._rowOutlet.viewContainer,b=0,c=a.length;b<c;b++){var d=a.get(b).context;d.count=c;d.first=0===b;d.last=b===c-1;d.even=0===b%2;d.odd=!d.even;this.multiTemplateDataRows?(d.dataIndex=this._renderRows[b].dataIndex,d.renderIndex=b):d.index=this._renderRows[b].dataIndex}};
f._getCellTemplates=function(a){var b=this;return a&&a.columns?Array.from(a.columns,function(c){c=b._columnDefsByName.get(c);return a instanceof jL?c.headerCell.template:a instanceof kL?c.footerCell.template:c.cell.template}):[]};
f._applyNativeTableSections=function(){for(var a=this._document.createDocumentFragment(),b=k([{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}]),c=b.next();!c.done;c=b.next()){var d=c.value;c=this._document.createElement(d.tag);c.setAttribute("role","rowgroup");d=k(d.outlets);for(var e=d.next();!e.done;e=d.next())c.appendChild(e.value.elementRef.nativeElement);a.appendChild(c)}this._elementRef.nativeElement.appendChild(a)};
f._forceRenderDataRows=function(){this._dataDiffer.diff([]);this._rowOutlet.viewContainer.clear();this.renderRows()};f._checkStickyStates=function(){var a=function(b,c){return b||c.hasStickyChanged()};this._headerRowDefs.reduce(a,!1)&&Auc(this);this._footerRowDefs.reduce(a,!1)&&Buc(this);Array.from(this._columnDefsByName.values()).reduce(a,!1)&&(this._stickyColumnStylesNeedReset=!0,uL(this))};
f._setupStickyStyler=function(){var a=this;this._stickyStyler=new uuc(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,F.of)()).pipe(qe(this._onDestroy)).subscribe(function(b){a._stickyStyler.direction=b;uL(a)})};f._getOwnDefs=function(a){var b=this;return a.filter(function(c){return!c._table||c._table===b})};
f._updateNoDataRow=function(){var a=this._customNoDataRow||this._noDataRow;if(a){var b=0===this._rowOutlet.viewContainer.length;if(b!==this._isShowingNoDataRow){var c=this._noDataRowOutlet.viewContainer;b?(a=c.createEmbeddedView(a.templateRef),c=a.rootNodes[0],1===a.rootNodes.length&&(null==c?void 0:c.nodeType)===this._document.ELEMENT_NODE&&(c.setAttribute("role","row"),c.classList.add("cdk-no-data-row"))):c.clear();this._isShowingNoDataRow=b}}};
gg.Object.defineProperties(tL.prototype,{trackBy:{configurable:!0,enumerable:!0,get:function(){return this._trackByFn},set:function(a){this._trackByFn=a}},dataSource:{configurable:!0,enumerable:!0,get:function(){return this._dataSource},set:function(a){this._dataSource!==a&&this._switchDataSource(a)}},multiTemplateDataRows:{configurable:!0,enumerable:!0,get:function(){return this._multiTemplateDataRows},set:function(a){this._multiTemplateDataRows=Ef(a);this._rowOutlet&&this._rowOutlet.viewContainer.length&&
(this._forceRenderDataRows(),uL(this))}},fixedLayout:{configurable:!0,enumerable:!0,get:function(){return this._fixedLayout},set:function(a){this._fixedLayout=Ef(a);this._stickyColumnStylesNeedReset=this._forceRecalculateCellWidths=!0}}});tL.\u0275fac=function(a){return new (a||tL)(D(Ou),D(Lu),D(fd),$c("role"),D(qx,8),D(eg),D(Sv),D(T0b),D(luc),D(Ax),D(suc,12),D(te,8))};
tL.\u0275cmp=zc({type:tL,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(a,b,c){a&1&&(kf(c,ruc,5),kf(c,eL,5),kf(c,lL,5),kf(c,jL,5),kf(c,kL,5));if(a&2){var d;hf(d=lf())&&(b._noDataRow=d.first);hf(d=lf())&&(b._contentColumnDefs=d);hf(d=lf())&&(b._contentRowDefs=d);hf(d=lf())&&(b._contentHeaderRowDefs=d);hf(d=lf())&&(b._contentFooterRowDefs=d)}},viewQuery:function(a,b){a&1&&(jf(pL,7),jf(qL,7),jf(rL,7),jf(sL,7));if(a&2){var c;hf(c=lf())&&(b._rowOutlet=c.first);hf(c=lf())&&(b._headerRowOutlet=
c.first);hf(c=lf())&&(b._footerRowOutlet=c.first);hf(c=lf())&&(b._noDataRowOutlet=c.first)}},hostAttrs:["ngSkipHydration","",1,"cdk-table"],hostVars:2,hostBindings:function(a,b){a&2&&Ie("cdk-table-fixed-layout",b.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[Xe([{provide:bL,useExisting:tL},{provide:T0b,useClass:R0b},{provide:luc,useClass:hL},
{provide:suc,useValue:null}])],ngContentSelectors:["caption","colgroup, col"],decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(a){a&1&&(Ne(zuc),Oe(0),Oe(1,1),Le(2,0)(3,1)(4,2)(5,3))},dependencies:[pL,qL,rL,sL],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2});var vL=function(){};vL.\u0275fac=function(a){return new (a||vL)};vL.\u0275mod=Bc({type:vL});vL.\u0275inj=oc({imports:[Ex]});var wL=function(){cL.apply(this,arguments)};V(wL,cL);wL.\u0275fac=function(){var a;return function(b){return(a||(a=dd(wL)))(b||wL)}}();wL.\u0275dir=Cc({type:wL,selectors:[["","matCellDef",""]],features:[Xe([{provide:cL,useExisting:wL}]),xe]});var xL=function(){dL.apply(this,arguments)};V(xL,dL);xL.\u0275fac=function(){var a;return function(b){return(a||(a=dd(xL)))(b||xL)}}();xL.\u0275dir=Cc({type:xL,selectors:[["","matHeaderCellDef",""]],features:[Xe([{provide:dL,useExisting:xL}]),xe]});
var yL=function(){return eL.apply(this,arguments)||this};V(yL,eL);yL.prototype._updateColumnCssClassName=function(){eL.prototype._updateColumnCssClassName.call(this);this._columnCssClassName.push("mat-column-"+this.cssClassFriendlyName)};gg.Object.defineProperties(yL.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return this._name},set:function(a){this._setNameInput(a)}}});yL.\u0275fac=function(){var a;return function(b){return(a||(a=dd(yL)))(b||yL)}}();
yL.\u0275dir=Cc({type:yL,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[Xe([{provide:eL,useExisting:yL},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:yL}]),xe]});var zL=function(){fL.apply(this,arguments)};V(zL,fL);zL.\u0275fac=function(){var a;return function(b){return(a||(a=dd(zL)))(b||zL)}}();zL.\u0275dir=Cc({type:zL,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[xe]});
var AL=function(){gL.apply(this,arguments)};V(AL,gL);AL.\u0275fac=function(){var a;return function(b){return(a||(a=dd(AL)))(b||AL)}}();AL.\u0275dir=Cc({type:AL,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[xe]});var BL=function(){return jL.apply(this,arguments)||this};V(BL,jL);BL.\u0275fac=function(){var a;return function(b){return(a||(a=dd(BL)))(b||BL)}}();BL.\u0275dir=Cc({type:BL,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[Xe([{provide:jL,useExisting:BL}]),xe]});var CL=function(){lL.apply(this,arguments)};V(CL,lL);CL.\u0275fac=function(){var a;return function(b){return(a||(a=dd(CL)))(b||CL)}}();
CL.\u0275dir=Cc({type:CL,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[Xe([{provide:lL,useExisting:CL}]),xe]});var DL=function(){};V(DL,nL);DL.\u0275fac=function(){var a;return function(b){return(a||(a=dd(DL)))(b||DL)}}();
DL.\u0275cmp=zc({type:DL,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[Xe([{provide:nL,useExisting:DL}]),xe],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Le(0,0)},dependencies:[mL],encapsulation:2});var EL=function(){};V(EL,oL);EL.\u0275fac=function(){var a;return function(b){return(a||(a=dd(EL)))(b||EL)}}();
EL.\u0275cmp=zc({type:EL,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[Xe([{provide:oL,useExisting:EL}]),xe],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Le(0,0)},dependencies:[mL],encapsulation:2});var Cuc=[[["caption"]],[["colgroup"],["col"]]],FL=function(){tL.apply(this,arguments);this.stickyCssClass="mat-table-sticky";this.needsPositionStickyOnElement=!1};V(FL,tL);FL.\u0275fac=function(){var a;return function(b){return(a||(a=dd(FL)))(b||FL)}}();
FL.\u0275cmp=zc({type:FL,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:["ngSkipHydration","",1,"mat-table"],hostVars:2,hostBindings:function(a,b){a&2&&Ie("mat-table-fixed-layout",b.fixedLayout)},exportAs:["matTable"],features:[Xe([{provide:T0b,useClass:R0b},{provide:tL,useExisting:FL},{provide:bL,useExisting:FL},{provide:luc,useClass:hL},{provide:suc,useValue:null}]),xe],ngContentSelectors:["caption","colgroup, col"],decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",
""],["footerRowOutlet",""]],template:function(a){a&1&&(Ne(Cuc),Oe(0),Oe(1,1),Le(2,0)(3,1)(4,2)(5,3))},dependencies:[pL,qL,rL,sL],styles:["mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}\n"],
encapsulation:2});var FGa=function(a){return{row:a}},MGa=function(){return["pinnedIssues"]},Duc=new Map([["title","Title"],["id","ID"],["priority","Priority"],["type","Type"],["status","Status"],["team","Team"],["assignee","Assignee"],["reporter","Reporter"],["createdTime","Created Time"],["menu","More Options"],["alert","Alert"],["action",""],["pin",""],["modifiedTime","Last Modified"]]),GL=function(a,b,c,d){this.issueFridge=a;this.domSafe=b;this.router=c;this.hackyPrefs=d;this.getUserInvolvement=$xa;this.ldapOnly=
Zxa;this.viewCellTemplates={};this.COLUMN_TITLES=Duc;this.issueIds$=new F.BehaviorSubject([]);this.defaultColumns=["title","priority","type","id","status"];this.displayedColumns=[];this.customColumns=[];this.displayedIssues$=this.issueIds$.pipe(pe(this.issueFridge.watchSet))};f=GL.prototype;f.ngOnChanges=function(a){!a.displayedColumns||0!==this.displayedColumns.length&&this.displayedColumns.every(function(b){return Duc.has(b)})||(this.displayedColumns=this.defaultColumns)};
f.navigateToIssue=function(a,b){a.defaultPrevented||"mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button||"A"===a.target.tagName||(b=Gk(b.issueId),a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button?this.domSafe.openInNewTab(b):a&&a.shiftKey?Wl(this.domSafe,b):ip(this.router,b))};
f.getMenuItems=function(a){var b=this,c=[{type:"action",label:"Add to My Projects",action:function(){Hl(b.hackyPrefs,a.issueId)},title:"Add to My Projects",icon:"add"}],d,e;((null==(d=this.hackyPrefs.prefs.sectionA)?0:d.includes("working-on-this-week"))||(null==(e=this.hackyPrefs.prefs.sectionW)?0:e.includes("working-on-this-week")))&&c.push({type:"action",label:"Add to this week",action:function(){var g=b.hackyPrefs,h=a.issueId,l=g.prefs;l.issuesThisWeek&&!l.issuesThisWeek.issues.includes(h)&&(l.issuesThisWeek.issues.unshift(h),
g.save(l))},title:"Add to this week",icon:"add"});return c};f.getViewCellTemplate=function(a){if(null!=a)return this.viewCellTemplates[a]||void 0};f.getAssigneeString=function(a){var b,c;return xDa(Ug(null==a?void 0:null==(b=a.snapshot)?void 0:null==(c=b[0])?void 0:c.assigneeUser)||void 0)};f.isInProgress=function(a){return"ACCEPTED"===(null==a?void 0:a.snapshot[0].status)};f.trackByIssueLastModified=function(a,b){return b.issueId+"-"+b.majorModifiedTimeMicros};
gg.Object.defineProperties(GL.prototype,{issueIds:{configurable:!0,enumerable:!0,set:function(a){this.issueIds$.next(null!=a?a:[])}}});GL.\u0275fac=function(a){return new (a||GL)(D(IH),D(rK),D(GG),D(qI))};
GL.\u0275cmp=zc({type:GL,selectors:[["flat-issues-table"]],inputs:{issueIds:"issueIds",displayedColumns:"displayedColumns",customColumns:"customColumns",assigneeMode:"assigneeMode"},features:[Mc],decls:2,vars:3,consts:[[4,"ngIf"],["mat-table","","cdkDropList","","cdkDropListSortingDisabled","",1,"full-width",3,"dataSource","trackBy","cdkDropListConnectedTo","cdkDropListData"],["matColumnDef","id"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","priority"],
["matColumnDef","title"],["matColumnDef","type"],["matColumnDef","status"],["matColumnDef","team"],["matColumnDef","assignee"],["mat-header-cell","","mat-sort-header","assignee",4,"matHeaderCellDef"],["matColumnDef","reporter"],["mat-header-cell","","mat-sort-header","reporter",4,"matHeaderCellDef"],["matColumnDef","createdTime"],["mat-header-cell","","mat-sort-header","createdTime",4,"matHeaderCellDef"],["matColumnDef","modifiedTime"],["mat-header-cell","","mat-sort-header","modifiedTime",4,"matHeaderCellDef"],
["matColumnDef","menu"],[4,"ngFor","ngForOf"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","selectionPreventsClick","","class","clickable",3,"highlighted","click","mouseup",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],[3,"issuePriority"],[1,"break-word",3,"issue"],[3,"issue"],["mat-header-cell","","mat-sort-header","assignee"],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"issue",4,"ngSwitchDefault"],[3,"email"],[3,"email",4,"ngIf"],["mat-header-cell","","mat-sort-header",
"reporter"],["mat-header-cell","","mat-sort-header","createdTime"],["mat-header-cell","","mat-sort-header","modifiedTime"],["mode","relativepast",3,"timestamp",4,"ngIf","ngIfElse"],["noData",""],["mode","relativepast",3,"timestamp"],["buttonLabel","More options",3,"menuItems","click"],[3,"matColumnDef",4,"ngIf"],[3,"matColumnDef"],["mat-header-cell","","class","first-letter-capitalized",4,"matHeaderCellDef"],["mat-header-cell","",1,"first-letter-capitalized"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],
["mat-header-row",""],["mat-row","","selectionPreventsClick","",1,"clickable",3,"click","mouseup"],[3,"issue",4,"cdkDragPreview"]],template:function(a,b){a&1&&(R(0,NGa,38,8,"ng-container",0),T(1,"async"));a&2&&G("ngIf",U(1,1,b.displayedIssues$))},dependencies:[Su,Tu,Yu,Uu,Vu,Wu,FL,xL,BL,yL,wL,CL,zL,AL,DL,EL,DK,EK,FK,GK,JK,PK,QK,vI,RK,$K,UK,wK,vK,qK,SK,BK,Zu],styles:[".mat-header-cell[_ngcontent-%COMP%]{font-weight:500}tr.mat-header-row[_ngcontent-%COMP%], tr.mat-row[_ngcontent-%COMP%]{height:32px}td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%], th.mat-header-cell[_ngcontent-%COMP%]{font-size:.8125rem;padding:0 4px}td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%]{color:#202124;color:var(--row-default-text)}th.mat-header-cell[_ngcontent-%COMP%]{color:#202124;color:var(--text-high-contrast)}td.mat-column-menu[_ngcontent-%COMP%], td.mat-column-save[_ngcontent-%COMP%]{width:32px;height:32px}.mat-cell[_ngcontent-%COMP%]:first-of-type, .mat-footer-cell[_ngcontent-%COMP%]:first-of-type, .mat-header-cell[_ngcontent-%COMP%]:first-of-type{padding-left:0}.mat-cell[_ngcontent-%COMP%]:last-of-type, .mat-footer-cell[_ngcontent-%COMP%]:last-of-type, .mat-header-cell[_ngcontent-%COMP%]:last-of-type{padding-right:0}tr.mat-row.clickable[_ngcontent-%COMP%]{cursor:pointer}tr.mat-row.clickable[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}tr.mat-row[_ngcontent-%COMP%]   .mat-column-focus-indicator[_ngcontent-%COMP%]{cursor:pointer;display:table-cell;padding:0 1.5px;width:0}tr.mat-row[_ngcontent-%COMP%]:focus-within   .mat-column-focus-indicator[_ngcontent-%COMP%]{outline:none;background-color:#4285f4;background-color:var(--primary-c500)}[_nghost-%COMP%]{display:block;overflow-x:auto}[_nghost-%COMP%]     .mat-column-assignee b-user-image img{max-width:24px;vertical-align:middle}[_nghost-%COMP%]     .mat-column-modifiedTime{min-width:98px}"],
changeDetection:0});var HL=function(a,b){this.templateRef=a;this.flatIssuesTable=b};HL.prototype.ngOnInit=function(){this.forViewCell&&(this.flatIssuesTable.viewCellTemplates[this.forViewCell]=this.templateRef)};HL.\u0275fac=function(a){return new (a||HL)(D(ef),D(GL))};HL.\u0275dir=Cc({type:HL,selectors:[["","forViewCell",""]],inputs:{forViewCell:"forViewCell"}});var Euc=new Hc("IssueCard");var IL=function(){};IL.prototype.visit=function(){};IL.\u0275fac=function(a){return new (a||IL)};IL.\u0275prov=nc({token:IL,factory:IL.\u0275fac,providedIn:"root"});var Fuc=["el"],JL=function(a){this.viewContainerRef=a};JL.\u0275fac=function(a){return new (a||JL)(D(ff))};JL.\u0275dir=Cc({type:JL,selectors:[["","issueCardHost",""]]});var KL=function(a,b){kE.call(this);this.issueReferenceResolver=a;this.issueCard=b;this.hovercardReady=new F.ReplaySubject(1)};V(KL,kE);KL.\u0275dir=kE.\u0275dir;KL.prototype.ngOnInit=function(){};
KL.prototype.ngAfterViewInit=function(){var a=this;this.issueCardHost.changes.pipe(qe(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(ge(),qe(a.destroyed$)).subscribe(a.hovercardReady),b.changeDetectorRef.detectChanges())})};
KL.prototype.visit=function(a){if(!RGa(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})}};KL.\u0275fac=function(a){return new (a||KL)(D(IL),D(Euc,8))};
KL.\u0275cmp=zc({type:KL,selectors:[["b-issue-reference-widget"]],viewQuery:function(a,b){a&1&&(jf(Fuc,7),jf(JL,5));if(a&2){var c;hf(c=lf())&&(b.el=c.first);hf(c=lf())&&(b.issueCardHost=c)}},inputs:{href:"href",issueId:"issueId",commentNumber:"commentNumber"},features:[xe],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&&(Ne(),H(0,"onedev-hovercard",null,0),R(2,SGa,2,1,"div",1),J(),H(3,"a",2,3),O("click",function(d){return b.visit(d)}),Oe(5),J());if(a&2){var c=Se(1);C(3);G("onedevHovercardTrigger",c)("onedevHovercardActive",!!b.issueCard)("href",b.href,vd)}},dependencies:[QJ,RJ,VJ,SJ,JL],encapsulation:2,changeDetection:0});var LL=function(a){kE.call(this);var b=this;this.changelistApi=a;this.providedChangelistId$=new F.ReplaySubject(1);this.changelist$=this.providedChangelistId$.pipe(pe(function(c){return b.changelistApi.getChangelistDetails(c)}),ne({refCount:!0,bufferSize:1}));this.init=new F.ReplaySubject(1)};V(LL,kE);LL.\u0275dir=kE.\u0275dir;LL.prototype.ngOnInit=function(){var a=this;this.changelist$.pipe(ge(),qe(this.destroyed$)).subscribe(function(){a.init.next()})};
LL.prototype.ngOnChanges=function(a){a.changelistId&&this.providedChangelistId$.next(this.changelistId)};LL.\u0275fac=function(a){return new (a||LL)(D(IC))};
LL.\u0275cmp=zc({type:LL,selectors:[["b-changelist-card"]],inputs:{changelistId:"changelistId"},outputs:{init:"init"},features:[xe,Mc],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),R(2,WGa,16,6,"ng-container",2),T(3,"async"),J()());a&2&&(C(2),G("ngIf",U(3,1,b.changelist$)))},dependencies:[Su,Tu,uK,BK,Zu],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 ML=function(){this.config=Object.assign({},new TJ,{delay:400,position:[{originX:"start",originY:"center",overlayX:"end",overlayY:"center",offsetX:-20}]})};ML.prototype.ngOnInit=function(){};ML.\u0275fac=function(a){return new (a||ML)};
ML.\u0275cmp=zc({type:ML,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),S(1),J(),H(2,"onedev-hovercard",null,1),R(4,XGa,2,2,"b-changelist-card",2),J());if(a&
2){var c=Se(3);G("href","http://critique.corp.google.com/"+b.changelistId,vd)("onedevHovercardTrigger",c)("onedevHovercardConfig",b.config);Ae("aria-label","Changelist"+b.changelistId);C(1);Te(" ",b.changelistId,"\n")}},dependencies:[QJ,RJ,VJ,SJ,LL],encapsulation:2});var NL=function(){this.model={};this.hovercardEnabled=this.availabilityChipEnabled=!0;this.hovercardFocusEnabled=!1};NL.prototype.getDisplayString=function(){return Qg(this.model)};var Guc=function(a){var b=a.model;return(b&&b.getUserGaiaStatus?Hsa(Tg(b)):Hsa(b))&&!!a.getEmailAddress()};NL.prototype.getEmailAddress=function(){return Ug(this.model)||""};NL.\u0275fac=function(a){return new (a||NL)};
NL.\u0275cmp=zc({type:NL,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&&(L(0),R(1,YGa,1,4,"b-user-display-name",0),R(2,ZGa,2,1,"span",
1),M());a&2&&(C(1),G("ngIf",Guc(b)),C(1),G("ngIf",!Guc(b)))},dependencies:[Tu,uK],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 OL=function(){this.toIssuePriority=ck;this.clAuthorToUser=Nxa;this.getClNumber=Oxa;this.clEventToClDescription=Pxa;this.getPreviousDiffValue=Qxa;this.getNewDiffValue=Rxa;this.getIssueDetailsUrl=Sxa;this.numEventsDisplayed=3;this.activityEvents=null;this.title="Recent Activity"},iHa=function(a){return a.activityEvents&&0!==a.activityEvents.length?3<=a.activityEvents.length-a.numEventsDisplayed?3:a.activityEvents.length-a.numEventsDisplayed:0};
OL.prototype.trackByEventModifiedTime=function(a,b){return b.issueId+"-"+b.event.modifiedDate};OL.\u0275fac=function(a){return new (a||OL)};
OL.\u0275cmp=zc({type:OL,selectors:[["activity-stream"]],inputs:{activityEvents:"activityEvents",title:"title"},decls:3,vars:6,consts:[[4,"ngIf"],[1,"heading-xs","margin-s-y"],[1,"events"],["class","flex-kids-x",3,"margin-xs-bottom",4,"ngFor","ngForOf","ngForTrackBy"],[1,"flex-kids-x"],[1,"bv2-profile-avatar",3,"email"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"type-m","event-heading"],[3,"model"],[3,"changelistId"],[3,"href","issueId"],["mode","relativepast",3,"timestamp"],[1,"line-clamp-2",
"type-s","muted","break-word"],[1,"type-s","muted"],[3,"issuePriority"],["mat-button","","color","primary",1,"gmat-button","margin-s-top","small",3,"click"]],template:function(a,b){a&1&&(R(0,hHa,5,3,"ng-container",0),T(1,"slice"),R(2,jHa,3,1,"ng-container",0));a&2&&(G("ngIf",cf(1,2,b.activityEvents,0,b.numEventsDisplayed)),C(2),G("ngIf",0<iHa(b)))},dependencies:[Su,Tu,Uu,Vu,Wu,yy,vK,NL,vI,ML,KL,BK,fv],styles:["[_nghost-%COMP%]     b-user-display-name{font-weight:500;color:#202124;color:var(--text)}[_nghost-%COMP%]     .bv2-profile-avatar{margin-top:-8px;margin-bottom:-26px}[_nghost-%COMP%]     .bv2-profile-avatar .user-avatar{background-size:103%;display:inline-block;margin-right:6px;height:28px;width:28px}[_nghost-%COMP%]     .bv2-profile-avatar .user-avatar img{background-color:#f1f3f4;background-color:var(--c100);height:28px;width:28px}.events[_ngcontent-%COMP%]   b-user-image[_ngcontent-%COMP%]{margin-right:0}.event-heading[_ngcontent-%COMP%]{font-size:.875rem}\n/*# sourceMappingURL=activity_stream.css.map */"]});var Huc=["determinateSpinner"],Iuc=hg(function(a){this._elementRef=a},"primary"),Juc=new Hc("mat-progress-spinner-default-options",{providedIn:"root",factory:lHa}),PL=function(a,b,c){a=Iuc.call(this,a)||this;a.mode="mat-spinner"===a._elementRef.nativeElement.nodeName.toLowerCase()?"indeterminate":"determinate";a._value=0;a._diameter=100;a._noopAnimations="NoopAnimations"===b&&!!c&&!c._forceAnimations;c&&(c.color&&(a.color=a.defaultColor=c.color),c.diameter&&(a.diameter=c.diameter),c.strokeWidth&&
(a.strokeWidth=c.strokeWidth));return a};V(PL,Iuc);f=PL.prototype;f._circleRadius=function(){return(this.diameter-10)/2};f._viewBox=function(){var a=2*this._circleRadius()+this.strokeWidth;return"0 0 "+a+" "+a};f._strokeCircumference=function(){return 2*Math.PI*this._circleRadius()};f._strokeDashOffset=function(){return"determinate"===this.mode?this._strokeCircumference()*(100-this._value)/100:null};f._circleStrokeWidth=function(){return this.strokeWidth/this.diameter*100};
gg.Object.defineProperties(PL.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return"determinate"===this.mode?this._value:0},set:function(a){this._value=Math.max(0,Math.min(100,Hf(a)))}},diameter:{configurable:!0,enumerable:!0,get:function(){return this._diameter},set:function(a){this._diameter=Hf(a)}},strokeWidth:{configurable:!0,enumerable:!0,get:function(){var a;return null!=(a=this._strokeWidth)?a:this.diameter/10},set:function(a){this._strokeWidth=Hf(a)}}});
PL.\u0275fac=function(a){return new (a||PL)(D(fd),D(Tt,8),D(Juc))};
PL.\u0275cmp=zc({type:PL,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(a,b){a&1&&jf(Huc,5);if(a&2){var c;hf(c=lf())&&(b._determinateCircle=c.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:16,hostBindings:function(a,b){a&2&&(Ae("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===b.mode?b.value:null)("mode",b.mode),He("width",b.diameter,"px")("height",b.diameter,"px")("--mdc-circular-progress-size",
b.diameter+"px")("--mdc-circular-progress-active-indicator-width",b.diameter+"px"),Ie("_mat-animation-noopable",b._noopAnimations)("mdc-circular-progress--indeterminate","indeterminate"===b.mode))},inputs:{color:"color",mode:"mode",value:"value",diameter:"diameter",strokeWidth:"strokeWidth"},exportAs:["matProgressSpinner"],features:[xe],decls:14,vars:11,consts:[["circle",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["determinateSpinner",""],["xmlns","http://www.w3.org/2000/svg",
"focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg",
"focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(a,b){a&1&&(R(0,kHa,2,8,"ng-template",null,0,of),H(2,"div",1,2),Xc(),H(4,"svg",3),K(5,"circle",4),J()(),Yc(),H(6,"div",5)(7,"div",6)(8,"div",7),Le(9,8),J(),H(10,"div",9),Le(11,8),J(),H(12,"div",10),Le(13,8),J()()());if(a&2){var c=Se(1);C(4);Ae("viewBox",b._viewBox());C(1);He("stroke-dasharray",b._strokeCircumference(),"px")("stroke-dashoffset",b._strokeDashOffset(),"px")("stroke-width",
b._circleStrokeWidth(),"%");Ae("r",b._circleRadius());C(4);G("ngTemplateOutlet",c);C(2);G("ngTemplateOutlet",c);C(2);G("ngTemplateOutlet",c)}},dependencies:[Yu],styles:["@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-color-1-fade-in-out{from{opacity:.99}25%{opacity:.99}26%{opacity:0}89%{opacity:0}90%{opacity:.99}to{opacity:.99}}@keyframes mdc-circular-progress-color-2-fade-in-out{from{opacity:0}15%{opacity:0}25%{opacity:.99}50%{opacity:.99}51%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-3-fade-in-out{from{opacity:0}40%{opacity:0}50%{opacity:.99}75%{opacity:.99}76%{opacity:0}to{opacity:0}}@keyframes mdc-circular-progress-color-4-fade-in-out{from{opacity:0}65%{opacity:0}75%{opacity:.99}90%{opacity:.99}to{opacity:0}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}.mdc-circular-progress{display:inline-flex;position:relative;direction:ltr;line-height:0;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-1{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-1-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-2{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-2-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-3{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-3-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__color-4{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both,mdc-circular-progress-color-4-fade-in-out 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--closed{opacity:0}.mat-mdc-progress-spinner{--mdc-circular-progress-active-indicator-width:4px;--mdc-circular-progress-size:48px}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner circle{stroke-width:var(--mdc-circular-progress-active-indicator-width)}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-1 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-2 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-3 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mat-mdc-progress-spinner .mdc-circular-progress--four-color .mdc-circular-progress__color-4 .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}}.mat-mdc-progress-spinner .mdc-circular-progress{width:var(--mdc-circular-progress-size) !important;height:var(--mdc-circular-progress-size) !important}.mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}\n"],
encapsulation:2,changeDetection:0});var QL=function(){};QL.\u0275fac=function(a){return new (a||QL)};QL.\u0275mod=Bc({type:QL});QL.\u0275inj=oc({imports:[gv,Sx]});var Kuc=hg(function(a){this._elementRef=a},"primary"),RL=function(a,b,c,d,e,g,h,l,q){var v=Kuc.call(this,a)||this;v._document=c;v._nonce=q;v._diameter=100;v._value=0;v._resizeSubscription=F.Subscription.EMPTY;v.mode="determinate";v._spinnerAnimationLabel=v._getSpinnerAnimationLabel();Luc.has(c.head)||Luc.set(c.head,new Set([100]));v._noopAnimations="NoopAnimations"===d&&!!e&&!e._forceAnimations;"mat-spinner"===a.nativeElement.nodeName.toLowerCase()&&(v.mode="indeterminate");e&&(e.color&&(v.color=
v.defaultColor=e.color),e.diameter&&(v.diameter=e.diameter),e.strokeWidth&&(v.strokeWidth=e.strokeWidth));b.isBrowser&&b.SAFARI&&h&&g&&l&&(v._resizeSubscription=h.change(150).subscribe(function(){"indeterminate"===v.mode&&l.run(function(){return g.markForCheck()})}));return v};V(RL,Kuc);f=RL.prototype;f.ngOnInit=function(){var a=this._elementRef.nativeElement;this._styleRoot=moa(a)||this._document.head;this._attachStyleNode();a.classList.add("mat-progress-spinner-indeterminate-animation")};
f.ngOnDestroy=function(){this._resizeSubscription.unsubscribe()};f._getCircleRadius=function(){return(this.diameter-10)/2};f._getViewBox=function(){var a=2*this._getCircleRadius()+this.strokeWidth;return"0 0 "+a+" "+a};f._getStrokeCircumference=function(){return 2*Math.PI*this._getCircleRadius()};f._getStrokeDashOffset=function(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:null};f._getCircleStrokeWidth=function(){return this.strokeWidth/this.diameter*100};
f._getCircleTransformOrigin=function(a){var b;a=50*(null!=(b=a.currentScale)?b:1);return a+"% "+a+"%"};f._attachStyleNode=function(){var a=this._styleRoot,b=this._diameter,c=Luc.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,Luc.set(a,c));c.add(b)}};
f._getAnimationText=function(){var a=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n    0%      { stroke-dashoffset: START_VALUE;  transform: rotate(0); }\n    12.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(0); }\n    12.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(72.5deg); }\n    25%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(72.5deg); }\n\n    25.0001%   { stroke-dashoffset: START_VALUE;  transform: rotate(270deg); }\n    37.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(270deg); }\n    37.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(161.5deg); }\n    50%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(161.5deg); }\n\n    50.0001%  { stroke-dashoffset: START_VALUE;  transform: rotate(180deg); }\n    62.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(180deg); }\n    62.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(251.5deg); }\n    75%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(251.5deg); }\n\n    75.0001%  { stroke-dashoffset: START_VALUE;  transform: rotate(90deg); }\n    87.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(90deg); }\n    87.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(341.5deg); }\n    100%    { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(341.5deg); }\n  }\n".replace(/START_VALUE/g,
""+.95*a).replace(/END_VALUE/g,""+.2*a).replace(/DIAMETER/g,this._spinnerAnimationLabel)};f._getSpinnerAnimationLabel=function(){return this.diameter.toString().replace(".","_")};
gg.Object.defineProperties(RL.prototype,{diameter:{configurable:!0,enumerable:!0,get:function(){return this._diameter},set:function(a){this._diameter=Hf(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=Hf(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,Hf(a)))}}});var Luc=new WeakMap;RL.\u0275fac=function(a){return new (a||RL)(D(fd),D(Sv),D(eg,8),D(Tt,8),D(Juc),D(Lu),D(Ax),D(te),D(MVb,8))};
RL.\u0275cmp=zc({type:RL,selectors:[["mat-progress-spinner"],["mat-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner","mat-spinner"],hostVars:10,hostBindings:function(a,b){a&2&&(Ae("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),He("width",b.diameter,"px")("height",b.diameter,"px"),Ie("_mat-animation-noopable",b._noopAnimations))},inputs:{color:"color",
diameter:"diameter",strokeWidth:"strokeWidth",mode:"mode",value:"value"},exportAs:["matProgressSpinner"],features:[xe],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&&(Xc(),H(0,"svg",0,1),R(2,mHa,1,11,"circle",2),R(3,nHa,1,9,"circle",3),J());a&2&&(He("width",b.diameter,"px")("height",b.diameter,"px"),G("ngSwitch","indeterminate"===b.mode),Ae("viewBox",b._getViewBox()),C(2),G("ngSwitchCase",!0),C(1),G("ngSwitchCase",!1))},dependencies:[Uu,Vu],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 SL=function(){};SL.\u0275fac=function(a){return new (a||SL)};
SL.\u0275cmp=zc({type:SL,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&&(R(0,oHa,1,2,"mat-spinner",0),R(1,pHa,1,3,"mat-spinner",1));a&2&&(G("ngIf",b.large),C(1),G("ngIf",!b.large))},dependencies:[Tu,RL],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}}\n/*# sourceMappingURL=spinner.css.map */"]});var TL=function(){this._inset=this._vertical=!1};gg.Object.defineProperties(TL.prototype,{vertical:{configurable:!0,enumerable:!0,get:function(){return this._vertical},set:function(a){this._vertical=Ef(a)}},inset:{configurable:!0,enumerable:!0,get:function(){return this._inset},set:function(a){this._inset=Ef(a)}}});TL.\u0275fac=function(a){return new (a||TL)};
TL.\u0275cmp=zc({type:TL,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(a,b){a&2&&(Ae("aria-orientation",b.vertical?"vertical":"horizontal"),Ie("mat-divider-vertical",b.vertical)("mat-divider-horizontal",!b.vertical)("mat-divider-inset",b.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.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 vHa=function(){return[]},UL=function(a,b,c,d,e,g){kE.call(this);var h=this;this.hotlistFridge=a;this.hackyPrefs=b;this.data=c;this.projectActivity=d;this.hotlistApi=e;this.issueFridge=g;this.makeCritiqueUrl=Kxa;this.makePie=Lxa;this.hotlistId$=new F.ReplaySubject(1);this.hotlist$=this.hotlistId$.pipe(pe(this.hotlistFridge.watchOne));this.orderedByHotlistPositionIssueIds$=this.hotlistId$.pipe(pe(function(l){return h.hotlistApi.getPagedHotlistContent(l,1,50,[])}),E(function(l){return l.issues}),
E(function(l){return l.map(function(q){return q.issueId})}));this.openIssueIds$=this.hotlistId$.pipe(pe(function(l){return h.issueFridge.watchMany({filter:"hotlistid:"+l+" status:open",pageSize:25,sort:"modified_time:desc"})}),E(function(l){return l.results}),E(function(l){return l.map(function(q){return q.issueId})}));this.hotlistIssueIds$=(0,F.combineLatest)([this.openIssueIds$,this.orderedByHotlistPositionIssueIds$]).pipe(E(function(l){l=k(l);var q=l.next().value,v=l.next().value;l=[];q=new Set(q);
v=k(v);for(var y=v.next();!y.done&&(y=y.value,q.has(y)&&l.push(y),25!==l.length);y=v.next());return l}),qe(this.destroyed$));this.projectData$=this.orderedByHotlistPositionIssueIds$.pipe(pe(function(l){return Ijc(h.data,[].concat(Jc(l)))}),ne({refCount:!0,bufferSize:1}));this.hotlistActivityEvents$=this.hotlistId$.pipe(pe(function(l){return loc(h.projectActivity,l)}));this.columnsToDisplay=["title","assignee","status","id","menu"]};V(UL,kE);UL.\u0275dir=kE.\u0275dir;
UL.prototype.isCollapsed=function(a){a=a.hotlistId;return!0===this.neverCollapse?!1:this.addMode||this.prefs.collapsed["hotlist-"+a]};UL.prototype.removeHotlist=function(a){Tm(this.hackyPrefs,sk(a))};UL.prototype.reorder=function(a,b){Sm(this.hackyPrefs,sk(a),b)};UL.prototype.canMove=function(a,b){return Um(this.hackyPrefs,sk(a),b)};
gg.Object.defineProperties(UL.prototype,{hotlistId:{configurable:!0,enumerable:!0,set:function(a){this.hotlistId$.next(String(a))}},prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});UL.\u0275fac=function(a){return new (a||UL)(D(lH),D(qI),D(qF),D(tI),D(aH),D(IH))};
UL.\u0275cmp=zc({type:UL,selectors:[["hotlist-as-project-card"]],inputs:{addMode:"addMode",neverCollapse:"neverCollapse",hotlistId:"hotlistId"},features:[xe],decls:2,vars:3,consts:[["class","carded bg-main",3,"collapsed","never-collapse-mode","add-mode",4,"ngIf"],[1,"carded","bg-main"],[1,"flex-kids-x"],[1,"edit-controls","gap","shrink-0"],[1,"margin-right"],["mat-button","","title","Save this to your homepage",1,"gmat-button","add",3,"click"],[1,"header-left"],[1,"type-l","line-clamp-3"],[1,"subtle-link",
3,"href"],["mat-icon-button","","aria-label","Toggle expansion state",1,"gmat-button","small","collapse-btn",3,"click"],["svgIcon","arrow-up",1,"icon-s"],[4,"ngIf"],["class","main-content",4,"ngIf"],["menu","matMenu"],["mat-menu-item","",3,"disabled","click"],["svgIcon","arrow-upward",1,"icon-s"],[1,"type-button"],["svgIcon","arrow-downward",1,"icon-s"],["mat-menu-item","",3,"click"],["svgIcon","delete",1,"icon-s"],["mat-menu-item","",3,"href"],[1,"icon-s"],["class","margin-left-auto flex-kids-x align-items-center",
4,"ngIf"],[1,"margin-left-auto","flex-kids-x","align-items-center"],[1,"collapsed-stats","margin-right"],["class","flex-kids-x align-items-center",4,"ngIf"],["class","contributor-avatar",3,"email",4,"ngFor","ngForOf"],["mat-icon-button","","aria-label","More options","aria-haspopup","true",1,"gmat-button","card-overflow",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical",1,"icon-m"],[1,"flex-kids-x","align-items-center"],["aria-hidden","true","alt","","src","https://static.corp.google.com/devtools/codereview/new_logo_only.svg",
2,"width","16px"],["target","_blank",1,"subtle-link",2,"color","var(--text-good)",3,"href"],[1,"contributor-avatar",3,"email"],["class","flex-kids-x align-items-center gap stats",4,"ngIf"],[1,"flex-kids-x","align-items-center","gap","stats"],["class","flex-kids-x align-items-center",3,"title",4,"ngIf"],[1,"flex-kids-x","align-items-center",3,"title"],[1,"pie","margin-s-right"],["target","_blank","class","subtle-link","style","color: var(--text-good)",3,"href",4,"ngIf"],[1,"main-content"],[1,"margin-s-top"],
[3,"href"],[3,"issueIds","displayedColumns","assigneeMode"],[4,"ngIf","ngIfElse"],["loading",""],[3,"activityEvents"]],template:function(a,b){a&1&&(R(0,FHa,35,15,"div",0),T(1,"async"));a&2&&G("ngIf",U(1,1,b.hotlist$))},dependencies:[Su,Tu,yy,jz,vK,GL,SL,PA,NA,OA,TL,OL,Zu,fv,ev],styles:['[_nghost-%COMP%]{display:block}.carded[_ngcontent-%COMP%] > header[_ngcontent-%COMP%]{margin-bottom:8px}.collapsed.carded[_ngcontent-%COMP%] > header[_ngcontent-%COMP%]{margin-bottom:0}.collapsed[_ngcontent-%COMP%]   .main-content[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   .stats[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   footer[_ngcontent-%COMP%]{display:none}.collapsed-stats[_ngcontent-%COMP%]{display:none}.collapsed[_ngcontent-%COMP%]   .collapsed-stats[_ngcontent-%COMP%]{display:block}.header-left[_ngcontent-%COMP%]{margin-top:-3px}b-user-image[_ngcontent-%COMP%]{margin-right:-8px;-webkit-transition:margin .1s ease-in-out;transition:margin .1s ease-in-out}[_ngcontent-%COMP%]:focus   b-user-image[_ngcontent-%COMP%]{margin-right:4px}[_nghost-%COMP%]     .user-avatar img{box-shadow:0 0 0 1px var(--divider),0 0 0 3px var(--surface-default)}[_nghost-%COMP%]     .contributor-avatar .user-avatar{display:inline-block;height:32px;width:32px}[_nghost-%COMP%]     .contributor-avatar .user-avatar img{max-height:100%;max-width:100%}b-user-image[_ngcontent-%COMP%]:has(img[src="https://lh3.googleusercontent.com/a/default-user=s32-p-k"]){display:none}.edit-controls[_ngcontent-%COMP%]{overflow:hidden;max-width:0;-webkit-transition:max-width .2s ease-out;transition:max-width .2s ease-out}.add-mode[_ngcontent-%COMP%]   .edit-controls[_ngcontent-%COMP%]{max-width:100%}.edit-controls[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{display:none}.add-mode[_ngcontent-%COMP%]   button.add[_ngcontent-%COMP%]{display:inline-block}.add-mode[_ngcontent-%COMP%]   button.remove[_ngcontent-%COMP%]{display:none!important}.card-overflow[_ngcontent-%COMP%]{margin-left:12px;margin-right:-4px}\n/*# sourceMappingURL=hotlist_as_project_card.css.map */',
".never-collapse-mode[_ngcontent-%COMP%]   .header-left[_ngcontent-%COMP%]   .collapse-btn[_ngcontent-%COMP%], .never-collapse-mode[_ngcontent-%COMP%]   .header-left[_ngcontent-%COMP%]   .symbol.arrow[_ngcontent-%COMP%], .never-collapse-mode[_ngcontent-%COMP%]   .header-left[_ngcontent-%COMP%]   .type-l[_ngcontent-%COMP%]{display:none}.never-collapse-mode[_ngcontent-%COMP%]   .stats[_ngcontent-%COMP%]{margin-top:-24px}.add-mode[_ngcontent-%COMP%]   .collapse-btn[_ngcontent-%COMP%]{display:none}.collapse-btn[_ngcontent-%COMP%]{-webkit-transition:-webkit-transform .1s ease-in-out;transition:-webkit-transform .1s ease-in-out;transition:transform .1s ease-in-out;transition:transform .1s ease-in-out,-webkit-transform .1s ease-in-out}.collapsed[_ngcontent-%COMP%]   .collapse-btn[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.pie[_ngcontent-%COMP%]{display:inline-block;width:24px;height:24px;border-radius:50%;background-color:#f8f9fa;background-color:var(--surface-secondary)}\n/*# sourceMappingURL=all_work_cards.css.map */"]});var VL=function(a,b){kE.call(this);var c=this;this.hackyPrefs=a;this.hotlists=b;this.log=console.log.bind(console);this.suggestionCount=3;this.suggestedHotlists$=this.hotlists.suggestedHotlists$;this.suggestedHotlistIds$=this.suggestedHotlists$.pipe(E(function(d){return[].concat(Jc(d.keys())).filter(function(e){return!ln(c.hackyPrefs).includes(sk(e))})}));this.skipFirstSuggestion=!1;this.suggestedHotlists$.pipe(qe(this.destroyed$)).subscribe(function(d){var e=Array.from(d)[0][0];d=Array.from(d)[0][1];
0===ln(c.hackyPrefs).length&&!c.hackyPrefs.prefs.hasUserEdits&&(5<d.confidence||3<d.count)&&(Hl(c.hackyPrefs,sk(e)),c.skipFirstSuggestion=!0,c.suggestionCount++)})};V(VL,kE);VL.\u0275dir=kE.\u0275dir;VL.\u0275fac=function(a){return new (a||VL)(D(qI),D(iI))};
VL.\u0275cmp=zc({type:VL,selectors:[["suggested-hotlists"]],inputs:{disableShowMore:"disableShowMore",suggestionCount:"suggestionCount"},features:[xe],decls:4,vars:4,consts:[[4,"ngIf","ngIfElse"],["loading",""],[1,"flex-kids-y","gap"],[1,"muted"],["mat-icon-button","","href","http://go/b-learn-hotlist-suggestions","target","_blank","title","Learn more","aria-label","Learn more",1,"small"],["svgIcon","info",1,"icon-s"],[4,"ngFor","ngForOf"],["class","muted",4,"ngIf"],["mat-button","","class","gmat-button",
3,"click",4,"ngIf"],[3,"hotlistId","addMode"],["mat-button","",1,"gmat-button",3,"click"]],template:function(a,b){a&1&&(R(0,JHa,10,7,"ng-container",0),T(1,"async"),R(2,KHa,3,0,"ng-template",null,1,of));if(a&2){var c=Se(3);G("ngIf",U(1,2,b.suggestedHotlistIds$))("ngIfElse",c)}},dependencies:[Su,Tu,yy,zy,jz,UL,SL,Zu,fv],styles:["[_nghost-%COMP%] { display: block; }"]});var Muc=hk(function(a){var b,c;return null!=(c=null==a?void 0:null==(b=a.aggregatedData)?void 0:b.voteCount)?c:0},Uwa),WL=function(a){this.issueFridge=a;this.componentIdToRecentCanonicals=new Map};
WL.prototype.search=function(a,b,c,d){var e=this;if(!a.trim())return(0,F.of)(void 0);if("canonical"===b){b=Nuc(this,a,d);d=Ouc(this,d).pipe(pe(function(h){return e.issueFridge.watchMany({filter:LHa(a,Il("-id",null==c?void 0:c.id),Il("status","open"),Il("componentid",h)),pageSize:10})}),E(function(h){return null==h?void 0:h.results}));var g=this.issueFridge.watchMany({filter:LHa(a,Il("-id",null==c?void 0:c.id)),pageSize:10,sort:"modified_time:desc"}).pipe(E(function(h){return null==h?void 0:h.results}),
oe([]));return(0,F.combineLatest)([b,d,g]).pipe(E(function(h){return fk(h.flat(),function(l){return l.issueId})}),E(function(h){return h.slice(0,10)}),E(function(h){return Muc(h,"desc")}))}return this.issueFridge.watchMany({filter:a,pageSize:10}).pipe(E(function(h){return null==h?void 0:h.results}))};
var Nuc=function(a,b,c){return c?Puc(a,c).pipe(pe(function(d){return 0===d.length?(0,F.of)([]):a.issueFridge.watchMany({filter:LHa(b,Il("id",d),Il("status","open")),pageSize:10}).pipe(E(function(e){return null==e?void 0:e.results}))})):(0,F.of)([])},Puc=function(a,b){if(!b)return(0,F.of)([]);if(a.componentIdToRecentCanonicals.has(b))return a.componentIdToRecentCanonicals.get(b);var c=a.issueFridge.watchMany({filter:LHa(Il("componentid",b,!0),Il("status","duplicate")),sort:"modified_time:desc",pageSize:250}).pipe(E(function(d){return null==
d?void 0:d.results}),E(function(d){return d.map(function(e){return e.snapshot[0].duplicateOfIssueId})}),E(function(d){return gk(d.filter(eh))}),ne({bufferSize:1,refCount:!0}));a.componentIdToRecentCanonicals.set(b,c);return c},Ouc=function(a,b){return b?Puc(a,b).pipe(pe(function(c){return a.issueFridge.watchSet(c)}),E(function(c){return c.map(function(d){return d.snapshot[0].componentId})}),E(function(c){return[b].concat(Jc(c.filter(eh)))}),E(gk),ne({bufferSize:1,refCount:!0})):(0,F.of)([])};
WL.\u0275fac=function(a){return new (a||WL)(w(IH))};WL.\u0275prov=nc({token:WL,factory:WL.\u0275fac,providedIn:"root"});/*

 Copyright 2016 Craig Campbell

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

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

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

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

 @version 1.6.0
 @url craig.is/killing/mice
*/
(function(a,b,c){function d(Q,Z,Y){Q.addEventListener?Q.addEventListener(Z,Y,!1):Q.attachEvent("on"+Z,Y)}function e(Q){if("keypress"==Q.type){var Z=String.fromCharCode(Q.which);Q.shiftKey||(Z=Z.toLowerCase());return Z}return v[Q.which]?v[Q.which]:y[Q.which]?y[Q.which]:String.fromCharCode(Q.which).toLowerCase()}function g(Q){return"shift"==Q||"ctrl"==Q||"alt"==Q||"meta"==Q}function h(Q,Z){var Y,ka=[];"+"===Q?Q=["+"]:(Q=Q.replace(/\+{2}/g,"+plus"),Q=Q.split("+"));for(Y=0;Y<Q.length;++Y){var la=Q[Y];
I[la]&&(la=I[la]);Z&&"keypress"!=Z&&B[la]&&(la=B[la],ka.push("shift"));g(la)&&ka.push(la)}Q=la;Y=Z;if(!Y){if(!N){N={};for(var Da in v)95<Da&&112>Da||v.hasOwnProperty(Da)&&(N[v[Da]]=Da)}Y=N[Q]?"keydown":"keypress"}"keypress"==Y&&ka.length&&(Y="keydown");return{key:la,modifiers:ka,action:Y}}function l(Q,Z){return null===Q||Q===b?!1:Q===Z?!0:l(Q.parentNode,Z)}function q(Q){function Z(wa){wa=wa||{};var Na=!1,Qa;for(Qa in Va)wa[Qa]?Na=!0:Va[Qa]=0;Na||(db=!1)}function Y(wa,Na,Qa,nb,ib,hd){var pb,Ib,hb=
[],Pb=Qa.type;if(!Oa._callbacks[wa])return[];"keyup"==Pb&&g(wa)&&(Na=[wa]);for(pb=0;pb<Oa._callbacks[wa].length;++pb)if(Ib=Oa._callbacks[wa][pb],(nb||!Ib.seq||Va[Ib.seq]==Ib.level)&&Pb==Ib.action){var sb;(sb="keypress"==Pb&&!Qa.metaKey&&!Qa.ctrlKey)||(sb=Ib.modifiers,sb=Na.sort().join(",")===sb.sort().join(","));sb&&(sb=nb&&Ib.seq==nb&&Ib.level==hd,(!nb&&Ib.combo==ib||sb)&&Oa._callbacks[wa].splice(pb,1),hb.push(Ib))}return hb}function ka(wa,Na,Qa,nb){Oa.stopCallback(Na,Na.target||Na.srcElement,Qa,
nb)||!1!==wa(Na,Qa)||(Na.preventDefault?Na.preventDefault():Na.returnValue=!1,Na.stopPropagation?Na.stopPropagation():Na.cancelBubble=!0)}function la(wa){"number"!==typeof wa.which&&(wa.which=wa.keyCode);var Na=e(wa);if(Na)if("keyup"==wa.type&&Xb===Na)Xb=!1;else{var Qa=Oa,nb=Qa.handleKey,ib=[];wa.shiftKey&&ib.push("shift");wa.altKey&&ib.push("alt");wa.ctrlKey&&ib.push("ctrl");wa.metaKey&&ib.push("meta");nb.call(Qa,Na,ib,wa)}}function Da(wa,Na,Qa,nb){function ib(hb){return function(){db=hb;++Va[wa];
clearTimeout(Ya);Ya=setTimeout(Z,1E3)}}function hd(hb){ka(Qa,hb,wa);"keyup"!==nb&&(Xb=e(hb));setTimeout(Z,10)}for(var pb=Va[wa]=0;pb<Na.length;++pb){var Ib=pb+1===Na.length?hd:ib(nb||h(Na[pb+1]).action);za(Na[pb],Ib,nb,wa,pb)}}function za(wa,Na,Qa,nb,ib){Oa._directMap[wa+":"+Qa]=Na;wa=wa.replace(/\s+/g," ");var hd=wa.split(" ");1<hd.length?Da(wa,hd,Na,Qa):(Qa=h(wa,Qa),Oa._callbacks[Qa.key]=Oa._callbacks[Qa.key]||[],Y(Qa.key,Qa.modifiers,{type:Qa.action},nb,wa,ib),Oa._callbacks[Qa.key][nb?"unshift":
"push"]({callback:Na,modifiers:Qa.modifiers,action:Qa.action,seq:nb,level:ib,combo:wa}))}var Oa=this;Q=Q||b;if(!(Oa instanceof q))return new q(Q);Oa.target=Q;Oa._callbacks={};Oa._directMap={};var Va={},Ya,Xb=!1,Bb=!1,db=!1;Oa._handleKey=function(wa,Na,Qa){var nb=Y(wa,Na,Qa),ib;Na={};var hd=0,pb=!1;for(ib=0;ib<nb.length;++ib)nb[ib].seq&&(hd=Math.max(hd,nb[ib].level));for(ib=0;ib<nb.length;++ib)nb[ib].seq?nb[ib].level==hd&&(pb=!0,Na[nb[ib].seq]=1,ka(nb[ib].callback,Qa,nb[ib].combo,nb[ib].seq)):pb||
ka(nb[ib].callback,Qa,nb[ib].combo);nb="keypress"==Qa.type&&Bb;Qa.type!=db||g(wa)||nb||Z(Na);Bb=pb&&"keydown"==Qa.type};Oa._bindMultiple=function(wa,Na,Qa){for(var nb=0;nb<wa.length;++nb)za(wa[nb],Na,Qa)};d(Q,"keypress",la);d(Q,"keydown",la);d(Q,"keyup",la)}if(a){var v={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},
y={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},B={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},I={option:"alt",command:"meta","return":"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},N;for(c=1;20>c;++c)v[111+c]="f"+c;for(c=0;9>=c;++c)v[c+96]=c;q.prototype.bind=
function(Q,Z,Y){Q=Q instanceof Array?Q:[Q];this._bindMultiple.call(this,Q,Z,Y);return this};q.prototype.unbind=function(Q,Z){return this.bind.call(this,Q,function(){},Z)};q.prototype.trigger=function(Q,Z){if(this._directMap[Q+":"+Z])this._directMap[Q+":"+Z]({},Q);return this};q.prototype.reset=function(){this._callbacks={};this._directMap={};return this};q.prototype.stopCallback=function(Q,Z){return-1<(" "+Z.className+" ").indexOf(" mousetrap ")||l(Z,this.target)?!1:"INPUT"==Z.tagName||"SELECT"==
Z.tagName||"TEXTAREA"==Z.tagName||Z.isContentEditable};q.prototype.handleKey=function(){return this._handleKey.apply(this,arguments)};q.addKeycodes=function(Q){for(var Z in Q)Q.hasOwnProperty(Z)&&(v[Z]=Q[Z]);N=null};q.init=function(){var Q=q(b),Z;for(Z in Q)"_"!==Z.charAt(0)&&(q[Z]=function(Y){return function(){return Q[Y].apply(Q,arguments)}}(Z))};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 Jl=function(a,b){this.char=a;this.modifiers=b};/*

 The MIT License (MIT)

 Copyright (c) 2016 Nick Richardson

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

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

 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 SOFTWARE.
*/
var Quc=function(a,b,c,d,e,g){this.combo=a;this.callback=b;this.allowIn=c;this.description=d;this.action=e;this.persistent=g;this.combo=Array.isArray(a)?a:[a];this.allowIn=c||[];this.description=d||""};
gg.Object.defineProperties(Quc.prototype,{formatted:{configurable:!0,enumerable:!0,get:function(){if(!this._formatted){for(var a=this.combo[0].split(/[\s]/),b=0;b<a.length;b++){var c=b;var d={command:"\u2318",shift:"\u21e7",left:"\u2190",right:"\u2192",up:"\u2191",down:"\u2193","return":"\u23ce",backspace:"\u232b"};for(var e=a[b].split("+"),g=0;g<e.length;g++)"mod"===e[g]&&(window.navigator&&0<=window.navigator.platform.indexOf("Mac")?e[g]="command":e[g]="ctrl"),e[g]=d[e[g]]||e[g];d=e.join(" + ");
a[c]=d}this._formatted=a}return this._formatted}}});var Ruc=new Hc("HotkeyOptions");var XL=function(a){this.options=a;this.hotkeys=[];this.pausedHotkeys=[];this.cheatSheetToggle=new F.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 Quc(this.options.cheatSheetHotkey||"?",function(){this.cheatSheetToggle.next()}.bind(this),[],this.options.cheatSheetDescription||
"Show / hide this help menu"));this.options.cheatSheetCloseEsc&&this.add(new Quc("esc",function(){this.cheatSheetToggle.next(!1)}.bind(this),["HOTKEYS-CHEATSHEET"],this.options.cheatSheetCloseEscDescription||"Hide this help menu"))};f=XL.prototype;
f.add=function(a,b){var c=this;if(Array.isArray(a)){for(var d=[],e=k(a),g=e.next();!g.done;g=e.next())d.push(this.add(g.value,b));return d}this.remove(a);this.hotkeys.push(a);this.mousetrap.bind(a.combo,function(h,l){var q=!0;if(h){var v=h.target,y=v.nodeName.toUpperCase();-1<(" "+v.className+" ").indexOf(" mousetrap ")?q=!0:-1<c.preventIn.indexOf(y)&&-1===a.allowIn.map(function(B){return B.toUpperCase()}).indexOf(y)&&(q=!1)}if(q)return a.callback.apply(c,[h,l])},b);return a};
f.remove=function(a){var b=[];if(!a){var c=k(this.hotkeys);for(a=c.next();!a.done;a=c.next())b.push(this.remove(a.value));return b}if(Array.isArray(a)){c=k(a);for(a=c.next();!a.done;a=c.next())b.push(this.remove(a.value));return b}b=this.hotkeys.indexOf(a);return-1<b?(this.hotkeys.splice(b,1),this.mousetrap.unbind(a.combo),a):null};
f.get=function(a){if(!a)return this.hotkeys;if(Array.isArray(a)){var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next())b.push(this.get(c.value));return b}for(b=0;b<this.hotkeys.length;b++)if(-1<this.hotkeys[b].combo.indexOf(a))return this.hotkeys[b];return null};f.pause=function(a){if(!a)return this.pause(this.hotkeys);if(Array.isArray(a)){var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next())b.push(this.pause(c.value));return b}this.remove(a);this.pausedHotkeys.push(a);return a};
f.unpause=function(a){if(!a)return this.unpause(this.pausedHotkeys);if(Array.isArray(a)){var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next())b.push(this.unpause(c.value));return b}b=this.pausedHotkeys.indexOf(a);return-1<b?(this.add(a),this.pausedHotkeys.splice(b,1)):null};f.reset=function(){this.mousetrap.reset()};XL.\u0275fac=function(a){return new (a||XL)(w(Ruc))};XL.\u0275prov=nc({token:XL,factory:XL.\u0275fac});var YL=function(){};YL.\u0275fac=function(a){return new (a||YL)};YL.\u0275mod=Bc({type:YL});YL.\u0275inj=oc({imports:[gv]});var Suc;Hda("A AREA BUTTON HEAD INPUT LINK MENU META OPTGROUP OPTION PROGRESS STYLE SELECT SOURCE TEXTAREA TITLE TRACK".split(" "));
var Tuc="combobox grid group listbox menu menubar radiogroup row rowgroup tablist textbox toolbar tree treegrid".split(" "),ZL=function(a,b){b?a.setAttribute("role",b):a.removeAttribute("role")},$L=function(a,b,c){Array.isArray(c)&&(c=c.join(" "));var d="aria-"+b;""===c||void 0==c?(Suc||(c={},Suc=(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=Suc,b in c?a.setAttribute(d,c[b]):a.removeAttribute(d)):a.setAttribute(d,c)},Uuc=function(a,b){a=a.getAttribute("aria-"+b);return null==a||void 0==a?"":String(a)},aM=function(a,b){var c="";b&&(c=b.id);$L(a,"activedescendant",c)};var bM=function(a,b,c,d){kE.call(this);var e=this;this.rawHotkeysService=c;this.ngZone=d;this.enabled=!0;this.paused=!1;this.hotkeyGroups=new Map;this.stopCallback=function(g,h){if(!e.enabled||e.paused)h=!0;else if(-1<(" "+h.className+" ").indexOf(" mousetrap ")||h.classList.contains("has-hotkey"))h=!1;else{if(g=h.getAttribute)g=h.getAttribute("role")||null,g=pa(Tuc,g);h=g||"true"===h.contentEditable||"INPUT"===h.tagName&&"text"===h.type||"SELECT"===h.tagName||"TEXTAREA"===h.tagName||Vuc(h)?!0:!1}return h};
b.keyboardPrefs$.pipe(qe(this.destroyed$)).subscribe(function(g){g&&(e.enabled=!!g.enableAllHotkeys)});a.routeChangeStart.pipe(qe(this.destroyed$)).subscribe(function(){e.unpause()});this.rawHotkeysService.mousetrap.stopCallback=this.stopCallback;this.destroyed$.subscribe(function(){Wuc(e)})};V(bM,kE);bM.\u0275dir=kE.\u0275dir;bM.prototype.isEnabled=function(){return this.enabled};bM.prototype.isPaused=function(){return this.paused};
var cM=function(a,b){var c=b.title,d=b.hotkeys,e;b=null!=(e=a.hotkeyGroups.get(c))?e:[];a.hotkeyGroups.set(c,[].concat(Jc(b),Jc(d)));Xuc(a);return function(){var g=new Set(d.map(function(q){return q.onPress})),h,l=(null!=(h=a.hotkeyGroups.get(c))?h:[]).filter(function(q){return!g.has(q.onPress)});l.length?a.hotkeyGroups.set(c,l):a.hotkeyGroups.delete(c);Xuc(a)}},Wuc=function(a){var b=[].concat(Jc(a.rawHotkeysService.hotkeys));b=k(b);for(var c=b.next();!c.done;c=b.next())a.rawHotkeysService.remove(c.value);
a.rawHotkeysService.reset()},Xuc=function(a){Wuc(a);for(var b=k(a.hotkeyGroups.values()),c=b.next();!c.done;c=b.next()){var d=Yuc(a,c.value);c={};d=k(d);for(var e=d.next();!e.done;c={$jscomp$loop$prop$binding$2308:c.$jscomp$loop$prop$binding$2308},e=d.next())c.$jscomp$loop$prop$binding$2308=e.value,e=new Quc(QHa(c.$jscomp$loop$prop$binding$2308.key),function(g){return function(h){a.ngZone.run(function(){g.$jscomp$loop$prop$binding$2308.command()});h.stopPropagation();return!1}}(c),c.$jscomp$loop$prop$binding$2308.allowIn),
a.rawHotkeysService.add(e)}},Vuc=function(a){return[].concat(Jc(document.getElementsByClassName("cdk-overlay-pane"))).filter(function(b){return"static"===b.style.position}).some(function(b){return b.contains(a)})},Yuc=function(a,b){var c=[],d={};b=k(b);for(var e=b.next();!e.done;d={$jscomp$loop$prop$hotkeySpec$2310:d.$jscomp$loop$prop$hotkeySpec$2310},e=b.next()){d.$jscomp$loop$prop$hotkeySpec$2310=e.value;e={};for(var g=k(d.$jscomp$loop$prop$hotkeySpec$2310.keys.entries()),h=g.next();!h.done;e={$jscomp$loop$prop$index$2312:e.$jscomp$loop$prop$index$2312},
h=g.next()){var l=k(h.value);h=l.next().value;l=l.next().value;e.$jscomp$loop$prop$index$2312=h;c.push(new Zuc(l,function(q,v){return function(){a.ngZone.run(function(){q.$jscomp$loop$prop$hotkeySpec$2310.onPress(v.$jscomp$loop$prop$index$2312)})}}(d,e),d.$jscomp$loop$prop$hotkeySpec$2310.allowIn))}}Kaa(c,function(q,v){return q.strokeLength>v.strokeLength?-1:q.strokeLength<v.strokeLength?1:0});return c};bM.prototype.pause=function(){this.paused=!0};bM.prototype.unpause=function(){this.paused=!1};
var $uc=function(a){return[].concat(Jc(a.hotkeyGroups.entries())).map(function(b){var c=k(b);b=c.next().value;c=c.next().value;return{title:b,hotkeys:fk(c,RHa)}})};bM.\u0275fac=function(a){return new (a||bM)(w(zH),w(TI),w(XL),w(te))};bM.\u0275prov=nc({token:bM,factory:bM.\u0275fac,providedIn:"root"});var Zuc=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 dM=function(a,b){kE.call(this);this.hotkeys=a;this.tooltip=b;this.hotkeyEnabled=!0;this.onHotkey=new tu;this.hasHotkey=!0};V(dM,kE);dM.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+")"}};
dM.prototype.ngOnInit=function(){var a=this;this.hotkeyEnabled&&this.subscriptions.add(cM(this.hotkeys,{title:this.hotkey.category,hotkeys:[Object.assign({},this.hotkey,{onPress:function(b){a.onHotkey.next(b)}})]}))};dM.\u0275fac=function(a){return new (a||dM)(D(bM),D(XA,8))};
dM.\u0275dir=Cc({type:dM,selectors:[["","hotkey",""]],hostVars:2,hostBindings:function(a,b){a&2&&Ie("has-hotkey",b.hasHotkey)},inputs:{hotkey:"hotkey",hotkeyEnabled:"hotkeyEnabled",matTooltip:"matTooltip"},outputs:{onHotkey:"onHotkey"},features:[xe,Mc]});var avc={category:"Edit Issue Page",keys:[Kl("r")],displayAs:"Shift+r",description:"Refresh"},bvc={category:"Issue List",keys:["u",Kl("r")],displayAs:"u / Shift+r",description:"Refresh search results"},eM={ASSIGN_ISSUE_TO_DEFAULT_ASSIGNEE:{category:"Edit Issue Page",keys:[Kl("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:[Ll("p","0"),Ll("p","1"),Ll("p","2"),Ll("p","3"),Ll("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:avc,REFRESH_ISSUE_LIST:bvc,TOGGLE_MARK_AS_DUPLICATE:{category:"Edit Issue Page",keys:["d"],displayAs:"d",description:"Mark/unmark issue as duplicate"},TOGGLE_STAR:{category:"Edit Issue Page",keys:["s"],displayAs:"s",description:"Star/Unstar this issue"}};var fM=function(){};fM.\u0275fac=function(a){return new (a||fM)};fM.\u0275mod=Bc({type:fM});fM.\u0275inj=oc({});var gM=function(){this.relayOnly=!1;this.keydown$=new F.Subject};gM.prototype.onKeydown=function(a){this.relayOnly||this.keydown$.next(a)};gg.Object.defineProperties(gM.prototype,{tabindex:{configurable:!0,enumerable:!0,get:function(){return this.relayOnly?null:"0"}}});gM.\u0275fac=function(a){return new (a||gM)};
gM.\u0275dir=Cc({type:gM,selectors:[["","onedevKeyEventReceiver",""]],hostVars:1,hostBindings:function(a,b){a&1&&O("keydown",function(c){return b.onKeydown(c)});a&2&&Ae("tabindex",b.tabindex)},inputs:{relayOnly:"relayOnly"}});var cvc=0,hM=function(a){this.keyEventReceiver=a;this.id="onedev-popup-panel-"+cvc;this.closePanel$=new F.ReplaySubject(1);cvc++};hM.prototype.processKeydown=function(a){this.keyEventReceiver&&this.keyEventReceiver.keydown$.next(a);var b=a.code;("Escape"===b||a.altKey&&"ArrowUp"===b)&&this.closePanel$.next()};hM.\u0275fac=function(a){return new (a||hM)(D(gM,8))};
hM.\u0275cmp=zc({type:hM,selectors:[["onedev-popup-panel"]],viewQuery:function(a,b){a&1&&jf(ef,7);if(a&2){var c;hf(c=lf())&&(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&&(Ne(),R(0,SHa,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 iM=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 tu;this.closed=new tu;this.isOpen=!1;this.destroyed$=new F.ReplaySubject(1);this.closingActionsSubscription=F.Subscription.EMPTY};iM.prototype.ngOnDestroy=function(){this.close();this.destroyed$.next();this.destroyed$.complete()};
iM.prototype.open=function(){var a=this;this.disabled||this.isOpen||(this.overlayRef=this.createOverlay(),this.templatePortal=new dw(this.popupPanel.templateRef,this.viewContainerRef),this.overlayRef.attach(this.templatePortal),this.closingActionsSubscription=dvc(this).pipe(qe(this.destroyed$)).subscribe(function(){a.close()}),this.trapFocus(),this.isOpen=!0,this.opened.emit())};
iM.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()}};
iM.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 dvc=function(a){var b=a.overlayRef.backdropClick(),c=a.overlayRef._detachments,d=a.popupPanel.closePanel$;return a.closeOnBackdropClick?(0,F.merge)(b,c,d):(0,F.merge)(c,d)};
iM.prototype.trapFocus=function(){this.overlayRef&&(this.focusTrap=this.focusTrapFactory.create(this.overlayRef.hostElement),this.focusTrap.focusInitialElement())};
iM.prototype.getPositionStrategy=function(){return Jx(Kx(Lx(Nx(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"}])};iM.prototype.getScrollStrategy=function(){return this.overlay.scrollStrategies.reposition()};
gg.Object.defineProperties(iM.prototype,{onedevPopupPanelTriggerFor:{configurable:!0,enumerable:!0,get:function(){return this.popupPanel},set:function(a){this.popupPanel=a}}});iM.\u0275fac=function(a){return new (a||iM)(D(Ox),D(fd),D(ff),D(hx),D(Lu))};
iM.\u0275dir=Cc({type:iM,selectors:[["","onedevPopupPanelTrigger",""]],hostAttrs:["aria-haspopup","true"],hostVars:3,hostBindings:function(a,b){a&2&&Ae("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 jM=function(){};jM.\u0275fac=function(a){return new (a||jM)};jM.\u0275mod=Bc({type:jM});jM.\u0275inj=oc({imports:[gv,Rx,iw,WB,zC,dx,PJ]});var evc=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.body.appendChild(c)};evc.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};
evc.prototype.destroy=function(){var a=this._textarea;a&&(a.remove(),this._textarea=void 0)};var kM=function(a){this._document=a};kM.prototype.copy=function(a){a=new evc(a,this._document);var b=a.copy();a.destroy();return b};kM.\u0275fac=function(a){return new (a||kM)(w(eg))};kM.\u0275prov=nc({token:kM,factory:kM.\u0275fac,providedIn:"root"});new Hc("CDK_COPY_TO_CLIPBOARD_CONFIG");var lM=function(a,b,c,d){kE.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=eM};V(lM,kE);lM.\u0275dir=kE.\u0275dir;var Ml=function(a,b){a.clipboard.copy(b.value);a.trigger.close()};lM.prototype.getIssueUrl=function(){return this.getAppBaseUrl(this.isExternalIssue)};
lM.prototype.getAppBaseUrl=function(a){return MK(this.currentTracker,this.issueId,void 0,void 0===a?!1:a)};lM.\u0275fac=function(a){return new (a||lM)(D(rp),D(LK),D(kM),D(VF))};
lM.\u0275cmp=zc({type:lM,selectors:[["b-issue-id-picker"]],viewQuery:function(a,b){a&1&&jf(iM,5);if(a&2){var c;hf(c=lf())&&(b.trigger=c.first)}},inputs:{componentId:"componentId",issueId:"issueId",issueTitle:"issueTitle",isExternalIssue:"isExternalIssue",disabled:"disabled",enableHotkeys:"enableHotkeys",showCopyOptions:"showCopyOptions"},features:[xe],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),O("click",function(){b.clipboard.copy(b.issueId);WF(b.butterBar,"Issue ID copied",2E3)}),S(1),R(2,THa,1,0,"mat-icon",1),J(),R(3,eIa,7,5,"ng-container",2));a&2&&(Ie("square-right",b.showCopyOptions),Ae("aria-label",
"Copy issue number "+b.issueId),C(1),Te(" ",b.issueId," "),C(1),G("ngIf",!b.showCopyOptions),C(1),G("ngIf",b.showCopyOptions))},dependencies:[Wv,Tu,yy,jz,dM,XA,hM,iM],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}.shortcut[_ngcontent-%COMP%]{font-family:WorkAroundWebKitAndMozilla,monospace;padding-left:8px;white-space:nowrap}button.issue-id[_ngcontent-%COMP%]:hover   mat-icon[_ngcontent-%COMP%], button.issue-id[_ngcontent-%COMP%]:focus   mat-icon[_ngcontent-%COMP%]{visibility:visible}button[_ngcontent-%COMP%]{cursor:pointer;border-radius:4px;user-select:text}button[_ngcontent-%COMP%]:hover, button[_ngcontent-%COMP%]:focus{background-color:rgba(0,0,0,.12);background-color:var(--focus-bg)}button.square-left[_ngcontent-%COMP%]{border-left:1px solid;border-left-color:#fff;border-left-color:var(--background)}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 mM=function(){};mM.prototype.ngOnInit=function(){};mM.prototype.onClick=function(a){a.stopPropagation()};mM.\u0275fac=function(a){return new (a||mM)};
mM.\u0275cmp=zc({type:mM,selectors:[["b-issue-id-cell"]],hostBindings:function(a,b){a&1&&O("click",function(c){return b.onClick(c)})},inputs:{id:"id"},decls:2,vars:2,consts:[[3,"isReady"],[3,"issueId","showCopyOptions",4,"ngIf"],[3,"issueId","showCopyOptions"]],template:function(a,b){a&1&&(H(0,"b-async-data-placeholder",0),R(1,fIa,1,2,"b-issue-id-picker",1),J());a&2&&(G("isReady",!!b.id),C(1),G("ngIf",b.id))},dependencies:[CK,Tu,lM],encapsulation:2,changeDetection:0});var nM=function(){this.priority=this.issue=null;this.isDataLoaded=!1};nM.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};nM.\u0275fac=function(a){return new (a||nM)};
nM.\u0275cmp=zc({type:nM,selectors:[["b-issue-priority-cell"]],inputs:{issue:"issue"},features:[Mc],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),R(1,gIa,2,1,"ng-container",1),R(2,hIa,1,0,"ng-template",null,2,of),J());if(a&2){var c=Se(3);G("isReady",b.isDataLoaded);C(1);G("ngIf",b.priority)("ngIfElse",c)}},dependencies:[CK,Tu,vI],encapsulation:2,changeDetection:0});var Ol=function(a){r.call(this,a,0,Ol.messageId)};V(Ol,r);Ol.prototype.getType=function(){return Fh(this,2,0)};Ol.prototype.setType=function(a){return n(this,2,a)};Ol.prototype.hasType=function(){return Vh(this,2)};Ol.prototype.toObject=function(){return fvc(this)};var fvc=function(a){if(null!=a)return t(a),{type:p(m(a,2)),rejectionReason:p(m(a,3))}},gvc=[Ol,2,Nq,3,Nq];Ol.prototype.serializeBinary=u(gvc);Ol.messageId="b.UserEngagement";var Nl=function(a){r.call(this,a,0,Nl.messageId)};V(Nl,r);Nl.prototype.getParent=function(){return mh(this,1)};Nl.prototype.setParent=function(a){return n(this,1,a)};Nl.prototype.toObject=function(){return hvc(this)};var hvc=function(a){if(null!=a)return t(a),{parent:p(m(a,1)),userEngagement:fvc(W(a,Ol,2))}},ivc=[Nl,1,Cq,2,X,gvc];Nl.prototype.serializeBinary=u(ivc);Nl.messageId="b.BatchCreateUserEngagementsRequest";var oM=function(a){r.call(this,a,0,oM.messageId)};V(oM,r);f=oM.prototype;f.getResource=function(){return mh(this,1)};f.setResource=function(a){return n(this,1,a)};f.getType=function(){return Fh(this,2,0)};f.setType=function(a){return n(this,2,a)};f.hasType=function(){return Vh(this,2)};f.setPageSize=function(a){return n(this,4,a)};f.setPageToken=function(a){return n(this,5,a)};
f.toObject=function(){if(null!=this){t(this);var a={resource:p(m(this,1)),type:p(m(this,2)),minConfidence:p(m(this,3)),pageSize:p(Cb(this,4)),pageToken:p(m(this,5)),view:p(m(this,6))}}else a=void 0;return a};f.serializeBinary=u([oM,1,Cq,2,Nq,3,Nq,4,wq,5,Cq,6,Nq]);oM.messageId="b.LookupRecommendationsRequest";var Pl=function(a){r.call(this,a)};V(Pl,r);f=Pl.prototype;f.getName=function(){return mh(this,1)};f.setName=function(a){return n(this,1,a)};f.hasName=function(){return jj(this,1)};f.getNameOrUndefined=function(){return eq(this,1)};f.getSource=function(){return mh(this,2)};f.setSource=function(a){return n(this,2,a)};f.hasSource=function(){return jj(this,2)};f.getSourceOrUndefined=function(){return eq(this,2)};f.getResource=function(){return mh(this,3)};f.setResource=function(a){return n(this,3,a)};
f.getType=function(){return Fh(this,4,0)};f.setType=function(a){return n(this,4,a)};f.hasType=function(){return Vh(this,4)};f.getScore=function(){return Xh(this,6)};f.setScore=function(a){n(this,6,Pa(a))};f.getConfidence=function(){return Fh(this,7,0)};var lIa=[9];Pl.prototype.toObject=function(){return jvc(this)};
var jvc=function(a){if(null!=a)return t(a),{name:p(m(a,1)),source:p(m(a,2)),resource:p(m(a,3)),type:p(m(a,4)),recommendation:p(m(a,5)),score:p(yb(a,6)),confidence:p(m(a,7)),createTime:pr(W(a,ug,8)),recommendedIssue:QD(Fi(a,ii,9,lIa))}},kvc=[Pl,1,Cq,2,Cq,3,Cq,4,Nq,5,Cq,6,iq,7,Nq,8,X,qr,9,Jq,RD,lIa];Pl.prototype.serializeBinary=u(kvc);var pM=function(a){r.call(this,a,0,pM.messageId)};V(pM,r);pM.prototype.getRequestsList=function(){return yg(this,Nl,1)};pM.prototype.setRequestsList=function(a){return Th(this,1,a)};pM.prototype.addAndReturnRequests=function(){return gb(this,1,Nl)};pM.repeatedFields_=[1];pM.prototype.toObject=function(){if(null!=this){t(this);var a={requestsList:Mb(this.getRequestsList(),hvc)}}else a=void 0;return a};pM.prototype.serializeBinary=u([pM,1,Iq,ivc]);pM.messageId="b.BatchCreateUserEngagementsRequest";var qM=function(a){r.call(this,a,0,qM.messageId)};V(qM,r);qM.prototype.getNextPageToken=function(){return mh(this,2)};qM.prototype.getTotalSize=function(){return Wh(this,3)};qM.repeatedFields_=[1];qM.prototype.toObject=function(){if(null!=this){t(this);var a={recommendationsList:Mb(yg(this,Pl,1),jvc),nextPageToken:p(m(this,2)),totalSize:p(m(this,3))}}else a=void 0;return a};qM.prototype.serializeBinary=u([qM,1,Iq,kvc,2,Cq,3,pq]);qM.messageId="b.LookupRecommendationsResponse";var rM=function(a){this.executor=a},lvc=function(a,b){var c=(new oM).setResource(b.resource).setType(cdc[b.type]).setPageSize(b.pageSize).setPageToken(b.pageToken);c=n(c,6,ddc[b.view]);void 0!==b.minConfidence&&n(c,3,Pcc[b.minConfidence]);return a.executor.post({url:"action/recommendations/lookup",body:c,responseConstructor:qM}).pipe(E(pIa))};rM.\u0275fac=function(a){return new (a||rM)(w(BC))};rM.\u0275prov=nc({token:rM,factory:rM.\u0275fac,providedIn:"root"});var sM=function(a){oF.call(this);this.recommendationsService=a;this.recordType="issueRecommendations";this.idForRecord=function(b){return b.issueId+"-"+b.recommendationType};this.isEqual=Fg};V(sM,oF);sM.prototype.fetchOne=function(a){a=mvc(a);var b=a.issueId,c=a.recommendationType;return lvc(this.recommendationsService,{resource:"issues/"+b,type:c,minConfidence:"MEDIUM",pageSize:5,view:"FULL"}).pipe(E(function(d){return{issueId:b,recommendationType:c,recommendations:d.recommendations}}),ce(function(){return(0,F.of)(void 0)}))};
sM.prototype.copy=function(a){return a&&Gg(a)};var mvc=function(a){var b=k(a.split("-"));a=b.next().value;b=b.next().value;return{issueId:a,recommendationType:b}};sM.\u0275fac=function(a){return new (a||sM)(w(rM))};sM.\u0275prov=nc({token:sM,factory:sM.\u0275fac,providedIn:"root"});new Promise(function(){});var tM=function(a,b){this.checker=a;this.document=b},nvc=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?nvc(a,b[c]):null;if(d)return d}return null};tM.\u0275fac=function(a){return new (a||tM)(w(Tv),w(eg))};tM.\u0275prov=nc({token:tM,factory:tM.\u0275fac,providedIn:"root"});var uM=function(a,b){this.elementRef=a;this.interactivityHelper=b};uM.prototype.ngOnInit=function(){};uM.prototype.focus=function(){var a=nvc(this.interactivityHelper,this.elementRef.nativeElement,!0);a&&a.focus()};gg.Object.defineProperties(uM.prototype,{element:{configurable:!0,enumerable:!0,get:function(){return this.elementRef.nativeElement}}});uM.\u0275fac=function(a){return new (a||uM)(D(fd),D(tM))};uM.\u0275dir=Cc({type:uM,selectors:[["tr","row",""]],inputs:{row:"row"}});var vM=function(){};vM.\u0275fac=function(a){return new (a||vM)};vM.\u0275mod=Bc({type:vM});vM.\u0275inj=oc({});var ovc=function(a,b){px.call(this,a);this.directives=a;this.isEqual=b};V(ovc,px);var Tl=function(a,b){var c;return Ld(function(d){if(1==d.nextAddress)return d.yield((0,F.firstValueFrom)(a.directives.changes.pipe(oe(a.directives.toArray()),E(function(e){return e.find(function(g){return a.isEqual(g.row,b)})}),Zd(Boolean),ae(3E3))),2);c=d.yieldResult;nx(a,c);Qd(d)})};var pvc=new Hc("GMAT_LEGACY_TABS_OPTION");var qvc=new Hc("MatInkBarPositioner",{providedIn:"root",factory:function(){return function(a){return{left:a?(a.offsetLeft||0)+"px":"0",width:a?(a.offsetWidth||0)+"px":"0"}}}});var rvc=Of("translateTab",[Rf("center, void, left-origin-center, right-origin-center",Qf({transform:"none"})),Rf("left",Qf({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),Rf("right",Qf({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),Sf("* => left, * => right, left => center, right => center",Pf("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),Sf("void => left-origin-center",[Qf({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),
Pf("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),Sf("void => right-origin-center",[Qf({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),Pf("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])]);var svc=function(a){return{animationDuration:a}},tvc=function(a,b){return{value:a,params:b}},wM=function(a,b,c,d){hw.call(this,a,b,d);this._host=c;this._leavingSub=this._centeringSub=F.Subscription.EMPTY};V(wM,hw);
wM.prototype.ngOnInit=function(){var a=this;hw.prototype.ngOnInit.call(this);this._centeringSub=this._host._beforeCentering.pipe(oe(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()})};wM.prototype.ngOnDestroy=function(){hw.prototype.ngOnDestroy.call(this);this._centeringSub.unsubscribe();this._leavingSub.unsubscribe()};
wM.\u0275fac=function(a){return new (a||wM)(D(Rt),D(ff),D(tc(function(){return xM})),D(eg))};wM.\u0275dir=Cc({type:wM,selectors:[["","matTabBodyHost",""]],features:[xe]});
var yM=function(a,b,c){var d=this;this._elementRef=a;this._dir=b;this._dirChangeSubscription=F.Subscription.EMPTY;this._translateTabComplete=new F.Subject;this._onCentering=new tu;this._beforeCentering=new tu;this._afterLeavingCenter=new tu;this._onCentered=new tu(!0);this.animationDuration="500ms";this.preserveContent=!1;b&&(this._dirChangeSubscription=b.change.subscribe(function(e){d._computePositionAnimationState(e);c.markForCheck()}));this._translateTabComplete.pipe(fe(function(e,g){return e.fromState===
g.fromState&&e.toState===g.toState})).subscribe(function(e){d._isCenterPosition(e.toState)&&d._isCenterPosition(d._position)&&d._onCentered.emit();d._isCenterPosition(e.fromState)&&!d._isCenterPosition(d._position)&&d._afterLeavingCenter.emit()})};f=yM.prototype;f.ngOnInit=function(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))};f.ngOnDestroy=function(){this._dirChangeSubscription.unsubscribe();this._translateTabComplete.complete()};
f._onTranslateTabStarted=function(a){a=this._isCenterPosition(a.toState);this._beforeCentering.emit(a);a&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)};f._getLayoutDirection=function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"};f._isCenterPosition=function(a){return"center"==a||"left-origin-center"==a||"right-origin-center"==a};
f._computePositionAnimationState=function(a){a=void 0===a?this._getLayoutDirection():a;this._position=0>this._positionIndex?"ltr"==a?"left":"right":0<this._positionIndex?"ltr"==a?"right":"left":"center"};f._computePositionFromOrigin=function(a){var b=this._getLayoutDirection();return"ltr"==b&&0>=a||"rtl"==b&&0<a?"left-origin-center":"right-origin-center"};gg.Object.defineProperties(yM.prototype,{position:{configurable:!0,enumerable:!0,set:function(a){this._positionIndex=a;this._computePositionAnimationState()}}});
yM.\u0275fac=function(a){return new (a||yM)(D(fd),D(qx,8),D(Lu))};yM.\u0275dir=Cc({type:yM,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}});var xM=function(a,b,c){yM.call(this,a,b,c)};V(xM,yM);xM.\u0275dir=yM.\u0275dir;
xM.\u0275fac=function(a){return new (a||xM)(D(fd),D(qx,8),D(Lu))};
xM.\u0275cmp=zc({type:xM,selectors:[["mat-tab-body"]],viewQuery:function(a,b){a&1&&jf(hw,5);if(a&2){var c;hf(c=lf())&&(b._portalHost=c.first)}},hostAttrs:[1,"mat-mdc-tab-body"],features:[xe],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),O("@translateTab.start",function(c){return b._onTranslateTabStarted(c)})("@translateTab.done",function(c){return b._translateTabComplete.next(c)}),R(2,rIa,
0,0,"ng-template",2),J());a&2&&G("@translateTab",$e(3,tvc,b._position,Ze(1,svc,b.animationDuration)))},dependencies:[wM],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:[rvc]}});var uvc=new Hc("MatTabContent");var vvc=new Hc("MAT_TABS_CONFIG");var wvc=Cf({passive:!0}),zM=function(a,b,c,d,e,g,h){var l=this;this._elementRef=a;this._changeDetectorRef=b;this._viewportRuler=c;this._dir=d;this._ngZone=e;this._platform=g;this._animationMode=h;this._scrollDistance=0;this._selectedIndexChanged=!1;this._destroyed=new F.Subject;this._showPaginationControls=!1;this._disableScrollBefore=this._disableScrollAfter=!0;this._stopScrolling=new F.Subject;this._disablePagination=!1;this._selectedIndex=0;this.selectFocusedIndex=new tu;this.indexFocused=new tu;
e.runOutsideAngular(function(){(0,F.fromEvent)(a.nativeElement,"mouseleave").pipe(qe(l._destroyed)).subscribe(function(){l._stopInterval()})})};f=zM.prototype;f.ngAfterViewInit=function(){var a=this;(0,F.fromEvent)(this._previousPaginator.nativeElement,"touchstart",wvc).pipe(qe(this._destroyed)).subscribe(function(){a._handlePaginatorPress("before")});(0,F.fromEvent)(this._nextPaginator.nativeElement,"touchstart",wvc).pipe(qe(this._destroyed)).subscribe(function(){a._handlePaginatorPress("after")})};
f.ngAfterContentInit=function(){var a=this,b=this._dir?this._dir.change:(0,F.of)("ltr"),c=this._viewportRuler.change(150),d=function(){a.updatePagination();a._alignInkBarToSelectedTab()};this._keyManager=B0b(jx(mx(lx(new px(this._items),this._getLayoutDirection()))),function(){return!1});nx(this._keyManager,this._selectedIndex);this._ngZone.onStable.pipe(ge()).subscribe(d);(0,F.merge)(b,c,this._items.changes,this._itemsResized()).pipe(qe(this._destroyed)).subscribe(function(){a._ngZone.run(function(){Promise.resolve().then(function(){a._scrollDistance=
Math.max(0,Math.min(a._getMaxScrollDistance(),a._scrollDistance));d()})});lx(a._keyManager,a._getLayoutDirection())});this._keyManager.change.subscribe(function(e){a.indexFocused.emit(e);a._setTabFocus(e)})};
f._itemsResized=function(){var a=this;return"function"!==typeof ResizeObserver?F.EMPTY:this._items.changes.pipe(oe(this._items),pe(function(b){return new F.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()}})})}),zka(1),Zd(function(b){return b.some(function(c){return 0<c.contentRect.width&&0<c.contentRect.height})}))};
f.ngAfterContentChecked=function(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck());this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck());this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())};
f.ngOnDestroy=function(){var a;null==(a=this._keyManager)||a.destroy();this._destroyed.next();this._destroyed.complete();this._stopScrolling.complete()};f._handleKeydown=function(a){if(!If(a))switch(a.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){var b=this._items.get(this.focusIndex);b&&!b.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(a))}break;default:this._keyManager.onKeydown(a)}};
f._onContentChanges=function(){var a=this,b=this._elementRef.nativeElement.textContent;b!==this._currentTextContent&&(this._currentTextContent=b||"",this._ngZone.run(function(){a.updatePagination();a._alignInkBarToSelectedTab();a._changeDetectorRef.markForCheck()}))};f.updatePagination=function(){this._checkPaginationEnabled();this._checkScrollingControls();this._updateTabScrollPosition()};f._isValidIndex=function(a){return this._items?!!this._items.toArray()[a]:!0};
f._setTabFocus=function(a){this._showPaginationControls&&this._scrollToLabel(a);this._items&&this._items.length&&(this._items.toArray()[a].focus(),a=this._tabListContainer.nativeElement,a.scrollLeft="ltr"==this._getLayoutDirection()?0:a.scrollWidth-a.offsetWidth)};f._getLayoutDirection=function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"};
f._updateTabScrollPosition=function(){if(!this.disablePagination){var a=this.scrollDistance;this._tabList.nativeElement.style.transform="translateX("+Math.round("ltr"===this._getLayoutDirection()?-a:a)+"px)";if(this._platform.TRIDENT||this._platform.EDGE)this._tabListContainer.nativeElement.scrollLeft=0}};f._scrollHeader=function(a){return this._scrollTo(this._scrollDistance+("before"==a?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)};
f._handlePaginatorClick=function(a){this._stopInterval();this._scrollHeader(a)};
f._scrollToLabel=function(a){if(!this.disablePagination){var b=this._items?this._items.toArray()[a]:null;if(b){a=this._tabListContainer.nativeElement.offsetWidth;var c=b.elementRef.nativeElement;b=c.offsetLeft;var d=c.offsetWidth;"ltr"==this._getLayoutDirection()?c=b+d:(c=this._tabListInner.nativeElement.offsetWidth-b,b=c-d);d=this.scrollDistance;a=this.scrollDistance+a;b<d?this.scrollDistance-=d-b:c>a&&(this.scrollDistance+=Math.min(c-a,b-d))}}};
f._checkPaginationEnabled=function(){if(this.disablePagination)this._showPaginationControls=!1;else{var a=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;a||(this.scrollDistance=0);a!==this._showPaginationControls&&this._changeDetectorRef.markForCheck();this._showPaginationControls=a}};
f._checkScrollingControls=function(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())};f._getMaxScrollDistance=function(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0};
f._alignInkBarToSelectedTab=function(){var a=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null;(a=a?a.elementRef.nativeElement:null)?xvc(this._inkBar,a):this._inkBar.hide()};f._stopInterval=function(){this._stopScrolling.next()};
f._handlePaginatorPress=function(a,b){var c=this;b&&null!=b.button&&0!==b.button||(this._stopInterval(),(0,F.timer)(650,100).pipe(qe((0,F.merge)(this._stopScrolling,this._destroyed))).subscribe(function(){var d=c._scrollHeader(a),e=d.maxScrollDistance;d=d.distance;(0===d||d>=e)&&c._stopInterval()}))};
f._scrollTo=function(a){if(this.disablePagination)return{maxScrollDistance:0,distance:0};var b=this._getMaxScrollDistance();this._scrollDistance=Math.max(0,Math.min(b,a));this._scrollDistanceChanged=!0;this._checkScrollingControls();return{maxScrollDistance:b,distance:this._scrollDistance}};
gg.Object.defineProperties(zM.prototype,{disablePagination:{configurable:!0,enumerable:!0,get:function(){return this._disablePagination},set:function(a){this._disablePagination=Ef(a)}},selectedIndex:{configurable:!0,enumerable:!0,get:function(){return this._selectedIndex},set:function(a){a=Hf(a);this._selectedIndex!=a&&(this._selectedIndexChanged=!0,this._selectedIndex=a,this._keyManager&&nx(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)}}});zM.\u0275fac=function(a){return new (a||zM)(D(fd),D(Lu),D(Ax),D(qx,8),D(te),D(Sv),D(Tt,8))};zM.\u0275dir=Cc({type:zM,inputs:{disablePagination:"disablePagination"}});var yvc=jg(function(){}),AM=function(a){var b=yvc.call(this)||this;b.elementRef=a;return b};V(AM,yvc);AM.prototype.focus=function(){this.elementRef.nativeElement.focus()};AM.\u0275fac=function(a){return new (a||AM)(D(fd))};AM.\u0275dir=Cc({type:AM,features:[xe]});qIa(AM);var BM=function(a,b,c,d,e,g,h){zM.call(this,a,b,c,d,e,g,h);this._disableRipple=!1};V(BM,zM);BM.prototype._itemSelected=function(a){a.preventDefault()};gg.Object.defineProperties(BM.prototype,{disableRipple:{configurable:!0,enumerable:!0,get:function(){return this._disableRipple},set:function(a){this._disableRipple=Ef(a)}}});BM.\u0275fac=function(a){return new (a||BM)(D(fd),D(Lu),D(Ax),D(qx,8),D(te),D(Sv),D(Tt,8))};BM.\u0275dir=Cc({type:BM,inputs:{disableRipple:"disableRipple"},features:[xe]});var zvc=new Hc("MatTabLabel"),Avc=new Hc("MAT_TAB"),CM=function(a,b,c){dw.call(this,a,b);this._closestTab=c};V(CM,gw);CM.\u0275fac=function(a){return new (a||CM)(D(ef),D(ff),D(Avc,8))};CM.\u0275dir=Cc({type:CM,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[Xe([{provide:zvc,useExisting:CM}]),xe]});var Bvc=jg(function(){}),Cvc=new Hc("MAT_TAB_GROUP"),DM=function(a,b){var c=Bvc.call(this)||this;c._viewContainerRef=a;c._closestTabGroup=b;c.textLabel="";c._contentPortal=null;c._stateChanges=new F.Subject;c.position=null;c.origin=null;c.isActive=!1;return c};V(DM,Bvc);DM.prototype.ngOnChanges=function(a){(a.hasOwnProperty("textLabel")||a.hasOwnProperty("disabled"))&&this._stateChanges.next()};DM.prototype.ngOnDestroy=function(){this._stateChanges.complete()};
DM.prototype.ngOnInit=function(){this._contentPortal=new dw(this._explicitContent||this._implicitContent,this._viewContainerRef)};DM.prototype._setTemplateLabelInput=function(a){a&&a._closestTab===this&&(this._templateLabel=a)};gg.Object.defineProperties(DM.prototype,{content:{configurable:!0,enumerable:!0,get:function(){return this._contentPortal}}});DM.\u0275fac=function(a){return new (a||DM)(D(ff),D(Cvc,8))};
DM.\u0275dir=Cc({type:DM,viewQuery:function(a,b){a&1&&jf(ef,7);if(a&2){var c;hf(c=lf())&&(b._implicitContent=c.first)}},inputs:{textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},features:[xe,Mc]});var Dvc=0,Evc=hg(ig(function(a){this._elementRef=a}),"primary"),EM=function(a,b,c,d){a=Evc.call(this,a)||this;a._changeDetectorRef=b;a._animationMode=d;a._tabs=new mf;a._indexToSelect=0;a._lastFocusedTabIndex=null;a._tabBodyWrapperHeight=0;a._tabsSubscription=F.Subscription.EMPTY;a._tabLabelSubscription=F.Subscription.EMPTY;a._dynamicHeight=!1;a._selectedIndex=null;a.headerPosition="above";a._disablePagination=!1;a._preserveContent=!1;a.selectedIndexChange=new tu;a.focusChange=new tu;a.animationDone=
new tu;a.selectedTabChange=new tu(!0);a._groupId=Dvc++;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};V(EM,Evc);f=EM.prototype;
f.ngAfterContentChecked=function(){var a=this,b=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=b){var c=null==this._selectedIndex;if(!c){this.selectedTabChange.emit(this._createChangeEvent(b));var d=this._tabBodyWrapper.nativeElement;d.style.minHeight=d.clientHeight+"px"}Promise.resolve().then(function(){a._tabs.forEach(function(e,g){return e.isActive=g===b});c||(a.selectedIndexChange.emit(b),a._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach(function(e,
g){e.position=g-b;null==a._selectedIndex||0!=e.position||e.origin||(e.origin=b-a._selectedIndex)});this._selectedIndex!==b&&(this._selectedIndex=b,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())};
f.ngAfterContentInit=function(){var a=this;this._subscribeToAllTabChanges();this._subscribeToTabLabels();this._tabsSubscription=this._tabs.changes.subscribe(function(){var b=a._clampTabIndex(a._indexToSelect);if(b===a._selectedIndex){for(var c=a._tabs.toArray(),d,e=0;e<c.length;e++)if(c[e].isActive){a._indexToSelect=a._selectedIndex=e;a._lastFocusedTabIndex=null;d=c[e];break}!d&&c[b]&&Promise.resolve().then(function(){c[b].isActive=!0;a.selectedTabChange.emit(a._createChangeEvent(b))})}a._changeDetectorRef.markForCheck()})};
f._subscribeToAllTabChanges=function(){var a=this;this._allTabs.changes.pipe(oe(this._allTabs)).subscribe(function(b){a._tabs.reset(b.filter(function(c){return c._closestTabGroup===a||!c._closestTabGroup}));gf(a._tabs)})};f.ngOnDestroy=function(){this._tabs.destroy();this._tabsSubscription.unsubscribe();this._tabLabelSubscription.unsubscribe()};f.updatePagination=function(){this._tabHeader&&this._tabHeader.updatePagination()};f._focusChanged=function(a){this._lastFocusedTabIndex=a;this.focusChange.emit(this._createChangeEvent(a))};
f._createChangeEvent=function(a){var b=new Fvc;b.index=a;this._tabs&&this._tabs.length&&(b.tab=this._tabs.toArray()[a]);return b};f._subscribeToTabLabels=function(){var a=this;this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe();this._tabLabelSubscription=F.merge.apply(null,Jc(this._tabs.map(function(b){return b._stateChanges}))).subscribe(function(){return a._changeDetectorRef.markForCheck()})};f._clampTabIndex=function(a){return Math.min(this._tabs.length-1,Math.max(a||0,0))};
f._getTabLabelId=function(a){return"mat-tab-label-"+this._groupId+"-"+a};f._getTabContentId=function(a){return"mat-tab-content-"+this._groupId+"-"+a};f._setTabBodyWrapperHeight=function(a){if(this._dynamicHeight&&this._tabBodyWrapperHeight){var b=this._tabBodyWrapper.nativeElement;b.style.height=this._tabBodyWrapperHeight+"px";this._tabBodyWrapper.nativeElement.offsetHeight&&(b.style.height=a+"px")}};
f._removeTabBodyWrapperHeight=function(){var a=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=a.clientHeight;a.style.height="";this.animationDone.emit()};f._handleClick=function(a,b,c){b.focusIndex=c;a.disabled||(this.selectedIndex=c)};f._getTabIndex=function(a){var b,c=null!=(b=this._lastFocusedTabIndex)?b:this.selectedIndex;return a===c?0:-1};f._tabFocusChanged=function(a,b){a&&"mouse"!==a&&"touch"!==a&&(this._tabHeader.focusIndex=b)};
gg.Object.defineProperties(EM.prototype,{dynamicHeight:{configurable:!0,enumerable:!0,get:function(){return this._dynamicHeight},set:function(a){this._dynamicHeight=Ef(a)}},selectedIndex:{configurable:!0,enumerable:!0,get:function(){return this._selectedIndex},set:function(a){this._indexToSelect=Hf(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=Hf(a,null)}},disablePagination:{configurable:!0,enumerable:!0,get:function(){return this._disablePagination},set:function(a){this._disablePagination=Ef(a)}},preserveContent:{configurable:!0,enumerable:!0,get:function(){return this._preserveContent},set:function(a){this._preserveContent=Ef(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}}});EM.\u0275fac=function(a){return new (a||EM)(D(fd),D(Lu),D(vvc,8),D(Tt,8))};
EM.\u0275dir=Cc({type:EM,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:[xe]});var Fvc=function(){};var Gvc=0,FM=function(a,b,c,d,e,g,h){zM.call(this,a,d,e,b,c,g,h);this._disableRipple=!1;this.color="primary"};V(FM,zM);FM.prototype._itemSelected=function(){};FM.prototype.ngAfterContentInit=function(){var a=this;this._items.changes.pipe(oe(null),qe(this._destroyed)).subscribe(function(){Hvc(a)});zM.prototype.ngAfterContentInit.call(this)};
var Hvc=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()}};FM.prototype._getRole=function(){return this.tabPanel?"tablist":this._elementRef.nativeElement.getAttribute("role")};
gg.Object.defineProperties(FM.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=Ef(a)}}});
FM.\u0275fac=function(a){return new (a||FM)(D(fd),D(qx,8),D(te),D(Lu),D(Ax),D(Sv),D(Tt,8))};FM.\u0275dir=Cc({type:FM,inputs:{backgroundColor:"backgroundColor",disableRipple:"disableRipple",color:"color",tabPanel:"tabPanel"},features:[xe]});
var Ivc=kg(ig(jg(function(){}))),GM=function(a,b,c,d,e,g){var h=Ivc.call(this)||this;h._tabNavBar=a;h.elementRef=b;h._focusMonitor=e;h._isActive=!1;h.id="mat-tab-link-"+Gvc++;h.rippleConfig=c||{};h.tabIndex=parseInt(d)||0;"NoopAnimations"===g&&(h.rippleConfig.animation={enterDuration:0,exitDuration:0});return h};V(GM,Ivc);f=GM.prototype;f.focus=function(){this.elementRef.nativeElement.focus()};f.ngAfterViewInit=function(){this._focusMonitor.monitor(this.elementRef)};f.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this.elementRef)};
f._handleFocus=function(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)};f._handleKeydown=function(a){this._tabNavBar.tabPanel&&32===a.keyCode&&this.elementRef.nativeElement.click()};f._getAriaControls=function(){var a;return this._tabNavBar.tabPanel?null==(a=this._tabNavBar.tabPanel)?void 0:a.id:this.elementRef.nativeElement.getAttribute("aria-controls")};f._getAriaSelected=function(){return this._tabNavBar.tabPanel?this.active?"true":"false":this.elementRef.nativeElement.getAttribute("aria-selected")};
f._getAriaCurrent=function(){return this.active&&!this._tabNavBar.tabPanel?"page":null};f._getRole=function(){return this._tabNavBar.tabPanel?"tab":this.elementRef.nativeElement.getAttribute("role")};f._getTabIndex=function(){return this._tabNavBar.tabPanel?this._isActive&&!this.disabled?0:-1:this.tabIndex};
gg.Object.defineProperties(GM.prototype,{active:{configurable:!0,enumerable:!0,get:function(){return this._isActive},set:function(a){a=Ef(a);a!==this._isActive&&(this._isActive=a,Hvc(this._tabNavBar))}},rippleDisabled:{configurable:!0,enumerable:!0,get:function(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}}});GM.\u0275fac=function(a){return new (a||GM)(D(FM),D(fd),D(D1b,8),$c("tabindex"),D(Zv),D(Tt,8))};
GM.\u0275dir=Cc({type:GM,inputs:{active:"active",id:"id"},features:[xe]});qIa(GM);var HM=function(a,b,c,d){this._elementRef=a;this._ngZone=b;this._inkBarPositioner=c;this._animationMode=d},xvc=function(a,b){a.show();a._ngZone.run(function(){a._ngZone.onStable.pipe(ge()).subscribe(function(){var c=a._inkBarPositioner(b),d=a._elementRef.nativeElement;d.style.left=c.left;d.style.width=c.width})})};HM.prototype.show=function(){this._elementRef.nativeElement.style.visibility="visible"};HM.prototype.hide=function(){this._elementRef.nativeElement.style.visibility="hidden"};
HM.\u0275fac=function(a){return new (a||HM)(D(fd),D(te),D(qvc),D(Tt,8))};HM.\u0275dir=Cc({type:HM,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(a,b){a&2&&Ie("_mat-animation-noopable","NoopAnimations"===b._animationMode)}});var Jvc=function(a){return{animationDuration:a}},Kvc=function(a,b){return{value:a,params:b}},IM=function(a,b,c,d){wM.call(this,a,b,c,d)};V(IM,wM);IM.\u0275fac=function(a){return new (a||IM)(D(Rt),D(ff),D(tc(function(){return JM})),D(eg))};IM.\u0275dir=Cc({type:IM,selectors:[["","matTabBodyHost",""]],features:[xe]});var JM=function(a,b,c){yM.call(this,a,b,c)};V(JM,yM);JM.\u0275dir=yM.\u0275dir;JM.\u0275fac=function(a){return new (a||JM)(D(fd),D(qx,8),D(Lu))};
JM.\u0275cmp=zc({type:JM,selectors:[["mat-tab-body"]],viewQuery:function(a,b){a&1&&jf(hw,5);if(a&2){var c;hf(c=lf())&&(b._portalHost=c.first)}},hostAttrs:[1,"mat-tab-body"],features:[xe],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(a,b){a&1&&(H(0,"div",0,1),O("@translateTab.start",function(c){return b._onTranslateTabStarted(c)})("@translateTab.done",function(c){return b._translateTabComplete.next(c)}),R(2,sIa,0,0,"ng-template",
2),J());a&2&&G("@translateTab",$e(3,Kvc,b._position,Ze(1,Jvc,b.animationDuration)))},dependencies:[IM],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:[rvc]}});var KM=function(){return AM.apply(this,arguments)||this};V(KM,AM);KM.\u0275fac=function(){var a;return function(b){return(a||(a=dd(KM)))(b||KM)}}();KM.\u0275dir=Cc({type:KM,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(a,b){a&2&&(Ae("aria-disabled",!!b.disabled),Ie("mat-tab-disabled",b.disabled))},inputs:{disabled:"disabled"},features:[xe]});var Lvc=["tabListContainer"],Mvc=["tabList"],Nvc=["tabListInner"],Ovc=["nextPaginator"],Pvc=["previousPaginator"],LM=function(a,b,c,d,e,g,h){BM.call(this,a,b,c,d,e,g,h)};V(LM,BM);LM.\u0275dir=BM.\u0275dir;LM.\u0275fac=function(a){return new (a||LM)(D(fd),D(Lu),D(Ax),D(qx,8),D(te),D(Sv),D(Tt,8))};
LM.\u0275cmp=zc({type:LM,selectors:[["mat-tab-header"]],contentQueries:function(a,b,c){a&1&&kf(c,KM,4);if(a&2){var d;hf(d=lf())&&(b._items=d)}},viewQuery:function(a,b){a&1&&(jf(HM,7),jf(Lvc,7),jf(Mvc,7),jf(Nvc,7),jf(Ovc,5),jf(Pvc,5));if(a&2){var c;hf(c=lf())&&(b._inkBar=c.first);hf(c=lf())&&(b._tabListContainer=c.first);hf(c=lf())&&(b._tabList=c.first);hf(c=lf())&&(b._tabListInner=c.first);hf(c=lf())&&(b._nextPaginator=c.first);hf(c=lf())&&(b._previousPaginator=c.first)}},hostAttrs:[1,"mat-tab-header"],
hostVars:4,hostBindings:function(a,b){a&2&&Ie("mat-tab-header-pagination-controls-enabled",b._showPaginationControls)("mat-tab-header-rtl","rtl"==b._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[xe],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&&(Ne(),H(0,"button",0,1),O("click",function(){return b._handlePaginatorClick("before")})("mousedown",function(c){return b._handlePaginatorPress("before",c)})("touchend",function(){return b._stopInterval()}),K(2,"div",2),J(),H(3,"div",3,4),O("keydown",function(c){return b._handleKeydown(c)}),H(5,"div",5,6),O("cdkObserveContent",function(){return b._onContentChanges()}),H(7,"div",7,8),Oe(9),J(),K(10,"mat-ink-bar"),J()(),H(11,"button",
9,10),O("mousedown",function(c){return b._handlePaginatorPress("after",c)})("click",function(){return b._handlePaginatorClick("after")})("touchend",function(){return b._stopInterval()}),K(13,"div",2),J());a&2&&(Ie("mat-tab-header-pagination-disabled",b._disableScrollBefore),G("matRippleDisabled",b._disableScrollBefore||b.disableRipple)("disabled",b._disableScrollBefore||null),C(5),Ie("_mat-animation-noopable","NoopAnimations"===b._animationMode),C(6),Ie("mat-tab-header-pagination-disabled",b._disableScrollAfter),
G("matRippleDisabled",b._disableScrollAfter||b.disableRipple)("disabled",b._disableScrollAfter||null))},dependencies:[Zx,ax,HM],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 MM=function(){var a=DM.apply(this,arguments)||this;a._explicitContent=void 0;return a};V(MM,DM);MM.\u0275dir=DM.\u0275dir;gg.Object.defineProperties(MM.prototype,{templateLabel:{configurable:!0,enumerable:!0,get:function(){return this._templateLabel},set:function(a){this._setTemplateLabelInput(a)}}});MM.\u0275fac=function(){var a;return function(b){return(a||(a=dd(MM)))(b||MM)}}();
MM.\u0275cmp=zc({type:MM,selectors:[["mat-tab"]],contentQueries:function(a,b,c){a&1&&(kf(c,zvc,5),kf(c,uvc,7,ef));if(a&2){var d;hf(d=lf())&&(b.templateLabel=d.first);hf(d=lf())&&(b._explicitContent=d.first)}},inputs:{disabled:"disabled"},exportAs:["matTab"],features:[Xe([{provide:Avc,useExisting:MM}]),xe],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(Ne(),R(0,tIa,1,0,"ng-template"))},encapsulation:2});var Qvc=["tabBodyWrapper"],Rvc=["tabHeader"],NM=function(a,b,c,d){return EM.call(this,a,b,c,d)||this};V(NM,EM);NM.\u0275dir=EM.\u0275dir;NM.\u0275fac=function(a){return new (a||NM)(D(fd),D(Lu),D(vvc,8),D(Tt,8))};
NM.\u0275cmp=zc({type:NM,selectors:[["mat-tab-group"]],contentQueries:function(a,b,c){a&1&&kf(c,MM,5);if(a&2){var d;hf(d=lf())&&(b._allTabs=d)}},viewQuery:function(a,b){a&1&&(jf(Qvc,5),jf(Rvc,5));if(a&2){var c;hf(c=lf())&&(b._tabBodyWrapper=c.first);hf(c=lf())&&(b._tabHeader=c.first)}},hostAttrs:["ngSkipHydration","",1,"mat-tab-group"],hostVars:4,hostBindings:function(a,b){a&2&&Ie("mat-tab-group-dynamic-height",b.dynamicHeight)("mat-tab-group-inverted-header","below"===b.headerPosition)},inputs:{color:"color",
disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[Xe([{provide:Cvc,useExisting:NM}]),xe],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),O("indexFocused",function(c){return b._focusChanged(c)})("selectFocusedIndex",function(c){return b.selectedIndex=c}),R(2,xIa,5,15,"div",2),J(),H(3,"div",3,4),R(5,yIa,1,11,"mat-tab-body",5),J());a&2&&(G("selectedIndex",b.selectedIndex||0)("disableRipple",b.disableRipple)("disablePagination",b.disablePagination),C(2),G("ngForOf",b._tabs),
C(1),Ie("_mat-animation-noopable","NoopAnimations"===b._animationMode),C(2),G("ngForOf",b._tabs))},dependencies:[Ru,Su,Tu,hw,Zx,aw,KM,JM,LM],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 OM=function(){CM.apply(this,arguments)};V(OM,CM);OM.\u0275fac=function(){var a;return function(b){return(a||(a=dd(OM)))(b||OM)}}();OM.\u0275dir=Cc({type:OM,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[Xe([{provide:zvc,useExisting:OM}]),xe]});var Svc=["tabListContainer"],Tvc=["tabList"],Uvc=["tabListInner"],Vvc=["nextPaginator"],Wvc=["previousPaginator"],PM=function(a,b,c,d,e,g,h){FM.call(this,a,b,c,d,e,g,h)};V(PM,FM);PM.\u0275dir=FM.\u0275dir;PM.\u0275fac=function(a){return new (a||PM)(D(fd),D(qx,8),D(te),D(Lu),D(Ax),D(Sv),D(Tt,8))};
PM.\u0275cmp=zc({type:PM,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(a,b,c){a&1&&kf(c,QM,5);if(a&2){var d;hf(d=lf())&&(b._items=d)}},viewQuery:function(a,b){a&1&&(jf(HM,7),jf(Svc,7),jf(Tvc,7),jf(Uvc,7),jf(Vvc,5),jf(Wvc,5));if(a&2){var c;hf(c=lf())&&(b._inkBar=c.first);hf(c=lf())&&(b._tabListContainer=c.first);hf(c=lf())&&(b._tabList=c.first);hf(c=lf())&&(b._tabListInner=c.first);hf(c=lf())&&(b._nextPaginator=c.first);hf(c=lf())&&(b._previousPaginator=c.first)}},hostAttrs:[1,"mat-tab-nav-bar",
"mat-tab-header"],hostVars:11,hostBindings:function(a,b){a&2&&(Ae("role",b._getRole()),Ie("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:[xe],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&&(Ne(),H(0,"button",0,1),O("click",function(){return b._handlePaginatorClick("before")})("mousedown",function(c){return b._handlePaginatorPress("before",c)})("touchend",function(){return b._stopInterval()}),K(2,"div",2),J(),H(3,"div",3,4),O("keydown",function(c){return b._handleKeydown(c)}),H(5,"div",5,6),O("cdkObserveContent",function(){return b._onContentChanges()}),
H(7,"div",7,8),Oe(9),J(),K(10,"mat-ink-bar"),J()(),H(11,"button",9,10),O("mousedown",function(c){return b._handlePaginatorPress("after",c)})("click",function(){return b._handlePaginatorClick("after")})("touchend",function(){return b._stopInterval()}),K(13,"div",2),J());a&2&&(Ie("mat-tab-header-pagination-disabled",b._disableScrollBefore),G("matRippleDisabled",b._disableScrollBefore||b.disableRipple)("disabled",b._disableScrollBefore||null),C(5),Ie("_mat-animation-noopable","NoopAnimations"===b._animationMode),
C(6),Ie("mat-tab-header-pagination-disabled",b._disableScrollAfter),G("matRippleDisabled",b._disableScrollAfter||b.disableRipple)("disabled",b._disableScrollAfter||null))},dependencies:[Zx,ax,HM],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 QM=function(a,b,c,d,e,g,h,l){a=GM.call(this,a,b,e,g,h,l)||this;a._tabLinkRipple=new z1b(a,c,b,d);C1b(a._tabLinkRipple,b.nativeElement);return a};V(QM,GM);QM.prototype.ngOnDestroy=function(){GM.prototype.ngOnDestroy.call(this);this._tabLinkRipple._removeTriggerEvents()};QM.\u0275fac=function(a){return new (a||QM)(D(PM),D(fd),D(te),D(Sv),D(D1b,8),$c("tabindex"),D(Zv),D(Tt,8))};
QM.\u0275dir=Cc({type:QM,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mat-tab-link","mat-focus-indicator"],hostVars:11,hostBindings:function(a,b){a&1&&O("focus",function(){return b._handleFocus()})("keydown",function(c){return b._handleKeydown(c)});a&2&&(Ae("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()),Ie("mat-tab-disabled",
b.disabled)("mat-tab-label-active",b.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matTabLink"],features:[xe]});var RM=function(){};RM.\u0275fac=function(a){return new (a||RM)};RM.\u0275mod=Bc({type:RM});RM.\u0275inj=oc({imports:[gv,Sx,iw,cy,bx,dx,Sx]});var SM=function(a){this.inkBarPositioner=a};SM.prototype.isEnabled=function(){return this.inkBarPositioner===zIa};SM.\u0275fac=function(a){return new (a||SM)(D(qvc))};SM.\u0275dir=Cc({type:SM,selectors:[["","gmat-tabs",""],["mat-tab-group"],["","mat-tab-nav-bar",""]],hostVars:2,hostBindings:function(a,b){a&2&&Ie("gmat-tabs",b.isEnabled())},features:[Xe([{provide:qvc,useFactory:function(a,b,c){return a.nativeElement.hasAttribute("gmat-tabs")||c&&c.enabled?zIa:b},deps:[fd,[new Pt,qvc],[new Ot,pvc]]}])]});var TM=function(a,b){this.context={};b.createEmbeddedView(a,this.context)};gg.Object.defineProperties(TM.prototype,{xapLet:{configurable:!0,enumerable:!0,set:function(a){var b=new Set(AIa(a));if(void 0!==this.context)for(var c=k(AIa(this.context).filter(function(e){return!b.has(e)})),d=c.next();!d.done;d=c.next())delete this.context[d.value];c=k(b);for(d=c.next();!d.done;d=c.next())d=d.value,this.context[d]=a[d];this.context.$implicit=a;this.context.xapLet=a}}});
TM.\u0275fac=function(a){return new (a||TM)(D(ef),D(ff))};TM.\u0275dir=Cc({type:TM,selectors:[["","xapLet",""]],inputs:{xapLet:"xapLet"},standalone:!0});var UM=function(){};UM.\u0275fac=function(a){return new (a||UM)};UM.\u0275mod=Bc({type:UM});UM.\u0275inj=oc({});var Xvc=["input"],Yvc=0,Zvc=function(a,b){this.source=a;this.value=b},$vc=new Hc("MatRadioGroup"),awc=new Hc("mat-radio-default-options",{providedIn:"root",factory:BIa}),VM=function(a){this._changeDetector=a;this._value=null;this._name="mat-radio-group-"+Yvc++;this._selected=null;this._isInitialized=!1;this._labelPosition="after";this._required=this._disabled=!1;this._controlValueAccessorChangeFn=function(){};this.onTouched=function(){};this.change=new tu};f=VM.prototype;
f._checkSelectedRadioButton=function(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)};f.ngAfterContentInit=function(){this._isInitialized=!0};f._touch=function(){if(this.onTouched)this.onTouched()};f._updateRadioButtonNames=function(){var a=this;this._radios&&this._radios.forEach(function(b){b.name=a.name;b._markForCheck()})};
f._updateSelectedRadioFromValue=function(){var a=this,b=null!==this._selected&&this._selected.value===this._value;this._radios&&!b&&(this._selected=null,this._radios.forEach(function(c){c.checked=a.value===c.value;c.checked&&(a._selected=c)}))};f._emitChangeEvent=function(){this._isInitialized&&this.change.emit(new Zvc(this._selected,this._value))};f._markRadiosForCheck=function(){this._radios&&this._radios.forEach(function(a){return a._markForCheck()})};f.writeValue=function(a){this.value=a;this._changeDetector.markForCheck()};
f.registerOnChange=function(a){this._controlValueAccessorChangeFn=a};f.registerOnTouched=function(a){this.onTouched=a};f.setDisabledState=function(a){this.disabled=a;this._changeDetector.markForCheck()};
gg.Object.defineProperties(VM.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=Ef(a);this._markRadiosForCheck()}},required:{configurable:!0,enumerable:!0,get:function(){return this._required},set:function(a){this._required=Ef(a);this._markRadiosForCheck()}}});
VM.\u0275fac=function(a){return new (a||VM)(D(Lu))};VM.\u0275dir=Cc({type:VM,inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required"},outputs:{change:"change"}});
var bwc=ig(kg(function(a){this._elementRef=a})),WM=function(a,b,c,d,e,g,h,l){b=bwc.call(this,b)||this;b._changeDetector=c;b._focusMonitor=d;b._radioDispatcher=e;b._providerOverride=h;b._uniqueId="mat-radio-"+ ++Yvc;b.id=b._uniqueId;b.change=new tu;b._checked=!1;b._value=null;b._removeUniqueSelectionListener=function(){};b.radioGroup=a;b._noopAnimations="NoopAnimations"===g;l&&(b.tabIndex=Hf(l,0));return b};V(WM,bwc);f=WM.prototype;
f.focus=function(a,b){b?$v(this._focusMonitor,this._inputElement,b,a):this._inputElement.nativeElement.focus(a)};f._markForCheck=function(){this._changeDetector.markForCheck()};f.ngOnInit=function(){var a=this;if(this.radioGroup){if(this.checked=this.radioGroup.value===this._value)this.radioGroup.selected=this;this.name=this.radioGroup.name}this._removeUniqueSelectionListener=this._radioDispatcher.listen(function(b,c){b!==a.id&&c===a.name&&(a.checked=!1)})};f.ngDoCheck=function(){this._updateTabIndex()};
f.ngAfterViewInit=function(){var a=this;this._updateTabIndex();this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(b){!b&&a.radioGroup&&a.radioGroup._touch()})};f.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef);this._removeUniqueSelectionListener()};f._emitChangeEvent=function(){this.change.emit(new Zvc(this,this._value))};f._isRippleDisabled=function(){return this.disableRipple||this.disabled};f._onInputClick=function(a){a.stopPropagation()};
f._onInputInteraction=function(a){a.stopPropagation();this.checked||this.disabled||(a=this.radioGroup&&this.value!==this.radioGroup.value,this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),a&&this.radioGroup._emitChangeEvent()))};f._onTouchTargetClick=function(a){this._onInputInteraction(a);this.disabled||this._inputElement.nativeElement.focus()};f._setDisabled=function(a){this._disabled!==a&&(this._disabled=a,this._changeDetector.markForCheck())};
f._updateTabIndex=function(){var a=this.radioGroup;a=a&&a.selected&&!this.disabled?a.selected===this?this.tabIndex:-1:this.tabIndex;if(a!==this._previousTabIndex){var b,c=null==(b=this._inputElement)?void 0:b.nativeElement;c&&(c.setAttribute("tabindex",a+""),this._previousTabIndex=a)}};
gg.Object.defineProperties(WM.prototype,{checked:{configurable:!0,enumerable:!0,get:function(){return this._checked},set:function(a){a=Ef(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(Ef(a))}},
required:{configurable:!0,enumerable:!0,get:function(){return this._required||this.radioGroup&&this.radioGroup.required},set:function(a){this._required=Ef(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"}}});WM.\u0275fac=function(){kd()};
WM.\u0275dir=Cc({type:WM,viewQuery:function(a,b){a&1&&jf(Xvc,5);if(a&2){var c;hf(c=lf())&&(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:[xe]});var cwc=function(a){return{enterDuration:a}},dwc={provide:iv,useExisting:tc(function(){return XM}),multi:!0},XM=function(){VM.apply(this,arguments)};V(XM,VM);XM.\u0275fac=function(){var a;return function(b){return(a||(a=dd(XM)))(b||XM)}}();
XM.\u0275dir=Cc({type:XM,selectors:[["mat-radio-group"]],contentQueries:function(a,b,c){a&1&&kf(c,YM,5);if(a&2){var d;hf(d=lf())&&(b._radios=d)}},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[Xe([dwc,{provide:$vc,useExisting:XM}]),xe]});var YM=function(a,b,c,d,e,g,h,l){return WM.call(this,a,b,c,d,e,g,h,l)||this};V(YM,WM);YM.\u0275dir=WM.\u0275dir;YM.\u0275fac=function(a){return new (a||YM)(D($vc,8),D(fd),D(Lu),D(Zv),D(zx),D(Tt,8),D(awc,8),$c("tabindex"))};
YM.\u0275cmp=zc({type:YM,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(a,b){a&1&&O("focus",function(){return b._inputElement.nativeElement.focus()});a&2&&(Ae("tabindex",null)("id",b.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),Ie("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:[xe],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&&(Ne(),H(0,"label",0,1)(2,"span",2),K(3,"span",3)(4,"span",4),H(5,"input",5,6),O("change",function(d){return b._onInputInteraction(d)})("click",function(d){return b._onInputClick(d)}),J(),H(7,"span",7),K(8,"span",8),J()(),H(9,"span",9)(10,"span",10),S(11,"\u00a0"),J(),Oe(12),J()());if(a&2){var c=Se(1);Ae("for",b.inputId);C(5);
G("id",b.inputId)("checked",b.checked)("disabled",b.disabled)("required",b.required);Ae("name",b.name)("value",b.value)("aria-label",b.ariaLabel)("aria-labelledby",b.ariaLabelledby)("aria-describedby",b.ariaDescribedby);C(2);G("matRippleTrigger",c)("matRippleDisabled",b._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",Ze(17,cwc,b._noopAnimations?0:150));C(2);Ie("mat-radio-label-before","before"==b.labelPosition)}},dependencies:[Zx],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 ewc=["searchInput"],EIa=function(a,b){return{issues:a,tab:b}},fwc={title:"Select an issue.",defaultChoices:[],allowMultipleIds:!1},gwc={SIMILAR_ISSUES:"Similar issues",SEARCH_RESULTS:"Search results",ISSUE_IDS:"Issue IDs"},ZM=function(a,b,c,d,e,g,h,l){kE.call(this);var q=this;this.dialogRef=a;this.initialData=b;this.issueFridge=c;this.issueRecommendationsFridge=d;this.issuePickerSearchService=e;this.analytics=g;this.activeSession=h;this.liveAnnouncer=l;this.data=Object.assign({},fwc,this.initialData);
var v;this.currentComponent=null!=(v=this.data.componentId)?v:void 0;this.currentIssueId$=(0,F.defer)(function(){var y;return"issue"===(null==(y=q.data.currentResource)?void 0:y.type)?(0,F.of)(q.data.currentResource.id):F.NEVER});this.selectedIssues=new IJ;this.tableColumns="single-selection title id priority status duplicateCount votes createdTime".split(" ");this.issueUrlFactory=Gk;this.trackByIssueId=function(y,B){return B.issueId};this.issues$=this.issueFridge.watchSet([]);this.similarIssues$=
this.currentIssueId$.pipe(Zd(function(){return iE(q.activeSession,"enableSimilarIssuesTabInIssuePicker")}),pe(function(y){return q.issueRecommendationsFridge.watch(y+"-ISSUE_DEDUPLICATION",void 0)}),E(function(y){var B;return null==y?void 0:null==(B=y.recommendations)?void 0:B.map(function(I){var N;return null==(N=I.content)?void 0:N.recommendedIssue})}),E(function(y){var B;return null!=(B=null==y?void 0:y.filter(eh))?B:[]}));this.searchText$=new F.BehaviorSubject("");this.searchTextTrimmed$=this.searchText$.pipe(E(function(y){return y.trim()}),
fe());this.idsInSearchText$=this.searchTextTrimmed$.pipe(E(EDa),E(gk),fe(Fg));this.issuesWithIdMatches$=this.idsInSearchText$.pipe(pe(function(y){return q.issueFridge.watchSet(y)}));this.searchResults$=this.searchTextTrimmed$.pipe(de(200),pe(function(y){return q.issuePickerSearchService.search(y,q.data.edgeType,q.data.currentResource,q.currentComponent)}),oe(void 0),ne({bufferSize:1,refCount:!0}));this.idsToAutoSelect$=this.issuesWithIdMatches$.pipe(E(function(y){return 1!==y.length||4>y[0].issueId.length?
[]:[y[0].issueId]}),fe(Fg));this.TABS=gwc;this.visibleTabs$=(0,F.combineLatest)([this.similarIssues$.pipe(oe([])),this.issuesWithIdMatches$.pipe(oe([])),this.searchTextTrimmed$.pipe(oe(void 0))]).pipe(E(function(y){var B=k(y);y=B.next().value;var I=B.next().value;B=B.next().value;return[].concat(Jc(y.length?["Similar issues"]:[]),Jc(B?["Search results"]:[]),Jc(I.length?["Issue IDs"]:[]))}),fe());this.automaticallySelectedTab$=(0,F.combineLatest)([this.searchTextTrimmed$,this.idsToAutoSelect$,this.similarIssues$.pipe(oe([]))]).pipe(E(function(y){y=
k(y);var B=y.next().value,I=y.next().value;y.next();return I.length?"Issue IDs":B?"Search results":"Similar issues"}),fe());this.automaticallySelectedTabIndex$=this.automaticallySelectedTab$.pipe(se(this.visibleTabs$),E(function(y){y=k(y);var B=y.next().value;return y.next().value.indexOf(B)}),fe());this.correctedDisplayedRows=new mf;this.lastSelectionTab="none"};V(ZM,kE);ZM.\u0275dir=kE.\u0275dir;
ZM.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(Puc(this.issuePickerSearchService,this.currentComponent).subscribe())};
ZM.prototype.ngAfterViewInit=function(){this.focusManager=mx(new ovc(this.correctedDisplayedRows,function(a,b){return a.issueId===b.issueId}))};var jJa=function(a,b){var c,d;return Ld(function(e){if(1==e.nextAddress)return e.yield(Rl(),2);c=new Map(a.displayedRows.toArray().map(function(g){return[g.row.issueId,g]}));d=b.map(function(g){return c.get(g.issueId)}).filter(eh);a.correctedDisplayedRows.reset(d);gf(a.correctedDisplayedRows);Qd(e)})};
ZM.prototype.onPressConfirm=function(){var a=this,b,c,d,e,g,h;return Ld(function(l){if(1==l.nextAddress){if(!a.selectedIssues.size)return l.return();b=[].concat(Jc(a.selectedIssues));c={selectedIssueIds:b};a.dialogRef.close(c);d=a.analytics;e=d.trackEvent;g="picked-"+a.data.edgeType;h=a.lastSelectionTab;return l.yield(hwc(a,b[0]),2)}e.call(d,"assistive-issue-picker",g,h,l.yieldResult);Qd(l)})};ZM.prototype.onPressCancel=function(){this.dialogRef.close()};
ZM.prototype.selectIssue=function(a,b){this.selectedIssues.reset([a]);this.lastSelectionTab=b};ZM.prototype.onRowKeydown=function(a,b,c){if(0===a&&"ArrowUp"===c.key)this.inputEl.nativeElement.focus(),c.preventDefault();else this.focusManager.onKeydown(c)};
var hwc=function(a,b){var c,d;return Ld(function(e){if(1==e.nextAddress){if("canonical"!==a.data.edgeType)return e.return(0);c=Set;return e.yield((0,F.firstValueFrom)(Puc(a.issuePickerSearchService,a.currentComponent)),2)}d=new c(e.yieldResult);return e.return(d.has(b)?1:0)})};ZM.\u0275fac=function(a){return new (a||ZM)(D(Iy),D(Ky),D(IH),D(sM),D(WL),D(AH),D(rp),D(cx))};
ZM.\u0275cmp=zc({type:ZM,selectors:[["assistive-issue-picker-dialog"]],viewQuery:function(a,b){a&1&&(jf(ewc,5),jf(uM,5));if(a&2){var c;hf(c=lf())&&(b.inputEl=c.first);hf(c=lf())&&(b.displayedRows=c)}},hostBindings:function(a,b){a&1&&O("keydown.control.enter",function(){return b.onPressConfirm()})("keydown.meta.enter",function(){return b.onPressConfirm()})("keydown.escape",function(){return b.onPressCancel()})},features:[xe],decls:26,vars:19,consts:[["mat-dialog-title",""],[1,"heading","flex-kids-x",
"gap-xxs","align-items-center","padded-s-y"],["svgIcon","merge_type_24px",1,"rotate-180","green"],[1,"search-field","margin-bottom"],["svgIcon","search",1,"icon-m"],["type","search","placeholder","Search by title, contents, or id",3,"keydown.arrowdown","input"],["searchInput",""],["gmat-tabs","",3,"selectedIndex"],["label","Similar issues",4,"ngIf"],["label","Search results",4,"ngIf"],["label","Issue IDs",4,"ngIf"],["issuesTable",""],["mat-dialog-actions",""],["mat-button","",1,"gmat-button","medium",
"cancel",3,"click"],["mat-flat-button","","color","primary",1,"gmat-button","medium","confirm",3,"disabled","click"],["label","Similar issues"],["tab","matTab"],[4,"xapLet"],[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["label","Search results"],["label","Issue IDs"],["mat-dialog-content",""],["mat-table","","class","full-width",3,"dataSource","trackBy","contentChanged",4,"ngIf"],["class","center-text padded",4,"ngIf"],["mat-table","",1,"full-width",3,"dataSource","trackBy","contentChanged"],
["matColumnDef","single-selection"],["mat-header-cell","",4,"matHeaderCellDef"],["aria-label","Select issue",3,"change"],["mat-cell","",4,"matCellDef"],["matColumnDef","title"],["matColumnDef","id"],["matColumnDef","priority"],["matColumnDef","status"],["mat-header-cell","","mat-sort-header","status",4,"matHeaderCellDef"],["matColumnDef","duplicateCount"],["mat-cell","","class","center-text",4,"matCellDef"],["matColumnDef","votes"],["mat-header-cell","","matTooltip","Votes",4,"matHeaderCellDef"],
["matColumnDef","createdTime"],["mat-header-cell","","mat-sort-header","createdTime",4,"matHeaderCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","class","clickable",3,"row","keydown","keydown.enter","focusin","click",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],[1,"a11y-only"],["mat-cell",""],["tabindex","0",3,"checked","aria-label","value"],["anchorTarget","_blank",3,"issue","issueUrlFactory","useButtonToNavigate"],[3,"id"],[3,"issue"],["mat-header-cell","","mat-sort-header",
"status"],["mat-cell","",1,"center-text"],["mat-header-cell","","matTooltip","Votes"],["svgIcon","exposure_plus_1_24px",1,"icon-xs"],["mat-header-cell","","mat-sort-header","createdTime"],["mode","relativepast",3,"issue"],["mat-header-row",""],["mat-row","",1,"clickable",3,"row","keydown","keydown.enter","focusin","click"],[1,"center-text","padded"],["ariaLabel","Loading results",1,"margined","inline-block"],[1,"margined","inline-block"]],template:function(a,b){if(a&1){var c=x();H(0,"div",0)(1,"div",
1);K(2,"mat-icon",2);H(3,"span");S(4,"Close as duplicate of:");J()();H(5,"header",3);K(6,"mat-icon",4);H(7,"input",5,6);O("keydown.arrowdown",function(){return b.focusManager.setActiveItem(0)})("input",function(){z(c);var l=Se(8);return A(b.searchText$.next(l.value))});J()()();H(9,"mat-tab-group",7);T(10,"async");T(11,"async");R(12,HIa,4,3,"mat-tab",8);T(13,"async");R(14,MIa,4,3,"mat-tab",9);T(15,"async");R(16,RIa,4,3,"mat-tab",10);T(17,"async");J();R(18,nJa,4,3,"ng-template",null,11,of);H(20,"div",
12)(21,"button",13);O("click",function(){return b.onPressCancel()});S(22," Cancel ");J();H(23,"button",14);O("click",function(){return b.onPressConfirm()});T(24,"async");S(25," Close as duplicate ");J()()}if(a&2){var d,e,g,h;C(9);Ie("hidden",!(null==(d=U(10,7,b.visibleTabs$))?0:d.length));G("selectedIndex",U(11,9,b.automaticallySelectedTabIndex$));C(3);G("ngIf",null==(e=U(13,11,b.visibleTabs$))?null:e.includes(b.TABS.SIMILAR_ISSUES));C(2);G("ngIf",null==(g=U(15,13,b.visibleTabs$))?null:g.includes(b.TABS.SEARCH_RESULTS));
C(2);G("ngIf",null==(h=U(17,15,b.visibleTabs$))?null:h.includes(b.TABS.ISSUE_IDS));C(7);G("disabled",!U(24,17,b.selectedIssues.size$))}},dependencies:[Tu,Yu,yy,jz,SM,EK,mM,nM,GK,PK,Ny,Oy,Py,XM,YM,FL,xL,BL,yL,wL,CL,zL,AL,DL,EL,NM,MM,XA,SL,uM,TM,Zu],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}[_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 iwc=function(a,b){return[a,b]},$M=function(){this.size=this.name=""};$M.prototype.ngOnInit=function(){};$M.\u0275fac=function(a){return new (a||$M)};
$M.\u0275cmp=zc({type:$M,selectors:[["b-icon"]],inputs:{name:"name",size:"size"},decls:1,vars:5,consts:[[3,"svgIcon","ngClass"]],template:function(a,b){a&1&&K(0,"mat-icon",0);a&2&&G("svgIcon",b.name)("ngClass",$e(2,iwc,b.name,b.size))},dependencies:[Ru,jz],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 aN=function(){this.expandable=this.issue=null;this.expanded=!1;this.level=0;this.expansionChange=new tu;this.title=""};aN.prototype.ngOnChanges=function(){var a,b;this.title=(null==(a=this.issue)?void 0:null==(b=a.snapshot[0])?void 0:b.title)||""};aN.\u0275fac=function(a){return new (a||aN)};
aN.\u0275cmp=zc({type:aN,selectors:[["b-expandable-issue-title-cell"]],inputs:{issue:"issue",expandable:"expandable",expanded:"expanded",level:"level"},outputs:{expansionChange:"expansionChange"},features:[Mc],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),R(1,oJa,2,3,"button",1),R(2,pJa,1,0,"div",2),K(3,"b-issue-title-cell",3),J());a&2&&(He("margin-left",24*b.level,"px"),C(1),G("ngIf",b.expandable),C(1),G("ngIf",!b.expandable),C(1),G("issue",b.issue))},dependencies:[Tu,yy,$M,PK],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 bN=function(){};bN.\u0275fac=function(a){return new (a||bN)};bN.\u0275mod=Bc({type:bN});bN.\u0275inj=oc({imports:[MF]});var cN=function(){};cN.\u0275fac=function(a){return new (a||cN)};cN.\u0275mod=Bc({type:cN});cN.\u0275inj=oc({imports:[dx,PJ,gv,WB,Rx]});var dN=function(){};dN.\u0275fac=function(a){return new (a||dN)};dN.\u0275mod=Bc({type:dN});dN.\u0275inj=oc({imports:[gv]});var eN=function(){};eN.\u0275fac=function(a){return new (a||eN)};eN.\u0275mod=Bc({type:eN});eN.\u0275inj=oc({});var fN=function(){};fN.\u0275fac=function(a){return new (a||fN)};fN.\u0275mod=Bc({type:fN});fN.\u0275inj=oc({imports:[dN,gv,eN,YA]});var gN=function(){};gN.\u0275fac=function(a){return new (a||gN)};gN.\u0275mod=Bc({type:gN});gN.\u0275inj=oc({providers:[aK],imports:[YJ]});/*

 Copyright 2005, 2007 Bob Ippolito. All Rights Reserved.
 Copyright The Closure Library Authors.
 SPDX-License-Identifier: MIT
*/
var hN=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};Cp(hN,qJa);
hN.prototype.cancel=function(a){if(this.fired_)this.result_ instanceof hN&&this.result_.cancel();else{if(this.parent_){var b=this.parent_;delete this.parent_;a?b.cancel(a):(b.branches_--,0>=b.branches_&&b.cancel())}this.onCancelFunction_?this.onCancelFunction_.call(this.defaultScope_,this):this.silentlyCanceled_=!0;this.fired_||this.errback(new jwc(this))}};hN.prototype.continue_=function(a,b){this.blocked_=!1;kwc(this,a,b)};
var kwc=function(a,b,c){a.fired_=!0;a.result_=c;a.hadError_=!b;lwc(a)},nwc=function(a){if(a.fired_){if(!a.silentlyCanceled_)throw new mwc(a);a.silentlyCanceled_=!1}};hN.prototype.callback=function(a){nwc(this);kwc(this,!0,a)};hN.prototype.errback=function(a){nwc(this);kwc(this,!1,a)};hN.prototype.addCallback=function(a,b){return owc(this,a,null,b)};var owc=function(a,b,c,d){a.sequence_.push([b,c,d]);a.fired_&&lwc(a);return a};
hN.prototype.then=function(a,b,c){var d,e,g=new Jz(function(h,l){e=h;d=l});owc(this,e,function(h){h instanceof jwc?g.cancel():d(h);return pwc},this);return g.then(a,b,c)};hN.prototype.$goog_Thenable=!0;hN.prototype.branch=function(a){var b=new hN;owc(this,b.callback,b.errback,b);a&&(b.parent_=this,this.branches_++);return b};hN.prototype.isError=function(a){return a instanceof Error};
var qwc=function(a){return SLb(a.sequence_,function(b){return"function"===typeof b[1]})},pwc={},lwc=function(a){if(a.unhandledErrorId_&&a.fired_&&qwc(a)){var b=a.unhandledErrorId_,c=rwc[b];c&&(ca.clearTimeout(c.id_),delete rwc[b]);a.unhandledErrorId_=0}a.parent_&&(a.parent_.branches_--,delete a.parent_);b=a.result_;for(var d=c=!1;a.sequence_.length&&!a.blocked_;){var e=a.sequence_.shift(),g=e[0],h=e[1];e=e[2];if(g=a.hadError_?h:g)try{var l=g.call(e||a.defaultScope_,b);l===pwc&&(l=void 0);void 0!==
l&&(a.hadError_=a.hadError_&&(l==b||a.isError(l)),a.result_=b=l);if(v4b(b)||"function"===typeof ca.Promise&&b instanceof ca.Promise)d=!0,a.blocked_=!0}catch(q){b=q,a.hadError_=!0,qwc(a)||(c=!0)}}a.result_=b;d&&(l=Ap(a.continue_,a,!0),d=Ap(a.continue_,a,!1),b instanceof hN?(owc(b,l,d),b.blocking_=!0):b.then(l,d));c&&(b=new swc(b),rwc[b.id_]=b,a.unhandledErrorId_=b.id_)},mwc=function(){aa.call(this)};Cp(mwc,aa);mwc.prototype.message="Deferred has already fired";mwc.prototype.name="AlreadyCalledError";
var jwc=function(){aa.call(this)};Cp(jwc,aa);jwc.prototype.message="Deferred was canceled";jwc.prototype.name="CanceledError";var swc=function(a){this.id_=ca.setTimeout(Ap(this.throwError,this),0);this.error_=a};swc.prototype.throwError=function(){delete rwc[this.id_];throw this.error_;};var rwc={};var vJa=function(a,b){var c=b||{};b=c.document||document;var d=qg(a).toString(),e=(new zz(b)).createElement("SCRIPT"),g={script_:e,timeout_:void 0},h=new hN(twc,g),l=null,q=null!=c.timeout?c.timeout:5E3;0<q&&(l=window.setTimeout(function(){uwc(e,!0);h.errback(new vwc(1,"Timeout reached for loading script "+d))},q),g.timeout_=l);e.onload=e.onreadystatechange=function(){e.readyState&&"loaded"!=e.readyState&&"complete"!=e.readyState||(uwc(e,c.cleanupWhenDone||!1,l),h.callback(null))};e.onerror=function(){uwc(e,
!0,l);h.errback(new vwc(0,"Error while loading script "+d))};g=c.attributes||{};Gda(g,{type:"text/javascript",charset:"UTF-8"});W3b(e,g);bVb(e,a);wwc(b).appendChild(e);return h},wwc=function(a){var b=Bz("HEAD",a);return b&&0!==b.length?b[0]:a.documentElement},twc=function(){if(this&&this.script_){var a=this.script_;a&&"SCRIPT"==a.tagName&&uwc(a,!0,this.timeout_)}},uwc=function(a,b,c){null!=c&&ca.clearTimeout(c);a.onload=function(){};a.onerror=function(){};a.onreadystatechange=function(){};b&&window.setTimeout(function(){Fz(a)},
0)},vwc=function(a,b){var c="Jsloader error (code #"+a+")";b&&(c+=": "+b);aa.call(this,c);this.code=a};Cp(vwc,aa);var rJa=null,xJa=new WeakMap;var iN=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,F.defer)(function(){return tJa().then(function(g){g=g||window.gapi;e.setGapiConfig(g);return zJa(g,{apiKey:e.gapiKey,clientId:e.gapiAuthParams.clientId,scope:e.gapiAuthParams.scope}).then(function(){return g})})})};V(iN,Boc);
iN.prototype.makeRequest=function(a){var b=this;return this.gapi.pipe(Vd(function(c){var d=(0,F.of)(void 0);void 0!==b.gapiAuthParams.minAuthTokenTimeRemaining&&(d=(0,F.from)(yJa(c,b.gapiAuthParams.minAuthTokenTimeRemaining)));return d.pipe(Vd(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}))}))}))};
iN.prototype.parseResponse=function(a){return new F.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)})})};iN.prototype.setGapiConfig=function(a){for(var b in this.gapiConfigUpdates)this.gapiConfigUpdates.hasOwnProperty(b)&&wJa(a,b,this.gapiConfigUpdates[b])};var xwc=function(a,b,c,d,e){d=void 0===d?{}:d;e=void 0===e?{}:e;iN.call(this,a,c,d,e);this.waldoApiKey=b};V(xwc,iN);xwc.prototype.makeRequest=function(a){var b=iN.prototype.makeRequest,c=b.call;(a.queryParams||(a.queryParams={})).key=this.waldoApiKey;return c.call(b,this,a)};var VKb=function(a){this.proxiedService=a};V(VKb,Boc);VKb.prototype.makeRequest=function(a){var b=this;return(0,F.defer)(function(){return b.proxiedService.makeRequest(a)})};var ywc=new Hc("environment"),zwc={"client/cors":!0,"googleapis.config/auth/useFirstPartyAuth":!0,"googleapis.config/auth/useFirstPartyAuthV2":!0},jN=function(){};jN.\u0275fac=function(a){return new (a||jN)};jN.\u0275mod=Bc({type:jN});jN.\u0275inj=oc({imports:[gv,EI]});var kN=function(){};kN.\u0275fac=function(a){return new (a||kN)};kN.\u0275mod=Bc({type:kN});kN.\u0275inj=oc({imports:[gv,gN,fN,jN]});var lN=function(){};lN.\u0275fac=function(a){return new (a||lN)};lN.\u0275mod=Bc({type:lN});lN.\u0275inj=oc({imports:[MF,kN,cN]});var mN=function(){};mN.\u0275fac=function(a){return new (a||mN)};mN.\u0275mod=Bc({type:mN});mN.\u0275inj=oc({imports:[MF]});var nN=function(){};nN.\u0275fac=function(a){return new (a||nN)};nN.\u0275mod=Bc({type:nN});nN.\u0275inj=oc({imports:[dx,MF,fM,WB,YA,zC,jM]});var Awc=["theInput"],oN=function(){this.placeholder=this.value="";this.readonly=!1;this.autoFocus=!0;this.valueChange=new tu;this.commit=new tu};oN.prototype.ngAfterViewInit=function(){this.autoFocus&&this.input.nativeElement.focus()};oN.\u0275fac=function(a){return new (a||oN)};
oN.\u0275cmp=zc({type:oN,selectors:[["b-text-input-cell"]],viewQuery:function(a,b){a&1&&jf(Awc,5);if(a&2){var c;hf(c=lf())&&(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),O("keydown.enter",function(c){b.readonly||b.commit.emit(c)})("ngModelChange",
function(c){return b.valueChange.emit(c)}),J());a&2&&(Ie("readonly",b.readonly)("override",b.readonly),G("placeholder",b.placeholder)("disabled",b.readonly)("ngModel",b.value))},dependencies:[Af,tv,zv],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 pN=function(){};pN.\u0275fac=function(a){return new (a||pN)};pN.\u0275mod=Bc({type:pN});pN.\u0275inj=oc({imports:[MF,YA,MG,WB]});var qN=function(){};qN.\u0275fac=function(a){return new (a||qN)};qN.\u0275mod=Bc({type:qN});qN.\u0275inj=oc({imports:[MF,YA,cN,pN]});var rN=function(){};rN.\u0275fac=function(a){return new (a||rN)};rN.\u0275mod=Bc({type:rN});rN.\u0275inj=oc({imports:[MF,cN,WB]});var sN=function(){IG.apply(this,arguments)};V(sN,IG);gg.Object.defineProperties(sN.prototype,{routerLinkObj:{configurable:!0,enumerable:!0,set:function(a){this.queryParams=a.queryParams;this.routerLink=a.path;this.fragment=a.fragment}}});sN.\u0275fac=function(){var a;return function(b){return(a||(a=dd(sN)))(b||sN)}}();sN.\u0275dir=Cc({type:sN,selectors:[["a","routerLinkObj",""],["area","routerLinkObj",""]],inputs:{routerLinkObj:"routerLinkObj"},features:[xe]});var tN=function(){};
tN.\u0275fac=function(a){return new (a||tN)};tN.\u0275mod=Bc({type:tN});tN.\u0275inj=oc({imports:[MF,MG]});var uN=function(){};uN.\u0275fac=function(a){return new (a||uN)};uN.\u0275mod=Bc({type:uN});uN.\u0275inj=oc({imports:[MF]});var vN=function(){};vN.\u0275fac=function(a){return new (a||vN)};vN.\u0275mod=Bc({type:vN});vN.\u0275inj=oc({imports:[MF,YA]});var wN=function(){};wN.\u0275fac=function(a){return new (a||wN)};wN.\u0275mod=Bc({type:wN});wN.\u0275inj=oc({imports:[uN,HJ,MF,bN,Qv,vN,nN,mN,WB,YA,lN,tN,MG,qN,rN]});var xN=function(){};xN.\u0275fac=function(a){return new (a||xN)};xN.\u0275mod=Bc({type:xN});xN.\u0275inj=oc({imports:[Sx,gv,Sx]});var yN=function(){};yN.\u0275fac=function(a){return new (a||yN)};yN.\u0275mod=Bc({type:yN});yN.\u0275inj=oc({imports:[MF,xN]});var zN=function(){};zN.\u0275fac=function(a){return new (a||zN)};zN.\u0275mod=Bc({type:zN});zN.\u0275inj=oc({imports:[gv,RM]});var AN=function(){};AN.\u0275fac=function(a){return new (a||AN)};AN.\u0275mod=Bc({type:AN});AN.\u0275inj=oc({imports:[cy,Sx,Sx]});var BN=function(){cL.apply(this,arguments)};V(BN,cL);BN.\u0275fac=function(){var a;return function(b){return(a||(a=dd(BN)))(b||BN)}}();BN.\u0275dir=Cc({type:BN,selectors:[["","matCellDef",""]],features:[Xe([{provide:cL,useExisting:BN}]),xe]});var CN=function(){dL.apply(this,arguments)};V(CN,dL);CN.\u0275fac=function(){var a;return function(b){return(a||(a=dd(CN)))(b||CN)}}();CN.\u0275dir=Cc({type:CN,selectors:[["","matHeaderCellDef",""]],features:[Xe([{provide:dL,useExisting:CN}]),xe]});
var DN=function(){return eL.apply(this,arguments)||this};V(DN,eL);DN.prototype._updateColumnCssClassName=function(){eL.prototype._updateColumnCssClassName.call(this);this._columnCssClassName.push("mat-column-"+this.cssClassFriendlyName)};gg.Object.defineProperties(DN.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return this._name},set:function(a){this._setNameInput(a)}}});DN.\u0275fac=function(){var a;return function(b){return(a||(a=dd(DN)))(b||DN)}}();
DN.\u0275dir=Cc({type:DN,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[Xe([{provide:eL,useExisting:DN},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:DN}]),xe]});var EN=function(){fL.apply(this,arguments)};V(EN,fL);EN.\u0275fac=function(){var a;return function(b){return(a||(a=dd(EN)))(b||EN)}}();
EN.\u0275dir=Cc({type:EN,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[xe]});var FN=function(){gL.apply(this,arguments)};V(FN,gL);FN.\u0275fac=function(){var a;return function(b){return(a||(a=dd(FN)))(b||FN)}}();FN.\u0275dir=Cc({type:FN,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[xe]});var GN=function(){return jL.apply(this,arguments)||this};V(GN,jL);GN.\u0275fac=function(){var a;return function(b){return(a||(a=dd(GN)))(b||GN)}}();GN.\u0275dir=Cc({type:GN,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[Xe([{provide:jL,useExisting:GN}]),xe]});var HN=function(){lL.apply(this,arguments)};V(HN,lL);HN.\u0275fac=function(){var a;return function(b){return(a||(a=dd(HN)))(b||HN)}}();
HN.\u0275dir=Cc({type:HN,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[Xe([{provide:lL,useExisting:HN}]),xe]});var IN=function(){};V(IN,nL);IN.\u0275fac=function(){var a;return function(b){return(a||(a=dd(IN)))(b||IN)}}();
IN.\u0275cmp=zc({type:IN,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[Xe([{provide:nL,useExisting:IN}]),xe],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Le(0,0)},dependencies:[mL],encapsulation:2});var JN=function(){};V(JN,oL);JN.\u0275fac=function(){var a;return function(b){return(a||(a=dd(JN)))(b||JN)}}();
JN.\u0275cmp=zc({type:JN,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[Xe([{provide:oL,useExisting:JN}]),xe],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(a){a&1&&Le(0,0)},dependencies:[mL],encapsulation:2});var Bwc=[[["caption"]],[["colgroup"],["col"]]],KN=function(){tL.apply(this,arguments);this.stickyCssClass="mat-mdc-table-sticky";this.needsPositionStickyOnElement=!1};V(KN,tL);KN.prototype.ngOnInit=function(){tL.prototype.ngOnInit.call(this);this._isNativeHtmlTable&&this._elementRef.nativeElement.querySelector("tbody").classList.add("mdc-data-table__content")};KN.\u0275fac=function(){var a;return function(b){return(a||(a=dd(KN)))(b||KN)}}();
KN.\u0275cmp=zc({type:KN,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:["ngSkipHydration","",1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(a,b){a&2&&Ie("mdc-table-fixed-layout",b.fixedLayout)},exportAs:["matTable"],features:[Xe([{provide:tL,useExisting:KN},{provide:bL,useExisting:KN},{provide:luc,useClass:hL},{provide:T0b,useClass:R0b},{provide:suc,useValue:null}]),xe],ngContentSelectors:["caption","colgroup, col"],decls:6,vars:0,consts:[["headerRowOutlet",
""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(a){a&1&&(Ne(Bwc),Oe(0),Oe(1,1),Le(2,0)(3,1)(4,2)(5,3))},dependencies:[pL,qL,rL,sL],styles:[".mdc-data-table{border-radius:var(--mdc-shape-medium, 4px);border-width:1px;border-style:solid}.mdc-data-table .mdc-data-table__header-cell:first-child{border-top-left-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table .mdc-data-table__header-cell:first-child,.mdc-data-table .mdc-data-table__header-cell:first-child[dir=rtl]{border-top-right-radius:var(--mdc-shape-medium, 4px);border-top-left-radius:0}.mdc-data-table .mdc-data-table__header-cell:last-child{border-top-right-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table .mdc-data-table__header-cell:last-child,.mdc-data-table .mdc-data-table__header-cell:last-child[dir=rtl]{border-top-left-radius:var(--mdc-shape-medium, 4px);border-top-right-radius:0}.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:first-child{border-bottom-left-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:first-child,.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:first-child[dir=rtl]{border-bottom-right-radius:var(--mdc-shape-medium, 4px);border-bottom-left-radius:0}.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:last-child{border-bottom-right-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:last-child,.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:last-child[dir=rtl]{border-bottom-left-radius:var(--mdc-shape-medium, 4px);border-bottom-right-radius:0}.mdc-data-table__cell,.mdc-data-table__header-cell{border-bottom-width:1px;border-bottom-style:solid}.mdc-data-table__pagination{border-top-width:1px;border-top-style:solid}.mdc-data-table__row:last-child .mdc-data-table__cell{border-bottom:none}.mdc-data-table__row{height:52px}.mdc-data-table__pagination{min-height:52px}.mdc-data-table__header-row{height:56px}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px 0 16px}.mdc-data-table__header-cell--checkbox,.mdc-data-table__cell--checkbox{padding-left:4px;padding-right:0}[dir=rtl] .mdc-data-table__header-cell--checkbox,[dir=rtl] .mdc-data-table__cell--checkbox,.mdc-data-table__header-cell--checkbox[dir=rtl],.mdc-data-table__cell--checkbox[dir=rtl]{padding-left:0;padding-right:4px}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell,.mdc-data-table__cell[dir=rtl]{text-align:right}.mdc-data-table__cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__cell--numeric,.mdc-data-table__cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__cell--checkbox{width:1px}.mdc-data-table__header-cell{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__header-cell--numeric,.mdc-data-table__header-cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__header-cell--checkbox{width:1px}.mdc-data-table__sort-icon-button{width:28px;height:28px;padding:2px;transform:rotate(0.0001deg);margin-left:4px;margin-right:0;opacity:0}.mdc-data-table__sort-icon-button .mdc-icon-button__focus-ring{max-height:28px;max-width:28px}.mdc-data-table__sort-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:28px;height:28px;margin-top:0px;margin-bottom:0px;margin-right:0px;margin-left:0px}.mdc-data-table__sort-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__focus-ring{max-height:28px;max-width:28px}.mdc-data-table__sort-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:28px;left:50%;width:28px;transform:translate(-50%, -50%)}[dir=rtl] .mdc-data-table__sort-icon-button,.mdc-data-table__sort-icon-button[dir=rtl]{margin-left:0;margin-right:4px}.mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button{margin-left:0;margin-right:4px}[dir=rtl] .mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button,.mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button[dir=rtl]{margin-left:4px;margin-right:0}.mdc-data-table__header-cell--sorted-descending .mdc-data-table__sort-icon-button{transform:rotate(-180deg)}.mdc-data-table__sort-icon-button:focus,.mdc-data-table__header-cell:hover .mdc-data-table__sort-icon-button,.mdc-data-table__header-cell--sorted .mdc-data-table__sort-icon-button{opacity:1}.mdc-data-table__header-cell--with-sort{cursor:pointer}.mdc-data-table__sort-status-label{clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.mdc-data-table--sticky-header .mdc-data-table__header-cell{position:sticky;top:0;z-index:1}.mdc-data-table{-webkit-overflow-scrolling:touch;display:inline-flex;flex-direction:column;box-sizing:border-box;position:relative}.mdc-data-table__table-container{-webkit-overflow-scrolling:touch;overflow-x:auto;width:100%}.mdc-data-table__table{min-width:100%;border:0;white-space:nowrap;border-spacing:0;table-layout:fixed}.mdc-data-table__header-cell{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__header-cell--numeric,.mdc-data-table__header-cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell,.mdc-data-table__cell[dir=rtl]{text-align:right}.mdc-data-table__cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__cell--numeric,.mdc-data-table__cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__pagination{box-sizing:border-box;display:flex;justify-content:flex-end}.mdc-data-table__pagination-trailing{margin-left:4px;margin-right:0;align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-end}[dir=rtl] .mdc-data-table__pagination-trailing,.mdc-data-table__pagination-trailing[dir=rtl]{margin-left:0;margin-right:4px}.mdc-data-table__pagination-navigation{align-items:center;display:flex}.mdc-data-table__pagination-button{margin-left:0;margin-right:4px}[dir=rtl] .mdc-data-table__pagination-button .mdc-button__icon,.mdc-data-table__pagination-button .mdc-button__icon[dir=rtl]{transform:rotate(180deg)}[dir=rtl] .mdc-data-table__pagination-button,.mdc-data-table__pagination-button[dir=rtl]{margin-left:4px;margin-right:0}.mdc-data-table__pagination-total{margin-left:14px;margin-right:36px;white-space:nowrap}[dir=rtl] .mdc-data-table__pagination-total,.mdc-data-table__pagination-total[dir=rtl]{margin-left:36px;margin-right:14px}.mdc-data-table__pagination-rows-per-page{margin-left:0;margin-right:22px;align-items:center;display:inline-flex}[dir=rtl] .mdc-data-table__pagination-rows-per-page,.mdc-data-table__pagination-rows-per-page[dir=rtl]{margin-left:22px;margin-right:0}.mdc-data-table__pagination-rows-per-page-label{margin-left:0;margin-right:12px;white-space:nowrap}[dir=rtl] .mdc-data-table__pagination-rows-per-page-label,.mdc-data-table__pagination-rows-per-page-label[dir=rtl]{margin-left:12px;margin-right:0}.mdc-data-table__pagination-rows-per-page-select{min-width:var(--mdc-menu-min-width, 80px);margin:8px 0}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor{width:100%;min-width:80px}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor{height:36px}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-floating-label--float-above{font-size:.75rem}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-data-table__pagination-rows-per-page-select .mdc-select__dropdown-icon{width:20px;height:20px}.mdc-data-table__pagination-rows-per-page-select.mdc-select--outlined .mdc-select__anchor :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 56px)}.mdc-data-table__pagination-rows-per-page-select .mdc-list-item.mdc-list-item--with-one-line{height:36px}.mdc-data-table__progress-indicator{display:none;position:absolute;width:100%}.mdc-data-table--in-progress .mdc-data-table__progress-indicator{display:block}.mdc-data-table__scrim{background-color:var(--mdc-theme-surface, #fff);height:100%;opacity:.32;position:absolute;top:0;width:100%}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table-sticky{position:sticky !important}.mat-mdc-table{table-layout:auto;white-space:normal}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table .mat-mdc-row:hover,.mat-mdc-table .mat-mdc-footer-row:hover{background-color:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}\n"],
encapsulation:2});var LN=function(){};LN.\u0275fac=function(a){return new (a||LN)};LN.\u0275mod=Bc({type:LN});LN.\u0275inj=oc({imports:[Sx,vL,Sx]});var MN=function(){};MN.\u0275fac=function(a){return new (a||MN)};MN.\u0275mod=Bc({type:MN});MN.\u0275inj=oc({imports:[vL,Sx,Sx]});var NN=function(){};NN.\u0275fac=function(a){return new (a||NN)};NN.\u0275mod=Bc({type:NN});NN.\u0275inj=oc({providers:[{provide:pvc,useValue:{enabled:!0}}],imports:[MF,zN,wN,YA,WB,Qy,AN,MN,RM,zC,yN,vM,UM]});var ON=function(a){var b=this;this.elementRef=a;this.eventType="click";this.clickOutside=new tu;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))}};ON.prototype.ngOnInit=function(){document.addEventListener(this.eventType,this.clickHandler,!0)};
ON.prototype.ngOnDestroy=function(){document.removeEventListener(this.eventType,this.clickHandler,!0)};ON.\u0275fac=function(a){return new (a||ON)(D(fd))};ON.\u0275dir=Cc({type:ON,selectors:[["","clickOutside",""]],inputs:{eventType:["clickOutsideEvent","eventType"]},outputs:{clickOutside:"clickOutside"}});var PN=function(){};PN.\u0275fac=function(a){return new (a||PN)};PN.\u0275mod=Bc({type:PN});PN.\u0275inj=oc({});var QN=function(){};QN.\u0275fac=function(a){return new (a||QN)};QN.\u0275cmp=zc({type:QN,selectors:[["b-glue"]],ngContentSelectors:["*"],decls:2,vars:0,consts:[[1,"no-wrapping"]],template:function(a){a&1&&(Ne(),H(0,"span",0),Oe(1),J())},styles:['.no-wrapping[_ngcontent-%COMP%] {\n  white-space: nowrap;\n}\n\n.no-wrapping[_ngcontent-%COMP%]::after {\n  content: "\\002060"\n}'],changeDetection:0});var Cwc=["el"],RN=function(a,b,c){this.clipboard=a;this.snackBar=b;this.domSafe=c;this.opened=!1};RN.prototype.getNgContentParentEl=function(){return this.el.nativeElement};RN.prototype.hide=function(){this.opened=!1};RN.prototype.copyToClipboard=function(){this.clipboard.copy(this.originalHref);this.snackBar.open("URL copied","",{duration:2E3})};RN.\u0275fac=function(a){return new (a||RN)(D(kM),D(TF),D(rK))};
RN.\u0275cmp=zc({type:RN,selectors:[["b-broken-link"]],viewQuery:function(a,b){a&1&&jf(Cwc,7);if(a&2){var c;hf(c=lf())&&(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&&(Ne(),H(0,"a",0,1),O("click",function(d){d.preventDefault();d.stopPropagation();b.opened=!b.opened}),H(2,"b-glue"),K(3,"mat-icon",2),J(),H(4,"span",null,3),Oe(6),J()(),R(7,AJa,11,3,"ng-template",4));if(a&2){var c=Se(1);C(7);G("cdkConnectedOverlayPush",
!0)("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",b.opened)}},dependencies:[yy,jz,Qx,Px,ON,QN,XA],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 Dwc=new Hc("mat-checkbox-default-options",{providedIn:"root",factory:BJa});var Ewc=["input"],Fwc=["label"],Gwc={provide:iv,useExisting:tc(function(){return SN}),multi:!0},Hwc=function(){},Iwc=0,Jwc=BJa(),Kwc=kg(hg(ig(jg(function(a){this._elementRef=a})))),TN=function(a,b,c,d,e,g,h){b=Kwc.call(this,b)||this;b._changeDetectorRef=c;b._ngZone=d;b._animationMode=g;b._options=h;b.ariaLabel="";b.ariaLabelledby=null;b.labelPosition="after";b.name=null;b.change=new tu;b.indeterminateChange=new tu;b._onTouched=function(){};b._currentAnimationClass="";b._currentCheckState=0;b._controlValueAccessorChangeFn=
function(){};b._checked=!1;b._disabled=!1;b._indeterminate=!1;b._options=b._options||Jwc;b.color=b.defaultColor=b._options.color||Jwc.color;b.tabIndex=parseInt(e)||0;b.id=b._uniqueId=a+ ++Iwc;return b};V(TN,Kwc);f=TN.prototype;f.ngAfterViewInit=function(){this._syncIndeterminate(this._indeterminate)};f._isRippleDisabled=function(){return this.disableRipple||this.disabled};f._onLabelTextChange=function(){this._changeDetectorRef.detectChanges()};f.writeValue=function(a){this.checked=!!a};
f.registerOnChange=function(a){this._controlValueAccessorChangeFn=a};f.registerOnTouched=function(a){this._onTouched=a};f.setDisabledState=function(a){this.disabled=a};
f._transitionCheckState=function(a){var b=this._currentCheckState,c=this._getAnimationTargetElement();if(b!==a&&c&&(this._currentAnimationClass&&c.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(b,a),this._currentCheckState=a,0<this._currentAnimationClass.length)){c.classList.add(this._currentAnimationClass);var d=this._currentAnimationClass;this._ngZone.runOutsideAngular(function(){setTimeout(function(){c.classList.remove(d)},
1E3)})}};f._emitChangeEvent=function(){this._controlValueAccessorChangeFn(this.checked);this.change.emit(this._createChangeEvent(this.checked));this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)};f.toggle=function(){this.checked=!this.checked;this._controlValueAccessorChangeFn(this.checked)};
f._handleInputClick=function(){var a=this,b,c=null==(b=this._options)?void 0:b.clickAction;this.disabled||"noop"===c?this.disabled||"noop"!==c||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==c&&Promise.resolve().then(function(){a._indeterminate=!1;a.indeterminateChange.emit(a._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())};
f._onInteractionEvent=function(a){a.stopPropagation()};f._onBlur=function(){var a=this;Promise.resolve().then(function(){a._onTouched();a._changeDetectorRef.markForCheck()})};
f._getAnimationClassForCheckStateTransition=function(a,b){if("NoopAnimations"===this._animationMode)return"";switch(a){case 0:if(1===b)return this._animationClasses.uncheckedToChecked;if(3==b)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===b?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===b?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;
case 3:return 1===b?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""};f._syncIndeterminate=function(a){var b=this._inputElement;b&&(b.nativeElement.indeterminate=a)};
gg.Object.defineProperties(TN.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=Ef(a)}},checked:{configurable:!0,enumerable:!0,get:function(){return this._checked},set:function(a){a=Ef(a);a!=this.checked&&(this._checked=a,this._changeDetectorRef.markForCheck())}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},
set:function(a){a=Ef(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=Ef(a);b&&(this._indeterminate?this._transitionCheckState(3):this._transitionCheckState(this.checked?1:2),this.indeterminateChange.emit(this._indeterminate));this._syncIndeterminate(this._indeterminate)}}});TN.\u0275fac=function(){kd()};
TN.\u0275dir=Cc({type:TN,viewQuery:function(a,b){a&1&&(jf(Ewc,5),jf(Fwc,5),jf(Zx,5));if(a&2){var c;hf(c=lf())&&(b._inputElement=c.first);hf(c=lf())&&(b._labelElement=c.first);hf(c=lf())&&(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:[xe]});
var SN=function(a,b,c,d,e,g){a=TN.call(this,"mat-mdc-checkbox-",a,b,c,d,e,g)||this;a._animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"};return a};
V(SN,TN);SN.\u0275dir=TN.\u0275dir;f=SN.prototype;f.focus=function(){this._inputElement.nativeElement.focus()};f._createChangeEvent=function(a){var b=new Hwc;b.source=this;b.checked=a;return b};f._getAnimationTargetElement=function(){var a;return null==(a=this._inputElement)?void 0:a.nativeElement};f._onInputClick=function(){TN.prototype._handleInputClick.call(this)};f._onTouchTargetClick=function(){TN.prototype._handleInputClick.call(this);this.disabled||this._inputElement.nativeElement.focus()};
f._preventBubblingFromLabel=function(a){a.target&&this._labelElement.nativeElement.contains(a.target)&&a.stopPropagation()};SN.\u0275fac=function(a){return new (a||SN)(D(fd),D(Lu),D(te),$c("tabindex"),D(Tt,8),D(Dwc,8))};
SN.\u0275cmp=zc({type:SN,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-mdc-checkbox"],hostVars:12,hostBindings:function(a,b){a&2&&(Me("id",b.id),Ae("tabindex",null)("aria-label",null)("aria-labelledby",null),Ie("_mat-animation-noopable","NoopAnimations"===b._animationMode)("mdc-checkbox--disabled",b.disabled)("mat-mdc-checkbox-disabled",b.disabled)("mat-mdc-checkbox-checked",b.checked))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[Xe([Gwc]),
xe],ngContentSelectors:["*"],decls:15,vars:19,consts:[[1,"mdc-form-field",3,"click"],[1,"mdc-checkbox"],["checkbox",""],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","indeterminate","disabled","id","required","tabIndex","blur","click","change"],["input",""],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",
1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"],["label",""]],template:function(a,b){a&1&&(Ne(),H(0,"div",0),O("click",function(d){return b._preventBubblingFromLabel(d)}),H(1,"div",1,2)(3,"div",3),O("click",function(){return b._onTouchTargetClick()}),J(),H(4,"input",4,5),O("blur",function(){return b._onBlur()})("click",function(){return b._onInputClick()})("change",
function(d){return b._onInteractionEvent(d)}),J(),K(6,"div",6),H(7,"div",7),Xc(),H(8,"svg",8),K(9,"path",9),J(),Yc(),K(10,"div",10),J(),K(11,"div",11),J(),H(12,"label",12,13),Oe(14),J()());if(a&2){var c=Se(2);Ie("mdc-form-field--align-end","before"==b.labelPosition);C(4);Ie("mdc-checkbox--selected",b.checked);G("checked",b.checked)("indeterminate",b.indeterminate)("disabled",b.disabled)("id",b.inputId)("required",b.required)("tabIndex",b.tabIndex);Ae("aria-label",b.ariaLabel||null)("aria-labelledby",
b.ariaLabelledby)("aria-describedby",b.ariaDescribedby)("name",b.name)("value",b.value);C(7);G("matRippleTrigger",c)("matRippleDisabled",b.disableRipple||b.disabled)("matRippleCentered",!0);C(1);G("for",b.inputId)}},dependencies:[Zx],styles:['@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mdc-checkbox[hidden]{display:none}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__checkmark{opacity:1}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mdc-checkbox{padding:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2)}.mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:var(--mdc-checkbox-disabled-selected-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}.mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-icon-color);background-color:var(--mdc-checkbox-selected-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-icon-color);background-color:transparent}}.mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}@keyframes mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}}@keyframes mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-hover-icon-color);background-color:var(--mdc-checkbox-selected-hover-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-hover-icon-color);background-color:transparent}}.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF212121FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}@keyframes mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336{0%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}}@keyframes mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336{0%,80%{border-color:var(--mdc-checkbox-selected-pressed-icon-color);background-color:var(--mdc-checkbox-selected-pressed-icon-color)}100%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color);background-color:transparent}}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FFF4433600000000FFF44336}.mdc-checkbox .mdc-checkbox__background{top:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - 18px) / 2)}.mdc-checkbox .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);right:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);left:calc((var(--mdc-checkbox-state-layer-size) - var(--mdc-checkbox-state-layer-size)) / 2);width:var(--mdc-checkbox-state-layer-size);height:var(--mdc-checkbox-state-layer-size)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:focus:not(:checked):not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color)}.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:checked~.mdc-checkbox__background,.mdc-checkbox .mdc-checkbox__native-control:enabled:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color);background-color:var(--mdc-checkbox-selected-focus-icon-color)}.mdc-checkbox:hover .mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox:hover .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-unselected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-unselected-pressed-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-hover-state-layer-opacity);background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-hover-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-focus-state-layer-opacity);background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-focus-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mdc-checkbox__ripple{opacity:var(--mdc-checkbox-selected-pressed-state-layer-opacity);background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}.mdc-checkbox:active .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mdc-checkbox-selected-pressed-state-layer-color)}html{--mdc-checkbox-disabled-selected-checkmark-color:#fff;--mdc-checkbox-selected-focus-state-layer-opacity:0.16;--mdc-checkbox-selected-hover-state-layer-opacity:0.04;--mdc-checkbox-selected-pressed-state-layer-opacity:0.16;--mdc-checkbox-unselected-focus-state-layer-opacity:0.16;--mdc-checkbox-unselected-hover-state-layer-opacity:0.04;--mdc-checkbox-unselected-pressed-state-layer-opacity:0.16}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox .mdc-checkbox__background{-webkit-print-color-adjust:exact;color-adjust:exact}.mat-mdc-checkbox._mat-animation-noopable *,.mat-mdc-checkbox._mat-animation-noopable *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default}.mat-mdc-checkbox label:empty{display:none}.cdk-high-contrast-active .mat-mdc-checkbox.mat-mdc-checkbox-disabled{opacity:.5}.cdk-high-contrast-active .mat-mdc-checkbox .mdc-checkbox__checkmark{--mdc-checkbox-selected-checkmark-color: CanvasText;--mdc-checkbox-disabled-selected-checkmark-color: CanvasText}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}\n'],
encapsulation:2,changeDetection:0});var UN=function(){};UN.\u0275fac=function(a){return new (a||UN)};UN.\u0275mod=Bc({type:UN});UN.\u0275inj=oc({});var Lwc=function(a){return{enterDuration:a}},Mwc=function(){},Nwc={provide:iv,useExisting:tc(function(){return VN}),multi:!0},VN=function(a,b,c,d,e,g,h){a=TN.call(this,"mat-checkbox-",a,b,d,e,g,h)||this;a._focusMonitor=c;a._animationClasses={uncheckedToChecked:"mat-checkbox-anim-unchecked-checked",uncheckedToIndeterminate:"mat-checkbox-anim-unchecked-indeterminate",checkedToUnchecked:"mat-checkbox-anim-checked-unchecked",checkedToIndeterminate:"mat-checkbox-anim-checked-indeterminate",indeterminateToChecked:"mat-checkbox-anim-indeterminate-checked",
indeterminateToUnchecked:"mat-checkbox-anim-indeterminate-unchecked"};return a};V(VN,TN);VN.\u0275dir=TN.\u0275dir;f=VN.prototype;f._createChangeEvent=function(a){var b=new Mwc;b.source=this;b.checked=a;return b};f._getAnimationTargetElement=function(){return this._elementRef.nativeElement};f.ngAfterViewInit=function(){var a=this;TN.prototype.ngAfterViewInit.call(this);this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(b){b||a._onBlur()})};f.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)};
f._onInputClick=function(a){a.stopPropagation();TN.prototype._handleInputClick.call(this)};f.focus=function(a,b){a?$v(this._focusMonitor,this._inputElement,a,b):this._inputElement.nativeElement.focus(b)};VN.\u0275fac=function(a){return new (a||VN)(D(fd),D(Lu),D(Zv),D(te),$c("tabindex"),D(Tt,8),D(Dwc,8))};
VN.\u0275cmp=zc({type:VN,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-checkbox"],hostVars:14,hostBindings:function(a,b){a&2&&(Me("id",b.id),Ae("tabindex",null)("aria-label",null)("aria-labelledby",null),Ie("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:[Xe([Nwc]),xe],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&&(Ne(),H(0,"label",0,1)(2,"span",2)(3,"input",3,4),O("change",
function(e){return b._onInteractionEvent(e)})("click",function(e){return b._onInputClick(e)}),J(),H(5,"span",5),K(6,"span",6),J(),K(7,"span",7),H(8,"span",8),Xc(),H(9,"svg",9),K(10,"path",10),J(),Yc(),K(11,"span",11),J()(),H(12,"span",12,13),O("cdkObserveContent",function(){return b._onLabelTextChange()}),H(14,"span",14),S(15,"\u00a0"),J(),Oe(16),J()());if(a&2){var c=Se(1),d=Se(13);Ae("for",b.inputId);C(2);Ie("mat-checkbox-inner-container-no-side-margin",!d.textContent||!d.textContent.trim());C(1);
G("id",b.inputId)("required",b.required)("checked",b.checked)("disabled",b.disabled)("tabIndex",b.tabIndex);Ae("value",b.value)("name",b.name)("aria-label",b.ariaLabel||null)("aria-labelledby",b.ariaLabelledby)("aria-describedby",b.ariaDescribedby);C(2);G("matRippleTrigger",c)("matRippleDisabled",b._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",Ze(18,Lwc,"NoopAnimations"===b._animationMode?0:150))}},dependencies:[Zx,ax],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 Owc=function(){this.checked=!1};Owc.\u0275fac=function(a){return new (a||Owc)};Owc.\u0275cmp=zc({type:Owc,selectors:[["b-checkbox-widget"]],inputs:{checked:"checked"},decls:1,vars:2,consts:[["gmat-checkbox","",3,"disabled","checked"]],template:function(a,b){a&1&&K(0,"mat-checkbox",0);a&2&&G("disabled",!0)("checked",b.checked)},dependencies:[VN],encapsulation:2,changeDetection:0});var Pwc=["el"],WN=function(a,b,c){kE.call(this);this.domSafe=a;this.clipboard=b;this.snackBar=c;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.opened=!1};V(WN,kE);WN.\u0275dir=kE.\u0275dir;WN.prototype.ngOnInit=function(){};WN.prototype.ngAfterViewInit=function(){var a=this;this.cdkConnectedOverlay.attach.pipe(qe(this.destroyed$)).subscribe(function(){var b=a.cdkConnectedOverlay.overlayRef.overlayElement;b&&(b=b.querySelector("a"))&&b.focus()})};WN.prototype.getNgContentParentEl=function(){return this.el.nativeElement};
var Qwc=function(a){var b=a.getNgContentParentEl(),c,d;if(d=QGa(b))a=a.originalHref,b=null!=(c=b.textContent)?c:"",d=b===a||a.startsWith("mailto:")&&a.substring(7)===b?!0:!1;return!d};WN.prototype.hide=function(){this.opened=!1};var DJa=function(a,b){RGa(b)||(b.preventDefault(),b.stopPropagation(),Wl(a.domSafe,a.href))};WN.prototype.copyToClipboard=function(){this.clipboard.copy(this.originalHref);this.snackBar.open("URL copied","",{duration:2E3})};
var FJa=function(a,b){b.preventDefault();if(a=a.cdkConnectedOverlay.overlayRef.overlayElement){var c=a.querySelector("a");c&&setTimeout(function(){c.focus()})}},EJa=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()})}};WN.\u0275fac=function(a){return new (a||WN)(D(rK),D(kM),D(TF))};
WN.\u0275cmp=zc({type:WN,selectors:[["b-external-hyperlink-widget"]],viewQuery:function(a,b){a&1&&(jf(Pwc,7),jf(Qx,7));if(a&2){var c;hf(c=lf())&&(b.el=c.first);hf(c=lf())&&(b.cdkConnectedOverlay=c.first)}},inputs:{originalHref:"originalHref",href:"href"},features:[xe],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&&(Ne(),H(0,"a",0,1),O("click",function(d){RGa(d)||(d.preventDefault(),d.stopPropagation(),Qwc(b)?
b.opened=!b.opened:DJa(b,d))}),R(2,CJa,2,0,"b-glue",2),H(3,"span",null,3),Oe(5),J()(),R(6,GJa,6,3,"ng-template",4));if(a&2){var c=Se(1);Ie("needs-user-confirm",Qwc(b));G("href",b.originalHref,vd)("rel",b.EXTERNAL_LINK_REL);C(2);G("ngIf",Qwc(b));C(4);G("cdkConnectedOverlayPush",!0)("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",b.opened)}},dependencies:[Tu,yy,jz,Qx,Px,ON,QN,XA],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 XN=function(a){this.codefont$=a.codeFont$};XN.\u0275fac=function(a){return new (a||XN)(w(TI))};XN.\u0275prov=nc({token:XN,factory:XN.\u0275fac,providedIn:"root"});var Rwc=["child"],YN=function(a){this.codefont=a};YN.prototype.ngOnInit=function(){};YN.prototype.ngOnChanges=function(){PGa(this.child.nativeElement,this.content.content)};YN.\u0275fac=function(a){return new (a||YN)(D(XN))};
YN.\u0275cmp=zc({type:YN,selectors:[["b-literal-format-presenter"]],viewQuery:function(a,b){a&1&&jf(Rwc,7);if(a&2){var c;hf(c=lf())&&(b.child=c.first)}},inputs:{content:"content"},features:[Mc],decls:3,vars:4,consts:[[1,"type-m","child"],["child",""]],template:function(a,b){a&1&&(H(0,"div",0,1),T(2,"async"),J());a&2&&Ie("codefont",U(2,2,b.codefont.codefont$))},dependencies:[Zu],styles:[".child[_ngcontent-%COMP%] { white-space: pre-wrap; }"],changeDetection:0});var ZN=function(a,b){this.session=a;this.userPreferencesManager=b;this.textDisplayPreferences$=this.userPreferencesManager.preferences$.pipe(E(function(c){return c.textDisplayPreferences?c.textDisplayPreferences:{}}),fe());this.textDisplayPreferences$.pipe(E(function(c){return c.lastPublishMode===Bgc}),fe());this.commentDisplayOverride$=this.textDisplayPreferences$.pipe(E(function(c){return c.commentDisplayOverride}),fe())};ZN.\u0275fac=function(a){return new (a||ZN)(w(rp),w(TI))};
ZN.\u0275prov=nc({token:ZN,factory:ZN.\u0275fac,providedIn:"root"});var $N=function(){this.isMentioningMe=!1};$N.prototype.ngOnInit=function(){this.username=this.email.replace(/@google.com$/,"")};$N.\u0275fac=function(a){return new (a||$N)};
$N.\u0275cmp=zc({type:$N,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),S(2),J(),H(3,"onedev-hovercard",null,2),K(5,"b-issue-person-card",3),J());if(a&2){var c=Se(4);Ie("me",b.isMentioningMe);G("onedevHovercardTrigger",c);C(2);Te("@",b.username,"");C(3);G("email",b.email)}},dependencies:[tK,QJ,VJ],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 aO=function(a){r.call(this,a,0,aO.messageId)};V(aO,r);f=aO.prototype;f.getUrl=function(){return mh(this,1)};f.setUrl=function(a){return n(this,1,a)};f.hasUrl=function(){return jj(this,1)};f.toObject=function(){if(null!=this){t(this);var a={url:p(m(this,1))}}else a=void 0;return a};f.serializeBinary=u([aO,1,Cq]);aO.messageId="b.ImageRedirectRequest";var bO=function(a){r.call(this,a,0,bO.messageId)};V(bO,r);f=bO.prototype;f.getUrl=function(){return mh(this,1)};f.setUrl=function(a){return n(this,1,a)};f.hasUrl=function(){return jj(this,1)};f.toObject=function(){if(null!=this){t(this);var a={url:p(m(this,1))}}else a=void 0;return a};f.serializeBinary=u([bO,1,Cq]);bO.messageId="b.ImageRedirectResponse";var cO=function(a){this.executor=a},Swc=function(a,b){var c=new aO;c.setUrl(b);return a.executor.post({url:"action/imageRedirect",body:c,responseConstructor:bO}).pipe(E(function(d){return d.getUrl()}))};cO.\u0275fac=function(a){return new (a||cO)(w(BC))};cO.\u0275prov=nc({token:cO,factory:cO.\u0275fac,providedIn:"root"});var dO=function(a){var b=this;this.imageRedirector=a;this.src$=new F.BehaviorSubject("");this.showImage$=new F.BehaviorSubject(!1);this.error$=new F.BehaviorSubject(!1);this.srcTruncated$=this.src$.pipe(E(function(c){var d=c;d=void 0===d?"":d;var e=void 0===e?48:e;c=[].concat(Jc(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,F.combineLatest)([this.src$,this.showImage$]).pipe(Zd(function(c){c=k(c);c.next();return c.next().value}),pe(function(c){var d=k(c).next().value;return(c=Gxa(d))?(0,F.of)(c):Swc(b.imageRedirector,d).pipe(ce(function(){b.error$.next(!0);return d}))}))};dO.prototype.trigger=function(a){a.preventDefault();a.stopPropagation();this.showImage$.next(!0)};
gg.Object.defineProperties(dO.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}}});dO.\u0275fac=function(a){return new (a||dO)(D(cO))};
dO.\u0275cmp=zc({type:dO,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&&(R(0,IJa,3,4,"ng-container",0),T(1,"async"),R(2,JJa,8,9,"ng-template",null,1,of),R(4,KJa,2,3,"ng-template",null,
2,of));if(a&2){var c=Se(5);G("ngIf",!1===U(1,2,b.error$))("ngIfElse",c)}},dependencies:[Tu,jz,XA,QN,Zu],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%}\n/*# sourceMappingURL=secure_image.css.map */"],changeDetection:0});var Twc={HIDE:"HIDE",COLLAPSE:"COLLAPSE",SHOW:"SHOW"},eO=function(a,b){var c=this;this.activeSession=a;this.userPreferencesManager=b;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.DisplayMode=Twc;this.src$=new F.BehaviorSubject("");this.isMarkdownImage$=new F.BehaviorSubject(!1);this.displayMode$=(0,F.combineLatest)([this.src$,this.userPreferencesManager.showInlineImages$,this.isMarkdownImage$]).pipe(E(function(d){var e=k(d);d=e.next().value;var g=e.next().value;e=e.next().value;return d&&
iE(c.activeSession,"enableImageSummary")&&c.activeSession.isInternalSession()?!g&&e?"COLLAPSE":g?"SHOW":"HIDE":"HIDE"}),oe("HIDE"))};gg.Object.defineProperties(eO.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}}});eO.\u0275fac=function(a){return new (a||eO)(D(rp),D(TI))};
eO.\u0275cmp=zc({type:eO,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&&(R(0,NJa,5,5,"ng-container",0),T(1,"async"));a&2&&G("ngIf",U(1,1,b.src$))},dependencies:[Tu,Uu,Vu,dO,Zu],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}\n/*# sourceMappingURL=snipit_image.css.map */"],
changeDetection:0});var Uwc=Symbol(),Vwc=Symbol(),Wwc=Symbol(),Xwc=Symbol(),Ywc=Symbol(),Zwc=Symbol(),fO=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=[]},bxc=function(a,b,c){for(var d=b.querySelectorAll("*"),e=0;e<d.length;e++){var g=d[e],h=g.dataset.bId;h&&(g.id=h)}d=k(b.querySelectorAll("a"));for(e=d.next();!e.done;e=
d.next())if(e=e.value,(h=e.getAttribute("href"))&&Cxa(h)&&e&&QGa(e)&&h===e.textContent&&(g=e.nextSibling,$wc(a,e,h,void 0,c),h=void 0,null!=(h=g)&&h.textContent&&(h=g.textContent.match(/(^[^\w]+)/))))h=h[1],g.textContent=g.textContent.substring(h.length),g=document.createElement("span"),g.textContent=h,e.insertAdjacentElement("afterend",g);d=b.querySelectorAll("*[data-b-widget]");for(e=0;e<d.length;e++)switch(g=d[e],g.dataset.bWidget){case "image":h=a;var l=c,q=g.dataset.bImgSrc,v=g.dataset.bImgRedirectedSrc;
OJa(g);if(q){var y=g.dataset.bImgAlt;if(Cxa(q))$wc(h,g,q,y,l,!0);else if(iE(h.flags.session,"enableMarkdownInlineImages"))g=h.createComponent(dO,g,l),l=g.instance,l.src=q,y&&(l.alt=y),h.secureImageRefs.push(g);else{var B=document.createElement("a");y?B.appendChild(document.createTextNode(y)):B.appendChild(document.createTextNode(q));g.appendChild(B);axc(h,B,q,v||q,l)}}break;case "checkbox":h=a;y=c;q=null!=g.dataset.bCheckboxChecked;OJa(g);g=h.createComponent(Owc,g,y);g.instance.checked=q;h.checkboxRefs.push(g);
break;case "url":h=a;q=c;y=g.dataset.bOriginalHref;l=g.dataset.bRedirectedHref;y&&l&&(g.removeAttribute("href"),axc(h,g,y,l,q));break;case "broken-url":h=a;l=c;if(y=g.dataset.bOriginalHref){q=Array.from(g.childNodes);g=h.createComponent(RN,g,l);l=g.instance;l.originalHref=y;y=l.getNgContentParentEl();q=k(q);for(l=q.next();!l.done;l=q.next())y.appendChild(l.value);h.brokenLinkRefs.push(g)}break;case "mention":a.session.isInternalSession()&&(y=void 0,h=a,l=c,q="","@"===(null==(y=g.textContent)?void 0:
y[0])&&(q=g.textContent.slice(1)),OJa(g),g=h.createComponent($N,g,l),y=g.instance,y.email=q,y.isMentioningMe=h.session.getUserEmail()===q,h.mentionChipRefs.push(g));break;case "issue-reference":B=void 0;h=a;var I=c;q=g.href;y=g.dataset.bIssueId;l=g.dataset.bCommentNumber;if(q&&y){v=Number(l);l=Array.from(g.childNodes);var N=document.createElement("span");null==(B=g.parentNode)||B.insertBefore(N,g);B=h.createComponent(KL,N,I);I=B.instance;I.href=q;I.issueId=y;I.commentNumber=v;q=I.el.nativeElement;
y=k(l);for(l=y.next();!l.done;l=y.next())q.appendChild(l.value);g.remove();h.issueReferenceRefs.push(B)}}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))};fO.prototype.ngOnDestroy=function(){cxc(this)};
var $wc=function(a,b,c,d,e,g){g=void 0===g?!1:g;var h=b;b instanceof HTMLAnchorElement&&(h=document.createElement("span"),b.insertAdjacentElement("afterend",h));b=a.createComponent(eO,h,e);e=b.instance;e.src=c;e.alt=d;e.isMarkdownImage=g;a.snipItImageRefs.push(b)},axc=function(a,b,c,d,e){var g=Array.from(b.childNodes);b=a.createComponent(WN,b,e);e=b.instance;e.originalHref=c;e.href=d;c=e.getNgContentParentEl();g=k(g);for(d=g.next();!d.done;d=g.next())c.appendChild(d.value);a.externalHyperlinkRefs.push(b)};
fO.prototype.createComponent=function(a,b,c){c={environmentInjector:this.appRef.injector,elementInjector:c.injector};a=a[Ac]||null;var d=c.elementInjector||Lfa();c=(new qf(a)).create(d,c.projectableNodes,c.hostElement,c.environmentInjector);b.appendChild(c.location.nativeElement);MXb(this.appRef,c.hostView);this.allComponentRefs.push(c);return c};
var cxc=function(a){for(var b=k(a.allComponentRefs),c=b.next();!c.done;c=b.next())c.value.destroy();a.allComponentRefs=[];a.secureImageRefs=[];a.snipItImageRefs=[];a.mentionChipRefs=[];a.checkboxRefs=[];a.externalHyperlinkRefs=[];a.brokenLinkRefs=[];a.issueReferenceRefs=[]};fO.prototype[Uwc]=function(){return this.secureImageRefs.slice()};fO.prototype[Vwc]=function(){return this.snipItImageRefs.slice()};fO.prototype[Wwc]=function(){return this.checkboxRefs.slice()};fO.prototype[Xwc]=function(){return this.externalHyperlinkRefs.slice()};
fO.prototype[Ywc]=function(){return this.brokenLinkRefs.slice()};fO.prototype[Zwc]=function(){return this.issueReferenceRefs.slice()};fO.\u0275fac=function(a){return new (a||fO)(w(Ju),w(ZN),w(rp))};fO.\u0275prov=nc({token:fO,factory:fO.\u0275fac});var dxc=["child"],exc=Symbol(),gO=function(a,b,c){this.dynamicComponents=a;this.codefont=b;this.viewContainerRef=c};gO.prototype.ngOnInit=function(){};gO.prototype.ngOnChanges=function(){cxc(this.dynamicComponents);var a=this.child.nativeElement;PGa(a,this.content.content);bxc(this.dynamicComponents,a,this.viewContainerRef)};gO.prototype.ngOnDestroy=function(){cxc(this.dynamicComponents)};gO.prototype[exc]=function(){return this.dynamicComponents};
gO.\u0275fac=function(a){return new (a||gO)(D(fO,2),D(XN),D(ff))};
gO.\u0275cmp=zc({type:gO,selectors:[["b-markdown-format-presenter"]],viewQuery:function(a,b){a&1&&jf(dxc,7);if(a&2){var c;hf(c=lf())&&(b.child=c.first)}},inputs:{content:"content"},features:[Xe([{provide:fO,useClass:fO}]),Mc],decls:3,vars:4,consts:[[1,"type-m","markdown-display"],["child",""]],template:function(a,b){a&1&&(H(0,"div",0,1),T(2,"async"),J());a&2&&Ie("codefont",U(2,2,b.codefont.codefont$))},dependencies:[Zu],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 fxc=["child"],gxc=function(){return"[_nghost-%COMP%]     a:visited{color:#7627bb;color:var(--link-visited)}"},hO=function(a){this.codefont=a};hO.prototype.ngOnInit=function(){};hO.\u0275fac=function(a){return new (a||hO)(D(XN))};
hO.\u0275cmp=zc({type:hO,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),T(1,"async"),R(2,PJa,2,1,"ng-container",1),J());a&2&&(Ie("codefont",U(1,3,b.codefont.codefont$)),C(2),G("ngForOf",b.content.plainSection))},dependencies:function(){return[Su,iO,Zu]},styles:[gxc()],changeDetection:0});var iO=function(){};iO.prototype.ngOnInit=function(){};
iO.\u0275fac=function(a){return new (a||iO)};iO.\u0275cmp=zc({type:iO,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&&(L(0),R(1,QJa,1,1,"b-plain-format-quoted-section",0),R(2,RJa,1,1,"b-plain-format-unquoted-section",0),M());a&2&&(C(1),G("ngIf",b.section.isQuoted),C(1),G("ngIf",!b.section.isQuoted))},dependencies:function(){return[Tu,jO,kO]},encapsulation:2,changeDetection:0});
var jO=function(){this.showQuote=!1;hxc++;this.childId="plainFormatQuotedSection"+hxc};jO.prototype.ngOnInit=function(){};jO.prototype.ngOnChanges=function(){SJa(this)};var SJa=function(a){var b=a.child.nativeElement;a.showQuote?PGa(b,a.section.content):OGa(b)};jO.\u0275fac=function(a){return new (a||jO)};
jO.\u0275cmp=zc({type:jO,selectors:[["b-plain-format-quoted-section"]],viewQuery:function(a,b){a&1&&jf(fxc,7);if(a&2){var c;hf(c=lf())&&(b.child=c.first)}},inputs:{section:"section"},features:[Mc],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"),R(1,TJa,2,1,"a",0),R(2,UJa,2,1,"a",1),K(3,"div",2,3),J());a&2&&(C(1),G("ngIf",!b.showQuote),C(1),G("ngIf",b.showQuote),C(1),G("id",b.childId))},dependencies:[Tu],styles:[gxc()],changeDetection:0});var hxc=0,kO=function(a,b){this.dynamicComponents=a;this.viewContainerRef=b};kO.prototype.ngOnInit=function(){};
kO.prototype.ngOnChanges=function(){cxc(this.dynamicComponents);var a=this.child.nativeElement;PGa(a,this.section.content);bxc(this.dynamicComponents,a,this.viewContainerRef)};kO.\u0275fac=function(a){return new (a||kO)(D(fO,2),D(ff))};
kO.\u0275cmp=zc({type:kO,selectors:[["b-plain-format-unquoted-section"]],viewQuery:function(a,b){a&1&&jf(fxc,7);if(a&2){var c;hf(c=lf())&&(b.child=c.first)}},inputs:{section:"section"},features:[Xe([{provide:fO,useClass:fO}]),Mc],decls:2,vars:0,consts:[[1,"child"],["child",""]],template:function(a){a&1&&K(0,"div",0,1)},encapsulation:2,changeDetection:0});var lO=function(){};lO.prototype.ngOnInit=function(){};lO.\u0275fac=function(a){return new (a||lO)};
lO.\u0275cmp=zc({type:lO,selectors:[["b-formatted-comment-presenter"]],inputs:{formattedComment:"formattedComment"},decls:3,vars:3,consts:[[4,"ngIf"],[3,"content"]],template:function(a,b){a&1&&(R(0,VJa,2,1,"ng-container",0),R(1,WJa,2,1,"ng-container",0),R(2,XJa,2,1,"ng-container",0));a&2&&(G("ngIf",b.formattedComment.literalFormat),C(1),G("ngIf",b.formattedComment.markdownFormat),C(1),G("ngIf",b.formattedComment.plainFormat))},dependencies:[Tu,YN,gO,hO],encapsulation:2,changeDetection:0});var mO=function(a){r.call(this,a,0,mO.messageId)};V(mO,r);f=mO.prototype;f.getFormattingMode=function(){return Fh(this,1,0)};f.setFormattingMode=function(a){return n(this,1,a)};f.getSource=function(){return mh(this,2)};f.setSource=function(a){return n(this,2,a)};f.hasSource=function(){return jj(this,2)};f.getSourceOrUndefined=function(){return eq(this,2)};f.getIssueId=function(){return Wh(this,3)};f.setIssueId=function(a){return n(this,3,a)};f.getIdPrefix=function(){return mh(this,4)};
f.setIdPrefix=function(a){return n(this,4,a)};f.setCurrentTrackerId=function(a){n(this,7,a)};f.toObject=function(){if(null!=this){t(this);var a={formattingMode:p(m(this,1)),source:p(m(this,2)),issueId:p(m(this,3)),idPrefix:p(m(this,4)),audience:p(m(this,6)),currentTrackerId:p(m(this,7))}}else a=void 0;return a};f.serializeBinary=u([mO,1,Nq,2,Cq,3,pq,4,Cq,6,Nq,7,mq]);mO.messageId="b.FormatCommentRequest";var nO=function(a){r.call(this,a,0,nO.messageId)};V(nO,r);nO.prototype.getFormattedComment=function(){return W(this,ri,1)};nO.prototype.hasFormattedComment=function(){return qi(this,ri,1)};nO.prototype.getMentionsList=function(){return yg(this,ND,2)};nO.repeatedFields_=[2];nO.prototype.toObject=function(){if(null!=this){t(this);var a={formattedComment:Yec(this.getFormattedComment()),mentionsList:Mb(this.getMentionsList(),Hfc)}}else a=void 0;return a};
nO.prototype.serializeBinary=u([nO,1,X,Zec,2,Iq,Ifc]);nO.messageId="b.FormatCommentResponse";var oO=function(a,b){this.executor=a;this.currentTrackerId=b};oO.prototype.format=function(a){return"LITERAL"===a.formattingMode||""===a.comment.trim()?YJa(a):ixc(this,a).pipe(E(function(b){return b.hasFormattedComment()?tta(b.getFormattedComment()):{}}))};
var jxc=function(a,b){if("LITERAL"===b.formattingMode||""===b.comment.trim())return(0,F.of)([]);var c=new mO;c.setSource(b.comment);var d;c.setIssueId(null!=(d=Zg(b.issueId))?d:0);n(c,6,Rcc[b.audience]);c.setFormattingMode(Cva(b.formattingMode));c.setIdPrefix(b.idPrefix);return ixc(a,b).pipe(E(function(e){return e.getMentionsList().map(function(g){return Ug(g.getMentionedUser())||""})}))},ixc=function(a,b){var c,d=(new mO).setSource(b.comment).setIssueId(null!=(c=Zg(b.issueId))?c:0);b=n(d,6,Rcc[b.audience]).setFormattingMode(Cva(b.formattingMode)).setIdPrefix(b.idPrefix);
(c=a.currentTrackerId.getTrackerId())&&b.setCurrentTrackerId(c);return a.executor.post({url:"action/formatComment",body:b,responseConstructor:nO})};oO.\u0275fac=function(a){return new (a||oO)(w(BC),w(lE))};oO.\u0275prov=nc({token:oO,factory:oO.\u0275fac,providedIn:"root"});var pO=function(a){kE.call(this);var b=this;this.formatter=a;this.issueId="";this.audience="EXTERNAL_AUDIENCE";this.formattingMode="LITERAL";this.params$=new F.ReplaySubject(1);this.formattedResult$=this.params$.pipe(de(200),pe(function(c){return b.formatter.format(c).pipe(kxc,ce(function(){var d={literalFormat:{content:ova(Kf(c.comment))}};return(0,F.of)({formattedComment:d,isFallback:!0})}))}))};V(pO,kE);pO.\u0275dir=kE.\u0275dir;
pO.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()})}))};pO.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()})};
pO.prototype.getIdPrefix=function(){return this.idPrefix||"b"+this.issueId+"-draft"};pO.\u0275fac=function(a){return new (a||pO)(D(oO))};
pO.\u0275cmp=zc({type:pO,selectors:[["b-live-preview"]],inputs:{comment:"comment",comment$:"comment$",issueId:"issueId",audience:"audience",formattingMode:"formattingMode",idPrefix:"idPrefix"},features:[xe,Mc],decls:2,vars:3,consts:[[4,"ngIf"],[1,"md-preview"],[3,"formattedComment"]],template:function(a,b){a&1&&(R(0,ZJa,3,5,"ng-container",0),T(1,"async"));a&2&&G("ngIf",U(1,1,b.formattedResult$))},dependencies:[Tu,lO,Zu],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)}\n/*# sourceMappingURL=live_preview.css.map */"],
changeDetection:0});var kxc=E(function(a){return{formattedComment:a,isFallback:!1}});var qO=function(a,b,c){kE.call(this);var d=this;this.prefs=a;this.flags=b;this.links=c;this.change=new tu;this.checkedSubject=new F.BehaviorSubject(!1);this.mdHelpLink=this.links.session.isInternalSession()?"http://go/buganizer-markdown-quickstart":"https://commonmark.org/help/";this.flags.textDisplayPreferences$.pipe(qe(this.destroyed$)).subscribe(function(e){d.currentTextDisplayPreferences=e});this.flags.commentDisplayOverride$.pipe(qe(this.destroyed$)).subscribe(function(e){d.currentCommentDisplayOverride=
e})};V(qO,kE);qO.\u0275dir=kE.\u0275dir;qO.prototype.ngOnInit=function(){this.checkedSubject.next("MARKDOWN"===this.initialValue)};qO.prototype.ngOnChanges=function(){null!=this.initialValue&&this.checkedSubject.next("MARKDOWN"===this.initialValue)};qO.prototype.save=function(a){a=Object.assign({},this.currentTextDisplayPreferences,a);this.prefs.save({textDisplayPreferences:a}).pipe(qe(this.destroyed$)).subscribe()};qO.\u0275fac=function(a){return new (a||qO)(D(TI),D(ZN),D(NI))};
qO.\u0275cmp=zc({type:qO,selectors:[["b-markdown-toggle"]],inputs:{initialValue:"initialValue"},outputs:{change:"change"},features:[xe,Mc],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),O("change",function(d){var e=b.currentCommentDisplayOverride;d=d.checked?Bgc:e?e:Cgc;b.save({lastPublishMode:d});b.change.emit(Sva(d))}),T(1,"async"),S(2," Markdown "),J(),R(3,$Ja,2,2,"a",1));if(a&2){var c;G("checked",null!==(c=U(1,2,b.checkedSubject))&&void 0!==c?c:!1);C(3);G("ngIf",b.mdHelpLink)}},dependencies:[VN,Tu,zy,jz,XA,Zu],
encapsulation:2,changeDetection:0});var rO=function(a,b){kE.call(this);var c=this;this.appEvents=b;this.init=new tu;this.FormattingMode=Scc;a.textDisplayPreferencesSubject$.pipe(qe(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:og(d.commentDisplayOverride)}})};
V(rO,kE);rO.\u0275dir=kE.\u0275dir;rO.prototype.ngOnInit=function(){};rO.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)};rO.prototype.ngAfterViewInit=function(){this.appEvents.commentRendered.next([this.issueId,this.note.commentNumber]);this.init.next(this)};
rO.\u0275fac=function(a){return new (a||rO)(D(TI),D(cG))};
rO.\u0275cmp=zc({type:rO,selectors:[["b-note-container"]],inputs:{note:"note",issueAccessLevel:"issueAccessLevel",formattingMode:"formattingMode",issueId:"issueId"},outputs:{init:"init"},features:[xe,Mc],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),
R(2,aKa,1,1,"b-formatted-comment-presenter",2),J()(),R(3,bKa,1,5,"ng-template",null,3,of));if(a&2){var c=Se(4);C(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:[Tu,lO,pO],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 sO=function(){};sO.\u0275fac=function(a){return new (a||sO)};sO.\u0275mod=Bc({type:sO});sO.\u0275inj=oc({imports:[MF,cN,lN]});var tO=function(){this.segments=[];this.clickMain=new tu;this.clickSegment=new tu};tO.prototype.ngOnInit=function(){};gg.Object.defineProperties(tO.prototype,{showMoreButton:{configurable:!0,enumerable:!0,get:function(){return 0<this.segments.length}}});tO.\u0275fac=function(a){return new (a||tO)};
tO.\u0275cmp=zc({type:tO,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),O("click",function(){return b.clickMain.emit(b.label)}),K(2,"mat-icon",2),S(3),J(),R(4,dKa,6,2,"ng-container",3),J());a&2&&(C(1),Ie("square-right",b.showMoreButton),Ae("href",b.href||void 0,vd),C(1),G("svgIcon",b.icon),C(1),Te(" ",b.label," "),C(1),G("ngIf",b.showMoreButton))},dependencies:[Su,Tu,yy,zy,jz,PA,NA,OA],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)}\n/*# sourceMappingURL=fab_segmented.css.map */']});var lxc=[tO],uO=function(){};uO.\u0275fac=function(a){return new (a||uO)};uO.\u0275mod=Bc({type:uO});uO.\u0275inj=oc({imports:[MF,WB,QA,YA,zC]});var vO=function(){};vO.prototype.onPressBack=function(){var a;null==(a=window.history)||a.back()};vO.\u0275fac=function(a){return new (a||vO)};
vO.\u0275cmp=zc({type:vO,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),O("click",function(){return b.onPressBack()}),K(2,"mat-icon",2),J()())},dependencies:[yy,jz,XA],styles:[".button-bar[_ngcontent-%COMP%] {\n      height: 46px;\n      box-sizing: border-box;\n    }"]});var wO=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 tu;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=DUb(function(e){d.widthChanged.emit(e);d.events.sidebarWidthChanged.next(e)},400);this.trackKeyboardResizing=DUb(function(){jl(Yl.SIDEBAR,"resizeKeyboard")},2E3)};wO.prototype.ngOnInit=function(){var a=this;this.ngZone.runOutsideAngular(function(){document.addEventListener("mousemove",a.onMousemove)});document.addEventListener("mouseup",this.onMouseup,!0)};
wO.prototype.ngOnDestroy=function(){document.removeEventListener("mousemove",this.onMousemove);document.removeEventListener("mouseup",this.onMouseup,!0)};var mxc=function(a,b){var c=a.width+b;c<a.minSnapWidth&&(c=0>b?0:a.minSnapWidth);a.setWidth(c);a.trackKeyboardResizing()};wO.prototype.toggle=function(){this.setWidth(this.isClosed?this.lastOpenPosition:0)};
wO.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)};
gg.Object.defineProperties(wO.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}}});wO.\u0275fac=function(a){return new (a||wO)(D(wH,2),D(cG),D(te))};
wO.\u0275cmp=zc({type:wO,selectors:[["b-resizable-sidebar"]],hostVars:2,hostBindings:function(a,b){a&2&&Ila(b.direction)},inputs:{minWidth:"minWidth",disableToggleBtn:"disableToggleBtn",hideToggleBtnOnOpen:"hideToggleBtnOnOpen",direction:"direction",size:"size"},outputs:{widthChanged:"widthChanged"},features:[Xe([wH])],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&&(Ne(),H(0,"div",0)(1,"div",1),Oe(2),J(),H(3,"div",2),O("mousedown",function(c){return b.startDragging(c.pageX)})("keyup.arrowleft",
function(){return mxc(b,-10)})("keyup.arrowright",function(){return mxc(b,10)})("keyup.space",function(){return b.toggle()})("keyup.enter",function(){return b.toggle()})("dblclick",function(){return b.toggle()}),J()(),R(4,eKa,2,6,"button",3));a&2&&(He("width",b.width+"px"),Ie("isDragging",b.isDragging)("isClosed",b.isClosed),G("ngClass",b.direction),C(1),He("width",b.lastOpenPosition+"px"),C(2),Ae("aria-valuenow",b.width)("aria-valuetext",b.width+" pixels"),C(1),G("ngIf",!b.disableToggleBtn&&!(b.hideToggleBtnOnOpen&&
!b.isClosed)))},dependencies:[Ru,Tu,yy,jz,XA,xx],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)}\n/*# sourceMappingURL=resizable_sidebar.css.map */'],
changeDetection:0});var nxc=new Hc("intersectionObserverFactory",{factory:function(){return function(a,b){return new IntersectionObserver(a,b)}}}),oxc=new Hc("isScrolledOnScreen",{factory:function(){return{fully:fKa,partially:gKa}}}),xO=function(a,b){this.intersectionObserverBuilder=a;this.isScrolledOnScreen=b};xO.prototype.getObservable=function(a,b){b=void 0===b?!1:b;return null!=window.IntersectionObserver?hKa(a,this.intersectionObserverBuilder,this.isScrolledOnScreen,b):iKa(a,this.isScrolledOnScreen,b)};
var pxc=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(qka(function(g,h){return{cumulativeTime:g.cumulativeTime+(g.wasPreviouslyOnScreen?Date.now()-g.lastTimestamp:0),wasPreviouslyOnScreen:h,lastTimestamp:Date.now()}},d),pe(function(g){if(0===e&&g.wasPreviouslyOnScreen)return(0,F.of)(void 0);
var h=e-g.cumulativeTime;return 0>h?(0,F.of)(void 0):g.wasPreviouslyOnScreen?(0,F.of)(void 0).pipe(ee(h)):F.NEVER}),E(function(){}),ge())};xO.\u0275fac=function(a){return new (a||xO)(w(nxc),w(oxc))};xO.\u0275prov=nc({token:xO,factory:xO.\u0275fac,providedIn:"root"});[].concat(Jc(lxc),[wO,QN]);var yO=function(){};yO.\u0275fac=function(a){return new (a||yO)};yO.\u0275mod=Bc({type:yO});yO.\u0275inj=oc({imports:[MF,WB,YA,zC,Dx,uO]});var zO=function(){};zO.\u0275fac=function(a){return new (a||zO)};zO.\u0275mod=Bc({type:zO});zO.\u0275inj=oc({imports:[cy,Sx,bx,UN,Sx,UN]});var qxc=Of("transformPanelWrap",[Sf("* => void",apa("@transformPanel",[$oa()]))]),rxc=Of("transformPanel",[Rf("void",Qf({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),Rf("showing",Qf({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),Rf("showing-multiple",Qf({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),Sf("void => *",Pf("120ms cubic-bezier(0, 0, 0.2, 1)")),Sf("* => void",Pf("100ms 25ms linear",Qf({opacity:0})))]);var sxc=["trigger"],txc=["panel"],uxc=0,vxc=new Hc("mat-select-scroll-strategy"),wxc=new Hc("MAT_SELECT_CONFIG"),xxc={provide:vxc,deps:[Ox],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}},yxc=new Hc("MatSelectTrigger"),zxc=ig(kg(jg(uqa(function(a,b,c,d,e){this._elementRef=a;this._defaultErrorStateMatcher=b;this._parentForm=c;this._parentFormGroup=d;this.ngControl=e;this.stateChanges=new F.Subject})))),AO=function(a,b,c,d,e,g,h,l,q,v,y,B,I,N){var Q=zxc.call(this,
e,d,h,l,v)||this;Q._viewportRuler=a;Q._changeDetectorRef=b;Q._ngZone=c;Q._dir=g;Q._parentFormField=q;Q._liveAnnouncer=I;Q._defaultOptions=N;Q._panelOpen=!1;Q._compareWith=function(la,Da){return la===Da};Q._uid="mat-select-"+uxc++;Q._triggerAriaLabelledBy=null;Q._destroy=new F.Subject;Q._onChange=function(){};Q._onTouched=function(){};Q._valueId="mat-select-value-"+uxc++;Q._panelDoneAnimatingStream=new F.Subject;var Z;Q._overlayPanelClass=(null==(Z=Q._defaultOptions)?void 0:Z.overlayPanelClass)||"";
Q._focused=!1;Q.controlType="mat-select";Q._multiple=!1;var Y,ka;Q._disableOptionCentering=null!=(ka=null==(Y=Q._defaultOptions)?void 0:Y.disableOptionCentering)?ka:!1;Q.ariaLabel="";Q.optionSelectionChanges=(0,F.defer)(function(){var la=Q.options;return la?la.changes.pipe(oe(la),pe(function(){return F.merge.apply(null,Jc(la.map(function(Da){return Da.onSelectionChange})))})):Q._ngZone.onStable.pipe(ge(),pe(function(){return Q.optionSelectionChanges}))});Q.openedChange=new tu;Q._openedStream=Q.openedChange.pipe(Zd(function(la){return la}),
E(function(){}));Q._closedStream=Q.openedChange.pipe(Zd(function(la){return!la}),E(function(){}));Q.selectionChange=new tu;Q.valueChange=new tu;Q._trackedModal=null;Q.ngControl&&(Q.ngControl.valueAccessor=Q);null!=(null==N?void 0:N.typeaheadDebounceInterval)&&(Q._typeaheadDebounceInterval=N.typeaheadDebounceInterval);Q._scrollStrategyFactory=B;Q._scrollStrategy=Q._scrollStrategyFactory();Q.tabIndex=parseInt(y)||0;Q.id=Q.id;return Q};V(AO,zxc);f=AO.prototype;
f.ngOnInit=function(){var a=this;this._selectionModel=new yx(this.multiple);this.stateChanges.next();this._panelDoneAnimatingStream.pipe(fe(),qe(this._destroy)).subscribe(function(){return a._panelDoneAnimating(a.panelOpen)})};
f.ngAfterContentInit=function(){var a=this;this._initKeyManager();this._selectionModel.changed.pipe(qe(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(oe(null),qe(this._destroy)).subscribe(function(){a._resetOptions();a._initializeSelection()})};
f.ngDoCheck=function(){var a=this._getTriggerAriaLabelledby(),b=this.ngControl;if(a!==this._triggerAriaLabelledBy){var c=this._elementRef.nativeElement;(this._triggerAriaLabelledBy=a)?c.setAttribute("aria-labelledby",a):c.removeAttribute("aria-labelledby")}b&&(this._previousControl!==b.control&&(void 0!==this._previousControl&&null!==b.disabled&&b.disabled!==this.disabled&&(this.disabled=b.disabled),this._previousControl=b.control),this.updateErrorState())};
f.ngOnChanges=function(a){(a.disabled||a.userAriaDescribedBy)&&this.stateChanges.next();a.typeaheadDebounceInterval&&this._keyManager&&D0b(this._keyManager,this._typeaheadDebounceInterval)};f.ngOnDestroy=function(){var a;null==(a=this._keyManager)||a.destroy();this._destroy.next();this._destroy.complete();this.stateChanges.complete();this._clearFromModal()};f.toggle=function(){this.panelOpen?this.close():this.open()};
f.open=function(){this._canOpen()&&(this._applyModalPanelOwnership(),this._panelOpen=!0,lx(this._keyManager,null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())};f._applyModalPanelOwnership=function(){var a=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(a){var b=this.id+"-panel";this._trackedModal&&jqa(this._trackedModal,"aria-owns",b);iqa(a,"aria-owns",b);this._trackedModal=a}};
f._clearFromModal=function(){this._trackedModal&&(jqa(this._trackedModal,"aria-owns",this.id+"-panel"),this._trackedModal=null)};f.close=function(){this._panelOpen&&(this._panelOpen=!1,lx(this._keyManager,this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())};f.writeValue=function(a){this._assignValue(a)};f.registerOnChange=function(a){this._onChange=a};f.registerOnTouched=function(a){this._onTouched=a};
f.setDisabledState=function(a){this.disabled=a;this._changeDetectorRef.markForCheck();this.stateChanges.next()};f._isRtl=function(){return this._dir?"rtl"===this._dir.value:!1};f._handleKeydown=function(a){this.disabled||(this.panelOpen?this._handleOpenKeydown(a):this._handleClosedKeydown(a))};
f._handleClosedKeydown=function(a){var b=a.keyCode,c=40===b||38===b||37===b||39===b,d=this._keyManager;!(0<d._pressedLetters.length||13!==b&&32!==b||If(a))||(this.multiple||a.altKey)&&c?(a.preventDefault(),this.open()):this.multiple||(b=this.selected,d.onKeydown(a),(a=this.selected)&&b!==a&&this._liveAnnouncer.announce(a.viewValue,1E4))};
f._handleOpenKeydown=function(a){var b=this._keyManager,c=a.keyCode,d=40===c||38===c,e=0<b._pressedLetters.length;if(d&&a.altKey)a.preventDefault(),this.close();else if(e||13!==c&&32!==c||!b.activeItem||If(a))if(!e&&this._multiple&&65===c&&a.ctrlKey){a.preventDefault();var g=this.options.some(function(h){return!h.disabled&&!h.selected});this.options.forEach(function(h){h.disabled||(g?h.select():h.deselect())})}else c=b.activeItemIndex,b.onKeydown(a),this._multiple&&d&&a.shiftKey&&b.activeItem&&b.activeItemIndex!==
c&&b.activeItem._selectViaInteraction();else a.preventDefault(),b.activeItem._selectViaInteraction()};f._onFocus=function(){this.disabled||(this._focused=!0,this.stateChanges.next())};f._onBlur=function(){this._focused=!1;var a;null!=(a=this._keyManager)&&(a._pressedLetters=[]);this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())};
f._onAttached=function(){var a=this;this._overlayDir.positionChange.pipe(ge()).subscribe(function(){a._changeDetectorRef.detectChanges();a._positioningSettled()})};f._getPanelTheme=function(){return this._parentFormField?"mat-"+this._parentFormField.color:""};f._initializeSelection=function(){var a=this;Promise.resolve().then(function(){a.ngControl&&(a._value=a.ngControl.value);a._setSelectionByValue(a._value);a.stateChanges.next()})};
f._setSelectionByValue=function(a){var b=this;this.options.forEach(function(c){return c.setInactiveStyles()});this._selectionModel.clear();this.multiple&&a?(Array.isArray(a),a.forEach(function(c){return b._selectOptionByValue(c)}),this._sortValues()):(a=this._selectOptionByValue(a))?nx(this._keyManager,a):this.panelOpen||nx(this._keyManager,-1);this._changeDetectorRef.markForCheck()};
f._selectOptionByValue=function(a){var b=this,c=this.options.find(function(d){if(b._selectionModel.isSelected(d))return!1;try{return null!=d.value&&b._compareWith(d.value,a)}catch(e){return!1}});c&&this._selectionModel.select(c);return c};f._assignValue=function(a){return a!==this._value||this._multiple&&Array.isArray(a)?(this.options&&this._setSelectionByValue(a),this._value=a,!0):!1};f._skipPredicate=function(a){return a.disabled};
f._initKeyManager=function(){var a=this;this._keyManager=B0b(C0b(E0b(mx(lx(kx(D0b(new ox(this.options),this._typeaheadDebounceInterval)),this._isRtl()?"rtl":"ltr")))),this._skipPredicate);this._keyManager.tabOut.subscribe(function(){a.panelOpen&&(!a.multiple&&a._keyManager.activeItem&&a._keyManager.activeItem._selectViaInteraction(),a.focus(),a.close())});this._keyManager.change.subscribe(function(){a._panelOpen&&a.panel?a._scrollOptionIntoView(a._keyManager.activeItemIndex||0):a._panelOpen||a.multiple||
!a._keyManager.activeItem||a._keyManager.activeItem._selectViaInteraction()})};f._resetOptions=function(){var a=this,b=(0,F.merge)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(qe(b)).subscribe(function(c){a._onSelect(c.source,c.isUserInput);c.isUserInput&&!a.multiple&&a._panelOpen&&(a.close(),a.focus())});F.merge.apply(null,Jc(this.options.map(function(c){return c._stateChanges}))).pipe(qe(b)).subscribe(function(){a._changeDetectorRef.detectChanges();a.stateChanges.next()})};
f._onSelect=function(a,b){var c=this._selectionModel.isSelected(a);null!=a.value||this._multiple?(c!==a.selected&&(a.selected?this._selectionModel.select(a):this._selectionModel.deselect(a)),b&&this._keyManager.setActiveItem(a),this.multiple&&(this._sortValues(),b&&this.focus())):(a.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(a.value));c!==this._selectionModel.isSelected(a)&&this._propagateChanges();this.stateChanges.next()};
f._sortValues=function(){var a=this;if(this.multiple){var b=this.options.toArray();this._selectionModel.sort(function(c,d){return a.sortComparator?a.sortComparator(c,d,b):b.indexOf(c)-b.indexOf(d)});this.stateChanges.next()}};f._propagateChanges=function(a){var b=null;this.multiple?b=this.selected.map(function(c){return c.value}):b=this.selected?this.selected.value:a;this._value=b;this.valueChange.emit(b);this._onChange(b);this.selectionChange.emit(this._getChangeEvent(b));this._changeDetectorRef.markForCheck()};
f._highlightCorrectOption=function(){if(this._keyManager)if(this.empty){for(var a=-1,b=0;b<this.options.length;b++)if(!this.options.get(b).disabled){a=b;break}this._keyManager.setActiveItem(a)}else this._keyManager.setActiveItem(this._selectionModel.selected[0])};f._canOpen=function(){var a;return!this._panelOpen&&!this.disabled&&0<(null==(a=this.options)?void 0:a.length)};f.focus=function(a){this._elementRef.nativeElement.focus(a)};
f._getPanelAriaLabelledby=function(){if(this.ariaLabel)return null;var a,b=null==(a=this._parentFormField)?void 0:a.getLabelId();return this.ariaLabelledby?(b?b+" ":"")+this.ariaLabelledby:b};f._getAriaActiveDescendant=function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null};
f._getTriggerAriaLabelledby=function(){if(this.ariaLabel)return null;var a,b=null==(a=this._parentFormField)?void 0:a.getLabelId();a=(b?b+" ":"")+this._valueId;this.ariaLabelledby&&(a+=" "+this.ariaLabelledby);return a};f._panelDoneAnimating=function(a){this.openedChange.emit(a)};f.setDescribedByIds=function(a){a.length?this._elementRef.nativeElement.setAttribute("aria-describedby",a.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")};
f.onContainerClick=function(){this.focus();this.open()};
gg.Object.defineProperties(AO.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:IYb(b))?d:!1},set:function(a){this._required=Ef(a);
this.stateChanges.next()}},multiple:{configurable:!0,enumerable:!0,get:function(){return this._multiple},set:function(a){this._multiple=Ef(a)}},disableOptionCentering:{configurable:!0,enumerable:!0,get:function(){return this._disableOptionCentering},set:function(a){this._disableOptionCentering=Ef(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=Hf(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}}});AO.\u0275fac=function(a){return new (a||AO)(D(Ax),D(Lu),D(te),D(Xx),D(fd),D(qx,8),D(xv,8),D(Gv,8),D(C2b,8),D(rv,10),$c("tabindex"),D(vxc),D(cx),D(wxc,8))};
AO.\u0275dir=Cc({type:AO,viewQuery:function(a,b){a&1&&(jf(sxc,5),jf(txc,5),jf(Qx,5));if(a&2){var c;hf(c=lf())&&(b.trigger=c.first);hf(c=lf())&&(b.panel=c.first);hf(c=lf())&&(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:[xe,Mc]});var Axc=[[["mat-select-trigger"]],"*"],Bxc=function(a,b){this.source=a;this.value=b},BO=function(){};BO.\u0275fac=function(a){return new (a||BO)};BO.\u0275dir=Cc({type:BO,selectors:[["mat-select-trigger"]],features:[Xe([{provide:yxc,useExisting:BO}])]});
var CO=function(){var a=AO.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};V(CO,AO);CO.\u0275dir=AO.\u0275dir;f=CO.prototype;f._calculateOverlayScroll=function(a,b,c){var d=this._getItemHeight();return Math.min(Math.max(0,d*a-b+d/2),c)};
f.ngOnInit=function(){var a=this;AO.prototype.ngOnInit.call(this);this._viewportRuler.change().pipe(qe(this._destroy)).subscribe(function(){a.panelOpen&&(a._triggerRect=a.trigger.nativeElement.getBoundingClientRect(),a._changeDetectorRef.markForCheck())})};
f.open=function(){var a=this;AO.prototype._canOpen.call(this)&&(AO.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(ge()).subscribe(function(){a._triggerFontSize&&a._overlayDir.overlayRef&&a._overlayDir.overlayRef.overlayElement&&(a._overlayDir.overlayRef.overlayElement.style.fontSize=a._triggerFontSize+
"px")}))};f._scrollOptionIntoView=function(a){var b=Aqa(a,this.options,this.optionGroups),c=this._getItemHeight();this.panel.nativeElement.scrollTop=0===a&&1===b?0:Bqa((a+b)*c,c,this.panel.nativeElement.scrollTop,256)};f._positioningSettled=function(){this._calculateOverlayOffsetX();this.panel.nativeElement.scrollTop=this._scrollTop};
f._panelDoneAnimating=function(a){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck());AO.prototype._panelDoneAnimating.call(this,a)};f._getChangeEvent=function(a){return new Bxc(this,a)};f._getOverlayMinWidth=function(){var a;return null==(a=this._triggerRect)?void 0:a.width};
f._calculateOverlayOffsetX=function(){var a=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),b=this._viewportRuler.getViewportSize(),c=this._isRtl(),d=this.multiple?56:32;var e=this.multiple?40:this.disableOptionCentering?16:(e=this._selectionModel.selected[0]||this.options.first)&&e.group?32:16;c||(e*=-1);var g=-(a.left+e-(c?d:0));a=a.right+e-b.width+(c?0:d);0<g?e+=g+8:0<a&&(e-=a+8);this._overlayDir.offsetX=Math.round(e);this._overlayDir.overlayRef.updatePosition()};
f._calculateOverlayOffsetY=function(a,b,c){var d=this._getItemHeight(),e=(d-this._triggerRect.height)/2,g=Math.floor(256/d);return this.disableOptionCentering?0:Math.round(-1*(0===this._scrollTop?a*d:this._scrollTop===c?(a-(this._getItemCount()-g))*d+(d-(this._getItemCount()*d-256)%d):b-d/2)-e)};
f._checkOverlayWithinViewport=function(a){var b=this._getItemHeight(),c=this._viewportRuler.getViewportSize(),d=this._triggerRect.top-8;c=c.height-this._triggerRect.bottom-8;var e=Math.abs(this._offsetY);b=Math.min(this._getItemCount()*b,256)-e-this._triggerRect.height;b>c?this._adjustPanelUp(b,c):e>d?this._adjustPanelDown(e,d,a):this._transformOrigin=this._getOriginBasedOnOption()};
f._adjustPanelUp=function(a,b){a=Math.round(a-b);this._scrollTop-=a;this._offsetY-=a;this._transformOrigin=this._getOriginBasedOnOption();0>=this._scrollTop&&(this._offsetY=this._scrollTop=0,this._transformOrigin="50% bottom 0px")};f._adjustPanelDown=function(a,b,c){a=Math.round(a-b);this._scrollTop+=a;this._offsetY+=a;this._transformOrigin=this._getOriginBasedOnOption();this._scrollTop>=c&&(this._scrollTop=c,this._offsetY=0,this._transformOrigin="50% top 0px")};
f._calculateOverlayPosition=function(){var a=this._getItemHeight(),b=this._getItemCount(),c=Math.min(b*a,256);a=b*a-c;b=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0);b+=Aqa(b,this.options,this.optionGroups);c/=2;this._scrollTop=this._calculateOverlayScroll(b,c,a);this._offsetY=this._calculateOverlayOffsetY(b,c,a);this._checkOverlayWithinViewport(a)};
f._getOriginBasedOnOption=function(){var a=this._getItemHeight();return"50% "+(Math.abs(this._offsetY)-(a-this._triggerRect.height)/2+a/2)+"px 0px"};f._getItemHeight=function(){return 3*this._triggerFontSize};f._getItemCount=function(){return this.options.length+this.optionGroups.length};CO.\u0275fac=function(){var a;return function(b){return(a||(a=dd(CO)))(b||CO)}}();
CO.\u0275cmp=zc({type:CO,selectors:[["mat-select"]],contentQueries:function(a,b,c){a&1&&(kf(c,yxc,5),kf(c,Ay,5),kf(c,q1b,5));if(a&2){var d;hf(d=lf())&&(b.customTrigger=d.first);hf(d=lf())&&(b.options=d);hf(d=lf())&&(b.optionGroups=d)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true","ngSkipHydration","",1,"mat-select"],hostVars:19,hostBindings:function(a,b){a&1&&O("keydown",function(c){return b._handleKeydown(c)})("focus",function(){return b._onFocus()})("blur",function(){return b._onBlur()});
a&2&&(Ae("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()),Ie("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:[Xe([{provide:Uy,useExisting:CO},{provide:p1b,useExisting:CO}]),xe],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&&(Ne(Axc),H(0,"div",0,1),O("click",function(){return b.toggle()}),H(3,"div",2),R(4,jKa,2,1,"span",3),R(5,mKa,3,2,"span",4),J(),H(6,"div",5),K(7,"div",6),J()(),R(8,nKa,4,14,"ng-template",7),O("backdropClick",function(){return b.close()})("attach",function(){return b._onAttached()})("detach",
function(){return b.close()}));if(a&2){var c=Se(1);Ae("aria-owns",b.panelOpen?b.id+"-panel":null);C(3);G("ngSwitch",b.empty);Ae("id",b._valueId);C(1);G("ngSwitchCase",!0);C(1);G("ngSwitchCase",!1);C(3);G("cdkConnectedOverlayPanelClass",b._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",b._scrollStrategy)("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",b.panelOpen)("cdkConnectedOverlayPositions",b._positions)("cdkConnectedOverlayMinWidth",b._getOverlayMinWidth())("cdkConnectedOverlayOffsetY",
b._offsetY)}},dependencies:[Ru,Uu,Vu,Wu,Qx,Px],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:[qxc,rxc]},changeDetection:0});var DO=function(){};DO.\u0275fac=function(a){return new (a||DO)};DO.\u0275mod=Bc({type:DO});DO.\u0275inj=oc({providers:[xxc],imports:[gv,Rx,By,Sx,Dx,Zy,By,Sx]});var EO=function(){};EO.\u0275fac=function(a){return new (a||EO)};EO.\u0275mod=Bc({type:EO});EO.\u0275inj=oc({imports:[zO,SF,MF,Rx,PN,yO,DO,RM,YA,WB,zC,lN,sO,cN]});var FO=function(){};FO.prototype.transform=function(a,b){switch(a){case "EXTERNAL_PARTNER":return b?"Partners":"Visible to Partners";case "EXTERNAL_PUBLIC":return b?"Public":"Visible to Public";default:return""}};FO.\u0275fac=function(a){return new (a||FO)};FO.\u0275pipe=Dc({name:"toAccessLevelLabel",type:FO,pure:!0});var Cxc=Qf({opacity:"0"}),Dxc=Zd(function(a){return a}),Exc=(0,F.pipe)(fe(),Dxc,ke()),Fxc=new Hc("xap-bubble UX style"),GO=function(a){var b=this;this.activity=new F.Subject;this.openedSubject=new F.BehaviorSubject(!1);this.destroy=new F.ReplaySubject;this.overlayPositions=[];this.overlayPanelClass="";this.hoverDelayMs=50;this.beforeShow=this.beforeOpened=new tu;this.onOpened=new tu;this.bubbleStyle=a||"xap-bubble-md1";this.opened=this.openedSubject.pipe(Nja(function(){return b.activity.pipe(de(b.hoverDelayMs))}));
a=qe(this.destroy);this.opened.pipe(Exc,a).subscribe(this.onOpened);this.openedSubject.pipe(Dxc,Hka(function(){return b.opened.pipe(Zd(function(c){return!c}))}),a).subscribe(function(){b.beforeOpened.emit()})};GO.prototype.ngOnDestroy=function(){this.destroy.next();this.destroy.complete()};GO.prototype.toggle=function(a){this.openedSubject.next(a);this.activity.next()};GO.\u0275fac=function(a){return new (a||GO)(D(Fxc,8))};
GO.\u0275cmp=zc({type:GO,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&&(Ne(),H(0,"span",0,1),O("mouseenter",function(){return b.toggle(!0)})("mouseleave",function(){return b.toggle(!1)})("mousemove",function(){b.activity.next()}),Oe(2),J(),R(3,pKa,2,3,"ng-template",2),T(4,"async"));if(a&2){var c=Se(1);G("ngClass",b.bubbleStyle);
C(3);G("cdkConnectedOverlayPanelClass",b.overlayPanelClass)("cdkConnectedOverlayPositions",b.overlayPositions)("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",U(4,5,b.opened))}},dependencies:[Ru,Yu,Qx,Px,Zu],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:[Of("fade",[Sf(":enter",[Cxc,Pf("225ms")]),Sf(":leave",[Pf("195ms",Cxc)])])]}});var HO=function(a,b){this.activeSession=a;this.documentationLinks=b;this.labelOnlyMode=this.compactMode=!1;this.bubbleText=this.chipClass=""};
HO.prototype.ngOnChanges=function(){if(this.accessLevel)switch(this.accessLevel){case "EXTERNAL_PARTNER":this.chipClass="partner";this.bubbleText=' Components and issues designated as "Visible to Partners" can be shared with specific external partners listed in the component\'s access control settings.';break;case "EXTERNAL_PUBLIC":this.chipClass="public";this.bubbleText='Components and issues designated as "Visible to Public" can be \n              shared with any external user.';break;default:this.bubbleText=
this.chipClass=""}};HO.\u0275fac=function(a){return new (a||HO)(D(rp),D(NI))};
HO.\u0275cmp=zc({type:HO,selectors:[["b-access-level-indicator"]],inputs:{accessLevel:"accessLevel",compactMode:"compactMode",labelOnlyMode:"labelOnlyMode"},features:[Mc],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&&R(0,tKa,4,2,"ng-container",0);if(a&2){if(a=b.accessLevel)a=b.activeSession.isInternalSession()?
"EXTERNAL_PARTNER"===b.accessLevel||"EXTERNAL_PUBLIC"===b.accessLevel:Hhc(b.activeSession)?"EXTERNAL_PUBLIC"===b.accessLevel:!1;G("ngIf",a)}},dependencies:[Ru,Tu,GO,FO],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 Gxc={UNKNOWN:"Unknown",TEXT:"Text",DATE:"Date",ENUM:"Enum",NUMERIC:"Numeric",REPEATED_TEXT:"Repeated Text",REPEATED_DATE:"Repeated Date",REPEATED_ENUM:"Repeated Enum",REPEATED_NUMERIC:"Repeated Numeric"},IO=function(){};IO.prototype.transform=function(a){return Gxc[a]};IO.\u0275fac=function(a){return new (a||IO)};IO.\u0275pipe=Dc({name:"toCustomFieldTypeDisplayValue",type:IO,pure:!0});var JO=function(){};JO.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+"@"};JO.\u0275fac=function(a){return new (a||JO)};JO.\u0275pipe=Dc({name:"shortenEmail",type:JO,pure:!0});var KO=function(){};KO.\u0275fac=function(a){return new (a||KO)};KO.\u0275mod=Bc({type:KO});KO.\u0275inj=oc({imports:[MF]});var LO=function(){};LO.\u0275fac=function(a){return new (a||LO)};LO.\u0275mod=Bc({type:LO});LO.\u0275inj=oc({imports:[gv,Rx]});var MO=function(){};MO.\u0275fac=function(a){return new (a||MO)};MO.\u0275mod=Bc({type:MO});MO.\u0275inj=oc({imports:[MF,KO,LO]});var NO=function(a,b,c,d){this.activeSession=a;this.issueApi=b;this.analytics=c;this.errorHandler=d;this.onCc=new tu};NO.prototype.ngOnInit=function(){};
NO.prototype.toggle=function(){var a=this;this.analytics.trackEvent("issueCard","click","cc "+(this.ccState?"REMOVE":"ADD"));this.onCc.emit(!this.ccState);if(this.ccState)this.ccState=!1,this.issueApi.unCcUser(this.issueId).then(function(){}).catch(function(c){a.ccState=!0;a.errorHandler.errorHandler(null,c)});else{this.ccState=!0;var b={issueId:this.issueId,actions:[{fieldName:"ccs",value:this.activeSession.getUserEmail(),actionType:"ADD"}]};this.issueApi.updateIssue(this.issueId,b).then(function(){}).catch(function(c){a.ccState=
!1;a.errorHandler.errorHandler(null,c)})}};NO.\u0275fac=function(a){return new (a||NO)(D(rp),D(FE),D(AH),D(ZF))};
NO.\u0275cmp=zc({type:NO,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),O("click",function(){return b.toggle()}),R(1,uKa,2,0,"ng-container",1),S(2,"CC me\n"),J());a&2&&(C(1),G("ngIf",b.ccState))},dependencies:[Tu,yy],encapsulation:2});var OO=function(a,b){kE.call(this);this.errorHandler=a;this.issueFridge=b;this.upvoted=!1;this.voteCount=0;this.onVote=new tu;this.tooltip="Indicate that you are affected by this issue";this.isSaving=!1};V(OO,kE);OO.\u0275dir=kE.\u0275dir;
OO.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(ge(),qe(this.destroyed$)).subscribe(function(){a.isSaving=!1},function(c){a.isSaving=!1;a.errorHandler.errorHandler(null,c);a.upvoted=!a.upvoted;a.voteCount-=b})}};OO.\u0275fac=function(a){return new (a||OO)(D(ZF),D(IH))};
OO.\u0275cmp=zc({type:OO,selectors:[["b-app-vote-button"]],hostVars:2,hostBindings:function(a,b){a&2&&Ie("no-votes",0>=b.voteCount)},inputs:{issueId:"issueId",upvoted:"upvoted",voteCount:"voteCount"},outputs:{onVote:"onVote"},features:[xe],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),O("click",function(){return b.onClick()}),K(1,"mat-icon",1),H(2,"output",
2),S(3),J()());a&2&&(G("matTooltip",b.upvoted?"Remove vote: I am not impacted":"Vote: I am impacted"),Ae("aria-pressed",b.upvoted)("aria-label","Vote count "+b.voteCount),C(2),Pe("title","",b.voteCount," votes on this issue"),C(1),Te(" ",9999<b.voteCount?"9999+":b.voteCount," "))},dependencies:[yy,jz,XA],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}\n/*# sourceMappingURL=app_vote_button.css.map */"],
changeDetection:0});var IKa=function(){return[]},PO=function(a,b,c,d,e,g,h){kE.call(this);var l=this;this.issuesApi=a;this.cdr=b;this.activeSession=c;this.analytics=d;this.relationshipService=e;this.issueFridge=g;this.butterBar=h;this.STATUS_JS_FULL_TEXT=dk;this.ISSUE_PRIORITY_TEXT_JS=$ic;this.ISSUE_PRIORITY_ENUM=Vcc;this.providedIssueId$=new F.ReplaySubject(1);this.issueFetchResponse$=this.providedIssueId$.pipe(pe(function(q){return l.issuesApi.getIssue(q)}));this.editIssue=Gk;this.FormattingMode=Scc;this.init=new F.ReplaySubject(1)};
V(PO,kE);PO.\u0275dir=kE.\u0275dir;PO.prototype.ngOnInit=function(){var a=this;this.providedIssueId$.next(this.issueId);this.issueFetchResponse$.pipe(qe(this.destroyed$)).subscribe(function(b){a.issue=b.issue;a.firstEvent=b.firstEvent;a.cdr.markForCheck();a.init.next()})};PO.prototype.priorityClass=function(a){switch(a){case "P0":return"high p0";case "P1":return"high";default:return"low"}};
PO.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 HKa=function(a,b){return Rg(b).includes(a.activeSession.getUserEmail())},CKa=function(a,b){var c;return Ld(function(d){if(1==d.nextAddress)return c=a.issueId,nF(a.issueFridge,b,function(e){var g=e.parentIssueIds.indexOf(c);0>g||(e.parentIssueIds.splice(g,1),Object.assign({},e))}),Md(d,2,3),d.yield((0,F.firstValueFrom)(a.relationshipService.delete(c,1,b)),3);if(2!=d.nextAddress)return Nd(d),a.issueFridge.poke(b),Od(d,0);Pd(d);XF(a.butterBar,"Error removing the parent issue.");return d.jumpTo(3)})};
PO.\u0275fac=function(a){return new (a||PO)(D(GE),D(wH,2),D(rp),D(AH),D(YE),D(IH),D(VF))};
PO.\u0275cmp=zc({type:PO,selectors:[["b-issue-card"]],inputs:{issueId:"issueId",location:"location",childContextId:"childContextId"},outputs:{init:"init"},features:[Xe([wH]),xe],decls:2,vars:1,consts:[["role","dialog","aria-label","Issue Hovercard",1,"onedev-hovercard-content"],[4,"ngIf"],[1,"bv2-hovercard-wide"],[3,"href"],[1,"bv2-issue-card-title"],[1,"issue-card-id-snippets"],[3,"labelOnlyMode","accessLevel"],[1,"priority-status"],[1,"bv2-priority",3,"ngClass"],[3,"ngSwitch",4,"ngIf"],[1,"issue-card-buttons",
"margin-y"],[3,"issueId","ccState","onCc"],["class","bv2-issue-card-comment",4,"ngIf"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"model","hovercardEnabled"],[3,"issueId","voteCount","upvoted"],["mat-button","","matTooltip","Remove the parent/child relationship with this issue",1,"gmat-button","medium",3,"click"],["mode","date",1,"float-right",3,"timestamp"],[1,"bv2-issue-card-comment"],[3,"issueId","issueAccessLevel","formattingMode","note"]],template:function(a,b){a&1&&(H(0,"div",
0),R(1,JKa,23,16,"ng-container",1),J());a&2&&(C(1),G("ngIf",b.issue&&b.issue.snapshot[0]))},dependencies:[Ru,Tu,Uu,Vu,Wu,yy,HO,XA,NL,BK,rO,OO,NO],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 QO=function(){};QO.\u0275fac=function(a){return new (a||QO)};QO.\u0275mod=Bc({type:QO});QO.\u0275inj=oc({imports:[jN,MF,yO]});var RO=function(){};RO.prototype.transform=function(a){if(xl(a))return a};RO.\u0275fac=function(a){return new (a||RO)};RO.\u0275pipe=Dc({name:"omitObfuscatedEmail",type:RO,pure:!0});var Hxc=function(a){this.session=a;this.isNonObfuscatedEmail=xl;this.email="";this.withProfile=!0;this.enableWaldoAvailability=iE(this.session,"enableWaldoAvailability")&&this.session.isInternalSession()};Hxc.\u0275fac=function(a){return new (a||Hxc)(D(rp))};
Hxc.\u0275cmp=zc({type:Hxc,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),R(1,KKa,1,1,"b-user-image",1),R(2,MKa,6,3,"ng-container",2),R(3,NKa,2,1,"ng-template",null,3,of),R(5,OKa,2,1,"span",4),J());if(a&2){var c=Se(4);C(1);G("ngIf",b.withProfile);C(1);G("ngIf",b.isNonObfuscatedEmail(b.email))("ngIfElse",c);C(3);G("ngIf",b.enableWaldoAvailability)}},dependencies:[Tu,Yu,JI,tK,QJ,VJ,vK],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 Ixc=0,SO=function(a,b){var c=this;this.teamsService=a;this.session=b;this.teamId="";this.enableSmallChip=!1;this.providedTeamId$=new F.ReplaySubject(1);this.providedUser$=new F.ReplaySubject(1);this.providedEmail$=new F.ReplaySubject(1);this.isNonObfuscatedEmail=xl;this.fetchedTeam$=this.providedTeamId$.pipe(pe(function(d){return ZH(c.teamsService,d)}));this.detailedUserType$=this.providedUser$.pipe(E(function(d){d=d?d&&d.getUserGaiaStatus?d.getAliasesList():d.aliases||[]:[];return d.includes("googlers_unrestricted")?
"UNRESTRICTED_GOOGLER":d.includes("google_domain")?"TVC":d.includes("issue_creation_only_accounts")?"ISSUE_CREATION_ONLY":d.includes("external_partners")?"EXTERNAL":d.includes("public_non_google")?"PUBLIC":"NO_DETAILED_TYPE"}),oe("NO_DETAILED_TYPE"));this.isTeamMember$=(0,F.combineLatest)([this.providedTeamId$,this.providedEmail$]).pipe(pe(function(d){var e=k(d);d=e.next().value;e=e.next().value;return Mnc(c.teamsService,d,e)}),oe(!1),ce(function(){return(0,F.of)(!1)}));this.teamUser$=this.fetchedTeam$.pipe(E(function(d){return"Member of "+
d.name}));this.groupMembershipType$=(0,F.combineLatest)([this.detailedUserType$,this.isTeamMember$]).pipe(E(function(d){var e=k(d);d=e.next().value;e=e.next().value;if(c.enableExternalAnnotations){if("PUBLIC"===d)return"PUBLIC_USER";if("EXTERNAL"===d)return"PARTNER_USER"}return e?"INTERNAL_TEAM_MEMBER":"INTERNAL_NON_TEAM_MEMBER"}));this.enableExternalAnnotations=iE(this.session,"enableExternalAnnotations");this.enableWaldoAvailability=iE(this.session,"enableWaldoAvailability")&&this.session.isInternalSession();
this.userTypeClass$=this.groupMembershipType$.pipe(E(function(d){return c.enableSmallChip?"user-chip-small":d&&"INTERNAL_NON_TEAM_MEMBER"!==d?"user-chip":"user-chip-without-icon"}));this.userChipType$=this.groupMembershipType$.pipe(E(function(d){if(d&&"INTERNAL_NON_TEAM_MEMBER"!==d){if("INTERNAL_TEAM_MEMBER"===d)return"team-member-chip";if("PARTNER_USER"===d)return"partner-chip";if("PUBLIC_USER"===d)return"public-chip"}else return"internal-non-team-member-chip";return""}));this.shouldShowIcon$=this.groupMembershipType$.pipe(E(function(d){return d&&
"INTERNAL_NON_TEAM_MEMBER"!==d}));this.iconName$=this.groupMembershipType$.pipe(E(function(d){if(d&&"INTERNAL_NON_TEAM_MEMBER"!==d){if("INTERNAL_TEAM_MEMBER"===d)return"people-outline";if("PARTNER_USER"===d)return"enterprise";if("PUBLIC_USER"===d)return"public"}return""}));this.iconToolTip$=this.groupMembershipType$.pipe(se(this.teamUser$),E(function(d){var e=k(d);d=e.next().value;e=e.next().value;if(d&&"INTERNAL_NON_TEAM_MEMBER"!==d){if("INTERNAL_TEAM_MEMBER"===d)return e;if("PARTNER_USER"===d)return"Partner user";
if("PUBLIC_USER"===d)return"Public user"}return""}));Ixc++};SO.prototype.ngOnInit=function(){};SO.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)};SO.\u0275fac=function(a){return new (a||SO)(D(YH),D(rp))};
SO.\u0275cmp=zc({type:SO,selectors:[["b-user-membership-chip"]],inputs:{user:"user",email:"email",teamId:"teamId",enableSmallChip:"enableSmallChip"},features:[Mc],decls:11,vars:13,consts:[[3,"ngClass"],["class","bv2-profile-avatar",3,"email",4,"ngIf"],[3,"email","hovercardFocusEnabled","availabilityChipEnabled",4,"ngIf","ngIfElse"],["smallChipContents",""],[3,"svgIcon","matTooltip",4,"ngIf"],[4,"ngIf"],[1,"bv2-profile-avatar",3,"email"],[3,"email","hovercardFocusEnabled","availabilityChipEnabled"],
[4,"ngIf","ngIfElse"],["emailDisplay",""],["tabindex","0","role","button",1,"keep-focus-ring",3,"onedevHovercardTrigger"],[4,"ngTemplateOutlet"],["card",""],[3,"email"],[1,"user-chip-name"],[3,"svgIcon","matTooltip"],["coinonly","",3,"user"]],template:function(a,b){a&1&&(H(0,"span",0),T(1,"async"),H(2,"span",0),T(3,"async"),R(4,PKa,1,1,"b-user-image",1),R(5,QKa,1,3,"b-user-display-name",2),R(6,UKa,3,2,"ng-template",null,3,of),R(8,VKa,3,6,"mat-icon",4),T(9,"async"),J()(),R(10,WKa,2,1,"ng-container",
5));if(a&2){var c=Se(7),d,e;G("ngClass",null!==(d=U(1,7,b.userTypeClass$))&&void 0!==d?d:"");C(2);G("ngClass",null!==(e=U(3,9,b.userChipType$))&&void 0!==e?e:"");C(2);G("ngIf",b.enableSmallChip);C(1);G("ngIf",!b.enableSmallChip)("ngIfElse",c);C(3);G("ngIf",U(9,11,b.shouldShowIcon$));C(2);G("ngIf",b.enableWaldoAvailability&&!b.enableSmallChip)}},dependencies:[Ru,Tu,Yu,jz,JI,XA,tK,QJ,VJ,vK,uK,Zu],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}.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%]     span.bv2-profile-avatar, [_nghost-%COMP%]     .bv2-profile-avatar .user-avatar{background-size:103%;display:inline-block;height:12px;vertical-align:middle;width:12px}[_nghost-%COMP%]     span.bv2-profile-avatar img, [_nghost-%COMP%]     .bv2-profile-avatar .user-avatar img{background-color:#f1f3f4;background-color:var(--c100);height:12px;width:12px}"],
changeDetection:0});var TO=function(){};TO.\u0275fac=function(a){return new (a||TO)};TO.\u0275mod=Bc({type:TO});TO.\u0275inj=oc({imports:[MF,QO,YA,zC,lN,sO,cN]});var UO=function(){};UO.\u0275fac=function(a){return new (a||UO)};UO.\u0275mod=Bc({type:UO});UO.\u0275inj=oc({imports:[MF,WB,YA,zC]});var VO=function(){};VO.\u0275fac=function(a){return new (a||VO)};VO.\u0275mod=Bc({type:VO});VO.\u0275inj=oc({providers:[{provide:Euc,useValue:PO}],imports:[MF,MO,WB,zC,TO,bN,EO,UO]});var WO=function(a){this.issuesApi=a};WO.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})};WO.\u0275fac=function(a){return new (a||WO)(w(FE))};WO.\u0275prov=nc({token:WO,factory:WO.\u0275fac,providedIn:"root"});var Jxc=["panel"],Kxc=0,Lxc=function(a,b){this.source=a;this.option=b},Mxc=ig(function(){}),Nxc=new Hc("mat-autocomplete-default-options",{providedIn:"root",factory:XKa}),XO=function(a,b,c,d){var e=Mxc.call(this)||this;e._changeDetectorRef=a;e._elementRef=b;e._defaults=c;e._activeOptionChanges=F.Subscription.EMPTY;e.showPanel=!1;e._isOpen=!1;e.displayWith=null;e.optionSelected=new tu;e.opened=new tu;e.closed=new tu;e.optionActivated=new tu;e._classList={};e.id="mat-autocomplete-"+Kxc++;e.inertGroups=
(null==d?void 0:d.SAFARI)||!1;e._autoActiveFirstOption=!!c.autoActiveFirstOption;e._autoSelectActiveOption=!!c.autoSelectActiveOption;return e};V(XO,Mxc);f=XO.prototype;f._setColor=function(a){this._color=a;this._setThemeClasses(this._classList)};
f.ngAfterContentInit=function(){var a=this;this._keyManager=B0b(jx(new ox(this.options)),this._skipPredicate);this._activeOptionChanges=this._keyManager.change.subscribe(function(b){a.isOpen&&a.optionActivated.emit({source:a,option:a.options.toArray()[b]||null})});this._setVisibility()};f.ngOnDestroy=function(){var a;null==(a=this._keyManager)||a.destroy();this._activeOptionChanges.unsubscribe()};f._setScrollTop=function(a){this.panel&&(this.panel.nativeElement.scrollTop=a)};
f._getScrollTop=function(){return this.panel?this.panel.nativeElement.scrollTop:0};f._setVisibility=function(){this.showPanel=!!this.options.length;this._setVisibilityClasses(this._classList);this._changeDetectorRef.markForCheck()};f._emitSelectEvent=function(a){this.optionSelected.emit(new Lxc(this,a))};f._getPanelAriaLabelledby=function(a){return this.ariaLabel?null:this.ariaLabelledby?(a?a+" ":"")+this.ariaLabelledby:a};
f._setVisibilityClasses=function(a){a[this._visibleClass]=this.showPanel;a[this._hiddenClass]=!this.showPanel};f._setThemeClasses=function(a){a["mat-primary"]="primary"===this._color;a["mat-warn"]="warn"===this._color;a["mat-accent"]="accent"===this._color};f._skipPredicate=function(a){return a.disabled};
gg.Object.defineProperties(XO.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=Ef(a)}},autoSelectActiveOption:{configurable:!0,enumerable:!0,get:function(){return this._autoSelectActiveOption},set:function(a){this._autoSelectActiveOption=Ef(a)}},classList:{configurable:!0,enumerable:!0,set:function(a){a&&
a.length?this._classList=soa(a).reduce(function(b,c){b[c]=!0;return b},{}):this._classList={};this._setVisibilityClasses(this._classList);this._setThemeClasses(this._classList);this._elementRef.nativeElement.className=""}}});XO.\u0275fac=function(a){return new (a||XO)(D(Lu),D(fd),D(Nxc),D(Sv))};
XO.\u0275dir=Cc({type:XO,viewQuery:function(a,b){a&1&&(jf(ef,7),jf(Jxc,5));if(a&2){var c;hf(c=lf())&&(b.template=c.first);hf(c=lf())&&(b.panel=c.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",autoSelectActiveOption:"autoSelectActiveOption",panelWidth:"panelWidth",classList:["class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",
optionActivated:"optionActivated"},features:[xe]});var Oxc=new Hc("mat-autocomplete-scroll-strategy"),Pxc={provide:Oxc,deps:[Ox],useFactory:function(a){return function(){return a.scrollStrategies.reposition()}}},YO=function(a,b,c,d,e,g,h,l,q,v,y){var B=this;this._element=a;this._overlay=b;this._viewContainerRef=c;this._zone=d;this._changeDetectorRef=e;this._dir=h;this._formField=l;this._document=q;this._viewportRuler=v;this._defaults=y;this._manuallyFloatingLabel=this._autocompleteDisabled=this._componentDestroyed=!1;this._viewportSubscription=F.Subscription.EMPTY;
this._canOpenOnNextFocus=!0;this._closeKeyEventStream=new F.Subject;this._windowBlurHandler=function(){B._canOpenOnNextFocus=B._document.activeElement!==B._element.nativeElement||B.panelOpen};this._onChange=function(){};this._onTouched=function(){};this.position="auto";this.autocompleteAttribute="off";this._overlayAttached=!1;this.optionSelections=(0,F.defer)(function(){var I=B.autocomplete?B.autocomplete.options:null;return I?I.changes.pipe(oe(I),pe(function(){return F.merge.apply(null,Jc(I.map(function(N){return N.onSelectionChange})))})):
B._zone.onStable.pipe(ge(),pe(function(){return B.optionSelections}))});this._trackedModal=null;this._scrollStrategy=g};YO.prototype.ngAfterViewInit=function(){var a=this,b=this._getWindow();"undefined"!==typeof b&&this._zone.runOutsideAngular(function(){return b.addEventListener("blur",a._windowBlurHandler)})};YO.prototype.ngOnChanges=function(a){a.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())};
YO.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 amb=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._componentDestroyed||a._changeDetectorRef.detectChanges())};f=YO.prototype;f.updatePosition=function(){this._overlayAttached&&this._overlayRef.updatePosition()};
f._getOutsideClickStream=function(){var a=this;return(0,F.merge)((0,F.fromEvent)(this._document,"click"),(0,F.fromEvent)(this._document,"auxclick"),(0,F.fromEvent)(this._document,"touchend")).pipe(Zd(function(b){b=Df(b);var c=a._formField?a._formField._elementRef.nativeElement:null,d=a.connectedTo?a.connectedTo.elementRef.nativeElement:null;return a._overlayAttached&&b!==a._element.nativeElement&&a._document.activeElement!==a._element.nativeElement&&(!c||!c.contains(b))&&(!d||!d.contains(b))&&!!a._overlayRef&&
!a._overlayRef.overlayElement.contains(b)}))};f.writeValue=function(a){var b=this;Promise.resolve(null).then(function(){return b._assignOptionValue(a)})};f.registerOnChange=function(a){this._onChange=a};f.registerOnTouched=function(a){this._onTouched=a};f.setDisabledState=function(a){this._element.nativeElement.disabled=a};
f._handleKeydown=function(a){var b=a.keyCode,c=If(a);27!==b||c||a.preventDefault();if(this.activeOption&&13===b&&this.panelOpen&&!c)this.activeOption._selectViaInteraction(),this._resetActiveItem(),a.preventDefault();else if(this.autocomplete){var d=this.autocomplete._keyManager.activeItem,e=38===b||40===b;if(9===b||e&&!c&&this.panelOpen)this.autocomplete._keyManager.onKeydown(a);else e&&this._canOpen()&&(this._attachOverlay(),this._floatLabel());if(e||this.autocomplete._keyManager.activeItem!==d)this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||
0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._element.nativeElement.value),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value))}};
f._handleInput=function(a){var b=a.target,c=b.value;"number"===b.type&&(c=""==c?null:parseFloat(c));this._previousValue!==c&&(this._previousValue=c,this._pendingAutoselectedOption=null,this._onChange(c),this._canOpen()&&this._document.activeElement===a.target&&(this._attachOverlay(),this._floatLabel()))};f._handleFocus=function(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0};
f._handleClick=function(){this._canOpen()&&!this.panelOpen&&(this._attachOverlay(),this._floatLabel())};f._floatLabel=function(a){this._formField&&"auto"===this._formField.floatLabel&&((void 0===a?0:a)?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)};f._resetLabel=function(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)};
f._subscribeToClosingActions=function(){var a=this,b=this._zone.onStable.pipe(ge()),c=this.autocomplete.options.changes.pipe(re(function(){return Z0b(a._positionStrategy)}),ee(0));return(0,F.merge)(b,c).pipe(pe(function(){a._zone.run(function(){var d=a.panelOpen;a._resetActiveItem();a.autocomplete._setVisibility();a._changeDetectorRef.detectChanges();a.panelOpen&&a._overlayRef.updatePosition();d!==a.panelOpen&&(a.panelOpen?a.autocomplete.opened.emit():a.autocomplete.closed.emit())});return a.panelClosingActions}),
ge()).subscribe(function(d){return a._setValueAndClose(d)})};f._destroyPanel=function(){this._overlayRef&&(amb(this),this._overlayRef.dispose(),this._overlayRef=null)};f._assignOptionValue=function(a){a=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(a):a;this._updateNativeInputValue(null!=a?a:"")};f._updateNativeInputValue=function(a){this._formField?this._formField._control.value=a:this._element.nativeElement.value=a;this._previousValue=a};
f._setValueAndClose=function(a){if(a=a?a.source:this._pendingAutoselectedOption)this._clearPreviousSelectedOption(a),this._assignOptionValue(a.value),this._onChange(a.value),this.autocomplete._emitSelectEvent(a),this._element.nativeElement.focus();amb(this)};f._clearPreviousSelectedOption=function(a){this.autocomplete.options.forEach(function(b){b!==a&&b.selected&&b.deselect()})};
f._attachOverlay=function(){var a=this,b=this._overlayRef;if(b)this._positionStrategy.setOrigin(this._getConnectedElement()),b.updateSize({width:this._getPanelWidth()});else{var c;this._portal=new dw(this.autocomplete.template,this._viewContainerRef,{id:null==(c=this._formField)?void 0:c.getLabelId()});this._overlayRef=b=this._overlay.create(this._getOverlayConfig());this._handleOverlayEvents(b);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._setVisibility();this.autocomplete._isOpen=this._overlayAttached=!0;var d;this.autocomplete._setColor(null==(d=this._formField)?void 0:d.color);this._applyModalPanelOwnership();this.panelOpen&&c!==this.panelOpen&&this.autocomplete.opened.emit()};
f._getOverlayConfig=function(){var a,b;return new Gx({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:null!=(b=this._dir)?b:void 0,panelClass:null==(a=this._defaults)?void 0:a.overlayPanelClass})};f._getOverlayPosition=function(){var a=b1b(Lx(Nx(this._overlay.position(),this._getConnectedElement()),!1),!1);this._setStrategyPositions(a);return this._positionStrategy=a};
f._setStrategyPositions=function(a){var b=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],c=this._aboveClass;c=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:c},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:c}];b="above"===this.position?c:"below"===this.position?b:[].concat(Jc(b),Jc(c));Jx(a,b)};
f._getConnectedElement=function(){if(this.connectedTo)var a=this.connectedTo.elementRef;else this._formField?(a=this._formField,a=a._connectionContainerRef||a._elementRef):a=this._element;return a};f._getPanelWidth=function(){return this.autocomplete.panelWidth||this._getHostWidth()};f._getHostWidth=function(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width};
f._resetActiveItem=function(){var a=this.autocomplete;if(a.autoActiveFirstOption){for(var b=-1,c=0;c<a.options.length;c++)if(!a.options.get(c).disabled){b=c;break}a._keyManager.setActiveItem(b)}else a._keyManager.setActiveItem(-1)};f._canOpen=function(){var a=this._element.nativeElement;return!a.readOnly&&!a.disabled&&!this._autocompleteDisabled};f._getWindow=function(){var a;return(null==(a=this._document)?void 0:a.defaultView)||window};
f._scrollToOption=function(a){var b=this.autocomplete,c=Aqa(a,b.options,b.optionGroups);0===a&&1===c?b._setScrollTop(0):b.panel&&(a=b.options.toArray()[a])&&(a=a._getHostElement(),b._setScrollTop(Bqa(a.offsetTop,a.offsetHeight,b._getScrollTop(),b.panel.nativeElement.offsetHeight)))};
f._handleOverlayEvents=function(a){var b=this;a.keydownEvents().subscribe(function(c){if(27===c.keyCode&&!If(c)||38===c.keyCode&&If(c,"altKey")){if(b._pendingAutoselectedOption){var d;b._updateNativeInputValue(null!=(d=b._valueBeforeAutoSelection)?d:"");b._pendingAutoselectedOption=null}b._closeKeyEventStream.next();b._resetActiveItem();c.stopPropagation();c.preventDefault()}});a.outsidePointerEvents().subscribe()};
f._applyModalPanelOwnership=function(){var a=this._element.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(a){var b=this.autocomplete.id;this._trackedModal&&jqa(this._trackedModal,"aria-owns",b);iqa(a,"aria-owns",b);this._trackedModal=a}};f._clearFromModal=function(){this._trackedModal&&(jqa(this._trackedModal,"aria-owns",this.autocomplete.id),this._trackedModal=null)};
gg.Object.defineProperties(YO.prototype,{autocompleteDisabled:{configurable:!0,enumerable:!0,get:function(){return this._autocompleteDisabled},set:function(a){this._autocompleteDisabled=Ef(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,F.merge)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(Zd(function(){return a._overlayAttached})),
this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef._detachments.pipe(Zd(function(){return a._overlayAttached})):(0,F.of)()).pipe(E(function(b){return b instanceof G1b?b:null}))}},activeOption:{configurable:!0,enumerable:!0,get:function(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}}});
YO.\u0275fac=function(a){return new (a||YO)(D(fd),D(Ox),D(ff),D(te),D(Lu),D(Oxc),D(qx,8),D(C2b,9),D(eg,8),D(Ax),D(Nxc,8))};YO.\u0275dir=Cc({type:YO,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[Mc]});var Qxc={provide:iv,useExisting:tc(function(){return ZO}),multi:!0},ZO=function(){YO.apply(this,arguments);this._aboveClass="mat-autocomplete-panel-above"};V(ZO,YO);ZO.\u0275fac=function(){var a;return function(b){return(a||(a=dd(ZO)))(b||ZO)}}();
ZO.\u0275dir=Cc({type:ZO,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(a,b){a&1&&O("focusin",function(){return b._handleFocus()})("blur",function(){return b._onTouched()})("input",function(c){return b._handleInput(c)})("keydown",function(c){return b._handleKeydown(c)})("click",function(){return b._handleClick()});a&2&&Ae("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:[Xe([Qxc]),xe]});var $O=function(){var a=XO.apply(this,arguments)||this;a._visibleClass="mat-autocomplete-visible";a._hiddenClass="mat-autocomplete-hidden";return a};V($O,XO);$O.\u0275dir=XO.\u0275dir;$O.\u0275fac=function(){var a;return function(b){return(a||(a=dd($O)))(b||$O)}}();
$O.\u0275cmp=zc({type:$O,selectors:[["mat-autocomplete"]],contentQueries:function(a,b,c){a&1&&(kf(c,q1b,5),kf(c,Ay,5));if(a&2){var d;hf(d=lf())&&(b.optionGroups=d);hf(d=lf())&&(b.options=d)}},hostAttrs:["ngSkipHydration","",1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[Xe([{provide:p1b,useExisting:$O}]),xe],ngContentSelectors:["*"],decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(a){a&
1&&(Ne(),R(0,YKa,3,4,"ng-template"))},dependencies:[Ru],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 aP=function(){};aP.\u0275fac=function(a){return new (a||aP)};aP.\u0275mod=Bc({type:aP});aP.\u0275inj=oc({providers:[Pxc],imports:[Rx,By,Sx,gv,Dx,By,Sx]});var bP=function(a,b,c,d,e,g,h){kE.call(this);var l=this;this.cdr=a;this.paths=b;this.issueFridge=c;this.relatedIssues=d;this.errorHandler=e;this.domSafe=g;this.currentTracker=h;this.STATUS_ICON=ejc;this.entrySelect=new tu;this.selectedIssues=[];this.asyncChoices=[];this.choices=[];this.currentQuery="";this.hasLoadedResults=!0;this.searchingForSelf=!1;this.queryInternal="";this.queryChange=new tu;this.getTextToPutInInputOnSelect=function(){return l.query}};V(bP,kE);bP.\u0275dir=kE.\u0275dir;
bP.prototype.ngOnInit=function(){var a=this;this.queryChange.pipe(de(250),qe(this.destroyed$)).subscribe(function(b){a.doSearch(b)})};bP.prototype.ngOnChanges=function(a){a.defaultChoices&&(this.choices=[].concat(Jc(this.defaultChoices),Jc(this.asyncChoices)))};bP.prototype.selectIssue=function(a){Rxc(this,[a])};
var Txc=function(a){var b=a.split(",").map(function(c){return c.trim()}).filter(function(c){return!!c});if(Sxc(b))return b;b=a;a.startsWith("b/")?b=a.substring(2):a.startsWith("http://b/")&&(b=a.substring(9));return/[^0-9]/.test(b)?[]:[b]},Sxc=function(a){return!a.some(function(b){return!!/[^0-9]/.test(b)})};bP.prototype.search=function(a){"string"===typeof a&&(this.query=a)};
bP.prototype.doSearch=function(a){this.currentQuery=a;this.searchingForSelf=!1;if(""===a)Uxc(this);else{var b=Txc(a);1===b.length||1<b.length&&this.allowMultipleIds?(this.lastSearchType="id",Vxc(this,b,a)):(this.lastSearchType="query",this.searchAsync(a))}};
var Uxc=function(a){a.choices=a.defaultChoices;a.asyncChoices=[];a.hasLoadedResults=!0;Rxc(a,[])},Rxc=function(a,b){a.selectedIssues=b;a.entrySelect.emit(a.selectedIssues);var c;null==(c=a.autocomplete)||amb(c)},Vxc=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,Uxc(a)):(a.choices=Wxc(a,b),a.hasLoadedResults=!1,a.issueFridge.watchSet(b).pipe(ge(),qe(a.destroyed$)).subscribe(function(e){if(a.currentQuery===
c){var g=e.reduce(function(h,l){var q=na(l.snapshot);return h.set(l.issueId,{resourceId:l.issueId,displayText:q.title,status:q.status,relations:[]})},new Map);Haa(b);e=b.map(function(h){return g.get(h)});e.includes(void 0)?a.asyncChoices=[]:a.asyncChoices=e;a.choices=[].concat(Jc(a.choices),Jc(a.asyncChoices));Rxc(a,a.asyncChoices);a.hasLoadedResults=!0;a.cdr.detectChanges()}},function(){a.asyncChoices=[];a.hasLoadedResults=!0;a.cdr.detectChanges()}))};
bP.prototype.searchAsync=function(a){var b=this;this.choices=Xxc(this,a);this.hasLoadedResults=!1;if(nj(a))this.hasLoadedResults=!0;else{var c=Yxc(a,this.defaultChoices),d,e;this.relatedIssues.get({query:c,trackerId:this.currentTracker.getTrackerId(),resourceType:null==(d=this.currentResource)?void 0:d.type,resourceId:Zg(null==(e=this.currentResource)?void 0:e.id),nonParallelRequest:!0}).then(function(g){b.currentQuery===a&&(g=g.issueDigests.map(function(h){return{resourceId:h.issueId,displayText:h.title,
status:h.status,relations:[]}}),b.choices=[].concat(Jc(b.choices),Jc(g)),b.cdr.detectChanges())},function(g){b.errorHandler.errorHandler(null,g)}).finally(function(){b.hasLoadedResults=!0})}};var Wxc=function(a,b){return a.defaultChoices.filter(function(c){return c.resourceId.toString().startsWith(b[0])})},Xxc=function(a,b){return nj(b)?a.defaultChoices:a.defaultChoices.filter(function(c){return c.displayText.toLowerCase().startsWith(b.toLowerCase())})};bP.prototype.getIssueLink=function(a){return this.paths.editIssue(a.resourceId)};
var dLa=function(a){return a.relations.map(function(b){return Zxc.get(b)}).filter(function(b){return!!b}).join("/")},Yxc=function(a,b){if(0===b.length)return a;b=b.map(function(c){return c.resourceId}).join("|");return a+" -id:("+b+")"};bP.prototype.onEnter=function(a){var b;(null==(b=this.autocomplete)?0:b.panelOpen)&&a.stopPropagation()};gg.Object.defineProperties(bP.prototype,{query:{configurable:!0,enumerable:!0,get:function(){return this.queryInternal},set:function(a){this.queryInternal=a;this.queryChange.emit(a)}}});
bP.\u0275fac=function(a){return new (a||bP)(D(wH,2),D(OG),D(IH),D(WO),D(ZF),D(rK),D(LK))};
bP.\u0275cmp=zc({type:bP,selectors:[["b-simple-issue-picker"]],viewQuery:function(a,b){a&1&&jf(ZO,5);if(a&2){var c;hf(c=lf())&&(b.autocomplete=c.first)}},inputs:{defaultChoices:"defaultChoices",currentResource:"currentResource",allowMultipleIds:"allowMultipleIds"},outputs:{entrySelect:"entrySelect",queryChange:"queryChange"},features:[Xe([WO,wH]),xe,Mc],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),R(1,ZKa,3,0,"div",1),H(2,"div",2)(3,"input",3),O("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))}),J(),H(4,"mat-autocomplete",4,5),O("optionActivated",function(d){b.activeChoice=null==d.option?null:d.option.value})("optionSelected",function(d){return b.selectIssue(d.option.value)}),R(6,$Ka,3,1,"mat-option",6),R(7,aLa,2,0,"mat-option",7),R(8,eLa,14,13,"mat-option",8),J()()());if(a&2){var c=Se(5);C(1);G("ngIf",b.searchingForSelf);C(2);G("ngModel",b.query)("matAutocomplete",
c);Ae("aria-label",0<b.selectedIssues.length?"issue "+b.selectedIssues[0].resourceId+" selected. Change.":"Choose issue");C(1);G("displayWith",b.getTextToPutInInputOnSelect);C(2);G("ngIf",""!==b.query&&!b.hasLoadedResults);C(1);G("ngIf",""!==b.query&&!!b.hasLoadedResults&&0===b.choices.length);C(1);G("ngForOf",b.choices)}},dependencies:[Su,Tu,zy,jz,Af,tv,zv,QJ,RJ,VJ,SJ,PO,$O,ZO,Ay,SL,DJ],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 Zxc=new Map([["BLOCKED_BY","blocked"],["BLOCKING","blocking"],["DUPLICATE","duplicate"],["CANONICAL","canonical"]]);var cP=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+"+":""},iLa=function(a){if(""!==a.queryRestriction&&null!=a.issuePicker){var b=a.issuePicker.query;a.issuePicker.query=a.isQueryRestricted?b.replace(new RegExp(zl(a.queryRestriction)+" ?"),""):a.queryRestriction+
" "+b}};f=cP.prototype;f.onQueryChange=function(a){this.isQueryRestricted=""!==this.queryRestriction&&a.includes(this.queryRestriction)};f.onEnter=function(){if(0!==this.selectedIssues.length)this.onPressConfirm()};f.onEscape=function(){this.dialogRef.close()};f.onPressConfirm=function(){var a,b={selectedIssueIds:this.selectedIssues.map(function(c){return c.resourceId}),lastSearchType:null==(a=this.issuePicker)?void 0:a.lastSearchType};this.dialogRef.close(b)};f.onPressCancel=function(){this.dialogRef.close()};
cP.\u0275fac=function(a){return new (a||cP)(D(Iy),D(Ky),D(pJ))};
cP.\u0275cmp=zc({type:cP,selectors:[["ng-component"]],viewQuery:function(a,b){a&1&&jf(bP,5);if(a&2){var c;hf(c=lf())&&(b.issuePicker=c.first)}},hostBindings:function(a,b){a&1&&O("keydown.escape",function(){return b.onEscape()})},decls:15,vars:10,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"bv2-rel-issue-text"],["class","bv2-rel-issue-preview-link",4,"ngIf"],[1,"bv2-rel-issue-search"],[1,"bv2-rel-issue-bubble-issue-picker"],["class","bv2-rel-issue-narrow-to-component",4,"ngIf"],[1,
"bv2-rel-issue-issue-picker",3,"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),S(1),J(),H(2,"div",1)(3,"div",2),R(4,gLa,2,1,"div",3),R(5,hLa,6,2,"div",3),J(),H(6,"div",4)(7,"div",5),R(8,jLa,2,2,"div",6),H(9,"b-simple-issue-picker",
7),O("keydown.enter",function(){return b.onEnter()})("entrySelect",function(c){b.selectedIssues=c})("queryChange",function(c){return b.onQueryChange(c)}),J()()()(),H(10,"div",8)(11,"button",9),O("click",function(){return b.onPressCancel()}),S(12," Cancel "),J(),H(13,"button",10),O("click",function(){return b.onPressConfirm()}),S(14," Confirm "),J()());a&2&&(C(1),Te(" ",b.data.title,"\n"),C(3),G("ngIf",1<b.selectedIssues.length),C(1),G("ngIf",1===b.selectedIssues.length),C(3),G("ngIf",!!b.queryRestriction),
C(1),Ie("bv2-rel-issue-issue-picker-full-width",!!b.queryRestriction),G("defaultChoices",b.data.defaultChoices)("currentResource",b.data.currentResource)("allowMultipleIds",b.data.allowMultipleIds),C(4),G("disabled",!b.selectedIssues.length))},dependencies:[Su,Tu,yy,jz,Ny,Oy,Py,XA,bP],encapsulation:2});var dP=function(){};dP.\u0275fac=function(a){return new (a||dP)};dP.\u0275mod=Bc({type:dP});dP.\u0275inj=oc({imports:[HJ,MF,Qv,cN,VO,aP,WB,Qy,YA,zC,yN]});var $xc=new Hc("XapHatsSurveyApiKey"),ayc=new Hc("XapHatsSurveyLocale"),byc=new Hc("XapHatsSurveyWindow"),cyc=new Hc("XapHatsSurveyListnrProductId");var dyc=new Map([[0,1],[1,2]]),eP=function(a,b,c,d,e){var g=function(){var h={apiKey:a,locale:null!=c?c:"en-US",window:d};h=Gcc(Jcc,"help.service.Lazy.create",b,{apiKey:h.apiKey||h.apiKey,environment:h.environment||h.environment,helpCenterPath:h.helpCenterPath||h.helpCenterPath,locale:h.locale||h.locale||"en-US".replace(/-/g,"_"),nonce:h.nonce||h.nonce,productData:h.productData||h.productData,receiverUri:h.receiverUri||h.receiverUri,renderApiUri:h.renderApiUri||h.renderApiUri,theme:h.theme||h.theme,
window:h.window||h.window});return new Icc(h)};this.helpService=e?e.runOutsideAngular(g):g()},eyc=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 F.Observable(function(g){a.helpService.requestSurvey({triggerId:b,enableTestingMode:d.enableTestingMode,nonProd:d.nonProd,callback:function(h){null!=h.surveyData&&g.next(h.surveyData);g.complete()},authuser:e})})).pipe(pe(function(g){return new F.Observable(function(h){var l;a.helpService.presentSurvey({surveyData:g,
colorScheme:d.theme?dyc.get(d.theme):1,authuser:e,customZIndex:null!=(l=d.zIndex)?l:1E4,customLogoUrl:d.customLogoUrl,productData:c,listener:{surveyClosed:function(){h.complete()}}});h.next(g.surveyMetadata)})}))};eP.\u0275fac=function(a){return new (a||eP)(w($xc),w(cyc),w(ayc,8),w(byc,8),w(te,8))};eP.\u0275prov=nc({token:eP,factory:eP.\u0275fac,providedIn:"any"});var fyc=Yl.ISSUE_PICKER,fP=function(a,b,c,d){this.dialog=a;this.analytics=b;this.hatsService=c;this.activeSession=d};
fP.prototype.open=function(a,b){var c=this,d=gyc(this,a),e=d.dialog,g=d.config;return new Promise(function(h){Gy(c.dialog.open(e,g)).subscribe(function(l){var q,v=null!=(q=null==l?void 0:l.selectedIssueIds)?q:[],y;l=null!=(y=null==l?void 0:l.lastSearchType)?y:"";y=[a.originIsBulk?"bulk":void 0,1<v.length?"search-multi":"search",a.edgeType].filter(Boolean).join("-");c.analytics.trackEvent(fyc,y,l);null==b||b(v);h(v);c.activeSession.isInternalSession()&&"id"===l&&eyc(c.hatsService,"etC5mMepi0g6pPHSLo10TaNs15gn").pipe(ge()).subscribe()})})};
var gyc=function(a,b){var c={panelClass:"no-jitter",data:b};return iE(a.activeSession,"enableIDPCanonicalIssuePicker")&&"canonical"===b.edgeType?(c.width="60vw",c.minWidth="800px",{dialog:ZM,config:c}):{dialog:cP,config:c}};fP.\u0275fac=function(a){return new (a||fP)(w(Ly),w(AH),w(eP),w(rp))};fP.\u0275prov=nc({token:fP,factory:fP.\u0275fac,providedIn:"root"});var gP=function(){};gP.\u0275fac=function(a){return new (a||gP)};gP.\u0275mod=Bc({type:gP});gP.\u0275inj=oc({imports:[dP,NN]});var Zl={ASSIGNED_TO_ME:{key:"ASSIGNED_TO_ME",displayAs:"Assigned to me",check:function(a){var b;return!!bk().user.email&&bk().user.email===(null==(b=a.snapshot[0].assigneeUser)?void 0:b.emailAddress)},queryFragment:"assignee:me"},OPEN:{key:"OPEN",displayAs:"Open",check:function(a){return lk(a)},queryFragment:"status:open"}};var hP=function(a){this.pathToAncestor=a},am=function(a){return new hP(a.split(">"))},iP=function(a,b){return new hP([].concat(Jc(a.pathToAncestor),[b]))};hP.prototype.hash=function(){return this.pathToAncestor.join(">")};hP.prototype.equals=function(a){return!!a&&Fg(this.pathToAncestor,a.pathToAncestor)};var hyc=function(a,b){a=k(a.pathToAncestor.entries());for(var c=a.next();!c.done;c=a.next()){c=k(c.value);var d=c.next().value;if(c.next().value!==b.pathToAncestor[d])return!1}return!0};
hP.prototype.contains=function(a){return this.pathToAncestor.join(",").includes(a.pathToAncestor.join(","))};hP.prototype.some=function(a){return this.pathToAncestor.some(a)};hP.prototype.toString=function(){return this.hash()};
gg.Object.defineProperties(hP.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 hP(this.pathToAncestor.slice(0,this.size-1))}},root:{configurable:!0,enumerable:!0,get:function(){return this.pathToAncestor[0]}}});var jP=function(){var a=this;this.draftRows=new Map;this.changed$=new F.Subject;this.counter=0;this.createId=function(){return String(a.counter++)}};jP.prototype.create=function(a,b,c){var d=this.createId();b={type:"draft-issue",title:"",ancestorChain:iP(a,d),level:a.size-1,issue$:(0,F.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};
jP.prototype.get=function(a){var b;return null!=(b=this.draftRows.get(a.hash()))?b:[]};jP.prototype.remove=function(a){var b=a.ancestorChain.parentChain,c=this.get(b),d=c.filter(function(g){return g.id!==a.id});if(c.length!==d.length){c=k(d);for(var e=c.next();!e.done;e=c.next())e=e.value,e.afterDraftId===a.id&&(e.afterDraftId=a.afterDraftId);this.draftRows.set(b.hash(),d);this.changed$.next(this.draftRows)}};
var iyc=function(a,b){return Ld(function(c){return c.return((0,F.firstValueFrom)(a.changed$.pipe(oe(a.draftRows),E(function(d){return![].concat(Jc(d.values())).flat().some(function(e){return e.issueId===b||e.id===b})}),Zd(Boolean),E(function(){}))))})},jyc=function(a,b,c){b.issueId=c;for(var d=k(a.draftRows.values()),e=d.next();!e.done;e=d.next()){e=k(e.value);for(var g=e.next();!g.done;g=e.next())g=g.value,g.afterDraftId===b.id&&(g.afterIssueId=c)}a.changed$.next(a.draftRows)};
jP.prototype.isSaving=function(){return[].concat(Jc(this.draftRows.values())).flat().some(function(a){return a.saving})};jP.prototype.set=function(a,b){var c=this.get(a);this.draftRows.set(a.hash(),[].concat(Jc(c),[b]));this.changed$.next(this.draftRows)};var kyc={defaultExpandedChildren:0,defaultExpansionLevel:0,maxExpansion:Infinity},lyc=function(a){var b={defaultExpansionLevel:3,defaultExpandedChildren:10,maxExpansion:500};b=void 0===b?kyc:b;a=void 0===a?{}:a;this.config=b;this.expansionState=this.initialState=a;this.changed$=new F.ReplaySubject(1)},kP=function(a,b){b=b.hash();return a.expansionState[b]},lP=function(a,b,c){b=b.hash();void 0===c?delete a.expansionState[b]:a.expansionState[b]=c;a.changed$.next(a.expansionState)},myc=function(a,b,
c){var d=!1;c=k(c);for(var e=c.next();!e.done;e=c.next()){e=e.value;var g=iP(b,e.nodeId);e.size<=a.config.defaultExpansionLevel&&void 0===kP(a,e)&&(a.expansionState[g.hash()]=a.config.defaultExpandedChildren,d=!0);for(var h=k(Object.entries(a.expansionState)),l=h.next();!l.done;l=h.next()){l=k(l.value);var q=l.next().value;l=l.next().value;q=am(q);q.contains(e)&&(d=q.pathToAncestor.join(",").replace(e.pathToAncestor.join(","),g.pathToAncestor.join(",")).split(","),d=new hP(d),delete a.expansionState[q.hash()],
a.expansionState[d.hash()]=l,d=!0)}}if(!kP(a,b)){var v;a.expansionState[b.hash()]=null!=(v=a.config.defaultExpandedChildren)?v:a.config.maxExpansion;d=!0}d&&a.changed$.next(a.expansionState)},nyc=function(a){var b=new Map;a=k(Object.entries(a.expansionState));for(var c=a.next();!c.done;c=a.next()){c=k(c.value);var d=c.next().value;c=c.next().value;d=am(d).nodeId;var e=void 0;c=Math.max(c,null!=(e=b.get(d))?e:0);b.set(d,c)}return b};var mP=function(a,b,c,d,e){this.issueApi=a;this.activeSession=b;this.issueFridge=c;this.componentFridge=d;this.componentTemplatesFridge=e;this.currentUser=Yg(this.activeSession.getUserEmail())},pyc=function(a,b){var c,d,e;return Ld(function(g){if(1==g.nextAddress)return g.yield(oyc(a,b),2);c=g.yieldResult;d=c.component;e=c.defaultTemplate;return g.return(xwa(d,e))})},ryc=function(a,b){var c;return Ld(function(d){if(1==d.nextAddress)return d.yield(qyc(a,b),2);c=d.yieldResult;return d.return({snapshot:[c],
issueId:"",userData:void 0,aggregatedData:void 0,accessLimit:void 0,customFields:[],visibleFields:[],majorModifiedTimeMicros:0,parentIssueIds:[],ancestors:new Map,childIssueCount:0,isArchived:!1,relatedLinks:[]})})},syc=function(a,b,c){var d;return Ld(function(e){if(1==e.nextAddress)return e.yield(qyc(a,b),2);d=e.yieldResult;d.title=c;return e.return(a.create(d))})};
mP.prototype.create=function(a){var b=this,c,d;return Ld(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 qyc=function(a,b){var c,d,e,g,h;return Ld(function(l){if(1==l.nextAddress)return l.yield((0,F.firstValueFrom)(a.issueFridge.watch(b).pipe(Zd(eh))),2);if(3!=l.nextAddress)return c=l.yieldResult,l.yield(oyc(a,String(c.snapshot[0].componentId)),3);d=l.yieldResult;e=d.component;g=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=vnc[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,tyc(g),uyc(e,g));h.assigneeUser&&(h.status="ASSIGNED");return l.return(h)})},tyc=function(a){if(!a)return{};a=Ub(a.snapshot,function(b){return null==b||"string"===typeof b&&nj(b)?!1:!0});delete a.componentId;return a},uyc=function(a,b){var c=[],d,e,g={};a=k(null!=(e=null==(d=a.componentPathInfo)?
void 0:d.allCustomField)?e:[]);for(d=a.next();!d.done;g={$jscomp$loop$prop$customField$2314:g.$jscomp$loop$prop$customField$2314},d=a.next())if(g.$jscomp$loop$prop$customField$2314=d.value,g.$jscomp$loop$prop$customField$2314.required){e=void 0;d=null!=(e=g.$jscomp$loop$prop$customField$2314.typedDefaultValue)?e:new Og({customFieldId:g.$jscomp$loop$prop$customField$2314.customFieldId});var h=e=void 0,l=void 0,q=null!=(l=null==(e=b)?void 0:null==(h=e.snapshot.customField)?void 0:h.find(function(v){return function(y){return y.customFieldId===
v.$jscomp$loop$prop$customField$2314.customFieldId}}(g)))?l:d;q&&c.push(Object.assign({},q))}return 0===c.length?{}:{customField:c}},oyc=function(a,b){var c,d,e,g,h,l;return Ld(function(q){if(1==q.nextAddress)return q.yield(Promise.all([(0,F.firstValueFrom)(a.componentTemplatesFridge.defaultTemplate$(b)),(0,F.firstValueFrom)(a.componentFridge.watch(b).pipe(Zd(eh)))]),2);c=q.yieldResult;d=k(c);e=d.next().value;g=d.next().value;h=e;l=g;return q.return({component:l,defaultTemplate:h})})};
mP.\u0275fac=function(a){return new (a||mP)(w(FE),w(rp),w(IH),w(xF),w(dG))};mP.\u0275prov=nc({token:mP,factory:mP.\u0275fac,providedIn:"root"});var nP=function(a,b,c,d,e,g,h,l,q,v,y,B,I){kE.call(this);var N=this;this.rootIssueId=a;this.quickFilters=b;this.saveExpansionAtKey=c;this.analytics=d;this.butterBar=e;this.issueFridge=g;this.issuePicker=h;this.issueRelationshipsFridge=l;this.paths=q;this.router=v;this.issueCreationService=y;this.clearcut=B;this.refreshMonitor=I;var Q;this.recallExpansion=nH(null!=(Q=this.saveExpansionAtKey)?Q:"");var Z;this.saveExpansion=Zm(null!=(Z=this.saveExpansionAtKey)?Z:"");this.expansion=new lyc(this.recallExpansion());
this.draftRows=new jP;this.refetchingAll$=new F.BehaviorSubject(!1);this.userRequestedRefresh$=this.refreshMonitor.getObservable().pipe(pe(function(){N.refetchingAll$.next(!0);var Y=ol(N.rows$),ka=[];if(!Y)return Promise.resolve();ka.push(Anc(N.issueRelationshipsFridge,N.rootIssueId));Y=k(Y);for(var la=Y.next();!la.done;la=Y.next())la=la.value,"data"===la.type&&ka.push(N.issueFridge.poke(la.id)),1<la.level&&ka.push(N.issueRelationshipsFridge.poke(la.id));return Promise.all(ka).then(function(){N.refetchingAll$.next(!1)})}));
this.rows$=(0,F.merge)(this.draftRows.changed$,this.expansion.changed$,this.userRequestedRefresh$,(0,F.scheduled)((0,F.of)({}),F.asapScheduler)).pipe(pe(function(){return znc(N.issueRelationshipsFridge,N.rootIssueId,3)}),pe(function(){var Y=new Set([].concat(Jc(nyc(N.expansion).keys())));return N.getParentToChildrenMap(Y)}),pe(function(Y){return N.quickFilters.value$.pipe(pe(function(ka){return N.applyFilters(Y,[].concat(Jc(ka)))}))}),E(function(Y){return N.calculateDisplayedRows(Y)}),ne({refCount:!0,
bufferSize:1}));this.filteredRowCount$=new F.BehaviorSubject(0);this.rootIssue$=this.issueFridge.watch(this.rootIssueId).pipe(Zd(eh));this.ROOT_ROW={type:"data",id:this.rootIssueId,level:-1,ancestorChain:new hP([this.rootIssueId]),expandedCount:500,issue$:F.NEVER,hasChildren$:F.NEVER};this.supportsOneLineCreation=(0,F.firstValueFrom)(this.rootIssue$).then(function(Y){return Cl(Y.snapshot[0].componentId)}).then(function(Y){return pyc(N.issueCreationService,Y)});this.isOneLineCreationSupported=function(){return N.supportsOneLineCreation};
this.saveExpansionAtKey&&this.subscriptions.add(this.expansion.changed$.pipe(de(100)).subscribe(function(Y){N.saveExpansion(Y)}))};V(nP,kE);nP.\u0275dir=kE.\u0275dir;nP.\u0275fac=kE.\u0275fac;f=nP.prototype;
f.createChildOrDraft=function(a,b){a=void 0===a?this.ROOT_ROW.ancestorChain:a;var c=this,d,e,g,h,l,q,v;Ld(function(y){switch(y.nextAddress){case 1:return d=a.nodeId,y.yield((0,F.firstValueFrom)(c.issueFridge.watch(d)),2);case 2:return(e=y.yieldResult)?y.yield(c.supportsOneLineCreation,3):y.return();case 3:g=y.yieldResult;if(!g){y.jumpTo(4);break}return y.yield(ryc(c.issueCreationService,d),5);case 5:return h=y.yieldResult,y.return(c.draftRows.create(a,h,b));case 4:return l=e.snapshot[0].componentId,
v={},y.yield(ip(c.router,c.paths.createIssue((v.component=l?String(l):void 0,v.parentIssueId=e.issueId,v.redirectUrl=oya(c.rootIssueId),v.afterIssueId=null==(q=b)?void 0:q.afterIssueId,v))),6);case 6:return y.return()}})};
f.addExistingChild=function(a){var b=this,c,d,e,g;Ld(function(h){if(1==h.nextAddress)return h.yield((0,F.firstValueFrom)(null!=(d=null==(c=a)?void 0:c.issue$)?d:b.rootIssue$),2);e=h.yieldResult;if(!e)return h.return();g=String(e.issueId);return h.yield(b.issuePicker.open({title:"Add Children of b/"+g,allowMultipleIds:!0,edgeType:"child"},function(l){return Ld(function(q){if(1==q.nextAddress){if(0===l.length)return q.return();b.assignParentToIssues(g,l);b.analytics.trackEvent(Yl.EXPERIMENTAL_HOMEPAGE,
"add","existing-child-issue");return q.yield(Rl(),2)}a&&lP(b.expansion,a.ancestorChain,500);Qd(q)})}),0)})};f.deleteDraftRow=function(a){this.draftRows.remove(a)};f.saveDraft=function(a){var b=this,c;return Ld(function(d){if(1==d.nextAddress){if(a.saving||!a.title)return d.return();a.saving=!0;return d.yield(b.createIssueFromDraft(a),2)}return(c=d.yieldResult)?d.return(b.assignParentToIssue(a,c)):d.return()})};
f.createIssueFromDraft=function(a){var b=this,c,d,e,g;return Ld(function(h){switch(h.nextAddress){case 1:return c=a.ancestorChain.parentNodeId,Md(h,2),h.yield(syc(b.issueCreationService,c,a.title),4);case 4:e=h.yieldResult;d=e.issueId;xp(h,3);break;case 2:return g=Pd(h),XF(b.butterBar,"Could not create issue. Error: "+JSON.stringify(g)),b.deleteDraftRow(a),h.return();case 3:return b.trackIssueCreationTime(a),lP(b.expansion,a.ancestorChain.parentChain,500),jyc(b.draftRows,a,d),h.return(d)}})};
f.assignParentToIssue=function(a,b){var c=this,d,e,g,h,l,q;return Ld(function(v){if(1==v.nextAddress)return d=a.ancestorChain.parentNodeId,g=null!=(e=a.afterIssueId)?e:a.afterDraftId,void 0===g||"-1"===g?v.jumpTo(2):v.yield(iyc(c.draftRows,g),2);if(4!=v.nextAddress)return v.yield(c.issueRelationshipsFridge.assignParentToIssues(d,[{issueId:b,afterIssueId:a.afterIssueId}]),4);h=v.yieldResult;l=h.errors;(null==(q=l)?0:q.length)&&XF(c.butterBar,"Could not create issue relationship. Error: "+JSON.stringify(l));
c.deleteDraftRow(a);Qd(v)})};
f.getParentToChildrenMap=function(a,b){var c=this;b=void 0===b?0:b;return(0,F.combineLatest)([this.rootIssueId].concat(Jc(a.keys())).map(function(d){return c.refetchingAll$.pipe(Zd(function(e){return!e}),pe(function(){return ync(c.issueRelationshipsFridge,d)}))})).pipe(E(function(d){return d.filter(Boolean)}),pe(function(d){var e=new Map(d.map(function(g){return[g.issueId,g]}));if(1===b)return(0,F.of)(e);d=c.getIdsAtLevel(e,b);return c.getParentToChildrenMap(d,b+1).pipe(E(function(g){return xCa(e,g)}))}))};
f.getIdsAtLevel=function(a,b){for(var c=new Set,d=[{id:this.rootIssueId,level:-1}],e={};0<d.length;){e.$jscomp$loop$prop$current$2316=d.pop();e.$jscomp$loop$prop$current$2316.level===b&&c.add(e.$jscomp$loop$prop$current$2316.id);if(!(e.$jscomp$loop$prop$current$2316.level>b)){var g=void 0,h=void 0,l=null!=(h=null==(g=a.get(e.$jscomp$loop$prop$current$2316.id))?void 0:g.relatedChildren)?h:[];d.push.apply(d,Jc(l.map(function(q){return function(v){return{id:v.targetIssueId,level:q.$jscomp$loop$prop$current$2316.level+
1}}}(e))))}e={$jscomp$loop$prop$current$2316:e.$jscomp$loop$prop$current$2316}}return c};
f.calculateDisplayedRows=function(a){for(var b=this,c=[],d=[this.ROOT_ROW],e={};0<d.length;){e.$jscomp$loop$prop$parentRow$2318=d.pop();if("load-more-children"===e.$jscomp$loop$prop$parentRow$2318.type||"draft-issue"===e.$jscomp$loop$prop$parentRow$2318.type)c.push(e.$jscomp$loop$prop$parentRow$2318);else{e.$jscomp$loop$prop$parentRow$2318.id!==this.rootIssueId&&c.push(e.$jscomp$loop$prop$parentRow$2318);var g=void 0,h=void 0,l=null!=(h=null==(g=a.get(e.$jscomp$loop$prop$parentRow$2318.id))?void 0:
g.relatedChildren)?h:[];g=l.slice(0,e.$jscomp$loop$prop$parentRow$2318.expandedCount);g.length&&(e.$jscomp$loop$prop$parentRow$2318.hasChildren$=(0,F.of)(!0));e.$jscomp$loop$prop$childrenLevel$2319=e.$jscomp$loop$prop$parentRow$2318.level+1;e.$jscomp$loop$prop$parentRow$2318.expandedCount&&g.length<l.length&&(h=iP(e.$jscomp$loop$prop$parentRow$2318.ancestorChain,"load-more-children"),d.push({type:"load-more-children",id:h.hash(),level:e.$jscomp$loop$prop$childrenLevel$2319,parentIssue$:e.$jscomp$loop$prop$parentRow$2318.issue$,
ancestorChain:h,truncatedSiblingCount:l.length-g.length}));l=g.map(function(q){return function(v){var y=iP(q.$jscomp$loop$prop$parentRow$2318.ancestorChain,v.targetIssueId);return{type:"data",id:v.targetIssueId,level:q.$jscomp$loop$prop$childrenLevel$2319,hasChildren$:vyc(b,v.targetIssueId),ancestorChain:y,expandedCount:b.getExpandedCount(y,q.$jscomp$loop$prop$childrenLevel$2319,a),issue$:b.issueFridge.watch(v.targetIssueId)}}}(e));d.push.apply(d,Jc(this.interpolateDraftRows(l,e.$jscomp$loop$prop$parentRow$2318.ancestorChain).reverse()))}e=
{$jscomp$loop$prop$parentRow$2318:e.$jscomp$loop$prop$parentRow$2318,$jscomp$loop$prop$childrenLevel$2319:e.$jscomp$loop$prop$childrenLevel$2319}}return c};
var vyc=function(a,b){return a.issueRelationshipsFridge.watch(b).pipe(pe(function(c){return c&&c.relatedChildren.length?a.quickFilters.value$.pipe(pe(function(d){return 0===d.size?(0,F.of)(!0):a.issueFridge.watchSet(c.relatedChildren.map(function(e){return e.targetIssueId})).pipe(E(function(e){return e.some(function(g){return kLa(g,[].concat(Jc(d)))})}))})):(0,F.of)(!1)}))};f=nP.prototype;
f.interpolateDraftRows=function(a,b){var c=[].concat(Jc(a)),d=this.draftRows.get(b);b={};d=k(d);for(var e=d.next();!e.done;b={$jscomp$loop$prop$draft$2322:b.$jscomp$loop$prop$draft$2322},e=d.next())b.$jscomp$loop$prop$draft$2322=e.value,a.some(function(g){return function(h){return h.id===g.$jscomp$loop$prop$draft$2322.issueId}}(b))||(e=c.findIndex(function(g){return function(h){return h.id===g.$jscomp$loop$prop$draft$2322.afterDraftId||h.id===g.$jscomp$loop$prop$draft$2322.afterIssueId}}(b)),c.splice(-1===
e?c.length:e+1,0,b.$jscomp$loop$prop$draft$2322));return c};f.getExpandedCount=function(a,b,c){var d=a.nodeId;a=kP(this.expansion,a);if(void 0!==a)return a;if(1>b){var e,g;return Math.min(10,null!=(g=null==(e=c.get(d))?void 0:e.relatedChildren.length)?g:0)}return 0};
f.assignParentToIssues=function(a,b){var c=this,d,e,g,h;return Ld(function(l){if(1==l.nextAddress)return 0===b.length?l.return():l.yield(c.issueRelationshipsFridge.assignParentToIssues(a,b.map(function(q){return{issueId:q,afterIssueId:"-1"}})),2);d=l.yieldResult;e=d.notAdded;g=d.errors;if(e.length)return XF(c.butterBar,"Could not add "+e+" as child of b/"+a+". "+(null==(h=g)?void 0:h.map(function(q){return Ck(q)}))),l.return();Qd(l)})};
f.trackIssueCreationTime=function(a){a=(new Date).getTime()-a.draftStartedAt.getTime();if(0<a){var b=Math.min(a,108E5);lnc("createIssue",b,"from-tree");this.analytics.trackEvent(Yl.CREATE_ISSUE,"createIssue","time-to-create-from-tree",b);pH(this.clearcut,a,"createIssue-fromTree")}};
f.getAllIssues=function(a){var b=this,c,d,e,g,h,l,q,v,y,B,I,N;return Ld(function(Q){if(1==Q.nextAddress){c=new Set;d=k(a.keys());for(e=d.next();!e.done;e=d.next())g=e.value,c.add(g);h=k(a.values());for(l=h.next();!l.done;l=h.next())for(q=l.value,v=q.relatedChildren.map(function(Z){return Z.targetIssueId}),y=k(v),B=y.next();!B.done;B=y.next())I=B.value,c.add(I);return Q.yield(Promise.all([].concat(Jc(c)).map(function(Z){return(0,F.firstValueFrom)(b.issueFridge.watch(Z))})),2)}N=Q.yieldResult;return Q.return(fk(N.filter(eh),
function(Z){return Z.issueId}))})};
f.applyFilters=function(a,b){function c(q){if(!q)return!1;var v=e.get(q),y=h.get(q);if(!v||0===v.relatedChildren.length)return y;var B=v.relatedChildren.filter(function(I){return c(I.targetIssueId)});l+=v.relatedChildren.length-B.length;e.set(q,Object.assign({},v,{relatedChildren:B}));return 0!==B.length||y}var d=this,e,g,h,l;return Ld(function(q){if(1==q.nextAddress){if(0===b.length)return d.filteredRowCount$.next(0),q.return(a);e=new Map(a.entries());return q.yield(d.getAllIssues(e),2)}g=q.yieldResult;
h=new Map(g.map(function(v){return[v.issueId,kLa(v,b)]}));l=0;c(d.rootIssueId);d.filteredRowCount$.next(l);return q.return(e)})};var oP=function(a,b,c,d,e,g,h,l,q,v){this.analytics=a;this.butterBar=b;this.issueFridge=c;this.issuePicker=d;this.issueRelationshipsFridge=e;this.paths=g;this.router=h;this.issueCreationService=l;this.clearcut=q;this.refreshMonitor=v};
oP.prototype.create=function(a,b,c){b=void 0===b?new IJ:b;return new nP(a,b,c,this.analytics,this.butterBar,this.issueFridge,this.issuePicker,this.issueRelationshipsFridge,this.paths,this.router,this.issueCreationService,this.clearcut,this.refreshMonitor)};oP.\u0275fac=function(a){return new (a||oP)(w(AH),w(VF),w(IH),w(fP),w(PH),w(OG),w(GG),w(mP),w(oH),w(GH))};oP.\u0275prov=nc({token:oP,factory:oP.\u0275fac,providedIn:"root"});var pP=function(a){this.clApi=a};pP.prototype.transform=function(a){var b=this;return a.pipe(pe(function(c){if(null==c)return(0,F.of)(c);var d,e=na(null!=(d=c.snapshot[0].changelist)?d:[]);return e?b.clApi.getChangelistDetails(e).pipe(E(function(g){return Object.assign({},g,{changelistNumber:Number(e)})})):(0,F.of)(void 0)}),ne({bufferSize:1,refCount:!0}))};pP.\u0275fac=function(a){return new (a||pP)(D(IC,16))};pP.\u0275pipe=Dc({name:"mostRecentCL$",type:pP,pure:!0});var wyc=["button"],qP=function(){this.color="primary";this.format="hairline";this.disabled=!1;this.size="medium";this.onAction=new tu};qP.prototype.onClick=function(a){this.onAction.emit(a)};qP.prototype.focus=function(){this.nativeButton.focus()};qP.\u0275fac=function(a){return new (a||qP)};
qP.\u0275cmp=zc({type:qP,selectors:[["b-button"]],viewQuery:function(a,b){a&1&&jf(wyc,5);if(a&2){var c;hf(c=lf())&&(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&&(Ne(),R(0,mLa,1,0,"ng-template",null,0,of),L(2,1),R(3,oLa,3,7,"button",2),R(4,qLa,3,7,"button",3),R(5,sLa,3,7,"button",4),R(6,uLa,3,7,"button",5),R(7,wLa,3,7,"button",6),M());a&2&&(C(2),G("ngSwitch",b.format),C(1),G("ngSwitchCase","hairline"),C(1),G("ngSwitchCase","flat"),C(1),G("ngSwitchCase","fill"),C(1),G("ngSwitchCase","icon"))},dependencies:[yy,XA,Ru,Yu,Uu,Vu,Wu],encapsulation:2,changeDetection:0});var xyc={CANCEL:"CANCEL",ARCHIVE_ALL:"ARCHIVE_ALL",ARCHIVE_ONE:"ARCHIVE_ONE"},yyc=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=xyc};yyc.\u0275fac=function(a){return new (a||yyc)(D(Ky),D(OG))};
yyc.\u0275cmp=zc({type:yyc,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),S(1,"Archive with all descendant issues?"),
J(),H(2,"div",1),S(3),K(4,"br")(5,"br"),H(6,"a",2),S(7,"View all descendant issues"),J(),K(8,"br"),H(9,"a",3),S(10,"Learn more"),J()(),H(11,"div",4)(12,"button",5),S(13,"Cancel"),J(),H(14,"button",5),S(15," Just this one "),J(),H(16,"button",6),S(17," Archive all "),J()());a&2&&(C(3),Te(" 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? "),C(3),Qe("href",b.descendantIssuesUrl,
vd),C(6),G("matDialogClose",b.ActionType.CANCEL),C(2),G("matDialogClose",b.ActionType.ARCHIVE_ONE),C(2),G("matDialogClose",b.ActionType.ARCHIVE_ALL))},dependencies:[yy,My,Ny,Oy,Py],encapsulation:2});var rP=function(a,b,c,d,e,g,h,l,q){this.issueApi=a;this.dialog=b;this.confirmationDialogService=c;this.issueRelationshipsFridge=d;this.issueFridge=e;this.eventsForIssueFridge=g;this.paths=h;this.butterBar=l;this.editIssueService=q};
rP.prototype.submitArchivalState=function(a,b){var c=this;return Ld(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);Qd(d)})};
rP.prototype.archive=function(a){var b=this,c,d,e,g,h,l,q,v,y,B;return Ld(function(I){if(1==I.nextAddress)return I.yield(Promise.all([b.getDescendants(a),(0,F.firstValueFrom)(b.issueFridge.watch(a))]),2);c=I.yieldResult;d=k(c);e=d.next().value;g=d.next().value;h=e;l=g;q=h;v=q.childToParents;y=q.completeResult;B=[].concat(Jc(v.keys()));v.set(a,l.parentIssueIds||[]);return 0===B.length?I.return(zyc(b,a,v)):y?I.return(Ayc(b,a,B,v)):I.return(Byc(b,a,v))})};
var Ayc=function(a,b,c,d){var e,g,h;return Ld(function(l){if(1==l.nextAddress)return e={numberOfDescendants:c.length,issueId:b},g={data:e,width:"500px"},l.yield((0,F.firstValueFrom)(Gy(a.dialog.open(yyc,g))),2);h=l.yieldResult;switch(h){case "ARCHIVE_ALL":return l.return(Cyc(a,[b].concat(Jc(c)),d));case "ARCHIVE_ONE":return l.return(zyc(a,b,d));case "CANCEL":return l.return();default:return l.return(og(h))}})},Cyc=function(a,b,c){var d=[{issueIds:b,actions:[{fieldName:"isArchived",value:"true"}]}];
Dyc(a,c);WF(a.butterBar,"Archiving "+b.length+" issues...");return a.issueApi.issueBulkEdit({bulkEditOps:d}).then(function(){WF(a.butterBar,"Archived "+b.length+" issues successfully.")}).catch(function(e){XF(a.butterBar,e);Eyc(a,c)})},zyc=function(a,b,c){Dyc(a,c);return a.issueApi.updateIssue(b,{issueId:b,actions:[{fieldName:"isArchived",value:"true"}]}).then(function(){WF(a.butterBar,"Archived successfully.")}).catch(function(d){XF(a.butterBar,d);Eyc(a,c)})},Byc=function(a,b,c){return new Promise(function(d){a.confirmationDialogService.open({title:"Archive issue with descendant issues\uff1f",
content:Bl(yl("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."),Al("BR",{}),Al("BR",{}),Al("A",{href:a.paths.listIssues({q:"parentId:"+b+"+"}),target:"_blank"},"View all descendant issues"),Al("BR",{}),Al("A",{href:"http://go/b-issue-archive",target:"_blank"},"Learn more")),cancelButtonText:"Cancel",confirmButtonText:"Just this one",onConfirm:function(){zyc(a,
b,c).then(d)},onDismiss:d})})},Dyc=function(a,b){b=k(b.entries());for(var c=b.next();!c.done;c=b.next()){var d=k(c.value);c=d.next().value;d=d.next().value;d=k(d);for(var e=d.next();!e.done;e=d.next())a.issueRelationshipsFridge.unlinkFromParent(c,e.value,!0)}},Eyc=function(a,b){b=[].concat(Jc(b.values())).flat();b=k(b);for(var c=b.next();!c.done;c=b.next())a.issueRelationshipsFridge.poke(c.value)};
rP.prototype.getDescendants=function(a){var b=this,c,d,e,g,h,l,q,v,y,B,I,N;return Ld(function(Q){if(1==Q.nextAddress)return Q.yield((0,F.firstValueFrom)(znc(b.issueRelationshipsFridge,a)),2);c=Q.yieldResult;d=c.results;e=!0;g=new Map;h=k(d);for(l=h.next();!l.done;l=h.next()){q=l.value;v=k(q.relatedChildren);for(y=v.next();!y.done;y=v.next())B=y.value,I=void 0,N=null!=(I=g.get(B.targetIssueId))?I:[],N.push(q.issueId),g.set(B.targetIssueId,N);q.totalChildCount===q.relatedChildren.length||(e=!1)}return Q.return({childToParents:g,
completeResult:e})})};rP.\u0275fac=function(a){return new (a||rP)(w(FE),w(Ly),w(OI),w(PH),w(IH),w(pF),w(OG),w(VF),w(MJ))};rP.\u0275prov=nc({token:rP,factory:rP.\u0275fac,providedIn:"root"});var sP=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)};sP.prototype.ngOnDestroy=function(){this.checks=[];window.removeEventListener("beforeunload",this.beforeUnloadEventHandler)};
var tP=function(a,b,c){var d={dataChanged:b,triggerOnSearch:c};a.checks.push(d);return new F.Subscription(function(){a.checks=a.checks.filter(function(e){return e!==d})})};sP.prototype.canDeactivate=function(a,b,c,d){a:{a=kC(c.url).getPath()===kC(d.url).getPath();b=k(this.checks);for(c=b.next();!c.done;c=b.next())if(c=c.value,a){if(c.triggerOnSearch&&c.dataChanged()){a=!0;break a}}else if(c.dataChanged()){a=!0;break a}a=!1}return a?Fyc()?(this.checks=[],!0):!1:!0};var Fyc=function(){return window.confirm("You have unsaved changes; are you sure you want to navigate away without saving?")};
sP.\u0275fac=function(a){return new (a||sP)};sP.\u0275prov=nc({token:sP,factory:sP.\u0275fac,providedIn:"root"});var Gyc=function(a,b,c,d,e,g,h,l,q,v,y,B){var I=this;this.rootIssueId=a;this.quickFilters=b;this.analytics=c;this.butterBar=d;this.issueFridge=e;this.issuePicker=g;this.issueRelationshipsFridge=h;this.paths=l;this.router=q;this.issueCreationService=v;this.clearcut=y;this.refreshMonitor=B;this.expansion=new lyc;this.draftRows=new jP;this.refetchingAll$=new F.BehaviorSubject(!1);this.userRequestedRefresh$=this.refreshMonitor.getObservable().pipe(pe(function(){I.refetchingAll$.next(!0);var N=ol(I.rows$),
Q=[];if(!N)return Promise.resolve();Q.push(Anc(I.issueRelationshipsFridge,I.rootIssueId));N=k(N);for(var Z=N.next();!Z.done;Z=N.next())Z=Z.value,"data"===Z.type&&Q.push(I.issueFridge.poke(Z.id)),1<Z.level&&Q.push(I.issueRelationshipsFridge.poke(Z.id));return Promise.all(Q).then(function(){I.refetchingAll$.next(!1)})}));this.rows$=(0,F.merge)(this.draftRows.changed$,this.expansion.changed$,this.userRequestedRefresh$,(0,F.scheduled)((0,F.of)({}),F.asapScheduler)).pipe(pe(function(){return znc(I.issueRelationshipsFridge,
I.rootIssueId,3)}),pe(function(){var N=nyc(I.expansion);return I.getParentToChildrenMap(N)}),Sja(this.quickFilters.value$),pe(function(N){N=k(N);var Q=N.next().value,Z=N.next().value;return 0===Z.size?(I.filteredRowCount$.next(0),(0,F.of)(Q)):I.getAllIssues(Q).pipe(E(function(Y){return I.applyFilters(Q,Z,Y)}))}),E(function(N){return I.calculateDisplayedRows(N)}),ne({refCount:!0,bufferSize:1}));this.filteredRowCount$=new F.BehaviorSubject(0);this.rootIssue$=this.issueFridge.watch(this.rootIssueId).pipe(Zd(eh));
this.ROOT_ROW={type:"data",id:this.rootIssueId,level:-1,ancestorChain:new hP([this.rootIssueId]),expandedCount:500,issue$:F.NEVER,hasChildren$:F.NEVER};this.supportsOneLineCreation=(0,F.firstValueFrom)(this.rootIssue$).then(function(N){return Cl(N.snapshot[0].componentId)}).then(function(N){return pyc(I.issueCreationService,N)});this.isOneLineCreationSupported=function(){return I.supportsOneLineCreation}};f=Gyc.prototype;
f.createChildOrDraft=function(a,b){a=void 0===a?this.ROOT_ROW.ancestorChain:a;var c=this,d,e,g,h,l,q,v;Ld(function(y){switch(y.nextAddress){case 1:return d=a.nodeId,y.yield((0,F.firstValueFrom)(c.issueFridge.watch(d)),2);case 2:return(e=y.yieldResult)?y.yield(c.supportsOneLineCreation,3):y.return();case 3:g=y.yieldResult;if(!g){y.jumpTo(4);break}return y.yield(ryc(c.issueCreationService,d),5);case 5:return h=y.yieldResult,y.return(c.draftRows.create(a,h,b));case 4:return l=e.snapshot[0].componentId,
v={},y.yield(ip(c.router,c.paths.createIssue((v.component=l?String(l):void 0,v.parentIssueId=e.issueId,v.redirectUrl=oya(c.rootIssueId),v.afterIssueId=null==(q=b)?void 0:q.afterIssueId,v))),6);case 6:return y.return()}})};
f.addExistingChild=function(a){var b=this,c,d,e,g;Ld(function(h){if(1==h.nextAddress)return h.yield((0,F.firstValueFrom)(null!=(d=null==(c=a)?void 0:c.issue$)?d:b.rootIssue$),2);e=h.yieldResult;if(!e)return h.return();g=String(e.issueId);return h.yield(b.issuePicker.open({title:"Add Children of b/"+g,allowMultipleIds:!0,edgeType:"child"},function(l){return Ld(function(q){if(1==q.nextAddress){if(0===l.length)return q.return();b.assignParentToIssues(g,l);b.analytics.trackEvent(Yl.EDIT_ISSUE,"add","existing-child-issue");
return q.yield(Rl(),2)}a&&lP(b.expansion,a.ancestorChain,500);Qd(q)})}),0)})};f.deleteDraftRow=function(a){this.draftRows.remove(a)};f.saveDraft=function(a){var b=this,c;return Ld(function(d){if(1==d.nextAddress){if(a.saving||!a.title)return d.return();a.saving=!0;return d.yield(b.createIssueFromDraft(a),2)}return(c=d.yieldResult)?d.return(b.assignParentToIssue(a,c)):d.return()})};
f.createIssueFromDraft=function(a){var b=this,c,d,e,g;return Ld(function(h){switch(h.nextAddress){case 1:return c=a.ancestorChain.parentNodeId,Md(h,2),h.yield(syc(b.issueCreationService,c,a.title),4);case 4:e=h.yieldResult;d=e.issueId;xp(h,3);break;case 2:return g=Pd(h),XF(b.butterBar,"Could not create issue. Error: "+JSON.stringify(g)),b.deleteDraftRow(a),h.return();case 3:return b.trackIssueCreationTime(a),lP(b.expansion,a.ancestorChain.parentChain,500),jyc(b.draftRows,a,d),h.return(d)}})};
f.assignParentToIssue=function(a,b){var c=this,d,e,g,h,l,q;return Ld(function(v){if(1==v.nextAddress)return d=a.ancestorChain.parentNodeId,g=null!=(e=a.afterIssueId)?e:a.afterDraftId,void 0===g||"-1"===g?v.jumpTo(2):v.yield(iyc(c.draftRows,g),2);if(4!=v.nextAddress)return v.yield(c.issueRelationshipsFridge.assignParentToIssues(d,[{issueId:b,afterIssueId:a.afterIssueId}]),4);h=v.yieldResult;l=h.errors;(null==(q=l)?0:q.length)&&XF(c.butterBar,"Could not create issue relationship. Error: "+JSON.stringify(l));
c.deleteDraftRow(a);Qd(v)})};
f.getParentToChildrenMap=function(a,b){var c=this;b=void 0===b?0:b;return(0,F.combineLatest)([this.rootIssueId].concat(Jc(a.keys())).map(function(d){return c.refetchingAll$.pipe(Zd(function(e){return!e}),pe(function(){return ync(c.issueRelationshipsFridge,d)}))})).pipe(E(function(d){return d.filter(Boolean)}),pe(function(d){var e=new Map(d.map(function(g){return[g.issueId,g]}));if(1===b)return(0,F.of)(e);d=c.getIdsAtLevel(e,b);d=new Map(d.map(function(g){return[g,10]}));return c.getParentToChildrenMap(d,
b+1).pipe(E(function(g){return xCa(e,g)}))}))};
f.getIdsAtLevel=function(a,b){for(var c=[],d=[{id:this.rootIssueId,level:-1}],e={};0<d.length;){e.$jscomp$loop$prop$current$2324=d.pop();e.$jscomp$loop$prop$current$2324.level===b&&c.push(e.$jscomp$loop$prop$current$2324.id);if(!(e.$jscomp$loop$prop$current$2324.level>b)){var g=void 0,h=void 0,l=null!=(h=null==(g=a.get(e.$jscomp$loop$prop$current$2324.id))?void 0:g.relatedChildren)?h:[];d.push.apply(d,Jc(l.map(function(q){return function(v){return{id:v.targetIssueId,level:q.$jscomp$loop$prop$current$2324.level+
1}}}(e))))}e={$jscomp$loop$prop$current$2324:e.$jscomp$loop$prop$current$2324}}return c};
f.calculateDisplayedRows=function(a){for(var b=this,c=[],d=[this.ROOT_ROW],e={};0<d.length;){e.$jscomp$loop$prop$parentRow$2326=d.pop();if("load-more-children"===e.$jscomp$loop$prop$parentRow$2326.type||"draft-issue"===e.$jscomp$loop$prop$parentRow$2326.type)c.push(e.$jscomp$loop$prop$parentRow$2326);else{e.$jscomp$loop$prop$parentRow$2326.id!==this.rootIssueId&&c.push(e.$jscomp$loop$prop$parentRow$2326);var g=void 0,h=void 0,l=null!=(h=null==(g=a.get(e.$jscomp$loop$prop$parentRow$2326.id))?void 0:
g.relatedChildren)?h:[];g=l.slice(0,e.$jscomp$loop$prop$parentRow$2326.expandedCount);e.$jscomp$loop$prop$childrenLevel$2327=e.$jscomp$loop$prop$parentRow$2326.level+1;e.$jscomp$loop$prop$parentRow$2326.expandedCount&&g.length<l.length&&(h=iP(e.$jscomp$loop$prop$parentRow$2326.ancestorChain,"load-more-children"),d.push({type:"load-more-children",id:h.hash(),level:e.$jscomp$loop$prop$childrenLevel$2327,parentIssue$:e.$jscomp$loop$prop$parentRow$2326.issue$,ancestorChain:h,truncatedSiblingCount:l.length-
g.length}));l=g.map(function(q){return function(v){var y=iP(q.$jscomp$loop$prop$parentRow$2326.ancestorChain,v.targetIssueId);return{type:"data",id:v.targetIssueId,level:q.$jscomp$loop$prop$childrenLevel$2327,hasChildren$:b.issueRelationshipsFridge.watch(v.targetIssueId).pipe(E(GBa)),ancestorChain:y,expandedCount:b.getExpandedCount(y,q.$jscomp$loop$prop$childrenLevel$2327,a),issue$:b.issueFridge.watch(v.targetIssueId)}}}(e));d.push.apply(d,Jc(this.interpolateDraftRows(l,e.$jscomp$loop$prop$parentRow$2326.ancestorChain).reverse()))}e=
{$jscomp$loop$prop$parentRow$2326:e.$jscomp$loop$prop$parentRow$2326,$jscomp$loop$prop$childrenLevel$2327:e.$jscomp$loop$prop$childrenLevel$2327}}return c};
f.interpolateDraftRows=function(a,b){var c=[].concat(Jc(a)),d=this.draftRows.get(b);b={};d=k(d);for(var e=d.next();!e.done;b={$jscomp$loop$prop$draft$2330:b.$jscomp$loop$prop$draft$2330},e=d.next())b.$jscomp$loop$prop$draft$2330=e.value,a.some(function(g){return function(h){return h.id===g.$jscomp$loop$prop$draft$2330.issueId}}(b))||(e=c.findIndex(function(g){return function(h){return h.id===g.$jscomp$loop$prop$draft$2330.afterDraftId||h.id===g.$jscomp$loop$prop$draft$2330.afterIssueId}}(b)),c.splice(-1===
e?c.length:e+1,0,b.$jscomp$loop$prop$draft$2330));return c};f.getExpandedCount=function(a,b,c){var d=a.nodeId;a=kP(this.expansion,a);if(void 0!==a)return a;if(1>b){var e,g;return Math.min(10,null!=(g=null==(e=c.get(d))?void 0:e.relatedChildren.length)?g:0)}return 0};
f.assignParentToIssues=function(a,b){var c=this,d,e,g,h;return Ld(function(l){if(1==l.nextAddress)return 0===b.length?l.return():l.yield(c.issueRelationshipsFridge.assignParentToIssues(a,b.map(function(q){return{issueId:q,afterIssueId:"-1"}})),2);d=l.yieldResult;e=d.notAdded;g=d.errors;if(e.length)return XF(c.butterBar,"Could not add "+e+" as child of b/"+a+". "+(null==(h=g)?void 0:h.map(function(q){return Ck(q)}))),l.return();Qd(l)})};
f.trackIssueCreationTime=function(a){a=(new Date).getTime()-a.draftStartedAt.getTime();if(0<a){var b=Math.min(a,108E5);lnc("createIssue",b,"from-tree");this.analytics.trackEvent(Yl.CREATE_ISSUE,"createIssue","time-to-create-from-tree",b);pH(this.clearcut,a,"createIssue-fromTree")}};
f.getAllIssues=function(a){for(var b=this,c=new Set,d=k(a.keys()),e=d.next();!e.done;e=d.next())c.add(e.value);a=k(a.values());for(d=a.next();!d.done;d=a.next())for(d=d.value.relatedChildren.map(function(g){return g.targetIssueId}),d=k(d),e=d.next();!e.done;e=d.next())c.add(e.value);return(0,F.combineLatest)([].concat(Jc(c)).map(function(g){return b.issueFridge.watch(g)})).pipe(E(function(g){return g.filter(eh)}))};
f.applyFilters=function(a,b,c){function d(l){if(!l)return!1;var q=e.get(l),v=g.get(l);if(!q||0===q.relatedChildren.length)return v;var y=q.relatedChildren.filter(function(B){return d(B.targetIssueId)});h+=q.relatedChildren.length-y.length;e.set(l,Object.assign({},q,{relatedChildren:y}));return 0!==y.length||v}var e=new Map(a.entries()),g=new Map(c.map(function(l){return[l.issueId,kLa(l,b)]})),h=0;d(this.rootIssueId);this.filteredRowCount$.next(h);return e};
var uP=function(a,b,c,d,e,g,h,l,q,v){this.analytics=a;this.butterBar=b;this.issueFridge=c;this.issuePicker=d;this.issueRelationshipsFridge=e;this.paths=g;this.router=h;this.issueCreationService=l;this.clearcut=q;this.refreshMonitor=v};uP.prototype.create=function(a,b){b=void 0===b?new IJ:b;return new Gyc(a,b,this.analytics,this.butterBar,this.issueFridge,this.issuePicker,this.issueRelationshipsFridge,this.paths,this.router,this.issueCreationService,this.clearcut,this.refreshMonitor)};
uP.\u0275fac=function(a){return new (a||uP)(w(AH),w(VF),w(IH),w(fP),w(PH),w(OG),w(GG),w(mP),w(oH),w(GH))};uP.\u0275prov=nc({token:uP,factory:uP.\u0275fac,providedIn:"root"});var Grb=function(a){return!!a&&("object"===typeof a||"function"===typeof a)};var vP=function(a,b,c,d){var e=this;this.rootElement=a;this.rows=b;this.ngZone=c;this.rowSelectionModel=d;this.onLongHover$=new F.Subject;this.onRowsMoved$=new F.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=EUb(function(g,h){if(e.activeDrag){var l=g||0,q=h.getBoundingClientRect();g=q.height;l-=q.top;
g=zLa(l<=.25*g?"top":l>=.75*g?"bottom":"middle",h);h=g.position;g=g.rowElement;switch(h){case "current":e.placeholder.style.display="block";e.insertionBar.style.display="none";e.placeholder.style.left=g.offsetLeft+"px";e.placeholder.style.top=g.offsetTop+"px";e.placeholder.style.height=g.offsetHeight+"px";break;case "before":case "after":var v=(l=null==(v=g.querySelector(".title-location"))?void 0:v.getBoundingClientRect().left)?l-g.getBoundingClientRect().left:0;v=g.offsetLeft+v;l="after"===h?g.offsetTop+
g.offsetHeight:g.offsetTop;q=g.getBoundingClientRect().width;e.insertionBar.style.display="block";e.placeholder.style.display="none";e.insertionBar.style.left=v+"px";e.insertionBar.style.top=l-1+"px";e.insertionBar.style.width=q-v+"px";break;case "none":e.placeholder.style.display="none",e.insertionBar.style.display="none"}e.currentReorderingGuide={rowElement:g,position:h};Hyc(e,g,h)}},10);this.ngZone.runOutsideAngular(function(){a.addEventListener("dragover",function(g){var h,l=null==(h=g.target)?
void 0:h.closest("tr");if(l&&(e.onDragOver(g.clientY,l),l.classList.contains("dragging")||l.classList.contains("nodrop")))return!0;var q;if("none"===(null==(q=e.currentReorderingGuide)?void 0:q.position))return!0;g.preventDefault();return!1});a.addEventListener("dragend",function(){Iyc(e)});a.addEventListener("drop",function(){e.reorder(e.currentReorderingGuide,Jyc(e.rowSelectionModel),"mouse",4);Iyc(e)})})};
vP.prototype.handleDragStart=function(a){var b=this;this.activeDrag=!0;var c=a.target.closest("tr");this.rowSelectionModel.select(ALa(c));Kyc(this.rowSelectionModel);Lyc(this);this.dragPreview=this.dragPreviewTemplate.cloneNode(!0);document.body.appendChild(this.dragPreview);this.dragPreview.style.display="block";this.dragPreview.style.top="-1000px";this.dragPreview.innerText=1===this.rowSelectionModel.selectedCount?"Moving 1 issue":"Moving "+this.rowSelectionModel.selectedCount+" issues";a.dataTransfer.setDragImage(this.dragPreview,
0,0);a.dataTransfer.dropEffect="move";a=this.rows.toArray().filter(function(d){return b.rowSelectionModel.isSelected(d.row.ancestorChain)});a=k(a);for(c=a.next();!c.done;c=a.next())c.value.element.classList.add("dragging")};
var Myc=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)},Nyc=function(a,b){var c=a.rows.toArray(),d=c.findIndex(function(g){return g.row.ancestorChain.equals(b.row.ancestorChain)});if(-1!==d&&0!==d){c=c.slice(0,d).reverse();c=k(c);for(d=c.next();!d.done;d=c.next()){d=d.value;if("load-more-children"===d.row.type){d=d.element.previousElementSibling;
if(!d)continue;var e={position:"before",rowElement:d};break}if(d.row.ancestorChain.parentChain.parentChain.equals(b.row.ancestorChain.parentChain)){e={position:"after",rowElement:d.element};break}if(d.row.ancestorChain.parentChain.equals(b.row.ancestorChain.parentChain)){e={position:"current",rowElement:d.element};break}}a.reorder(e,[b.row.ancestorChain],"keyboard",2)}};
vP.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)}};
vP.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?Myc(this,a):(b=c&&b.row.level<yLa(c)?{position:"before",rowElement:c}:{position:"after",rowElement:b.element},this.reorder(b,[a.row.ancestorChain],"keyboard",1))}};
vP.prototype.onKeydown=function(a){if(a.ctrlKey){var b,c=null==(b=a.target)?void 0:b.closest("tr");if(c){var d=ALa(c);if(b=this.rows.toArray().find(function(e){return e.row.ancestorChain.equals(d)}))switch(a.key){case "ArrowLeft":Myc(this,b);break;case "ArrowRight":Nyc(this,b);break;case "ArrowUp":this.moveUp(b);break;case "ArrowDown":this.moveDown(b)}}}};
vP.prototype.reorder=function(a,b,c,d){var e=this;if(a){var g=ALa(a.rowElement),h=void 0,l=g;switch(a.position){case "current":l=g;h={parentId:g.nodeId};break;case "before":case "after":l=g.parentChain,h={parentId:g.parentNodeId,position:{issueId:g.nodeId,position:a.position}}}this.ngZone.run(function(){b.length&&h&&e.onRowsMoved$.next({movedRows:b,insertAt:h,parentAncestorChain:l,origin:c,actionMessage:xLa(d)})})}};
var Iyc=function(a){for(var b=k(a.rootElement.querySelectorAll("tr.dragging")),c=b.next();!c.done;c=b.next())c.value.classList.remove("dragging");b=k(a.rootElement.querySelectorAll("tr.nodrop"));for(c=b.next();!c.done;c=b.next())c.value.classList.remove("nodrop");a.rowSelectionModel.clear();a.placeholder.style.display="none";a.insertionBar.style.display="none";var d;null==(d=a.updatingNoDropRows)||d.unsubscribe();var e,g;null==(e=a.dragPreview)||null==(g=e.parentElement)||g.removeChild(a.dragPreview);
a.activeDrag=!1},Hyc=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 ALa(b).equals(e.row.ancestorChain)});d&&(a.ngZone.run(function(){a.onLongHover$.next(d)}),a.longHoveredRow.emitted=!0)}},Lyc=function(a){var b;
null==(b=a.updatingNoDropRows)||b.unsubscribe();a.updatingNoDropRows=a.rows.changes.pipe(oe(null)).subscribe(function(){var c=a.rows.toArray(),d=new Set(a.rowSelectionModel.selectedRows.map(function(g){return g.nodeId}));c=k(c);for(var e=c.next();!e.done;e=c.next())e=e.value,e.row.ancestorChain.some(function(g){return d.has(g)})&&e.element.classList.add("nodrop")})};var wP=function(a){kE.call(this);var b=this;this.analytics=a;this.dragStarted$=new F.Subject;this.onRowsMoved$=new F.Subject;(0,F.merge)(this.dragStarted$,this.onRowsMoved$).pipe(mCa(),qe(this.destroyed$)).subscribe(function(c){var d=c[c.length-1].timestamp-c[0].timestamp;c=gk(c.map(function(e){return e.event.origin}));c=1===c.length?c[0]:"mixed";b.analytics.trackEvent(Yl.EDIT_ISSUE,"reorderChildren",c);lnc("reorderChildren",d,c)})};V(wP,kE);wP.\u0275dir=kE.\u0275dir;
wP.\u0275fac=function(a){return new (a||wP)(w(AH))};wP.\u0275prov=nc({token:wP,factory:wP.\u0275fac,providedIn:"root"});var xP=function(){this.changed$=new F.Subject;this.selectedRowHashes=new Set;this.isSelectedObservableMap=new Map};xP.prototype.init=function(a){this.visibleRows=a};xP.prototype.isSelected=function(a){return this.selectedRowHashes.has(a.hash())};var wMa=function(a,b){var c=b.hash(),d,e=null!=(d=a.isSelectedObservableMap.get(c))?d:a.changed$.pipe(oe(a.selectedRowHashes),E(function(g){return g.has(b.hash())}),fe(),ne({refCount:!0,bufferSize:1}));a.isSelectedObservableMap.set(c,e);return e};
xP.prototype.select=function(a){this.selectedRowHashes.add(a.hash());this.changed$.next(this.selectedRowHashes)};xP.prototype.clear=function(){this.selectedRowHashes.clear();this.changed$.next(this.selectedRowHashes)};
var Kyc=function(a){for(var b=a.visibleRows.toArray().map(function(l){return l.row.ancestorChain}),c=!1,d=k(a.selectedRowHashes.values()),e=d.next();!e.done;e=d.next()){e=am(e.value);for(var g=k(b),h=g.next();!h.done;h=g.next())h=h.value,hyc(e,h)&&(a.selectedRowHashes.add(h.hash()),c=!0)}c&&a.changed$.next(a.selectedRowHashes)},Jyc=function(a){var b=a.visibleRows.toArray().map(function(g){return g.row});b=new Map(b.filter(function(g){return"data"===g.type}).map(function(g){return[g.ancestorChain.hash(),
g]}));var c=new Set([].concat(Jc(a.selectedRowHashes.values())).map(function(g){return am(g)}).map(function(g){return g.nodeId})),d=[];a=k(a.selectedRowHashes.values());for(var e=a.next();!e.done;e=a.next())(e=b.get(e.value))&&(e.ancestorChain.parentChain.some(function(g){return c.has(g)})||d.push(e.ancestorChain));return d};
gg.Object.defineProperties(xP.prototype,{selectedRows:{configurable:!0,enumerable:!0,get:function(){return[].concat(Jc(this.selectedRowHashes)).map(function(a){return am(a)})}},selectedCount:{configurable:!0,enumerable:!0,get:function(){return this.selectedRowHashes.size}}});var kMa=function(a){return{cl:a}},Oyc=function(){return["focus-indicator","load-more-children"]},Pyc=Yl.EXPERIMENTAL_HOMEPAGE,Qyc={type:"data",id:"",issue$:F.NEVER,hasChildren$:F.NEVER,ancestorChain:new hP([]),level:0,expandedCount:0},yP=function(a,b,c,d,e,g,h,l,q,v,y,B,I,N,Q){kE.call(this);var Z=this;this.issueRelationshipsFridge=a;this.router=b;this.butterBar=c;this.analytics=d;this.issueArchiveService=e;this.ngZone=g;this.elementRef=h;this.domSafe=q;this.reorderingSessionTracker=v;this.cdr=y;this.expandableIssuesTableModelFactory=
B;this.liveAnnouncer=I;this.clearcut=N;this.paths=Q;this.getUserInvolvement=$xa;this.quickFilters=new IJ;this.tableColumns="focus-indicator drag-handle title type id assignee status cls menu".split(" ");this.options={};this.trackBy=function(Y,ka){return ka.ancestorChain.hash()+ka.type};this.isLoadMoreRow=function(Y,ka){return"load-more-children"===ka.type};this.isDataRow=function(Y,ka){return"data"===ka.type};this.isDraftRow=function(Y,ka){return"draft-issue"===ka.type};this.selectionModel=new xP;
this.hasLogged=!1;this.correctedDisplayedRows=new mf;this.TITLE_FIXED_OFFSET_PX=42;this.rowDirectiveMap=new Map;this.getRowIndex=function(Y){var ka;return(null!=(ka=ol(Z.rows$))?ka:[]).findIndex(function(la){return $l(la,Y)})};this.showError=function(Y){return function(ka){XF(Z.butterBar,Y+". "+(Bk(ka)?Ck(ka):ka))}};this.subscriptions.add(tP(l,function(){return Z.tableModel.draftRows.isSaving()||Z.issueRelationshipsFridge.isSaving()},!1))};V(yP,kE);yP.\u0275dir=kE.\u0275dir;
var cMa=function(a,b){if(null==b)return!1;var c,d;return!!(null==(c=a.projectData)?0:null==(d=c.bugToPendingFixCl)?0:d.has(b))};f=yP.prototype;f.isClosed=function(a){if(this.options.showPendingFixCls){var b=cMa(this,null==a?void 0:a.issueId);return dxa(a)||b}return dxa(a)};f.getAssigneeString=function(a){var b,c;return xDa(Ug(null==a?void 0:null==(b=a.snapshot)?void 0:null==(c=b[0])?void 0:c.assigneeUser)||void 0)};f.isInProgress=function(a){return"ACCEPTED"===(null==a?void 0:a.snapshot[0].status)};
f.ldapOnly=function(a){return null==a?void 0:a.split("@")[0]};
f.ngOnInit=function(){var a=this;this.tableModel=this.expandableIssuesTableModelFactory.create(this.rootIssueId,this.quickFilters,this.saveExpansionAtKey);this.destroyed$.subscribe(function(){a.tableModel.ngOnDestroy()});this.rows$=(0,F.scheduled)([this.tableModel.rows$,(0,F.of)([Qyc])],F.asyncScheduler).pipe(Wd(1),ne({refCount:!0,bufferSize:1}));var b=this.rows$.pipe(pe(function(c){return(0,F.combineLatest)(c.filter(function(d){return"data"===d.type}).map(function(d){return d.issue$}))}),de(0,F.asapScheduler));
this.subscriptions.add(b.subscribe(function(c){a.cdr.detectChanges();a.trackRelationsData(c)}));this.rowReorderingModel=new vP(this.elementRef.nativeElement,this.correctedDisplayedRows,this.ngZone,this.selectionModel);this.subscriptions.add(this.rowReorderingModel.onLongHover$.subscribe(function(c){var d=c.row;"load-more-children"===d.type?a.displayAllSiblings(d):"data"===d.type&&(c=a.tableModel.expansion,d=d.ancestorChain,kP(c,d)||lP(c,d,10))}));this.subscriptions.add(this.rowReorderingModel.onRowsMoved$.subscribe(function(c){var d;
return Ld(function(e){if(1==e.nextAddress)return Enc(a.issueRelationshipsFridge,c.insertAt,c.movedRows.map(function(g){return{issueId:g.nodeId,parentId:g.parentNodeId}})).then(function(){return a.liveAnnouncer.announce(c.actionMessage+" successfully.")}).catch(a.showError("Unable to reorder issues")),myc(a.tableModel.expansion,c.parentAncestorChain,c.movedRows),e.yield((0,F.firstValueFrom)(a.correctedDisplayedRows.changes.pipe(E(function(g){return g.find(function(h){return"data"===h.row.type&&h.row.ancestorChain.nodeId===
c.movedRows[0].nodeId&&h.row.ancestorChain.parentNodeId===c.insertAt.parentId})}),Zd(Boolean),ae(6E4))),2);d=e.yieldResult;d.focus();Qd(e)})}));this.subscriptions.add(this.rowReorderingModel.onRowsMoved$.subscribe(function(c){a.reorderingSessionTracker.onRowsMoved$.next(c)}))};
f.trackRelationsData=function(a){if(!this.hasLogged&&0!==a.length){this.hasLogged=!0;var b=a.length,c=0===document.querySelectorAll("b-issue-relations-table b-expandable-issue-title-cell .collapsed").length+document.querySelectorAll('b-issue-relations-table [data-type="load-more-children"]').length;qH(this.clearcut,"view-relations-"+(c?"all-loaded":"some-loaded"));this.analytics.trackEvent(Pyc,"view-relations","visible-count",b);c&&(a=a.filter(function(d){var e;return null!=(null==d?void 0:null==
(e=d.snapshot[0])?void 0:e.effort)}).length/b,qH(this.clearcut,"view-relations-"+(.5<a?"most-estimated":"most-unestimated")),this.analytics.trackEvent(Pyc,"view-relations","ratio-estimated",a))}};
f.ngAfterViewInit=function(){var a=this;this.selectionModel.init(this.displayedRows);(0,F.combineLatest)([this.rows$,this.displayedRows.changes]).pipe(qe(this.destroyed$)).subscribe(function(b){b=k(b).next().value;a.rowDirectiveMap=new Map(a.displayedRows.map(function(c){return[c.row.ancestorChain.hash(),c]}));b=b.map(function(c){return a.rowDirectiveMap.get(c.ancestorChain.hash())}).filter(Boolean);a.correctedDisplayedRows.reset(b);gf(a.correctedDisplayedRows)});this.focusManager=mx(new ovc(this.correctedDisplayedRows,
$l))};f.toggleExpansion=function(a){lP(this.tableModel.expansion,a.ancestorChain,a.expandedCount?0:10)};f.navigateToIssue=function(a,b){!b.id||a.defaultPrevented||"mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button||"A"===a.target.tagName||(this.analytics.trackEvent(Pyc,"navigate","to-child-issue"),b=Gk(b.id),a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button?this.domSafe.openInNewTab(b):a&&a.shiftKey?Wl(this.domSafe,b):ip(this.router,b))};
f.displayAllSiblings=function(a){var b=this,c;return Ld(function(d){if(1==d.nextAddress)return c=b.getRowIndex(a),lP(b.tableModel.expansion,a.ancestorChain.parentChain,500),d.yield(Rl(),2);b.focusManager.setActiveItem(c);Qd(d)})};f.getMenuItemsForDraft=function(a){var b=this;return[{type:"action",label:"Continue on the create issue page",action:function(c){return b.navigateToCreateIssuePage(c,a)},title:"Continue on the create issue page",icon:"arrow-forward"}]};
f.getMenuItems=function(a){var b=this,c=[{type:"action",label:"Go to issue",action:function(g){b.navigateToIssue(g,a)},title:"Go to issue",icon:"arrow-forward"},{type:"action",label:"View Children",disabled:!ol(a.hasChildren$),action:function(){var g=Ik({q:"parentid:"+a.id});b.domSafe.openInNewTab(g)},title:"View the children of this issue on the main search page",icon:"pop-out"},{type:"action",label:"Create child",action:function(){return Ld(function(g){if(1==g.nextAddress)return g.yield(Rl(),2);
b.createChildIssue(a);Qd(g)})},title:"Create child",icon:"add",hintText:"Shift+Enter"},{type:"action",label:"Add child",action:function(){b.addExistingChild(a)},title:"Add existing issue as child",icon:"add"},{type:"action",label:"Create sibling",action:function(){return Ld(function(g){if(1==g.nextAddress)return g.yield(Rl(),2);b.createSiblingIssue(a);Qd(g)})},title:"Create sibling",icon:"add",hintText:"Enter"},{type:"submenu",label:"Reorder",icon:"reorder_24px",items:[{type:"action",label:"Move up",
action:function(){b.rowReorderingModel.moveUp(b.rowDirectiveMap.get(a.ancestorChain.hash()))},title:"Move up",icon:"arrow-up",hintText:"shift+ctrl+up"},{type:"action",label:"Move down",action:function(){b.rowReorderingModel.moveDown(b.rowDirectiveMap.get(a.ancestorChain.hash()))},title:"Move down",icon:"arrow-down",hintText:"shift+ctrl+down"},{type:"action",label:"Indent",action:function(){Nyc(b.rowReorderingModel,b.rowDirectiveMap.get(a.ancestorChain.hash()))},title:"Indent",icon:"arrow-right",hintText:"shift+ctrl+right"},
{type:"action",label:"Unindent",action:function(){Myc(b.rowReorderingModel,b.rowDirectiveMap.get(a.ancestorChain.hash()))},title:"Unindent",icon:"arrow-left",hintText:"shift+ctrl+left"}]},{type:"action",label:"Unlink from parent",action:function(){b.unlinkFromParent(a)},title:"Unlink from parent",icon:"link-off"},{type:"action",label:"Archive",action:function(){b.archiveRow(a)},title:"Archive issue",icon:"archive_24px"}],d,e;return null!=(e=null==(d=this.modifyMenuItems)?void 0:d.call(this,a,c))?
e:c};f.saveDraft=function(a){var b=this,c,d;return Ld(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,F.firstValueFrom)(b.displayedRows.changes.pipe(E(function(g){return g.find(function(h){return"data"===h.row.type&&h.row.id===a.issueId})}),Zd(Boolean),ae(6E4))),2)}c=e.yieldResult;$l(null==(d=b.focusManager.activeItem)?void 0:d.row,a)&&b.focusManager.setActiveItem(c);Qd(e)})};
f.cancelDraft=function(a){if(!a.saving){this.tableModel.deleteDraftRow(a);var b;$l(null==(b=this.focusManager.activeItem)?void 0:b.row,a)&&this.focusManager.setPreviousItemActive()}};f.createChildIssue=function(a){this.tableModel.createChildOrDraft(null==a?void 0:a.ancestorChain,{afterIssueId:"-1"})};f.createSiblingIssue=function(a){"data"===a.type?this.tableModel.createChildOrDraft(a.ancestorChain.parentChain,{afterIssueId:a.id}):this.tableModel.createChildOrDraft(a.ancestorChain.parentChain,{afterDraftId:a.id})};
f.addExistingChild=function(a){this.tableModel.addExistingChild(a)};f.getDraftColumns=function(){return this.tableColumns.map(function(a){return"title"===a?"editable-title":"menu"===a?"save":"id"===a?"empty-id":a})};f.handleDragStart=function(a){this.reorderingSessionTracker.dragStarted$.next({origin:"mouse"});this.rowReorderingModel.handleDragStart(a)};
f.onRowKeydown=function(a,b){var c=this,d;return Ld(function(e){if(1==e.nextAddress){c.focusManager.onKeydown(b);c.rowReorderingModel.onKeydown(b);switch(b.keyCode){case 39:case 37:if(b.ctrlKey)return e.return();"data"===a.type&&(c.toggleExpansion(a),b.preventDefault());"load-more-children"===a.type&&(c.displayAllSiblings(a),b.preventDefault());break;case 13:return e.jumpTo(2)}return e.jumpTo(0)}if(4!=e.nextAddress)return"BUTTON"!==b.target.tagName||b.shiftKey||b.metaKey?e.yield(c.tableModel.isOneLineCreationSupported(),
4):e.return();d=e.yieldResult;if(!d)return e.return();"data"===a.type&&(b.shiftKey?c.createChildIssue(a):c.createSiblingIssue(a));"draft-issue"===a.type&&a.saving&&c.createSiblingIssue(a);b.preventDefault();return e.jumpTo(0)})};
f.navigateToCreateIssuePage=function(a,b){var c=this,d,e,g,h,l,q,v,y;return Ld(function(B){if(1==B.nextAddress)return a.defaultPrevented||"mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button?B.return():B.yield((0,F.firstValueFrom)(b.issue$),2);d=B.yieldResult;v={};y=c.paths.createIssue((v.component=String(null==(e=d)?void 0:e.snapshot[0].componentId),v.parentIssueId=b.ancestorChain.parentChain.nodeId,v.redirectUrl=oya(c.rootIssueId),v.afterIssueId=b.afterIssueId,v.title=b.title,v.priority=null!=
(l=null==(g=d)?void 0:g.snapshot[0].priority)?l:void 0,v.type=null!=(q=null==(h=d)?void 0:h.snapshot[0].type)?q:void 0,v));if(a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button)return c.cancelDraft(b),c.domSafe.openInNewTab(y),B.return();if(a&&a.shiftKey)return c.cancelDraft(b),Wl(c.domSafe,y),B.return();ip(c.router,y);Qd(B)})};
f.archiveRow=function(a){var b=this,c,d;Ld(function(e){if(1==e.nextAddress)return b.analytics.trackEvent(Pyc,"update","archive-child-issue"),c=b.getRowIndex(a),b.issueArchiveService.archive(a.id),e.yield((0,F.firstValueFrom)(b.rows$.pipe(E(function(g){return!g.find(function(h){return"data"===h.type&&h.id===a.id})}),Zd(Boolean),ae(6E4))),2);$l(null==(d=b.focusManager.activeItem)?void 0:d.row,a)&&b.focusManager.setActiveItem(c);Qd(e)})};
f.unlinkFromParent=function(a){var b=this,c,d;return Ld(function(e){c=a.ancestorChain.nodeId;d=a.ancestorChain.parentNodeId;b.analytics.trackEvent(Pyc,"update","unlink-child-issue");return e.yield(b.issueRelationshipsFridge.unlinkFromParent(c,d).then(function(){WF(b.butterBar,"Unlinked successfully.")}).catch(b.showError("Failed to unlink child "+c+" from parent "+d)),0)})};
gg.Object.defineProperties(yP.prototype,{filters:{configurable:!0,enumerable:!0,set:function(a){this.quickFilters.reset(a)},get:function(){return[].concat(Jc(this.quickFilters))}},model:{configurable:!0,enumerable:!0,get:function(){return this.tableModel}}});yP.\u0275fac=function(a){return new (a||yP)(D(PH),D(GG),D(VF),D(AH),D(rP),D(te),D(fd),D(sP),D(rK),D(wP),D(wH),D(oP),D(cx),D(oH),D(OG))};
yP.\u0275cmp=zc({type:yP,selectors:[["expandable-issues-table"]],viewQuery:function(a,b){a&1&&jf(uM,5);if(a&2){var c;hf(c=lf())&&(b.displayedRows=c)}},inputs:{rootIssueId:"rootIssueId",filters:"filters",saveExpansionAtKey:"saveExpansionAtKey",projectData:"projectData",modifyMenuItems:"modifyMenuItems",tableColumns:"tableColumns",options:"options"},features:[Xe([wH]),xe],decls:49,vars:10,consts:[["mat-table","","multiTemplateDataRows","",1,"full-width",3,"dataSource","trackBy"],["matColumnDef","focus-indicator"],
["mat-header-cell","",4,"matHeaderCellDef"],["tabindex","-1","mat-cell","",3,"click",4,"matCellDef"],["matColumnDef","drag-handle"],["mat-cell","","draggable","true","tabindex","-1",3,"click","dragstart",4,"matCellDef"],["matColumnDef","id"],["mat-cell","",4,"matCellDef"],["matColumnDef","empty-id"],["matColumnDef","title"],["matColumnDef","type"],["matColumnDef","assignee"],["matColumnDef","status"],["matColumnDef","team"],["matColumnDef","menu"],["matColumnDef","cls"],["matColumnDef","save"],["mat-cell",
"","class","text-center",4,"matCellDef"],["matColumnDef","load-more-children"],["mat-cell","",3,"padding-left",4,"matCellDef"],["matColumnDef","editable-title"],[4,"ngIf"],["mat-row","","selectionPreventsClick","","class","clickable",3,"row","selected","closed","highlighted","click","mouseup","focusin","keydown",4,"matRowDef","matRowDefColumns","matRowDefWhen"],["mat-row","",3,"row","focusin","keydown",4,"matRowDef","matRowDefColumns","matRowDefWhen"],["mat-row","","class","draft","cdkTrapFocus",
"",3,"row","keydown","keydown.escape","keydown.backspace","focusin",4,"matRowDef","matRowDefColumns","matRowDefWhen"],[1,"drag-preview"],[1,"placeholder"],[1,"insertion-bar"],["mat-header-cell",""],["tabindex","-1","mat-cell","",3,"click"],["focusIndicator",""],["mat-cell","","draggable","true","tabindex","-1",3,"click","dragstart"],["dragHandle",""],["svgIcon","drag-indicator",1,"icon-s"],["mat-cell",""],[3,"id"],[3,"issue","expandable","expanded","level","expansionChange"],[3,"issue"],[3,"ngSwitch"],
[4,"ngSwitchCase"],[3,"issue",4,"ngSwitchDefault"],[3,"email"],[3,"email",4,"ngIf"],[4,"ngIf","ngIfElse"],["normalStatusChip",""],["target","_blank",1,"chippy","status-4","pending-fix-msg",3,"href","matTooltip"],["buttonLabel","More options",3,"menuItems","click"],[3,"isReady",4,"ngIf"],[3,"isReady"],["target","_blank",1,"hover-link","nowrap",3,"href","matTooltip","click"],["mode","relativepast",3,"paddingLeftPx","timestamp"],["mat-cell","",1,"text-center"],["buttonLabel","More options",3,"menuItems",
"click",4,"ngIf","ngIfElse"],["saving",""],["format","flat",3,"onAction"],[1,"title-location"],[1,"flex-kids-x","align-items-center","gap-s"],["placeholder","Start typing the title...",1,"grow-1",3,"value","readonly","valueChange","commit"],["color","primary","format","fill","size","small","title","Create issue","matTooltip","(Shortcut: Enter)",3,"disabled","onAction"],["format","flat","size","small","title","Cancel","matTooltip","(Shortcut: Esc)",3,"disabled","onAction"],["mat-header-row","",4,"matHeaderRowDef"],
["mat-header-row",""],["mat-row","","selectionPreventsClick","",1,"clickable",3,"row","click","mouseup","focusin","keydown"],["mat-row","",3,"row","focusin","keydown"],["mat-row","","cdkTrapFocus","",1,"draft",3,"row","keydown","keydown.escape","keydown.backspace","focusin"]],template:function(a,b){a&1&&(H(0,"table",0),L(1,1),R(2,BLa,1,0,"th",2),R(3,CLa,2,0,"td",3),M(),L(4,4),R(5,DLa,1,0,"th",2),R(6,ELa,3,0,"td",5),M(),L(7,6),R(8,FLa,2,0,"th",2),R(9,GLa,2,1,"td",7),M(),L(10,8),R(11,HLa,2,0,"th",2),
R(12,ILa,2,0,"td",7),M(),L(13,9),R(14,JLa,2,0,"th",2),R(15,KLa,4,8,"td",7),M(),L(16,10),R(17,LLa,2,0,"th",2),R(18,MLa,3,3,"td",7),M(),L(19,11),R(20,NLa,2,0,"th",2),R(21,YLa,6,4,"td",7),M(),L(22,12),R(23,ZLa,2,0,"th",2),R(24,dMa,4,2,"td",7),M(),L(25,13),R(26,eMa,2,0,"th",2),R(27,fMa,3,3,"td",7),M(),L(28,14),R(29,gMa,1,0,"th",2),R(30,hMa,2,1,"td",7),M(),L(31,15),R(32,iMa,2,0,"th",2),R(33,mMa,2,1,"td",7),M(),L(34,16),R(35,nMa,1,0,"th",2),R(36,qMa,4,2,"td",17),M(),L(37,18),R(38,rMa,6,7,"td",19),M(),L(39,
20),R(40,sMa,2,0,"th",2),R(41,tMa,7,6,"td",19),M(),R(42,vMa,2,1,"ng-container",21),R(43,xMa,4,16,"tr",22),R(44,yMa,1,4,"tr",23),R(45,zMa,1,2,"tr",24),J(),K(46,"div",25)(47,"div",26)(48,"div",27));a&2&&(G("dataSource",b.rows$)("trackBy",b.trackBy),C(42),G("ngIf",!b.options.hideHeader),C(1),G("matRowDefColumns",b.tableColumns)("matRowDefWhen",b.isDataRow),C(1),G("matRowDefColumns",Ye(9,Oyc))("matRowDefWhen",b.isLoadMoreRow),C(1),G("matRowDefColumns",b.getDraftColumns())("matRowDefWhen",b.isDraftRow))},
dependencies:[Wv,Tu,Uu,Vu,Wu,jz,FL,xL,BL,yL,wL,CL,zL,AL,DL,EL,XA,RK,CK,qP,BK,aN,DK,mM,GK,JK,QK,oN,qK,SK,SL,uM,vK,Zu,pP],styles:['.mat-header-cell[_ngcontent-%COMP%]{font-weight:500}tr.mat-header-row[_ngcontent-%COMP%], tr.mat-row[_ngcontent-%COMP%]{height:32px}td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%], th.mat-header-cell[_ngcontent-%COMP%]{font-size:.8125rem;padding:0 4px}td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%]{color:#202124;color:var(--row-default-text)}th.mat-header-cell[_ngcontent-%COMP%]{color:#202124;color:var(--text-high-contrast)}td.mat-column-menu[_ngcontent-%COMP%], td.mat-column-save[_ngcontent-%COMP%]{width:32px;height:32px}.mat-header-cell[_ngcontent-%COMP%]:first-of-type, .mat-cell[_ngcontent-%COMP%]:first-of-type, .mat-footer-cell[_ngcontent-%COMP%]:first-of-type{padding-left:0px}.mat-header-cell[_ngcontent-%COMP%]:last-of-type, .mat-cell[_ngcontent-%COMP%]:last-of-type, .mat-footer-cell[_ngcontent-%COMP%]:last-of-type{padding-right:0px}tr.mat-row.clickable[_ngcontent-%COMP%]{cursor:pointer}tr.mat-row.clickable[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}tr.mat-row[_ngcontent-%COMP%]   .mat-column-focus-indicator[_ngcontent-%COMP%]{cursor:pointer;display:table-cell;padding:0 1.5px;width:0}tr.mat-row[_ngcontent-%COMP%]:focus-within   .mat-column-focus-indicator[_ngcontent-%COMP%]{outline:none;background-color:#4285f4;background-color:var(--primary-c500)}tr.mat-row[_ngcontent-%COMP%]   .mat-column-drag-handle[_ngcontent-%COMP%]{box-sizing:border-box;cursor:move;outline-width:0;padding:0px;width:18px}tr.mat-row[_ngcontent-%COMP%]   .mat-column-drag-handle[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{line-height:32px;opacity:.2}.mat-header-cell.mat-column-title[_ngcontent-%COMP%]{padding-left:36px;min-width:250px}.insertion-bar[_ngcontent-%COMP%]{background-color:#1a73e8;background-color:var(--primary-btn-bg);display:none;height:2px;pointer-events:none;position:absolute}.insertion-bar[_ngcontent-%COMP%]::before{content:"";border-bottom:5px solid rgba(0,0,0,0);border-left:8px solid;border-left-color:#1a73e8;border-left-color:var(--primary-btn-bg);border-top:5px solid rgba(0,0,0,0);display:block;height:0;position:relative;top:-4px;width:0}a.pending-fix-msg[_ngcontent-%COMP%], [mat-table][_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]   a.pending-fix-msg[_ngcontent-%COMP%]:hover, [mat-table][_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]   a.pending-fix-msg[_ngcontent-%COMP%]:focus, [mat-table][_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]   a.pending-fix-msg[_ngcontent-%COMP%]:active, [mat-table][_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]   a.pending-fix-msg[_ngcontent-%COMP%]{color:var(--b-status-fixed-text)}.placeholder[_ngcontent-%COMP%]{background-color:#1a73e8;background-color:var(--primary-btn-bg);border-radius:4px;box-sizing:border-box;display:none;opacity:.7;pointer-events:none;position:absolute;top:0;width:100%}.drag-preview[_ngcontent-%COMP%]{background-color:#1a73e8;background-color:var(--primary-btn-bg);color:#fff;color:var(--inverse-text);border-radius:4px;display:none;padding:7px 13px;position:absolute}tr.dragging[_ngcontent-%COMP%], tr.nodrop[_ngcontent-%COMP%]{opacity:.5}tr.closed[_ngcontent-%COMP%]{background-color:#f1f3f4;background-color:var(--row-fixed-bg)}tr.closed[_ngcontent-%COMP%]   td.mat-cell[_ngcontent-%COMP%], tr.closed[_ngcontent-%COMP%]   td.mat-footer-cell[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}tr.closed[_ngcontent-%COMP%]   td.mat-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], tr.closed[_ngcontent-%COMP%]   td.mat-footer-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted)}tr.closed[_ngcontent-%COMP%]   td.mat-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, tr.closed[_ngcontent-%COMP%]   td.mat-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus, tr.closed[_ngcontent-%COMP%]   td.mat-footer-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, tr.closed[_ngcontent-%COMP%]   td.mat-footer-cell[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{color:#1a73e8;color:var(--link)}[_nghost-%COMP%]{display:block;position:relative;padding-bottom:5px;overflow-y:hidden;overflow-x:auto}[_nghost-%COMP%]     .mat-column-assignee b-user-image img{max-width:24px;vertical-align:middle}\n/*# sourceMappingURL=expandable_issues_table.css.map */'],
changeDetection:0});var zP=function(a){r.call(this,a)};V(zP,r);f=zP.prototype;f.getComponentId=function(){return Wh(this,ym(this,AP,1))};f.setComponentId=function(a){return mm(this,1,AP,a)};f.hasComponentId=function(){return null!=bq(this,1,AP)};f.getHotlistId=function(){return Wh(this,ym(this,AP,2))};f.setHotlistId=function(a){mm(this,2,AP,a)};f.getTeamId=function(){return aq(this,5,AP)};f.setTeamId=function(a){return mm(this,5,AP,a)};var AP=[1,2,5];zP.prototype.toObject=function(){return Ryc(this)};
var Ryc=function(a){if(null!=a)return t(a),{componentId:p(bq(a,1,AP)),hotlistId:p(bq(a,2,AP)),teamId:p(Am(a,5,AP)),syncStartTime:pr(W(a,ug,3)),syncEndTime:pr(W(a,ug,4))}},Syc=[zP,1,tq,AP,2,tq,AP,5,Fq,AP,3,X,qr,4,X,qr];zP.prototype.serializeBinary=u(Syc);var BP=function(a){r.call(this,a)};V(BP,r);BP.prototype.getSourceSyncStateList=function(){return yg(this,zP,2)};BP.repeatedFields_=[1,2];BP.prototype.toObject=function(){return Tyc(this)};var Tyc=function(a){if(null!=a)return t(a),{componentIdsList:p(Wj(a,1)),sourceSyncStateList:Mb(a.getSourceSyncStateList(),Ryc)}},Uyc=[BP,1,rq,2,Iq,Syc];BP.prototype.serializeBinary=u(Uyc);var CP=function(a){r.call(this,a)};V(CP,r);CP.prototype.getHotlistId=function(){return Wh(this,1)};CP.prototype.setHotlistId=function(a){lb(this,1,a)};CP.prototype.toObject=function(){return Vyc(this)};var Vyc=function(a){if(null!=a)return t(a),{hotlistId:Wh(a,1),sourceSyncState:Ryc(W(a,zP,2))}},Wyc=[CP,1,sq,2,X,Syc];CP.prototype.serializeBinary=u(Wyc);var DP=function(a){r.call(this,a)};V(DP,r);DP.prototype.getEmail=function(){return mh(this,1)};DP.prototype.setEmail=function(a){return mb(this,1,a)};DP.prototype.toObject=function(){return Xyc(this)};var Xyc=function(a){if(null!=a)return t(a),{email:mh(a,1),isGroup:vi(a,2)}},Yyc=[DP,1,Eq,2,Aq];DP.prototype.serializeBinary=u(Yyc);var EP=function(a){r.call(this,a)};V(EP,r);EP.prototype.setTeamIdsList=function(a){return uh(this,1,a)};EP.prototype.getSourceSyncStateList=function(){return yg(this,zP,2)};EP.repeatedFields_=[1,2];EP.prototype.toObject=function(){return Zyc(this)};var Zyc=function(a){if(null!=a)return t(a),{teamIdsList:p(Cg(a,1)),sourceSyncStateList:Mb(a.getSourceSyncStateList(),Ryc)}},$yc=[EP,1,Dq,2,Iq,Syc];EP.prototype.serializeBinary=u($yc);var azc=function(a){r.call(this,a)};V(azc,r);var bzc=[1,2];azc.prototype.toObject=function(){return czc(this)};var czc=function(a){if(null!=a)return t(a),{buganizerStatus:p(Up(a,ym(a,bzc,1))),customStatusId:p(bq(a,2,bzc))}},dzc=[azc,1,Rq,bzc,2,tq,bzc];azc.prototype.serializeBinary=u(dzc);var FP=function(a){r.call(this,a)};V(FP,r);FP.prototype.getName=function(){return mh(this,1)};FP.prototype.setName=function(a){return mb(this,1,a)};FP.repeatedFields_=[2];FP.prototype.toObject=function(){return ezc(this)};var ezc=function(a){if(null!=a)return t(a),{name:mh(a,1),buganizerOrCustomStatusesList:Mb(yg(a,azc,2),czc),itemLimit:Wh(a,3)}},fzc=[FP,1,Eq,2,Iq,dzc,3,sq];FP.prototype.serializeBinary=u(fzc);var GP=function(a){r.call(this,a)};V(GP,r);f=GP.prototype;f.getCustomFieldId=function(){return Wh(this,1)};f.setCustomFieldId=function(a){return lb(this,1,a)};f.getCustomFieldValue=function(){return mh(this,2)};f.setCustomFieldValue=function(a){return mb(this,2,a)};f.clearCustomFieldValue=function(){return Qp(this,2)};f.toObject=function(){return gzc(this)};var gzc=function(a){if(null!=a)return t(a),{customFieldId:Wh(a,1),customFieldValue:mh(a,2)}},hzc=[GP,1,sq,2,Eq];
GP.prototype.serializeBinary=u(hzc);var izc=function(a){r.call(this,a)};V(izc,r);f=izc.prototype;f.getId=function(){return Wh(this,1)};f.setId=function(a){return lb(this,1,a)};f.getName=function(){return mh(this,2)};f.setName=function(a){return mb(this,2,a)};f.setColor=function(a){return mb(this,4,a)};f.clearColor=function(){return Qp(this,4)};f.getCustomField=function(){return W(this,GP,6)};f.setCustomField=function(a){return Oh(this,GP,6,a)};f.toObject=function(){return jzc(this)};
var jzc=function(a){if(null!=a)return t(a),{id:Wh(a,1),name:mh(a,2),color:mh(a,4),buganizerStatus:Fh(a,5,0),customField:gzc(a.getCustomField())}},kzc=[izc,1,sq,2,Eq,4,Eq,5,Qq,6,X,hzc];izc.prototype.serializeBinary=u(kzc);var HP=function(a){r.call(this,a)};V(HP,r);HP.prototype.getId=function(){return Wh(this,1)};HP.prototype.setId=function(a){return lb(this,1,a)};HP.prototype.toObject=function(){return lzc(this)};var lzc=function(a){if(null!=a)return t(a),{id:Wh(a,1)}},mzc=[HP,1,sq];HP.prototype.serializeBinary=u(mzc);var IP=function(a){r.call(this,a)};V(IP,r);IP.prototype.setWorkItemId=function(a){return mb(this,1,a)};IP.prototype.toObject=function(){return nzc(this)};var nzc=function(a){if(null!=a)return t(a),{workItemId:mh(a,1)}},ozc=[IP,1,Eq];IP.prototype.serializeBinary=u(ozc);var pzc=function(a){r.call(this,a)};V(pzc,r);pzc.prototype.toObject=function(){return qzc(this)};var qzc=function(a){if(null!=a)return t(a),{}},rzc=[pzc];pzc.prototype.serializeBinary=u(rzc);var szc=function(a){r.call(this,a)};V(szc,r);szc.prototype.toObject=function(){return tzc(this)};var tzc=function(a){if(null!=a)return t(a),{}},uzc=[szc];szc.prototype.serializeBinary=u(uzc);var JP=function(a){r.call(this,a)};V(JP,r);JP.prototype.getId=function(){return Wh(this,ym(this,KP,1))};JP.prototype.setId=function(a){return mm(this,1,KP,a)};var KP=[1,2,3];JP.prototype.toObject=function(){return vzc(this)};var vzc=function(a){if(null!=a)return t(a),{id:p(bq(a,1,KP)),iterationType:p(Up(a,ym(a,KP,2))),iterationTag:p(Up(a,ym(a,KP,3)))}},wzc=[JP,1,tq,KP,2,Rq,KP,3,Rq,KP];JP.prototype.serializeBinary=u(wzc);var LP=function(a){r.call(this,a)};V(LP,r);LP.prototype.getId=function(){return Wh(this,1)};LP.prototype.setId=function(a){return lb(this,1,a)};LP.prototype.toObject=function(){return xzc(this)};var xzc=function(a){if(null!=a)return t(a),{id:Wh(a,1)}},yzc=[LP,1,sq];LP.prototype.serializeBinary=u(yzc);var MP=function(a){r.call(this,a)};V(MP,r);MP.prototype.getQuery=function(){return mh(this,1)};MP.prototype.setQuery=function(a){return mb(this,1,a)};MP.prototype.clearQuery=function(){Qp(this,1)};MP.prototype.toObject=function(){return zzc(this)};var zzc=function(a){if(null!=a)return t(a),{query:mh(a,1)}},Azc=[MP,1,Eq];MP.prototype.serializeBinary=u(Azc);var OP=function(a){r.call(this,a)};V(OP,r);OP.prototype.getId=function(){return mh(this,1)};OP.prototype.setId=function(a){return mb(this,1,a)};OP.prototype.toObject=function(){return Bzc(this)};var Bzc=function(a){if(null!=a)return t(a),{id:mh(a,1)}},Czc=[OP,1,Eq];OP.prototype.serializeBinary=u(Czc);var PP=function(a){r.call(this,a)};V(PP,r);var QP=[1,2,3,4,5,6,7,8];PP.prototype.toObject=function(){return Dzc(this)};
var Dzc=function(a){if(null!=a)return t(a),{backlogScope:lzc(Fi(a,HP,1,QP)),drillinScope:nzc(Fi(a,IP,2,QP)),goalsScope:qzc(Fi(a,pzc,3,QP)),inboxScope:tzc(Fi(a,szc,4,QP)),iterationScope:vzc(Fi(a,JP,5,QP)),searchScope:zzc(Fi(a,MP,6,QP)),tagScope:Bzc(Fi(a,OP,7,QP)),savedQueryScope:xzc(Fi(a,LP,8,QP))}},Ezc=[PP,1,Jq,mzc,QP,2,Jq,ozc,QP,3,Jq,rzc,QP,4,Jq,uzc,QP,5,Jq,wzc,QP,6,Jq,Azc,QP,7,Jq,Czc,QP,8,Jq,yzc,QP];PP.prototype.serializeBinary=u(Ezc);var RP=function(a){r.call(this,a)};V(RP,r);RP.prototype.getScope=function(){return W(this,PP,2)};RP.prototype.toObject=function(){return Fzc(this)};var Fzc=function(a){if(null!=a)return t(a),{savedViewId:mh(a,1),scope:Dzc(a.getScope())}},Gzc=[RP,1,Eq,2,X,Ezc];RP.prototype.serializeBinary=u(Gzc);var SP=function(a){r.call(this,a)};V(SP,r);SP.prototype.getPriority=function(a){return $Mb(this,1,a)};SP.prototype.setPriority=function(a,b){return fb(this,1,a,b,Gj)};SP.repeatedFields_=[1,2];SP.prototype.toObject=function(){return Hzc(this)};var Hzc=function(a){if(null!=a)return t(a),{priorityList:p(Gj(a,1)),itemTypesList:p(Gj(a,2))}},Izc=[SP,1,Pq,2,Pq];SP.prototype.serializeBinary=u(Izc);var Jzc=function(a){r.call(this,a)};V(Jzc,r);Jzc.prototype.toObject=function(){return Kzc(this)};var Kzc=function(a){if(null!=a)return t(a),{defaultStartAsBlank:p(Db(a,1)),estimateAndDependenciesMax:p(Db(a,2))}},Lzc=[Jzc,1,zq,2,zq];Jzc.prototype.serializeBinary=u(Lzc);var Mzc=function(a){r.call(this,a)};V(Mzc,r);Mzc.prototype.toObject=function(){return Nzc(this)};var Nzc=function(a){if(null!=a)return t(a),{parentIssueType:Fh(a,1,0),childIssueType:Fh(a,2,0)}},Ozc=[Mzc,1,Qq,2,Qq];Mzc.prototype.serializeBinary=u(Ozc);var TP=function(a){r.call(this,a)};V(TP,r);TP.prototype.getType=function(){return Fh(this,1,0)};TP.prototype.setType=function(a){return Dh(this,1,a)};TP.prototype.getScope=function(){return W(this,PP,2)};TP.prototype.toObject=function(){return Pzc(this)};var Pzc=function(a){if(null!=a)return t(a),{type:Fh(a,1,0),scope:Dzc(a.getScope())}},Qzc=[TP,1,Qq,2,X,Ezc];TP.prototype.serializeBinary=u(Qzc);var UP=function(a){r.call(this,a)};V(UP,r);UP.repeatedFields_=[1,2];UP.prototype.toObject=function(){return Rzc(this)};var Rzc=function(a){if(null!=a)return t(a),{rootLevelItemDefaultsList:Mb(yg(a,TP,1),Pzc),preferredParentChildIssueTypesList:Mb(yg(a,Mzc,2),Nzc),inheritedParentFields:tC(W(a,sC,3)),inheritedSiblingFields:tC(W(a,sC,4))}},Szc=[UP,1,Iq,Qzc,2,Iq,Ozc,3,X,uC,4,X,uC];UP.prototype.serializeBinary=u(Szc);var VP=function(a){r.call(this,a)};V(VP,r);VP.repeatedFields_=[1];VP.prototype.toObject=function(){return Tzc(this)};var Tzc=function(a){if(null!=a)return t(a),{workspaceIdsList:p(Wj(a,1))}},Uzc=[VP,1,rq];VP.prototype.serializeBinary=u(Uzc);var WP=function(a){r.call(this,a)};V(WP,r);WP.prototype.getAssignee=function(){return mh(this,2)};WP.prototype.setAssignee=function(a){mb(this,2,a)};WP.prototype.clearAssignee=function(){return Qp(this,2)};WP.prototype.toObject=function(){return Vzc(this)};var Vzc=function(a){if(null!=a)return t(a),{promptUser:vi(a,1),assignee:mh(a,2),removeAssignee:vi(a,3)}},Wzc=[WP,1,Aq,2,Eq,3,Aq];WP.prototype.serializeBinary=u(Wzc);var XP=function(a){r.call(this,a)};V(XP,r);XP.repeatedFields_=[2,3];XP.prototype.toObject=function(){return Xzc(this)};var Xzc=function(a){if(null!=a)return t(a),{promptUser:vi(a,1),addCcsList:p(Cg(a,2)),removeCcsList:p(Cg(a,3))}},Yzc=[XP,1,Aq,2,Dq,3,Dq];XP.prototype.serializeBinary=u(Yzc);var YP=function(a){r.call(this,a)};V(YP,r);YP.prototype.getComment=function(){return mh(this,2)};YP.prototype.setComment=function(a){mb(this,2,a)};YP.prototype.toObject=function(){return Zzc(this)};var Zzc=function(a){if(null!=a)return t(a),{promptUser:vi(a,1),comment:mh(a,2)}},$zc=[YP,1,Aq,2,Eq];YP.prototype.serializeBinary=u($zc);var ZP=function(a){r.call(this,a)};V(ZP,r);ZP.prototype.getComponentId=function(){return Wh(this,1)};ZP.prototype.setComponentId=function(a){return lb(this,1,a)};ZP.prototype.toObject=function(){return aAc(this)};var aAc=function(a){if(null!=a)return t(a),{componentId:Wh(a,1),promptUser:vi(a,2)}},bAc=[ZP,1,sq,2,Aq];ZP.prototype.serializeBinary=u(bAc);var cAc=function(a){r.call(this,a)};V(cAc,r);f=cAc.prototype;f.getCustomFieldValue=function(){return W(this,gD,2)};f.setCustomFieldValue=function(a){return Oh(this,gD,2,a)};f.clearCustomFieldValue=function(){return Qp(this,2)};f.hasCustomFieldValue=function(){return qi(this,gD,2)};f.toObject=function(){return dAc(this)};var dAc=function(a){if(null!=a)return t(a),{promptUser:vi(a,1),customFieldValue:bec(a.getCustomFieldValue())}},eAc=[cAc,1,Aq,2,X,cec];cAc.prototype.serializeBinary=u(eAc);var $P=function(a){r.call(this,a)};V($P,r);$P.repeatedFields_=[2,3];$P.prototype.toObject=function(){return fAc(this)};var fAc=function(a){if(null!=a)return t(a),{promptUser:vi(a,1),addGoalIdsList:p(Wj(a,2)),removeGoalIdsList:p(Wj(a,3))}},gAc=[$P,1,Aq,2,rq,3,rq];$P.prototype.serializeBinary=u(gAc);var aQ=function(a){r.call(this,a)};V(aQ,r);aQ.prototype.setAddHotlistIdsList=function(a){bb(this,2,a,Ta)};aQ.prototype.setRemoveHotlistIdsList=function(a){bb(this,3,a,Ta)};aQ.repeatedFields_=[2,3];aQ.prototype.toObject=function(){return hAc(this)};var hAc=function(a){if(null!=a)return t(a),{promptUser:vi(a,1),addHotlistIdsList:p(Wj(a,2)),removeHotlistIdsList:p(Wj(a,3))}},iAc=[aQ,1,Aq,2,rq,3,rq];aQ.prototype.serializeBinary=u(iAc);var bQ=function(a){r.call(this,a)};V(bQ,r);bQ.prototype.getIterationId=function(){return Wh(this,2)};bQ.prototype.setIterationId=function(a){return lb(this,2,a)};bQ.prototype.getIteration=function(){return mh(this,3)};bQ.prototype.toObject=function(){return jAc(this)};var jAc=function(a){if(null!=a)return t(a),{promptUser:vi(a,1),iterationId:Wh(a,2),iteration:mh(a,3),removeIteration:vi(a,4)}},kAc=[bQ,1,Aq,2,sq,3,Eq,4,Aq];bQ.prototype.serializeBinary=u(kAc);var cQ=function(a){r.call(this,a)};V(cQ,r);cQ.prototype.getPriority=function(){return Fh(this,1,0)};cQ.prototype.setPriority=function(a){return Dh(this,1,a)};cQ.prototype.toObject=function(){return lAc(this)};var lAc=function(a){if(null!=a)return t(a),{priority:Fh(a,1,0)}},mAc=[cQ,1,Qq];cQ.prototype.serializeBinary=u(mAc);var dQ=function(a){r.call(this,a)};V(dQ,r);dQ.prototype.getSeverity=function(){return Fh(this,1,0)};dQ.prototype.setSeverity=function(a){return Dh(this,1,a)};dQ.prototype.toObject=function(){return nAc(this)};var nAc=function(a){if(null!=a)return t(a),{severity:Fh(a,1,0)}},oAc=[dQ,1,Qq];dQ.prototype.serializeBinary=u(oAc);var eQ=function(a){r.call(this,a)};V(eQ,r);eQ.prototype.getStatus=function(){return Fh(this,1,0)};eQ.prototype.setStatus=function(a){return Dh(this,1,a)};eQ.prototype.toObject=function(){return pAc(this)};var pAc=function(a){if(null!=a)return t(a),{status:Fh(a,1,0)}},qAc=[eQ,1,Qq];eQ.prototype.serializeBinary=u(qAc);var fQ=function(a){r.call(this,a)};V(fQ,r);fQ.repeatedFields_=[2,3];fQ.prototype.toObject=function(){return rAc(this)};var rAc=function(a){if(null!=a)return t(a),{promptUser:vi(a,1),addTagsList:p(Cg(a,2)),removeTagsList:p(Cg(a,3))}},sAc=[fQ,1,Aq,2,Dq,3,Dq];fQ.prototype.serializeBinary=u(sAc);var tAc=function(a){r.call(this,a)};V(tAc,r);tAc.prototype.toObject=function(){return uAc(this)};var uAc=function(a){if(null!=a)return t(a),{itemType:Fh(a,1,0)}},vAc=[tAc,1,Qq];tAc.prototype.serializeBinary=u(vAc);var wAc=function(a){r.call(this,a)};V(wAc,r);var gQ=[1,2,3,4,5,6,7,8,9,10,11,12,13];wAc.prototype.toObject=function(){return xAc(this)};
var xAc=function(a){if(null!=a)return t(a),{goalAction:fAc(Fi(a,$P,1,gQ)),iterationsBacklogsAction:jAc(Fi(a,bQ,2,gQ)),tagsAction:rAc(Fi(a,fQ,3,gQ)),hotlistsAction:hAc(Fi(a,aQ,4,gQ)),componentsAction:aAc(Fi(a,ZP,5,gQ)),statusAction:pAc(Fi(a,eQ,6,gQ)),priorityAction:lAc(Fi(a,cQ,7,gQ)),severityAction:nAc(Fi(a,dQ,8,gQ)),assigneeAction:Vzc(Fi(a,WP,9,gQ)),ccAction:Xzc(Fi(a,XP,10,gQ)),commentAction:Zzc(Fi(a,YP,11,gQ)),typeAction:uAc(Fi(a,tAc,12,gQ)),customFieldAction:dAc(Fi(a,cAc,13,gQ))}},yAc=[wAc,1,Jq,
gAc,gQ,2,Jq,kAc,gQ,3,Jq,sAc,gQ,4,Jq,iAc,gQ,5,Jq,bAc,gQ,6,Jq,qAc,gQ,7,Jq,mAc,gQ,8,Jq,oAc,gQ,9,Jq,Wzc,gQ,10,Jq,Yzc,gQ,11,Jq,$zc,gQ,12,Jq,vAc,gQ,13,Jq,eAc,gQ];wAc.prototype.serializeBinary=u(yAc);var hQ=function(a){r.call(this,a)};V(hQ,r);hQ.prototype.getName=function(){return mh(this,1)};hQ.prototype.setName=function(a){return mb(this,1,a)};hQ.prototype.getDescription=function(){return mh(this,2)};hQ.prototype.setDescription=function(a){return mb(this,2,a)};hQ.repeatedFields_=[3];hQ.prototype.toObject=function(){return zAc(this)};var zAc=function(a){if(null!=a)return t(a),{name:mh(a,1),description:mh(a,2),subActionsList:Mb(yg(a,wAc,3),xAc)}},AAc=[hQ,1,Eq,2,Eq,3,Iq,yAc];
hQ.prototype.serializeBinary=u(AAc);var iQ=function(a){r.call(this,a)};V(iQ,r);f=iQ.prototype;f.getUser=function(){return Fi(this,Lh,1,jQ)};f.setUser=function(a){sm(this,1,jQ,a)};f.hasUser=function(){return Di(this,Lh,1,jQ)};f.getGroup=function(){return Fi(this,Lh,2,jQ)};f.setGroup=function(a){sm(this,2,jQ,a)};f.getAlias=function(){return aq(this,3,jQ)};f.setAlias=function(a){mm(this,3,jQ,a)};var jQ=[1,2,3];iQ.prototype.toObject=function(){return kQ(this)};
var kQ=function(a){if(null!=a)return t(a),{user:MC(a.getUser()),group:MC(a.getGroup()),alias:p(Am(a,3,jQ))}},lQ=[iQ,1,Jq,NC,jQ,2,Jq,NC,jQ,3,Fq,jQ];iQ.prototype.serializeBinary=u(lQ);var mQ=function(a){r.call(this,a)};V(mQ,r);f=mQ.prototype;f.getAdminsList=function(){return yg(this,iQ,2)};f.setAdminsList=function(a){Th(this,2,a)};f.getInheritedAdminsList=function(){return yg(this,iQ,3)};f.getEditorsList=function(){return yg(this,iQ,4)};f.setEditorsList=function(a){Th(this,4,a)};f.getImplicitEditorsList=function(){return yg(this,iQ,5)};f.getAppendersList=function(){return yg(this,iQ,6)};f.setAppendersList=function(a){Th(this,6,a)};
f.getImplicitAppendersList=function(){return yg(this,iQ,7)};f.getReadersList=function(){return yg(this,iQ,8)};f.setReadersList=function(a){Th(this,8,a)};f.getImplicitReadersList=function(){return yg(this,iQ,9)};f.getImplicitAccess=function(){return Fh(this,10,0)};f.setImplicitAccess=function(a){return Dh(this,10,a)};f.getRestrictedReadersList=function(){return yg(this,iQ,11)};f.setRestrictedReadersList=function(a){Th(this,11,a)};f.getRestrictedPlusReadersList=function(){return yg(this,iQ,12)};
f.setRestrictedPlusReadersList=function(a){Th(this,12,a)};mQ.repeatedFields_=[2,3,4,5,6,7,8,9,11,12];mQ.prototype.toObject=function(){return BAc(this)};
var BAc=function(a){if(null!=a)return t(a),{inheritance:Fh(a,1,0),adminsList:Mb(a.getAdminsList(),kQ),inheritedAdminsList:Mb(a.getInheritedAdminsList(),kQ),editorsList:Mb(a.getEditorsList(),kQ),implicitEditorsList:Mb(a.getImplicitEditorsList(),kQ),appendersList:Mb(a.getAppendersList(),kQ),implicitAppendersList:Mb(a.getImplicitAppendersList(),kQ),readersList:Mb(a.getReadersList(),kQ),implicitReadersList:Mb(a.getImplicitReadersList(),kQ),implicitAccess:Fh(a,10,0),restrictedReadersList:Mb(a.getRestrictedReadersList(),
kQ),restrictedPlusReadersList:Mb(a.getRestrictedPlusReadersList(),kQ)}},CAc=[mQ,1,Qq,2,Iq,lQ,3,Iq,lQ,4,Iq,lQ,5,Iq,lQ,6,Iq,lQ,7,Iq,lQ,8,Iq,lQ,9,Iq,lQ,10,Qq,11,Iq,lQ,12,Iq,lQ];mQ.prototype.serializeBinary=u(CAc);var bm=function(a){r.call(this,a)};V(bm,r);f=bm.prototype;f.getWorkspaceId=function(){return Wh(this,1)};f.getName=function(){return mh(this,2)};f.setName=function(a){return mb(this,2,a)};f.getTimeZone=function(){return W(this,Ph,8)};f.setTimeZone=function(a){return Oh(this,Ph,8,a)};f.hasTimeZone=function(){return qi(this,Ph,8)};f.getMembersList=function(){return yg(this,DP,9)};f.setMembersList=function(a){Th(this,9,a)};f.getUpdateTime=function(){return W(this,ug,12)};
f.setUpdateTime=function(a){Oh(this,ug,12,a)};f.getBookmarkGroupId=function(){return Wh(this,14)};f.setBookmarkGroupId=function(a){lb(this,14,a)};f.getTeamId=function(){return mh(this,20)};f.setTeamId=function(a){return mb(this,20,a)};var DAc=Sb(bm);bm.repeatedFields_=[5,9,13,15,17,18];var nQ=[6,7,21];bm.prototype.toObject=function(){return EAc(this)};
var EAc=function(a){if(null!=a)return t(a),{workspaceId:Wh(a,1),name:mh(a,2),defaultComponentId:Wp(a,3),inboxQuery:mh(a,4),componentIdsList:p($a(a,5,Ua)),componentBased:Tyc(Fi(a,BP,6,nQ)),hotlistBased:Vyc(Fi(a,CP,7,nQ)),teamBased:Zyc(Fi(a,EP,21,nQ)),inclusionCriteria:Tzc(W(a,VP,24)),exclusionCriteria:Hzc(W(a,SP,25)),timeZone:pbc(a.getTimeZone()),membersList:Mb(a.getMembersList(),Xyc),trashComponentId:Wh(a,10),defaultHotlistAcls:BAc(W(a,mQ,11)),updateTime:pr(a.getUpdateTime()),triageActionsList:Mb(yg(a,
hQ,13),zAc),bookmarkGroupId:Wh(a,14),defaultSavedViewsList:Mb(yg(a,RP,15),Fzc),customStatusesList:Mb(yg(a,izc,17),jzc),boardColumnsList:Mb(yg(a,FP,18),ezc),teamId:mh(a,20),workspaceType:Fh(a,22,0),itemDefaultsConfig:Rzc(W(a,UP,23)),ganttDateStrategyConfig:Kzc(W(a,Jzc,26))}},FAc=[bm,1,sq,2,Eq,3,kNb,4,Eq,5,jNb,6,Jq,Uyc,nQ,7,Jq,Wyc,nQ,21,Jq,$yc,nQ,24,X,Uzc,25,X,Izc,8,X,qbc,9,Iq,Yyc,10,sq,11,X,CAc,12,X,qr,13,Iq,AAc,14,sq,15,Iq,Gzc,17,Iq,kzc,18,Iq,fzc,20,Eq,22,Qq,23,X,Szc,26,X,Lzc];
bm.prototype.serializeBinary=u(FAc);var oQ=function(a){r.call(this,a)};V(oQ,r);oQ.prototype.getWorkspaceId=function(){return Wh(this,1)};oQ.prototype.toObject=function(){if(null!=this){t(this);var a={workspaceId:Wh(this,1)}}else a=void 0;return a};oQ.prototype.serializeBinary=u([oQ,1,sq]);var GAc=new YB("/google.corp.devtools.worktracker.v1.WorkspaceService/Get",oQ,bm,function(a){return a.serialize()},DAc);var pQ=function(a){r.call(this,a)};V(pQ,r);pQ.prototype.toObject=function(){return HAc(this)};var HAc=function(a){if(null!=a)return t(a),{}},IAc=[pQ];pQ.prototype.serializeBinary=u(IAc);var qQ=function(a){r.call(this,a)};V(qQ,r);qQ.prototype.setWorkItemId=function(a){return mm(this,1,rQ,a)};var JAc=function(){var a=new qQ,b=new pQ;return sm(a,2,rQ,b)};qQ.repeatedFields_=[3];var rQ=[1,2];qQ.prototype.toObject=function(){if(null!=this){t(this);var a={workItemId:p(Am(this,1,rQ)),userWorkspacesRequest:HAc(Fi(this,pQ,2,rQ)),workspaceTypesList:p(Gj(this,3))}}else a=void 0;return a};qQ.prototype.serializeBinary=u([qQ,1,Fq,rQ,2,Jq,IAc,rQ,3,Pq]);var sQ=function(a){r.call(this,a)};V(sQ,r);var KAc=Sb(sQ);sQ.repeatedFields_=[1];sQ.prototype.toObject=function(){if(null!=this){t(this);var a={workspacesList:Mb(yg(this,bm,1),EAc)}}else a=void 0;return a};sQ.prototype.serializeBinary=u([sQ,1,Iq,FAc]);var LAc=new YB("/google.corp.devtools.worktracker.v1.WorkspaceService/List",qQ,sQ,function(a){return a.serialize()},KAc);var MAc=function(a,b){b=b||{};b.format="jspb";this.client_=new pC(b);this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};MAc.prototype.get=function(a,b){return qC(this.client_,this.hostname_+"/$rpc/google.corp.devtools.worktracker.v1.WorkspaceService/Get",a,b||{},GAc)};MAc.prototype.list=function(a,b){return qC(this.client_,this.hostname_+"/$rpc/google.corp.devtools.worktracker.v1.WorkspaceService/List",a,b||{},LAc)};var NAc={},OAc;NAc.Authorization=null!=(OAc=Fm([]))?OAc:"";NAc["X-Goog-Api-Key"]="AIzaSyAVSCxcE30nYSaySrZXBXCTumqIjorZA2c";NAc["X-Goog-AuthUser"]="0";
var tQ=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)},PAc=function(a,b){return a.activeSession.isExternalSession()?(0,F.of)([]):(0,F.from)(a.client.list((new qQ).setWorkItemId("b/"+
b),NAc)).pipe(E(AMa(b)),ce(function(){return(0,F.of)([])}))};tQ.\u0275fac=function(a){return new (a||tQ)(w(rp),w(uQ))};tQ.\u0275prov=nc({token:tQ,factory:tQ.\u0275fac,providedIn:"root"});var uQ=function(){};uQ.prototype.create=function(a){return new MAc(a,{withCredentials:!0,suppressCorsPreflight:!0})};uQ.\u0275fac=function(a){return new (a||uQ)};uQ.\u0275prov=nc({token:uQ,factory:uQ.\u0275fac,providedIn:"root"});var vQ=function(a){var b=this;this.injector=a;this.clientDarkmode$=this.clientDarkmodeSubject=new F.BehaviorSubject(!1);this.localDarkmode=!1;this.clientStreamzService=null;this.loadLocalDarkmode=function(){b.localDarkmode=null!=window.localStorage.getItem("onedev-darkmode");QAc(b,b.localDarkmode);b.clientStreamzService&&b.clientStreamzService.logUsageMetric("loadDarkmode",b.clientDarkmodeSubject.getValue())};this.setLocalDarkmode=function(c){b.localDarkmode=c;b.localDarkmode?window.localStorage.setItem("onedev-darkmode",
b.localDarkmode.toString()):window.localStorage.removeItem("onedev-darkmode")}};vQ.prototype.enableUsageTracking=function(){this.clientStreamzService=this.injector.get(DA)};var QAc=function(a,b){a.clientDarkmodeSubject.next(b);document.body.classList.toggle("dark-mode",b)};vQ.\u0275fac=function(a){return new (a||vQ)(w(Qt))};vQ.\u0275prov=nc({token:vQ,factory:vQ.\u0275fac});var RAc=up(["https://g3doc.corp.google.com/company/teams/buganizer/feedback-dialog/feedback-dark-mode.md"]),SAc=up(["https://g3doc.corp.google.com/company/teams/buganizer/feedback-dialog/feedback.md"]),TAc=function(a,b){this.dialogRef=a;this.darkmodeService=b;this.contentLoaded=!1;this.docUrl$=this.darkmodeService.clientDarkmode$.pipe(E(function(c){return c?Lf(RAc):Lf(SAc)}))};TAc.\u0275fac=function(a){return new (a||TAc)(D(Iy),D(vQ))};
TAc.\u0275cmp=zc({type:TAc,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),R(1,BMa,2,3,"ng-container",1),T(2,"async"),R(3,CMa,
1,0,"mat-spinner",2),J(),H(4,"div",3)(5,"button",4),O("click",function(){return b.dialogRef.close(!1)}),S(6," Cancel "),J(),H(7,"button",5),O("click",function(){return b.dialogRef.close(!0)}),S(8," File a new issue "),J()());a&2&&(C(1),G("ngIf",U(2,2,b.docUrl$)),C(2),G("ngIf",!b.contentLoaded))},dependencies:[Tu,yy,Oy,Py,RL,Zu],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 em=function(a){r.call(this,a)};V(em,r);f=em.prototype;f.getEnableSsEngine=function(){return vi(this,2)};f.getEnableAwr=function(){return vi(this,3)};f.getEnableHelpSuggestions=function(){return vi(this,4)};f.getAlohaAutoGaRollout=function(){return vi(this,5)};f.getEnableConfigurator=function(){return vi(this,6)};f.getEnableMweb=function(){return vi(this,7)};var SMa=function(){var a=UAc();return jb(a,7,!0)};em.prototype.getEnableCtlConsentCheckbox=function(){return vi(this,8)};
em.prototype.getEnableIframe=function(){return vi(this,9)};var UAc=function(){var a=new em;a=jb(a,5,!0);a=jb(a,2,!0);a=jb(a,4,!1);a=jb(a,8,!0);return jb(a,9,!0)};f=em.prototype;f.getEnableScreenshotNudge=function(){return vi(this,10)};f.getEnableWebStartupConfigEndpoint=function(){return vi(this,11)};f.getEnableJunkNudge=function(){return vi(this,12)};f.getEnableConfiguratorLocale=function(){return vi(this,13)};f.getEnableTinyNoPointer=function(){return vi(this,14)};
f.getEnableSupportSessionLogging=function(){return vi(this,15)};f.getEnableFileUploadForScreenshot=function(){return vi(this,16)};f.getEnableDirectDeflectionForSingleCategory=function(){return vi(this,17)};f.getEnableImageSanitization=function(){return vi(this,18)};f.getEnableAlohaBinarySplit=function(){return vi(this,19)};f.getEnableDbFeedbackIntents=function(){return vi(this,20)};f.getEnableMarkMandatoryFieldsWithRequired=function(){return vi(this,21)};f.toObject=function(){return VAc(this)};
var VAc=function(a){if(null!=a)return t(a),{alohaLaunch:vi(a,1),enableSsEngine:vi(a,2),enableAwr:vi(a,3),enableHelpSuggestions:vi(a,4),alohaAutoGaRollout:vi(a,5),enableConfigurator:vi(a,6),enableMweb:vi(a,7),enableCtlConsentCheckbox:vi(a,8),enableIframe:vi(a,9),enableScreenshotNudge:vi(a,10),enableWebStartupConfigEndpoint:vi(a,11),enableJunkNudge:vi(a,12),enableConfiguratorLocale:vi(a,13),enableTinyNoPointer:vi(a,14),enableSupportSessionLogging:vi(a,15),enableFileUploadForScreenshot:vi(a,16),enableDirectDeflectionForSingleCategory:vi(a,
17),enableImageSanitization:vi(a,18),enableAlohaBinarySplit:vi(a,19),enableDbFeedbackIntents:vi(a,20),enableMarkMandatoryFieldsWithRequired:vi(a,21)}},WAc=[em,1,Aq,2,Aq,3,Aq,4,Aq,5,Aq,6,Aq,7,Aq,8,Aq,9,Aq,10,Aq,11,Aq,12,Aq,13,Aq,14,Aq,15,Aq,16,Aq,17,Aq,18,Aq,19,Aq,20,Aq,21,Aq];em.prototype.serializeBinary=u(WAc);var dm=function(a){r.call(this,a)};V(dm,r);dm.prototype.toObject=function(){if(null!=this){t(this);var a={alohaFlags:VAc(W(this,em,1))}}else a=void 0;return a};dm.prototype.serializeBinary=u([dm,1,X,WAc]);var DMa=[/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 GMa="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 HMa=up(["https://www.gstatic.com/uservoice/feedback/client/web/","/main_light_binary.js"]),IMa=up(["https://www.gstatic.com/uservoice/feedback/client/web/","/main_binary__",".js"]);var KMa,MMa;var XAc=function(a,b,c){a.timeOfStartCall=(new Date).getTime();var d=c||ca,e=d.document,g=a.nonce||aVb(d);g&&!a.nonce&&(a.nonce=g);if("help"==a.flow){var h=Em("document.location.href",d);!a.helpCenterContext&&h&&(a.helpCenterContext=h.substring(0,1200));h=!0;if(b&&JSON&&JSON.stringify){var l=JSON.stringify(b);(h=1200>=l.length)&&(a.psdJson=l)}h||(b={invalidPsd:!0})}b=[a,b,c];d.GOOGLE_FEEDBACK_START_ARGUMENTS=b;c=a.feedbackServerUri||"//www.google.com/tools/feedback";if(h=d.GOOGLE_FEEDBACK_START)h.apply(d,
b);else{d=c+"/load.js?";for(var q in a)b=a[q],null==b||ta(b)||(d+=encodeURIComponent(q)+"="+encodeURIComponent(b)+"&");a=Lm(e).createElement("SCRIPT");g&&a.setAttribute("nonce",g);g=Qoa(d);Ira(a,g);e.body.appendChild(a)}},YAc=function(a,b,c,d){var e,g;Ld(function(h){e=c||ca;var l=["web_answers"].includes(a.triggerId)?"en":a.locale,q="DEV"===a.serverEnvironment,v=c||ca;v=a.nonce||aVb(v);l={integrationKeys:{productId:a.productId,feedbackBucket:a.bucket,triggerId:a.triggerId},callbacks:{onClose:a.callback,
onLoad:a.onLoadCallback},formContent:{locale:l,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},initializationData:{isLocalServer:q,nonce:v,useNightlyRelease:q,feedbackJsUrl:void 0,feedbackCssUrl:void 0,feedbackJsUrlSerialized:void 0,feedbackCssUrlSerialized:void 0,
submissionServerUri:a.feedbackServerUri,colorScheme:a.colorScheme},extraData:{productVersion:a.productVersion,authUser:a.authuser,configuratorId:a.configuratorId,customZIndex:a.customZIndex,tinyNoPointer:a.tinyNoPointer,allowNonLoggedInFeedback:a.allowNonLoggedInFeedback,enableAnonymousFeedback:a.enableAnonymousFeedback}};b&&(q=new Map(Object.entries(b)),l.extraData.productSpecificData=q);g=l;return h.yield(QMa(g,d,e),0)})},ZAc=function(a,b,c){try{if("help"===a.flow){var d=a.helpCenterPath.replace(/^\//,
"");Jra(c||window,Nf("https://support.google.com/"+d))}else"submit"===a.flow?XAc(a,b,c):TMa(a.productId,a.feedbackServerUri).then(function(e){e=W(e,em,1);var g=!WLb||(null==e?void 0:e.getEnableMweb()),h=!a.tinyNoPointer||(null==e?void 0:e.getEnableTinyNoPointer());!e||e.getAlohaAutoGaRollout()&&g&&h?YAc(a,b,c,e):XAc(a,b,c)},function(e){e&&"DuplicateFormError"!==e.name&&XAc(a,b,c)})}catch(e){YAc(a,b,c,null)}};vLb("userfeedback.api.startFeedback",ZAc);var wQ=function(a,b,c){this.activeSession=a;this.matDialog=b;this.currentTracker=c};wQ.prototype.startFeedback=function(){var a=this;this.activeSession.isInternalSession()?Gy(this.matDialog.open(TAc,{width:"500px",maxHeight:"80vh",height:"640px",autoFocus:!1})).subscribe(function(b){b&&j1a(a)}):j1a(this)};
var j1a=function(a){var b={productId:92912,nonce:a.activeSession.getCspNonce(),productVersion:"buganizer.frontend_20230531.06_p0"};b.bucket=a.currentTracker.inTracker?"buganizer-trackers-feedback":"buganizer3-feedback";for(var c=[],d=c.concat,e=Jc([]),g=[],h=k(a.activeSession.session.config.enabledFlags),l=h.next();!l.done;l=h.next()){var q=k(l.value);l=q.next().value;(q=q.next().value)&&g.push(l)}c=d.call(c,e,Jc(g)).join(", ");c={userType:a.activeSession.getUserTypeLabel(),flags:c};a.currentTracker.inTracker&&
(c.trackerId=a.currentTracker.getTrackerId());ZAc(b,c)};wQ.\u0275fac=function(a){return new (a||wQ)(w(rp),w(Ly),w(LK))};wQ.\u0275prov=nc({token:wQ,factory:wQ.\u0275fac,providedIn:"root"});var xQ=function(a,b,c,d,e,g,h){var l=this;this.cdr=a;this.codefont=b;this.location=e;this.paths=g;this.userFeedback=h;this.commentVersion=-1;this.history=[];this.diffView=this.isLoading=!0;this.issueId=c.issueId;this.commentNumber=c.commentNumber;this.commentVersion=c.commentVersion;c.commentHistory.then(function(q){l.history=q}).catch(function(q){d.errorHandler(null,q)}).finally(function(){l.isLoading=!1;l.cdr.detectChanges()})};xQ.prototype.trackByIndex=function(a){return a};
xQ.prototype.startFeedback=function(){this.userFeedback.startFeedback()};xQ.\u0275fac=function(a){return new (a||xQ)(D(wH,2),D(XN),D(Ky),D(ZF),D(ov),D(OG),D(wQ))};
xQ.\u0275cmp=zc({type:xQ,selectors:[["comment-history-dialog"]],features:[Xe([wH])],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),S(1),J(),H(2,"mat-dialog-content")(3,"div",1)(4,"mat-checkbox",
2),O("change",function(c){return b.diffView=c.checked}),S(5," Show Diff "),J()(),H(6,"a",3),O("click",function(){return b.startFeedback()}),S(7,"Feedback"),J(),K(8,"br",4),R(9,UMa,2,0,"div",5),R(10,iNa,2,2,"ul",6),J(),H(11,"mat-dialog-actions")(12,"button",7),S(13,"Close"),J()());a&2&&(C(1),Te("History for Comment #",b.commentNumber,""),C(3),G("checked",b.diffView),C(5),G("ngIf",b.isLoading),C(1),G("ngIf",!b.isLoading))},dependencies:[Su,Tu,yy,BK,VN,My,Ny,Oy,Py,qK,SL,vK,NL,Zu,LJ,RO],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}\n/*# sourceMappingURL=comment_history_dialog.css.map */"],
changeDetection:0});var jNa=function(){},fm=function(a,b,c,d,e){"undefined"==typeof e&&(e=(new Date).getTime()+1E3);if(null==b||null==c)throw Error("fd");if(b==c)return b?[[0,b]]:[];"undefined"==typeof d&&(d=!0);var g=$Ac(b,c),h=b.substring(0,g);b=b.substring(g);c=c.substring(g);g=aBc(b,c);var l=b.substring(b.length-g);b=b.substring(0,b.length-g);c=c.substring(0,c.length-g);b=bBc(a,b,c,d,e);h&&b.unshift([0,h]);l&&b.push([0,l]);cBc(a,b);return b},bBc=function(a,b,c,d,e){if(!b)return[[1,c]];if(!c)return[[-1,b]];var g=
b.length>c.length?b:c,h=b.length>c.length?c:b,l=g.indexOf(h);if(-1!=l)return a=[[1,g.substring(0,l)],[0,h],[1,g.substring(l+h.length)]],b.length>c.length&&(a[0][0]=a[2][0]=-1),a;if(1==h.length)return[[-1,b],[1,c]];if(g=dBc(b,c))return c=g[1],h=g[3],b=g[4],g=fm(a,g[0],g[2],d,e),a=fm(a,c,h,d,e),g.concat([[0,b]],a);if(d&&100<b.length&&100<c.length){b=eBc(b,c);c=b.lineArray;b=fm(a,b.chars1,b.chars2,!1,e);for(d=0;d<b.length;d++){g=b[d][1];h=[];for(l=0;l<g.length;l++)h[l]=c[g.charCodeAt(l)];b[d][1]=h.join("")}kNa(a,
b);b.push([0,""]);g=d=c=0;for(l=h="";c<b.length;){switch(b[c][0]){case 1:g++;l+=b[c][1];break;case -1:d++;h+=b[c][1];break;case 0:if(1<=d&&1<=g){b.splice(c-d-g,d+g);c=c-d-g;d=fm(a,h,l,!1,e);for(g=d.length-1;0<=g;g--)b.splice(c,0,d[g]);c+=d.length}d=g=0;l=h=""}c++}b.pop();a=b}else a:{d=b.length;g=c.length;h=Math.ceil((d+g)/2);l=2*h;for(var q=Array(l),v=Array(l),y=0;y<l;y++)q[y]=-1,v[y]=-1;q[h+1]=0;v[h+1]=0;y=d-g;for(var B=0!=y%2,I=0,N=0,Q=0,Z=0,Y=0;Y<h&&!((new Date).getTime()>e);Y++){for(var ka=-Y+
I;ka<=Y-N;ka+=2){var la=h+ka;var Da=ka==-Y||ka!=Y&&q[la-1]<q[la+1]?q[la+1]:q[la-1]+1;for(var za=Da-ka;Da<d&&za<g&&b.charAt(Da)==c.charAt(za);)Da++,za++;q[la]=Da;if(Da>d)N+=2;else if(za>g)I+=2;else if(B&&(la=h+y-ka,0<=la&&la<l&&-1!=v[la])){var Oa=d-v[la];if(Da>=Oa){a=fBc(a,b,c,Da,za,e);break a}}}for(ka=-Y+Q;ka<=Y-Z;ka+=2){la=h+ka;Oa=ka==-Y||ka!=Y&&v[la-1]<v[la+1]?v[la+1]:v[la-1]+1;for(Da=Oa-ka;Oa<d&&Da<g&&b.charAt(d-Oa-1)==c.charAt(g-Da-1);)Oa++,Da++;v[la]=Oa;if(Oa>d)Z+=2;else if(Da>g)Q+=2;else if(!B&&
(la=h+y-ka,0<=la&&la<l&&-1!=q[la]&&(Da=q[la],za=h+Da-la,Oa=d-Oa,Da>=Oa))){a=fBc(a,b,c,Da,za,e);break a}}}a=[[-1,b],[1,c]]}return a},fBc=function(a,b,c,d,e,g){var h=b.substring(d),l=c.substring(e);b=fm(a,b.substring(0,d),c.substring(0,e),!1,g);a=fm(a,h,l,!1,g);return b.concat(a)},eBc=function(a,b){function c(h){for(var l="",q=0,v=-1,y=d.length;v<h.length-1;){v=h.indexOf("\n",q);-1==v&&(v=h.length-1);var B=h.substring(q,v+1);(e.hasOwnProperty?e.hasOwnProperty(B):void 0!==e[B])?l+=String.fromCharCode(e[B]):
(y==g&&(B=h.substring(q),v=h.length),l+=String.fromCharCode(y),e[B]=y,d[y++]=B);q=v+1}return l}var d=[],e={};d[0]="";var g=4E4;a=c(a);g=65535;b=c(b);return{chars1:a,chars2:b,lineArray:d}},$Ac=function(a,b){if(!a||!b||a.charAt(0)!=b.charAt(0))return 0;for(var c=0,d=Math.min(a.length,b.length),e=d,g=0;c<e;)a.substring(g,e)==b.substring(g,e)?g=c=e:d=e,e=Math.floor((d-c)/2+c);return e},aBc=function(a,b){if(!a||!b||a.charAt(a.length-1)!=b.charAt(b.length-1))return 0;for(var c=0,d=Math.min(a.length,b.length),
e=d,g=0;c<e;)a.substring(a.length-e,a.length-g)==b.substring(b.length-e,b.length-g)?g=c=e:d=e,e=Math.floor((d-c)/2+c);return e},gBc=function(a,b){var c=a.length,d=b.length;if(0==c||0==d)return 0;c>d?a=a.substring(c-d):c<d&&(b=b.substring(0,c));c=Math.min(c,d);if(a==b)return c;d=0;for(var e=1;;){var g=b.indexOf(a.substring(c-e));if(-1==g)return d;e+=g;if(0==g||a.substring(c-e)==b.substring(0,e))d=e,e++}},dBc=function(a,b){function c(l,q,v){for(var y=l.substring(v,v+Math.floor(l.length/4)),B=-1,I="",
N,Q,Z,Y;-1!=(B=q.indexOf(y,B+1));){var ka=$Ac(l.substring(v),q.substring(B)),la=aBc(l.substring(0,v),q.substring(0,B));I.length<la+ka&&(I=q.substring(B-la,B)+q.substring(B,B+ka),N=l.substring(0,v-la),Q=l.substring(v+ka),Z=q.substring(0,B-la),Y=q.substring(B+ka))}return 2*I.length>=l.length?[N,Q,Z,Y,I]:null}var d=a.length>b.length?a:b,e=a.length>b.length?b:a;if(4>d.length||2*e.length<d.length)return null;var g=c(d,e,Math.ceil(d.length/4));d=c(d,e,Math.ceil(d.length/2));var h;if(g||d)d?h=g?g[4].length>
d[4].length?g:d:d:h=g;else return null;a.length>b.length?(a=h[0],b=h[1],g=h[2],d=h[3]):(g=h[0],d=h[1],a=h[2],b=h[3]);return[a,b,g,d,h[4]]},kNa=function(a,b){for(var c=!1,d=[],e=0,g=null,h=0,l=0,q=0,v=0,y=0;h<b.length;)0==b[h][0]?(d[e++]=h,l=v,q=y,y=v=0,g=b[h][1]):(1==b[h][0]?v+=b[h][1].length:y+=b[h][1].length,g&&g.length<=Math.max(l,q)&&g.length<=Math.max(v,y)&&(b.splice(d[e-1],0,[-1,g]),b[d[e-1]+1][0]=1,e--,e--,h=0<e?d[e-1]:-1,y=v=q=l=0,g=null,c=!0)),h++;c&&cBc(a,b);hBc(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=gBc(a,c);e=gBc(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++}},hBc=function(a){function b(B,I){if(!B||!I)return 6;var N=B.charAt(B.length-1),Q=I.charAt(0),Z=N.match(iBc),Y=Q.match(iBc),
ka=Z&&N.match(jBc),la=Y&&Q.match(jBc);N=ka&&N.match(kBc);Q=la&&Q.match(kBc);B=N&&B.match(lBc);I=Q&&I.match(mBc);return B||I?5:N||Q?4:Z&&!ka&&la?3:ka||la?2:Z||Y?1:0}for(var c=1;c<a.length-1;){if(0==a[c-1][0]&&0==a[c+1][0]){var d=a[c-1][1],e=a[c][1],g=a[c+1][1],h=aBc(d,e);if(h){var l=e.substring(e.length-h);d=d.substring(0,d.length-h);e=l+e.substring(0,e.length-h);g=l+g}h=d;l=e;for(var q=g,v=b(d,e)+b(e,g);e.charAt(0)===g.charAt(0);){d+=e.charAt(0);e=e.substring(1)+g.charAt(0);g=g.substring(1);var y=
b(d,e)+b(e,g);y>=v&&(v=y,h=d,l=e,q=g)}a[c-1][1]!=h&&(h?a[c-1][1]=h:(a.splice(c-1,1),c--),a[c][1]=l,q?a[c+1][1]=q:(a.splice(c+1,1),c--))}c++}},iBc=/[^a-zA-Z0-9]/,jBc=/\s/,kBc=/[\r\n]/,lBc=/\n\r?\n$/,mBc=/^\r?\n\r?\n/,cBc=function(a,b){b.push([0,""]);for(var c=0,d=0,e=0,g="",h="",l;c<b.length;)switch(b[c][0]){case 1:e++;h+=b[c][1];c++;break;case -1:d++;g+=b[c][1];c++;break;case 0:1<d+e?(0!==d&&0!==e&&(l=$Ac(h,g),0!==l&&(0<c-d-e&&0==b[c-d-e-1][0]?b[c-d-e-1][1]+=h.substring(0,l):(b.splice(0,0,[0,h.substring(0,
l)]),c++),h=h.substring(l),g=g.substring(l)),l=aBc(h,g),0!==l&&(b[c][1]=h.substring(h.length-l)+b[c][1],h=h.substring(0,h.length-l),g=g.substring(0,g.length-l))),0===d?b.splice(c-e,d+e,[1,h]):0===e?b.splice(c-d,d+e,[-1,g]):b.splice(c-d-e,d+e,[-1,g],[1,h]),c=c-d-e+(d?1:0)+(e?1:0)+1):0!==c&&0==b[c-1][0]?(b[c-1][1]+=b[c][1],b.splice(c,1)):c++,d=e=0,h=g=""}""===b[b.length-1][1]&&b.pop();d=!1;for(c=1;c<b.length-1;)0==b[c-1][0]&&0==b[c+1][0]&&(b[c][1].substring(b[c][1].length-b[c-1][1].length)==b[c-1][1]?
(b[c][1]=b[c-1][1]+b[c][1].substring(0,b[c][1].length-b[c-1][1].length),b[c+1][1]=b[c-1][1]+b[c+1][1],b.splice(c-1,1),d=!0):b[c][1].substring(0,b[c+1][1].length)==b[c+1][1]&&(b[c-1][1]+=b[c+1][1],b[c][1]=b[c][1].substring(b[c+1][1].length)+b[c+1][1],b.splice(c+1,1),d=!0)),c++;d&&cBc(a,b)};var yQ=function(a,b,c){this.analytics=a;this.issueComments=b;this.dialogManager=c};yQ.prototype.show=function(a,b,c){var d=this,e;return Ld(function(g){if(d.dialog&&2!==d.dialog.getState())return g.return();d.analytics.trackEvent("commentHistoryModal","open");e={issueId:a,commentNumber:b,commentVersion:c,commentHistory:nBc(d,a,b,c)};d.dialog=d.dialogManager.open(xQ,{data:e,width:"50vw"});return g.return((0,F.firstValueFrom)(Gy(d.dialog)))})};
var nBc=function(a,b,c,d){return a.issueComments.listHistory(b,c).then(function(e){var g=0<e.length?e[0].unlinkifiedComment:"",h=0<e.length?e[0].formattingMode:"",l=!1,q=[];e=k(e);for(var v=e.next();!v.done;v=e.next()){v=v.value;var y=mNa(v);y||l?(g=oBc(v.unlinkifiedComment),h=oBc(v.formattingMode)):(g=lNa(g,v.unlinkifiedComment),l=v.formattingMode,h=h===l?oBc(l):Bl(oBc(h,"diff-removed"),oBc(l,"diff-added")));l=void 0===v.unlinkifiedComment?"":v.unlinkifiedComment;var B=v.version,I=v.commentContentVerdict;
q.push({unlinkifiedComment:l,lastEditorUser:v.lastEditorUser,version:B,formattingMode:v.formattingMode,formattingModeDiff:h,lastModified:Number(v.lastModified)/1E3,open:25>B,preview:48>=l.length?l:l.substring(0,45)+"...",diff:g,restricted:I&&I.piiVerdict&&"NONE_DETECTED"!==I.piiVerdict.severity||!1,deleted:mNa(v)});g=v.unlinkifiedComment;h=v.formattingMode;l=y}-1<d?q[d].open=!0:q[0].open=!0;return q})},oBc=function(a,b){return Al("SPAN",b?{"class":b}:null,a)};
yQ.\u0275fac=function(a){return new (a||yQ)(w(AH),w(mI),w(Ly))};yQ.\u0275prov=nc({token:yQ,factory:yQ.\u0275fac,providedIn:"root"});var pBc=function(a){r.call(this,a)};V(pBc,r);f=pBc.prototype;f.getIssueId=function(){return lh(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.getCommentNumber=function(){return Ag(this,2)};f.setCommentNumber=function(a){return n(this,2,a)};f.getPiiRetention=function(){return Fh(this,3,0)};f.setPiiRetention=function(a){return n(this,3,a)};f.toObject=function(){if(null!=this){t(this);var a={issueId:p(m(this,1)),commentNumber:p(Cb(this,2)),piiRetention:p(m(this,3))}}else a=void 0;return a};
f.serializeBinary=u([pBc,1,mq,2,wq,3,Nq]);var zQ=function(a){this.executor=a};zQ.prototype.get=function(a,b,c){var d=String;a:{c=void 0===c?1:c;switch(c){case 0:case 1:c=1;break a;case 2:c=2;break a;case 3:c=3;break a;default:og(c)}c=void 0}return this.executor.get({url:"action/issues/"+a+"/comment/"+b,options:{headers:{"X-Restricted-Content-Limit":d(c)}},responseConstructor:OD}).pipe(E(Zi))};
zQ.prototype.updateRetention=function(a,b,c){c=(new pBc).setIssueId(a).setCommentNumber(b).setPiiRetention(c);return this.executor.post({url:"action/issues/"+a+"/comment/"+b+"/update_retention",body:c,responseConstructor:OD}).pipe(E(Zi))};zQ.\u0275fac=function(a){return new (a||zQ)(w(BC))};zQ.\u0275prov=nc({token:zQ,factory:zQ.\u0275fac,providedIn:"root"});var AQ=function(a){r.call(this,a,0,AQ.messageId)};V(AQ,r);f=AQ.prototype;f.getUrl=function(){return mh(this,1)};f.setUrl=function(a){return n(this,1,a)};f.hasUrl=function(){return jj(this,1)};f.toObject=function(){if(null!=this){t(this);var a={url:p(m(this,1))}}else a=void 0;return a};f.serializeBinary=u([AQ,1,Cq]);AQ.messageId="b.AttachmentUrlResponse";var BQ=function(a){this.executor=a};BQ.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(Vsa(d)));return this.executor.get({url:"action/issues/"+a+"/attachments/"+b+"/url",options:{headers:e,params:{download:String(c)}},responseConstructor:AQ}).then(function(g){return g.getUrl()})};BQ.\u0275fac=function(a){return new (a||BQ)(w(CC))};BQ.\u0275prov=nc({token:BQ,factory:BQ.\u0275fac,providedIn:"root"});var CQ=function(a,b,c){this.templateRef=b;this.viewContainer=c;this.isInternal=!1;this.isInternal=a.isInternalSession()};CQ.prototype.ngOnInit=function(){this.isInternal&&this.viewContainer.createEmbeddedView(this.templateRef)};CQ.\u0275fac=function(a){return new (a||CQ)(D(rp),D(ef),D(ff))};CQ.\u0275dir=Cc({type:CQ,selectors:[["","internalOnly",""]]});var DQ=function(a,b,c,d,e,g,h,l){this.dialogRef=b;this.userAccess=c;this.attachmentsUrl=d;this.butterBar=e;this.domSafe=g;this.documentationLinks=h;this.changeDetectorRef=l;this.isLoading=!0;this.download=this.hasViewAccess=!1;this.attachment=a.attachment;this.issueId=a.issueId;this.download=a.download};DQ.prototype.ngOnInit=function(){this.changeDetectorRef.detectChanges();this.setHasViewAccess()};
DQ.prototype.setHasViewAccess=function(){var a=this;this.isLoading=!0;oNa(this)?(this.hasViewAccess=!1,JF(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)};DQ.prototype.getPiiSeverity=function(){var a=this.attachment.contentVerdict;if(a&&(a=a.piiVerdict))return a.severity};
var oNa=function(a){return(a=a.getPiiSeverity())?"NONE_DETECTED"!==a:!1},qBc=function(a){var b=a.download&&qsa(a.attachment.contentType);a.attachmentsUrl.get(a.issueId,a.attachment.attachmentId,b,a.getPiiSeverity()).then(function(c){b?rsc(a.domSafe,c):a.domSafe.openInNewTab(c);a.close()},function(){XF(a.butterBar,"Failed to load attachment. Please refresh and try again.");a.close()})};DQ.prototype.close=function(){this.dialogRef.close();this.changeDetectorRef.detectChanges()};
DQ.prototype.getRestrictedAccessHelpLink=function(){return this.documentationLinks.getRestrictedAccessHelpLink()};DQ.\u0275fac=function(a){return new (a||DQ)(D(Ky),D(Iy),D(IF),D(BQ),D(VF),D(rK),D(NI),D(wH,2))};
DQ.\u0275cmp=zc({type:DQ,selectors:[["b-attachment-download-dialog"]],features:[Xe([wH])],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),S(1,"Access Attachment"),J(),H(2,"div",1)(3,"div",2),S(4," Are you sure you would like to access the following attachment? "),J(),K(5,"br"),H(6,"div",3)(7,"div",4),K(8,"mat-icon",5),J(),H(9,"div",6),S(10),J()(),K(11,"br"),R(12,pNa,2,1,"ng-container",
7),R(13,qNa,3,0,"div",8),J(),R(14,rNa,1,0,"mat-spinner",9),H(15,"div",10)(16,"button",11),O("click",function(){return b.close()}),S(17," Cancel "),J(),H(18,"button",12),O("click",function(){return qBc(b)}),S(19," Continue "),J()());a&2&&(C(10),Te(" ",b.attachment.filename," "),C(3),G("ngIf",!b.isLoading&&!b.hasViewAccess),C(1),G("ngIf",b.isLoading),C(4),G("disabled",!b.hasViewAccess))},dependencies:[Tu,yy,jz,Ny,Oy,Py,RL,CQ],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 rBc=function(a){r.call(this,a)};V(rBc,r);f=rBc.prototype;f.getIssueId=function(){return lh(this,1)};f.setIssueId=function(a){return n(this,1,a)};f.getAttachmentId=function(){return lh(this,2)};f.setAttachmentId=function(a){n(this,2,a)};f.getPiiRetention=function(){return Fh(this,3,0)};f.setPiiRetention=function(a){return n(this,3,a)};f.toObject=function(){if(null!=this){t(this);var a={issueId:p(m(this,1)),attachmentId:p(m(this,2)),piiRetention:p(m(this,3))}}else a=void 0;return a};
f.serializeBinary=u([rBc,1,mq,2,mq,3,Nq]);var EQ=function(a){this.executor=a};EQ.prototype.updateRetention=function(a,b,c){var d=new rBc;d.setIssueId(a);d.setAttachmentId(String(b));d.setPiiRetention(c);return this.executor.post({url:"action/issues/"+a+"/attachments/"+b+"/update_retention",body:d,responseConstructor:zE}).pipe(E(Lua))};EQ.\u0275fac=function(a){return new (a||EQ)(w(BC))};EQ.\u0275prov=nc({token:EQ,factory:EQ.\u0275fac,providedIn:"root"});var FQ=function(){this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.isGreyedOut=!0;this.linkUrl=this.displayName="";this.useCustomHandler=this.linkEnabled=!1;this.customHandler=new tu};FQ.prototype.handleClick=function(a){this.useCustomHandler&&(a.preventDefault(),this.customHandler.emit())};FQ.\u0275fac=function(a){return new (a||FQ)};
FQ.\u0275cmp=zc({type:FQ,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&&(R(0,sNa,2,3,"span",0),R(1,tNa,2,3,"a",1));a&2&&(G("ngIf",
b.isGreyedOut||!b.linkEnabled),C(1),G("ngIf",!b.isGreyedOut&&b.linkEnabled))},dependencies:[Tu],encapsulation:2,changeDetection:0});var GQ=function(a,b){this.documentationLinks=a;this.dateFormatter=b;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.retentionModel=Zcc;this.label="Restricted";this.contentType="item"};GQ.prototype.getRetentionPeriod=function(){if(!this.retentionState||!this.retentionState.retentionPeriod)return"";var a=eCa(this.retentionState.retentionPeriod);return a?gCa(Math.floor(1E3*a.getSeconds()/864E5)):""};
var vNa=function(a){var b=new Date(864E13);if(!a.retentionState||!a.retentionState.scheduledDeletionTime)return b;a=rl(fCa(a.retentionState.scheduledDeletionTime));return new Date(a||b)},sBc=function(a){return a.retentionState&&a.retentionState.scheduledDeletionTime?12096E5>rl(fCa(a.retentionState.scheduledDeletionTime))-Date.now():!1};GQ.\u0275fac=function(a){return new (a||GQ)(D(NI),D(AK))};
GQ.\u0275cmp=zc({type:GQ,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=x();H(0,"xap-bubble",0,1)(2,"div",2);O("focus",function(){z(c);var e=Se(1);return A(e.toggle(!0))})("blur",function(){z(c);var e=Se(1);return A(e.toggle(!1))});K(3,"mat-icon",3);S(4);J();R(5,ANa,8,4,"ng-template",null,4,of);R(7,BNa,3,1,"ng-template",null,5,of);R(9,CNa,8,5,"ng-template",null,6,of);J()}if(a&2){var d=Se(6);G("panelTemplate",d);C(2);Ie("warning",sBc(b));C(1);G("svgIcon",sBc(b)?"delete-alert":
"delete-clock");C(1);Te(" ",b.label," ")}},dependencies:[Tu,Uu,Vu,jz,GO,bv],styles:[".chip[_ngcontent-%COMP%]{display:inline-block;border-radius:1em;font-size:.8125rem;font-weight:400;line-height:1.8em;padding:0 .6em;margin:0 .6em;background-color:#e8eaed;background-color:var(--chip-bg);color:#202124;color:var(--text-high-contrast)}.chip[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{vertical-align:text-top}.chip.warning[_ngcontent-%COMP%]{background-color:#fcad70;background-color:var(--expiring-bg);color:rgba(0,0,0,.7);color:var(--expiring-text)}.popup[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{line-height:1.5em !important}.popup[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]:last-child{margin-bottom:0}\n/*# sourceMappingURL=restricted_chip.css.map */"],
changeDetection:0});var HQ=function(){this.warningChunks=[]};HQ.prototype.ngOnInit=function(){var a=this.warningText,b=HNa(a,"EXTERNAL_PUBLIC")||HNa(a,"EXTERNAL_PARTNER");this.warningChunks=b?[{text:a.substring(0,b.startOfMatch)},{accessLevel:b.accessLevel},{text:a.substring(b.endOfMatch)}]:[{text:a}]};HQ.prototype.isText=function(a){return void 0!==a.text};HQ.\u0275fac=function(a){return new (a||HQ)};
HQ.\u0275cmp=zc({type:HQ,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"),R(1,FNa,3,2,"span",0),J());a&2&&(C(1),G("ngForOf",b.warningChunks))},dependencies:[Su,Tu,HO],encapsulation:2});var GNa=new Map([["EXTERNAL_PUBLIC","visible to public users"],["EXTERNAL_PARTNER","visible to external partners"]]);var IQ=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=ppc(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};
IQ.prototype.allow=function(){var a;null==(a=this.dialogRef)||a.close();this.isAllowed&&this.acknowledged&&this.callbacks.allow()};IQ.prototype.cancel=function(){var a;null==(a=this.dialogRef)||a.close();this.callbacks.cancel()};IQ.\u0275fac=function(a){return new (a||IQ)(D(Ky),D(NI),D(Iy))};
IQ.\u0275cmp=zc({type:IQ,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),S(1),J(),H(2,"div",1)(3,"div",2),K(4,"b-component-move-warning-content",3),J(),K(5,"br"),H(6,"a",4),S(7,"Learn more"),J(),R(8,INa,5,1,"div",5),J(),H(9,"mat-dialog-actions")(10,"button",6),O("click",function(){return b.cancel()}),S(11," Cancel "),J(),R(12,JNa,2,1,"button",7),J());a&2&&(C(1),Ve(b.header),C(3),G("warningText",b.warning),C(2),Ae("href",b.learnMore,vd),C(2),G("ngIf",b.isExternalMove&&b.isAllowed),C(4),G("ngIf",b.isAllowed))},
dependencies:[Tu,yy,tv,zv,VN,My,Ny,Oy,Py,HQ],styles:["mat-checkbox[_ngcontent-%COMP%] {\n      margin-right: 8px;\n    }"],changeDetection:0});var JQ=function(a){r.call(this,a,0,JQ.messageId)};V(JQ,r);JQ.prototype.toObject=function(){if(null!=this){t(this);var a={warningHeader:p(m(this,1)),warning:p(m(this,2)),isAllowed:p(Db(this,3)),isExternalMove:p(Db(this,4))}}else a=void 0;return a};JQ.prototype.serializeBinary=u([JQ,1,Cq,2,Cq,3,zq,4,zq]);JQ.messageId="b.CompareComponentAccessResponse";var KQ=function(a){this.executor=a};KQ.prototype.check=function(a,b,c){return this.executor.get({url:"action/compare_component_access/"+a+"/"+b,options:{params:{issueId:c}},responseConstructor:JQ}).then(eva)};KQ.\u0275fac=function(a){return new (a||KQ)(w(CC))};KQ.\u0275prov=nc({token:KQ,factory:KQ.\u0275fac,providedIn:"root"});var LQ=function(a,b,c,d,e,g){this.issueInteractionsTracking=a;this.issueFridge=b;this.butterBar=c;this.compareComponentAccess=d;this.matDialogService=e;this.editIssueService=g},Rxb=function(a,b,c){var d,e,g,h,l;Ld(function(q){switch(q.nextAddress){case 1:return b=String(b),zqc(a.issueInteractionsTracking,b,{label:"changeComponent"}),c?q.yield((0,F.firstValueFrom)(a.issueFridge.watch(b)),2):q.return();case 2:d=q.yieldResult;if(!d)return XF(a.butterBar,"Could not load issue "+b),q.return();e=d.snapshot[0].componentId;
g=c.componentId;return e===g?q.return():q.yield(a.compareComponentAccess.check(String(e),String(g),b),3);case 3:h=q.yieldResult;if(!h.warning){q.jumpTo(4);break}return q.yield(tBc(a,h),5);case 5:if(l=q.yieldResult,!l)return q.return();case 4:return q.return(a.editIssueService.updateComponent(b,g,h.isExternalMove))}})},tBc=function(a,b){return new Promise(function(c){Gy(a.matDialogService.open(IQ,{width:"580px",data:{response:b,callbacks:{allow:function(){c(!0)},cancel:function(){c(!1)}}}})).subscribe(function(){c(!1)})})};
LQ.\u0275fac=function(a){return new (a||LQ)(w(wJ),w(IH),w(VF),w(KQ),w(Ly),w(MJ))};LQ.\u0275prov=nc({token:LQ,factory:LQ.\u0275fac,providedIn:"root"});var uBc=function(a){this.documentationLinks=a};uBc.\u0275fac=function(a){return new (a||uBc)(D(NI))};
uBc.\u0275cmp=zc({type:uBc,selectors:[["b-issue-component-retention-dialog"]],decls:12,vars:3,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["target","_blank",3,"href"],["mat-dialog-actions",""],["mat-stroked-button","",1,"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),S(1,"Apply component retention settings?"),J(),H(2,
"div",1)(3,"p"),S(4," This issue is currently retained indefinitely. If you select this option, this issue will be scheduled for deletion based on the component retention settings. "),J(),H(5,"a",2),S(6,"Learn more"),J()(),H(7,"div",3)(8,"button",4),S(9," Cancel "),J(),H(10,"button",5),S(11," OK "),J()());a&2&&(C(5),G("href",qp(),vd),C(3),G("mat-dialog-close",!1),C(2),G("mat-dialog-close",!0))},dependencies:[yy,My,Ny,Oy,Py],encapsulation:2});var vBc=function(a,b){this.documentationLinks=b;this.deletionReasons=a.deletionReasons;this.attachmentId=a.attachmentId};vBc.\u0275fac=function(a){return new (a||vBc)(D(Ky),D(NI))};
vBc.\u0275cmp=zc({type:vBc,selectors:[["b-issue-delete-attachment-dialog"]],decls:14,vars:6,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["title","Deletion Reasons Help Link","target","_blank",1,"icon-s",3,"href"],[3,"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),S(1),J(),H(2,"div",1)(3,"span"),S(4," Please select the reason for deleting this attachment. "),H(5,"a",2),S(6," \u00a0Learn more "),J()(),H(7,"mat-radio-group",3),O("ngModelChange",function(c){return b.selectedReason=c}),R(8,LNa,3,4,"mat-radio-button",4),J()(),H(9,"div",5)(10,"button",6),S(11," Cancel "),J(),H(12,"button",7),S(13," Delete "),J()());a&2&&(C(1),Te("Delete attachment ",b.attachmentId,""),C(4),G("href",
qpc(b.documentationLinks),vd),C(2),G("ngModel",b.selectedReason),C(1),G("ngForOf",b.deletionReasons),C(4),G("mat-dialog-close",b.selectedReason)("disabled",!b.selectedReason))},dependencies:[Su,Tu,yy,My,Ny,Oy,Py,tv,zv,XM,YM],styles:["mat-radio-group[_ngcontent-%COMP%] {display: flex; flex-direction: column; margin: 15px 0;}","mat-radio-button[_ngcontent-%COMP%] {margin: 5px}"]});var wBc=function(a,b){this.documentationLinks=b;this.commentNumber=a.commentNumber;this.issueId=a.issueId;this.deletionReasons=a.deletionReasons};wBc.\u0275fac=function(a){return new (a||wBc)(D(Ky),D(NI))};
wBc.\u0275cmp=zc({type:wBc,selectors:[["b-issue-delete-comment-dialog"]],decls:14,vars:7,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["title","Deletion Reasons Help Link","target","_blank",1,"icon-s",3,"href"],[3,"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),S(1),J(),H(2,"div",1)(3,"label"),S(4,"Please select the reason for deleting this comment."),J(),H(5,"a",2),S(6," \u00a0Learn more "),J(),H(7,"mat-radio-group",3),O("ngModelChange",function(c){return b.selectedReason=c}),R(8,NNa,3,4,"mat-radio-button",4),J()(),H(9,"div",5)(10,"button",6),S(11," Cancel "),J(),H(12,"button",7),S(13," Delete "),J()());a&2&&(C(1),We("Delete Comment #",b.commentNumber," of Issue ",b.issueId,
""),C(4),G("href",qpc(b.documentationLinks),vd),C(2),G("ngModel",b.selectedReason),C(1),G("ngForOf",b.deletionReasons),C(4),G("mat-dialog-close",b.selectedReason)("disabled",!b.selectedReason))},dependencies:[Su,Tu,yy,My,Ny,Oy,Py,tv,zv,XM,YM],styles:["mat-radio-group[_ngcontent-%COMP%] {display: flex; flex-direction: column; margin: 15px 0;}","mat-radio-button[_ngcontent-%COMP%] {margin: 5px}"]});var xBc=function(a,b){this.documentationLinks=a;this.activeSession=b;this.REMOVAL_URL=ONa(this.activeSession.isInternalSession())};xBc.\u0275fac=function(a){return new (a||xBc)(D(NI),D(rp))};
xBc.\u0275cmp=zc({type:xBc,selectors:[["b-issue-flag-as-spam-dialog"]],decls:19,vars:4,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["target","_blank",1,"keep-underline",3,"href"],["mat-dialog-actions",""],["mat-stroked-button","",1,"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),S(1,"Report spam?"),J(),H(2,"div",1)(3,
"p"),S(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),S(6,"see here"),J(),S(7,". "),J(),K(8,"p"),H(9,"p"),S(10," To delete PII or other sensitive content, "),H(11,"a",2),S(12,"file a support request"),J(),S(13,". "),J()(),H(14,"div",3)(15,"button",4),S(16," Cancel "),J(),H(17,"button",5),S(18," Report spam "),J()());a&2&&(C(5),G("href",opc(b.documentationLinks),vd),C(6),G("href",b.REMOVAL_URL,
vd),C(4),G("mat-dialog-close",!1),C(2),G("mat-dialog-close",!0))},dependencies:[yy,My,Ny,Oy,Py],encapsulation:2});var yBc=function(a){this.documentationLinks=a;this.indefiniteRetentionAcknowledged=!1};yBc.\u0275fac=function(a){return new (a||yBc)(D(NI))};
yBc.\u0275cmp=zc({type:yBc,selectors:[["b-issue-indefinite-retention-dialog"]],decls:28,vars:5,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["target","_blank",3,"href"],["cdkFocusInitial","",3,"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),S(1,"Retain issue indefinitely?"),
J(),H(2,"div",1)(3,"p"),S(4," Are you sure you want to override any component retention settings, and retain this issue indefinitely? "),J(),H(5,"p")(6,"b"),S(7,"Please note indefinite retention is not appropriate in many circumstances."),J(),K(8,"br"),S(9," Before selecting this option, you should make sure at least one of the following is true: "),J(),H(10,"ul")(11,"li"),S(12," There is no personal data, user data, or any other forms of sensitive data being stored in this issue. "),J(),H(13,"li"),
S(14," You have a process in place to manually delete this issue within an approved period of time. "),J(),H(15,"li"),S(16," Legal and Privacy have approved this non-standard retention period. "),J()(),K(17,"p"),H(18,"p")(19,"a",2),S(20,"Learn more"),J()(),H(21,"mat-checkbox",3),O("change",function(c){return b.indefiniteRetentionAcknowledged=c.checked}),S(22," I acknowledge "),J()(),H(23,"div",4)(24,"button",5),S(25," Cancel "),J(),H(26,"button",6),S(27," OK "),J()());a&2&&(C(19),G("href",qp(),vd),
C(2),G("checked",b.indefiniteRetentionAcknowledged),C(3),G("mat-dialog-close",!1),C(2),G("mat-dialog-close",!0)("disabled",!b.indefiniteRetentionAcknowledged))},dependencies:[yy,My,Ny,Oy,Py,VN],styles:[".mat-dialog-content[_ngcontent-%COMP%] { max-height: unset; overflow: unset; }","ul[_ngcontent-%COMP%] { list-style: disc }"]});var sBb=function(a,b,c,d){var e=this;this.issueComments=b;this.errorHandler=c;this.dialogRef=d;this.allResponders=[];this.loadingResponders=!0;this.commentNumber=a.commentNumber;this.reactionType=a.reactionType;this.issueComments.listCommentReactionResponders({issueId:a.issueId,reactionType:a.reactionType,commentId:a.commentNumber}).then(function(g){e.loadingResponders=!1;e.allResponders=g.responders}).catch(function(g){e.loadingResponders=!1;$F(e.errorHandler,"Fetching comment reaction responders failed\n "+
g.message);e.dialogRef.close()})};sBb.\u0275fac=function(a){return new (a||sBb)(D(Ky),D(mI),D(ZF),D(Iy))};
sBb.\u0275cmp=zc({type:sBb,selectors:[["b-issue-comment-reaction-responders-dialog"]],decls:11,vars:4,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["appearance","primary"],["mat-tab-label",""],[4,"ngIf"],["mat-dialog-actions",""],["mat-flat-button","","color","primary",1,"gmat-button","medium","dialog-primary-action",3,"mat-dialog-close"],[1,"icon-xs",3,"svgIcon"],[4,"ngFor","ngForOf"],[1,"margin-xs-top","margin-xs-bottom","type-m"]],template:function(a,b){a&1&&(H(0,"h1",0),S(1),J(),
H(2,"div",1)(3,"mat-tab-group",2)(4,"mat-tab"),R(5,PNa,1,1,"ng-template",3),R(6,QNa,1,0,"b-spinner",4),R(7,SNa,2,1,"ng-container",4),J()()(),H(8,"div",5)(9,"button",6),S(10," OK "),J()());a&2&&(C(1),Te("View Reactions for Comment #",b.commentNumber,""),C(5),G("ngIf",b.loadingResponders),C(1),G("ngIf",!b.loadingResponders),C(2),G("mat-dialog-close",!0))},dependencies:[Su,Tu,yy,jz,My,Ny,Oy,Py,SL,NM,OM,MM],styles:["[_nghost-%COMP%]     .mat-tab-label {\n      height: 32px;\n    }\n    [_nghost-%COMP%]     .mat-tab-body-wrapper {\n      margin-top: 8px;\n    }"]});var MQ=function(){};MQ.\u0275fac=function(a){return new (a||MQ)};MQ.\u0275mod=Bc({type:MQ});MQ.\u0275inj=oc({imports:[MF,Qy,WB,bz,Qv,Zy,YA,AN,yN,RM,zO]});var NQ=function(a){r.call(this,a,0,NQ.messageId)};V(NQ,r);f=NQ.prototype;f.getResourcePath=function(){return mh(this,1)};f.setResourcePath=function(a){return n(this,1,a)};f.hasResourcePath=function(){return jj(this,1)};f.getSeverity=function(){return Fh(this,2,0)};f.setSeverity=function(a){return n(this,2,a)};f.hasSeverity=function(){return Vh(this,2)};f.getJudgementReason=function(){return mh(this,3)};f.setJudgementReason=function(a){return n(this,3,a)};
f.toObject=function(){if(null!=this){t(this);var a={resourcePath:p(m(this,1)),severity:p(m(this,2)),judgementReason:p(m(this,3))}}else a=void 0;return a};f.serializeBinary=u([NQ,1,Cq,2,Nq,3,Cq]);NQ.messageId="b.CreateContentJudgementRequest";var OQ=function(a){r.call(this,a,0,OQ.messageId)};V(OQ,r);OQ.repeatedFields_=[1];OQ.prototype.toObject=function(){if(null!=this){t(this);var a={contentJudgementsList:Mb(yg(this,nh,1),UC)}}else a=void 0;return a};OQ.prototype.serializeBinary=u([OQ,1,Iq,VC]);OQ.messageId="b.ListContentJudgementsResponse";var PQ=function(a){r.call(this,a,0,PQ.messageId)};V(PQ,r);PQ.prototype.getContentJudgement=function(){return W(this,nh,1)};PQ.prototype.setContentJudgement=function(a){return Oh(this,nh,1,a)};PQ.prototype.toObject=function(){if(null!=this){t(this);var a={contentJudgement:UC(this.getContentJudgement())}}else a=void 0;return a};PQ.prototype.serializeBinary=u([PQ,1,X,VC]);PQ.messageId="b.UpdateContentJudgementRequest";var QQ=function(a){this.executor=a};QQ.prototype.create=function(a,b,c){a=(new NQ).setResourcePath(a).setSeverity(b).setJudgementReason(c);return this.executor.post({url:"action/content_judgements",body:a,responseConstructor:nh}).pipe(E(Xsa))};QQ.prototype.update=function(a){var b=lh(a,1);a=(new PQ).setContentJudgement(a);return this.executor.post({url:"action/content_judgements/"+b,body:a,responseConstructor:nh}).pipe(E(Xsa))};
QQ.prototype.list=function(a){return this.executor.get({url:"action/content_judgements",options:{params:{resource_path:a}},responseConstructor:OQ}).pipe(E(function(b){return yg(b,nh,1)}))};QQ.\u0275fac=function(a){return new (a||QQ)(w(BC))};QQ.\u0275prov=nc({token:QQ,factory:QQ.\u0275fac,providedIn:"root"});var RQ=function(a,b,c,d,e){var g=this;this.dialogRef=a;this.documentationLinks=b;this.contentJudgements=c;this.activeSession=d;this.data=e;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.piiSeverity=jdc;this.loaded=!1;this.minimumSeverity=0;this.severity=1;this.severity=e.severity;e.resourcePath?c.list(e.resourcePath).subscribe(function(h){var l=0;h=k(h);for(var q=h.next();!q.done;q=h.next())q=q.value,mh(q,5)===g.activeSession.getUserEmail()?zBc(g,q):q.getSeverity()>l&&(l=q.getSeverity());
g.minimumSeverity=l;g.minimumSeverity>g.severity&&(g.severity=g.minimumSeverity);g.loaded=!0}):(zBc(this,e.contentJudgement),this.loaded=!0)};RQ.prototype.canInteract=function(){return this.loaded&&(this.data.hasAclToCreate||!!this.judgement)};
var zBc=function(a,b){if(a.judgement=b)a.severity=b.getSeverity()},ABc=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.";
1<a.minimumSeverity&&(b+=" You can only select a restriction level equal or greater than the severity already given by other users.");return b};RQ.prototype.getContentJudgement=function(){var a=new nh;if(this.judgement){var b=lh(this.judgement,1);n(a,1,b);a.setResourcePath(this.judgement.getResourcePath())}a.setJudgementReason("None specified");a.setSeverity(this.severity);return a};
RQ.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.getSeverity()!==this.severity||"None specified"!==this.judgement.getJudgementReason()){this.contentJudgements.update(this.getContentJudgement()).subscribe(function(){a.dialogRef.close({contentJudgement:a.getContentJudgement()})});
return}}this.dialogRef.close({contentJudgement:this.getContentJudgement()})};RQ.prototype.onNoClick=function(){this.dialogRef.close(null)};RQ.\u0275fac=function(a){return new (a||RQ)(D(Iy),D(NI),D(QQ),D(rp),D(Ky))};
RQ.\u0275cmp=zc({type:RQ,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"),K(2,"mat-icon",1),H(3,"div"),S(4," Set restriction "),J()()(),H(5,"section",2)(6,"label",3),S(7),H(8,"a",4),S(9," Learn More "),J()(),
H(10,"mat-radio-group",5),O("ngModelChange",function(c){return b.severity=c}),H(11,"mat-radio-button",6),S(12," No restriction "),H(13,"div"),S(14,' Users with "View issues" can access. '),J()(),H(15,"mat-radio-button",7),S(16," Restricted "),H(17,"div"),S(18,' Users with "View restricted content" can access. '),J()(),H(19,"mat-radio-button",8),S(20," Restricted+ "),H(21,"div"),S(22,' Users with "View restricted+ content" can access. '),J()()()(),H(23,"mat-dialog-actions")(24,"button",9),O("click",
function(){return b.onNoClick()}),S(25," Cancel "),J(),H(26,"button",10),O("click",function(){return b.onSaveClick()}),S(27," Set "),J()());a&2&&(C(7),Te(" ",ABc(b)," "),C(1),G("rel",b.EXTERNAL_LINK_REL),Ae("href",b.documentationLinks.getRestrictedAccessHelpLink(),vd),C(2),G("ngModel",b.severity),C(1),G("value",b.piiSeverity.NONE_DETECTED)("disabled",!b.canInteract()||b.minimumSeverity>b.piiSeverity.NONE_DETECTED),C(4),G("value",b.piiSeverity.PII)("disabled",!b.canInteract()||b.minimumSeverity>b.piiSeverity.PII),
C(4),G("value",b.piiSeverity.SPII)("disabled",!b.canInteract()||b.minimumSeverity>b.piiSeverity.SPII),C(7),G("disabled",!b.canInteract()))},dependencies:[yy,jz,Ny,Oy,Py,XM,YM,tv,zv],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)}\n/*# sourceMappingURL=content_judgement_dialog.css.map */"]});var SQ=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};SQ.prototype.canInteract=function(){return 2!==this.piiRetention||this.acknowledgeToMatchIssueRetention};SQ.prototype.onSaveClick=function(){this.dialogRef.close(1)};SQ.prototype.onNoClick=function(){this.dialogRef.close(0)};
SQ.\u0275fac=function(a){return new (a||SQ)(D(Iy),D(NI),D(Ky))};
SQ.\u0275cmp=zc({type:SQ,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),K(1,"mat-icon",1),H(2,"div"),R(3,TNa,2,1,"span",2),R(4,UNa,2,0,"span",2),J()(),H(5,"div",3),R(6,VNa,8,1,"span",2),R(7,WNa,3,2,"span",2),H(8,"span")(9,"a",4),S(10," Learn More "),J()()(),H(11,"div")(12,"span"),R(13,XNa,2,1,"mat-checkbox",5),J()(),H(14,"div",6)(15,"button",7),O("click",function(){return b.onNoClick()}),S(16," Cancel "),J(),H(17,"button",8),O("click",
function(){return b.onSaveClick()}),S(18," Save "),J()());a&2&&(C(3),G("ngIf",2===b.piiRetention),C(1),G("ngIf",2!==b.piiRetention),C(2),G("ngIf",2===b.piiRetention),C(1),G("ngIf",2!==b.piiRetention),C(2),G("rel",b.EXTERNAL_LINK_REL),Ae("href",qp(),vd),C(4),G("ngIf",2===b.piiRetention),C(4),G("disabled",!b.canInteract()))},dependencies:[Tu,yy,jz,Ny,Oy,Py,VN,tv,zv],styles:["h1[_ngcontent-%COMP%]{text-align:center}.mat-dialog-content[_ngcontent-%COMP%]{overflow:inherit}\n/*# sourceMappingURL=update_retention_dialog.css.map */"]});var TQ=function(a,b,c,d,e,g,h){this.errorHandler=a;this.eventsForIssueFridge=b;this.issueFetchResponseFridge=c;this.issueCommentsService=d;this.issueInteractionsTracking=e;this.butterBar=g;this.editIssueService=h},BBc=function(a,b){var c=b.issueId,d=b.newCommentId,e=b.newComment,g=b.newCommentFormattingMode,h=b.recaptchaToken,l,q;Ld(function(v){switch(v.nextAddress){case 1:l=a.editIssueService.savingState(c);if(!e.trim())return XF(a.butterBar,"New comment cannot be empty."),v.return();JJ(l,"commentEdit");
WF(a.butterBar,"Saving comment edit...",0);zqc(a.issueInteractionsTracking,c,{label:1===d?"description":"comment"});Md(v,2,3);return v.yield(a.issueCommentsService.update(c,d,e,g,h),5);case 5:WF(a.butterBar,"Comment edit successful.",4E3),NH(a.issueFetchResponseFridge,c),nF(a.eventsForIssueFridge,c,function(y){y.events=Wwa(y.events,d,{formattedComment:void 0,unlinkifiedComment:e,formattingMode:g})}),a.eventsForIssueFridge.poke(c);case 3:Nd(v);KJ(l,"commentEdit");Od(v,0);break;case 2:q=Pd(v),aG(a.errorHandler,
q),v.jumpTo(3)}})};TQ.\u0275fac=function(a){return new (a||TQ)(w(ZF),w(pF),w(LH),w(mI),w(wJ),w(VF),w(MJ))};TQ.\u0275prov=nc({token:TQ,factory:TQ.\u0275fac,providedIn:"root"});var CBc=function(a,b,c){this.objectId=a;this.version=b;this.payload=c},DBc=function(){},EBc=function(a){this.timestampMicros=a};YNa.prototype.reset=function(){this.currentMaxDelayMs_=this.initialMaxDelayMs_;this.inRetryMode_=!1};var FBc=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 lm=function(a){r.call(this,a)};V(lm,r);var nm=[1,2,3,15];lm.prototype.toObject=function(){return GBc(this)};var GBc=function(a){if(null!=a)return t(a),{isPublic:p(Db(a,ym(a,nm,1))),isPrivateToUser:p(Db(a,ym(a,nm,2))),privateUserGaiaIdForTest:p(bq(a,3,nm)),isEnd:p(Db(a,ym(a,nm,15)))}},HBc=[lm,1,Bq,nm,2,Bq,nm,3,tq,nm,15,Bq,nm];lm.prototype.serializeBinary=u(HBc);var pm=function(a){r.call(this,a)};V(pm,r);var rm=[1,2,3,4,5,6,7,8,9,10,11,12];pm.prototype.toObject=function(){return IBc(this)};
var IBc=function(a){if(null!=a)return t(a),{bytesDecreasing:Qb(Fb(a,ym(a,rm,5))),signedNumDecreasing:p(xm(a,ym(a,rm,4))),stringDecreasing:p(Am(a,3,rm)),numDecreasing:p(lOa(a,6)),bytes:Qb(Fb(a,ym(a,rm,7))),signedNumIncreasing:p(xm(a,ym(a,rm,2))),string:p(Am(a,1,rm)),numIncreasing:p(lOa(a,8)),doubleDecreasing:p(zm(a,9,rm)),doubleIncreasing:p(zm(a,10,rm)),timestampDecreasing:pr(Fi(a,ug,11,rm)),timestampIncreasing:pr(Fi(a,ug,12,rm))}},JBc=[pm,5,tNb,rm,4,gNb,rm,3,Fq,rm,6,iNb,rm,7,tNb,rm,2,gNb,rm,1,Fq,
rm,8,iNb,rm,9,kq,rm,10,kq,rm,11,Jq,qr,rm,12,Jq,qr,rm];pm.prototype.serializeBinary=u(JBc);var om=function(a){r.call(this,a)};V(om,r);om.repeatedFields_=[1];om.prototype.toObject=function(){return UQ(this)};var UQ=function(a){if(null!=a)return t(a),{partsList:Mb(yg(a,pm,1),IBc)}},VQ=[om,1,Iq,JBc];om.prototype.serializeBinary=u(VQ);var km=function(a){r.call(this,a)};V(km,r);km.prototype.getName=function(){return Am(this,1,WQ)};km.prototype.setName=function(a){return mm(this,1,WQ,a)};km.prototype.hasName=function(){return null!=Am(this,1,WQ)};km.prototype.getNameOrUndefined=function(){return eq(this,ym(this,WQ,1))};var WQ=[1,2];km.prototype.toObject=function(){return KBc(this)};var KBc=function(a){if(null!=a)return t(a),{name:p(Am(a,1,WQ)),isEnd:p(Db(a,ym(a,WQ,2)))}},LBc=[km,1,Fq,WQ,2,Bq,WQ];km.prototype.serializeBinary=u(LBc);var XQ=function(a){r.call(this,a)};V(XQ,r);f=XQ.prototype;f.getProject=function(){return W(this,km,1)};f.setProject=function(a){Oh(this,km,1,a)};f.getOwner=function(){return W(this,lm,2)};f.setOwner=function(a){return Oh(this,lm,2,a)};f.getPath=function(){return W(this,om,3)};f.setPath=function(a){return Oh(this,om,3,a)};f.hasPath=function(){return qi(this,om,3)};f.toObject=function(){return MBc(this)};
var MBc=function(a){if(null!=a)return t(a),{project:KBc(a.getProject()),owner:GBc(a.getOwner()),path:UQ(a.getPath())}},NBc=[XQ,1,X,LBc,2,X,HBc,3,X,VQ];XQ.prototype.serializeBinary=u(NBc);var YQ=function(a){r.call(this,a)};V(YQ,r);f=YQ.prototype;f.getProject=function(){return W(this,km,1)};f.setProject=function(a){Oh(this,km,1,a)};f.getOwner=function(){return W(this,lm,2)};f.setOwner=function(a){return Oh(this,lm,2,a)};f.getPrefix=function(){return W(this,om,3)};f.setPrefix=function(a){Oh(this,om,3,a)};f.toObject=function(){return OBc(this)};
var OBc=function(a){if(null!=a)return t(a),{project:KBc(a.getProject()),owner:GBc(a.getOwner()),prefix:UQ(a.getPrefix())}},PBc=[YQ,1,X,LBc,2,X,HBc,3,X,VQ];YQ.prototype.serializeBinary=u(PBc);var ZQ=function(a){r.call(this,a)};V(ZQ,r);f=ZQ.prototype;f.getVersion=function(){return Cb(this,1)};f.getVersion_legacyNullable=function(){return Cb(this,1)};f.setVersion=function(a){return n(this,1,a)};f.getVersionOrUndefined=function(){return cq(this,1)};f.toObject=function(){return QBc(this)};var QBc=function(a){if(null!=a)return t(a),{version:p(Cb(a,1)),library:p(m(a,2)),buildBaselineChangelist:p(m(a,3))}},RBc=[ZQ,1,wq,2,Nq,3,pq];ZQ.prototype.serializeBinary=u(RBc);var SBc=function(a){r.call(this,a)};V(SBc,r);f=SBc.prototype;f.getProject=function(){return W(this,km,3)};f.setProject=function(a){Oh(this,km,3,a)};f.getOwner=function(){return W(this,lm,4)};f.setOwner=function(a){return Oh(this,lm,4,a)};f.toObject=function(){return TBc(this)};var TBc=function(a){if(null!=a)return t(a),{project:KBc(a.getProject()),owner:GBc(a.getOwner()),minPath:UQ(W(a,om,5)),maxPath:UQ(W(a,om,6))}},UBc=[SBc,3,X,LBc,4,X,HBc,5,X,VQ,6,X,VQ];SBc.prototype.serializeBinary=u(UBc);var $Q=function(a){r.call(this,a)};V($Q,r);f=$Q.prototype;f.getHeader=function(){return W(this,ZQ,4)};f.setHeader=function(a){return Oh(this,ZQ,4,a)};f.hasHeader=function(){return qi(this,ZQ,4)};f.getPrefix=function(){return Fi(this,YQ,6,aR)};f.setPrefix=function(a){sm(this,6,aR,a)};var aR=[2,3,6];$Q.prototype.toObject=function(){return VBc(this)};
var VBc=function(a){if(null!=a)return t(a),{header:QBc(a.getHeader()),startTimeMicros:p(m(a,1)),point:MBc(Fi(a,XQ,2,aR)),range:TBc(Fi(a,SBc,3,aR)),prefix:OBc(a.getPrefix()),monitoringTag:p(m(a,5)),startTimeChosenByPunctual:p(Db(a,8)),streamInitiationReason:p(m(a,9))}},WBc=[$Q,4,X,RBc,1,vNb,2,Jq,NBc,aR,3,Jq,UBc,aR,6,Jq,PBc,aR,5,Cq,8,zq,9,Nq];$Q.prototype.serializeBinary=u(WBc);var XBc=function(a){r.call(this,a)};V(XBc,r);XBc.prototype.toObject=function(){if(null!=this){t(this);var a={watchRequest:VBc(W(this,$Q,1))}}else a=void 0;return a};XBc.prototype.serializeBinary=u([XBc,1,X,WBc]);var bR=function(a){r.call(this,a)};V(bR,r);bR.prototype.setAffinitization=function(a){n(this,2,a)};bR.prototype.getAffinitizationOrUndefined=function(){return Qo(this,2)};bR.prototype.toObject=function(){if(null!=this){t(this);var a={gsessionid:p(m(this,1)),affinitization:p(m(this,2)),initialConnectionDelayMillis:p(Cb(this,3))}}else a=void 0;return a};bR.prototype.serializeBinary=u([bR,1,Cq,2,Nq,3,wq]);var cR=function(a){r.call(this,a)};V(cR,r);cR.prototype.toObject=function(){return YBc(this)};var YBc=function(a){if(null!=a)return t(a),{}},ZBc=[cR];cR.prototype.serializeBinary=u(ZBc);var dR=function(a){r.call(this,a)};V(dR,r);f=dR.prototype;f.getStreamId_legacyNullable=function(){return m(this,1)};f.setStreamId=function(a){n(this,1,a)};f.getClose=function(){return Fi(this,cR,3,eR)};f.setClose=function(a){sm(this,3,eR,a)};f.hasClose=function(){return Di(this,cR,3,eR)};f.setAffinitization=function(a){n(this,4,a)};f.getAffinitizationOrUndefined=function(){return Qo(this,4)};var eR=[2,3];dR.prototype.toObject=function(){return $Bc(this)};
var $Bc=function(a){if(null!=a)return t(a),{streamId:p(m(a,1)),open:VBc(Fi(a,$Q,2,eR)),close:YBc(a.getClose()),affinitization:p(m(a,4))}},aCc=[dR,1,mq,2,Jq,WBc,eR,3,Jq,ZBc,eR,4,Nq];dR.prototype.serializeBinary=u(aCc);var fR=function(a){r.call(this,a)};V(fR,r);fR.prototype.getRequestsList=function(){return yg(this,dR,1)};fR.prototype.setRequestsList=function(a){return Th(this,1,a)};fR.prototype.addAndReturnRequests=function(){return gb(this,1,dR)};fR.repeatedFields_=[1];fR.prototype.toObject=function(){if(null!=this){t(this);var a={requestsList:Mb(this.getRequestsList(),$Bc)}}else a=void 0;return a};fR.prototype.serializeBinary=u([fR,1,Iq,aCc]);var gR=function(a){r.call(this,a)};V(gR,r);gR.prototype.setAffinitization=function(a){n(this,4,a)};gR.prototype.getAffinitizationOrUndefined=function(){return Qo(this,4)};gR.repeatedFields_=[3];gR.prototype.toObject=function(){return bCc(this)};var bCc=function(a){if(null!=a)return t(a),{int64SliceKey:p(m(a,1)),rangeSliceKey:Qb(Fb(a,2)),behavior:p(m(a,5)),weaverAddressesList:p(Cg(a,3)),affinitization:p(m(a,4))}},cCc=[gR,1,mq,2,Kq,5,Nq,3,Dq,4,Nq];gR.prototype.serializeBinary=u(cCc);var hR=function(a){r.call(this,a)};V(hR,r);hR.repeatedFields_=[1];hR.prototype.toObject=function(){return dCc(this)};var dCc=function(a){if(null!=a)return t(a),{sliceKeyHintsList:Mb(yg(a,gR,1),bCc)}},eCc=[hR,1,Iq,cCc];hR.prototype.serializeBinary=u(eCc);var iR=function(a){r.call(this,a)};V(iR,r);iR.prototype.getCode=function(){return m(this,1)};iR.prototype.getCode_legacyNullable=function(){return m(this,1)};iR.prototype.setCode=function(a){return n(this,1,a)};iR.prototype.toObject=function(){return fCc(this)};var fCc=function(a){if(null!=a)return t(a),{code:p(m(a,1)),reconnectHints:dCc(W(a,hR,2))}},gCc=[iR,1,Nq,2,X,eCc];iR.prototype.serializeBinary=u(gCc);var jR=function(a){r.call(this,a)};V(jR,r);jR.prototype.getReason=function(){return Fh(this,1,0)};jR.prototype.setReason=function(a){n(this,1,a)};jR.prototype.toObject=function(){return hCc(this)};var hCc=function(a){if(null!=a)return t(a),{reason:p(m(a,1))}},iCc=[jR,1,Nq];jR.prototype.serializeBinary=u(iCc);var jCc=Lb(376010773,{messageSetExtension:0},jR,hCc);gr[376010773]=gq(hq,iCc);fr[376010773]=jCc;var kR=function(a){r.call(this,a)};V(kR,r);kR.prototype.toObject=function(){return kCc(this)};var kCc=function(a){if(null!=a)return t(a),{timestampMicros:p(m(a,1))}},lCc=[kR,1,mq];kR.prototype.serializeBinary=u(lCc);var lR=function(a){r.call(this,a)};V(lR,r);f=lR.prototype;f.getPayload=function(){return Fb(this,2)};f.getVersion=function(){return m(this,3)};f.getVersion_legacyNullable=function(){return m(this,3)};f.setVersion=function(a){return n(this,3,a)};f.getVersionOrUndefined=function(){var a=m(this,3);return null==a?void 0:a};f.toObject=function(){return mCc(this)};
var mCc=function(a){if(null!=a)return t(a),{objectPath:UQ(W(a,om,6)),payload:Qb(a.getPayload()),version:p(m(a,3)),changeTimeMicros:p(m(a,4))}},nCc=[lR,6,X,VQ,2,Kq,3,mq,4,vNb];lR.prototype.serializeBinary=u(nCc);var mR=function(a){r.call(this,a)};V(mR,r);mR.repeatedFields_=[1];mR.prototype.toObject=function(){return oCc(this)};var oCc=function(a){if(null!=a)return t(a),{changesList:Mb(yg(a,lR,1),mCc)}},pCc=[mR,1,Iq,nCc];mR.prototype.serializeBinary=u(pCc);var nR=function(a){r.call(this,a)};V(nR,r);nR.prototype.getPayload=function(){return W(this,jR,1)};nR.prototype.toObject=function(){return qCc(this)};var qCc=function(a){if(null!=a)return t(a),{payload:hCc(a.getPayload())}},rCc=[nR,1,X,iCc];nR.prototype.serializeBinary=u(rCc);var sCc=function(a){r.call(this,a)};V(sCc,r);sCc.prototype.toObject=function(){return tCc(this)};var tCc=function(a){if(null!=a)return t(a),{}},uCc=[sCc];sCc.prototype.serializeBinary=u(uCc);var oR=function(a){r.call(this,a)};V(oR,r);oR.prototype.getStart=function(){return Fi(this,sCc,1,pR)};oR.prototype.setStart=function(a){return sm(this,1,pR,a)};oR.prototype.getChanges=function(){return Fi(this,mR,2,pR)};oR.prototype.hasChanges=function(){return Di(this,mR,2,pR)};var pR=[1,2,3,5];oR.prototype.toObject=function(){return vCc(this)};
var vCc=function(a){if(null!=a)return t(a),{start:tCc(a.getStart()),changes:oCc(a.getChanges()),advance:kCc(Fi(a,kR,3,pR)),resync:qCc(Fi(a,nR,5,pR))}},wCc=[oR,1,Jq,uCc,pR,2,Jq,pCc,pR,3,Jq,lCc,pR,5,Jq,rCc,pR];oR.prototype.serializeBinary=u(wCc);var qR=function(a){r.call(this,a)};V(qR,r);f=qR.prototype;f.getCode=function(){return Cb(this,1)};f.getCode_legacyNullable=function(){return Cb(this,1)};f.setCode=function(a){return n(this,1,a)};f.getMessage=function(){return m(this,3)};f.setMessage=function(a){n(this,3,a)};f.toObject=function(){return xCc(this)};var xCc=function(a){if(null!=a)return t(a),{code:p(Cb(a,1)),space:p(m(a,2)),message:p(m(a,3)),canonicalCode:p(Cb(a,6)),messageSet:mOb(W(a,er,5))}},yCc=[qR,1,wq,2,Cq,3,Cq,6,wq,5,X,nOb];
qR.prototype.serializeBinary=u(yCc);var zCc=Lb(10071,{messageSetExtension:0},qR,xCc);gr[10071]=gq(hq,yCc);fr[10071]=zCc;var rR=function(a){r.call(this,a)};V(rR,r);rR.prototype.getStatus=function(){return W(this,qR,1)};rR.prototype.setStatus=function(a){return Oh(this,qR,1,a)};rR.prototype.hasStatus=function(){return qi(this,qR,1)};rR.prototype.toObject=function(){return ACc(this)};var ACc=function(a){if(null!=a)return t(a),{status:xCc(a.getStatus())}},BCc=[rR,1,X,yCc];rR.prototype.serializeBinary=u(BCc);var sR=function(a){r.call(this,a)};V(sR,r);f=sR.prototype;f.getStreamId_legacyNullable=function(){return m(this,1)};f.setStreamId=function(a){n(this,1,a)};f.getClose=function(){return Fi(this,rR,3,tR)};f.setClose=function(a){sm(this,3,tR,a)};f.hasClose=function(){return Di(this,rR,3,tR)};var tR=[2,3];sR.prototype.toObject=function(){return CCc(this)};
var CCc=function(a){if(null!=a)return t(a),{streamId:p(m(a,1)),watchResponse:vCc(Fi(a,oR,2,tR)),close:ACc(a.getClose())}},DCc=[sR,1,mq,2,Jq,wCc,tR,3,Jq,BCc,tR];sR.prototype.serializeBinary=u(DCc);var uR=function(a){r.call(this,a)};V(uR,r);uR.prototype.getStatus=function(){return W(this,iR,2)};uR.prototype.setStatus=function(a){return Oh(this,iR,2,a)};uR.prototype.hasStatus=function(){return qi(this,iR,2)};uR.repeatedFields_=[1];uR.prototype.toObject=function(){if(null!=this){t(this);var a={responsesList:Mb(yg(this,sR,1),CCc),status:fCc(this.getStatus())}}else a=void 0;return a};uR.prototype.serializeBinary=u([uR,1,Iq,DCc,2,X,gCc]);var ECc=function(){rz.call(this,"d")};Cp(ECc,rz);var FCc=function(){rz.call(this,"c")};Cp(FCc,rz);var GCc=function(a,b){this.path=a;this.authMethod=b},HCc=function(a,b,c,d,e){this.channelMessageHandler=a;this.channelStatusHandler=b;this.config=c;this.channelCreator=d;this.state=0;this.channelHandler=new Tn;this.channel=this.createWebChannel(e)};
HCc.prototype.createWebChannel=function(a){var b=this;a={sendRawJson:!0,messageContentType:"application/json+protobuf",httpSessionIdParam:void 0,messageUrlParams:Object.assign({},{gsessionid:a},this.config.authMethod.getQueryParameters()),messageHeaders:this.config.authMethod.getHeaders(),supportsCrossDomainXhr:this.config.authMethod.usesCredentialedRequests()};a=this.channelCreator(this.config.path,a);this.channelHandler.listen(a,"a",function(){b.channelStatusHandler.onOpen()});this.channelHandler.listen(a,
"b",function(){b.channelStatusHandler.onClose((new ICc(b.channel.channel_)).getLastStatusCode());b.state=2;b.channel.removeAllListeners();b.channelHandler.removeAll()});this.channelHandler.listen(a,"d",function(c){(c=c.data)&&1===c.length&&b.channelMessageHandler(new uR(c[0]))});this.channelHandler.listen(a,"c",function(c){b.channelStatusHandler.onError(c,(new ICc(b.channel.channel_)).getLastStatusCode());0!==c.status&&(b.state=2)});return a};
HCc.prototype.open=function(){0===this.state&&(this.state=1,this.channel.open())};HCc.prototype.close=function(){2!==this.state&&this.channel.close()};HCc.prototype.send=function(a){a=a.serialize();this.channel.send(a)};var JCc,KCc=(new ZQ).setVersion(7);JCc=n(KCc,2,5);var tm=function(a){this.rep=a};tm.prototype.equals=function(a){return this.rep===a.rep};var LCc=function(){var a=8;a=void 0===a?1:a;this.max=8;this.lastAddedTimestampMs=Date.now();this.tokens=a};LCc.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 gOa=function(a,b){this.seconds=a;this.nanos=b},hOa=function(a){var b=new ug;b.setSeconds(a.seconds);b.setNanos(a.nanos);return b},nOa=function(a){try{var b=a.getSeconds(),c=a.getNanos();if(-62135596800>b)throw Error("hd`"+b);if(253402300800<=b)throw Error("id`"+b);if(0>c)throw Error("jd`"+c);if(1E9<=c)throw Error("kd`"+c);if(!Number.isInteger(b))throw Error("ld`"+b);if(!Number.isInteger(c))throw Error("md`"+c);return new gOa(b,c)}catch(d){return null}};
gOa.prototype.equals=function(a){return this.seconds===a.seconds&&this.nanos===a.nanos};var qm=function(a,b){this.low_=a|0;this.high_=b|0};f=qm.prototype;f.toNumber=function(){return 4294967296*this.high_+(this.low_>>>0)};f.isSafeInteger=function(){var a=this.high_>>21;return 0==a||-1==a&&!(0==this.low_&&-2097152==this.high_)};
f.toString=function(a){a=a||10;if(2>a||36<a)throw Error("nd`"+a);if(this.isSafeInteger()){var b=this.toNumber();return 10==a?""+b:b.toString(a)}b=14-(a>>2);var c=Math.pow(a,b),d=vR(c,c/4294967296);c=wR(this,d);d=Math.abs(this.subtract(c.multiply(d)).toNumber());var e=10==a?""+d:d.toString(a);e.length<b&&(e="0000000000000".slice(e.length-b)+e);d=c.toNumber();return(10==a?d:d.toString(a))+e};f.isZero=function(){return 0==this.low_&&0==this.high_};f.isNegative=function(){return 0>this.high_};
f.equals=function(a){return this.low_==a.low_&&this.high_==a.high_};f.compare=function(a){return this.high_==a.high_?this.low_==a.low_?0:this.low_>>>0>a.low_>>>0?1:-1:this.high_>a.high_?1:-1};var xR=function(a){var b=~a.low_+1|0;return vR(b,~a.high_+!b|0)};
qm.prototype.add=function(a){var b=this.high_>>>16,c=this.high_&65535,d=this.low_>>>16,e=a.high_>>>16,g=a.high_&65535,h=a.low_>>>16;a=(this.low_&65535)+(a.low_&65535);h=(a>>>16)+(d+h);d=h>>>16;d+=c+g;return vR((h&65535)<<16|a&65535,((d>>>16)+(b+e)&65535)<<16|d&65535)};qm.prototype.subtract=function(a){return this.add(xR(a))};
qm.prototype.multiply=function(a){if(this.isZero())return this;if(a.isZero())return a;var b=this.high_>>>16,c=this.high_&65535,d=this.low_>>>16,e=this.low_&65535,g=a.high_>>>16,h=a.high_&65535,l=a.low_>>>16;a=a.low_&65535;var q=e*a;var v=(q>>>16)+d*a;var y=v>>>16;v=(v&65535)+e*l;y+=v>>>16;y+=c*a;var B=y>>>16;y=(y&65535)+d*l;B+=y>>>16;y=(y&65535)+e*h;B=B+(y>>>16)+(b*a+c*l+d*h+e*g)&65535;return vR((v&65535)<<16|q&65535,B<<16|y&65535)};
var wR=function(a,b){if(b.isZero())throw Error("od");if(a.isNegative()){if(a.equals(MCc)){if(b.equals(NCc)||b.equals(OCc))return MCc;if(b.equals(MCc))return NCc;var c=a.high_;c=vR(a.low_>>>1|c<<31,c>>1);c=wR(c,b).shiftLeft(1);if(c.equals(yR))return b.isNegative()?NCc:OCc;a=a.subtract(b.multiply(c));return c.add(wR(a,b))}return b.isNegative()?wR(xR(a),xR(b)):xR(wR(xR(a),b))}if(a.isZero())return yR;if(b.isNegative())return b.equals(MCc)?yR:xR(wR(a,xR(b)));for(var d=yR;0<=a.compare(b);){c=Math.max(1,
Math.floor(a.toNumber()/b.toNumber()));var e=Math.ceil(Math.log(c)/Math.LN2);e=48>=e?1:Math.pow(2,e-48);for(var g=zR(c),h=g.multiply(b);h.isNegative()||0<h.compare(a);)c-=e,g=zR(c),h=g.multiply(b);g.isZero()&&(g=NCc);d=d.add(g);a=a.subtract(h)}return d};f=qm.prototype;f.not=function(){return vR(~this.low_,~this.high_)};f.and=function(a){return vR(this.low_&a.low_,this.high_&a.high_)};f.or=function(a){return vR(this.low_|a.low_,this.high_|a.high_)};
f.xor=function(a){return vR(this.low_^a.low_,this.high_^a.high_)};f.shiftLeft=function(a){a&=63;if(0==a)return this;var b=this.low_;return 32>a?vR(b<<a,this.high_<<a|b>>>32-a):vR(0,b<<a-32)};
var zR=function(a){return 0<a?0x7fffffffffffffff<=a?PCc:new qm(a,a/4294967296):0>a?-0x7fffffffffffffff>=a?MCc:xR(new qm(-a,-a/4294967296)):yR},vR=function(a,b){return new qm(a,b)},kOa=function(a,b){if("-"==a.charAt(0))return xR(kOa(a.substring(1),b));var c=parseInt(a,b||10);if(9007199254740991>=c)return new qm(c%4294967296|0,c/4294967296|0);if(0==a.length)throw Error("pd");if(0<=a.indexOf("-"))throw Error("qd`"+a);b=b||10;if(2>b||36<b)throw Error("nd`"+b);c=zR(Math.pow(b,8));for(var d=yR,e=0;e<a.length;e+=
8){var g=Math.min(8,a.length-e),h=parseInt(a.substring(e,e+g),b);8>g?d=d.multiply(zR(Math.pow(b,g))).add(zR(h)):(d=d.multiply(c),d=d.add(zR(h)))}return d},yR=vR(0,0),NCc=vR(1,0),OCc=vR(-1,-1),PCc=vR(4294967295,2147483647),MCc=vR(0,2147483648);var gm=function(a,b){this.value=a;this.isDecreasing=!!b};
gm.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 qm)b=a.value instanceof qm?this.value.equals(a.value):!1;else if(this.value instanceof tm)b=a.value instanceof tm?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 gOa?a.value instanceof gOa?this.value.equals(a.value):!1:!1;return b};var wm=function(a,b){this.parts=a;this.isPrivate=b},jOa=function(){for(var a=[],b=k(Fc.apply(0,arguments)),c=b.next();!c.done;c=b.next())c=c.value,c instanceof gm?a.push(c):a.push(new gm(c));return new wm(a,!1)};wm.prototype.isPrivateToUser=function(){return this.isPrivate};
wm.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 QCc=function(){},aOa=function(a,b){this.apiKey=a;this.authUser=b};aOa.prototype.getHeaders=function(){var a={},b;(b=Fm([]))?(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};aOa.prototype.getQueryParameters=function(){return{key:this.apiKey}};aOa.prototype.domainType=function(){return 0};aOa.prototype.usesCredentialedRequests=function(){return!0};var ZNa=function(a){this.oauthTokens=a};
ZNa.prototype.getHeaders=function(){var a={};a.Authorization="OAuth "+this.oauthTokens.getValue();return a};ZNa.prototype.getQueryParameters=function(){return{}};ZNa.prototype.domainType=function(){return 1};ZNa.prototype.usesCredentialedRequests=function(){return!0};var $Na=function(a,b){this.apiKey=a;this.appAuthTokens=b};$Na.prototype.getHeaders=function(){return{}};$Na.prototype.getQueryParameters=function(){return{key:this.apiKey}};$Na.prototype.domainType=function(){return 1};
$Na.prototype.usesCredentialedRequests=function(){return!1};var RCc={send:function(a,b,c,d,e,g,h){qra(a,b,c,d,e,g,h)}};var SCc=function(a,b,c){this.code=a;this.message=b;this.status=c},TCc=function(a){var b=void 0===b?RCc:b;this.baseUri=a;this.xhrIo=b};TCc.prototype.post=function(a,b,c,d){d=void 0===d?{}:d;return this.request("POST",a,b,c,d)};
TCc.prototype.request=function(a,b,c,d,e){var g=this,h=new Om(this.baseUri);h.setPath(b);if(e.queryParams){b=k(Object.entries(e.queryParams));for(var l=b.next();!l.done;l=b.next()){var q=k(l.value);l=q.next().value;q=q.next().value;iC(h,l,q)}}var v={"Content-type":"application/json+protobuf"};Object.assign(v,e.extraHeaders);var y=c.serialize();return new Promise(function(B,I){var N;g.xhrIo.send(h,function(){var Q=-1===this.getStatus()?void 0:this.getStatus();if(this.isSuccess())try{B(vda(d,this.getResponseText()))}catch(Z){I(new SCc(4,
"Failed to deserialize response from "+h+": "+this.getResponseText(),Q))}else I(new SCc(this.getLastErrorCode(),this.getLastError(),Q))},a,y,v,null!=(N=e.timeoutMs)?N:2E4,e.withCredentials)})};var UCc=function(a,b,c){ng.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};V(UCc,ng);f=UCc.prototype;f.fire=function(a){this.args_=arguments;this.timer_||this.pauseCount_?this.shouldFire_=!0:this.doAction_()};f.stop=function(){this.timer_&&(jm(this.timer_),this.timer_=null,this.shouldFire_=!1,this.args_=null)};f.pause=function(){this.pauseCount_++};
f.resume=function(){this.pauseCount_--;this.pauseCount_||!this.shouldFire_||this.timer_||(this.shouldFire_=!1,this.doAction_())};f.disposeInternal=function(){ng.prototype.disposeInternal.call(this);this.stop()};f.onTimer_=function(){this.timer_=null;this.shouldFire_&&!this.pauseCount_&&(this.shouldFire_=!1,this.doAction_())};f.doAction_=function(){var a=this;this.timer_=im(function(){return a.onTimer_()},this.interval_);var b=this.args_;this.args_=null;this.listener_.apply(null,b)};var VCc=null,WCc=function(){return VCc=VCc||new Im},XCc=function(a){rz.call(this,"serverreachability",a)};Cp(XCc,rz);var YCc=function(a){var b=WCc();b.dispatchEvent(new XCc(b,a))},ZCc=function(a,b){rz.call(this,"statevent",a);this.stat=b};Cp(ZCc,rz);var AR=function(a){var b=WCc();b.dispatchEvent(new ZCc(b,a))},$Cc=function(a,b,c){rz.call(this,"timingevent",a);this.size=b;this.rtt=c};Cp($Cc,rz);
var aDc=function(a,b,c){var d=WCc();d.dispatchEvent(new $Cc(d,a,b,c))},bDc=function(a,b){if("function"!==typeof a)throw Error("sd");return ca.setTimeout(function(){a()},b)};var BR=function(){this.redactEnabled_=!0};BR.prototype.disableRedact=function(){this.redactEnabled_=!1};
var cDc=function(a,b,c,d,e,g){a.info(function(){if(a.redactEnabled_)if(g){var h="";for(var l=g.split("&"),q=0;q<l.length;q++){var v=l[q].split("=");if(1<v.length){var y=v[0];v=v[1];var B=y.split("_");h=2<=B.length&&"type"==B[1]?h+(y+"="+v+"&"):h+(y+"=redacted&")}}}else h=null;else h=g;return"XMLHTTP REQ ("+d+") [attempt "+e+"]: "+b+"\n"+c+"\n"+h})},dDc=function(a,b,c,d,e,g,h){a.info(function(){return"XMLHTTP RESP ("+d+") [ attempt "+e+"]: "+b+"\n"+c+"\n"+g+" "+h})},CR=function(a,b,c,d){a.info(function(){return"XMLHTTP TEXT ("+
b+"): "+eDc(a,c)+(d?" "+d:"")})},fDc=function(a,b){a.info(function(){return"TIMEOUT: "+b})};BR.prototype.debug=function(){};BR.prototype.info=function(){};BR.prototype.warning=function(){};
var eDc=function(a,b){if(!a.redactEnabled_)return b;if(!b)return null;try{var c=JSON.parse(b);if(c)for(var d=0;d<c.length;d++)if(Array.isArray(c[d])){var e=c[d];if(!(2>e.length)){var g=e[1];if(Array.isArray(g)&&!(1>g.length)){var h=g[0];if("noop"!=h&&"stop"!=h&&"close"!=h)for(var l=1;l<g.length;l++)g[l]=""}}}return P5b(c)}catch(q){return a.debug("Exception parsing expected JS array - probably was not JS"),b}};var DR=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 Tn(this);this.timeout_=45E3;a=j2a?125:void 0;this.pollingTimer_=new Lz(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 gDc},gDc=function(){this.textDecoder=null;this.responseBuffer="";this.responseArrivedForFetch=!1},hDc=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"}},
iDc={},jDc={};DR.prototype.setExtraHeaders=function(a){this.extraHeaders_=a};DR.prototype.setTimeout=function(a){this.timeout_=a};DR.prototype.setReadyStateChangeThrottle=function(a){this.readyStateChangeThrottleMs_=a};DR.prototype.getPendingMessages=function(){return this.pendingMessages_};
var lDc=function(a,b,c){a.type_=1;a.baseUri_=Ybc(b.clone());a.postData_=c;a.decodeChunks_=!0;kDc(a,null)},kDc=function(a,b){a.requestStartTime_=Date.now();mDc(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 gDc;a.xmlHttp_=nDc(a.channel_,c?b:null,!a.postData_);0<a.readyStateChangeThrottleMs_&&(a.readyStateChangeThrottle_=new UCc(Ap(a.xmlHttpHandler_,
a,a.xmlHttp_),a.readyStateChangeThrottleMs_));a.eventHandler_.listen(a.xmlHttp_,"readystatechange",a.readyStateChangeHandler_);b=a.extraHeaders_?Wb(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));YCc(1);cDc(a.channelDebug_,a.verb_,a.requestUri_,a.rid_,a.retryId_,a.postData_)};
DR.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)};DR.prototype.xmlHttpHandler_=function(a){try{a==this.xmlHttp_?oDc(this):this.channelDebug_.warning("Called back with an unexpected xmlhttp")}catch(b){this.channelDebug_.debug("Failed call to OnXmlHttpReadyStateChanged_"),pDc(this)}finally{}};
var oDc=function(a){var b=a.xmlHttp_.getReadyState(),c=a.xmlHttp_.getLastErrorCode(),d=a.xmlHttp_.getStatus();if(!(3>b||3==b&&!j2a&&!pDc(a))){a.cancelled_||4!=b||7==c||(8==c||0>=d?YCc(3):YCc(2));qDc(a);var e=a.xmlHttp_.getStatus();a.lastStatusCode_=e;c=rDc(a);pDc(a)||a.channelDebug_.debug(function(){return"No response text for uri "+a.requestUri_+" status "+e});a.successful_=200==e;dDc(a.channelDebug_,a.verb_,a.requestUri_,a.rid_,a.retryId_,b,e);if(a.successful_){if(a.decodeInitialResponse_&&!a.initialResponseDecoded_)if(d=
sDc(a))CR(a.channelDebug_,a.rid_,d,"Initial handshake response via X-HTTP-Initial-Response"),a.initialResponseDecoded_=!0,tDc(a,d);else{a.successful_=!1;a.lastError_=3;AR(12);a.channelDebug_.warning("XMLHTTP Missing X_HTTP_INITIAL_RESPONSE ("+a.rid_+")");ER(a);uDc(a);return}a.decodeChunks_?(vDc(a,b,c),j2a&&a.successful_&&3==b&&wDc(a)):(CR(a.channelDebug_,a.rid_,c,null),tDc(a,c));4==b&&ER(a);a.successful_&&!a.cancelled_&&(4==b?xDc(a.channel_,a):(a.successful_=!1,mDc(a)))}else a.xmlHttp_.getResponseHeaders(),
400==e&&0<c.indexOf("Unknown SID")?(a.lastError_=3,AR(12),a.channelDebug_.warning("XMLHTTP Unknown SID ("+a.rid_+")")):(a.lastError_=0,AR(13),a.channelDebug_.warning("XMLHTTP Bad status "+e+" ("+a.rid_+")")),ER(a),uDc(a)}},sDc=function(a){return a.xmlHttp_&&(a=yra(a.xmlHttp_,"X-HTTP-Initial-Response"))&&!nj(a)?a:null},rDc=function(a){if(!yDc(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 ER(a),uDc(a),"";a.fetchResponseState_.textDecoder=new ca.TextDecoder}for(var g=0;g<d;g++)a.fetchResponseState_.responseArrivedForFetch=!0,c+=a.fetchResponseState_.textDecoder.decode(b[g],{stream:e&&g==d-1});b.splice(0,d);a.fetchResponseState_.responseBuffer+=c;a.xmlHttpChunkStart_=0;return a.fetchResponseState_.responseBuffer},pDc=function(a){return a.xmlHttp_?a.fetchResponseState_.responseArrivedForFetch?!0:!(!a.xmlHttp_.getResponseText()&&!a.xmlHttp_.getResponse()):!1},
yDc=function(a){return a.xmlHttp_?"GET"==a.verb_&&2!=a.type_&&a.channel_.usesFetchStreams_:!1},vDc=function(a,b,c){for(var d=!0,e;!a.cancelled_&&a.xmlHttpChunkStart_<c.length;)if(e=zDc(a,c),e==jDc){4==b&&(a.lastError_=4,AR(14),d=!1);CR(a.channelDebug_,a.rid_,null,"[Incomplete Response]");break}else if(e==iDc){a.lastError_=4;AR(15);CR(a.channelDebug_,a.rid_,c,"[Invalid Chunk]");d=!1;break}else CR(a.channelDebug_,a.rid_,e,null),tDc(a,e);yDc(a)&&e!=jDc&&e!=iDc&&(a.fetchResponseState_.responseBuffer=
"",a.xmlHttpChunkStart_=0);4!=b||0!=c.length||a.fetchResponseState_.responseArrivedForFetch||(a.lastError_=1,AR(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),ADc(b),b.bpDetectionDone_=!0,AR(11))):(CR(a.channelDebug_,a.rid_,c,"[Invalid Chunked Response]"),ER(a),uDc(a))};
DR.prototype.pollResponse_=function(){if(this.xmlHttp_){var a=this.xmlHttp_.getReadyState(),b=this.xmlHttp_.getResponseText();this.xmlHttpChunkStart_<b.length&&(qDc(this),vDc(this,a,b),this.successful_&&4!=a&&mDc(this))}};
var wDc=function(a){a.eventHandler_.listen(a.pollingTimer_,"tick",a.pollResponse_);a.pollingTimer_.start()},zDc=function(a,b){var c=a.xmlHttpChunkStart_,d=b.indexOf("\n",c);if(-1==d)return jDc;c=Number(b.substring(c,d));if(isNaN(c))return iDc;d+=1;if(d+c>b.length)return jDc;b=b.slice(d,d+c);a.xmlHttpChunkStart_=d+c;return b};DR.prototype.cancel=function(){this.cancelled_=!0;ER(this)};
var mDc=function(a){a.watchDogTimeoutTime_=Date.now()+a.timeout_;BDc(a,a.timeout_)},BDc=function(a,b){if(null!=a.watchDogTimerId_)throw Error("td");a.watchDogTimerId_=bDc(Ap(a.onWatchDogTimeout_,a),b)},qDc=function(a){a.watchDogTimerId_&&(ca.clearTimeout(a.watchDogTimerId_),a.watchDogTimerId_=null)};
DR.prototype.onWatchDogTimeout_=function(){this.watchDogTimerId_=null;var a=Date.now();0<=a-this.watchDogTimeoutTime_?(fDc(this.channelDebug_,this.requestUri_),2!=this.type_&&(YCc(3),AR(17)),ER(this),this.lastError_=2,uDc(this)):(this.channelDebug_.warning("WatchDog timer called too early"),BDc(this,this.watchDogTimeoutTime_-a))};
var uDc=function(a){a.channel_.isClosed()||a.cancelled_||xDc(a.channel_,a)},ER=function(a){qDc(a);mg(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()}};DR.prototype.getLastError=function(){return this.lastError_};DR.prototype.getLastStatusCode=function(){return this.lastStatusCode_};DR.prototype.getRequestId=function(){return this.rid_};DR.prototype.getXhr=function(){return this.xmlHttp_};
var tDc=function(a,b){try{var c=a.channel_;if(0!=c.state_&&(c.backChannelRequest_==a||CDc(c.forwardChannelRequestPool_,a)))if(!a.initialResponseDecoded_&&CDc(c.forwardChannelRequestPool_,a)&&3==c.state_){try{var d=c.wireCodec_.parser_.parse(b)}catch(la){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_)DDc(c),EDc(c);else break a;else c.channelDebug_.warning("We do not have a BackChannel established");FDc(c);AR(18)}else{c.lastPostResponseArrayId_=e[1];var g=c.lastPostResponseArrayId_-c.lastArrayId_;if(0<g){var h=e[2];c.channelDebug_.debug(h+" bytes (in "+g+" arrays) are outstanding on the BackChannel");37500>h&&c.enableStreaming_&&0==c.backChannelRetryCount_&&!c.deadBackChannelTimerId_&&(c.deadBackChannelTimerId_=bDc(Ap(c.onBackChannelDead_,c),6E3))}}if(1>=c.forwardChannelRequestPool_.getRequestCount()&&
c.forwardChannelFlushedCallback_){try{c.forwardChannelFlushedCallback_()}catch(la){}c.forwardChannelFlushedCallback_=void 0}}else c.channelDebug_.debug("Bad POST response data returned"),FR(c,11)}else if((a.initialResponseDecoded_||c.backChannelRequest_==a)&&DDc(c),!nj(b))for(e=c.wireCodec_.parser_.parse(b),g=0;g<e.length;g++){var l=e[g];c.lastArrayId_=l[0];l=l[1];if(2==c.state_)if("c"==l[0]){c.sid_=l[1];c.hostPrefix_=c.correctHostPrefix(l[2]);var q=l[3];null!=q&&(c.channelVersion_=q,c.channelDebug_.info("VER="+
c.channelVersion_));var v=l[4];null!=v&&(c.serverVersion_=v,c.channelDebug_.info("SVER="+c.serverVersion_));var y=l[5];null!=y&&"number"===typeof y&&0<y&&(h=1.5*y,c.backChannelRequestTimeoutMs_=h,c.channelDebug_.info("backChannelRequestTimeoutMs_="+h));h=c;var B=a.getXhr();if(B){var I=yra(B,"X-Client-Wire-Protocol");if(I){var N=h.forwardChannelRequestPool_;b=I;!N.requestPool_&&(ha(b,"spdy")||ha(b,"quic")||ha(b,"h2"))&&(N.maxSize_=N.maxPoolSizeConfigured_,N.requestPool_=new Set,N.request_&&(N.addRequest(N.request_),
N.request_=null))}if(h.httpSessionIdParam_){var Q=yra(B,"X-HTTP-Session-Id");Q?(h.httpSessionId_=Q,iC(h.forwardChannelUri_,h.httpSessionIdParam_,Q)):h.channelDebug_.warning("Missing X_HTTP_SESSION_ID in the handshake response")}}c.state_=3;c.handler_&&c.handler_.channelOpened();c.detectBufferingProxy_&&(c.handshakeRttMs_=Date.now()-a.requestStartTime_,c.channelDebug_.info("Handshake RTT: "+c.handshakeRttMs_+"ms"));h=c;b=a;var Z=d=h,Y=GDc(Z,Z.supportsCrossDomainXhrs_?h.hostPrefix_:null,h.path_);Z.channelDebug_.debug("GetBackChannelUri: "+
Y);d.backChannelUri_=Y;if(b.initialResponseDecoded_){h.channelDebug_.debug("Upgrade the handshake request to a backchannel.");HDc(h.forwardChannelRequestPool_,b);d=b;var ka=h.backChannelRequestTimeoutMs_;ka&&d.setTimeout(ka);d.watchDogTimerId_&&(qDc(d),mDc(d));h.backChannelRequest_=b}else IDc(h);0<c.outgoingMaps_.length&&JDc(c)}else"stop"!=l[0]&&"close"!=l[0]||FR(c,7);else 3==c.state_&&("stop"==l[0]||"close"==l[0]?"stop"==l[0]?FR(c,7):c.disconnect():"noop"!=l[0]&&c.handler_&&c.handler_.channelHandleArray(l),
c.backChannelRetryCount_=0)}YCc(4)}catch(la){}};var KDc=function(a,b){this.mapId=a;this.map=b;this.context=null};var LDc=function(a){this.maxPoolSizeConfigured_=a||10;ca.PerformanceNavigationTiming?(a=ca.performance.getEntriesByType("navigation"),a=0<a.length&&("hq"==a[0].nextHopProtocol||"h2"==a[0].nextHopProtocol)):a=!!(ca.chrome&&ca.chrome.loadTimes&&ca.chrome.loadTimes()&&ca.chrome.loadTimes().wasFetchedViaSpdy);this.maxSize_=a?this.maxPoolSizeConfigured_:1;this.requestPool_=null;1<this.maxSize_&&(this.requestPool_=new Set);this.request_=null;this.pendingMessages_=[]},MDc=function(a){return a.request_?!0:
a.requestPool_?a.requestPool_.size>=a.maxSize_:!1};LDc.prototype.getRequestCount=function(){return this.request_?1:this.requestPool_?this.requestPool_.size:0};var CDc=function(a,b){return a.request_?a.request_==b:a.requestPool_?a.requestPool_.has(b):!1};LDc.prototype.addRequest=function(a){this.requestPool_?this.requestPool_.add(a):this.request_=a};var HDc=function(a,b){a.request_&&a.request_==b?a.request_=null:a.requestPool_&&a.requestPool_.has(b)&&a.requestPool_.delete(b)};
LDc.prototype.cancel=function(){this.pendingMessages_=this.getPendingMessages();if(this.request_)this.request_.cancel(),this.request_=null;else if(this.requestPool_&&0!==this.requestPool_.size){for(var a=k(this.requestPool_.values()),b=a.next();!b.done;b=a.next())b.value.cancel();this.requestPool_.clear()}};
LDc.prototype.getPendingMessages=function(){if(null!=this.request_)return this.pendingMessages_.concat(this.request_.getPendingMessages());if(null!=this.requestPool_&&0!==this.requestPool_.size){for(var a=this.pendingMessages_,b=k(this.requestPool_.values()),c=b.next();!c.done;c=b.next())a=a.concat(c.value.getPendingMessages());return a}return ra(this.pendingMessages_)};var NDc=function(a,b){a.pendingMessages_=a.pendingMessages_.concat(b)};var PDc=function(a,b){var c=new BR;c.debug("TestLoadImage: loading "+a);if(ca.Image){var d=new Image;d.onload=Bp(ODc,c,d,"TestLoadImage: loaded",!0,b);d.onerror=Bp(ODc,c,d,"TestLoadImage: error",!1,b);d.onabort=Bp(ODc,c,d,"TestLoadImage: abort",!1,b);d.ontimeout=Bp(ODc,c,d,"TestLoadImage: timeout",!1,b);ca.setTimeout(function(){if(d.ontimeout)d.ontimeout()},1E4);d.src=a}else b(!1)},ODc=function(a,b,c,d,e){try{a.debug(c),b.onload=null,b.onerror=null,b.onabort=null,b.ontimeout=null,e(d)}catch(g){}};var QDc=function(){this.replacer_=void 0};QDc.prototype.stringify=function(a){return ca.JSON.stringify(a,this.replacer_)};QDc.prototype.parse=function(a){return ca.JSON.parse(a,void 0)};var RDc=function(){this.parser_=new QDc},SDc=function(a,b,c){var d=c||"";try{Obc(a,function(e,g){var h=e;ta(e)&&(h=P5b(e));b.push(d+g+"="+encodeURIComponent(h))})}catch(e){throw b.push(d+"type="+encodeURIComponent("_badmap")),e;}};var TDc=function(a,b,c){return c&&c.internalChannelParams?c.internalChannelParams[a]||b:b},GR=function(a){this.clientVersion_=22;this.serverVersion_=0;this.outgoingMaps_=[];this.channelDebug_=new BR;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_=TDc("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_=TDc("baseRetryDelayMs",5E3,a);this.retryDelaySeedMs_=TDc("retryDelaySeedMs",1E4,a);this.forwardChannelMaxRetries_=TDc("forwardChannelMaxRetries",2,a);this.forwardChannelRequestTimeoutMs_=
TDc("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 LDc(a&&a.concurrentRequestLimit);this.wireCodec_=new RDc;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};GR.prototype.channelVersion_=8;GR.prototype.state_=1;
GR.prototype.connect=function(a,b,c,d){this.channelDebug_.debug("connect()");AR(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=GDc(this,null,this.path_);this.channelDebug_.debug("GetForwardChannelUri: "+a);this.forwardChannelUri_=a;JDc(this)};
GR.prototype.disconnect=function(){this.channelDebug_.debug("disconnect()");UDc(this);if(3==this.state_){var a=this.nextRid_++,b=this.forwardChannelUri_.clone();iC(b,"SID",this.sid_);iC(b,"RID",a);iC(b,"TYPE","terminate");VDc(this,b);a=new DR(this,this.channelDebug_,this.sid_,a);a.type_=2;a.baseUri_=Ybc(b.clone());b=!1;if(ca.navigator&&ca.navigator.sendBeacon)try{b=ca.navigator.sendBeacon(a.baseUri_.toString(),"")}catch(c){}!b&&ca.Image&&((new Image).src=a.baseUri_,b=!0);b||(a.xmlHttp_=nDc(a.channel_,
null),a.xmlHttp_.send(a.baseUri_));a.requestStartTime_=Date.now();mDc(a)}WDc(this)};var EDc=function(a){a.backChannelRequest_&&(ADc(a),a.backChannelRequest_.cancel(),a.backChannelRequest_=null)},UDc=function(a){EDc(a);a.backChannelTimerId_&&(ca.clearTimeout(a.backChannelTimerId_),a.backChannelTimerId_=null);DDc(a);a.forwardChannelRequestPool_.cancel();a.forwardChannelTimerId_&&("number"===typeof a.forwardChannelTimerId_&&ca.clearTimeout(a.forwardChannelTimerId_),a.forwardChannelTimerId_=null)};
f=GR.prototype;f.setExtraHeaders=function(a){this.extraHeaders_=a};f.getHttpSessionId=function(){return this.httpSessionId_};f.setReadyStateChangeThrottle=function(a){this.readyStateChangeThrottleMs_=a};f.getHandler=function(){return this.handler_};f.isClosed=function(){return 0==this.state_};f.getState=function(){return this.state_};f.getLastStatusCode=function(){return this.errorResponseStatusCode_};
var JDc=function(a){MDc(a.forwardChannelRequestPool_)||a.forwardChannelTimerId_||(a.forwardChannelTimerId_=!0,Hz(a.onStartForwardChannelTimer_,a),a.forwardChannelRetryCount_=0)},YDc=function(a,b){if(a.forwardChannelRequestPool_.getRequestCount()>=a.forwardChannelRequestPool_.maxSize_-(a.forwardChannelTimerId_?1:0))return!1;if(a.forwardChannelTimerId_)return a.channelDebug_.debug("Use the retry request that is already scheduled."),a.outgoingMaps_=b.getPendingMessages().concat(a.outgoingMaps_),!0;if(1==
a.state_||2==a.state_||a.forwardChannelRetryCount_>=(a.failFast_?0:a.forwardChannelMaxRetries_))return!1;a.channelDebug_.debug("Going to retry POST");a.forwardChannelTimerId_=bDc(Ap(a.onStartForwardChannelTimer_,a,b),XDc(a,a.forwardChannelRetryCount_));a.forwardChannelRetryCount_++;return!0};
GR.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 DR(this,this.channelDebug_,"",a),c=this.extraHeaders_;this.initHeaders_&&(c?(c=Wb(c),Gda(c,this.initHeaders_)):c=this.initHeaders_);null!==this.httpHeadersOverwriteParam_||this.encodeInitMessageHeaders_||
(b.setExtraHeaders(c),c=null);var d;if(this.fastHandshake_)a:{for(var e=d=0;e<this.outgoingMaps_.length;e++){b:{var g=this.outgoingMaps_[e];if("__data__"in g.map&&(g=g.map.__data__,"string"===typeof g)){g=g.length;break b}g=void 0}if(void 0===g)break;d+=g;if(4096<d){d=e;break a}if(4096===d||e===this.outgoingMaps_.length-1){d=e+1;break a}}d=1E3}else d=1E3;d=ZDc(this,b,d);e=this.forwardChannelUri_.clone();iC(e,"RID",a);0<this.clientVersion_&&iC(e,"CVER",this.clientVersion_);this.httpSessionIdParam_&&
iC(e,"X-HTTP-Session-Id",this.httpSessionIdParam_);VDc(this,e);c&&(this.encodeInitMessageHeaders_?d="headers="+encodeURIComponent(String(acc(c)))+"&"+d:this.httpHeadersOverwriteParam_&&bcc(e,this.httpHeadersOverwriteParam_,c));this.forwardChannelRequestPool_.addRequest(b);this.blockingHandshake_&&iC(e,"TYPE","init");this.fastHandshake_?(iC(e,"$req",d),iC(e,"SID","null"),b.decodeInitialResponse_=!0,lDc(b,e,null)):lDc(b,e,d);this.state_=2}}else 3==this.state_&&(a?$Dc(this,a):0==this.outgoingMaps_.length?
this.channelDebug_.debug("startForwardChannel_ returned: nothing to send"):MDc(this.forwardChannelRequestPool_)||($Dc(this),this.channelDebug_.debug("startForwardChannel_ finished, sent request")))};
var $Dc=function(a,b){var c;b?c=b.getRequestId():c=a.nextRid_++;var d=a.forwardChannelUri_.clone();iC(d,"SID",a.sid_);iC(d,"RID",c);iC(d,"AID",a.lastArrayId_);VDc(a,d);a.httpHeadersOverwriteParam_&&a.extraHeaders_&&bcc(d,a.httpHeadersOverwriteParam_,a.extraHeaders_);c=new DR(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=ZDc(a,c,1E3);c.setTimeout(Math.round(.5*
a.forwardChannelRequestTimeoutMs_)+Math.round(.5*a.forwardChannelRequestTimeoutMs_*Math.random()));a.forwardChannelRequestPool_.addRequest(c);lDc(c,d,b)},VDc=function(a,b){a.extraParams_&&Tb(a.extraParams_,function(c,d){iC(b,d,c)});a.handler_&&Obc({},function(c,d){iC(b,d,c)})},ZDc=function(a,b,c){c=Math.min(a.outgoingMaps_.length,c);var d=a.handler_?Ap(a.handler_.badMapError,a.handler_,a):null;a:for(var e=a.outgoingMaps_,g=-1;;){var h=["count="+c];-1==g?0<c?(g=e[0].mapId,h.push("ofs="+g)):g=0:h.push("ofs="+
g);for(var l=!0,q=0;q<c;q++){var v=e[q].mapId,y=e[q].map;v-=g;if(0>v)g=Math.max(0,e[q].mapId-100),l=!1;else try{SDc(y,h,"req"+v+"_")}catch(B){d&&d(y)}}if(l){d=h.join("&");break a}}a=a.outgoingMaps_.splice(0,c);b.pendingMessages_=a;return d},IDc=function(a){a.backChannelRequest_||a.backChannelTimerId_||(a.backChannelAttemptId_=1,Hz(a.onStartBackChannelTimer_,a),a.backChannelRetryCount_=0)},FDc=function(a){if(a.backChannelRequest_||a.backChannelTimerId_||3<=a.backChannelRetryCount_)return!1;a.channelDebug_.debug("Going to retry GET");
a.backChannelAttemptId_++;a.backChannelTimerId_=bDc(Ap(a.onStartBackChannelTimer_,a),XDc(a,a.backChannelRetryCount_));a.backChannelRetryCount_++;return!0};
GR.prototype.onStartBackChannelTimer_=function(){this.backChannelTimerId_=null;aEc(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_=bDc(Ap(this.onBpDetectionTimer_,this),a)}};
GR.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;AR(10);EDc(this);aEc(this)}else this.channelDebug_.warning("Invalid operation.")};
var ADc=function(a){null!=a.bpDetectionTimerId_&&(a.channelDebug_.debug("Cancel the BP detection timer."),ca.clearTimeout(a.bpDetectionTimerId_),a.bpDetectionTimerId_=null)},aEc=function(a){a.channelDebug_.debug("Creating new HttpRequest");a.backChannelRequest_=new DR(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();iC(b,"RID","rpc");iC(b,"SID",a.sid_);iC(b,"AID",a.lastArrayId_);iC(b,"CI",a.enableStreaming_?"0":"1");!a.enableStreaming_&&a.longPollingTimeout_&&iC(b,"TO",a.longPollingTimeout_);iC(b,"TYPE","xmlhttp");VDc(a,b);a.httpHeadersOverwriteParam_&&a.extraHeaders_&&bcc(b,a.httpHeadersOverwriteParam_,a.extraHeaders_);a.backChannelRequestTimeoutMs_&&a.backChannelRequest_.setTimeout(a.backChannelRequestTimeoutMs_);var c=a.backChannelRequest_,d=a.hostPrefix_;c.type_=1;c.baseUri_=Ybc(b.clone());
c.postData_=null;c.decodeChunks_=!0;kDc(c,d);a.channelDebug_.debug("New Request created")};GR.prototype.correctHostPrefix=function(a){return this.handler_?this.handler_.correctHostPrefix(a):a};GR.prototype.onBackChannelDead_=function(){null!=this.deadBackChannelTimerId_&&(this.deadBackChannelTimerId_=null,EDc(this),FDc(this),AR(19))};
var DDc=function(a){null!=a.deadBackChannelTimerId_&&(ca.clearTimeout(a.deadBackChannelTimerId_),a.deadBackChannelTimerId_=null)},xDc=function(a,b){a.channelDebug_.debug("Request complete");var c=null;if(a.backChannelRequest_==b){DDc(a);ADc(a);a.backChannelRequest_=null;var d=2}else if(CDc(a.forwardChannelRequestPool_,b))c=b.getPendingMessages(),HDc(a.forwardChannelRequestPool_,b),d=1;else return;if(0!=a.state_)if(b.successful_)1==d?(aDc(b.postData_?b.postData_.length:0,Date.now()-b.requestStartTime_,
a.forwardChannelRetryCount_),JDc(a)):IDc(a);else{var e=b.getLastStatusCode(),g=b.getLastError();if(3==g||0==g&&0<e)a.channelDebug_.debug("Not retrying due to error type"),200<e&&(a.errorResponseStatusCode_=b.getLastStatusCode());else{a.channelDebug_.debug(function(){return"Maybe retrying, last error: "+hDc(g,a.errorResponseStatusCode_)});if(1==d&&YDc(a,b)||2==d&&FDc(a))return;a.channelDebug_.debug("Exceeded max number of retries")}c&&0<c.length&&NDc(a.forwardChannelRequestPool_,c);a.channelDebug_.debug("Error: HTTP request failed");
switch(g){case 1:FR(a,5);break;case 4:FR(a,10);break;case 3:FR(a,6);break;default:FR(a,2)}}},XDc=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},FR=function(a,b){a.channelDebug_.info("Error code "+b);if(2==b){var c=null;a.handler_&&(c=null);var d=Ap(a.testNetworkCallback_,a);c||(c=new Om("//www.google.com/images/cleardot.gif"),ca.location&&"http"==ca.location.protocol||eC(c,"https"),Ybc(c));
PDc(c.toString(),d)}else AR(2);a.onError_(b)};GR.prototype.testNetworkCallback_=function(a){a?(this.channelDebug_.info("Successfully pinged google.com"),AR(2)):(this.channelDebug_.info("Failed to ping google.com"),AR(1))};GR.prototype.onError_=function(a){this.channelDebug_.debug("HttpChannel: error - "+a);this.state_=0;this.handler_&&this.handler_.channelError(a);WDc(this);UDc(this)};
var WDc=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}),Eaa(a.nonAckedMapsAtChannelClose_,b),Eaa(a.nonAckedMapsAtChannelClose_,a.outgoingMaps_),a.forwardChannelRequestPool_.pendingMessages_.length=0,ra(a.outgoingMaps_),a.outgoingMaps_.length=0;a.handler_.channelClosed()}},
GDc=function(a,b,c){var d=kC(c);""!=d.getDomain()?(b&&d.setDomain(b+"."+d.getDomain()),fC(d,d.port_)):(d=ca.location,d=Zbc(d.protocol,null,b?b+"."+d.hostname:d.hostname,+d.port,c));b=a.httpSessionIdParam_;c=a.getHttpSessionId();b&&c&&iC(d,b,c);iC(d,"VER",a.channelVersion_);VDc(a,d);return d},nDc=function(a,b,c){if(b&&!a.supportsCrossDomainXhrs_)throw Error("ud");b=c&&a.usesFetchStreams_&&!a.xmlHttpFactory_?new aA(new bC({streamBinaryChunks:!0})):new aA(a.xmlHttpFactory_);b.withCredentials_=a.supportsCrossDomainXhrs_;
return b};GR.prototype.isActive=function(){return!!this.handler_&&this.handler_.isActive(this)};var bEc=function(){};f=bEc.prototype;f.channelOpened=function(){};f.channelHandleArray=function(){};f.channelError=function(){};f.channelClosed=function(){};f.isActive=function(){return!0};f.badMapError=function(){};f.correctHostPrefix=function(a){return a};var cEc=function(){if(Ep&&!(10<=Number(Ip)))throw Error("vd");};cEc.prototype.createWebChannel=function(a,b){return new HR(a,b)};
var HR=function(a,b){Im.call(this);this.channel_=new GR(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)&&!nj(a)&&(this.channel_.httpHeadersOverwriteParam_=a);this.supportsCrossDomainXhr_=b&&b.supportsCrossDomainXhr||!1;this.sendRawJson_=b&&b.sendRawJson||!1;(b=b&&b.httpSessionIdParam)&&!nj(b)&&(this.channel_.httpSessionIdParam_=b,zda(this.messageUrlParams_,b)&&Vb(this.messageUrlParams_,b));this.channelHandler_=new IR(this)};Cp(HR,Im);
HR.prototype.open=function(){this.channel_.handler_=this.channelHandler_;this.supportsCrossDomainXhr_&&(this.channel_.supportsCrossDomainXhrs_=!0);this.channel_.connect(this.url_,this.messageUrlParams_||void 0)};HR.prototype.close=function(){this.channel_.disconnect()};HR.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__=P5b(a),a=c);b.outgoingMaps_.push(new KDc(b.nextMapId_++,a));3==b.state_&&JDc(b)};
HR.prototype.disposeInternal=function(){this.channel_.handler_=null;delete this.channelHandler_;this.channel_.disconnect();delete this.channel_;HR.superClass_.disposeInternal.call(this)};var dEc=function(a){ECc.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)?Eda(b,this.metadataKey):b}else this.data=a};Cp(dEc,ECc);
var eEc=function(a){FCc.call(this);this.status=1;this.errorCode=a};Cp(eEc,FCc);var IR=function(a){this.channel_=a};Cp(IR,bEc);IR.prototype.channelOpened=function(){this.channel_.dispatchEvent("a")};IR.prototype.channelHandleArray=function(a){this.channel_.dispatchEvent(new dEc(a))};IR.prototype.channelError=function(a){this.channel_.dispatchEvent(new eEc(a))};IR.prototype.channelClosed=function(){this.channel_.dispatchEvent("b")};var ICc=function(a){this.channel_=a};
ICc.prototype.getHttpSessionId=function(){return this.channel_.getHttpSessionId()};ICc.prototype.commit=function(a){this.channel_.forwardChannelFlushedCallback_=a};ICc.prototype.getLastStatusCode=function(){return this.channel_.getLastStatusCode()};var fEc=function(){this.changeList=[]};fEc.prototype.add=function(a){this.changeList.push(a)};
var gEc=function(a,b){this.authMethod=b;this.jspbClient=new TCc(a)},hEc=function(a,b){var c,d,e,g,h;return Ld(function(l){if(1==l.nextAddress){c=new XBc;Oh(c,$Q,1,b);var q=l.yield,v=a.jspbClient,y=v.post;var B=a.authMethod;B={queryParams:B.getQueryParameters(),extraHeaders:B.getHeaders(),withCredentials:B.usesCredentialedRequests()};return q.call(l,y.call(v,"/punctual/v1/chooseServer",c,bR,B),2)}d=l.yieldResult;e=m(d,1);if(null==e)throw Error("wd");return l.return({gsessionid:e,affinitization:null!=
(g=d.getAffinitizationOrUndefined())?g:0,initialConnectionDelayMillis:null!=(h=Cb(d,3))?h:0})})},iEc=function(a,b,c){this.project=a;this.interestSet=b;this.knowledgeTimestamp=c;this.hasRecurred=!1;this.resyncMillis=Date.now()},JR=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 F.Subject;this.streamNumber=0;this.rawStatus=new F.Subject;this.status=new F.BehaviorSubject(new $B);this.skipBackoff=
new LCc;this.recentResyncs=[];this.hasConnected=!1;this.rawStatus.pipe(Wja(function(d){return 0===d.getCode()?Promise.resolve():new Promise(function(e){im(e,500)})})).subscribe(this.status);this.delayGenerator=new YNa;this.reconnectHint=b?b.pipe(ce(function(){return F.NEVER}),Uja(F.NEVER)):F.NEVER;jEc(this)},kEc=function(a,b,c,d){b=b.then(function(e){switch(e.domainType()){case 2:case 0:var g=a.firstPartyUri;break;case 1:g=a.thirdPartyUri;break;default:g=new Om}var h=g.clone().setPath("/punctual/multi-watch/channel"),
l=new GCc(h.toString(),e);return{serverChooser:new gEc(g,e),channelCreator:function(q,v,y){q=new HCc(q,v,l,function(B,I){return(new cEc).createWebChannel(B,I)},y);q.open();return q}}});return new JR(d,c,b)};JR.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 lEc=function(a){for(var b=0,c=Date.now();b<a.recentResyncs.length;)c>=a.recentResyncs[b].resyncMillis+6E4?a.recentResyncs.splice(b):++b},mEc=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 wm&&d instanceof wm?c.equals(d):!1;return d})};JR.prototype.onOpen=function(){var a=new $B;a.setCode(0);try{this.rawStatus.next(a)}catch(b){}};JR.prototype.onClose=function(){this.channelState=void 0;jEc(this)};
JR.prototype.onError=function(a,b){a=new $B;a.setCode(cOa(b));try{this.rawStatus.next(a)}catch(c){}a=k(this.causalStreams.values());for(b=a.next();!b.done;b=a.next())b.value.streamInitiationReason=2;a=k(this.nonCausalStreams.values());for(b=a.next();!b.done;b=a.next())b.value.streamInitiationReason=2};
var pEc=function(a,b,c){if(a.channelState){var d=nEc(c.project,c.interestSet);c instanceof oEc&&(n(d,1,c.knowledgeTimestamp.toString()),xi(d,8,c.knowledgeTimestampChosenByPunctual));n(d,9,c.streamInitiationReason);c.streamInitiationReason=0;c=new fR;var e=c.addAndReturnRequests();e.setStreamId(b.toString());sm(e,2,eR,d);e.setAffinitization(a.channelState.affinitization);a.channelState.channel.send(c)}},nEc=function(a,b){var c=(new $Q).setHeader(JCc);if(b instanceof wm){var d=new XQ;null!=a&&d.setProject(eOa(a));
d.setOwner(fOa(b));d.setPath(iOa(b));sm(c,2,aR,d)}else d=new YQ,null!=a&&d.setProject(eOa(a)),d.setOwner(fOa(b.root)),d.setPrefix(iOa(b.root)),c.setPrefix(d);return c},qEc=function(a,b){var c=new fR,d=c.addAndReturnRequests();d.setStreamId(b.toString());d.setClose(new cR);a.channelState&&a.channelState.channel.send(c);a.causalStreams.delete(b);a.limboStreams.delete(b);a.nonCausalStreams.delete(b)},jEc=function(a){var b=FBc(a.delayGenerator);dOa(b).pipe(uka(a.reconnectHint.pipe(je(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){rEc(a,c.serverChooser).then(function(d){im(function(){a.hasConnected=!0;sEc(a,c.channelCreator,d)},a.hasConnected?0:d.initialConnectionDelayMillis)},function(){jEc(a)})},function(c){var d=new $B;d.setCode(13);d.setMessage(c.toString());a.rawStatus.next(d)})})},rEc=function(a,b){var c,d,e,g,h,l;return Ld(function(q){if(1==q.nextAddress)return q.yield(tEc(a),2);c=q.yieldResult;
d=k(c);e=d.next().value;g=d.next().value;h=e;l=g;return q.return(hEc(b,nEc(h,l)))})},tEc=function(a){var b,c,d,e,g,h,l;return Ld(function(q){b=[a.causalStreams,a.limboStreams,a.nonCausalStreams];c=k(b);for(d=c.next();!d.done;d=c.next())for(e=d.value,g=k(e.values()),h=g.next();!h.done;)return l=h.value,q.return([l.project,l.interestSet]);return q.yield(qWb(sWb(a.newStreamSubject).pipe(je())),1)})},sEc=function(a,b,c){a.channelState={channel:b(function(g){for(var h=k(yg(g,sR,1)),l=h.next();!l.done;l=
h.next()){var q=l.value;if(l=q.getStreamId_legacyNullable())if(l=Number(l),q.hasClose()){a:{if(q=q.getClose())if(q=q.getStatus())break a;q=void 0}q&&a.handleClose(l,q)}else{var v=Fi(q,oR,2,tR);if(v)switch(rh(v,pR)){case 1:q=a;if(v=q.causalStreams.get(l)){try{v.observer.next(new DBc)}catch(Z){}q.causalStreams.delete(l);q.limboStreams.set(l,v.start())}break;case 3:a:{if(q=Fi(v,kR,3,pR))if(q=m(q,1)){var y=new EBc(kOa(q));break a}y=void 0}if(y&&(q=a,v=l,l=y,(y=q.limboStreams.get(v))?(y=y.advance(l.timestampMicros),
q.limboStreams.delete(v),q.nonCausalStreams.set(v,y),q=y):q=q.nonCausalStreams.get(v),q)){v=q;y=l.timestampMicros;y>v.knowledgeTimestamp&&(v.knowledgeTimestamp=y,v.knowledgeTimestampChosenByPunctual=!0);try{q.observer.next(l)}catch(Z){}}break;case 2:l=a.nonCausalStreams.get(l)||a.limboStreams.get(l);if(!l)break;q=l.interestSet;if(y=v.getChanges()){v=new fEc;y=k(yg(y,lR,1));for(var B=y.next();!B.done;B=y.next()){var I=B.value,N=W(I,om,6);B=I.getVersion_legacyNullable();if(N&&B){var Q=void 0;I=null==
(Q=I.getPayload())?void 0:mOa(Q);Q=null===I?void 0:I;(N=oOa(q,N))&&v.add(new CBc(N,kOa(B),Q))}}q=v}else q=void 0;if(q)for(q=k(q.changeList),v=q.next();!v.done;v=q.next()){v=v.value;v=new CBc(v.objectId,v.version,v.payload);try{l.observer.next(v)}catch(Z){}}break;case 5:if(q=a,l=q.causalStreams.get(l)||q.limboStreams.get(l)||q.nonCausalStreams.get(l)){l instanceof oEc&&(lEc(q),(v=mEc(q,l))?(v.hasRecurred=!0,v.knowledgeTimestamp=l.knowledgeTimestamp,v.resyncMillis=Date.now()):q.recentResyncs.push(new iEc(l.project,
l.interestSet,l.knowledgeTimestamp)));try{l.observer.complete()}catch(Z){}}}}}if(g.hasStatus())switch(g.getStatus().getCode_legacyNullable()){case 1:h=k(a.causalStreams.values());for(g=h.next();!g.done;g=h.next())g.value.streamInitiationReason=3;h=k(a.nonCausalStreams.values());for(g=h.next();!g.done;g=h.next())g.value.streamInitiationReason=3;a.channelState&&a.channelState.channel.close()}},a,c.gsessionid),affinitization:c.affinitization};b=[].concat(Array.from(a.causalStreams.entries())).concat(Array.from(a.nonCausalStreams.entries()));
b.sort(function(g,h){return g[0]-h[0]});b=k(b);for(c=b.next();!c.done;c=b.next()){var d=k(c.value);c=d.next().value;d=d.next().value;pEc(a,c,d)}b=k(a.limboStreams);for(c=b.next();!c.done;c=b.next())c=k(c.value),c.next(),c.next().value.observer.complete();a.limboStreams.clear();var e=a.channelState;im(function(){a.channelState===e&&a.delayGenerator.reset()},45E3)};
JR.prototype.watch=function(a,b){var c=this;b=void 0===b?{}:b;return new F.Observable(function(d){var e=++c.streamNumber,g,h=null!=(g=b.projectOverride)?g:c.defaultProject;d=new uEc(d,h,a);c.causalStreams.set(e,d);c.newStreamSubject.next({});pEc(c,e,d);return function(){qEc(c,e)}})};
JR.prototype.watchWithStartTime=function(a,b,c){var d=this;c=void 0===c?{}:c;return new F.Observable(function(e){var g=++d.streamNumber,h,l=null!=(h=c.projectOverride)?h:d.defaultProject,q=new oEc(e,l,a,b,!1);lEc(d);if((e=mEc(d,q))&&(e.hasRecurred||0>=b.compare(e.knowledgeTimestamp))){var v=!0;im(function(){v&&q.observer.complete()},6E4);return function(){v=!1}}d.nonCausalStreams.set(g,q);d.newStreamSubject.next({});pEc(d,g,q);return function(){qEc(d,g)}})};
var uEc=function(a,b,c){this.observer=a;this.project=b;this.interestSet=c;this.streamInitiationReason=1};uEc.prototype.start=function(){return new vEc(this.observer,this.project,this.interestSet)};var vEc=function(a,b,c){this.observer=a;this.project=b;this.interestSet=c};vEc.prototype.advance=function(a){return new oEc(this.observer,this.project,this.interestSet,a,!0)};
var oEc=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 wEc={firstPartyUri:new Om("https://signaler-pa.clients6.google.com"),thirdPartyUri:new Om("https://signaler-pa.googleapis.com")},xEc={firstPartyUri:new Om("https://punctual-dev.corp.google.com"),thirdPartyUri:new Om("https://signaler-staging.sandbox.google.com")},yEc=new Map(Object.entries({prod:wEc,ytprod:{firstPartyUri:new Om("https://signaler-pa.youtube.com"),thirdPartyUri:new Om("https://signaler-pa.googleapis.com")},dev:xEc}));var zEc=function(a){this.projectPath=a;this.authParams=new QCc};zEc.prototype.setApiKey=function(a){this.authParams.apiKey=a;return this};
zEc.prototype.build=function(){var a=bOa(this.authParams),b=this.projectPath;if(!b.startsWith("/punctual/"))throw Error("xd`"+b);var c=b.substring(10).split("/");if(2!==c.length)throw Error("yd`"+b);b=k(c);c=b.next().value;b=b.next().value;if(c.startsWith("custom:"))c=new Om(decodeURIComponent(c.substring(7))),c={firstPartyUri:c,thirdPartyUri:c};else{var d=yEc.get(c);if(!d)throw Error("zd`"+c);c=d}return kEc(c,a,this.reconnectHint,b)};var AEc={watch:function(){return(0,F.of)()},watchWithStartTime:function(){return(0,F.of)()},status:(0,F.of)()},KR=function(a){this.activeSession=a;if(iE(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 zEc(b)).setApiKey(a).build()}else this.punctualClient=AEc},BEc=function(a,b){return a.punctualClient.watch(jOa("new-comment-issue",b)).pipe(Zd(function(c){return c instanceof CBc}))};KR.\u0275fac=function(a){return new (a||KR)(w(rp))};KR.\u0275prov=nc({token:KR,factory:KR.\u0275fac,providedIn:"root"});var LR=function(a){this.punctualService=a;this.stream=new F.Subject;this.isPaused=!1;this.closeStream$=new F.Subject};LR.prototype.resume=function(){this.isPaused=!1};var CEc=function(a,b){a.issueId!==b&&(a.closeStream$.next(),a.stream=new F.Subject,a.issueId=b,a.resume(),a.watch(b).subscribe(a.stream));return a.stream};LR.prototype.watch=function(a){var b=this;return BEc(this.punctualService,a).pipe(Zd(function(){var c=!b.isPaused;b.resume();return c}),de(1E3),qe(this.closeStream$))};
LR.\u0275fac=function(a){return new (a||LR)(w(KR))};LR.\u0275prov=nc({token:LR,factory:LR.\u0275fac,providedIn:"root"});var DEc=function(a,b){this.displayText=a;this.value=b;this.enabled=!0;this.disabledReason=""};var MR=function(a,b,c){kE.call(this);this.window=b;this.scrolledOnScreenService=c;this.onAutoResize=new tu;this.el=a.nativeElement;this.cloneEl=this.el.cloneNode();this.cloneEl.removeAttribute("id");this.cloneEl.removeAttribute("name");this.cloneEl.removeAttribute("aria-label");this.cloneEl.setAttribute("aria-hidden","");this.cloneEl.removeAttribute("data-stable");this.cloneEl.setAttribute("data-cloned-for-auto-resize","");this.cloneEl.style.height="auto";this.cloneEl.style.visibility="hidden";this.cloneEl.style.position=
"absolute";this.cloneEl.style.left="0";this.cloneEl.style.top="0";this.cloneEl.style.zIndex="-9999";this.cloneEl.style.overflowY="hidden";this.window.document.body.appendChild(this.cloneEl)};V(MR,kE);MR.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.scrolledOnScreenService.getObservable(this.el,!0).subscribe(function(b){b&&EEc(a,0)}));this.autoResize&&this.subscriptions.add(this.autoResize.subscribe(function(){EEc(a,2)}))};MR.prototype.onInput=function(){EEc(this,1)};
var EEc=function(a,b){for(var c=a.window.getComputedStyle(a.el),d=k("width max-height min-height font-family text-decoration letter-spacing".split(" ")),e=d.next();!e.done;e=d.next())e=e.value,a.cloneEl.style.setProperty(e,c.getPropertyValue(e));a.cloneEl.value=a.el.value;d=a.window.getComputedStyle(a.cloneEl);c=a.cloneEl;c=Gl(d.getPropertyValue("border-top-width"))+Gl(d.getPropertyValue("padding-top"))+c.scrollHeight+Gl(d.getPropertyValue("padding-bottom"))+Gl(d.getPropertyValue("border-bottom-width"))+
24;Number.isNaN(c)||(e=Gl(d.getPropertyValue("max-height")),d=Gl(d.getPropertyValue("min-height")),!Number.isNaN(e)&&c>e&&(c=e),!Number.isNaN(d)&&c<d&&(c=d),d=c+"px",a.el.style.height!==d&&(a.el.style.height=d,a.onAutoResize.emit({newHeight:c,source:b})))};MR.prototype.ngOnDestroy=function(){this.cloneEl.parentElement&&this.cloneEl.parentElement.removeChild(this.cloneEl);kE.prototype.ngOnDestroy.call(this)};MR.\u0275fac=function(a){return new (a||MR)(D(fd),D(jE),D(xO))};
MR.\u0275dir=Cc({type:MR,selectors:[["textarea","autoResize",""]],hostBindings:function(a,b){a&1&&O("input",function(){return b.onInput()})},inputs:{autoResize:"autoResize"},outputs:{onAutoResize:"onAutoResize"},features:[xe]});var NR=function(a){this.$log=a;this.accessPolicyPrincipalToString=Qsa;this.stringToAccessPolicyPrincipal=Rsa},OR=function(){return{admins:[],editors:[],appenders:[],readers:[],restrictedReaders:[],restrictedPlusReaders:[],inheritedAdmins:[],implicitAccess:null}},PR=function(a){return{admins:Bm(a.admins),editors:Bm(a.editors),appenders:Bm(a.appenders),readers:Bm(a.readers),restrictedReaders:Bm(a.restrictedReaders),restrictedPlusReaders:Bm(a.restrictedPlusReaders),inheritedAdmins:Bm(a.inheritedAdmins),
implicitAccess:a.implicitAccess||null}},QR=function(a){return{admins:Cm(a.admins),editors:Cm(a.editors),appenders:Cm(a.appenders),readers:Cm(a.readers),restrictedReaders:Cm(a.restrictedReaders),restrictedPlusReaders:Cm(a.restrictedPlusReaders),implicitAccess:a.implicitAccess}};NR.\u0275fac=function(a){return new (a||NR)(w(YF))};NR.\u0275prov=nc({token:NR,factory:NR.\u0275fac,providedIn:"root"});
var FEc=new RegExp("ALIAS:("+Object.values({GOOGLERS_UNRESTRICTED:"googlers_unrestricted",GOOGLE_DOMAIN:"google_domain",PUBLIC_NON_GOOGLE:"public_non_google",PUBLIC:"public"}).join("|")+")");var RR=function(a){this.activeSession=a;this.createIframe=CUb(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})},GEc=function(a){var b,c;Ld(function(d){if(1==d.nextAddress){if(a.activeSession.isAnonymous()||!a.activeSession.getPassiveLoginIframeUrl())return d.return();Md(d,2);b=a.createIframe();return d.yield(new Promise(function(e,
g){var h=function(){try{var q,v,y;if(null==(q=b.contentWindow)?0:null==(v=q.location)?0:null==(y=v.href)?0:y.includes("/action/yes"))b.removeEventListener("load",h),clearTimeout(l),e()}catch(B){}},l=setTimeout(function(){b.removeEventListener("load",h);g(Error("Bd"))},5E3);b.addEventListener("load",h);Hra(b,a.activeSession.getPassiveLoginIframeUrl())}),4)}if(2!=d.nextAddress)return xp(d,0);c=Pd(d);console.log("first party auth passive login "+c);Qd(d)})};RR.\u0275fac=function(a){return new (a||RR)(w(rp))};
RR.\u0275prov=nc({token:RR,factory:RR.\u0275fac,providedIn:"root"});var SR=function(a){r.call(this,a)};V(SR,r);f=SR.prototype;f.getSocialApplication=function(){return Fh(this,3,0)};f.getSocialApplicationOrUndefined=function(){return Qo(this,3)};f.getAffinityType=function(){return mh(this,12,"CONTACT_STORE_DEFAULT_AFFINITY")};f.setAffinityType=function(a){return n(this,12,a)};f.toObject=function(){return HEc(this)};
var HEc=function(a){if(null!=a)return t(a),{gapiApiKey:p(m(a,1)),gapiApiKeyTest:p(m(a,2)),socialApplication:p(m(a,3)),papiClientId:p(m(a,4)),papiClientName:p(m(a,5)),papiClientVersion:p(m(a,6)),requestTimeoutMillis:Ag(a,8,3E4),includeDomainAddressBook:p(Db(a,10)),includeDomainGroups:p(Db(a,11)),affinityType:mh(a,12,"CONTACT_STORE_DEFAULT_AFFINITY"),autocompletePageSize:Ag(a,13,15),rankedTargetsPageSize:Ag(a,14,500),peopleContainerMask:mh(a,15,"CONTACT,PROFILE,DOMAIN_CONTACT,DOMAIN_PROFILE,AFFINITY"),
peopleFieldMask:mh(a,16,"person.name,person.photo,person.email,person.phone,person.email.certificate,person.metadata"),includeOnlyNames:vi(a,17,!1)}},IEc=[SR,1,Cq,2,Cq,3,Nq,4,Cq,5,Cq,6,Cq,8,wq,10,zq,11,zq,12,Cq,13,wq,14,wq,15,Cq,16,Cq,17,zq];SR.prototype.serializeBinary=u(IEc);var TR=function(a){r.call(this,a)};V(TR,r);TR.prototype.getExperimentIdsList=function(){return xg(this,4)};TR.prototype.setExperimentIdsList=function(a){return bb(this,4,a,Sa)};TR.prototype.getExperimentIds=function(){return Xp(this,4)};TR.prototype.setExperimentIds=function(a){fb(this,4,a,void 0,xg)};TR.repeatedFields_=[4];TR.prototype.toObject=function(){return JEc(this)};
var JEc=function(a){if(null!=a)return t(a),{enablePapiClearcutLogging:vi(a,1,!0),enableOzClearcutLogging:vi(a,2,!0),enableApiClearcutLogging:vi(a,3,!0),experimentIdsList:p(xg(a,4)),enablePapi:vi(a,5,!0),enableCacheFiltering:vi(a,6,!0)}},KEc=[TR,1,zq,2,zq,3,zq,4,xq,5,zq,6,zq];TR.prototype.serializeBinary=u(KEc);var LEc=function(a){r.call(this,a)};V(LEc,r);f=LEc.prototype;f.getClientInfo=function(){return W(this,SR,1)};f.getMutableClientInfo=function(){return Rp(this,SR,1)};f.setClientInfo=function(a){Oh(this,SR,1,a)};f.getExperiments=function(){return W(this,TR,2)};f.setExperiments=function(a){Oh(this,TR,2,a)};f.hasExperiments=function(){return qi(this,TR,2)};f.toObject=function(){if(null!=this){t(this);var a={clientInfo:HEc(this.getClientInfo()),experiments:JEc(this.getExperiments())}}else a=void 0;return a};
f.serializeBinary=u([LEc,1,X,IEc,2,X,KEc]);var MEc=uda(LEc);var NEc;var OEc=function(a){r.call(this,a)};V(OEc,r);f=OEc.prototype;f.getDelegatorId=function(){return mh(this,2)};f.getEnvType=function(){return Fh(this,5,0)};f.getEnvType_legacyNullable=function(){return m(this,5)};f.setEnvType=function(a){n(this,5,a)};f.getCacheSize=function(){return Ag(this,7)};f.setCacheSize=function(a){n(this,7,a)};f.hasCacheSize=function(){return qj(this,7)};
f.toObject=function(){if(null!=this){t(this);var a={delegatorId:p(m(this,2)),envType:p(m(this,5)),releaseEnvType:p(m(this,6)),cacheSize:p(Cb(this,7))}}else a=void 0;return a};f.serializeBinary=u([OEc,2,Cq,5,Nq,6,Nq,7,wq]);var rOa=/^https?:\/\/(?:\w|[\-\.])+\.google\.(?:\w|[\-:\.])+(?:\/[^\?#]*)?\/u\/(\d)\//,pOa=/([#].*?&|[#])authuser=([^&#]*)\b/,qOa=/([?][^#]*?&|[?])authuser=([^&#]*)\b/;var UR=function(){this.config_=Wa(NEc||(NEc=MEc('[["AIzaSyBuUpn1wi2-0JpM3S-tq2csYx0z2_m_pqc","ANVavNLWozk6oXyP9qguyx4QAuef5j_qQw4Y3Rw",740,"MINIMAL_DOMAIN","BUGANIZER",null,null,null,null,true,true],[]]')));this.userInfo_=new OEc;this.onAuthError_=this.gapiClientThenable_=null};UR.prototype.getClientInfo=function(){return this.config_.getClientInfo()};UR.prototype.getExperiments=function(){return this.config_.getExperiments()};UR.prototype.getUserInfo=function(){return this.userInfo_};
var PEc=function(a){a.gapiClientThenable_||(a.gapiClientThenable_=wOa(10,5E3).then(function(b){return b.client}));return a.gapiClientThenable_};UR.prototype.getAuthErrorHandler=function(){return this.onAuthError_};UR.prototype.setAuthErrorHandler=function(a){this.onAuthError_=a};var QEc=function(){};var REc=[];REc.push=function(){throw Error("Cd");};var VR={cancel:function(){},isPending:function(){return!1}};var SEc=function(a){this.response_=a||function(){};this.timer_=im(this.onTimer_,0,this);this.addressBookId_=""};f=SEc.prototype;f.setResponse=function(a){this.response_=a};f.setAddressBookId=function(a){this.addressBookId_=a};f.getAddressBookId=function(){return this.addressBookId_};f.cancel=function(){jm(this.timer_);this.timer_=null};f.isPending=function(){return!!this.timer_};f.onTimer_=function(){this.timer_=null;this.response_()};f.setQuery=function(a){this.query_=a};f.getQuery=function(){return this.query_};var TEc=new Map([["personal",2],["domain",4],["pcab",3]]);var Gm=function(a){r.call(this,a)};V(Gm,r);f=Gm.prototype;f.getEventType=function(){return Fh(this,1,0)};f.setEventType=function(a){return n(this,1,a)};f.getApiType=function(){return Fh(this,2,0)};f.setApiType=function(a){return n(this,2,a)};f.getCacheStatus=function(){return Fh(this,3,0)};f.setCacheStatus=function(a){return n(this,3,a)};f.getAddressBook=function(){return Fh(this,4,0)};f.setAddressBook=function(a){return n(this,4,a)};f.getRpcType=function(){return Fh(this,5,0)};
f.setRpcType=function(a){return n(this,5,a)};f.getLookupType=function(){return Fh(this,6,0)};f.setLookupType=function(a){return n(this,6,a)};f.getToken=function(){return mh(this,7,"")};f.setToken=function(a){return n(this,7,a)};
f.toObject=function(){if(null!=this){t(this);var a={eventType:Fh(this,1,0),apiType:Fh(this,2,0),cacheStatus:Fh(this,3,0),addressBook:Fh(this,4,0),rpcType:Fh(this,5,0),lookupType:Fh(this,6,0),token:mh(this,7,""),isCountRecorded:vi(this,8,!1),isStatusRecorded:vi(this,9,!1)}}else a=void 0;return a};f.serializeBinary=u([Gm,1,Nq,2,Nq,3,Nq,4,Nq,5,Nq,6,Nq,7,Cq,8,zq,9,zq]);var WR=function(a){r.call(this,a)};V(WR,r);f=WR.prototype;f.setDevice=function(a){return n(this,1,a)};f.getApplication=function(){return Fh(this,2,0)};f.setApplication=function(a){return n(this,2,a)};f.getApplicationOrUndefined=function(){return Qo(this,2)};f.toObject=function(){return UEc(this)};var UEc=function(a){if(null!=a)return t(a),{device:p(m(a,1)),application:p(m(a,2)),platform:p(m(a,3)),trafficType:p(m(a,4))}},VEc=[WR,1,Nq,2,Nq,3,Nq,4,Nq];WR.prototype.serializeBinary=u(VEc);var YR=function(a){r.call(this,a)};V(YR,r);f=YR.prototype;f.setEventSource=function(a){n(this,2,a)};f.getEventSourceOrUndefined=function(){return Qo(this,2)};f.getSocialClient=function(){return W(this,WR,3)};f.setSocialClient=function(a){return Oh(this,WR,3,a)};f.setVersionName=function(a){return n(this,5,a)};f.getBaselineCl=function(){return m(this,7)};f.setBaselineCl=function(a){return n(this,7,a)};f.hasBaselineCl=function(){return Aj(this,7)};
f.getBaselineClOrUndefined=function(){return dq(this,7)};f.setClientAgent=function(a){return n(this,9,a)};f.getClientAgentOrUndefined=function(){return Qo(this,9)};f.getPeoplekitEntryPoint=function(){return m(this,11)};f.setPeoplekitEntryPoint=function(a){return n(this,11,a)};f.getPeoplekitEntryPointOrUndefined=function(){return Qo(this,11)};f.setEnvironment=function(a){return n(this,13,a)};f.getEnvironmentOrUndefined=function(){return Qo(this,13)};YR.repeatedFields_=[6];YR.prototype.toObject=function(){return WEc(this)};
var WEc=function(a){if(null!=a)return t(a),{eventSource:p(m(a,2)),socialClient:UEc(a.getSocialClient()),versionName:p(m(a,5)),applicationIdentifies:p(m(a,10)),baselineCl:p(m(a,7)),enabledExperimentsFlagsList:p(Cg(a,6)),sendkitEntryPoint:p(Cb(a,8)),clientAgent:p(m(a,9)),peoplekitEntryPoint:p(m(a,11)),environment:p(m(a,13))}},XEc=[YR,2,Nq,3,X,VEc,5,Cq,10,Cq,7,pq,6,Dq,8,wq,9,Nq,11,Nq,13,Nq];YR.prototype.serializeBinary=u(XEc);var ZR=function(a){r.call(this,a)};V(ZR,r);f=ZR.prototype;f.getApiType=function(){return Fh(this,1,0)};f.setApiType=function(a){return n(this,1,a)};f.getItemCount=function(){return Ag(this,2)};f.setItemCount=function(a){return n(this,2,a)};f.hasItemCount=function(){return qj(this,2)};f.toObject=function(){return YEc(this)};var YEc=function(a){if(null!=a)return t(a),{apiType:p(m(a,1)),itemCount:p(Cb(a,2))}},ZEc=[ZR,1,Nq,2,wq];ZR.prototype.serializeBinary=u(ZEc);var $R=function(a){r.call(this,a)};V($R,r);f=$R.prototype;f.getApiType=function(){return Fh(this,1,0)};f.setApiType=function(a){return n(this,1,a)};f.getItemCount=function(){return Ag(this,2)};f.setItemCount=function(a){return n(this,2,a)};f.hasItemCount=function(){return qj(this,2)};f.getStatus=function(){return Fh(this,4,2)};f.setStatus=function(a){return n(this,4,a)};f.hasStatus=function(){return Vh(this,4)};f.setTotalUsec=function(a){return n(this,5,a)};
f.setBlockedUsec=function(a){return n(this,6,a)};f.setNetworkUsec=function(a){n(this,7,a)};f.getCacheStatus=function(){return Fh(this,8,0)};f.setCacheStatus=function(a){return n(this,8,a)};f.getAddressBook=function(){return Fh(this,9,0)};f.setAddressBook=function(a){return n(this,9,a)};f.toObject=function(){return $Ec(this)};
var $Ec=function(a){if(null!=a)return t(a),{apiType:p(m(a,1)),itemCount:p(Cb(a,2)),notFoundCount:p(Cb(a,3)),status:Fh(a,4,2),totalUsec:p(m(a,5)),blockedUsec:p(m(a,6)),networkUsec:p(m(a,7)),cacheStatus:p(m(a,8)),addressBook:p(m(a,9))}},aFc=[$R,1,Nq,2,wq,3,wq,4,Nq,5,pq,6,pq,7,pq,8,Nq,9,Nq];$R.prototype.serializeBinary=u(aFc);var aS=function(a){r.call(this,a)};V(aS,r);f=aS.prototype;f.getStatus=function(){return Fh(this,1,2)};f.setStatus=function(a){return n(this,1,a)};f.hasStatus=function(){return Vh(this,1)};f.setTotalUsec=function(a){return n(this,2,a)};f.toObject=function(){return bFc(this)};var bFc=function(a){if(null!=a)return t(a),{status:Fh(a,1,2),totalUsec:p(m(a,2)),scriptLoadUsec:p(m(a,3)),papiLoadUsec:p(m(a,4)),transportType:p(m(a,5))}},cFc=[aS,1,Nq,2,pq,3,pq,4,pq,5,Nq];aS.prototype.serializeBinary=u(cFc);var bS=function(a){r.call(this,a)};V(bS,r);f=bS.prototype;f.getRpcType=function(){return Fh(this,1,0)};f.setRpcType=function(a){return n(this,1,a)};f.getLookupType=function(){return Fh(this,2,0)};f.setLookupType=function(a){return n(this,2,a)};f.toObject=function(){return dFc(this)};var dFc=function(a){if(null!=a)return t(a),{rpcType:p(m(a,1)),lookupType:p(m(a,2))}},eFc=[bS,1,Nq,2,Nq];bS.prototype.serializeBinary=u(eFc);var cS=function(a){r.call(this,a)};V(cS,r);f=cS.prototype;f.getRpcType=function(){return Fh(this,1,0)};f.setRpcType=function(a){return n(this,1,a)};f.getLookupType=function(){return Fh(this,2,0)};f.setLookupType=function(a){return n(this,2,a)};f.getStatus=function(){return Fh(this,3,2)};f.setStatus=function(a){return n(this,3,a)};f.hasStatus=function(){return Vh(this,3)};f.setTotalUsec=function(a){return n(this,4,a)};f.setBlockedUsec=function(a){return n(this,5,a)};
f.setNetworkUsec=function(a){n(this,6,a)};f.toObject=function(){return fFc(this)};var fFc=function(a){if(null!=a)return t(a),{rpcType:p(m(a,1)),lookupType:p(m(a,2)),status:Fh(a,3,2),totalUsec:p(m(a,4)),blockedUsec:p(m(a,5)),networkUsec:p(m(a,6))}},gFc=[cS,1,Nq,2,Nq,3,Nq,4,pq,5,pq,6,pq];cS.prototype.serializeBinary=u(gFc);var dS=function(a){r.call(this,a)};V(dS,r);f=dS.prototype;f.getEnvType=function(){return Fh(this,1,0)};f.getEnvType_legacyNullable=function(){return m(this,1)};f.setEnvType=function(a){n(this,1,a)};f.getCacheSize=function(){return Ag(this,2)};f.setCacheSize=function(a){n(this,2,a)};f.hasCacheSize=function(){return qj(this,2)};f.toObject=function(){return hFc(this)};
var hFc=function(a){if(null!=a)return t(a),{envType:p(m(a,1)),cacheSize:p(Cb(a,2)),cacheSizeBucket:p(Cb(a,3)),gmailDelegation:p(Db(a,4))}},iFc=[dS,1,Nq,2,wq,3,wq,4,zq];dS.prototype.serializeBinary=u(iFc);var eS=function(a){r.call(this,a)};V(eS,r);f=eS.prototype;f.getClientInterface=function(){return W(this,YR,1)};f.setClientInterface=function(a){return Oh(this,YR,1,a)};f.getSource=function(){return Fh(this,2,0)};f.setSource=function(a){return n(this,2,a)};f.hasSource=function(){return Vh(this,2)};f.getSourceOrUndefined=function(){return Qo(this,2)};f.getEventType=function(){return Fh(this,3,0)};f.getEventType_legacyNullable=function(){return m(this,3)};f.setEventType=function(a){return n(this,3,a)};
f.getRpcRequest=function(){return Fi(this,bS,5,fS)};f.setRpcRequest=function(a){return sm(this,5,fS,a)};f.getRpcResponse=function(){return Fi(this,cS,6,fS)};f.setRpcResponse=function(a){return sm(this,6,fS,a)};f.getApiCall=function(){return Fi(this,ZR,7,fS)};f.setApiCall=function(a){return sm(this,7,fS,a)};f.getApiResult=function(){return Fi(this,$R,8,fS)};f.setApiResult=function(a){return sm(this,8,fS,a)};f.getUserInfo=function(){return W(this,dS,9)};
f.setUserInfo=function(a){return Oh(this,dS,9,a)};f.hasUserInfo=function(){return qi(this,dS,9)};var fS=[4,5,6,7,8];eS.prototype.toObject=function(){if(null!=this){t(this);var a={clientInterface:WEc(this.getClientInterface()),source:p(m(this,2)),eventType:p(m(this,3)),gapiInit:bFc(Fi(this,aS,4,fS)),rpcRequest:dFc(this.getRpcRequest()),rpcResponse:fFc(this.getRpcResponse()),apiCall:YEc(this.getApiCall()),apiResult:$Ec(this.getApiResult()),userInfo:hFc(this.getUserInfo())}}else a=void 0;return a};
eS.prototype.serializeBinary=u([eS,1,X,XEc,2,Nq,3,Nq,4,Jq,cFc,fS,5,Jq,eFc,fS,6,Jq,gFc,fS,7,Jq,ZEc,fS,8,Jq,aFc,fS,9,X,iFc]);var jFc=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]]),kFc=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]]),lFc=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]]),mFc=function(a){return kFc.has(a)?kFc.get(a):1},nFc=function(a){return lFc.has(a)?lFc.get(a):2};var oFc=function(a){this.request_=a;this.errorCode_=0},pFc=function(a,b){b=new oFc(b);b.errorCode_=a;b.errorMessage_="A server error has occurred.";return b};f=oFc.prototype;f.hasChanges=function(){return this.mutateResponse_&&this.mutateResponse_.getOperation()?this.mutateResponse_.getOperation().hasChanges():!1};f.getError=function(){return this.errorCode_};f.getErrorCode=function(){return this.errorCode_};f.getRequest=function(){return this.request_};f.getQuery=function(){return this.request_.getQuery()};
f.getConfiguration=function(){return this.queryResponse_.getConfiguration()};f.getUserData=function(){return this.queryResponse_?this.queryResponse_.getUserData():null};var gS=function(a){this.map_=new TG;this.size=0;a&&this.addAll(a)},qFc=function(a){var b=typeof a;return"object"==b&&a||"function"==b?"o"+ua(a):b.charAt(0)+a};f=gS.prototype;f.getCount=function(){return this.map_.size};f.add=function(a){this.map_.set(qFc(a),a);this.setSizeInternal_(this.map_.size)};f.addAll=function(a){a=dC(a);for(var b=a.length,c=0;c<b;c++)this.add(a[c]);this.setSizeInternal_(this.map_.size)};f.removeAll=function(a){a=dC(a);for(var b=a.length,c=0;c<b;c++)this.remove(a[c]);this.setSizeInternal_(this.map_.size)};
f.delete=function(a){a=this.map_.remove(qFc(a));this.setSizeInternal_(this.map_.size);return a};f.remove=function(a){return this.delete(a)};f.clear=function(){this.map_.clear();this.setSizeInternal_(0)};f.isEmpty=function(){return 0===this.map_.size};f.has=function(a){return this.map_.containsKey(qFc(a))};f.contains=function(a){return this.map_.containsKey(qFc(a))};f.intersection=function(a){var b=new gS;a=dC(a);for(var c=0;c<a.length;c++){var d=a[c];this.contains(d)&&b.add(d)}return b};
f.getValues=function(){return this.map_.getValues()};f.values=function(){return this.map_.values()};f.clone=function(){return new gS(this)};f.equals=function(a){return this.getCount()==Mbc(a)&&rFc(this,a)};
var rFc=function(a,b){var c=Mbc(b);if(a.getCount()>c)return!1;!(b instanceof gS)&&5<c&&(b=new gS(b));return Pbc(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(sa(e)||"string"===typeof e)d=pa(e,d);else a:{for(var g in e)if(e[g]==d){d=!0;break a}d=!1}return d})};gS.prototype.__iterator__=function(){return this.map_.__iterator__(!1)};gS.prototype[Symbol.iterator]=function(){return this.values()};
gS.prototype.setSizeInternal_=function(a){this.size=a};var hS=function(a,b,c){this.fields_=a;this.name_=b;this.contains_=new gS(c);this.extraFields_=[]};hS.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 sFc=function(a){a.fieldSet_||(a.fieldSet_=new gS(a.fields_));return a.fieldSet_};
hS.prototype.contains=function(a){if(this.contains_.contains(a))return!0;this.doesntContain_||(this.doesntContain_=new gS);if(this.doesntContain_.has(a))return!1;var b=sFc(this),c=sFc(a);if(Pbc(c,b.contains,b))return this.contains_.add(a),!0;this.doesntContain_.add(a);return!1};var tFc=new hS(["6","12"],"1"),uFc=new hS("2 1f 1c 12 16 13 14 1d 22 1b 20".split(" "),"4",[tFc]);new hS("6 12 16 17 18 1a".split(" "),"3",[tFc]);
new hS("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",[tFc,uFc]);new hS([]);var vFc={token:"",addressBookId:"personal",matchType:1,includeContacts:!0,includeGroups:!0,isAutoCompleteMode:!0,delayMillis:5E3,maxMatches:-1,maxTries:10,name:"Load All Contacts"};var wFc=function(a,b,c){ng.call(this);this.scheduler=a;this.runFunction_=b;this.group=c||a.createGroup()};V(wFc,ng);f=wFc.prototype;f.getGroup=function(){return this.group};f.setGroup=function(a){this.group=a};f.isSuccess=function(){return this.getState().isSuccess()};f.setSuccess=function(a){this.getState().setSuccess(a)};f.getMaxNumRetries=function(){this.getState().getMaxNumRetries()};f.setMaxNumRetries=function(a){this.getState().setMaxNumRetries(a)};f.reset=function(){this.getState().reset()};
f.getNumTriesLeft=function(){return this.getState().getNumTriesLeft()};f.setRunState=function(a){this.getState().setRunState(a)};f.setRunTime=function(a){this.getState().setRunTime(a)};f.setRunTimerId=function(a){this.getState().setRunTimerId(a)};f.incNumSuccesses=function(){this.getState().incNumSuccesses()};f.incNumFailures=function(){this.getState().incNumFailures()};f.incNumExecutions=function(){this.getState().incNumExecutions()};f.decNumTriesLeft=function(){this.getState().decNumTriesLeft()};
f.isPending=function(){return this.getState().isPending()};f.cancel=function(){this.scheduler.cancel(this.getState())};f.getState=function(){return this.scheduler.getState(this.group)};f.run=function(){this.incNumExecutions();this.runFunction_(this)};f.isDone=function(a){return this.scheduler.isDone(this,a)};var xFc=function(a){ng.call(this);this.scheduler=a;this.maxNumRetries_=0;this.reset()};V(xFc,ng);f=xFc.prototype;f.reset=function(){this.numTriesLeft=this.maxNumRetries_;this.success=!1;this.runState=1;this.runTimerId=this.runTime=-1};f.isSuccess=function(){return this.success};f.setSuccess=function(a){this.success=a};f.getMaxNumRetries=function(){return this.maxNumRetries_};f.setRunState=function(a){this.runState=a};f.setRunTime=function(a){this.runTime=a};
f.setRunTimerId=function(a){this.runTimerId=a};f.setMaxNumRetries=function(a){this.maxNumRetries_=a};f.getNumTriesLeft=function(){return this.numTriesLeft};f.decNumTriesLeft=function(){--this.numTriesLeft};f.incNumSuccesses=function(){};f.incNumFailures=function(){};f.incNumExecutions=function(){};f.isPending=function(){return!(4==this.runState||5==this.runState)};f.disposeInternal=function(){ng.prototype.disposeInternal.call(this);this.scheduler=null};var yFc=function(){ng.call(this);this.states={};this.currentGroup=1};V(yFc,ng);yFc.prototype.schedule=function(a,b,c,d){b=b||0;var e=Date.now()+b,g=this.states[a.getGroup()];g||(g=new xFc(this),this.states[a.getGroup()]=g);g.setMaxNumRetries(Math.max(c||1,g.getMaxNumRetries()));switch(g.runState){case 1:case 5:g.reset();zFc(a,b,e);break;case 6:zFc(a,b,e);break;case 4:d&&(g.reset(),zFc(a,b,e));break;case 2:e<g.runTime?(this.cancel(g),g.reset(),zFc(a,b,e)):g.numTriesLeft=g.maxNumRetries_}};
var zFc=function(a,b,c){0==b?(a.setRunState(3),a.run()):(a.setRunState(2),a.setRunTime(c),a.setRunTimerId(im(a.run,b,a)))};f=yFc.prototype;f.getState=function(a){return this.states[a]};f.createGroup=function(){return""+this.currentGroup++};f.disposeInternal=function(){ng.prototype.disposeInternal.call(this);for(var a in this.states){var b=this.states[a];this.cancel(b);mg(b)}this.states={}};f.cancel=function(a){2==a.runState&&jm(a.runTimerId)};
f.isDone=function(a,b){b?a.incNumSuccesses():a.incNumFailures();a.setSuccess(b);a.decNumTriesLeft();if(!b&&0<a.getNumTriesLeft())return a.setRunState(6),this.schedule(a,Math.max(100,Math.round(45E3*Math.random()))),!1;a.setRunState(b?4:5);return!0};var AFc={SOMETHING_CHANGED:"e",ERROR:"f"},BFc=function(a,b){rz.call(this,a&&a[0].getError()?"f":"e");this.responses_=a;this.source_=b||"h"};V(BFc,rz);BFc.prototype.getChanges=function(){if(!this.changes_){if(!this.responses_)return null;var a=[];oa(this.responses_,function(b){b=b.getOperation().getChanges();a&&b?a=a.concat(b):a=null});this.changes_=a}return this.changes_};BFc.prototype.getSource=function(){return this.source_};var CFc=function(a,b){this.fn_=a;this.handler_=b};CFc.prototype.execute=function(a){this.fn_&&(this.fn_.call(this.handler_||null,a),this.fn_=this.handler_=null)};CFc.prototype.abort=function(){this.handler_=this.fn_=null};y3b(function(a){CFc.prototype.execute=a(CFc.prototype.execute)});var DFc=[];var iS=function(a,b){var c=c||[];this.serviceId_=a;this.moduleId_=b||null;this.dependencies_=[];this.addDependencies(c,!1)};iS.prototype.toString=function(){return this.serviceId_};iS.prototype.getModuleId=function(){return this.moduleId_};
iS.prototype.addDependencies=function(a,b){var c=this;b=void 0===b?!1:b;this.dependencies_=this.dependencies_.concat(a);if(b){if(!this.moduleId_)throw Error("Dd`"+this.serviceId_);a.map(function(d){return d.getModuleId()}).forEach(function(d){DFc.push(function(e){e.addExtraEdge(c.moduleId_,d)})})}};new iS("ZtVrH");new iS("rJmJrc","rJmJrc");new iS("fJuxOc");new iS("NGntwf");new iS("ofuapc");new iS("BWETze");new iS("ZmXAm");new iS("n73qwf","n73qwf");new iS("Bgf0ib");new iS("MpJwZc","MpJwZc");new iS("UUJqVe","UUJqVe");new iS("GHAeAc","GHAeAc");new iS("Wt6vjf","Wt6vjf");new iS("byfTOb","byfTOb");new iS("LEikZe","LEikZe");new iS("lsjVmc","lsjVmc");new iS("pVbxBc");new iS("klpyYe");new iS("OPbIxb");new iS("pg9hFd");new iS("IaqD3e");new iS("Xpw1of");new iS("v5BQle");new iS("tdUkaf");new iS("WSziFf");new iS("UBSgGf");new iS("zZa4xc");new iS("o1bZcd");new iS("WwG67d");new iS("z72MOc");new iS("JccZRe");new iS("amY3Td");new iS("ABma3e");new iS("gSshPb");new iS("yu4DA");new iS("vk3Wc");new iS("IykvEf");new iS("J5K1Ad");new iS("IW8Usd");new iS("jbDgG");new iS("b8xKu");new iS("d0RAGb");new iS("AzG0ke");new iS("J4QWB");new iS("TuDsZ");new iS("hdXIif");new iS("mITR5c");new iS("DFElXb");new iS("FENZqe");new iS("tLnxq");var EFc=function(){ng.call(this);this.eventTarget_=new Im;this.updateCacheEventTarget_=new Im;this.mutationIdMap_=new WG};V(EFc,ng);EFc.prototype.dispatchEvent=function(a){this.updateCacheEventTarget_.dispatchEvent(a);this.eventTarget_.dispatchEvent(a)};EFc.prototype.getEventTarget=function(){return this.eventTarget_};
EFc.prototype.disposeInternal=function(){ng.prototype.disposeInternal.call(this);this.eventTarget_.dispose();this.eventTarget_=null;this.updateCacheEventTarget_.dispose();this.updateCacheEventTarget_=null};var Oo=function(a){r.call(this,a)};V(Oo,r);var No=function(a,b){return n(a,1,b)};f=Oo.prototype;f.setLogSource=function(a){return n(this,2,a)};f.getApplication=function(){return Fh(this,3,0)};f.setApplication=function(a){return n(this,3,a)};f.getApplicationOrUndefined=function(){return Qo(this,3)};f.getVersion=function(){return mh(this,4)};f.getVersion_legacyNullable=function(){return m(this,4)};f.setVersion=function(a){return n(this,4,a)};f.getVersionOrUndefined=function(){return eq(this,4)};
f.getBaselineCl=function(){return Ag(this,5)};f.setBaselineCl=function(a){return n(this,5,a)};f.hasBaselineCl=function(){return qj(this,5)};f.getBaselineClOrUndefined=function(){return cq(this,5)};f.getEnableClearcut=function(){return vi(this,6)};f.setEnableClearcut=function(a){return xi(this,6,a)};var ylb=function(a,b){return bb(a,7,b,Sa)};f=Oo.prototype;f.getExperimentId=function(){return Xp(this,7)};f.setClientAgent=function(a){return n(this,8,a)};
f.getClientAgentOrUndefined=function(){return Qo(this,8)};f.setEventSource=function(a){n(this,9,a)};f.getEventSourceOrUndefined=function(){return Qo(this,9)};f.getClearcutUrl=function(){return mh(this,10)};f.setClearcutUrl=function(a){n(this,10,a)};f.setEnvironment=function(a){return n(this,11,a)};f.getEnvironmentOrUndefined=function(){return Qo(this,11)};f.getPeoplekitEntryPoint=function(){return Fh(this,12,0)};f.setPeoplekitEntryPoint=function(a){return n(this,12,a)};
f.getPeoplekitEntryPointOrUndefined=function(){return Qo(this,12)};Oo.repeatedFields_=[7];Oo.prototype.toObject=function(){if(null!=this){t(this);var a={logName:p(m(this,1)),logSource:p(m(this,2)),application:p(m(this,3)),version:p(m(this,4)),baselineCl:p(Cb(this,5)),enableClearcut:p(Db(this,6)),experimentIdList:p(xg(this,7)),clientAgent:p(m(this,8)),eventSource:p(m(this,9)),clearcutUrl:p(m(this,10)),environment:p(m(this,11)),peoplekitEntryPoint:p(m(this,12))}}else a=void 0;return a};
Oo.prototype.serializeBinary=u([Oo,1,Cq,2,Nq,3,Nq,4,Cq,5,wq,6,zq,7,xq,8,Nq,9,Nq,10,Cq,11,Nq,12,Nq]);var FFc=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 GFc=function(a){this.start_=a;this.end_=NaN};GFc.prototype.duration=function(){return this.end_-this.start_};GFc.prototype.stop=function(a){this.end_=a;return this.duration()};var jS=function(a){var b=void 0===b?FFc:b;this.source_=a;this.nowFn_=b;this.durations_=new Map;this.lastLabel_="_"};jS.prototype.source=function(){return this.source_};var HFc=function(a,b){b&&(a.lastLabel_=b);return a.lastLabel_};f=jS.prototype;
f.duration=function(a){a=HFc(this,void 0===a?"":a);return this.durations_.has(a)?this.durations_.get(a).duration():NaN};f.durationUsec=function(a){return AOa(this.duration(void 0===a?"":a))};f.toString=function(a,b){b=void 0===b?1:b;return this.duration(void 0===a?"":a).toFixed(b)};f.start=function(a){a=void 0===a?"":a;var b=this.nowFn_();a=HFc(this,a);this.durations_.set(a,new GFc(b));return this};
f.stop=function(a){a=void 0===a?"":a;var b=this.nowFn_();a=HFc(this,a);this.durations_.has(a)&&this.durations_.get(a).stop(b);return this};f.clear=function(){this.durations_.clear();return this};var IFc=function(a){r.call(this,a)};V(IFc,r);IFc.prototype.toObject=function(){return JFc(this)};var JFc=function(a){if(null!=a)return t(a),{applicationPackageName:p(m(a,1)),widgetName:p(m(a,2))}},KFc=[IFc,1,Cq,2,Cq];IFc.prototype.serializeBinary=u(KFc);var kS=function(a){r.call(this,a)};V(kS,r);kS.prototype.toObject=function(){return LFc(this)};var LFc=function(a){if(null!=a)return t(a),{hadValidCache:p(Db(a,1)),timeSinceCacheRefreshUsec:p(m(a,2)),cacheRefreshUsec:p(m(a,3)),hadDeviceContactPermissions:p(Db(a,4))}},MFc=[kS,1,zq,2,pq,3,pq,4,zq];kS.prototype.serializeBinary=u(MFc);var lS=function(a){r.call(this,a)};V(lS,r);f=lS.prototype;f.getQueryId=function(){return m(this,1)};f.setQueryId=function(a){n(this,1,a)};f.setSelectionId=function(a){n(this,2,a)};f.getInstanceId=function(){return m(this,4)};f.setInstanceId=function(a){return n(this,4,a)};f.clearInstanceId=function(){Qp(this,4)};f.hasInstanceId=function(){return jj(this,4)};f.getInstanceIdOrUndefined=function(){return eq(this,4)};f.getAffinityVersion=function(){return Cb(this,5)};
f.setAffinityVersion=function(a){n(this,5,a)};f.getAffinityVersionOrUndefined=function(){return cq(this,5)};f.toObject=function(){return NFc(this)};var NFc=function(a){if(null!=a)return t(a),{queryId:p(m(a,1)),selectionId:p(m(a,2)),submissionId:p(m(a,3)),instanceId:p(m(a,4)),affinityVersion:p(Cb(a,5))}},OFc=[lS,1,pq,2,pq,3,pq,4,Cq,5,wq];lS.prototype.serializeBinary=u(OFc);var mS=function(a){r.call(this,a)};V(mS,r);f=mS.prototype;f.getQueryLength=function(){return Cb(this,1)};f.setQueryLength=function(a){return n(this,1,a)};f.hasQueryLength=function(){return qj(this,1)};f.getQuery=function(){return m(this,2)};f.setQuery=function(a){return n(this,2,a)};f.clearQuery=function(){Qp(this,2)};f.hasQuery=function(){return jj(this,2)};f.toObject=function(){return PFc(this)};
var PFc=function(a){if(null!=a)return t(a),{queryLength:p(Cb(a,1)),query:p(m(a,2)),sessions:NFc(W(a,lS,3))}},QFc=[mS,1,wq,2,Cq,3,X,OFc];mS.prototype.serializeBinary=u(QFc);var RFc=function(a){r.call(this,a)};V(RFc,r);RFc.prototype.toObject=function(){return SFc(this)};var SFc=function(a){if(null!=a)return t(a),{mobileNetworkCountry:p(m(a,1)),simCountry:p(m(a,2)),localeCountry:p(m(a,3))}},TFc=[RFc,1,Cq,2,Cq,3,Cq];RFc.prototype.serializeBinary=u(TFc);var UFc=function(a){r.call(this,a)};V(UFc,r);UFc.prototype.toObject=function(){return VFc(this)};var VFc=function(a){if(null!=a)return t(a),{canonicalCode:p(m(a,1))}},WFc=[UFc,1,Nq];UFc.prototype.serializeBinary=u(WFc);var XFc=function(a){r.call(this,a)};V(XFc,r);XFc.prototype.toObject=function(){return YFc(this)};var YFc=function(a){if(null!=a)return t(a),{attributedSharingEnabled:p(Db(a,1)),sharePanelVersion:p(m(a,2))}},ZFc=[XFc,1,zq,2,Cq];XFc.prototype.serializeBinary=u(ZFc);var nS=function(a){r.call(this,a)};V(nS,r);nS.prototype.setLatencyUsec=function(a){n(this,1,a)};nS.prototype.toObject=function(){return $Fc(this)};var $Fc=function(a){if(null!=a)return t(a),{latencyUsec:p(Cb(a,1)),dataLatencyUsec:p(Cb(a,2))}},aGc=[nS,1,wq,2,wq];nS.prototype.serializeBinary=u(aGc);var oS=function(a){r.call(this,a)};V(oS,r);f=oS.prototype;f.getColumn=function(){return Cb(this,2)};f.setColumn=function(a){return n(this,2,a)};f.getType=function(){return m(this,3)};f.setType=function(a){return n(this,3,a)};f.hasType=function(){return Vh(this,3)};f.toObject=function(){return bGc(this)};var bGc=function(a){if(null!=a)return t(a),{row:p(Cb(a,1)),column:p(Cb(a,2)),type:p(m(a,3))}},cGc=[oS,1,wq,2,wq,3,Nq];oS.prototype.serializeBinary=u(cGc);var pS=function(a){r.call(this,a)};V(pS,r);f=pS.prototype;f.getExistingSelectionsCount=function(){return Cb(this,1)};f.setExistingSelectionsCount=function(a){n(this,1,a)};f.getPosition=function(){return W(this,oS,2)};f.setPosition=function(a){return Oh(this,oS,2,a)};f.toObject=function(){return dGc(this)};
var dGc=function(a){if(null!=a)return t(a),{existingSelectionsCount:p(Cb(a,1)),position:bGc(a.getPosition()),replacementOriginEmailAddress:p(m(a,3)),replacementDestinationEmailAddress:p(m(a,4))}},eGc=[pS,1,wq,2,X,cGc,3,Cq,4,Cq];pS.prototype.serializeBinary=u(eGc);var qS=function(a){r.call(this,a)};V(qS,r);f=qS.prototype;f.getType=function(){return m(this,5)};f.setType=function(a){return n(this,5,a)};f.hasType=function(){return Vh(this,5)};f.getEmail=function(){return m(this,1)};f.getEmail_legacyNullable=function(){return m(this,1)};f.setEmail=function(a){return n(this,1,a)};f.hasEmail=function(){return jj(this,1)};f.getPhone=function(){return m(this,2)};f.getPhone_legacyNullable=function(){return m(this,2)};f.setPhone=function(a){return n(this,2,a)};
f.hasPhone=function(){return jj(this,2)};f.getObfuscatedGaiaId=function(){return m(this,3)};f.getObfuscatedGaiaId_legacyNullable=function(){return m(this,3)};f.setObfuscatedGaiaId=function(a){n(this,3,a)};f.getContactId=function(){return m(this,4)};f.setContactId=function(a){n(this,4,a)};f.getGroupId=function(){return m(this,6)};f.setGroupId=function(a){n(this,6,a)};f.hasGroupId=function(){return jj(this,6)};f.toObject=function(){return fGc(this)};
var fGc=function(a){if(null!=a)return t(a),{type:p(m(a,5)),email:p(m(a,1)),phone:p(m(a,2)),obfuscatedGaiaId:p(m(a,3)),contactId:p(m(a,4)),groupId:p(m(a,6))}},gGc=[qS,5,Nq,1,Cq,2,Cq,3,Cq,4,pq,6,Cq];qS.prototype.serializeBinary=u(gGc);var rS=function(a){r.call(this,a)};V(rS,r);f=rS.prototype;f.getName=function(){return m(this,1)};f.setName=function(a){return n(this,1,a)};f.hasName=function(){return jj(this,1)};f.getNameOrUndefined=function(){return eq(this,1)};f.toObject=function(){return hGc(this)};var hGc=function(a){if(null!=a)return t(a),{name:p(m(a,1))}},iGc=[rS,1,Cq];rS.prototype.serializeBinary=u(iGc);var sS=function(a){r.call(this,a)};V(sS,r);f=sS.prototype;f.getPosition=function(){return W(this,oS,1)};f.setPosition=function(a){return Oh(this,oS,1,a)};f.getProfile=function(){return W(this,rS,2)};f.getProvenance=function(){return $Mb(this,3)};f.setProvenance=function(a){return fb(this,3,a,void 0,Gj)};f.getIsPlaceholder=function(){return Db(this,7)};f.setIsPlaceholder=function(a){xi(this,7,a)};f.getIsSelf=function(){return Db(this,11)};f.getQueryId=function(){return m(this,15)};
f.setQueryId=function(a){n(this,15,a)};f.setSelectionId=function(a){n(this,16,a)};sS.repeatedFields_=[4,3];sS.prototype.toObject=function(){return jGc(this)};
var jGc=function(a){if(null!=a)return t(a),{position:bGc(a.getPosition()),additionalPositionList:Mb(yg(a,oS,4),bGc),profile:hGc(a.getProfile()),provenanceList:p(Gj(a,3)),hasAvatar:p(Db(a,5)),isBoosted:p(Db(a,6)),isPlaceholder:p(Db(a,7)),smartAddressEntityMetadata:dGc(W(a,pS,8)),uiSurface:p(m(a,9)),isSelf:p(Db(a,11)),isOutOfDomain:p(Db(a,12)),rankType:p(m(a,13)),rank:p(Cb(a,14)),queryId:p(m(a,15)),selectionId:p(m(a,16))}},kGc=[sS,1,X,cGc,4,Iq,cGc,2,X,iGc,3,Oq,5,zq,6,zq,7,zq,8,X,eGc,9,Nq,11,zq,12,zq,
13,Nq,14,wq,15,pq,16,pq];sS.prototype.serializeBinary=u(kGc);var tS=function(a){r.call(this,a)};V(tS,r);f=tS.prototype;f.getLoggingId=function(){return m(this,1)};f.setLoggingId=function(a){n(this,1,a)};f.getMetadata=function(){return W(this,sS,3)};f.setMetadata=function(a){Oh(this,sS,3,a)};f.toObject=function(){return lGc(this)};var lGc=function(a){if(null!=a)return t(a),{loggingId:p(m(a,1)),entityId:fGc(W(a,qS,4)),metadata:jGc(a.getMetadata())}},mGc=[tS,1,Cq,4,X,gGc,3,X,kGc];tS.prototype.serializeBinary=u(mGc);var uS=function(a){r.call(this,a)};V(uS,r);uS.prototype.getAffinityVersion=function(){return Cb(this,2)};uS.prototype.setAffinityVersion=function(a){n(this,2,a)};uS.prototype.getAffinityVersionOrUndefined=function(){return cq(this,2)};uS.prototype.toObject=function(){return nGc(this)};
var nGc=function(a){if(null!=a)return t(a),{autocompleteMetadata:PFc(W(a,mS,1)),affinityVersion:p(Cb(a,2)),showMetadata:$Fc(W(a,nS,6)),queryErrorMetadata:VFc(W(a,UFc,7)),autocompleteClientMetadata:LFc(W(a,kS,3)),reactrMetadata:YFc(W(a,XFc,4)),apdlMetadata:JFc(W(a,IFc,5)),phoneRegionHints:SFc(W(a,RFc,8))}},oGc=[uS,1,X,QFc,2,wq,6,X,aGc,7,X,WFc,3,X,MFc,4,X,ZFc,5,X,KFc,8,X,TFc];uS.prototype.serializeBinary=u(oGc);var pGc=function(a){r.call(this,a)};V(pGc,r);pGc.prototype.toObject=function(){return qGc(this)};var qGc=function(a){if(null!=a)return t(a),{scoreVersion:p(m(a,1)),sessionId:p(m(a,2))}},rGc=[pGc,1,pq,2,oNb];pGc.prototype.serializeBinary=u(rGc);var vS=function(a){r.call(this,a)};V(vS,r);f=vS.prototype;f.getEventType=function(){return m(this,1)};f.getEventType_legacyNullable=function(){return m(this,1)};f.setEventType=function(a){return n(this,1,a)};f.getMetadata=function(){return W(this,uS,4)};f.setMetadata=function(a){Oh(this,uS,4,a)};f.getClientInterface=function(){return W(this,YR,5)};f.setClientInterface=function(a){return Oh(this,YR,5,a)};vS.repeatedFields_=[2];
vS.prototype.toObject=function(){if(null!=this){t(this);var a={eventType:p(m(this,1)),entityList:Mb(yg(this,tS,2),lGc),scoringInfo:qGc(W(this,pGc,3)),metadata:nGc(this.getMetadata()),clientInterface:WEc(this.getClientInterface()),eventTimestampUsec:p(m(this,6))}}else a=void 0;return a};vS.prototype.serializeBinary=u([vS,1,Nq,2,Iq,mGc,3,X,rGc,4,X,oGc,5,X,XEc,6,pq]);var sGc=new Map([[1,4],[2,2],[3,1],[4,7]]),tGc=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=vi(a.getExperiments(),1,!0);break;case 2:b="ppl.store.ppl.store.ozcontactstore";c=vi(a.getExperiments(),2,!0);break;default:b="ppl.store",c=!1}var d=sGc.get(a.getUserInfo().getEnvType_legacyNullable())||0;this.logContext_=eb(ylb(No(new Oo,b).setLogSource(932).setApplication(a.getClientInfo().getSocialApplicationOrUndefined()).setEnvironment(d).setVersion("1013").setBaselineCl(336195648).setClientAgent(3).setEnableClearcut(c),
a.getExperiments().getExperimentIdsList()),7,20090307)};f=tGc.prototype;f.getLogContext=function(){return this.logContext_};
f.createCountMetric=function(a,b){b=b.source();var c=uGc(this);switch(b.getEventType()){case 2:case 3:return(new eS).setClientInterface(a).setUserInfo(c).setSource(2).setEventType(2).setRpcRequest((new bS).setRpcType(b.getRpcType()).setLookupType(b.getLookupType()));case 4:case 5:return(new eS).setClientInterface(a).setUserInfo(c).setEventType(4).setApiCall((new ZR).setApiType(b.getApiType()));default:return null}};
f.createStatusMetric=function(a,b,c){var d=b.source(),e=uGc(this);switch(d.getEventType()){case 1:d=(new eS).setClientInterface(a).setUserInfo(e).setSource(1).setEventType(1);a=this.transportType_;e=(new aS).setStatus(c);if(0==c||4==c)c=e.setTotalUsec(b.durationUsec("total")),b=b.durationUsec("blocked"),b=n(c,3,b),n(b,5,a);return sm(d,4,fS,e);case 2:case 3:return a=(new eS).setClientInterface(a).setUserInfo(e).setSource(2).setEventType(3),e=a.setRpcResponse,d=(new cS).setRpcType(d.getRpcType()).setLookupType(d.getLookupType()).setStatus(c),
0!=c&&4!=c||d.setTotalUsec(b.durationUsec("total")).setBlockedUsec(b.durationUsec("blocked")).setNetworkUsec(b.durationUsec("network")),e.call(a,d);case 4:case 5:a=(new eS).setClientInterface(a).setUserInfo(e).setEventType(5);e=a.setApiResult;var g=new $R;g.setApiType(d.getApiType()).setCacheStatus(d.getCacheStatus()).setAddressBook(d.getAddressBook()).setStatus(c);0!==c&&4!==c||g.setTotalUsec(b.durationUsec("total"));return e.call(a,g);default:return null}};f.createErrorMetric=function(){return null};
f.createLatencyMetric=function(){return null};var uGc=function(a){a=a.clientConfig_.getUserInfo();var b=new dS;var c=!!a.getDelegatorId();b=xi(b,4,c);a.hasCacheSize()&&b.setCacheSize(a.getCacheSize());b.setEnvType(Fh(a,6,0)||0);return b};var mo=function(a){r.call(this,a)};V(mo,r);mo.repeatedFields_=[1,2,3,4];mo.prototype.toObject=function(){if(null!=this){t(this);var a={byGaiaList:p(xg(this,1)),byPseudonymousList:p(xg(this,2)),alwaysList:p(xg(this,3)),byOtherList:p(xg(this,4))}}else a=void 0;return a};mo.prototype.serializeBinary=u([mo,1,xq,2,xq,3,xq,4,xq]);var wS=function(a,b){this.name_=b||"";this.address=a||""},vGc=/"/g,wGc=/\\"/g,xGc=/\\/g,yGc=/\\\\/g,zGc=RegExp("^[+a-zA-Z0-9_.!#$%&'*\\/=?^`{|}~-]+@([a-zA-Z0-9-]+\\.)+[a-zA-Z0-9]{2,63}$"),AGc=new RegExp("["+yda({LRE:"\u202a",RLE:"\u202b",PDF:"\u202c",LRM:"\u200e",RLM:"\u200f"}).join("")+"]","g");wS.prototype.getName=function(){return this.name_};wS.prototype.getAddress=function(){return this.address};wS.prototype.setName=function(a){this.name_=a};wS.prototype.toString=function(){return BGc(this,'()<>@:\\".[],;')};
var BGc=function(a,b){var c=a.getName();c=c.replace(vGc,"");a:{for(var d=c,e=0;e<b.length;e++)if(ha(d,b[e])){b=!0;break a}b=!1}b&&(c='"'+c.replace(xGc,"\\\\")+'"');return""==c?a.address:""==a.address?c:c+" <"+a.address+">"};wS.prototype.isValid=function(){return zGc.test(this.address)};
var EGc=function(a){var b=CGc;a=a.replace(AGc,"");for(var c="",d="",e=0;e<a.length;){var g=a;var h=e,l=g.charAt(h),q='"<(['.indexOf(l);if(-1==q||DGc(g,h))g=l;else{q='">)]'.charAt(q);for(var v=g.indexOf(q,h+1);0<=v&&DGc(g,v);)v=g.indexOf(q,v+1);g=0<=v?g.substring(h,v+1):l}"<"==g.charAt(0)&&-1!=g.indexOf(">")?(d=g.indexOf(">"),d=g.substring(1,d)):""==d&&(c+=g);e+=g.length}""==d&&-1!=c.indexOf("@")&&(d=c,c="");c=eVb(c);c=fVb(c,"'");c=fVb(c,'"');c=c.replace(wGc,'"');c=c.replace(yGc,"\\");d=eVb(d);return new b(d,
c)},DGc=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 CGc=function(a,b){wS.call(this,a,b)};Cp(CGc,wS);var FGc=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}$");CGc.prototype.isValid=function(){return GGc(this.address)};var GGc=function(a){return null==a?!1:FGc.test(a)};CGc.prototype.toString=function(){return BGc(this,'()<>@:\\".[],;\u055d\u060c\u1363\u1802\u1808\u2e41\u3001\uff0c\u061b\u1364\uff1b\uff64\u104a')};var HGc=/[^a-z0-9]+/ig,IGc=[9,11,10,12,13,14,15,16,19],JGc=[9,19,11],KGc=[1,6],LGc=[2,7],MGc=[3,8],NGc=[1,2,6,7,8,9,11,10,12,13,14,15,16,18,19],Yjb=[3,4,5,17,20],vo=function(a,b,c){this.type_=a;this.value_=Hm(b);this.originalValue_=Hm(void 0===c?b:c)};vo.prototype.getType=function(){return this.type_};vo.prototype.getValue=function(){return this.value_};vo.prototype.getOriginalValue=function(){return this.originalValue_};
var ho=function(a){return IGc.includes(a.getType())},gib=function(a){return JGc.includes(a.getType())},Ujb=function(a,b){switch(a){case 1:return so(b);case 6:return new vo(6,Hm(b).toLowerCase(),b);case 2:return kkb(b);case 7:return lkb(b);case 3:return Vjb(b);case 8:return new vo(8,Hm(b).toLowerCase(),b);case 5:return new vo(5,Hm(b).toLowerCase(),b);case 4:return Wjb(b);case 9:return OGc(b);case 12:return new vo(12,Hm(b),b);case 13:return new vo(13,Hm(b),b);case 14:return new vo(14,Hm(b),b);case 15:return new vo(15,
Hm(b),b);case 16:return new vo(16,Hm(b),b);case 10:return new vo(10,Hm(b),b);case 11:return new vo(11,Hm(b),b);case 18:return Xjb(b);case 19:return new vo(19,Hm(b),b);case 20:return new vo(20,Hm(b),b);case 17:return PGc;default:return new vo(0,b)}},so=function(a){return new vo(1,Hm(a).toLowerCase(),a)},kkb=function(a){var b=Hm(a).toLowerCase().replace(HGc,"");return new vo(2,b,a)},Vjb=function(a){var b=Hm(a).toLowerCase();return"me"===b?PGc:new vo(3,b,a)},Wjb=function(a){return new vo(4,Hm(a).toLowerCase(),
a)},lkb=function(a){var b=Hm(a).toLowerCase().replace(HGc,"");return new vo(7,b,a)},OGc=function(a){return new vo(9,Hm(a).toLowerCase(),a)},Xjb=function(a){return new vo(18,Hm(a),a)},QGc=function(a){var b=a.indexOf(":");return Ujb(0<b?parseInt(a.substring(0,b),10):0,a.substring(b+1))};vo.prototype.toString=function(){return this.getType()+":"+this.getValue()};vo.prototype.equals=function(a){return a?this===a?!0:this.getType()===a.getType()&&this.getValue()===a.getValue():!1};
var RGc=function(a){switch(a.getType()){case 1:case 6:return GGc(a.getValue().trim());case 2:case 7:return a=a.getValue().replace(HGc,""),3<=a.length&&"0"<=a[0]&&"9">=a[0];case 3:case 8:return!!a.getValue().trim();default:return!0}},xo=Ujb(0,""),PGc=new vo(17,"me");var SGc=function(a,b){this.apiEnv_=a;this.experimentsConfig_=b};var TGc=function(a){this.profileId_=a};TGc.prototype.getProfileId=function(){return this.profileId_};var UGc=Object.freeze({userProfileId:"",apiEnv:4,userEmail:""});var VGc=function(){return ea&&fa?!fa.mobile&&(ia("iPad")||ia("Android")||ia("Silk")):ia("iPad")||ia("Android")&&!ia("Mobile")||ia("Silk")};var WGc=function(a,b,c,d,e,g,h){BA.call(this,a,Fm,b,rra,c,d,e,void 0,g,h)};V(WGc,BA);var XGc=function(a,b){this.clearcut_=a;this.logContextFactory_=b;this.device_=raa()||ia("iPod")?4:ia("iPad")?5:qaa()?VGc()?3:2:(ea&&fa?fa.mobile:!VGc()&&(ia("iPod")||ia("iPhone")||ia("Android")||ia("IEMobile")))||VGc()?0:1},YGc=function(a){var b=a.getLogContext(),c=null;if(b.getEnableClearcut()&&(c=new WGc(m(b,2),sOa(),b.getClearcutUrl()||void 0),(b=xg(b,7))&&b.length)){var d=new mo;bb(d,3,b,Sa);c.setClearExperimentIds(d)}return new XGc(c,a)},ZGc=function(a){var b=a.logContextFactory_.getLogContext(),
c=new WR;c.setApplication(b.getApplicationOrUndefined());c.setDevice(a.device_);a=new YR;a.setSocialClient(c);a.setVersionName(b.getVersionOrUndefined());a.setClientAgent(b.getClientAgentOrUndefined());a.setEventSource(b.getEventSourceOrUndefined());a.setEnvironment(b.getEnvironmentOrUndefined());a.setPeoplekitEntryPoint(b.getPeoplekitEntryPointOrUndefined());b.hasBaselineCl()&&(b=Math.round(b.getBaselineCl()),isFinite(b)&&a.setBaselineCl(b));return a},$Gc=function(a,b){var c=new tA;K7b(c,b.serialize());
a.clearcut_&&a.clearcut_.log(c)};var aHc=function(a,b){this.clearcut_=a;this.logEventFactory_=b};aHc.prototype.logError=function(a){var b=ZGc(this.clearcut_);(a=this.logEventFactory_.createErrorMetric(b,a))&&$Gc(this.clearcut_,a)};var bHc=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 cHc=function(){this.logContext_=No(new Oo,"ppl.store")};f=cHc.prototype;f.getLogContext=function(){return this.logContext_};f.createCountMetric=function(){return null};f.createStatusMetric=function(){return null};f.createErrorMetric=function(){return null};f.createLatencyMetric=function(){return null};var dHc=function(a){this.clearcut_=a},po=function(a){a=new aHc(YGc(a),a);return new dHc(a)};f=dHc.prototype;f.start=function(a,b){a.start(b);return this};f.stop=function(a,b){a.stop(b);return this};
f.count=function(a,b){var c=this.clearcut_;b=void 0===b?1:b;var d=ZGc(c.clearcut_);(a=c.logEventFactory_.createCountMetric(d,a,b))&&$Gc(c.clearcut_,a);return this};f.status=function(a,b){var c=this.clearcut_,d=ZGc(c.clearcut_);(a=c.logEventFactory_.createStatusMetric(d,a,b))&&$Gc(c.clearcut_,a);return this};f.latency=function(a){var b=this.clearcut_,c=ZGc(b.clearcut_);(a=b.logEventFactory_.createLatencyMetric(c,a))&&$Gc(b.clearcut_,a);return this};f.error=function(a){this.clearcut_.logError(a);return this};
f.logError=function(){};f.logInfo=function(){return this};var xS=function(a,b){this.addressBookMap_={};this.addressBooks=[];this.ownedAddressBooks_=[];this.scheduler_=new yFc;this.eventHandler_=new Tn(this);this.ownsContactNotificationService_=!a;this.queryFilters_=[];this.contactNotificationService_=a||new EFc;(a=b)||(a=po(new cHc));this.metrics=a;this.queryFilters_.push(this.contactNotificationService_)};Cp(xS,ng);f=xS.prototype;
f.addAddressBook=function(a,b){this.addressBooks.push(a);b&&this.ownedAddressBooks_.push(a);this.addressBookMap_[a.getId()]=a;this.eventHandler_.listen(a,yda(AFc),Ap(this.forwardEvent_,this))};f.forwardEvent_=function(a){this.contactNotificationService_.dispatchEvent(a)};f.getEventTarget=function(){return this.contactNotificationService_.getEventTarget()};f.invalidate=function(){this.contactNotificationService_.dispatchEvent(new BFc(null,"g"))};
f.loadContactRows=function(a,b){var c=this,d=(new Gm).setEventType(4).setApiType(2),e=new jS(d);this.metrics.count(e);this.metrics.start(e,"total");return eHc(this,a,function(g){return g.loadContactRows},function(g,h,l,q,v){fHc(function(y,B,I,N){var Q=B===VR||B instanceof SEc?2:1;e.source().setCacheStatus(Q);e.source().setAddressBook(I?TEc.get(I)||1:1);c.metrics.stop(e,"total");c.metrics.status(e,nFc(v||0));b&&b(y,B,I,N,v)},g,h,l,q)})};
var eHc=function(a,b,c,d){var e=new gHc(d,a.metrics),g;if(b.addressBookId){var h=a.addressBookMap_[b.addressBookId];0<b.delayMillis||1<b.maxTries?g=hHc(a,h,c(h),b,d):g=c(h).call(h,b,d);g&&e.add(g)}else for(var l=0;l<a.addressBooks.length;l++)h=a.addressBooks[l],0<b.delayMillis||1<b.maxTries?g=hHc(a,h,c(h),b,d):g=c(h).call(h,b,d),g&&e.add(g);return e};
xS.prototype.execute=function(a){var b=this,c=(new Gm).setEventType(4).setApiType(1),d=new jS(c);this.metrics.count(d);this.metrics.start(d,"total");iHc(this,a);a.addSuccessOrFailureCallback(function(e){var g=e?nFc(e.getErrorCode()):2;e=(e=e?e.getRequest():null)?e.getAddressBookId():"";d.source().setCacheStatus(e?1:2);d.source().setAddressBook(e?e?TEc.get(e)||1:1:0);b.metrics.stop(d,"total");b.metrics.status(d,g)});return this.cache_&&(c=a.executeFromCache(this.cache_,function(e){return jHc(b,e,d)}))?
c:jHc(this,a,d)};
var iHc=function(a,b){oa(a.queryFilters_,function(){});b.isMutate()&&(b=b.getOperation())&&(b=b.getQueryAfterMutate())&&iHc(a,b)},jHc=function(a,b,c){if(b.isMutate()){var d=b.getOperation();d&&(d=d.getMutationId())&&a.contactNotificationService_.mutationIdMap_.set(d,Date.now())}if(d=b.getAddressBookId())if(d=a.addressBookMap_[d])return d.execute(b);c=new gHc(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},hHc=function(a,
b,c,d,e){b=Ap(a.runScheduledQuery_,a,b,c,d,e);b=new wFc(a.scheduler_,b,d.name);a.scheduler_.schedule(b,d.delayMillis,d.maxTries,d.force);return new kHc(b)};xS.prototype.runScheduledQuery_=function(a,b,c,d,e){e.request=b.call(a,c,function(g,h,l,q,v){e.isDone(!v)&&d&&d(g,h,l,q,v)})};
var fHc=function(a,b,c,d,e){a&&(b&&(e.filter&&(b=e.filter(b,e.token)),lHc(b)),a(b||[],c,d,e))},lHc=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)}};
xS.prototype.disposeInternal=function(){xS.superClass_.disposeInternal.call(this);mg(this.scheduler_);this.scheduler_=null;oa(this.ownedAddressBooks_,mg);this.ownedAddressBooks_=this.addressBookMap_=this.addressBooks=null;mg(this.eventHandler_);this.eventHandler_=null;oa(this.queryFilters_,function(a){a!=this.contactNotificationService_&&mg(a)},this);this.queryFilters_=null;this.ownsContactNotificationService_&&(mg(this.contactNotificationService_),this.contactNotificationService_=null)};
var mHc=function(a){var b=new tGc(a,0);No(b.getLogContext(),"ppl.store");b.getLogContext().setEnableClearcut(vi(a.getExperiments(),3,!0));return po(b)},gHc=function(a,b,c){this.requests_=[];this.handler=a;this.metrics_=b;this.state_=c;this.addressBookId_=""};f=gHc.prototype;f.setAddressBookId=function(a){this.addressBookId_=a};f.getAddressBookId=function(){return this.addressBookId_};f.add=function(a){this.requests_.push(a)};f.isEmpty=function(){return 0==this.requests_.length};
f.cancel=function(){this.isPending()&&this.metrics_&&this.state_&&this.metrics_.status(this.state_,1);for(var a=0;a<this.requests_.length;a++)this.requests_[a].cancel()};f.isPending=function(){for(var a=0;a<this.requests_.length;a++)if(this.requests_[a].isPending())return!0;return!1};f.getQuery=function(){return this.query_};f.setQuery=function(a){this.query_=a};var kHc=function(a){this.op=a;this.request=null};kHc.prototype.cancel=function(){this.op.cancel();this.request&&this.request.cancel()};
kHc.prototype.isPending=function(){return this.op.isPending()||this.op.request&&this.op.request.isPending()};var nHc=function(a,b){this.text=a;this.specialRowHandler=b};Cp(nHc,QEc);f=nHc.prototype;f.getName=function(){return null};f.getEmail=function(){return null};f.getPhoneNumber=function(){return null};f.getType=function(){return"sr"};f.getPriority=function(){return 0};f.getLoggingId=function(){return"sr"};var oHc=function(a,b){xS.call(this,a,b)};V(oHc,xS);oHc.prototype.addAddressBook=function(a,b){1==this.addressBooks.length&&(this.combiner_=new pHc(this.metrics),this.combiner_.addAddressBook(this.addressBooks[0]));xS.prototype.addAddressBook.call(this,a,b);this.combiner_&&this.combiner_.addAddressBook(a)};oHc.prototype.loadContactRows=function(a,b){return this.combiner_&&a.isAutoCompleteMode&&!a.addressBookId?this.combiner_.loadContactRows(a,b):xS.prototype.loadContactRows.call(this,a,b)};
var pHc=function(a){this.addrBooks_=[];this.rowSets_=null;this.metrics_=a};pHc.prototype.addAddressBook=function(a){this.addrBooks_.push(new qHc(this,this.addrBooks_.length,a))};pHc.prototype.loadContactRows=function(a,b){a=new rHc(a,this.metrics_,b);sHc(this,a);return a};
var sHc=function(a,b,c,d){a.rowSets_=[];for(var e=0;e<a.addrBooks_.length&&!(e==c?a.rowSets_[e]=d:a.addrBooks_[e].loadContactRows(b),0==e&&a.rowSets_[e]&&a.rowSets_[e].length>=b.query.maxMatches);e++);c=b.query;d=a.rowSets_;var g=[];e=!1;for(var h,l=0;l<d.length&&g.length<c.maxMatches;l++)if(d[l]){h=g.length;e=!0;var q=d[l],v=c.maxMatches,y=g.length;if(0==y)g=q.length>v?q.slice(0,v):q;else for(var B=0;B<q.length;B++){for(var I=null,N=0;N<y&&!(I=tHc(g[N],q[B]));N++);if(I)I===q[B]&&(g[N]=I);else if(g.length==
y?g=g.concat(q[B]):g.push(q[B]),g.length==v)break}0<h&&g.length>h&&(g[h].flags|=1)}e?(lHc(g),c=g):c=null;c&&b.handler&&a.addrBooks_[0]&&a.addrBooks_[0].madeCallback_&&b.handler(c,b,null,b.query);a.rowSets_=null},tHc=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},uHc=function(a,b,c,d){a.rowSets_?a.rowSets_[c]=d:sHc(a,b,c,d)};
pHc.prototype.handleSpecialRow=function(){};var qHc=function(a,b,c){this.combiner_=a;this.id_=b;this.addrBook_=c;this.lastAsyncLatency_=0;this.isSynchronous_=!1};
qHc.prototype.loadContactRows=function(a){var b=this,c=a.storedResults_[this.id_];if(!c){this.isSynchronous_=!0;this.madeCallback_=!1;var d=Date.now(),e=this.addrBook_.loadContactRows(a.query,function(g,h,l,q,v){b.matchListener_(a,d,g,v)});a.addRequest(this.id_,e);this.isSynchronous_=!1;this.madeCallback_||a.query.isAutoCompleteMode&&300<this.lastAsyncLatency_&&(c=[vHc(this)])}c&&uHc(this.combiner_,a,this.id_,c)};
var vHc=function(a){var b=a.addrBook_.title_;return new nHc(b?"Searching for matches from "+b:"Searching for more matches.",a.combiner_.handleSpecialRow)};
qHc.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;uHc(this.combiner_,a,this.id_,c)};qHc.prototype.dispose=function(){this.combiner_=this.matcher_=null};
var rHc=function(a,b,c){var d=this;this.query=a;this.activeRequests_={};this.storedResults_={};this.addressBooksToReport_=[];this.storedErrorCodes_=[];var e=new jS((new Gm).setEventType(4).setApiType(2));b.count(e);b.start(e,"total");this.handler=function(g,h,l,q){d.addressBooksToReport_.forEach(function(v,y){var B=d.activeRequests_[y];B=B===VR||B instanceof SEc?2:1;e.source().setCacheStatus(B);e.source().setAddressBook(v?TEc.get(v)||1:1);b.stop(e,"total");b.status(e,nFc(d.storedErrorCodes_[y]))});
d.addressBooksToReport_=[];c&&c(g,h,l,q)}};rHc.prototype.cancel=function(){for(var a in this.activeRequests_)this.activeRequests_[a].cancel();this.activeRequests_={}};rHc.prototype.isPending=function(){for(var a in this.activeRequests_)if(this.activeRequests_[a].isPending())return!0;return!1};rHc.prototype.addRequest=function(a,b){this.activeRequests_[a]=b};var wHc={198:"AE",230:"ae",306:"IJ",307:"ij",338:"AE",339:"ae"},qo=function(a){for(var b=[],c=0,d=0;d<a.length;d++){var e=a.charCodeAt(d);if(192>e||382<e)e=null;else{var g=wHc[e];g?e=g:(g="AAAAAA*CEEEEIIIIDNOOOOOx0UUUUYpBaaaaaa*ceeeeiiiionooooo^ouuuuypyAaAaAaCcCcCcCcDdDdEeEeEeEeEeGgGgGgGgHhHhIiIiIiIiIi**JjKkkLlLlLLLlllNnNnNnnNnOoOoOo**RrRrRrSsSsSsSsTtTtttUuUuUuUuUuUuWwYyYZzZzZz"[e-192],e="^"==g?null:g)}e&&(c!=d&&b.push(a.substr(c,d-c)),c=d+1,b.push(e))}return 0<b.length?(b.push(a.substr(c)),b.join("")):
a};var yS=function(a,b,c,d,e,g){Im.call(this);this.cacheMaxSize_=e||0;this.rowMatchingFunction_=g||xHc;this.cache_=new WG(this.cacheMaxSize_,!0);this.cacheSize_=a||0;this.cacheMinExpiryAge_=b||0;this.cacheMaxExpiryAge_=c||0;this.cacheByType_=!!d};Cp(yS,Im);yS.prototype.disposeInternal=function(){yS.superClass_.disposeInternal.call(this);this.cache_=null};yS.prototype.clear=function(){this.cache_.clear()};
var xHc=function(a){var b=zl(qo(a.token));return function(c){var d=new RegExp("(^|\\W+)"+b,"i");(d=null!=qo(String(c[1])).match(d))||(d=c[0],d=null!=c[2].match(new RegExp("^"+b,"i"))&&"cl"!=String(d));return d}},yHc=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},zHc=function(a,b,c){a.cache_.set(yHc(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_)}},AHc=function(a,b,c){c=c?a.cache_.get(b):qmc(a.cache_,b);return a.isStale(c)?(a.cache_.remove(b),null):c},BHc=function(a,b,c){c=b.length-c.length;for(var d=b.length;d>=c;d--){var e=AHc(a,b,!1);if(e)return e;b=b.substr(0,d-1)}return null},CHc=function(a,b){if(b.isContactAutoComplete)return null;var c=yHc(b,a.cacheByType_),
d=BHc(a,c,b.token);return d?d:a.cacheByType_&&!Jg(c,"^")?(c=yHc(b,!1),BHc(a,c,b.token)):null};yS.prototype.isStale=function(a){return!!a&&!!this.cacheMaxExpiryAge_&&a.created+this.cacheMaxExpiryAge_<Date.now()};yS.prototype.invalidateCache=function(a){for(var b=this.cache_.getKeys(),c=0;c<b.length;c++){var d=b[c],e={token:qmc(this.cache_,d).token};this.rowMatchingFunction_(e)(a)&&this.cache_.remove(d)}};
var DHc=function(a,b,c){this.token=a;this.matches_=b;this.partialResult_=!!c;this.count=1;this.created=Date.now()};DHc.prototype.getMatches=function(a){a&&this.count++;return this.matches_};DHc.prototype.isComplete=function(a){return!this.partialResult_||0<=a&&a<=this.matches_.length};Cp(Km,Im);f=Km.prototype;f.configure=function(a,b){this.title_=b;this.initialized_||(this.initialized_=!0)};f.getId=function(){return this.id_};
f.loadContactRows=function(a,b){if(this.initialized_){var c=this.cache_;if(nj(a.token)&&!c.allowEmptyQueries_)var d=REc;else{d=a.maxMatches;var e=AHc(c,yHc(a,c.cacheByType_),!0);(d=e&&d&&!e.isComplete(d)?null:e)?d=d.getMatches():(d=CHc(c,a))&&0==d.getMatches().length?(zHc(c,a,new DHc(a.token,REc)),d=REc):d&&!d.partialResult_&&c.clientFilteringOk_?(d=d.getMatches(),d=QLb(d,c.rowMatchingFunction_(a),c),zHc(c,a,new DHc(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,VR,this.getId(),a),VR):this.transport_.loadContactRows(a,this.getId(),Ap(this.cacheContactRowsAndInvokeHandler_,this,b))}b&&b(REc,VR,this.getId(),a,4);return VR};f.cacheContactRowsAndInvokeHandler_=function(a,b,c,d,e,g){g||zHc(this.cache_,e,new DHc(e.token,b,-1!=e.maxMatches&&b.length>=e.maxMatches));a&&(b&&0<=e.maxMatches&&b.length>e.maxMatches&&(b=b.slice(0,e.maxMatches)),a(b,c,d,e,g))};f.onContactsChange_=function(){this.cache_.clear()};
f.disposeInternal=function(){Km.superClass_.disposeInternal.call(this);this.cache_.dispose();this.cache_=null;EHc(this.transport_,this.id_);this.transport_=null};var GHc=function(a,b,c){yS.call(this,100,18E5,432E5,!0,0,c||FHc);this.clientFilteringOk_=a;this.allowEmptyQueries_=b};V(GHc,yS);var FHc=function(a){return function(b){var c=b.getType(),d;if(d=HHc(a,c)){d=new RegExp("(^|\\W+)"+zl(qo(a.token)),"i");var e=qo(b.getName()||"");(d=d.test(e))||(d=a.token,d=((b=b.getEmail())?(new RegExp("^"+zl(qo(d)),"i")).test(b):!1)&&"cl"!=c)}return d}},HHc=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 JHc=function(a,b,c){this.includeDomainGroups_=!!c;b=b||new GHc(!0,!1,IHc);Km.call(this,a,b,"domain")};Cp(JHc,Km);JHc.prototype.loadContactRows=function(a,b){a.includeGroups&&!this.includeDomainGroups_&&(a=Wb(a),a.includeGroups=!1);return JHc.superClass_.loadContactRows.call(this,a,b)};
var IHc=function(a){for(var b=eVb(a.token).toLowerCase().split(/\s+/),c=[],d=[],e=0;e<b.length;e++){var g=zl(b[e]),h=new RegExp("^"+g,"i");c.push(new RegExp("(^|\\W+)"+g,"i"));d.push(h)}return function(l){if(HHc(a,l.getType())){for(var q=0;q<c.length;q++)if(!l.getName().match(c[q])&&!l.getEmail().match(d[q]))return!1;return!0}return!1}};JHc.prototype.execute=function(a){a=this.transport_.execute(a);a.setAddressBookId(this.getId());return a};var KHc=function(a,b){this.personId=a;this.contactId=b.CONTACT||"";this.syntheticId=b.DOMAIN_CONTACT||"";this.profileId=b.PROFILE||b.DOMAIN_PROFILE||"";this.loggingId=""},MHc=function(a){if(!a)return LHc;var b=COa(Em("metadata.identityInfo.sourceIds",a)),c=Em("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 KHc(a.personId||"",b)},LHc=new KHc("",{});var NHc=function(a,b){this.isLocal_=a;this.edgeIndex_=b};NHc.prototype.toString=function(){return""};var zS=function(a,b){this.metadata_=a||{};this.edgeCollection_=b};zS.prototype.toString=function(){return""};var PHc=function(a){return OHc(a).some(function(b){return!b.isLocal_})};zS.prototype.getSource=function(a){return OHc(this)[a]};zS.prototype.hasSource=function(){return void 0<OHc(this).length};var OHc=function(a){return a.edgeCollection_?a.edgeCollection_.getSources(a.metadata_.encodedContainerId,a.metadata_.containerType):[]};zS.prototype.getCause=function(a){return QHc(this)[a]};
var QHc=function(a){return a.edgeCollection_?RHc(a.edgeCollection_,a.metadata_.edgeKeyInfo):[]};zS.prototype.getContainerType=function(){return this.metadata_.containerType};var SHc=new zS({},null);var THc=function(a,b){this.email_=a;this.edgeCollection_=b;this.metadata_=null};f=THc.prototype;f.toString=function(){return""};f.getMetaData=function(){this.metadata_||(this.metadata_=this.hasMetaData()?new zS(this.email_.metadata,this.edgeCollection_):SHc);return this.metadata_};f.hasMetaData=function(){return"metadata"in this.email_};f.getValue=function(){return this.email_.value||""};f.hasValue=function(){return!!this.getValue()};
f.getPrimary=function(){var a=this.email_.metadata;return!(!a||!a.primary)};f.getDisplayName=function(){return""};var UHc=new THc({},null);var VHc=function(a,b){this.emails_=[];a=k(a);for(var c=a.next();!c.done;c=a.next())this.emails_.push(new THc(c.value,b))};f=VHc.prototype;f.toString=function(){return""};f.getMetaData=function(){return null};f.hasMetaData=function(){return!!this.getMetaData()};f.getField=function(a){return this.emails_[a]||UHc};f.getFieldLength=function(){return this.emails_.length};var WHc=new VHc([],null);var XHc=function(a,b){this.name_=a||{};this.edgeCollection_=b;this.metadata_=null};f=XHc.prototype;f.toString=function(){return""};f.getMetaData=function(){this.metadata_||(this.metadata_=new zS(this.name_.metadata,this.edgeCollection_));return this.metadata_};f.hasMetaData=function(){return!!this.getMetaData()};f.getValue=function(){return this.name_.displayName||this.name_.formattedName||this.name_.formattedValue||this.name_.value||""};f.hasValue=function(){return!!this.getValue()};
f.getFamilyName=function(){return this.name_.familyName||""};f.hasFamilyName=function(){return!!this.getFamilyName()};f.getGivenName=function(){return this.name_.givenName||""};f.hasGivenName=function(){return!!this.getGivenName()};var YHc=new XHc({},null);var ZHc=function(a){this.field_=a};f=ZHc.prototype;f.toString=function(){return""};f.getField=function(){return this.field_};f.getMetaData=function(){return this.field_.getMetaData()};f.hasMetaData=function(){return this.field_.hasMetaData()};f.getValue=function(){return this.field_.getValue()};f.hasValue=function(){return this.field_.hasValue()};f.getFamilyName=function(){return this.field_.getFamilyName()};f.hasFamilyName=function(){return this.field_.hasFamilyName()};f.getGivenName=function(){return this.field_.getGivenName()};
f.hasGivenName=function(){return this.field_.hasGivenName()};var $Hc=new ZHc(YHc);var aIc=["CONTACT","PROFILE","DOMAIN_PROFILE"],bIc=function(a,b){this.names_=[];a=k(a);for(var c=a.next();!c.done;c=a.next())this.names_.push(new XHc(c.value,b))};f=bIc.prototype;f.toString=function(){return""};f.getMetaData=function(){return null};f.hasMetaData=function(){return!!this.getMetaData()};f.getField=function(a){return this.names_[a]||YHc};f.getFieldLength=function(){return this.names_.length};var cIc=new bIc([],null);var dIc=function(a,b){this.phone_=a;this.edgeCollection_=b;this.metadata_=null};f=dIc.prototype;f.toString=function(){return""};f.getMetaData=function(){this.metadata_||(this.metadata_=this.hasMetaData()?new zS(this.phone_.metadata,this.edgeCollection_):SHc);return this.metadata_};f.hasMetaData=function(){return"metadata"in this.phone_};f.getValue=function(){return this.phone_.value||""};f.hasValue=function(){return!!this.getValue()};
f.getPrimary=function(){var a=this.phone_.metadata;return!(!a||!a.primary)};var eIc=new dIc({},null);var fIc=function(a,b){this.phones_=[];a=k(a);for(var c=a.next();!c.done;c=a.next())this.phones_.push(new dIc(c.value,b))};f=fIc.prototype;f.toString=function(){return""};f.getMetaData=function(){return null};f.hasMetaData=function(){return!!this.getMetaData()};f.getField=function(a){return this.phones_[a]||eIc};f.getFieldLength=function(){return this.phones_.length};var gIc=new fIc([],null);var hIc=function(a,b){this.photo_=a;this.edgeCollection_=b;this.metadata_=null};f=hIc.prototype;f.toString=function(){return""};f.getMetaData=function(){this.metadata_||(this.metadata_=this.hasMetaData()?new zS(this.photo_.metadata,this.edgeCollection_):SHc);return this.metadata_};f.hasMetaData=function(){return"metadata"in this.photo_};f.getUrl=function(){return this.photo_.url||""};f.hasUrl=function(){return!!this.getUrl()};var iIc=new hIc({},null);var jIc=function(a,b){this.photos_=[];a=k(a);for(var c=a.next();!c.done;c=a.next())c=c.value,c.isMonogram||c.isDefault||this.photos_.push(new hIc(c,b))};f=jIc.prototype;f.toString=function(){return""};f.getMetaData=function(){return null};f.hasMetaData=function(){return!!this.getMetaData()};f.getField=function(a){return this.photos_[a]||iIc};f.getFieldLength=function(){return this.photos_.length};var kIc=new jIc([],null);var AS=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};
AS.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_?DOa(this.getName().getValue(),this.getEmail().getField(this.emailIndex_).getValue()):"";this.text_=a}return this.text_};AS.prototype.hasName=function(){return!!this.getName()};
AS.prototype.getName=function(){if(!this.name_){a:{var a=IOa(this);if(a.names_.length){for(var b=k(aIc),c=b.next();!c.done;c=b.next()){c=c.value;for(var d=k(a.names_),e=d.next();!e.done;e=d.next())if(e=e.value,e.getMetaData().getContainerType()===c){a=new ZHc(e);break a}}a=new ZHc(a.names_[0])}else a=$Hc}this.name_=a}return this.name_};
var IOa=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 bIc(b,a.edgeCollection_):cIc}return a.nameRepeated_};f=AS.prototype;f.hasEmail=function(){return!!this.getEmail().getField(0).getValue()};
f.getEmail=function(){if(!this.email_){var a=null;this.person_?a=this.person_.email:this.googleGroup_?a=this.googleGroup_.emails:this.contactLabel_&&(a=[{value:EOa(this.contactLabel_)}]);this.email_=a?new VHc(a,this.edgeCollection_):WHc}return this.email_};f.hasPhone=function(){return!!this.getPhone().getField(0).getValue()};f.getPhone=function(){if(!this.phone_){var a;this.person_?a=this.person_.phone:this.googleGroup_&&(a=this.googleGroup_.phones);this.phone_=a?new fIc(a,this.edgeCollection_):gIc}return this.phone_};
f.hasPhoto=function(){return!!this.getPhoto().getField(0).getUrl()};f.getPhoto=function(){if(!this.photo_){var a;this.person_&&(a=this.person_.photo);this.photo_=a?new jIc(a,this.edgeCollection_):kIc}return this.photo_};f.getAddress=function(){return null};f.getStatus=function(){return null};f.hasStatus=function(){return!!this.getStatus()};f.hasAttribute=function(a){return!!this.getAttribute(a)};f.getAttribute=function(){return null};f.getLocation=function(){return null};f.getDisplayName=function(){return null};
f.getRelation=function(){return null};f.getEvent=function(){return null};var DOa=function(a,b){return a?b&&a!=b?'"'+a.replace(/[\\"]/g,"\\$&")+'" <'+b+">":a:b||""},lIc=new AS(null,null,null,null);var mIc=function(){this.keyToIndex_=new Map},nIc=function(a,b,c){return c.map(function(d){return a.get(b,d)}).filter(function(d){return null!=d})};mIc.prototype.get=function(a,b){"DOMAIN_PROFILE"===b&&(b="PROFILE");return this.contains(a,b)?this.keyToIndex_.get(this.getKey_(a,b)):null};mIc.prototype.set=function(a,b,c){"DOMAIN_PROFILE"===b&&(b="PROFILE");this.keyToIndex_.set(this.getKey_(a,b),c)};
mIc.prototype.contains=function(a,b){"DOMAIN_PROFILE"===b&&(b="PROFILE");return this.keyToIndex_.has(this.getKey_(a,b))};mIc.prototype.getKey_=function(a,b){return a+"="+b};var GOa=function(a){this.evergreenProfile_=a?new AS(a,null,null,null):lIc};GOa.prototype.toString=function(){return""};var oIc=new GOa(null);var pIc=new NHc(!0,null),BS=function(a){this.edgeIndexResolver_=new mIc;this.sourcesCache_=new Map;this.encodedContainerIds_=[];this.readonlyOutgoingEdges_=HOa(a,this.edgeIndexResolver_,this.encodedContainerIds_)};BS.prototype.get=function(a){return this.readonlyOutgoingEdges_[a]||oIc};var RHc=function(a,b){return b?b.map(function(c){return a.edgeIndexResolver_.get(c.containerId,c.containerType)}).filter(function(c){return null!=c}):[]};BS.prototype.getSize=function(){return this.readonlyOutgoingEdges_.length};
BS.prototype.getSources=function(a,b){if(!a||!b)return[];if("CONTACT"===b)return[pIc];var c=a+"="+b;this.sourcesCache_.has(c)||this.sourcesCache_.set(c,nIc(this.edgeIndexResolver_,a,[b]).map(function(d){return new NHc(!1,d)}));return this.sourcesCache_.get(c)};var qIc=new BS(null);var rIc=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 BS(this.person_);this.emailIndex_=b;this.profile_=new AS(this.person_,this.googleGroup_,this.contactLabel_,this.edgeCollection_,this.emailIndex_);this.photoUrl_=this.phone_=this.name_=this.allIds_=null;this.text=c?this.getName()||"":this.profile_.toString()};V(rIc,QEc);f=rIc.prototype;
f.toString=function(){return"cl"===this.getType()?this.getEmail()||"":this.text};f.getAllIds_=function(){if(!this.allIds_){if(this.person_)var a=MHc(this.person_);else if(this.googleGroup_)if(a=this.googleGroup_){var b=COa(a.sourceIds);a=new KHc(a.personId||"",b)}else a=LHc;else this.contactLabel_?(a=this.contactLabel_)?(b={},b.CONTACT=Em("id.id",a)||"",a=new KHc("",b)):a=LHc:a=LHc;this.allIds_=a}return this.allIds_};f.getId=function(){return this.getAllIds_().contactId};
f.getName=function(){null===this.name_&&(this.name_=JOa(this.profile_,function(a){return!!a&&!PHc(a)}),null===this.name_&&(this.name_=sIc(this,JOa)));return this.name_};f.getEmail=function(){return this.profile_.getEmail().getField(this.emailIndex_).getValue()};f.getPhoneNumber=function(){null===this.phone_&&(this.phone_=KOa(this.profile_,function(a){return!!a&&!PHc(a)}),null===this.phone_&&(this.phone_=sIc(this,KOa)));return this.phone_};
f.getType=function(){var a=this.profile_;return a.contactLabel_?"cl":a.googleGroup_?"li":!a.hasEmail()&&a.hasPhone()?"pt":"ct"};f.getPriority=function(){return 0};f.getPhotoUrl=function(){null===this.photoUrl_&&(this.photoUrl_=LOa(this.profile_,function(a){return!!a&&!PHc(a)}),null===this.photoUrl_&&(this.photoUrl_=sIc(this,LOa)));return this.photoUrl_};f.getLoggingId=function(){return this.getAllIds_().loggingId};
var sIc=function(a,b){for(var c=a.profile_.getEmail().getField(a.emailIndex_).getMetaData(),d=0;d<QHc(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<OHc(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""},tIc=function(a,b,c){c=void 0===c?!1:c;if(void 0===b?0:b)return a.map(function(q){return new rIc(q,void 0,!0)});b=new Set;var d=
[];a=k(a);for(var e=a.next();!e.done;e=a.next()){e=e.value;var g=Em("person.email",e)||Em("googleGroup.emails",e)||[];if(c||g&&g.length)for(var h=0;h<g.length;h++){var l=(Em("value",g[h])||"").trim().toLowerCase();if(c){if(b.has(l))continue;b.add(l)}d.push(new rIc(e,h))}else d.push(new rIc(e))}return d};var uIc=function(a,b,c,d,e,g,h,l,q,v,y,B,I,N,Q,Z){Q=void 0===Q?new TR:Q;Z=void 0===Z?!1:Z;this.metrics=a;this.peopleRoot=b;this.gapiApiKey=c;this.clientId=d;this.clientName=e;this.clientVersion=g||"contact_store_336195648";this.affinityType=h;this.delegatorId=l;this.timeoutMs=q;this.onAuthError=v?v:function(){};this.autocompletePageSize=y;this.rankedTargetsPageSize=B;this.peopleContainerMask=I.split(/[\s,]+/).filter(function(Y){return!!Y});this.peopleFieldMask=N;this.experiments=Q;this.includeOnlyNames=
Z};uIc.prototype.setTimeout=function(a){var b=this.timeoutMs;0<a&&(this.timeoutMs=a);return b};var vIc=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};V(vIc,Error);var CS=function(a,b,c){this.config=a;this.onAuthError_=a.onAuthError;this.timeoutMs_=a.timeoutMs;this.metrics_=a.metrics;this.metric_=new jS(b);this.handler_=c;this.promise_=this.query_=null;this.state_=0;this.addressBookId_="";this.metrics_.start(this.metric_,"total");this.metrics_.start(this.metric_,"blocked")};f=CS.prototype;f.setAddressBookId=function(a){this.addressBookId_=a};f.getAddressBookId=function(){return this.addressBookId_};f.isPending=function(){return 1==this.state_};f.getQuery=function(){return this.query_};
f.setQuery=function(a){this.query_=a};f.cancel=function(){switch(this.state_){case 1:this.promise_.cancel();break;case 0:this.state_=2,this.promise_=A4b(new Kz),wIc(this,null,11)}};
f.send=function(a){var b=this;if(0!==this.state_)return this.promise_;this.metrics_.count(this.metric_);this.metrics_.stop(this.metric_,"blocked");this.metrics_.start(this.metric_,"network");this.state_=1;var c=this.buildRequest();if(c&&c.path){var d=this.config.gapiApiKey||"";d&&!tOa()&&(c.params=c.params||{},c.params.key=d);c.headers=uOa(d);c.root=this.config.peopleRoot;c.authType="auto";a=a.request(c)}else a=Promise.resolve({result:{}});return this.promise_=K4b(D4b([a,T4b(this.timeoutMs_,"TIMEOUT")]),
function(){b.state_=2;b.metrics_.stop(b.metric_,"network")}).then(function(e){return b.onResponse_(e)},function(e){return b.onError_(e)})};f.onResponse_=function(a){if("TIMEOUT"===a)this.onError_(a);else{var b=a&&a.result;if(!b||"error"in b)this.onError_(a);else{try{var c=this.processResponse(b)}catch(d){this.onError_(d);return}try{wIc(this,c,0)}finally{this.metrics_.stop(this.metric_,"total"),this.metrics_.status(this.metric_,0)}}}};
f.onError_=function(a){var b=!1,c=2,d=1;try{if("TIMEOUT"===a)c=4,d=10;else if(a instanceof Kz)c=1,d=11;else if(a instanceof vIc)c=a.code,d=mFc(c);else if(a&&"object"===typeof a){var e=Em("result.error.code",a)||a.status,g=e;g=Number(g);c=jFc.has(g)?jFc.get(g):200<=g&&300>g?0:400<=g&&500>g?9:500<=g&&600>g?13:2;d=mFc(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),wIc(this,null,d,b)}};
var wIc=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 xIc=function(a,b,c){var d=(new Gm).setEventType(2).setRpcType(1).setToken(b);CS.call(this,a,d,c);this.clientId_=a.clientId;this.clientName_=a.clientName;this.clientVersion_=a.clientVersion;this.delegatorId_=a.delegatorId;this.token_=b;this.pageSize_=a.autocompletePageSize};V(xIc,CS);
xIc.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}};
xIc.prototype.processResponse=function(a){var b=a.status;if(b){if(b.personalResultsNotReady)throw new vIc(14,"PersonalResultsNotReady");if(b.requestThrottled)throw new vIc(8,"RequestThrottled");if(b.containsPartialResults)throw new vIc(8,"ContainsPartialResults");}return tIc(a.results||[],this.config.includeOnlyNames)};var yIc=function(a,b){this.person_=a;this.allIds_=null;this.edgeCollection_=b;this.profile_=this.person_?new AS(this.person_,null,null,this.edgeCollection_):lIc};f=yIc.prototype;f.toString=function(){return""};f.getAllIds_=function(){this.allIds_||(this.allIds_=MHc(this.person_));return this.allIds_};f.getId=function(){return this.getAllIds_().contactId||this.getAllIds_().profileId||this.getAllIds_().syntheticId};f.hasAttribute=function(a){return!!this.getAttribute(a)};f.getAttribute=function(){return null};
f.getProfile=function(){return this.profile_};f.getAffinity=function(){return null};f.hasAffinity=function(){return!!this.getAffinity()};f.getDeleted=function(){return!1};var zIc=new yIc(null,qIc);var AIc=function(a){a=void 0===a?null:a;this.edgeCollection_=new BS(a);this.contact_=a?new yIc(a,this.edgeCollection_):zIc};f=AIc.prototype;f.toString=function(){return""};f.getId=function(){return this.contact_.getId()};f.getAttribute=function(a){return this.contact_.getAttribute(a)};f.hasAttribute=function(a){return this.contact_.hasAttribute(a)};f.getProfile=function(){return this.contact_.getProfile()};f.getAffinity=function(){return this.contact_.getAffinity()};f.hasAffinity=function(){return this.contact_.hasAffinity()};
f.getDeleted=function(){return this.contact_.getDeleted()};var BIc=function(a,b,c){CS.call(this,a,(new Gm).setEventType(2).setRpcType(3).setLookupType(4),c);this.clientName_=a.clientName;this.clientVersion_=a.clientVersion;this.delegatorId_=a.delegatorId;this.personIds_=b.filter(function(d){return!!d});this.peopleContainerMask_=a.peopleContainerMask;this.peopleFieldMask_=a.peopleFieldMask};V(BIc,CS);
BIc.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}};BIc.prototype.processResponse=function(a){return(a.personResponse||[]).filter(function(b){return"SUCCESS"==b.status}).map(function(b){return new AIc(b.person)})};var DS=function(a,b,c,d){CS.call(this,a,zOa(b),d);this.clientName_=a.clientName;this.clientVersion_=a.clientVersion;this.delegatorId_=a.delegatorId;this.lookupType_=CIc(b);this.knownIds_=c.filter(function(e){return!!e});this.peopleContainerMask_=a.peopleContainerMask;this.peopleFieldMask_=a.peopleFieldMask};V(DS,CS);
DS.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}};
DS.prototype.processResponse=function(a){var b=a.matches,c=a.people,d=[];b&&c&&b.forEach(function(e){e=k(e.personId);for(var g=e.next();!g.done;g=e.next())(g=c[g.value])&&d.push(new AIc(g))});return d};var CIc=function(a){switch(a){case 1:return"EMAIL";case 2:return"PHONE";case 3:return"CONTACT";case 5:return"SYNTHETIC";default:return""}};var DIc=function(a,b){CS.call(this,a,(new Gm).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_=[];vi(a.experiments,6,!0)&&this.peopleExtensionNames_.push("FILTER_TO_PRIMARY")};V(DIc,CS);
DIc.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}};DIc.prototype.processResponse=function(a){return tIc(a.rankedTarget||[],this.config.includeOnlyNames,!0)};f=MOa.prototype;f.getQuery=function(){return this.query_};f.setQuery=function(a){this.query_=a};f.getError=function(){return this.error_};f.setError=function(a){this.error_=a};f.getConfiguration=function(){return this.config_};f.setConfiguration=function(a){this.config_=a};f.getUserData=function(){return this.userData_};f.setUserData=function(a){this.userData_=a};var EIc=new Map([[1,4],[2,2],[3,1],[4,7]]),HIc=function(a,b){ng.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 jS((new Gm).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?FIc(c,d):GIc(c,5)},function(d){c.metrics_.logError("gapi.client failed to load: "+d,d);GIc(c,5)})};
V(HIc,ng);var FIc=function(a,b){b&&b.request?(yOa(),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 IIc(a,d,e)})})):GIc(a,9)};HIc.prototype.disposeInternal=function(){for(var a=k(this.queuedRequests_.keys()),b=a.next();!b.done;b=a.next())EHc(this,b.value)};
var GIc=function(a,b){a.metrics_.status(a.gapiMetric_,b);a.gapiFailed_=!0;a.disposeInternal()},EHc=function(a,b){b=b||"";a.queuedRequests_.has(b)&&(JIc(a.queuedRequests_.get(b)),a.queuedRequests_.delete(b))},KIc=function(a,b,c){a.gapiFailed_?c.cancel():(BOa(a,b).push(c),IIc(a,b,c))},IIc=function(a,b,c){a.gapiClient_&&K4b(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)}})},BOa=function(a,b){b=b||"";if(a.queuedRequests_.has(b))return a.queuedRequests_.get(b);
var c=[];a.queuedRequests_.set(b,c);return c},JIc=function(a){a&&a.length&&(a.forEach(function(b){return b.cancel()}),a.length=0)};HIc.prototype.loadContactRows=function(a,b,c){var d=a&&a.token||"",e=function(h,l){return c(h,g,b,a,l)},g=d?new xIc(this.config_,d,e):new DIc(this.config_,e);KIc(this,b,g);return g};
HIc.prototype.execute=function(a){if(a.isMutate())return this.metrics_.status(new jS((new Gm).setEventType(2).setRpcType(4)),12),LIc(a);var b=a.getQueryParameters&&a.getQueryParameters()||{},c=b.addressBookId,d=function(y,B){if(B)a.setResponse(pFc(B,h));else{B=new MOa(b);B.contacts_=y;y=a.setResponse;var I=new oFc(h);I.queryResponse_=B;I.errorCode_=B.getError();y.call(a,I)}},e=this.config_.setTimeout(MIc(a));try{var g=b.emailAddresses||[];if(g.length)var h=new DS(this.config_,1,g,d);else{var l=b.contactIds||
[];if(l.length)h=new DS(this.config_,3,l,d);else{var q=b.profileIds||[];if(q.length)h=new BIc(this.config_,q,d);else{var v=b.syntheticIds||[];if(v.length)h=new DS(this.config_,5,v,d);else return this.metrics_.status(new jS((new Gm).setEventType(2)),12),LIc(a)}}}}finally{this.config_.setTimeout(e)}h.setQuery(a);KIc(this,c,h);return h};var LIc=function(a){var b=new SEc(function(){return a.setResponse(pFc(5,b))});b.setQuery(a);return b};var NIc=function(a,b,c,d){Km.call(this,a,b,c,d)};V(NIc,Km);NIc.prototype.execute=function(a){a.isMutate()&&a.addSuccessCallback(Ap(this.handleExecuteResponse_,this,a));a=this.transport_.execute(a);a.setAddressBookId(this.getId());return a};NIc.prototype.handleExecuteResponse_=function(a,b){if(b.hasChanges()){var c=b.mutateResponse_;if(a.getNotifyOnChange()||c&&c.getError())a=new BFc([b.mutateResponse_],"g"),this.dispatchEvent(a)}};var OIc=function(a,b,c){b=b||new GHc(!0,!0);Km.call(this,a,b,"personal",c)};V(OIc,NIc);OIc.prototype.configure=function(a,b){NIc.prototype.configure.call(this,a,b)};var PIc=function(){throw Error("Ed");};var ES={},QIc={},RIc={},SIc={},TIc={},FS=function(){throw Error("Gd");};FS.prototype.contentDir=null;FS.prototype.getContent=function(){return this.content};FS.prototype.toString=function(){return this.content};FS.prototype.toSafeHtml=function(){if(this.contentKind!==ES)throw Error("Hd");return Jf(this.toString())};var UIc=function(){FS.call(this)};Cp(UIc,FS);UIc.prototype.contentKind=ES;var VIc=function(){FS.call(this)};Cp(VIc,FS);VIc.prototype.contentKind=QIc;VIc.prototype.contentDir=1;var GS=function(a,b){return null!=a&&a.contentKind===b};var WIc=function(a){if(null!=a)switch(a.contentDir){case 1:return 1;case -1:return-1;case 0:return 0}return null},co=function(a){return GS(a,ES)?a:a instanceof Nm?$n(Ui(a).toString()):a instanceof Nm?$n(Ui(a).toString()):$n(String(String(a)).replace(XIc,HS),WIc(a))},$n=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}}(UIc),YIc=function(a){if(null==a)throw Error("Id");return a},IS=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}}(UIc),ZIc=function(a){function b(c){this.content=c}b.prototype=a.prototype;return function(c){return(c=String(c))?new b(c):""}}(VIc),eo=function(a){return GS(a,ES)?a:$n($Ic(a,aJc),WIc(a))},bJc=RegExp("^<(?:area|base|br|col|command|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)\\b"),$Ic=function(a,b){if(!b)return String(a).replace(cJc,"").replace(dJc,"&lt;");a=String(a).replace(/\[/g,
"&#91;");var c=[],d=[];a=a.replace(cJc,function(g,h){if(h&&(h=h.toLowerCase(),b.hasOwnProperty(h)&&b[h])){var l=c.length,q="</",v="";if("/"!=g.charAt(1)){q="<";for(var y;y=eJc.exec(g);)if(y[1]&&"dir"==y[1].toLowerCase()){if(g=y[2]){if("'"==g.charAt(0)||'"'==g.charAt(0))g=g.substr(1,g.length-2);g=g.toLowerCase();if("ltr"==g||"rtl"==g||"auto"==g)v=' dir="'+g+'"'}break}eJc.lastIndex=0}c[l]=q+h+">";d[l]=v;return"["+l+"]"}return""});a=String(a).replace(fJc,HS);var e=gJc(c);a=a.replace(/\[(\d+)\]/g,function(g,
h){return d[h]&&c[h]?c[h].substr(0,c[h].length-1)+d[h]+">":c[h]});return a+e},hJc=function(a){return a.replace(/<\//g,"<\\/").replace(/\]\]>/g,"]]\\>")},gJc=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]="":bJc.test(e)||b.push("</"+e.substring(1))}return b.reverse().join("")},bo=function(a){return GS(a,ES)?String($Ic(a.getContent())).replace(fJc,
HS):String(a).replace(XIc,HS)},lJc=function(a){GS(a,QIc)||GS(a,RIc)?a=JS(a):a instanceof Zb?a=JS($b(a)):a instanceof Zb?a=JS($b(a)):a instanceof It?a=JS(qg(a).toString()):a instanceof It?a=JS(qg(a).toString()):(a=String(a),a=iJc.test(a)?a.replace(jJc,kJc):"about:invalid#zSoyz");return a},nJc=function(a){GS(a,QIc)||GS(a,RIc)?a=JS(a):a instanceof Zb?a=JS($b(a)):a instanceof Zb?a=JS($b(a)):a instanceof It?a=JS(qg(a).toString()):a instanceof It?a=JS(qg(a).toString()):(a=String(a),a=mJc.test(a)?a.replace(jJc,
kJc):"about:invalid#zSoyz");return a},KS=function(a){GS(a,TIc)?a=hJc(a.getContent()):null==a?a="":a instanceof Jt?a=hJc(RUb(a)):a instanceof Jt?a=hJc(RUb(a)):a instanceof Kt?a=hJc(TUb(a)):a instanceof Kt?a=hJc(TUb(a)):(a=String(a),a=oJc.test(a)?a:"zSoyz");return a},pJc={"\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;"},HS=function(a){return pJc[a]},qJc={"\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"},kJc=function(a){return qJc[a]},XIc=/[\x00\x22\x26\x27\x3c\x3e]/g,fJc=/[\x00\x22\x27\x3c\x3e]/g,rJc=/[\x00\x09-\x0d \x22\x26\x27\x2d\/\x3c-\x3e`\x85\xa0\u2028\u2029]/g,sJc=/[\x00\x09-\x0d \x22\x27\x2d\/\x3c-\x3e`\x85\xa0\u2028\u2029]/g,jJc=/[\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,oJc=/^(?!-*(?:expression|(?:moz-)?binding))(?:(?:[.#]?-?(?:[_a-z0-9-]+)(?:-[_a-z0-9-]+)*-?|(?:calc|cubic-bezier|hsl|hsla|hue-rotate|invert|linear-gradient|max|min|rgb|rgba|rotate|rotateZ|translate|translate3d|translateY)\((?:[-\u0020\t,+.!#%_0-9a-zA-Z]|(?:calc|cubic-bezier|hsl|hsla|hue-rotate|invert|linear-gradient|max|min|rgb|rgba|rotate|rotateZ|translate|translate3d|translateY)\([-\u0020\t,+.!#%_0-9a-zA-Z]+\))+\)|[-+]?(?:[0-9]+(?:\.[0-9]*)?|\.[0-9]+)(?:e-?[0-9]+)?(?:[a-z]{1,4}|%)?|!important)(?:\s*[,\u0020]\s*|$))*$/i,
iJc=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i,mJc=/^[^&:\/?#]*(?:[\/?#]|$)|^https?:|^ftp:|^data:image\/[a-z0-9+]+;base64,[a-z0-9+\/]+=*$|^blob:/i,tJc=/^(?!on|src|(?:action|archive|background|cite|classid|codebase|content|data|dsync|href|http-equiv|longdesc|style|usemap)\s*$)(?:[a-z0-9_$:-]*)$/i,JS=function(a){return String(a).replace(jJc,kJc)},cJc=/<(?:!|\/?([a-zA-Z][a-zA-Z0-9:\-]*))(?:[^>'"]|"[^"]*"|'[^']*')*>/g,dJc=/</g,aJc={b:!0,br:!0,em:!0,i:!0,s:!0,strong:!0,sub:!0,sup:!0,u:!0},
eJc=/([a-zA-Z][a-zA-Z0-9:\-]*)[\t\n\r\u0020]*=[\t\n\r\u0020]*("[^"]*"|'[^']*')/g;var NOa={};var LS=function(a,b,c){Im.call(this);this.matcher_=a;this.selectionHandler_=c;this.renderer_=b;Jm(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_={}};Cp(LS,Im);f=LS.prototype;f.maxMatches_=10;f.getMatcher=function(){return this.matcher_};f.setMatcher=function(a){this.matcher_=a};f.getToken=function(){return this.token_};
f.handleEvent=function(a){var b=this.matcher_;if(a.target==this.renderer_)switch(a.type){case "hilite":this.hiliteId(a.row);break;case "select":var c=!1;if("number"===typeof a.row){a=a.row;var d=this.rows_[uJc(this,a)];c=!!d&&b.isRowDisabled&&b.isRowDisabled(d);d&&!c&&this.hiliteId_!=a&&this.hiliteId(a)}c||this.selectHilited();break;case "canceldismiss":vJc(this);break;case "dismiss":wJc(this)}};
f.setToken=function(a){this.token_!=a&&(this.token_=a,this.matcher_.requestMatchingRows(this.token_,this.maxMatches_,Ap(this.matchListener_,this)),vJc(this))};f.getTarget=function(){return this.target_};f.setTarget=function(a){this.target_=a};f.isOpen=function(){return this.renderer_.isVisible()};var xJc=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}};
LS.prototype.hiliteId=function(a){var b=uJc(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)};
LS.prototype.selectHilited=function(){var a=uJc(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=yJc(c,c.getValue(),c.getCursorPosition()),g=zJc(c,c.getValue());c.separatorCheck_&&!c.separatorCheck_.test(d)&&(d=d.replace(/[\s\xa0]+$/,"")+c.defaultSeparator_);0==e||nj(g[e-1])||(d=" "+d);e==g.length-1&&(d+=" ");if(d!=g[e]){g[e]=d;d=c.activeElement_;(Gp||Ep)&&d.blur();d.value=g.join("");for(var h=0,l=0;l<=e;l++)h+=
g[l].length;d.focus();e=h;g=c.activeElement_;AJc(g)&&(g.selectionStart=e);g=c.activeElement_;AJc(g)&&(g.selectionEnd=e)}}else c.setValue(d);c.rowJustSelected_=!0}this.dismiss();this.dispatchEvent({type:"update",row:b,index:a});return!0}this.dismiss();this.dispatchEvent({type:"update",row:null,index:null});return!1};
LS.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 wJc=function(a){a.dismissTimer_||(a.dismissTimer_=window.setTimeout(Ap(a.dismiss,a),100))};
LS.prototype.immediatelyCancelDelayedDismiss_=function(){return this.dismissTimer_?(window.clearTimeout(this.dismissTimer_),this.dismissTimer_=null,!0):!1};var vJc=function(a){a.immediatelyCancelDelayedDismiss_()||window.setTimeout(Ap(a.immediatelyCancelDelayedDismiss_,a),10)};LS.prototype.disposeInternal=function(){LS.superClass_.disposeInternal.call(this);delete this.inputToAnchorMap_;this.renderer_.dispose();this.selectionHandler_.dispose();this.matcher_=null};
LS.prototype.matchListener_=function(a,b,c){this.token_==a&&this.renderRows(b,c)};
LS.prototype.renderRows=function(a,b){var c="object"==Rb(b)&&b;b=(c?c.getPreserveHilited():b)?uJc(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_[ua(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):xJc(this));this.dispatchEvent("suggestionsupdate")};var uJc=function(a,b){b-=a.firstRowId_;return 0>b||b>=a.rows_.length?-1:b};LS.prototype.attachInputs=function(a){var b=this.selectionHandler_;b.attachInputs.apply(b,arguments)};LS.prototype.detachInputs=function(a){var b=this.selectionHandler_;b.detachInputs.apply(b,arguments);Array.prototype.forEach.call(arguments,function(c){Vb(this.inputToAnchorMap_,ua(c))},this)};
LS.prototype.update=function(a){this.selectionHandler_.update(a)};var BJc=function(a,b){var c=0,d=0;AJc(a)&&(c=a.selectionStart,d=b?-1:a.selectionEnd);return[c,d]},AJc=function(a){try{return"number"==typeof a.selectionStart}catch(b){return!1}};var EJc=function(a,b,c,d,e,g){if(Qn&&e)return CJc(a);if(e&&!d)return!1;if(!Gp){"number"===typeof b&&(b=DJc(b));var h=17==b||18==b||Qn&&91==b;if((!c||Qn)&&h||Qn&&16==b&&(d||g))return!1}if((Hp||Fp)&&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(Ep&&d&&b==a)return!1;switch(a){case 13:return Gp?g||e?!1:!(c&&d):!0;case 27:return!(Hp||Fp||Gp)}return Gp&&(d||e||g)?!1:CJc(a)},CJc=function(a){if(48<=a&&57>=a||96<=a&&106>=
a||65<=a&&90>=a||(Hp||Fp)&&0==a)return!0;switch(a){case 32:case 43:case 63:case 64:case 107:case 109:case 110:case 111:case 186:case 59:case 189:case 187:case 61:case 188:case 190:case 191:case 192:case 222:case 219:case 220:case 221:case 163:case 58:return!0;case 173:return Gp;default:return!1}},DJc=function(a){if(Gp)a=FJc(a);else if(Qn&&Hp)switch(a){case 93:a=91}return a},FJc=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 GJc=function(a,b,c,d){sz.call(this,d);this.type="key";this.keyCode=a;this.charCode=b;this.repeat=c};Cp(GJc,sz);var HJc=function(a,b){Im.call(this);a&&this.attach(a,b)};Cp(HJc,Im);f=HJc.prototype;f.element_=null;f.keyPressKey_=null;f.keyDownKey_=null;f.keyUpKey_=null;f.lastKey_=-1;f.keyCode_=-1;f.altKey_=!1;
var IJc={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},JJc={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},KJc=Qn&&Gp;f=HJc.prototype;
f.handleKeyDown_=function(a){(Hp||Fp)&&(17==this.lastKey_&&!a.ctrlKey||18==this.lastKey_&&!a.altKey||Qn&&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));EJc(a.keyCode,this.lastKey_,a.shiftKey,a.ctrlKey,a.altKey,a.metaKey)?(this.keyCode_=DJc(a.keyCode),KJc&&(this.altKey_=a.altKey)):this.handleEvent(a)};
f.resetState=function(){this.keyCode_=this.lastKey_=-1};f.handleKeyup_=function(a){this.resetState();this.altKey_=a.altKey};
f.handleEvent=function(a){var b=a.event_,c=b.altKey;if(Ep&&"keypress"==a.type){var d=this.keyCode_;var e=13!=d&&27!=d?b.keyCode:0}else(Hp||Fp)&&"keypress"==a.type?(d=this.keyCode_,e=0<=b.charCode&&63232>b.charCode&&CJc(d)?b.charCode:0):("keypress"==a.type?(KJc&&(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),Qn&&63==e&&224==d&&(d=191));var g=d=DJc(d);d?63232<=
d&&d in IJc?g=IJc[d]:25==d&&a.shiftKey&&(g=9):b.keyIdentifier&&b.keyIdentifier in JJc&&(g=JJc[b.keyIdentifier]);if(!Gp||"keypress"!=a.type||EJc(g,this.lastKey_,a.shiftKey,a.ctrlKey,c,a.metaKey))a=g==this.lastKey_,this.lastKey_=g,b=new GJc(g,e,a,b),b.altKey=c,this.dispatchEvent(b)};f.getElement=function(){return this.element_};
f.attach=function(a,b){this.keyUpKey_&&this.detach();this.element_=a;this.keyPressKey_=Jm(this.element_,"keypress",this,b);this.keyDownKey_=Jm(this.element_,"keydown",this.handleKeyDown_,b,this);this.keyUpKey_=Jm(this.element_,"keyup",this.handleKeyup_,b,this)};f.detach=function(){this.keyPressKey_&&(xz(this.keyPressKey_),xz(this.keyDownKey_),xz(this.keyUpKey_),this.keyUpKey_=this.keyDownKey_=this.keyPressKey_=null);this.element_=null;this.keyCode_=this.lastKey_=-1};
f.disposeInternal=function(){HJc.superClass_.disposeInternal.call(this);this.detach()};var MS=function(a,b,c,d){ng.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 Lz(d):null;this.eh_=new Tn(this);this.activateHandler_=new Tn(this);this.keyHandler_=new HJc;this.lastKeyCode_=-1};
Cp(MS,ng);f=MS.prototype;f.activeElement_=null;f.lastValue_="";f.waitingForIme_=!1;f.rowJustSelected_=!1;f.getValue=function(){return this.activeElement_.value};f.setValue=function(a){this.activeElement_.value=a};f.getCursorPosition=function(){return BJc(this.activeElement_,!0)[0]};
f.attachInputs=function(a){for(var b=0;b<arguments.length;b++){var c=arguments[b];Gz(c)&&(ZL(c,"combobox"),$L(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_),Gz(c))){var d=Az(c);try{var e=d&&d.activeElement;var g=e&&e.nodeName?e:null}catch(h){g=null}g==c&&LJc(this,c)}}};
f.detachInputs=function(a){for(var b=0;b<arguments.length;b++){var c=arguments[b];Gz(c)&&(c.removeAttribute("role"),c.removeAttribute("aria-autocomplete"));c==this.activeElement_&&this.handleBlur();this.eh_.unlisten(c,"focus",this.handleFocus);this.eh_.unlisten(c,"blur",this.handleBlur);this.activeElement_||this.activateHandler_.unlisten(c,"keydown",this.onKeyDownOnInactiveElement_)}};
f.disposeInternal=function(){MS.superClass_.disposeInternal.call(this);this.eh_.dispose();delete this.eh_;this.activateHandler_.dispose();this.keyHandler_.dispose();mg(this.timer_)};
var NJc=function(a,b){switch(b.keyCode){case 40:if(a.ac_.isOpen()){xJc(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}}MJc(a,b)},MJc=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()};MS.prototype.handleKeyUp=function(){return!1};MS.prototype.handleFocus=function(a){LJc(this,a.target||null)};
var LJc=function(a,b){a.activateHandler_.removeAll();a.ac_&&vJc(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_),Ep&&a.eh_.listen(a.activeElement_,"keypress",a.onIeKeyPress_))};f=MS.prototype;
f.handleBlur=function(){this.activeElement_&&(this.eh_.unlisten(this.keyHandler_,"key",this.onKey_),this.keyHandler_.detach(),this.eh_.unlisten(this.activeElement_,"keyup",this.handleKeyUp),this.eh_.unlisten(this.activeElement_,"mousedown",this.onMouseDown_),Ep&&this.eh_.unlisten(this.activeElement_,"keypress",this.onIeKeyPress_),this.waitingForIme_&&OJc(this),this.activeElement_=null,this.timer_&&(this.timer_.stop(),this.eh_.unlisten(this.timer_,"tick",this.onTick_)),this.ac_&&wJc(this.ac_))};
f.onTick_=function(){this.update()};f.onKeyDownOnInactiveElement_=function(a){this.handleFocus(a)};f.onKey_=function(a){this.lastKeyCode_=a.keyCode;this.ac_&&NJc(this,a)};f.onKeyPress_=function(){this.waitingForIme_&&229!=this.lastKeyCode_&&OJc(this)};f.onKeyUp_=function(a){this.waitingForIme_&&(13==a.keyCode||77==a.keyCode&&a.ctrlKey)&&OJc(this)};f.onMouseDown_=function(){};
var OJc=function(a){a.waitingForIme_&&(a.waitingForIme_=!1,a.eh_.unlisten(a.activeElement_,"keypress",a.onKeyPress_),a.eh_.unlisten(a.activeElement_,"keyup",a.onKeyUp_))};MS.prototype.onIeKeyPress_=function(a){MJc(this,a)};
MS.prototype.update=function(a){if(this.activeElement_&&(a||this.getValue()!=this.lastValue_)){if(a||!this.rowJustSelected_){a=this.getCursorPosition();var b=this.getValue();a=zJc(this,b)[yJc(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 yJc=function(a,b,c){a=zJc(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},zJc=function(a,b){if(!a.multi_)return[b];b=String(b).split("");for(var c=[],d=[],e=0,g=!1;e<b.length;e++)a.literals_&&-1!=a.literals_.indexOf(b[e])?(g||(c.push(d.join("")),d.length=0),d.push(b[e]),g=!g):g||-1==a.separators_.indexOf(b[e])?d.push(b[e]):(d.push(b[e]),c.push(d.join("")),d.length=0);c.push(d.join(""));return c};var PJc=function(a){return"string"==typeof a.className?a.className:a.getAttribute&&a.getAttribute("class")||""},QJc=function(a){return a.classList?a.classList:PJc(a).match(/\S+/g)||[]},RJc=function(a,b){"string"==typeof a.className?a.className=b:a.setAttribute&&a.setAttribute("class",b)},SJc=function(a,b){return a.classList?a.classList.contains(b):pa(QJc(a),b)},TJc=function(a,b){if(a.classList)a.classList.add(b);else if(!SJc(a,b)){var c=PJc(a);RJc(a,c+(0<c.length?" "+b:b))}},UJc=function(a,b){if(a.classList)Array.prototype.forEach.call(b,
function(e){TJc(a,e)});else{var c={};Array.prototype.forEach.call(QJc(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;RJc(a,b)}},VJc=function(a,b){a.classList?a.classList.remove(b):SJc(a,b)&&RJc(a,Array.prototype.filter.call(QJc(a),function(c){return c!=b}).join(" "))},WJc=function(a,b){a.classList?Array.prototype.forEach.call(b,function(c){VJc(a,c)}):RJc(a,Array.prototype.filter.call(QJc(a),function(c){return!pa(b,c)}).join(" "))};var XJc=function(a,b,c){ng.call(this);this.listener_=a;this.interval_=b||0;this.handler_=c;this.callback_=Ap(this.doAction_,this)};Cp(XJc,ng);f=XJc.prototype;f.id_=0;f.disposeInternal=function(){XJc.superClass_.disposeInternal.call(this);this.stop();delete this.listener_;delete this.handler_};f.start=function(a){this.stop();this.id_=im(this.callback_,void 0!==a?a:this.interval_)};f.stop=function(){this.isActive()&&jm(this.id_);this.id_=0};f.fire=function(){this.stop();this.doAction_()};
f.isActive=function(){return 0!=this.id_};f.doAction_=function(){this.id_=0;this.listener_&&this.listener_.call(this.handler_)};var YJc=function(a,b){if(b&&a in b)return a;var c=Hp?"Webkit":Gp?"Moz":Ep?"ms":null;return c?(c=c.toLowerCase(),a=c+Bsa(a),void 0===b||a in b?a:null):null};var NS=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};f=NS.prototype;f.getWidth=function(){return this.right-this.left};f.getHeight=function(){return this.bottom-this.top};f.clone=function(){return new NS(this.top,this.right,this.bottom,this.left)};f.contains=function(a){return this&&a?a instanceof NS?a.left>=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};
f.expand=function(a,b,c,d){ta(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this.bottom+=Number(c),this.left-=Number(d));return this};f.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};
f.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};f.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};
f.translate=function(a,b){a instanceof Vn?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(this.left+=a,this.right+=a,"number"===typeof b&&(this.top+=b,this.bottom+=b));return this};f.scale=function(a,b){b="number"===typeof b?b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;return this};var OS=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};OS.prototype.clone=function(){return new OS(this.left,this.top,this.width,this.height)};var Ngb=function(a){return new OS(a.left,a.top,a.right-a.left,a.bottom-a.top)};
OS.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 ZJc=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 OS(c,e,d-c,a-e)}return null};
f=OS.prototype;f.contains=function(a){return a instanceof Vn?a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height:this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height};f.distance=function(a){var b=a.x<this.left?this.left-a.x:Math.max(a.x-(this.left+this.width),0);a=a.y<this.top?this.top-a.y:Math.max(a.y-(this.top+this.height),0);return Math.sqrt(b*b+a*a)};f.getSize=function(){return new yz(this.width,this.height)};
f.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};f.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};f.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};
f.translate=function(a,b){a instanceof Vn?(this.left+=a.x,this.top+=a.y):(this.left+=a,"number"===typeof b&&(this.top+=b));return this};f.scale=function(a,b){b="number"===typeof b?b:a;this.left*=a;this.width*=a;this.top*=b;this.height*=b;return this};var PS=function(a,b){var c=Az(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""},vn=function(a,b){return PS(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]},Xn=function(a,b,c){if(b instanceof Vn){var d=b.x;b=b.y}else d=b,b=c;a.style.left=QS(d,!1);a.style.top=QS(b,!1)},$Jc=function(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}},aKc=function(a){if(Ep&&!(8<=
Number(Ip)))return a.offsetParent;var b=Az(a),c=vn(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=vn(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},Mgb=function(a){for(var b=new NS(0,Infinity,Infinity,0),c=Lm(a),d=c.document_.body,e=c.document_.documentElement,g=Y3b(c.document_);a=
aKc(a);)if(!(Ep&&0==a.clientWidth||Hp&&0==a.clientHeight&&a==d)&&a!=d&&a!=e&&"visible"!=vn(a,"overflow")){var h=RS(a),l=new Vn(a.clientLeft,a.clientTop);h.x+=l.x;h.y+=l.y;b.top=Math.max(b.top,h.y);b.right=Math.min(b.right,h.x+a.clientWidth);b.bottom=Math.min(b.bottom,h.y+a.clientHeight);b.left=Math.max(b.left,h.x)}d=g.scrollLeft;g=g.scrollTop;b.left=Math.max(b.left,d);b.top=Math.max(b.top,g);c=c.getViewportSize();b.right=Math.min(b.right,d+c.width);b.bottom=Math.min(b.bottom,g+c.height);return 0<=
b.top&&0<=b.left&&b.bottom>b.top&&b.right>b.left?b:null},dKc=function(a,b){b=b||Y3b(document);var c=b||Y3b(document);var d=RS(a),e=RS(c);if(!Ep||9<=Number(Ip)){h=PS(c,"borderLeftWidth");var g=PS(c,"borderRightWidth");l=PS(c,"borderTopWidth");q=PS(c,"borderBottomWidth");g=new NS(parseFloat(l),parseFloat(g),parseFloat(q),parseFloat(h))}else{var h=bKc(c,"borderLeft");g=bKc(c,"borderRight");var l=bKc(c,"borderTop"),q=bKc(c,"borderBottom");g=new NS(l,g,q,h)}c==Y3b(document)?(h=d.x-c.scrollLeft,d=d.y-c.scrollTop,
!Ep||10<=Number(Ip)||(h+=g.left,d+=g.top)):(h=d.x-e.x-g.left,d=d.y-e.y-g.top);a=cKc(a);e=c.clientHeight-a.height;g=c.scrollLeft;l=c.scrollTop;g+=Math.min(h,Math.max(h-(c.clientWidth-a.width),0));l+=Math.min(d,Math.max(d-e,0));c=new Vn(g,l);b.scrollLeft=c.x;b.scrollTop=c.y},RS=function(a){var b=Az(a),c=new Vn(0,0);var d=b?Az(b):document;d=!Ep||9<=Number(Ip)||X3b(Lm(d).document_)?d.documentElement:d.body;if(a==d)return c;a=$Jc(a);b=Dz(Lm(b).document_);c.x=a.left+b.x;c.y=a.top+b.y;return c},Ogb=function(a,
b,c){if(b.document_!=c.document_){var d=b.document_.body;c=c.getWindow();var e=new Vn(0,0),g=Ez(Az(d));if(ULb(g,"parent")){var h=d;do{if(g==c)var l=RS(h);else l=$Jc(h),l=new Vn(l.left,l.top);e.x+=l.x;e.y+=l.y}while(g&&g!=c&&g!=g.parent&&(h=g.frameElement)&&(g=g.parent))}d=Qgb(e,RS(d));!Ep||9<=Number(Ip)||X3b(b.document_)||(d=Qgb(d,Dz(b.document_)));a.left+=d.x;a.top+=d.y}},eKc=function(a,b,c){if(b instanceof yz)c=b.height,b=b.width;else if(void 0==c)throw Error("Ld");a.style.width=QS(b,!0);a.style.height=
QS(c,!0)},QS=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a},Wn=function(a){var b=cKc;if("none"!=vn(a,"display"))return b(a);var c=a.style,d=c.display,e=c.visibility,g=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";a=b(a);c.display=d;c.position=g;c.visibility=e;return a},cKc=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=Hp&&!b&&!c;return(void 0===b||d)&&a.getBoundingClientRect?(a=$Jc(a),new yz(a.right-a.left,a.bottom-a.top)):new yz(b,c)},Lgb=
function(a){var b=RS(a);a=Wn(a);return new OS(b.x,b.y,a.width,a.height)},fKc=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)+")")},SS=function(a,b){a.style.display=b?"":"none"},TS=function(a){return"rtl"==vn(a,"direction")},gKc=Gp?"MozUserSelect":Hp||Fp?"WebkitUserSelect":null,hKc=function(a){var b=a.getElementsByTagName("*");if(gKc){var c="none";a.style&&(a.style[gKc]=c);if(b){a=0;for(var d;d=b[a];a++)d.style&&
(d.style[gKc]=c)}}else if(Ep&&(c="on",a.setAttribute("unselectable",c),b))for(a=0;d=b[a];a++)d.setAttribute("unselectable",c)},Ugb=function(a,b){a=a.style;Gp?a.MozBoxSizing="border-box":Hp?a.WebkitBoxSizing="border-box":a.boxSizing="border-box";a.width=Math.max(b.width,0)+"px";a.height=Math.max(b.height,0)+"px"},iKc=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},jKc=function(a,b){return(b=a.currentStyle?a.currentStyle[b]:null)?iKc(a,b):0},kKc=function(a){if(Ep){var b=jKc(a,"marginLeft"),c=jKc(a,"marginRight"),d=jKc(a,"marginTop");a=jKc(a,"marginBottom");return new NS(d,c,a,b)}b=PS(a,"marginLeft");c=PS(a,"marginRight");d=PS(a,"marginTop");a=PS(a,"marginBottom");return new NS(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))},lKc={thin:2,medium:4,thick:6},bKc=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 lKc?lKc[b]:iKc(a,b)};var mKc=function(){if(XLb){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(da()))?a[1]:"0"}return Qn?(a=/1[0|1][_.][0-9_.]+/,(a=a.exec(da()))?a[0].replace(/_/g,"."):"10"):$Lb?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(da()))?a[1]:""):aMb||bMb||cMb?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(da()))?a[1].replace(/_/g,"."):""):""}();var US=function(a){return(a=a.exec(da()))?a[1]:""},nKc=function(){if(mMb)return US(/Firefox\/([0-9.]+)/);if(Ep||Fp||VLb)return jMb;if(qMb){if(ma()||saa()){var a=US(/CriOS\/([0-9.]+)/);if(a)return a}return US(/Chrome\/([0-9.]+)/)}if(rMb&&!ma())return US(/Version\/([0-9.]+)/);if(nMb||oMb){if(a=/Version\/(\S+).*Mobile\/(\S+)/.exec(da()))return a[1]+"."+a[2]}else if(pMb)return(a=US(/Android\s+([0-9.]+)/))?a:US(/Version\/([0-9.]+)/);return""}();var Kgb=function(a){if(a=a.offsetParent){var b="HTML"==a.tagName||"BODY"==a.tagName;if(!b||"static"!=vn(a,"position")){var c=RS(a);if(!b){b=TS(a);var d;if(d=b){d=rMb&&0<=waa(nKc,10);var e;if(e=dMb)e=0<=waa(mKc,10);var g=qMb&&0<=waa(nKc,85);d=Gp||d||e||g}b=d?-a.scrollLeft:b&&!j2a&&"visible"!=vn(a,"overflowX")?a.scrollWidth-a.clientWidth-a.scrollLeft:a.scrollLeft;c=Qgb(c,new Vn(b,a.scrollTop))}}}return c||new Vn},Rgb=function(a,b,c,d,e,g){a=a.clone();b=b.clone();var h=0;if(d||0!=c)c&4?a.x-=b.width+
(d?d.right:0):c&2?a.x-=b.width/2:d&&(a.x+=d.left),c&1?a.y-=b.height+(d?d.bottom:0):d&&(a.y+=d.top);if(g){if(e){h=a;c=b;d=0;65==(g&65)&&(h.x<e.left||h.x>=e.right)&&(g&=-2);132==(g&132)&&(h.y<e.top||h.y>=e.bottom)&&(g&=-5);h.x<e.left&&g&1&&(h.x=e.left,d|=1);if(g&16){var l=h.x;h.x<e.left&&(h.x=e.left,d|=4);h.x+c.width>e.right&&(c.width=Math.min(e.right-h.x,l+c.width-e.left),c.width=Math.max(c.width,0),d|=4)}h.x+c.width>e.right&&g&1&&(h.x=Math.max(e.right-c.width,e.left),d|=1);g&2&&(d|=(h.x<e.left?16:
0)|(h.x+c.width>e.right?32:0));h.y<e.top&&g&4&&(h.y=e.top,d|=2);g&32&&(l=h.y,h.y<e.top&&(h.y=e.top,d|=8),h.y+c.height>e.bottom&&(c.height=Math.min(e.bottom-h.y,l+c.height-e.top),c.height=Math.max(c.height,0),d|=8));h.y+c.height>e.bottom&&g&4&&(h.y=Math.max(e.bottom-c.height,e.top),d|=2);g&8&&(d|=(h.y<e.top?64:0)|(h.y+c.height>e.bottom?128:0));e=d}else e=256;h=e}e=new OS(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}},Pgb=function(a,b){return(b&8&&TS(a)?b^4:
b)&-9};var Rn=function(){};Rn.instance_=void 0;Rn.getInstance=function(){return Rn.instance_?Rn.instance_:Rn.instance_=new Rn};Rn.prototype.nextId_=0;Rn.prototype.idPrefix_="";Rn.prototype.setIdPrefix=function(a){this.idPrefix_=a};var In=function(a){return a.idPrefix_+":"+(a.nextId_++).toString(36)};var VS=function(a,b,c,d){Im.call(this);this.parent_=a||document.body;this.dom_=Lm(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};Cp(VS,Im);VS.prototype.getElement=function(){return this.element_};
VS.prototype.renderRows=function(a,b,c){this.token_=b;this.rows_=a;this.hilitedRow_=-1;this.startRenderingRows_=Date.now();this.target_=c;this.rowDivs_=[];oKc(this)};VS.prototype.dismiss=function(){this.visible_&&(this.visible_=!1,pKc(this,!1),SS(this.element_,!1))};VS.prototype.show=function(){this.visible_||(this.visible_=!0,pKc(this,!0),SS(this.element_,!0))};
var pKc=function(a,b){a.target_&&($L(a.target_,"haspopup",b),$L(a.element_,"expanded",b),$L(a.target_,"expanded",b),b?$L(a.target_,"owns",a.element_.id):(a.target_.removeAttribute("aria-owns"),aM(a.target_,null)))};VS.prototype.isVisible=function(){return this.visible_};
var qKc=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_&&WJc(a.rowDivs_[a.hilitedRow_],["ac-active","active"]),a.hilitedRow_=b,d&&(UJc(d,["ac-active","active"]),a.target_&&aM(a.target_,d),dKc(d,a.element_)))};VS.prototype.hiliteId=function(a){if(-1==a)qKc(this,-1);else for(var b=0;b<this.rows_.length;b++)if(this.rows_[b].id==a){qKc(this,b);break}};
var rKc=function(a){if(!a.element_){var b=a.dom_.createDom("DIV",{style:"display:none"});a.element_=b;UJc(b,Lg(a.className).split(" "));ZL(b,"listbox");b.id=In(Rn.getInstance());a.dom_.appendChild(a.parent_,b);Jm(b,"click",a.handleClick_,!1,a);Jm(b,"mousedown",a.handleMouseDown_,!1,a);Jm(b,"mouseover",a.handleMouseOver_,!1,a)}},oKc=function(a){rKc(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:In(Rn.getInstance())});ZL(d,"option");this.customRenderer_&&this.customRenderer_.renderRow?this.customRenderer_.renderRow(b,c,d):e4b(d,b.data.toString());c&&this.useStandardHighlighting_&&(this.wasHighlightedAtLeastOnce_=!1,sKc(this,d,c));TJc(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(),hKc(a.element_))};
VS.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=Kgb(c),g=Lgb(a),h=Mgb(a);h&&g.intersection(Ngb(h));Ogb(g,Lm(a),Lm(c));a=Pgb(a,b);b=g.left;a&4?b+=g.width:a&2&&(b+=g.width/2);a=new Vn(b,g.top+(a&1?g.height:0));a=Qgb(a,e);if(g=Mgb(c))g.top-=e.y,g.right-=e.x,g.bottom-=e.y,g.left-=e.x;e=a.clone();a=Pgb(c,d);d=Wn(c);b=d.clone();e=Rgb(e,b,a,null,g,65);e.status&496||(g=e.rect,Xn(c,new Vn(g.left,
g.top)),b=e.rect.getSize(),Tgb(d,b)||Ugb(c,b))}};VS.prototype.getTarget=function(){return this.target_||null};VS.prototype.disposeInternal=function(){this.element_&&(wz(this.element_,"click",this.handleClick_,!1,this),wz(this.element_,"mousedown",this.handleMouseDown_,!1,this),wz(this.element_,"mouseover",this.handleMouseOver_,!1,this),this.dom_.removeNode(this.element_),this.element_=null,this.visible_=!1);mg(this.animation_);this.parent_=null;VS.superClass_.disposeInternal.call(this)};
var sKc=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=tKc(a,c);if(0!=c.length){var e=b.nodeValue,g=new RegExp("\\b(?:"+c+")","gi");c=[];for(var h=0,l=g.exec(e),q=0;l;)q++,c.push(e.substring(h,l.index)),c.push(e.substring(l.index,g.lastIndex)),h=g.lastIndex,l=g.exec(e);c.push(e.substring(h));if(1<c.length){d=a.highlightAllTokens_?q:1;for(e=0;e<d;e++)g=2*e,b.nodeValue=c[g],h=
a.dom_.createElement("B"),h.className=a.highlightedClassName,a.dom_.appendChild(h,a.dom_.createTextNode(c[g+1])),h=b.parentNode.insertBefore(h,b.nextSibling),b.parentNode.insertBefore(a.dom_.createTextNode(""),h.nextSibling),b=h.nextSibling;c=c.slice(2*d);b.nodeValue=c.join("");a.wasHighlightedAtLeastOnce_=!0}else d&&sKc(a,b,d)}}else for(b=b.firstChild;b;)d=b.nextSibling,sKc(a,b,c),b=d},tKc=function(a,b){var c="";if(!b)return c;Array.isArray(b)&&(b=b.filter(function(d){return!nj(mj(d))}));a.highlightAllTokens_?
Array.isArray(b)?c=b.map(zl).join("|"):(c=eVb(b),c=zl(c),c=c.replace(/ /g,"|")):Array.isArray(b)?c=0<b.length?zl(b[0]):"":/^\W/.test(b)||(c=zl(b));return c},uKc=function(a,b){for(;b&&b!=a.element_&&!SJc(b,"ac-row");)b=b.parentNode;return b?a.rowDivs_.indexOf(b):-1};VS.prototype.handleClick_=function(a){var b=uKc(this,a.target);0<=b&&this.dispatchEvent({type:"select",row:this.rows_[b].id});a.stopPropagation()};VS.prototype.handleMouseDown_=function(a){a.stopPropagation();a.preventDefault()};
VS.prototype.handleMouseOver_=function(a){a=uKc(this,a.target);0<=a&&!(300>Date.now()-this.startRenderingRows_)&&this.dispatchEvent({type:"hilite",row:this.rows_[a].id})};var WS=function(a,b,c,d,e,g,h,l,q,v){g=g||new MS(",;",'"');h=new VS(h||null,q||this,v);h.reposition_=!0;h.className=b;h.highlightAllTokens_=!0;LS.call(this,this,h,g);this.inputHandler_=this.selectionHandler_;this.inputHandler_.ac_=this;this.contactStore_=a;this.addressBookId_=c;this.filter_=d||null;this.maxMatches_=e||15;this.ownsContactStore_=!!l};Cp(WS,LS);
var wKc=function(a,b,c,d,e,g,h){b=new WS(null,b,void 0,g,c,d,e,void 0,void 0,h);kC(a);Ap(vKc,null,b,!0);throw Error("Fd");},xKc=function(a,b,c,d,e,g,h){b=new WS(null,b,void 0,g,c,d,e,void 0,void 0,h);c=vKc;e=a.getClientInfo();d=(g=vi(e,10)||vi(a.getExperiments(),5,!0))?new oHc(void 0,mHc(a)):new xS(void 0,mHc(a));h=po(new tGc(a,1));var l=a.getUserInfo().getEnvType()||1;var q=EIc.get(l)||4;q=vOa("people-pa",void 0===q?0:q);l=4===l?mh(a.getClientInfo(),2)||"":mh(a.getClientInfo(),1)||"";var v=mh(a.getClientInfo(),
4),y=mh(a.getClientInfo(),5),B=mh(a.getClientInfo(),6)||"",I=a.getClientInfo().getAffinityType()||"";var N=a.getUserInfo();N=m(N,2);var Q=a.getAuthErrorHandler(),Z=Ag(a.getClientInfo(),8,3E4),Y=vi(a.getClientInfo(),17,!1);h=new uIc(h,q,l,v,y,B,I,N,Z,Q,Ag(a.getClientInfo(),13,15),Ag(a.getClientInfo(),14,500),mh(a.getClientInfo(),15,"CONTACT,PROFILE,DOMAIN_CONTACT,DOMAIN_PROFILE,AFFINITY"),mh(a.getClientInfo(),16,"person.name,person.photo,person.email,person.phone,person.email.certificate,person.metadata"),
a.getExperiments(),Y);a=new HIc(h,PEc(a));h=new OIc(a);h.configure(null,"Personal Contacts");d.addAddressBook(h,!0);g&&(a=new JHc(a,null,!!vi(e,11)),a.configure(null,"Domain Contacts"),d.addAddressBook(a,!0));c(b,!0,d);return b},vKc=function(a,b,c){b&&c.loadContactRows(vFc,function(){});yKc(a,c)};WS.prototype.disposeInternal=function(){this.inputHandler_.dispose();this.contactStore_&&this.ownsContactStore_&&mg(this.contactStore_);WS.superClass_.disposeInternal.call(this)};
var yKc=function(a,b){a.contactStore_=b;a.ownsContactStore_=!0;a.savedQuery_&&a.savedHandler_&&(a.currentRequest_=a.contactStore_.loadContactRows(a.savedQuery_,a.savedHandler_),a.savedQuery_=null,a.savedHandler_=null)};f=WS.prototype;f.savedQuery_=null;f.savedHandler_=null;f.inputHandler_=null;f.includeGroups_=!0;f.isRowDisabled=function(a){return!!a.rowDisabled};
f.requestMatchingRows=function(a,b,c){a={token:a,maxMatches:b,includeContacts:!0,includeGroups:this.includeGroups_,matchType:1,matchFieldList:tFc,addressBookId:this.addressBookId_,filter:this.filter_,isAutoCompleteMode:!0,isContactAutoComplete:!!this.returnFullContacts,includeEvergreenData:!1};b=Ap(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 SEc;var d=[];this.filter_&&(d=this.filter_(d,a.token));a=Bp(b,d,c,null,a);c.setResponse(a)}};f.handleAutoCompleteContacts_=function(a,b,c,d,e){a(e.token,b)};f.renderRows=function(a,b){WS.superClass_.renderRows.call(this,a,b)};f.dismiss=function(){WS.superClass_.dismiss.call(this)};
f.renderRow=function(a,b,c){b=b={displayName:a.data.text,newSection:!!(a.data.flags&1)};a=b.displayName;b=b.newSection;(a=$n('<div class="'+bo("goog-contacts-ui-autocomplete-name-nochat")+(b?" "+bo("goog-contacts-ui-autocomplete-new-section"):"")+'">'+co(a)+"</div>"))&&a.renderElement&&c?a.renderElement(c):(a=OOa(a),POa(c,a))};f.selectHilited=function(){var a=uJc(this,this.hiliteId_);return-1!=a&&(a=this.rows_[a],a.specialRowHandler)?(a.specialRowHandler(),!0):WS.superClass_.selectHilited.call(this)};
f.fireSelectionEvent=function(a){this.dispatchEvent(new zKc(a))};var zKc=function(a){rz.call(this,"k");this.row=a};Cp(zKc,rz);vLb("createAutoComplete",function(a,b,c,d,e,g,h,l,q,v){d&&(b=b+d+"/");b=PIc(kC(b));g&&b.loadContactRows(vFc,function(){});c=new WS(b,c,void 0,q,e,l,v,!0);c.attachInputs(U3b(document,a));return c});var XS=function(){this.eventHandler_=new Tn(this);XS.prototype.addInput=XS.prototype.addInput;XS.prototype.removeInput=XS.prototype.removeInput;XS.prototype.setTarget=XS.prototype.setTarget},AKc=function(a,b){var c=new XS;c.create(a,b);return c};f=XS.prototype;
f.create=function(a,b){a=U3b(document,a);this.acWidget_=b.contactStoreConfig?xKc(b.contactStoreConfig,b.acCssName||"ac-renderer",b.maxMatches||15,b.inputHandler,a.ownerDocument.body,b.filter,b.rightAlign):wKc(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(ca,
d.target.getTarget())});this.addInput(a)};f.dispose=function(){ora(this.acWidget_,this.eventHandler_)};f.setTarget=function(a){this.acWidget_.setTarget(a)};f.addInput=function(a){if(Array.isArray(a))for(var b=0;b<a.length;b++)this.acWidget_.inputHandler_.attachInputs(a[b]);else this.acWidget_.inputHandler_.attachInputs(a)};f.removeInput=function(a){if(Array.isArray(a))for(var b=0;b<a.length;b++)this.acWidget_.inputHandler_.detachInputs(a[b]);else this.acWidget_.inputHandler_.detachInputs(a)};
f.acWidget_=null;ca._EmailAc_create=AKc;var BKc=function(a,b){return new Pm("/",a,void 0,void 0,void 0,void 0,b)};Pm.prototype.setLocale=function(){};var CKc=function(a){this.params=a;this.pendingInputs=new Set;this.emailac=null};CKc.prototype.setTarget=function(a){this.emailac&&this.emailac.setTarget(a)};
Pm.prototype.initAutocomplete=function(a){if(this.emailAcInitialized_)throw Error("Nd");this.emailAcInitialized_=!0;this.commonAcParams_=a||{};for(var b in this.acWrappers_)DKc(this,this.acWrappers_[b]);this.focusedElement_&&(a=ua(this.focusedElement_),(a=this.inputToAcWrapper_[a])&&a.setTarget(this.focusedElement_));for(var c in this.acWrappers_)for(a=[].concat(Jc(this.acWrappers_[c].pendingInputs.values())),b=1;b<a.length;b++)wz(a[b],"focus",this.onTargetFocus_,!1,this)};
var DKc=function(a,b){var c=b.params;c.serverBase=a.serverBase_;c.onComplete=Ap(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(Jc(b.pendingInputs.values()));b.emailac=AKc(a[0],c);for(c=1;c<a.length;c++)b.emailac.addInput(a[c]);b.pendingInputs.clear()};f=Pm.prototype;
f.attachAutocomplete=function(a,b,c){a=U3b(document,a);var d=b||{};b=ua(a);this.onAcCompleteListeners_[b]=c;c="";for(var e in d)c+=e+"="+d[e]+";";e=this.acWrappers_[c];e||(e=new CKc(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_?DKc(this,e):Jm(a,"focus",this.onTargetFocus_,!1,this))};f.onTargetFocus_=function(a){this.focusedElement_=a.target;this.emailAcInitialized_||this.initAutocomplete()};
f.onCompleteCallback_=function(a){var b=this.onAcCompleteListeners_[ua(a)];b&&b(a)};f.detachAutocomplete=function(a){a=U3b(document,a);wz(a,"focus",this.onTargetFocus_,!1,this);var b=ua(a);delete this.onAcCompleteListeners_[b];var c=this.inputToAcWrapper_[b];c&&(c.emailac?c.emailac.removeInput(a):c.pendingInputs.delete(a),delete this.inputToAcWrapper_[b])};f.attachAutocompleteTo=function(a,b){this.initAutocomplete(b);this.attachAutocomplete(a,b)};vLb("goog.NewContactTools",Pm);
vLb("goog.NewContactTools.create",BKc);Pm.prototype.setLocale=Pm.prototype.setLocale;Pm.prototype.attachAutocompleteTo=Pm.prototype.attachAutocompleteTo;Pm.prototype.initAutocomplete=Pm.prototype.initAutocomplete;Pm.prototype.attachAutocomplete=Pm.prototype.attachAutocomplete;Pm.prototype.detachAutocomplete=Pm.prototype.detachAutocomplete;var TOa=function(a){this.rows_=a||[]};TOa.prototype.requestMatchingRows=function(a,b,c){var d=this.rows_;var e=[];if(""!=a)for(var g=new RegExp("(^|\\W+)"+zl(a),"i"),h=0;h<d.length&&e.length<b;h++){var l=d[h];String(l).match(g)&&e.push(l)}0==e.length&&(e=EKc(a,b,d));c(a,e)};
var SOa=function(a,b,c){return EKc(b,c,a.rows_)},EKc=function(a,b,c){for(var d=[],e=0;e<c.length;e++){var g=c[e],h=a.toLowerCase(),l=String(g).toLowerCase(),q=0;if(-1!=l.indexOf(h))q=parseInt((l.indexOf(h)/4).toString(),10);else for(var v=h.split(""),y=-1,B=10,I=0,N;N=v[I];I++)N=l.indexOf(N),N>y?(y=N-y-1,y>B-5&&(y=B-5),q+=y,y=N):(q+=B,B+=5);q<6*h.length&&d.push({str:g,score:q,index:e})}d.sort(function(Q,Z){var Y=Q.score-Z.score;return 0!=Y?Y:Q.index-Z.index});a=[];for(I=0;I<b&&I<d.length;I++)a.push(d[I].str);
return a};var YS=function(a,b,c,d,e){var g=this;this.activeSession=c;this.firstPartyAuthHelper=e;this.contactTools=null;this.subscription=new F.Subscription;this.acReadyDeferred=zk();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 l="QA"===g.activeSession.getEnvironmentType();l&&h.config.update("googleapis.config/root-1p","https://content-googleapis-test.sandbox.google.com");
var q="0",v=/\/u\/(\d+)\//.exec(b.absUrl());v&&(q=v[1]);h.config.update("googleapis.config/sessionIndex",q);g.acReadyDeferred.resolve(void 0);g.contactTools=d.create(l,function(){GEc(g.firstPartyAuthHelper)});g.contactTools.initAutocomplete()})}};YS.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()};
YS.prototype.attach=function(a,b,c){var d=this,e=function(h,l){return UOa(h,l,d.activeSession.getUserEmail(),c)},g=new F.Subscription;this.acReadyDeferred.promise.then(function(){d.contactTools&&(d.contactTools.attachAutocomplete(a,{ac2:!0,groups:!0,extendedInterface:!1,filter:e,cacheBusting:[c]},b),g.add(function(){var h;null==(h=d.contactTools)||h.detachAutocomplete(a)}))});return g};YS.\u0275fac=function(a){return new (a||YS)(w(jE),w(NG),w(rp),w(ZS),w(RR))};
YS.\u0275prov=nc({token:YS,factory:YS.\u0275fac,providedIn:"root"});var ZS=function(){};ZS.prototype.create=function(a,b){var c=new UR,d=c.getUserInfo();n(d,6,a?5:1);a=c.getExperiments();a=xi(a,5,!0);a=xi(a,1,!0);a=xi(a,3,!0);xi(a,2,!0);c.setAuthErrorHandler(b);return BKc("xapi",c)};ZS.\u0275fac=function(a){return new (a||ZS)};ZS.\u0275prov=nc({token:ZS,factory:ZS.\u0275fac,providedIn:"root"});var $S=function(a,b,c,d){kE.call(this);this.element=a;this.accessPolicyConverter=b;this.focusContacts=c;this.activeSession=d;this.autocompleteActive=new tu;this.additionalContactsCallback=function(){return[]};this.$element=this.element.nativeElement};V($S,kE);
$S.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-"+hVb());if(!this.activeSession.isAnonymous()){if("SINGLE"===this.fieldType)var b=function(){a.$element.value=FKc(GKc(a.$element.value));a.autocompleteActive.emit(!1);a.$element.dispatchEvent(new Event("change"));
a.$element.dispatchEvent(new Event("input"))};else if("MULTI"===this.fieldType)b=function(){for(var d="",e=[],g=a.$element,h=k(g.value.split(",")),l=h.next();!l.done;l=h.next())d+=l.value.trim(),d.match(/^[a-z0-9@\-\._\+]+$/i)?(e.push(FKc(d)),d=""):FEc.test(d)?(e.push(d),d=""):d.match(/(".+" )?<.+>/)&&(d=FKc(GKc(d)),e.push(d),d="");g.value=e.join(", ")+", ";a.autocompleteActive.emit(!1);a.$element.dispatchEvent(new Event("change"));a.$element.dispatchEvent(new Event("input"))};else throw Error("Od`"+
this.fieldType);var c=this.additionalContactsCallback();c=HKc(c);this.subscriptions.add(this.focusContacts.attach(this.$element,b,c))}};
var IKc=function(a){(0,F.timer)(150).pipe(qe(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)})},HKc=function(a){return a.map(function(b){return{text:b.text,getEmail:function(){return b.text},toString:function(){return b.id},getPriority:function(){}}})},GKc=function(a){var b=Math.max(0,a.lastIndexOf("<"));return a.substr(b).trim().replace(/[<>]/g,"")},FKc=function(a){a=
a.trim();","===na(a)&&(a=a.slice(0,-1));a=Dl(a);var b=a.split("@");return 2===b.length?b[0]+"@"+b[1].toLowerCase():a};$S.\u0275fac=function(a){return new (a||$S)(D(fd),D(NR),D(YS),D(rp))};
$S.\u0275dir=Cc({type:$S,selectors:[["","bContactAutocomplete",""]],hostBindings:function(a,b){a&1&&O("keydown",function(){return IKc(b)},!1,jd)("mousedown",function(){return IKc(b)})},inputs:{fieldType:["bContactAutocomplete","fieldType"],additionalContactsCallback:"additionalContactsCallback"},outputs:{autocompleteActive:"autocompleteActive"},features:[xe]});var aT=function(){};aT.\u0275fac=function(a){return new (a||aT)};aT.\u0275mod=Bc({type:aT});aT.\u0275inj=oc({imports:[MF]});var JKc=["textarea"],KKc=["hiddenInput"],LKc=["autocompleteUnderlay"],MKc=Symbol(),bT=function(a,b,c){kE.call(this);this.codefont=a;this.activeSession=b;this.window=c;this.textareaClass=[];this.disabled=!1;this.contentChange=new tu;this.focus=new tu;this.blur=new tu;this.autoResize=new tu;this.manualResize$=new tu;this.autocompleteUserName="";this.scrollPosition=this.autocompleteLeft=this.autocompleteTop=0;this.taggingInProgress=!1;this.wordInfo={wordStart:0,wordEnd:0,word:""};this.textAreaLastAtSymbolLocation=
this.textAreaLastCursorLocation=0};V(bT,kE);bT.\u0275dir=kE.\u0275dir;bT.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.codefont.codefont$.subscribe(function(b){b?Qm(a).classList.add("codefont"):Qm(a).classList.remove("codefont")}))};bT.prototype.ngOnDestroy=function(){kE.prototype.ngOnDestroy.call(this);this.focus.complete();this.blur.complete();this.manualResize$.complete()};bT.prototype.setValue=function(a){Qm(this).value!==a&&(Qm(this).value=a,this.manualResize$.next())};
bT.prototype.getValue=function(){return Qm(this).value};var Qm=function(a){return a.textareaRef.nativeElement},YOa=function(a){var b;return null==(b=a.hiddenInputRef)?void 0:b.nativeElement},VOa=function(a){return a.activeSession.isInternalSession()&&"INTERNAL_AUDIENCE"===a.audience},NKc=function(a){var b;return null==(b=a.autocompleteUnderlayRef)?void 0:b.nativeElement},OKc=function(a){var b=Qm(a).selectionStart;a.wordInfo=a.findWord(a.getValue(),b)};
bT.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 PKc=function(a){return"ArrowDown"===a.key||"ArrowUp"===a.key||"Enter"===a.key||"Escape"===a.key||"Tab"===a.key},QKc=function(a){var b=NKc(a);a=Qm(a);b&&a&&(b.scrollTop=a.scrollTop)},WOa=function(a){a.taggingInProgress=!1;a.autocompleteUserName=""},XOa=function(a,b){b=void 0===b?!1:b;var c=Qm(a),d=Qm(a).value,e,g=null==(e=YOa(a))?void 0:e.value;e=null==g?void 0:g.length;OKc(a);var h=a.wordInfo.word,l=d.slice(0,a.textAreaLastAtSymbolLocation+1);d=h.slice(1)===g?d.slice(a.textAreaLastAtSymbolLocation+
g.length+1):d.slice(a.textAreaLastCursorLocation);e&&(a.textAreaLastCursorLocation=l.length+e);b?(b=l+g+" "+d,a.textAreaLastCursorLocation+=1):b=l+g+d;c.value=b};bT.prototype[MKc]=function(){return this.findWord};bT.\u0275fac=function(a){return new (a||bT)(D(XN),D(rp),D(jE))};
bT.\u0275cmp=zc({type:bT,selectors:[["b-comment-draft-textarea"]],viewQuery:function(a,b){a&1&&(jf(JKc,7),jf(KKc,5),jf(LKc,5));if(a&2){var c;hf(c=lf())&&(b.textareaRef=c.first);hf(c=lf())&&(b.hiddenInputRef=c.first);hf(c=lf())&&(b.autocompleteUnderlayRef=c.first)}},hostBindings:function(a,b){a&1&&O("click",function(){WOa(b)},!1,Pga)("keyup",function(c){var d=c.key;c=c.target.classList.contains("autocomplete-hidden-input");"Escape"===d&&c&&(WOa(b),Qm(b).focus())},!1,Pga)},inputs:{textareaClass:"textareaClass",
disabled:"disabled",placeholder:"placeholder",idForAriaLabel:"idForAriaLabel",audience:"audience"},outputs:{contentChange:"contentChange",focus:"focus",blur:"blur",autoResize:"autoResize"},features:[xe],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),O("keydown",function(c){"Escape"===c.key&&(WOa(b),Qm(b).focus())}),H(2,"textarea",2,3),O("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(VOa(b)&&PKc(c)&&b.taggingInProgress){null==c||c.preventDefault();var d;null==(d=YOa(b))||d.focus();d=c.code;var e=c.key,g=c.keyCode,h=c.which;c=new KeyboardEvent("keydown",{charCode:c.charCode,
metaKey:c.metaKey,type:c.type,code:"Enter"===e?"Tab":d,key:"Enter"===e?"Tab":e,keyCode:"Enter"===e?9:g,which:"Enter"===e?9:h});var l;null==(l=YOa(b))||l.dispatchEvent(c)}})("keyup",function(c){if(VOa(b)){var d=Qm(b),e=null==d?void 0:d.value;b.textAreaLastCursorLocation=d.selectionStart;b.textAreaLastAtSymbolLocation=e.slice(0,b.textAreaLastCursorLocation).lastIndexOf("@");if(!PKc(c)){c=c.target;b.scrollPosition=c.scrollTop;OKc(b);var g=b.wordInfo.word;d="@"===g;e=g.startsWith("@");var h=g.slice(g.length-
1).match(/[a-z]/i);g=lDa.test(g.slice(1));if(d||e&&h&&!g){c=c.selectionStart;if(!b.taggingInProgress){if(d=NKc(b)){d.textContent=b.getValue();e=NKc(b);h=Qm(b);g="height width font-family margin line-height padding border".split(" ");if(e&&h){h=b.window.getComputedStyle(h);g=k(g);for(var l=g.next();!l.done;l=g.next()){l=l.value;var q=h.getPropertyValue(l);e.style.setProperty(l,q)}}QKc(b)}d=null==d?void 0:d.firstChild;e=null==d?void 0:d.textContent;d&&e&&c&&(e=new Range,e.setStart(d,c),e.setEnd(d,c),
c=document.createElement("span"),e.deleteContents(),e.insertNode(c),d=c.getBoundingClientRect(),b.autocompleteTop=d.top,b.autocompleteLeft=d.left,c.remove())}b.taggingInProgress=!0}else b.taggingInProgress=!1;if(b.taggingInProgress){b.autocompleteUserName=b.wordInfo.word.slice(1);var v;null==(v=YOa(b))||v.dispatchEvent(new KeyboardEvent("keydown"))}}}})("scroll",function(){return QKc(b)}),J(),H(4,"span",4),R(5,ZOa,2,1,"input",5),J(),R(6,$Oa,2,0,"div",6),J());a&2&&(C(2),G("autoResize",b.manualResize$)("ngClass",
b.textareaClass)("disabled",b.disabled),Ae("placeholder",b.placeholder)("id",b.idForAriaLabel),C(2),He("top",b.autocompleteTop+"px")("left",b.autocompleteLeft+"px"),C(1),G("ngIf",b.taggingInProgress),C(1),G("ngIf",VOa(b)))},dependencies:[Ru,Tu,$S,MR],encapsulation:2,changeDetection:0});var RKc=function(a){return{"draft-markdown":a}},cT=function(a,b,c){kE.call(this);var d=this;this.cdr=a;this.ref=b;this.events=c;this.previewDisabled=!1;this.selectedIndex=0;this.onCommentSubmitted=function(){d.matTabGroup.selectedIndex=0};this.render=function(){var e=d.matTabGroup;e._tabHeader&&e._tabHeader._alignInkBarToSelectedTab();d.cdr.markForCheck()}};V(cT,kE);cT.\u0275dir=kE.\u0275dir;cT.prototype.ngOnInit=function(){this.subscriptions.add(this.events.commentSubmitted.subscribe(this.onCommentSubmitted))};
cT.prototype.synchronizeHeight=function(a){this.ref.nativeElement.querySelector("mat-tab-group").style.height=a+56+"px"};cT.\u0275fac=function(a){return new (a||cT)(D(wH,2),D(fd),D(cG))};
cT.\u0275cmp=zc({type:cT,selectors:[["b-comment-draft-tab-group"]],viewQuery:function(a,b){a&1&&jf(NM,7);if(a&2){var c;hf(c=lf())&&(b.matTabGroup=c.first)}},inputs:{editArea:"editArea",previewArea:"previewArea",previewDisabled:"previewDisabled"},features:[Xe([wH]),xe],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),O("animationDone",function(){setTimeout(b.render,2E3)})("selectedIndexChange",function(c){return b.selectedIndex=c}),H(1,"mat-tab",1),R(2,aPa,1,0,"ng-container",2),J(),H(3,"mat-tab",3),R(4,bPa,1,0,"ng-container",2),J()());a&2&&(G("dynamicHeight",!1)("selectedIndex",b.selectedIndex),C(2),G("ngTemplateOutlet",b.editArea),C(1),G("disabled",b.previewDisabled),C(1),G("ngTemplateOutlet",b.previewArea))},dependencies:[Yu,NM,MM],styles:["[_nghost-%COMP%]     mat-tab-header{margin-left:8px;margin-bottom:16px}\n/*# sourceMappingURL=comment_draft_tab_group.css.map */"],
changeDetection:0});var dT=function(a,b,c,d){kE.call(this);this.codefont=a;this.ngZone=b;this.prefs=c;this.hotkeys=d;this.isMarkdown$=this.prefs.lastPublishMode$.pipe(E(function(e){return e===Bgc}));this.idPrefix="b-draft";this.content="";this.textareaClass=[];this.disabled=!1;this.audience="EXTERNAL_AUDIENCE";this.init=new tu;this.contentChange=new tu;this.focus=new tu;this.blur=new tu;this.autoResize=new tu;this.onSubmit=new tu};V(dT,kE);dT.\u0275dir=kE.\u0275dir;
dT.prototype.ngOnChanges=function(){this.commentDraftTextarea&&this.commentDraftTextarea.setValue(this.content)};
dT.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 SKc=function(a){a.ngZone.run(function(){if(a.commentDraftTabGroup){var b=a.commentDraftTabGroup;b.selectedIndex=0;b.render()}a.commentDraftTextarea&&Qm(a.commentDraftTextarea).focus()})};dT.prototype.synchronizeHeight=function(a){this.commentDraftTabGroup&&this.commentDraftTabGroup.synchronizeHeight(a.newHeight)};dT.\u0275fac=function(a){return new (a||dT)(D(XN),D(te),D(TI),D(bM))};
dT.\u0275cmp=zc({type:dT,selectors:[["b-comment-draft"]],viewQuery:function(a,b){a&1&&(jf(bT,5),jf(cT,5));if(a&2){var c;hf(c=lf())&&(b.commentDraftTextarea=c.first);hf(c=lf())&&(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:[xe,
Mc],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),O("autoResize",function(c){return b.synchronizeHeight(c)})("keydown.control.enter",function(){b.hotkeys.isEnabled()&&b.onSubmit.emit()})("keydown.meta.enter",function(){b.hotkeys.isEnabled()&&b.onSubmit.emit()}),T(1,"async"),J());a&2&&G("textareaClass",b.textareaClass)("ngClass",
Ze(8,RKc,U(1,6,b.isMarkdown$)))("disabled",b.disabled)("placeholder",b.placeholder)("idForAriaLabel",b.idForAriaLabel)("audience",b.audience)},dependencies:[Ru,bT,Zu],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)}\n/*# sourceMappingURL=comment_draft.css.map */"],
changeDetection:0});var TKc=["captchaContainer"],eT=function(a,b,c,d,e){this.ngZone=a;this.window=b;this.darkmodeService=c;this.appEvents=d;this.analytics=e;this.onUpdate=new tu;this.destroyed$=new F.ReplaySubject(1)};eT.prototype.ngOnInit=function(){var a=this;this.appEvents.recaptchaSubmitted.pipe(qe(this.destroyed$)).subscribe(function(){a.reset();a.onUpdate.emit("")})};
eT.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(Yl.RECAPTCHA_TOKEN,"create")})},"expired-callback":function(){a.ngZone.run(function(){a.onUpdate.emit("");a.analytics.trackEvent(Yl.RECAPTCHA_TOKEN,
"expire")})},theme:d?"dark":"light"})})};eT.prototype.ngOnDestroy=function(){this.reset();this.destroyed$.next()};eT.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)})}};eT.\u0275fac=function(a){return new (a||eT)(D(te),D(jE),D(vQ),D(cG),D(AH))};
eT.\u0275cmp=zc({type:eT,selectors:[["b-recaptcha"]],viewQuery:function(a,b){a&1&&jf(TKc,5);if(a&2){var c;hf(c=lf())&&(b.captchaContainer=c.first)}},outputs:{onUpdate:"onUpdate"},decls:2,vars:0,consts:[["captchaContainer",""]],template:function(a){a&1&&K(0,"div",null,0)},encapsulation:2});var fT=function(a){this.matDialog=a};fT.prototype.show=function(a,b,c){this.dialog=this.matDialog.open(gT,{width:"60vw",disableClose:!0,panelClass:"no-jitter",data:{issueId:a,audience:b,id:null!=c.unlinkifiedComment?c.commentNumber:1,text:c.unlinkifiedComment||"",formattingMode:c.formattingMode||"PLAIN"}});return(0,F.firstValueFrom)(Gy(this.dialog))};fT.\u0275fac=function(a){return new (a||fT)(w(Ly))};fT.\u0275prov=nc({token:fT,factory:fT.\u0275fac,providedIn:"root"});
var gT=function(a,b,c,d,e){kE.call(this);var g=this;this.activeSession=a;this.origComment=b;this.dialogService=c;this.dialogRef=d;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=iE(this.activeSession,"enableRecaptcha");this.recaptchaResponse="";this.newComment=Object.assign({},this.origComment);this.subscriptions.add(tP(e,
function(){return g.isModified()},!1))};V(gT,kE);gT.\u0275dir=kE.\u0275dir;f=gT.prototype;f.ngOnInit=function(){var a=this;this.dialogRef.keydownEvents().pipe(qe(this.destroyed$)).subscribe(function(b){"Escape"===b.key&&a.closeIfUnmodified()});this.dialogRef.backdropClick().pipe(qe(this.destroyed$)).subscribe(function(){a.closeIfUnmodified()})};f.closeIfUnmodified=function(){if(!this.isModified()){var a;null==(a=this.dialogService.dialog)||a.close()}};
f.isCaptchaValid=function(){return!this.enableRecaptcha||""!==this.recaptchaResponse};f.isModified=function(){return!Fg(this.newComment,this.origComment)};f.closeDialogForSave=function(){if(this.isModified()){this.enableRecaptcha&&(this.newComment.recaptchaToken=this.recaptchaResponse);var a;null==(a=this.dialogService.dialog)||a.close(this.newComment)}};gT.\u0275fac=function(a){return new (a||gT)(D(rp),D(Ky),D(fT),D(Iy),D(sP))};
gT.\u0275cmp=zc({type:gT,selectors:[["ng-component"]],features:[xe],decls:18,vars:12,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"muted"],["target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],[3,"content","audience","contentChange","onSubmit"],[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",
"click"],[3,"comment","issueId","audience","formattingMode"],[1,"recaptcha-container"],[3,"onUpdate"]],template:function(a,b){a&1&&(H(0,"h1",0),S(1),J(),H(2,"section",1)(3,"p",2),S(4," Editing comments will not permanently remove old ones from database history. "),K(5,"br"),S(6," For deletion of PII or other sensitive content, please "),H(7,"a",3),S(8," file a support request."),J()(),H(9,"b-comment-draft",4),O("contentChange",function(c){return b.newComment.text=c})("onSubmit",function(){return b.closeDialogForSave()}),
J(),H(10,"b-markdown-toggle",5),O("change",function(c){return b.newComment.formattingMode=c}),J(),R(11,cPa,1,4,"b-live-preview",6),J(),R(12,dPa,3,0,"section",7),H(13,"footer",8)(14,"button",9),S(15," Cancel "),J(),H(16,"button",10),O("click",function(){return b.closeDialogForSave()}),S(17," Save "),J()());a&2&&(C(1),We("Editing Comment #",b.origComment.id," of Issue ",b.origComment.issueId,""),C(6),G("href",b.contentRemovalRequestLink,vd),C(2),G("content",b.newComment.text)("audience",b.origComment.audience),
C(1),Ie("margin-bottom",(null==b.newComment?null:b.newComment.formattingMode)!==b.MARKDOWN),G("initialValue",b.origComment.formattingMode),C(1),G("ngIf",(null==b.newComment?null:b.newComment.formattingMode)===b.MARKDOWN),C(1),G("ngIf",b.enableRecaptcha),C(2),G("mat-dialog-close",void 0),C(2),G("disabled",!b.isModified()||!b.isCaptchaValid()))},dependencies:[My,Ny,Oy,Py,Tu,yy,qO,pO,dT,eT],styles:[".recaptcha-container[_ngcontent-%COMP%]{float:right;padding-top:8px}\n/*# sourceMappingURL=edit_comment_dialog.css.map */"],
changeDetection:0});var hT=function(a,b,c,d,e,g,h,l,q,v,y,B,I,N,Q,Z,Y,ka,la,Da,za,Oa,Va){this.editIssueService=a;this.butterBar=b;this.issuePermissionService=c;this.issueCommentService=d;this.editCommentDialogService=e;this.issueFridge=g;this.matDialogService=h;this.paths=l;this.analytics=q;this.domSafe=v;this.confirmationDialogService=y;this.issueComments=B;this.errorHandler=I;this.issueFetchResponseFridge=N;this.eventsForIssueFridge=Q;this.componentFridge=Z;this.commentFormatter=Y;this.confirmNoAccessService=ka;this.activeSession=
la;this.appEvents=Da;this.issuePicker=za;this.eventsForIssueWatcher=Oa;this.issueInteractionsTracking=Va},kDb=function(a,b,c){var d,e,g,h;return Ld(function(l){if(1==l.nextAddress){d=a.editIssueService.savingState(b);if(d.get("commentEdit"))return l.return();a.butterBar.dismiss();g=null!=(e=a.issuePermissionService.audience())?e:"EXTERNAL_AUDIENCE";return l.yield(a.editCommentDialogService.show(b,g,c),2)}h=l.yieldResult;if(null==h)return l.return();BBc(a.issueCommentService,{issueId:b,newCommentId:h.id,
newComment:h.text,newCommentFormattingMode:h.formattingMode,recaptchaToken:h.recaptchaToken});Qd(l)})},VKc=function(a,b,c){var d,e,g;return Ld(function(h){if(1==h.nextAddress)return c?h.yield(UKc(a,b),2):h.return();if(3!=h.nextAddress)return d={title:"Choose target issue",defaultChoices:h.yieldResult,allowMultipleIds:!1,currentResource:{id:b,type:"issue"},edgeType:"copyComment"},h.yield(a.issuePicker.open(d),3);e=h.yieldResult;if(null==(g=e)?0:g.length){var l=a.paths.editIssue(e[0],{template_issue:b,
template_comment:c,do_attribution:!0});a.analytics.trackEvent(Yl.EDIT_ISSUE,"copyComment");a.domSafe.openInNewTab(l)}Qd(h)})},UKc=function(a,b){function c(ka){return B.get(ka)}var d,e,g,h,l,q,v,y,B,I,N,Q,Z,Y;return Ld(function(ka){if(1==ka.nextAddress)return ka.yield((0,F.firstValueFrom)(a.issueFridge.watch(b)),2);if(3!=ka.nextAddress){d=ka.yieldResult;if(!d)return ka.return([]);g=null!=(e=d.snapshot[0].duplicateIssueId)?e:[];l=null!=(h=d.snapshot[0].blockingIssueId)?h:[];v=null!=(q=d.snapshot[0].blockedByIssueId)?
q:[];return ka.yield((0,F.firstValueFrom)(a.issueFridge.watchSet(gk([].concat(Jc(g),Jc(l),Jc(v))))),3)}y=ka.yieldResult;B=new Map(y.map(function(la){return[la.issueId,la]}));I=v.map(c).filter(eh).map(ePa("BLOCKED_BY"));N=l.map(c).filter(eh).map(ePa("BLOCKING"));Q=g.map(c).filter(eh).map(ePa("DUPLICATE"));Z=[].concat(Jc(I),Jc(N),Jc(Q));Y=fPa(Z);return ka.return(Y)})},XKc=function(a,b,c){var d;return Ld(function(e){return 1==e.nextAddress?c?e.yield(spc(a.confirmationDialogService,{title:"Restore comment # "+
c+"?",content:yl("Are you sure you want to restore this comment?")}),2):e.return():(d=e.yieldResult)?e.yield(WKc(a,b,c),0):e.return()})},WKc=function(a,b,c){var d,e;return Ld(function(g){switch(g.nextAddress){case 1:d=a.editIssueService.savingState(b);if(d.get("commentUndelete"))return g.return();WF(a.butterBar,"Restoring comment...",0);Md(g,2,3);JJ(d,"commentUndelete");return g.yield(a.issueComments.undelete(b,c),5);case 5:WF(a.butterBar,"Comment restored successfully.");case 3:Nd(g);KJ(d,"commentUndelete");
NH(a.issueFetchResponseFridge,b);a.eventsForIssueFridge.poke(b);Od(g,0);break;case 2:e=Pd(g),WF(a.butterBar,"Comment restoration failed."),aG(a.errorHandler,e),g.jumpTo(3)}})},$Kc=function(a,b,c,d){var e,g,h,l;return Ld(function(q){if(1==q.nextAddress){if(!c)return q.return();e=a.editIssueService.savingState(b);return e.get("commentDelete")?q.return():q.yield(YKc(a,b),2)}return 3!=q.nextAddress?(g=q.yieldResult,a.butterBar.dismiss(),q.yield((0,F.firstValueFrom)(Gy(a.matDialogService.open(wBc,{width:"560px",
data:{commentNumber:c,issueId:b,deletionReasons:g}}))),3)):(h=q.yieldResult)?q.yield(ZKc(a,b,c,h.value,null!=(l=d)?l:""),0):q.jumpTo(0)})},ZKc=function(a,b,c,d,e){var g,h;return Ld(function(l){switch(l.nextAddress){case 1:g=a.editIssueService.savingState(b);if(g.get("commentDelete"))return l.return();Md(l,2,3);WF(a.butterBar,"Deleting comment...",0);JJ(g,"commentDelete");return l.yield(a.issueComments.delete(b,c,d,e),5);case 5:WF(a.butterBar,"Comment deleted. Deleted items may be restored within 30 days."),
a.eventsForIssueFridge.poke(b);case 3:Nd(l);KJ(g,"commentDelete");NH(a.issueFetchResponseFridge,b);Od(l,0);break;case 2:h=Pd(l),WF(a.butterBar,"Comment deletion failed."),aG(a.errorHandler,h),l.jumpTo(3)}})},YKc=function(a,b){var c,d,e,g,h,l,q,v;return Ld(function(y){switch(y.nextAddress){case 1:return y.yield((0,F.firstValueFrom)(a.issueFridge.watch(b,{trustUncertainMemory:!0})),2);case 2:c=y.yieldResult;e=(null==(d=c)?void 0:d.snapshot[0].componentId)||void 0;if(!e){g=void 0;y.jumpTo(3);break}return y.yield((0,F.firstValueFrom)(a.componentFridge.watch(e)),
4);case 4:g=y.yieldResult;case 3:return h=g,l=new DEc("Other","USER_REQUEST"),h&&"DISABLED"!==h.commentEditState||(l.enabled=!1,l.disabledReason="comment editing must be enabled"),q=new DEc("Spam or Abuse","ABUSE"),"EXTERNAL_PUBLIC"!==a.issuePermissionService.accessLevel()&&(q.enabled=!1,q.disabledReason="available on Public components"),v=new DEc("Personally Identifiable Information","PII"),y.return([v,q,l])}})},aLc=function(a,b,c){var d,e;return Ld(function(g){if(1==g.nextAddress)return d=yJ(a.issuePermissionService,
Ug(c.userPerformingActionUser)),a.analytics.trackEvent(Yl.RESTRICTED_CONTENT,"updateContentJudgement","comment"),g.yield(a.showContentJudgementDialog({severity:Usa(jh(c.commentContentVerdict)),resourcePath:"issues/"+b+"/comments/"+c.commentNumber,hasAclToCreate:a.issuePermissionService.hasAclToAdmin()||d}),2);if(e=g.yieldResult)c.commentContentVerdict={piiVerdict:{severity:Tsa(e.contentJudgement.getSeverity())}},NH(a.issueFetchResponseFridge,b),a.eventsForIssueFridge.poke(b),KH(a.issueFridge,[b],
{markRead:!0});Qd(g)})};hT.prototype.showContentJudgementDialog=function(a){return(0,F.firstValueFrom)(Gy(this.matDialogService.open(RQ,{panelClass:"no-jitter",width:"500px",data:a})))};
var bLc=function(a,b,c){var d;return Ld(function(e){if(1==e.nextAddress)return e.yield((0,F.firstValueFrom)(Gy(a.matDialogService.open(SQ,{width:"500px",data:{resource:b,piiRetention:c}}))),2);d=e.yieldResult;return e.return(1===d)})},cLc=function(a,b,c,d){var e;Ld(function(g){if(1==g.nextAddress){if(null==d)return g.return();a.analytics.trackEvent(Yl.RESTRICTED_CONTENT,"updateContentJudgement","attachment");return g.yield(a.showContentJudgementDialog({severity:Usa(jh(d.contentVerdict)),resourcePath:"issues/"+
b+"/attachments/"+d.attachmentId,hasAclToCreate:a.issuePermissionService.hasAclToAdmin()||c}),2)}if(e=g.yieldResult)d.contentVerdict={piiVerdict:{severity:Tsa(e.contentJudgement.getSeverity())}},NH(a.issueFetchResponseFridge,b),a.eventsForIssueFridge.poke(b),KH(a.issueFridge,[b],{markRead:!0});Qd(g)})};
hT.prototype.showDeleteAttachmentDialog=function(a,b){var c=this,d,e,g,h,l,q,v;Ld(function(y){if(1==y.nextAddress){d=c.editIssueService.savingState(a);if(d.get("deleteAttachment")||!b.attachmentId)return y.return();e=F;g=e.firstValueFrom;h=c.matDialogService;l=h.open;q=vBc;return y.yield(YKc(c,a),3)}return 2!=y.nextAddress?y.yield(g.call(e,Gy(l.call(h,q,{width:"560px",data:{deletionReasons:y.yieldResult,attachmentId:b.attachmentId}}))),2):(v=y.yieldResult)?y.yield(erc(c.editIssueService,a,b,v.value),
0):y.jumpTo(0)})};
var dLc=function(a,b){var c=b.issueId,d=b.componentId,e=b.comment,g,h,l;return Ld(function(q){if(1==q.nextAddress){if("INTERNAL"!==a.issuePermissionService.accessLevel()||a.issuePermissionService.hasAclToEdit()&&a.issuePermissionService.isImplicitAccessEnabled())return q.return(!0);Md(q,2);return q.yield((0,F.firstValueFrom)(jxc(a.commentFormatter,{comment:e.value,issueId:c,audience:null!=(g=a.issuePermissionService.audience())?g:"EXTERNAL_AUDIENCE",formattingMode:e.formattingMode,idPrefix:"b"+c+
"-draft"})),4)}if(2!=q.nextAddress)return h=q.yieldResult,q.return(gqc(a.confirmNoAccessService,{componentId:d,userEmails:h,relation:"reader",analyticsEventLabel:"mention"}));l=Pd(q);aG(a.errorHandler,l);return q.return(!1)})},eLc=function(a,b){b=void 0===b?"comment":b;var c,d;return Ld(function(e){if((c=a.issuePermissionService.accessLevel())&&"INTERNAL"===c||a.issuePermissionService.hasAclToEdit()||a.activeSession.isInternalSession()||Hhc(a.activeSession))return e.return(!0);switch(b){case "comment":d=
yl("Commenting on this bug report means your email address will be shared with the team that works on this product.");break;case "reaction":d=yl("Reacting to this comment means your email address will be shared with the team that works on this product.");break;default:og(b)}return e.return(spc(a.confirmationDialogService,{title:"",content:d}))})};
hT.prototype.submitCommentBox=function(a,b){var c=this,d,e,g,h,l,q;return Ld(function(v){if(1==v.nextAddress){d=c.editIssueService.issueCommentDraft(a).comment();e=c.editIssueService.savingState(a);g=c.editIssueService.editableIssue(a);if(!c.issuePermissionService.hasAclToComment()||!lqc(d)||e.get("comment"))return v.return();JJ(e,"comment");h=function(){KJ(e,"comment")};return v.yield(dLc(c,{issueId:a,componentId:String(g.componentId),comment:d}),2)}if(3!=v.nextAddress)return l=v.yieldResult,l?v.yield(eLc(c),
3):(h(),v.return());q=v.yieldResult;if(!q)return h(),v.return();c.analytics.trackEvent(Yl.EDIT_ISSUE,"addComment","MARKDOWN"===d.formattingMode?"markdown":"non markdown");zqc(c.issueInteractionsTracking,a);c.eventsForIssueWatcher.isPaused=!0;return v.return(c.editIssueService.FOR_ISSUE_COMMENT_DIALOGS_SERVICE_ONLY.saveCommentDraft(a,b).finally(function(){h();c.appEvents.commentSubmitted.next(a);c.appEvents.scrollToCommentBox.next()}))})};
hT.prototype.showNewContentJudgementDialog=function(a){var b=this,c,d,e,g,h,l;return Ld(function(q){if(1==q.nextAddress)return c=b.editIssueService.issueCommentDraft(a),d=c.judgementForNewContent(),h=null!=(g=null==(e=d)?void 0:e.getSeverity())?g:1,q.yield(b.showContentJudgementDialog({severity:h,contentJudgement:d,hasAclToCreate:!0}),2);(l=q.yieldResult)&&c.userDefinedJudgementForNewContent$.next(l.contentJudgement);Qd(q)})};
hT.prototype.updateCommentReaction=function(a){var b=this,c;return Ld(function(d){return 1==d.nextAddress?a.hasReacted?d.yield(eLc(b,"reaction"),3):d.jumpTo(2):2==d.nextAddress||(c=d.yieldResult,c)?d.return(b.issueComments.updateCommentReaction(a)):d.return(void 0)})};hT.\u0275fac=function(a){return new (a||hT)(w(MJ),w(VF),w(zJ),w(TQ),w(fT),w(IH),w(Ly),w(OG),w(AH),w(rK),w(OI),w(mI),w(ZF),w(LH),w(pF),w(xF),w(oO),w(nJ),w(rp),w(cG),w(fP),w(LR),w(wJ))};
hT.\u0275prov=nc({token:hT,factory:hT.\u0275fac,providedIn:"root"});var iT=function(a,b,c){this.editIssueService=a;this.issuePicker=b;this.analytics=c},fLc=function(a,b){var c,d,e,g,h,l,q;return Ld(function(v){if(1==v.nextAddress)return b=String(b),c=a.editIssueService.editableIssue(b),d=c.status,c.setStatus("DUPLICATE"),e={title:"Mark issue as duplicate of:",currentResource:{id:b,type:"issue"},componentId:c.componentId,allowMultipleIds:!1,edgeType:"canonical"},g=(new Date).getTime(),v.yield(a.issuePicker.open(e),2);h=v.yieldResult;if(null==(l=h)||!l.length)return c.status=
d,v.return();q=(new Date).getTime()-g;a.analytics.trackEvent(Yl.ISSUE_PICKER,"duplicate duration","<"+Math.min(2*Math.ceil(q/2E3),600)+"s",q);a.analytics.trackEvent(Yl.EDIT_ISSUE,"setCanonicalIssue");return v.return(Xqc(a.editIssueService,b,h[0]))})};iT.\u0275fac=function(a){return new (a||iT)(w(MJ),w(fP),w(AH))};iT.\u0275prov=nc({token:iT,factory:iT.\u0275fac,providedIn:"root"});var jT=function(a,b,c,d,e,g,h,l,q,v,y,B,I,N,Q,Z){kE.call(this);this.activeSession=a;this.documentationLinks=b;this.domSafe=c;this.matDialogService=d;this.attachmentService=e;this.cdr=g;this.differs=h;this.paths=l;this.userAccess=q;this.butterBar=v;this.errorHandler=y;this.analytics=B;this.issueCommentDialogsService=I;this.issuePermissionService=N;this.editIssueService=Q;this.routeParams=Z;this.isInternalSession=this.activeSession.isInternalSession();this.hasViewAccess=!1;this.actionMenuItems=[];this.attachmentRetentionSaveInProgress=
!1};V(jT,kE);jT.\u0275dir=kE.\u0275dir;jT.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;gLc(this);hLc(this)};jT.prototype.ngDoCheck=function(){this.attachmentDiffer&&this.attachmentDiffer.diff(this.attachment)&&(gLc(this),this.cdr.markForCheck())};
jT.prototype.ngOnChanges=function(a){this.setHasViewAccess();a.attachment&&this.attachment&&(this.attachmentDiffer=this.differs.find(this.attachment).create())};
var gLc=function(a){a.actionMenuItems=[];iLc(a)&&a.actionMenuItems.push({type:"action",action:function(){a.showDeleteAttachmentDialog()},label:"Delete attachment..."});jLc(a)&&a.actionMenuItems.push({type:"action",action:function(){drc(a.editIssueService,a.issueId,a.attachment)},label:"Restore attachment"});a.isInternalSession&&a.actionMenuItems.push({type:"action",action:function(){cLc(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?2:1;bLc(a.issueCommentDialogsService,"attachment",c).then(function(d){d&&kLc(a,c)})},label:b?"Match issue retention...":"Revert to component retention..."})}};
jT.prototype.setHasViewAccess=function(){var a=this;this.isRestricted()?null==this.attachment?this.hasViewAccess=!1:(this.hasViewAccess=!1,JF(this.userAccess,"reader","issues/"+this.issueId+"/attachments/"+this.attachment.attachmentId).then(function(b){a.hasViewAccess=b;a.cdr.detectChanges()})):this.hasViewAccess=!0};jT.prototype.getFilename=function(){var a;return(null==(a=this.attachment)?void 0:a.filename)||""};
jT.prototype.getSize=function(){var a;return(null==(a=this.attachment)?void 0:a.length)||0};var jPa=function(a,b){b=void 0===b?!0:b;var c;if(null==(c=a.attachment)||!c.attachmentId)throw Error("Pd");c=a.paths.getAttachmentAction(a.issueId,a.attachment.attachmentId);a=a.paths.getBaseUrl()+"/"+c;return e6b(a,"download",b)};jT.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)};
jT.prototype.isRestricted=function(){return"NONE_DETECTED"!==this.getPiiSeverity()};jT.prototype.getPiiSeverity=function(){var a;return jh(null==(a=this.attachment)?void 0:a.contentVerdict)};jT.prototype.getRestrictedLabel=function(){return Wsa(this.getPiiSeverity())};
var kPa=function(a){return(a=a.getPiiSeverity())?"bv2-restricted-content-limit-"+Vsa(a):""},iPa=function(a,b){a.analytics.trackEvent(Yl.RESTRICTED_CONTENT,"viewRestrictedContent","attachment");a.matDialogService.open(DQ,{width:"400px",data:{attachment:a.attachment,issueId:a.issueId,download:b}})},iLc=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()||yJ(b,a)?
!0:!1:!1:!1}else b=!1;return b},jLc=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()||yJ(b,a)?!0:!1:!1:!1}else b=!1;return b};jT.prototype.showDeleteAttachmentDialog=function(){var a;null!=(a=this.attachment)&&a.attachmentId&&this.issueCommentDialogsService.showDeleteAttachmentDialog(this.issueId,this.attachment)};
var kLc=function(a,b){var c;null!=(c=a.attachment)&&c.attachmentId?(a.analytics.trackEvent(Yl.RESTRICTED_CONTENT,"updateRetention","attachment"),a.attachmentRetentionSaveInProgress=!0,a.attachmentService.updateRetention(a.issueId,a.attachment.attachmentId||0,b).pipe(qe(a.destroyed$)).subscribe({next:function(d){a.attachmentRetentionSaveInProgress=!1;a.attachment&&(a.attachment.piiRetention=d.piiRetention,a.attachment.piiRetentionState=d.piiRetentionState);WF(a.butterBar,"Attachment retention updated",
4E3);a.attachmentRetentionOverride=2===b?"INDEFINITE":"COMPONENT_DEFAULT";gLc(a);a.cdr.detectChanges()},error:function(){a.attachmentRetentionSaveInProgress=!1;$F(a.errorHandler,"Attachment retention update failed")}})):$F(a.errorHandler,"Attachment id is missing")},hLc=function(a){var b,c,d;Ld(function(e){(b=Number(a.routeParams.downloadAttachment))&&b===(null==(c=a.attachment)?void 0:c.attachmentId)&&(d="true"===a.routeParams.download,iPa(a,d));Qd(e)})};
jT.\u0275fac=function(a){return new (a||jT)(D(rp),D(NI),D(rK),D(Ly),D(EQ),D(wH,2),D(Pu),D(OG),D(IF),D(VF),D(ZF),D(AH),D(hT),D(zJ),D(MJ),D(qJ))};
jT.\u0275cmp=zc({type:jT,selectors:[["b-attachment-viewer"]],inputs:{attachment:"attachment",issueId:"issueId",attachmentUploader:"attachmentUploader"},features:[Xe([wH]),xe,Mc],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),K(1,"b-icon",1),J(),H(2,"div")(3,"div",2),S(4),H(5,"span",3),R(6,gPa,1,3,"b-restricted-chip",4),R(7,hPa,2,3,"span",5),J()(),H(8,"div"),S(9),R(10,lPa,2,8,"span",6),R(11,mPa,2,8,"span",6),H(12,"xap-bubble",7),R(13,nPa,3,3,"span",8),R(14,oPa,4,1,"ng-template",null,9,of),J()()());if(a&2){var c=Se(15);C(4);Te(" ",b.getFilename()," ");C(2);G("ngIf",b.isRestricted());
C(1);G("ngIf",0<b.actionMenuItems.length);C(2);Te(" ",wDa(b.getSize())," ");C(1);var d;a=b.isActive()&&qsa(null==(d=b.attachment)?void 0:d.contentType);G("ngIf",a);C(1);G("ngIf",b.isActive());C(1);G("panelTemplate",c);C(1);G("ngIf",b.isRestricted()&&!b.hasViewAccess)}},dependencies:[Tu,zy,jz,RK,FQ,$M,XA,GQ,GO],encapsulation:2,changeDetection:0});var kT=function(a,b,c){this.dialogRef=a;this.documentationLinks=b;this.data=c;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc"};kT.prototype.onNoClick=function(){this.dialogRef.close(!1)};kT.\u0275fac=function(a){return new (a||kT)(D(Iy),D(NI),D(Ky))};
kT.\u0275cmp=zc({type:kT,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),S(1),J(),H(2,"div",1)(3,"p"),S(4),H(5,"a",2),S(6," Learn More "),J()()(),H(7,"div",3)(8,"button",4),O("click",function(){return b.onNoClick()}),S(9," Cancel "),J(),H(10,"button",5),S(11," Confirm "),J()());a&2&&(C(1),Ve(b.data.title),C(3),Te(" ",b.data.content," "),C(1),G("rel",b.EXTERNAL_LINK_REL),Ae("href",b.documentationLinks.getRestrictedAccessHelpLink(),vd),C(5),G("mat-dialog-close",!0))},dependencies:[yy,My,Ny,Oy,Py],encapsulation:2});var lT=function(a,b){this.dialog=a;this.documentationLinks=b;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.disabled=!1;this.onConfirm=new tu};
lT.prototype.openDialog=function(){var a=this;Gy(this.dialog.open(kT,{width:"500px",data:{title:"Access Restricted Content",content:"You are about to access a comment marked as restricted.\n                    Access will be logged and audited. You must delete any\n                    data used locally when finished with business use."}})).subscribe(function(b){b&&a.onConfirm.emit()})};lT.\u0275fac=function(a){return new (a||lT)(D(Ly),D(NI))};
lT.\u0275cmp=zc({type:lT,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),O("click",function(){return b.openDialog()}),S(2," Show Restricted Content "),J(),H(3,"a",1),S(4,
" Learn More "),J()());a&2&&(C(1),G("disabled",b.disabled),C(2),G("rel",b.EXTERNAL_LINK_REL),Ae("href",b.documentationLinks.getRestrictedAccessHelpLink(),vd))},dependencies:[yy],styles:[".mat-stroked-button[_ngcontent-%COMP%]{margin-right:1em}\n/*# sourceMappingURL=restricted_comment_placeholder.css.map */"],changeDetection:0});var mT=function(){};mT.\u0275fac=function(a){return new (a||mT)};mT.\u0275mod=Bc({type:mT});mT.\u0275inj=oc({imports:[QA,MF,YA,WB,zC]});var lLc=["commentActionsMenu"],mLc=["editDescription"],JPa=function(){return[]},nT=function(a,b,c,d,e,g,h,l,q,v,y,B,I,N,Q){kE.call(this);var Z=this;this.eventsForIssue=a;this.userPreferencesManager=b;this.issueFridge=c;this.issueReferenceResolver=d;this.activeSession=e;this.commentService=g;this.errorHandler=h;this.analytics=l;this.butterBar=q;this.userAccess=v;this.issueCommentDialogsService=y;this.issuePermissionService=B;this.commentHistoryDialogService=I;this.dateFormatter=N;this.issueFetchResponseFridge=
Q;this.id$=new F.ReplaySubject(1);this.accessLevel$=this.id$.pipe(pe(this.issueFridge.watch),E(function(Y){var ka;return null==Y?void 0:null==(ka=Y.accessLimit)?void 0:ka.accessLevel}));this.firstEvent$=new F.ReplaySubject(1);this.firstNote$=this.firstEvent$.pipe(E(function(Y){return Y}));this.commentActionMenuItems$=new F.BehaviorSubject([]);this.isFormattingOverrideEnabled=!1;this.formattingMode="PLAIN";this.formattingMode$=nl(this.firstEvent$.pipe(Zd(eh),E(function(Y){return Y.formattingMode})),
"PLAIN");this.isRedacted$=this.firstEvent$.pipe(Zd(eh),E(function(Y){return Y.commentRedacted}));this.isDeleted$=this.firstEvent$.pipe(Zd(eh),E(function(Y){return"DELETED"===Y.commentDeletionStatus}));this.shouldShowRestrictedPlaceholder$=(0,F.combineLatest)([this.isRedacted$,this.isDeleted$]).pipe(E(function(Y){var ka=k(Y);Y=ka.next().value;ka=ka.next().value;return!(!Y||ka)}));this.isRestricted$=this.firstEvent$.pipe(Zd(eh),E(function(Y){return jh(Y.commentContentVerdict)}),E(function(Y){if(!Z.isInternalSession)return!1;
switch(Y){case "NONE_DETECTED":case "PII_SEVERITY_UNSPECIFIED":return!1;case "PII":case "SPII":return!0;default:og(Y)}}));this.commentRetentionOverride$=this.firstEvent$.pipe(Zd(eh),E(function(Y){return Y.commentRetention}));this.commentHistoryEnabled=iE(this.activeSession,"enableCommentHistoryUi");this.isShowCommentHistoryActionInMenu$=(0,F.combineLatest)([this.firstEvent$,this.isRedacted$]).pipe(E(function(Y){var ka=k(Y);Y=ka.next().value;ka=ka.next().value;return!(!(iE(Z.activeSession,"enableCommentHistoryUi")&&
0<((null==Y?void 0:Y.commentVersion)||0))||ka)}));this.canEditComment$=this.firstEvent$.pipe(pe(function(Y){return Y?Z.issuePermissionService.canEditComment$(Y):(0,F.of)(!1)}),ne({refCount:!0,bufferSize:1}));this.canEditComment=function(){return!!ol(Z.canEditComment$)};this.isInternalSession=this.activeSession.isInternalSession();this.mayReadPii$=this.isRestricted$.pipe(pe(function(Y){return Y?Z.mayReadPii():(0,F.of)(void 0)}));this.reporterUser$=this.id$.pipe(pe(function(Y){return Z.issueFridge.watch(Y)}),
E(function(Y){var ka;return null==Y?void 0:null==(ka=Y.snapshot[0])?void 0:ka.reporterUser}));this.reporterUserEmailAddress$=this.reporterUser$.pipe(E(MPa));this.firstEventReporterEmail$=this.firstEvent$.pipe(E(function(Y){Y=k((null==Y?void 0:Y.postDiffs)||[]);for(var ka=Y.next();!ka.done;ka=Y.next())if(ka=ka.value,"reporter"===ka.name)return ka.newValue||"";return""}));this.onBehalfOfEmail$=(0,F.combineLatest)([this.firstEventReporterEmail$,this.reporterUserEmailAddress$]).pipe(E(function(Y){var ka=
k(Y);Y=ka.next().value;ka=ka.next().value;return Y||ka}));this.isAuthorNotReporter$=(0,F.combineLatest)([this.onBehalfOfEmail$,this.firstEvent$]).pipe(E(function(Y){var ka=k(Y);Y=ka.next().value;ka=ka.next().value;return Y!==MPa(null==ka?void 0:ka.userPerformingActionUser)}))};V(nT,kE);nT.\u0275dir=kE.\u0275dir;
nT.prototype.mayReadPii=function(){var a=this;return this.id$.pipe(pe(function(b){return(0,F.defer)(function(){return JF(a.userAccess,"reader","issues/"+b+"/comments/1").catch(function(c){rg("error: ",c);return!1})})}))};
nT.prototype.ngOnInit=function(){var a=this;nLc(this,"PLAIN");this.id$.pipe(pe(this.issueFetchResponseFridge.watch),E(function(b){return null==b?void 0:b.firstEvent}),qe(this.destroyed$)).subscribe(function(b){a.firstEvent$.next(b)});this.canEditComment$.pipe(qe(this.destroyed$)).subscribe(function(){a.initializeActionsMenu()});this.userPreferencesManager.textDisplayPreferencesSubject$.pipe(qe(this.destroyed$)).subscribe(function(b){a.isFormattingOverrideEnabled=null!=b.commentDisplayOverride;a.initializeActionsMenu()});
this.formattingMode$.pipe(qe(this.destroyed$)).subscribe(function(b){a.formattingMode=null!=b?b:"PLAIN";nLc(a,null!=b?b:"PLAIN")});this.issuePermissionService.canChangeCommentRetention$.pipe(qe(this.destroyed$)).subscribe(function(){a.initializeActionsMenu()})};
nT.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=ol(this.firstEvent$);this.canEditComment()&&c&&b.push({type:"action",action:function(){kDb(a.issueCommentDialogsService,a.id,c).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Edit description...",disabled:ol(this.isRedacted$)});
ol(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&&Cqc(this.issuePermissionService,c)&&b.push({type:"action",action:function(){c.commentEtag&&$Kc(a.issueCommentDialogsService,a.id,1,c.commentEtag).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Delete description"});c&&Bqc(this.issuePermissionService,
c)&&b.push({type:"action",action:function(){XKc(a.issueCommentDialogsService,a.id,1).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Restore description"});this.isInternalSession&&c&&b.push({type:"action",action:function(){aLc(a.issueCommentDialogsService,a.id,c).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Restriction settings..."});if(this.isInternalSession&&ol(this.isRestricted$)&&this.issuePermissionService.canChangeCommentRetention()&&
!ol(this.isDeleted$)){var d="COMPONENT_DEFAULT"===ol(this.commentRetentionOverride$);b.push({type:"action",action:function(){var e=d?2:1;bLc(a.issueCommentDialogsService,"comment",e).then(function(g){a.commentActionsMenu.actionsMenuIconButton.focus();g&&a.updateCommentRetention(e)})},label:d?"Match issue retention...":"Revert to component retention..."})}this.commentActionMenuItems$.next(b)};
var nLc=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)};
nT.prototype.updateCommentRetention=function(a){var b=this,c=ol(this.firstEvent$),d=ol(this.id$);c&&!c.commentNumber&&$F(this.errorHandler,"Comment number is missing");this.analytics.trackEvent(Yl.RESTRICTED_CONTENT,"updateRetention","comment");d&&c&&this.commentService.updateRetention(d,c.commentNumber||0,a).pipe(qe(this.destroyed$)).subscribe({next:function(){b.eventsForIssue.poke(d);WF(b.butterBar,"Comment retention updated",4E3);b.initializeActionsMenu()},error:function(){$F(b.errorHandler,"Comment retention update failed")}})};
nT.prototype.loadRestrictedComment=function(a,b){var c=this;this.analytics.trackEvent(Yl.RESTRICTED_CONTENT,"viewRestrictedContent","comment");var d=(null==b?void 0:b.commentNumber)||0;b=Usa(jh(null==b?void 0:b.commentContentVerdict));a&&this.commentService.get(a,d,b).pipe(ge(),qe(this.destroyed$)).subscribe(function(e){e=uva(e);e=Object.assign({},ol(c.firstEvent$),e);c.firstEvent$.next(e);c.initializeActionsMenu()},function(e){var g;XF(c.butterBar,"Error showing comment "+d+": "+(null==(g=e.error)?
void 0:g.message))})};nT.prototype.showCommentHistoryDialog=function(a){return this.commentHistoryDialogService.show(this.id,a,-1)};nT.prototype.getUserEmailIfAvailable=function(){var a;return Ug(null==(a=ol(this.firstEvent$))?void 0:a.userPerformingActionUser)};
var pPa=function(a){var b=ol(a.firstEvent$);b&&kDb(a.issueCommentDialogsService,a.id,b).then(function(){a.editDescriptionButton.focus()})},uPa=function(a,b){var c="Last edited by ";0===b.version&&b.lastCommentEditorUser&&(c+=Qg(b.lastCommentEditorUser));b.commentLastModifiedAtDate&&(c+=" on ",dtc(a.dateFormatter,new Date(b.commentLastModifiedAtDate)).subscribe(function(d){c+=d}));return c};
gg.Object.defineProperties(nT.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a)},get:function(){return ol(this.id$)}}});nT.\u0275fac=function(a){return new (a||nT)(D(pF),D(TI),D(IH),D(IL),D(rp),D(zQ),D(ZF),D(AH),D(VF),D(IF),D(hT),D(zJ),D(yQ),D(AK),D(LH))};
nT.\u0275cmp=zc({type:nT,selectors:[["b-issue-description"]],viewQuery:function(a,b){a&1&&(jf(lLc,5),jf(mLc,5));if(a&2){var c;hf(c=lf())&&(b.commentActionsMenu=c.first);hf(c=lf())&&(b.editDescriptionButton=c.first)}},inputs:{id:"id"},features:[xe],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",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",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&&(R(0,KPa,29,24,"div",0),T(1,"async"),R(2,LPa,1,0,"ng-template",null,1,of));if(a&2){var c=Se(3);G("ngIf",U(1,2,b.firstEvent$))("ngIfElse",c)}},dependencies:[RK,jT,rO,Su,Tu,yy,jz,BK,QJ,VJ,tK,XA,lT,sN,SL,uK,NL,Zu],styles:["[_nghost-%COMP%]{display:block}.description-deleted[_ngcontent-%COMP%]{color:#5f6368;color:var(--text-muted);font-style:italic}"]});var oT=function(a){this.issueReferenceResolver=a;this.userToString=Ug};oT.prototype.ngOnInit=function(){};oT.prototype.getCommentNumberLink=function(a){return uya(this.issueId,{comment:a})};oT.prototype.scrollCommentIntoView=function(a,b){this.issueReferenceResolver.visit({issueId:this.issueId,elementId:"comment"+b,event:a})};oT.\u0275fac=function(a){return new (a||oT)(D(IL))};
oT.\u0275cmp=zc({type:oT,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&&R(0,RPa,5,3,"span",0);a&2&&G("ngForOf",b.comments)},
dependencies:[Su,Tu,QJ,VJ,tK,sN,JO],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 pT=function(a){kE.call(this);this.ngZone=a};V(pT,kE);pT.\u0275dir=kE.\u0275dir;var oLc=function(a,b){return(new F.Observable(function(c){var d=new ResizeObserver(function(e){a.ngZone.run(function(){var g=e[0];c.next({height:g.contentRect.height,width:g.contentRect.width})})});d.observe(b);return function(){d.unobserve(b)}})).pipe(qe(a.destroyed$))};pT.\u0275fac=function(a){return new (a||pT)(w(te))};pT.\u0275prov=nc({token:pT,factory:pT.\u0275fac,providedIn:"root"});var pLc=["imagesSummaryWidget"],qT=function(a,b,c){var d=this;this.resizeService=a;this.router=b;this.route=c;this.imageLinks$=new F.ReplaySubject(1);this.paginate=!1;this.container$=new F.ReplaySubject(1);this.containerResize$=this.container$.pipe(E(function(e){return e.nativeElement}),pe(function(e){return oLc(d.resizeService,e)}));this.issueId$=new F.ReplaySubject(1);this.lastRenderedImageIndex$=new F.BehaviorSubject(0);this.allImages$=this.imageLinks$.pipe(E(function(e){e=e.map(function(g){if(g.comment){var h=
Gxa(g.href);if(h)return{src:h,comment:g.comment}}}).filter(eh);return YPa(e)}));this.maxImagesInOneRow$=this.containerResize$.pipe(E(function(e){return Math.floor((e.width-16)/216)}),ne({refCount:!0,bufferSize:1}));this.initialNumberOfImages$=this.maxImagesInOneRow$.pipe(E(function(e){return 2*e}));this.imagesToRender$=(0,F.combineLatest)([this.initialNumberOfImages$,this.allImages$,this.lastRenderedImageIndex$]).pipe(E(function(e){var g=k(e);e=g.next().value;var h=g.next().value;g=g.next().value;
return d.paginate?h.slice(0,g||e):h.slice(0,e)}),fe())};qT.prototype.goToResourcesTab=function(){this.router.navigate(["./resources"],{relativeTo:this.route})};qT.prototype.ngOnInit=function(){this.issueId$.next(this.issueId)};qT.prototype.ngAfterContentInit=function(){this.container$.next(this.container)};gg.Object.defineProperties(qT.prototype,{imageLinks:{configurable:!0,enumerable:!0,set:function(a){this.imageLinks$.next(a)},get:function(){return ol(this.imageLinks$)}}});
qT.\u0275fac=function(a){return new (a||qT)(D(pT),D(GG),D(Sk))};
qT.\u0275cmp=zc({type:qT,selectors:[["inline-images-summary"]],viewQuery:function(a,b){a&1&&jf(pLc,7);if(a&2){var c;hf(c=lf())&&(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),R(2,XPa,3,3,"ng-container",1),T(3,"async"),J());a&2&&(C(2),G("ngIf",U(3,1,b.allImages$)))},dependencies:function(){return[oT,Su,Tu,yy,dO,Zu,rT]},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 rT=function(){};rT.prototype.transform=function(a){return a.split(".png")[0]};rT.\u0275fac=function(a){return new (a||rT)};rT.\u0275pipe=Dc({name:"removePngExtension",type:rT,pure:!0});var qLc={IMAGES:"SW-images",MENTIONED_ISSUES:"SW-mentioned-bugs",LINKS:"SW-links"},cRa=[].concat(Jc(Object.values(qLc)));var rLc=function(a,b){var c=this;this.issueInteractionsTracking=a;this.analytics=b;this.recordInteractionOnce=FBa(function(d){c.analytics.trackEvent(Yl.EDIT_ISSUE,"click",d)});this.recordImpressionOnce=FBa(function(){c.analytics.trackEvent(Yl.EDIT_ISSUE,"view","SW")})},SQa=function(a,b,c){a.recordInteractionOnce(c);Rm(a.issueInteractionsTracking,b,c+"-content-interacted");Rm(a.issueInteractionsTracking,b,"SW-content-interacted")};var sT=function(a,b){this.activeSession=a;this.currentTracker=b;this.linkText=this.rightText=this.leftText="";this.isExternalLink=!1;this.issueId=this.originalHref=this.redirectedHref=""};
sT.prototype.ngOnChanges=function(){var a;a:{var b=null==(a=this.sourceComment)?void 0:a.formattedComment;if(b){if(b.markdownFormat){a=eQa(b.markdownFormat.content);break a}if(b.literalFormat){a=eQa(b.literalFormat.content);break a}if(b.plainFormat){a=document.createElement("div");b=k(b.plainFormat.plainSection);for(var c=b.next();!c.done;c=b.next())(c=c.value.content)&&a.appendChild(eQa(c));break a}}a=void 0}if(a=a&&sLc(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(tLc.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(tLc.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="",qk(this.relatedLink)?c=b=this.relatedLink.href:Hxa(this.relatedLink)&&(a=this.relatedLink.issueId,b=this.getIssueUrl(this.relatedLink.issueId),c=this.relatedLink.issueId,c=this.activeSession.isInternalSession()?vsa(MK(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 sLc=function(a,b){if(a.relatedLink){if(Hxa(a.relatedLink)){var c=a.relatedLink.issueId;return[].concat(Jc(b.querySelectorAll("a"))).find(function(e){return e.dataset.bIssueId===c})}if(qk(a.relatedLink)){var d=a.relatedLink;return[].concat(Jc(b.querySelectorAll("a"))).find(function(e){a:{var g=d.href;if(e.innerText===g)e=!0;else{try{g=(new URL(g)).href}catch(h){e=!1;break a}e=e.href===g||e.href.replace("https://cl.corp.google.com/","https://critique.corp.google.com/")===g?!0:!1}}return e})}}};
sT.prototype.getIssueUrl=function(a){return MK(this.currentTracker,a)};sT.\u0275fac=function(a){return new (a||sT)(D(rp),D(LK))};
sT.\u0275cmp=zc({type:sT,selectors:[["mentioned-link-with-context"]],inputs:{sourceComment:"sourceComment",relatedLink:"relatedLink"},features:[Mc],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),S(1," \u201c "),R(2,ZPa,3,3,"span",1),R(3,$Pa,3,3,"ng-container",2),R(4,cQa,3,2,"ng-template",null,3,of),R(6,dQa,2,1,"span",4),S(7," \u201d\n"),J());if(a&2){var c=Se(5);C(2);G("ngIf",b.leftText);C(1);G("ngIf",b.isExternalLink)("ngIfElse",c);C(3);G("ngIf",b.rightText)}},dependencies:[WN,KL,Tu,GJ],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 tLc=new Set(["BR"]);var tT=function(a,b,c,d,e){var g=this;this.activeSession=a;this.issueFridge=b;this.router=c;this.route=d;this.issueReferenceResolver=e;this.issueReferences$=new F.ReplaySubject(1);this.currentIssueId$=new F.ReplaySubject(1);this.paginate=!1;this.lastRenderedMentionedIssueIndex$=new F.BehaviorSubject(10);this.issuesMap$=this.issueReferences$.pipe(Zd(eh),pe(function(h){var l=gk(h.map(function(q){return q.issueId}));return g.issueFridge.watchSet(l).pipe(E(function(q){return new Map(q.map(function(v){return[null==
v?void 0:v.issueId.toString(),v]}))}),E(function(q){return new Map(l.map(function(v){return[v,q.get(v)]}))}))}));this.issueReferencesMap$=this.issueReferences$.pipe(Zd(eh),E(function(h){var l=new Map;h=k(h);for(var q=h.next();!q.done;q=h.next()){q=q.value;var v=q.issueId.toString();l.has(v)?l.get(v).push(q):l.set(v,[q])}return l}));this.allMentionedIssues$=(0,F.combineLatest)([this.issueReferencesMap$,this.issuesMap$]).pipe(E(function(h){h=k(h);var l=h.next().value;h=h.next().value;return[].concat(Jc(h)).filter(function(q){return k(q).next().value!==
g.issueId}).map(function(q){var v=k(q);q=v.next().value;v=v.next().value;var y=l.get(q),B=null==y?void 0:y.map(function(I){var N,Q,Z=null==(N=I.comment)?void 0:null==(Q=N.userPerformingActionUser)?void 0:Q.emailAddress;return{commentNumber:I.sourceCommentNumber,author:(null==Z?void 0:Z.split("@")[0])+"@",issueEvent:I.comment}});return{hasViewAccess:!!v,issueId:q,shortIssueUrl:vsa(g.activeSession.getAppBaseUrl(),q),sourceComments:B,title:null==v?void 0:v.snapshot[0].title,priority:v?v.snapshot[0].priority:
null,relatedLinks:y}})}));this.mentionedIssuesToRender$=(0,F.combineLatest)([this.allMentionedIssues$,this.lastRenderedMentionedIssueIndex$]).pipe(E(function(h){var l=k(h);h=l.next().value;l=l.next().value;return g.paginate?h.slice(0,l):h.slice(0,5)}))};tT.prototype.getCommentNumberLink=function(a){return uya(this.issueId,{comment:a})};tT.prototype.scrollCommentIntoView=function(a,b){this.issueReferenceResolver.visit({issueId:this.issueId,elementId:"comment"+b,event:a})};
tT.prototype.goToResourcesTab=function(){this.router.navigate(["./resources"],{relativeTo:this.route})};gg.Object.defineProperties(tT.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}}});tT.\u0275fac=function(a){return new (a||tT)(D(rp),D(IH),D(GG),D(Sk),D(IL))};
tT.\u0275cmp=zc({type:tT,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&&(R(0,lQa,3,3,"ng-container",0),T(1,"async"));a&2&&G("ngIf",U(1,1,b.mentionedIssuesToRender$))},dependencies:function(){return[Su,Tu,yy,vI,XA,sT,oT,Zu,uT]},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 uT=function(){};uT.prototype.transform=function(a){return a.map(function(b){return b.issueEvent}).filter(eh)};uT.\u0275fac=function(a){return new (a||uT)};uT.\u0275pipe=Dc({name:"toComments",type:uT,pure:!0});var vT=function(a,b){var c=this;this.router=a;this.route=b;this.allLinks$=new F.ReplaySubject(1);this.issueId$=new F.ReplaySubject(1);this.lastRenderedRelatedLinkIndex$=new F.BehaviorSubject(10);this.paginate=!1;this.trackByHref=function(d,e){return e[0].href};this.allLinkGroups$=this.allLinks$.pipe(E(function(d){return Rwa(d,function(e){return e.href})}));this.linkGroupsToRender$=(0,F.combineLatest)([this.allLinkGroups$,this.lastRenderedRelatedLinkIndex$]).pipe(E(function(d){var e=k(d);d=e.next().value;
e=e.next().value;return c.paginate?tQa(d,e):6===d.length?tQa(d,6):tQa(d,5)}))};vT.prototype.ngOnInit=function(){};vT.prototype.goToResourcesTab=function(){this.router.navigate(["./resources"],{relativeTo:this.route})};gg.Object.defineProperties(vT.prototype,{links:{configurable:!0,enumerable:!0,set:function(a){this.allLinks$.next(a)},get:function(){throw Error("bb");}},issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)},get:function(){return ol(this.issueId$)}}});
vT.\u0275fac=function(a){return new (a||vT)(D(GG),D(Sk))};
vT.\u0275cmp=zc({type:vT,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&&(R(0,rQa,3,3,"ng-container",0),T(1,"async"));a&2&&G("ngIf",U(1,1,b.allLinkGroups$))},dependencies:function(){return[oT,Su,Tu,yy,sT,Zu,wT]},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 sQa=hk(function(a){return Math.min.apply(Math,Jc(a.map(function(b){return b.sourceCommentNumber})))},Uwa),wT=function(){};wT.prototype.transform=function(a){return a.map(function(b){return b.comment}).filter(eh)};wT.\u0275fac=function(a){return new (a||wT)};wT.\u0275pipe=Dc({name:"toComments",type:wT,pure:!0});var xT=function(){gw.apply(this,arguments)};V(xT,gw);xT.\u0275fac=function(){var a;return function(b){return(a||(a=dd(xT)))(b||xT)}}();xT.\u0275dir=Cc({type:xT,selectors:[["","expandable-tab-content",""]],features:[xe]});var yT=function(){gw.apply(this,arguments)};V(yT,gw);yT.\u0275fac=function(){var a;return function(b){return(a||(a=dd(yT)))(b||yT)}}();yT.\u0275dir=Cc({type:yT,selectors:[["","expandable-tab-header",""]],features:[xe]});var zT=function(){gw.apply(this,arguments)};V(zT,gw);
zT.\u0275fac=function(){var a;return function(b){return(a||(a=dd(zT)))(b||zT)}}();zT.\u0275dir=Cc({type:zT,selectors:[["","expandable-tab-icon",""]],features:[xe]});var AT=function(){};AT.prototype.ngOnInit=function(){};AT.\u0275fac=function(a){return new (a||AT)};
AT.\u0275cmp=zc({type:AT,selectors:[["expandable-tab"]],contentQueries:function(a,b,c){a&1&&(kf(c,yT,5,ef),kf(c,xT,5,ef),kf(c,zT,5,ef));if(a&2){var d;hf(d=lf())&&(b.tabHeaderTemplate=d.first);hf(d=lf())&&(b.tabContentTemplate=d.first);hf(d=lf())&&(b.tabIconTemplate=d.first)}},inputs:{key:"key",ariaLabel:"ariaLabel"},decls:0,vars:0,template:function(){},encapsulation:2,changeDetection:0});var uQa=function(a){return{tab:a}},uLc=function(a){return{allTabsExpanded:a}},BT=function(){kE.apply(this,arguments);this.internalTabKeys$=new F.ReplaySubject(1);this.ariaLabel="";this.internalExpandedTabs=new IJ;this.expandedTabsChanged=new tu;this.contentShownChanged=new tu;this.tabs$=new F.BehaviorSubject([]);this.allTabsExpanded$=(0,F.combineLatest)([this.tabs$,this.internalExpandedTabs.value$]).pipe(E(function(a){a=k(a);var b=a.next().value,c=a.next().value;return b.every(function(d){return c.has(d.key)})}));
this.trackByKey=function(a,b){return b.key}};V(BT,kE);BT.\u0275dir=kE.\u0275dir;
BT.prototype.ngAfterContentInit=function(){var a=this;this.subscriptions.add(this.internalTabs.changes.pipe(oe(void 0),E(function(){return a.internalTabs.toArray()}),E(function(b){return new Map(b.map(function(c){return[c.key,c]}))}),pe(function(b){return(0,F.combineLatest)([(0,F.of)(b),a.internalTabKeys$])}),E(function(b){b=k(b);var c=b.next().value;return b.next().value.map(function(d){return Object.assign({},{key:d},c.get(d))})})).subscribe(this.tabs$));this.subscriptions.add((0,F.combineLatest)([this.internalTabKeys$,
this.internalExpandedTabs.value$]).pipe(E(function(b){var c=k(b);b=c.next().value;c=c.next().value;return bsa(new Set(b),new Set(c))}),fe(Fg)).subscribe(function(b){a.contentShownChanged.emit(b)}))};BT.prototype.ngOnInit=function(){};BT.prototype.showAll=function(){this.internalExpandedTabs.add.apply(this.internalExpandedTabs,Jc(this.tabs$.value.map(function(a){return a.key})));this.expandedTabsChanged.emit(new Set(this.internalExpandedTabs))};
BT.prototype.hideAll=function(){this.internalExpandedTabs.clear();this.expandedTabsChanged.emit(new Set(this.internalExpandedTabs))};var BQa=function(a){var b;return Ld(function(c){if(1==c.nextAddress)return c.yield((0,F.firstValueFrom)(a.allTabsExpanded$),2);(b=c.yieldResult)?a.hideAll():a.showAll();Qd(c)})};
gg.Object.defineProperties(BT.prototype,{tabKeys:{configurable:!0,enumerable:!0,set:function(a){this.internalTabKeys$.next([].concat(Jc(a)))},get:function(){var a;return null!=(a=ol(this.internalTabKeys$))?a:[]}},expandedTabs:{configurable:!0,enumerable:!0,set:function(a){this.internalExpandedTabs.reset(a)},get:function(){return[].concat(Jc(this.internalExpandedTabs))}}});BT.\u0275fac=function(){var a;return function(b){return(a||(a=dd(BT)))(b||BT)}}();
BT.\u0275cmp=zc({type:BT,selectors:[["expandable-tabs"]],contentQueries:function(a,b,c){a&1&&kf(c,AT,5);if(a&2){var d;hf(d=lf())&&(b.internalTabs=d)}},inputs:{tabKeys:"tabKeys",ariaLabel:"ariaLabel",expandedTabs:"expandedTabs"},outputs:{expandedTabsChanged:"expandedTabsChanged",contentShownChanged:"contentShownChanged"},features:[xe],decls:11,vars:14,consts:[[1,"tabs-row","flex-kids-x","centered-inside"],["role","tablist","aria-multiselectable","true",1,"expandable-tabs","flex-kids-x","centered-inside"],
["mat-button","","class","expandable-tab keep-focus-ring","role","tab",3,"expanded","click",4,"ngFor","ngForOf","ngForTrackBy"],[4,"ngIf"],[1,"expandable-tabs-contents"],[4,"ngFor","ngForOf","ngForTrackBy"],["headerText",""],["mat-button","","role","tab",1,"expandable-tab","keep-focus-ring",3,"click"],[4,"ngIf","ngIfElse"],["notExpanded",""],["svgIcon","done",1,"icon-s"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"ngTemplateOutlet"],["mat-button","",1,"gmat-button","small",3,"click"],["class",
"expandable-tab-content","role","tabpanel",3,"id",4,"ngIf"],["role","tabpanel",1,"expandable-tab-content",3,"id"],["noTemplate",""]],template:function(a,b){a&1&&(H(0,"div",0)(1,"div",1),R(2,AQa,8,16,"button",2),T(3,"async"),J(),R(4,CQa,3,6,"ng-container",3),T(5,"async"),J(),H(6,"div",4),R(7,KQa,3,3,"ng-container",5),T(8,"async"),J(),R(9,PQa,3,2,"ng-template",null,6,of));a&2&&(C(1),Ae("aria-label",b.ariaLabel),C(1),G("ngForOf",U(3,6,b.tabs$))("ngForTrackBy",b.trackByKey),C(2),G("ngIf",Ze(12,uLc,U(5,
8,b.allTabsExpanded$))),C(3),G("ngForOf",U(8,10,b.tabs$))("ngForTrackBy",b.trackByKey))},dependencies:[Su,Tu,Yu,yy,jz,Zu],styles:[".expandable-tabs[_ngcontent-%COMP%]{gap:8px}.expandable-tab[_ngcontent-%COMP%]{padding:5px 7px;border-radius:16px;border:1px solid;border-color:#dadce0;border-color:var(--c300);color:#3c4043;color:var(--c800)}.expandable-tab.expanded[_ngcontent-%COMP%]{color:#1967d2;color:var(--primary-c700);background-color:#e8f0fe;background-color:var(--primary-c50);border-color:transparent}.expandable-tab[_ngcontent-%COMP%]:hover{-webkit-filter:brightness(95%);filter:brightness(95%)}[_nghost-%COMP%]     .expandable-tab .mat-button-wrapper{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;gap:4px}[_nghost-%COMP%]     .expandable-tab.mat-button{line-height:unset}.expandable-tabs-hide-all[_ngcontent-%COMP%], .expandable-tabs-show-all[_ngcontent-%COMP%]{margin-left:auto}.expandable-tab-content[_ngcontent-%COMP%]{margin-left:8px;margin-right:8px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.expandable-tab-content[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;gap:4px;color:#202124;color:var(--c900);margin:16px 0}.expandable-tab-content[_ngcontent-%COMP%]:not(:last-child){padding-bottom:16px;border-bottom:1px solid;border-bottom-color:#dadce0;border-bottom-color:var(--divider)}\n/*# sourceMappingURL=expandable_tabs.css.map */"],
changeDetection:0});var TQa=function(){return[]},CT=function(a,b,c,d,e,g){kE.call(this);var h=this;this.activeSession=a;this.userPreferencesManager=b;this.issueInteractionsTracking=c;this.issueFridge=d;this.analytics=e;this.eventsForIssueFridge=g;this.TabKeys=qLc;this.issueId$=new F.ReplaySubject(1);this.alwaysStartCollapsed=!1;this.issue$=this.issueId$.pipe(pe(function(l){return h.issueFridge.watch(l)}),Zd(eh));this.commentNumberToEventMap$=this.issueId$.pipe(pe(function(l){return h.eventsForIssueFridge.watch(l)}),
E(function(l){var q;return null!=(q=null==l?void 0:l.events)?q:[]}),E(function(l){return new Map(l.filter(function(q){return!!q.commentNumber}).map(function(q){return[q.commentNumber,q]}))}));this.relatedLinks$=(0,F.combineLatest)([this.issue$,this.commentNumberToEventMap$]).pipe(E(function(l){l=k(l);var q=l.next().value,v=l.next().value,y;return(null==(y=q.relatedLinks)?void 0:y.map(function(B){return Object.assign({},B,{comment:v.get(B.sourceCommentNumber)})}))||[]}));this.imageLinks$=this.relatedLinks$.pipe(E(function(l){return l.filter(Dxa)}));
this.distinctImageLinksCount$=this.imageLinks$.pipe(E(function(l){return fk(l,function(q){return Gxa(q.href)})}),E(function(l){return l.length}));this.shouldShowImages$=this.imageLinks$.pipe(E(function(l){return h.activeSession.isInternalSession()&&iE(h.activeSession,"enableImageSummary")&&vLc(h,l)}));this.issues$=this.relatedLinks$.pipe(E(function(l){return l.filter(Hxa)}));this.distinctIssuesCount$=this.issues$.pipe(E(function(l){return l.filter(function(q){return q.issueId!==h.issueId})}),E(function(l){return fk(l,
function(q){return q.issueId})}),E(function(l){return l.length}));this.shouldShowIssues$=this.distinctIssuesCount$.pipe(E(function(l){return iE(h.activeSession,"enableRelatedIssuesWidget")&&!!l}));this.otherLinks$=this.relatedLinks$.pipe(E(function(l){return l.filter(Ixa)}));this.distinctOtherLinksCount$=this.otherLinks$.pipe(E(function(l){return fk(l,function(q){return q.href})}),E(function(l){return l.length}));this.shouldShowLinks$=this.otherLinks$.pipe(E(function(l){return iE(h.activeSession,
"enableLinksWidget")&&h.shouldShowLinks(l)}));this.tabKeys$=(0,F.combineLatest)([this.shouldShowImages$.pipe(E(function(l){return{show:l,key:"SW-images"}})),this.shouldShowIssues$.pipe(E(function(l){return{show:l,key:"SW-mentioned-bugs"}})),this.shouldShowLinks$.pipe(E(function(l){return{show:l,key:"SW-links"}}))]).pipe(E(function(l){return l.filter(function(q){return q.show}).map(function(q){return q.key})}));this.shouldShowSummaryCard$=this.tabKeys$.pipe(E(function(l){return!!l.length}),ee(0,F.asapScheduler));
this.initiallyExpandedTabs=cRa.map(function(l){return Apc(h.userPreferencesManager,l)?void 0:l}).filter(eh);this.onTabExpanded$=new tu;this.issueSummaryTracking=new rLc(this.issueInteractionsTracking,this.analytics)};V(CT,kE);CT.\u0275dir=kE.\u0275dir;
CT.prototype.ngOnInit=function(){var a=this;this.alwaysStartCollapsed&&(this.initiallyExpandedTabs=[]);this.subscriptions.add(this.onTabExpanded$.pipe(de(1E3),pe(function(b){var c=b.expandedTabKeys;return zpc(a.userPreferencesManager,Object.fromEntries(b.allTabKeys.map(function(d){return[d,!c.has(d)]})))})).subscribe());this.subscriptions.add(this.tabKeys$.subscribe(function(b){var c=a.issueSummaryTracking,d=a.issueId;b=new Set(b);for(var e=k(b),g=e.next();!g.done;g=e.next())Rm(c.issueInteractionsTracking,
d,g.value+"-available");0<b.size&&Rm(c.issueInteractionsTracking,d,"SW-available")}))};CT.prototype.shouldShowLinks=function(a){return 0===a.length||a.every(function(b){return 1===b.sourceCommentNumber})?!1:!0};var vLc=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 UI(a.userPreferencesManager).showInlineImages&&b?!1:!0};
gg.Object.defineProperties(CT.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)},get:function(){return ol(this.issueId$)}}});CT.\u0275fac=function(a){return new (a||CT)(D(rp),D(TI),D(wJ),D(IH),D(AH),D(pF))};
CT.\u0275cmp=zc({type:CT,selectors:[["issue-summary-card"]],inputs:{issueId:"issueId",alwaysStartCollapsed:"alwaysStartCollapsed"},features:[xe],decls:4,vars:3,consts:[[1,"a11y-only"],["ariaLabel","issue summary sections",3,"tabKeys","expandedTabs","expandedTabsChanged","contentShownChanged",4,"ngIf"],["ariaLabel","issue summary sections",3,"tabKeys","expandedTabs","expandedTabsChanged","contentShownChanged"],["ariaLabel","Toggle screenshots summary section",3,"key"],["expandable-tab-icon",""],["expandable-tab-header",
""],["expandable-tab-content",""],["ariaLabel","Toggle mentioned issues summary section",3,"key"],["ariaLabel","Toggle links summary section",3,"key"],["svgIcon","image",1,"icon-s"],[3,"issueId","imageLinks","click",4,"ngIf"],[3,"issueId","imageLinks","click"],["svgIcon","bug_report_24px",1,"icon-s"],[3,"issueReferences","currentIssueId","click",4,"ngIf"],[3,"issueReferences","currentIssueId","click"],["svgIcon","link",1,"icon-s"],[3,"links","issueId","click"]],template:function(a,b){a&1&&(H(0,"h3",
0),S(1,"Issue summary"),J(),R(2,dRa,13,5,"expandable-tabs",1),T(3,"async"));a&2&&(C(2),G("ngIf",U(3,1,b.tabKeys$)))},dependencies:[Tu,jz,AT,xT,yT,zT,BT,qT,tT,vT,Zu],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 kRa=function(){return[]},pRa=function(){return{hideHeader:!0,assigneeMode:"avatar-in-progress",showPendingFixCls:!0}},FRa="QA"===bk().config.environmentType?82860:1298542,DT=function(a,b,c,d,e,g){kE.call(this);var h=this;this.hackyPrefs=a;this.issueFridge=b;this.data=c;this.workspaceService=d;this.activeSession=e;this.projectActivity=g;this.makePie=Lxa;this.getEndDate=ERa;this.Number=Number;this.makeCritiqueUrl=Kxa;this.makeScreenshotViewUrl=GRa;this.log=console.log.bind(console);this.TABLE_COLUMNS=
"focus-indicator drag-handle title assignee status id menu".split(" ");this.maybeIssueId$=new F.BehaviorSubject(void 0);this.issueId$=this.maybeIssueId$.pipe(Zd(Boolean));this.issue$=this.issueId$.pipe(pe(this.issueFridge.watchOne));this.projectData$=this.issueId$.pipe(pe(function(l){return Djc(h.data,[l])}),ne({refCount:!0,bufferSize:1}));this.taskFlowLink$=this.issueId$.pipe(pe(function(l){return h.getTaskFlowLink(l)}));this.projectActivityStream$=this.issueId$.pipe(pe(function(l){return koc(h.projectActivity,
l)}));this.environmentType=this.activeSession.getEnvironmentType()};V(DT,kE);DT.\u0275dir=kE.\u0275dir;DT.prototype.isCollapsed=function(a){return!0===this.neverCollapse?!1:null==a?!0:this.addMode||this.prefs.collapsed["project-"+a]};
DT.prototype.getTaskFlowLink=function(a){var b=this;return PAc(this.workspaceService,a).pipe(pe(function(c){if(0<c.length){c=c[0];switch(b.environmentType){case "NIGHTLY":case "PROD":var d="https://taskflow.corp.google.com/workspaces";break;default:d="https://taskflow-autopush.corp.google.com/workspaces"}c=(0,F.of)(d+"/"+c.workspaceId+"/work_item/b/"+c.issueId)}else c=(0,F.of)(void 0);return c}))};
gg.Object.defineProperties(DT.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.maybeIssueId$.next(a)},get:function(){return this.maybeIssueId$.value}},prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});DT.\u0275fac=function(a){return new (a||DT)(D(qI),D(IH),D(qF),D(tQ),D(rp),D(tI))};
DT.\u0275cmp=zc({type:DT,selectors:[["issue-as-project-card"]],inputs:{addMode:"addMode",neverCollapse:"neverCollapse",issueId:"issueId"},features:[xe],decls:5,vars:10,consts:[[1,"carded","bg-main"],[4,"ngIf","ngIfElse"],["noIssue",""],[1,"flex-kids-x"],[1,"edit-controls","gap","shrink-0"],[1,"margin-right"],["mat-button","","title","Save this project to your homepage",1,"gmat-button","add",3,"click"],[1,"main","grow-1"],[1,"header-left"],[1,"type-l","line-clamp-3"],[1,"subtle-link",3,"href"],["mat-icon-button",
"","aria-label","Toggle expansion state",1,"gmat-button","small","collapse-btn",3,"click"],["svgIcon","arrow-up",1,"icon-s"],[4,"ngIf"],["menu","matMenu"],["mat-menu-item","",3,"disabled","click"],["svgIcon","arrow-upward",1,"icon-s"],[1,"type-button"],["svgIcon","arrow-downward",1,"icon-s"],["mat-menu-item","",3,"click"],["svgIcon","delete",1,"icon-s"],["mat-menu-item","",3,"href"],[1,"icon-s"],["class","main-content",4,"ngIf"],["class","margin-left-auto flex-kids-x align-items-center","tabIndex",
"0",3,"click",4,"ngIf"],["tabIndex","0",1,"margin-left-auto","flex-kids-x","align-items-center",3,"click"],[1,"collapsed-stats","margin-right"],["class","flex-kids-x align-items-center",4,"ngIf"],["class","contributor-avatar",3,"email",4,"ngFor","ngForOf"],["mat-icon-button","","aria-label","More options","aria-haspopup","true",1,"gmat-button","card-overflow",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical",1,"icon-m"],[1,"flex-kids-x","align-items-center"],["aria-hidden","true","alt","",
"src","https://static.corp.google.com/devtools/codereview/new_logo_only.svg",2,"width","16px"],["target","_blank",1,"subtle-link",2,"color","var(--text-good)",3,"href"],[1,"contributor-avatar",3,"email"],["class","flex-kids-x align-items-center gap stats",3,"click",4,"ngIf"],[1,"flex-kids-x","align-items-center","gap","stats",3,"click"],["class","flex-kids-x align-items-center",3,"title",4,"ngIf"],[1,"flex-kids-x","align-items-center",3,"title"],[1,"pie","margin-s-right"],["svgIcon","release-notes-default",
1,"icon-s"],["target","_blank","class","subtle-link","style","color: var(--text-good)",3,"href",4,"ngIf"],[1,"main-content"],[3,"saveExpansionAtKey","rootIssueId","filters","tableColumns","options","projectData"],[1,"",3,"id"],[3,"issueId","alwaysStartCollapsed"],["issueSummaryCard",""],[1,"muted","margin-top"],[3,"href"],["href","https://launch.corp.google.com","target","_blank",1,"subtle-link","muted","margin-right"],["loading",""],["target","_blank",1,"subtle-link","muted","margin-right",3,"href"],
["target","_blank",1,"margin-right",3,"href"],[3,"activityEvents","title"],["loadFailed",""],[1,"muted"],["href","javascript:void(0);",1,"color-bad-text",3,"click"]],template:function(a,b){a&1&&(H(0,"div",0),R(1,zRa,37,9,"ng-container",1),T(2,"async"),R(3,CRa,3,2,"ng-template",null,2,of),J());if(a&2){var c=Se(4);Ie("collapsed",b.isCollapsed(b.issueId))("never-collapse-mode",b.neverCollapse)("add-mode",b.addMode);C(1);G("ngIf",U(2,8,b.issue$))("ngIfElse",c)}},dependencies:[Su,Tu,yy,jz,yP,vK,SL,PA,
NA,OA,TL,nT,CT,OL,Zu,fv,ev],styles:['[_nghost-%COMP%]{display:block}h4[_ngcontent-%COMP%]   [mat-icon-button][_ngcontent-%COMP%]{margin-top:-4px;margin-bottom:-4px}.carded[_ngcontent-%COMP%] > header[_ngcontent-%COMP%]{margin-bottom:8px}.header-left[_ngcontent-%COMP%]{margin-top:-3px}b-user-image[_ngcontent-%COMP%]{margin-right:-8px;-webkit-transition:margin .1s ease-in-out;transition:margin .1s ease-in-out}[_ngcontent-%COMP%]:focus   b-user-image[_ngcontent-%COMP%]{margin-right:4px}[_nghost-%COMP%]     .user-avatar img{box-shadow:0 0 0 1px var(--divider),0 0 0 3px var(--surface-default)}[_nghost-%COMP%]     .contributor-avatar .user-avatar{display:inline-block;height:32px;width:32px}[_nghost-%COMP%]     .contributor-avatar .user-avatar img{max-height:100%;max-width:100%}b-user-image[_ngcontent-%COMP%]:has(img[src="https://lh3.googleusercontent.com/a/default-user=s32-p-k"]){display:none}.collapsed[_ngcontent-%COMP%]   .main-content[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   .stats[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   footer[_ngcontent-%COMP%]{display:none}.collapsed-stats[_ngcontent-%COMP%]{display:none}.collapsed[_ngcontent-%COMP%]   .collapsed-stats[_ngcontent-%COMP%]{display:block}.collapsed.carded[_ngcontent-%COMP%] > header[_ngcontent-%COMP%]{margin-bottom:0}.edit-controls[_ngcontent-%COMP%]{overflow:hidden;max-width:0;-webkit-transition:max-width .2s ease-out;transition:max-width .2s ease-out}.add-mode[_ngcontent-%COMP%]   .edit-controls[_ngcontent-%COMP%]{max-width:100%}.edit-controls[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{display:none}.add-mode[_ngcontent-%COMP%]   button.add[_ngcontent-%COMP%]{display:inline-block}.add-mode[_ngcontent-%COMP%]   button.remove[_ngcontent-%COMP%]{display:none!important}.card-overflow[_ngcontent-%COMP%]{margin-left:12px;margin-right:-4px}b-issue-description[_ngcontent-%COMP%]{max-height:400px;overflow-y:auto}\n/*# sourceMappingURL=issue_as_project_card.css.map */',
".never-collapse-mode[_ngcontent-%COMP%]   .header-left[_ngcontent-%COMP%]   .collapse-btn[_ngcontent-%COMP%], .never-collapse-mode[_ngcontent-%COMP%]   .header-left[_ngcontent-%COMP%]   .symbol.arrow[_ngcontent-%COMP%], .never-collapse-mode[_ngcontent-%COMP%]   .header-left[_ngcontent-%COMP%]   .type-l[_ngcontent-%COMP%]{display:none}.never-collapse-mode[_ngcontent-%COMP%]   .stats[_ngcontent-%COMP%]{margin-top:-24px}.add-mode[_ngcontent-%COMP%]   .collapse-btn[_ngcontent-%COMP%]{display:none}.collapse-btn[_ngcontent-%COMP%]{-webkit-transition:-webkit-transform .1s ease-in-out;transition:-webkit-transform .1s ease-in-out;transition:transform .1s ease-in-out;transition:transform .1s ease-in-out,-webkit-transform .1s ease-in-out}.collapsed[_ngcontent-%COMP%]   .collapse-btn[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.pie[_ngcontent-%COMP%]{display:inline-block;width:24px;height:24px;border-radius:50%;background-color:#f8f9fa;background-color:var(--surface-secondary)}\n/*# sourceMappingURL=all_work_cards.css.map */"]});
var DRa=function(a){return function(b){var c,d;return(null!=(d=null==(c=b.snapshot[0])?void 0:c.customField)?d:[]).find(function(e){return e.customFieldId===a})}}(1070134);var ET=function(a,b,c,d){kE.call(this);var e=this;this.hackyPrefs=a;this.issueRelationshipsFridge=b;this.issueFridge=c;this.projectSuggestService=d;this.log=console.log.bind(console);this.projectIds$=this.issueRelationshipsFridge.watch(this.hackyPrefs.prefs.id).pipe(E(function(g){var h;return null!=(h=null==g?void 0:g.relatedChildren.map(function(l){return l.targetIssueId}))?h:[]}));this.suggestionCount=3;this.suggestedProjects$=(0,F.combineLatest)([poc(this.projectSuggestService),znc(this.issueRelationshipsFridge,
this.hackyPrefs.prefs.id,2)]).pipe(E(function(g){g=k(g);var h=g.next().value,l=g.next().value.results.map(function(q){return q.issueId});return h.filter(function(q){return!l.includes(q)})}),pe(this.issueFridge.watchSet));this.addProject=function(g){null!=g&&Hl(e.hackyPrefs,g)}};V(ET,kE);ET.\u0275dir=kE.\u0275dir;ET.\u0275fac=function(a){return new (a||ET)(D(qI),D(PH),D(IH),D(uI))};
ET.\u0275cmp=zc({type:ET,selectors:[["suggested-issue-projects"]],inputs:{disableShowMore:"disableShowMore",suggestionCount:"suggestionCount"},features:[xe],decls:4,vars:4,consts:[[4,"ngIf","ngIfElse"],["loading",""],[1,"flex-kids-y","gap"],[1,"muted"],["mat-icon-button","","href","http://go/b-learn-project-suggestions","target","_blank","title","Learn more","aria-label","Learn more",1,"small"],["svgIcon","info",1,"icon-s"],[4,"ngFor","ngForOf"],["class","muted",4,"ngIf"],["mat-button","","class",
"gmat-button","title","Show more projects",3,"click",4,"ngIf"],[3,"issueId","addMode"],["mat-button","","title","Show more projects",1,"gmat-button",3,"click"]],template:function(a,b){a&1&&(R(0,KRa,10,7,"ng-container",0),T(1,"async"),R(2,LRa,3,0,"ng-template",null,1,of));if(a&2){var c=Se(3);G("ngIf",U(1,2,b.suggestedProjects$))("ngIfElse",c)}},dependencies:[Su,Tu,yy,zy,jz,DT,SL,Zu,fv],styles:["[_nghost-%COMP%] { display: block; }"]});var FT=function(a,b,c){this.dialogRef=a;this.params=c;this.DEFAULTS={};this.data=Object.assign({},this.DEFAULTS,b);this.data.prefilledSearchInput&&""!==this.data.prefilledSearchInput&&(this.userSearchInput=this.data.prefilledSearchInput)};FT.prototype.onEnter=function(){this.onConfirm()};FT.prototype.onEscape=function(){this.dialogRef.close()};
FT.prototype.onConfirm=function(){var a,b=null==(a=this.userSearchInput)?void 0:a.trim();if(null==b?0:b.match(/\d{3,}/))if(null==uk(b))this.errorMsg="That doesn't look an issue, hotlist, or saved search";else{a:{a=Txa(b);if(null!=a)switch(uk(b)){case "hotlist":b=sk(a);break a;case "savedsearch":b=tk(a);break a;default:b=a;break a}b=void 0}this.dialogRef.close(b)}else this.errorMsg="Please enter an ID. (at least 3 numbers in a row)"};FT.prototype.onCancel=function(){this.dialogRef.close()};
FT.\u0275fac=function(a){return new (a||FT)(D(Iy),D(Ky),D(pJ))};
FT.\u0275cmp=zc({type:FT,selectors:[["ng-component"]],hostBindings:function(a,b){a&1&&O("keydown.escape",function(){return b.onEscape()})},decls:18,vars:4,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["type","text","mat-input","","placeholder","Enter an ID",1,"search-field",3,"ngModel","keydown.enter","ngModelChange"],["class","color-bad-text margin-s-top",4,"ngIf"],[1,"muted","flex-kids-x","margin-top"],["mat-icon-button","","href","http://go/b-learn-project-add","target","_blank","title",
"Learn more","aria-label","Learn more",1,"small"],["svgIcon","info",1,"icon-s"],["class","suggestions margin-top",4,"ngIf"],["mat-dialog-actions",""],["mat-button","",1,"gmat-button","medium","cancel",3,"click"],["mat-flat-button","","color","primary",1,"gmat-button","medium","confirm",3,"disabled","click"],[1,"color-bad-text","margin-s-top"],[1,"suggestions","margin-top"],[1,"flex-hemmed"],[1,"margin-bottom",3,"suggestionCount","disableShowMore","click"],[3,"suggestionCount","disableShowMore","click"]],
template:function(a,b){a&1&&(H(0,"h2",0),S(1," Add a Project\n"),J(),H(2,"div",1)(3,"input",2),O("keydown.enter",function(){return b.onEnter()})("ngModelChange",function(c){return b.userSearchInput=c}),J(),R(4,MRa,2,1,"p",3),H(5,"div",4)(6,"a",5),K(7,"mat-icon",6),J(),H(8,"p"),S(9,' Add "parent" tracking bugs using their ID. '),K(10,"br"),S(11,' Or, add hotlists and saved searches by URL or with syntax like "hotlist/123456" and "savedsearch-789012". '),J()(),R(12,NRa,9,4,"aside",7),J(),H(13,"div",
8)(14,"button",9),O("click",function(){return b.onCancel()}),S(15," Cancel "),J(),H(16,"button",10),O("click",function(){return b.onConfirm()}),S(17," Confirm "),J()());a&2&&(C(3),G("ngModel",b.userSearchInput),C(1),G("ngIf",b.errorMsg),C(8),G("ngIf",null==b.userSearchInput||0===(null==b.userSearchInput?null:b.userSearchInput.length)),C(4),G("disabled",null==b.userSearchInput||0===b.userSearchInput.length))},dependencies:[Tu,yy,zy,jz,Ny,Oy,Py,Af,tv,zv,VL,ET],styles:["[_nghost-%COMP%]     .suggestions{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;width:900px}[_nghost-%COMP%]     .suggestions suggested-hotlists>.gap, [_nghost-%COMP%]     .suggestions suggested-issue-projects>.gap{gap:unset}[_nghost-%COMP%]     .suggestions .gap>p:first-of-type{margin-bottom:8px}[_nghost-%COMP%]     .suggestions .carded{border:none;margin:0 -24px;padding:8px}\n/*# sourceMappingURL=project_picker_dialog.css.map */",
".search-field[_ngcontent-%COMP%] {\n      height: 32px;\n      width: 100%;\n    }"]});var GT=function(a){this.dialog=a};GT.prototype.open=function(a,b){var c=this;a=void 0===a?{}:a;var d={panelClass:"no-jitter",data:a};return new Promise(function(e){Gy(c.dialog.open(FT,d)).subscribe(function(g){null==b||b(g);e(g)})})};GT.\u0275fac=function(a){return new (a||GT)(w(Ly))};GT.\u0275prov=nc({token:GT,factory:GT.\u0275fac,providedIn:"root"});var HT=function(){};HT.\u0275fac=function(a){return new (a||HT)};HT.\u0275mod=Bc({type:HT});HT.\u0275inj=oc({imports:[WB,zC,MF]});var wLc=Of("indicator",[Rf("active-asc, asc",Qf({transform:"translateY(0px)"})),Rf("active-desc, desc",Qf({transform:"translateY(10px)"})),Sf("active-asc <=> active-desc",Pf("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),xLc=Of("leftPointer",[Rf("active-asc, asc",Qf({transform:"rotate(-45deg)"})),Rf("active-desc, desc",Qf({transform:"rotate(45deg)"})),Sf("active-asc <=> active-desc",Pf("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),yLc=Of("rightPointer",[Rf("active-asc, asc",Qf({transform:"rotate(45deg)"})),Rf("active-desc, desc",
Qf({transform:"rotate(-45deg)"})),Sf("active-asc <=> active-desc",Pf("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),zLc=Of("arrowOpacity",[Rf("desc-to-active, asc-to-active, active",Qf({opacity:1})),Rf("desc-to-hint, asc-to-hint, hint",Qf({opacity:.54})),Rf("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",Qf({opacity:0})),Sf("* => asc, * => desc, * => active, * => hint, * => void",Pf("0ms")),Sf("* <=> *",Pf("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),ALc=Of("arrowPosition",[Sf("* => desc-to-hint, * => desc-to-active",
Pf("225ms cubic-bezier(0.4,0.0,0.2,1)",{type:5,steps:[Qf({transform:"translateY(-25%)"}),Qf({transform:"translateY(0)"})]})),Sf("* => hint-to-desc, * => active-to-desc",Pf("225ms cubic-bezier(0.4,0.0,0.2,1)",{type:5,steps:[Qf({transform:"translateY(0)"}),Qf({transform:"translateY(25%)"})]})),Sf("* => asc-to-hint, * => asc-to-active",Pf("225ms cubic-bezier(0.4,0.0,0.2,1)",{type:5,steps:[Qf({transform:"translateY(25%)"}),Qf({transform:"translateY(0)"})]})),Sf("* => hint-to-asc, * => active-to-asc",
Pf("225ms cubic-bezier(0.4,0.0,0.2,1)",{type:5,steps:[Qf({transform:"translateY(0)"}),Qf({transform:"translateY(-25%)"})]})),Rf("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",Qf({transform:"translateY(0)"})),Rf("hint-to-desc, active-to-desc, desc",Qf({transform:"translateY(-25%)"})),Rf("hint-to-asc, active-to-asc, asc",Qf({transform:"translateY(25%)"}))]),BLc=Of("allowChildren",[Sf("* <=> *",[apa("@*",$oa())])]);var IT=function(){this.changes=new F.Subject};IT.\u0275fac=function(a){return new (a||IT)};IT.\u0275prov=nc({token:IT,factory:IT.\u0275fac,providedIn:"root"});var CLc={provide:IT,deps:[[new Ot,new Pt,IT]],useFactory:function(a){return a||new IT}};var DLc=new Hc("MAT_SORT_DEFAULT_OPTIONS"),ELc=vqa(jg(function(){})),JT=function(a){var b=ELc.call(this)||this;b._defaultOptions=a;b.sortables=new Map;b._stateChanges=new F.Subject;b.start="asc";b._direction="";b.sortChange=new tu;return b};V(JT,ELc);f=JT.prototype;f.register=function(a){this.sortables.set(a.id,a)};f.deregister=function(a){this.sortables.delete(a.id)};
f.sort=function(a){if(this.active!=a.id)this.active=a.id,this.direction=a.start?a.start:this.start;else{if(a){var b,c,d,e=null!=(d=null!=(c=null==a?void 0:a.disableClear)?c:this.disableClear)?d:!(null==(b=this._defaultOptions)||!b.disableClear);b=["asc","desc"];"desc"==(a.start||this.start)&&b.reverse();e||b.push("");a=b.indexOf(this.direction)+1;a>=b.length&&(a=0);a=b[a]}else a="";this.direction=a}this.sortChange.emit({active:this.active,direction:this.direction})};f.ngOnInit=function(){this._markInitialized()};
f.ngOnChanges=function(){this._stateChanges.next()};f.ngOnDestroy=function(){this._stateChanges.complete()};gg.Object.defineProperties(JT.prototype,{direction:{configurable:!0,enumerable:!0,get:function(){return this._direction},set:function(a){this._direction=a}},disableClear:{configurable:!0,enumerable:!0,get:function(){return this._disableClear},set:function(a){this._disableClear=Ef(a)}}});JT.\u0275fac=function(a){return new (a||JT)(D(DLc,8))};
JT.\u0275dir=Cc({type:JT,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],active:["matSortActive","active"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[xe,Mc]});var FLc=jg(function(){}),KT=function(a,b,c,d,e,g,h,l){var q=FLc.call(this)||this;q._intl=a;q._changeDetectorRef=b;q._sort=c;q._columnDef=d;q._focusMonitor=e;q._elementRef=g;q._ariaDescriber=h;q._showIndicatorHint=!1;q._viewState={};q._arrowDirection="";q._disableViewStateAnimation=!1;q.arrowPosition="after";q._sortActionDescription="Sort";if(null==l?0:l.arrowPosition)q.arrowPosition=null==l?void 0:l.arrowPosition;q._handleStateChanges();return q};V(KT,FLc);f=KT.prototype;
f.ngOnInit=function(){!this.id&&this._columnDef&&(this.id=this._columnDef.name);this._updateArrowDirection();this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection});this._sort.register(this);this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container");this._updateSortActionDescription(this._sortActionDescription)};
f.ngAfterViewInit=function(){var a=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(b){b=!!b;b!==a._showIndicatorHint&&(a._setIndicatorHintVisible(b),a._changeDetectorRef.markForCheck())})};f.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef);this._sort.deregister(this);this._rerenderSubscription.unsubscribe()};
f._setIndicatorHintVisible=function(a){this._isDisabled()&&a||(this._showIndicatorHint=a,this._isSorted()||(this._updateArrowDirection(),this._showIndicatorHint?this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"hint"}):this._setAnimationTransitionState({fromState:"hint",toState:this._arrowDirection})))};f._setAnimationTransitionState=function(a){this._viewState=a||{};this._disableViewStateAnimation&&(this._viewState={toState:a.toState})};
f._toggleOnInteraction=function(){this._sort.sort(this);if("hint"===this._viewState.toState||"active"===this._viewState.toState)this._disableViewStateAnimation=!0};f._handleClick=function(){this._isDisabled()||this._sort.sort(this)};f._handleKeydown=function(a){this._isDisabled()||32!==a.keyCode&&13!==a.keyCode||(a.preventDefault(),this._toggleOnInteraction())};f._isSorted=function(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)};
f._getArrowDirectionState=function(){return(this._isSorted()?"active-":"")+this._arrowDirection};f._getArrowViewState=function(){var a=this._viewState.fromState;return(a?a+"-to-":"")+this._viewState.toState};f._updateArrowDirection=function(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start};f._isDisabled=function(){return this._sort.disabled||this.disabled};
f._getAriaSortAttribute=function(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"};f._renderArrow=function(){return!this._isDisabled()||this._isSorted()};f._updateSortActionDescription=function(a){if(this._sortButton){var b;null==(b=this._ariaDescriber)||x0b(b,this._sortButton,this._sortActionDescription);var c;null==(c=this._ariaDescriber)||c.describe(this._sortButton,a)}this._sortActionDescription=a};
f._handleStateChanges=function(){var a=this;this._rerenderSubscription=(0,F.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()})};gg.Object.defineProperties(KT.prototype,{sortActionDescription:{configurable:!0,enumerable:!0,get:function(){return this._sortActionDescription},set:function(a){this._updateSortActionDescription(a)}},disableClear:{configurable:!0,enumerable:!0,get:function(){return this._disableClear},set:function(a){this._disableClear=Ef(a)}}});
KT.\u0275fac=function(a){return new (a||KT)(D(IT),D(Lu),D(JT,8),D("MAT_SORT_HEADER_COLUMN_DEF",8),D(Zv),D(fd),D(ex,8),D(DLc,8))};
KT.\u0275cmp=zc({type:KT,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(a,b){a&1&&O("click",function(){return b._handleClick()})("keydown",function(c){return b._handleKeydown(c)})("mouseenter",function(){return b._setIndicatorHintVisible(!0)})("mouseleave",function(){return b._setIndicatorHintVisible(!1)});a&2&&(Ae("aria-sort",b._getAriaSortAttribute()),Ie("mat-sort-header-disabled",b._isDisabled()))},inputs:{disabled:"disabled",id:["mat-sort-header",
"id"],arrowPosition:"arrowPosition",start:"start",sortActionDescription:"sortActionDescription",disableClear:"disableClear"},exportAs:["matSortHeader"],features:[xe],attrs:["mat-sort-header",""],ngContentSelectors:["*"],decls:4,vars:7,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],
[1,"mat-sort-header-pointer-middle"]],template:function(a,b){a&1&&(Ne(),H(0,"div",0)(1,"div",1),Oe(2),J(),R(3,ORa,6,6,"div",2),J());a&2&&(Ie("mat-sort-header-sorted",b._isSorted())("mat-sort-header-position-before","before"===b.arrowPosition),Ae("tabindex",b._isDisabled()?null:0)("role",b._isDisabled()?null:"button"),C(3),G("ngIf",b._renderArrow()))},dependencies:[Tu],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}\n"],
encapsulation:2,data:{animation:[wLc,xLc,yLc,zLc,ALc,BLc]},changeDetection:0});var GLc="focus-indicator title type team id assignee status menu".split(" "),LT=function(a,b,c){kE.call(this);var d=this;this.issueFridge=a;this.router=b;this.domSafe=c;this.issueIds$=new F.BehaviorSubject([]);this.menuItemFactory=function(){return[]};this.internalFilters=new IJ;this.tableColumns=GLc.slice();this.activeSort$=new F.BehaviorSubject(void 0);this.allRows$=this.issueIds$.pipe(ul(),E(function(e){return e.map(function(g){return{id:g,issue$:d.issueFridge.watch(g)}})}),ne({refCount:!0,bufferSize:1}));
this.allIssuesAreLoaded$=this.allRows$.pipe(pe(function(e){return(0,F.combineLatest)(e.map(function(g){return g.issue$.pipe(oe(null))}))}),E(function(e){return e.every(function(g){return null!==g})}));this.unarchivedRows$=this.allRows$.pipe(Sja(this.allIssuesAreLoaded$),E(function(e){e=k(e);var g=e.next().value;return e.next().value?g.filter(function(h){var l;return!(null==(l=mk(h))?0:l.isArchived)}):g}));this.sortRows=(0,F.pipe)(Sja(this.activeSort$,this.allIssuesAreLoaded$),E(function(e){e=k(e);
var g=e.next().value,h=e.next().value;return e.next().value?lSa(g,h):g}));this.filterRows=(0,F.pipe)(Sja(this.internalFilters.value$),pe(function(e){e=k(e);var g=e.next().value,h=e.next().value;return 0===h.size?(0,F.of)(g):(0,F.combineLatest)(g.map(function(l){return l.issue$})).pipe(E(function(l){return g.filter(function(q,v){return!l[v]||kLa(l[v],h)})}))}));this.rows$=this.unarchivedRows$.pipe(this.filterRows,this.sortRows);this.filteredRowCount$=(0,F.combineLatest)([this.unarchivedRows$,this.rows$]).pipe(E(function(e){var g=
k(e);e=g.next().value;g=g.next().value;return e.length-g.length}),fe());this.trackBy=function(e,g){return g.id};this.correctedDisplayedRows=new mf};V(LT,kE);LT.\u0275dir=kE.\u0275dir;f=LT.prototype;f.getMenuItems=function(a){var b=this;return[{type:"action",label:"Go to issue",action:function(c){b.navigateToIssue(c,a)},title:"Go to issue",icon:"arrow-forward"}].concat(Jc(this.menuItemFactory(a)))};f.ngOnInit=function(){this.initialSort&&this.initialSort.direction&&this.activeSort$.next(this.initialSort)};
f.ngAfterViewInit=function(){var a=this;(0,F.combineLatest)([this.rows$,this.displayedRows.changes.pipe(oe(void 0))]).pipe(qe(this.destroyed$)).subscribe(function(b){b=k(b).next().value;var c=new Map(a.displayedRows.map(function(d){return[d.row.id,d]}));b=b.map(function(d){return c.get(d.id)}).filter(Boolean);a.correctedDisplayedRows.reset(b);gf(a.correctedDisplayedRows)});this.focusManager=mx(new ovc(this.correctedDisplayedRows,kSa))};
f.navigateToIssue=function(a,b){!b||a.defaultPrevented||"mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button||"A"===a.target.tagName||(b=this.getIssueUrl(b),a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button?this.domSafe.openInNewTab(b):a&&a.shiftKey?Wl(this.domSafe,b):ip(this.router,b))};f.onRowKeydown=function(a,b){this.focusManager.onKeydown(b)};f.onSortChange=function(a){this.activeSort$.next(a)};f.getIssueUrl=function(a){return this.issueUrlFactory?this.issueUrlFactory(a):Gk(a)};
gg.Object.defineProperties(LT.prototype,{issueIds:{configurable:!0,enumerable:!0,set:function(a){this.issueIds$.next(null!=a?a:[])}},filters:{configurable:!0,enumerable:!0,set:function(a){this.internalFilters.reset(null!=a?a:[])}}});LT.\u0275fac=function(a){return new (a||LT)(D(IH),D(GG),D(rK))};
LT.\u0275cmp=zc({type:LT,selectors:[["b-issues-table"]],viewQuery:function(a,b){a&1&&jf(uM,5);if(a&2){var c;hf(c=lf())&&(b.displayedRows=c)}},inputs:{issueIds:"issueIds",menuItemFactory:"menuItemFactory",initialSort:"initialSort",issueUrlFactory:"issueUrlFactory",filters:"filters",tableColumns:"tableColumns"},features:[xe],decls:35,vars:10,consts:[["mat-table","","matSort","",1,"full-width",3,"dataSource","trackBy","matSortActive","matSortDirection","matSortChange"],["matColumnDef","focus-indicator"],
["mat-header-cell","",4,"matHeaderCellDef"],["tabindex","-1","mat-cell","",4,"matCellDef"],["matColumnDef","id"],["mat-cell","",4,"matCellDef"],["matColumnDef","title"],["matColumnDef","type"],["mat-header-cell","","mat-sort-header","type",4,"matHeaderCellDef"],["matColumnDef","assignee"],["mat-header-cell","","mat-sort-header","assignee",4,"matHeaderCellDef"],["matColumnDef","reporter"],["mat-header-cell","","mat-sort-header","reporter",4,"matHeaderCellDef"],["matColumnDef","status"],["mat-header-cell",
"","mat-sort-header","status",4,"matHeaderCellDef"],["matColumnDef","team"],["matColumnDef","createdTime"],["mat-header-cell","","mat-sort-header","createdTime",4,"matHeaderCellDef"],["matColumnDef","menu"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","selectionPreventsClick","","class","clickable",3,"row","click","mouseup","focusin","keydown",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["tabindex","-1","mat-cell",""],["mat-cell",""],[3,"id"],[3,"issue","issueUrlFactory"],
["mat-header-cell","","mat-sort-header","type"],[3,"issue"],["mat-header-cell","","mat-sort-header","assignee"],["mat-header-cell","","mat-sort-header","reporter"],["mat-header-cell","","mat-sort-header","status"],["mat-header-cell","","mat-sort-header","createdTime"],["buttonLabel","More options",3,"menuItems","click"],["mat-header-row",""],["mat-row","","selectionPreventsClick","",1,"clickable",3,"row","click","mouseup","focusin","keydown"]],template:function(a,b){a&1&&(H(0,"table",0),O("matSortChange",
function(e){return b.onSortChange(e)}),T(1,"async"),T(2,"async"),L(3,1),R(4,PRa,1,0,"th",2),R(5,QRa,1,0,"td",3),M(),L(6,4),R(7,RRa,2,0,"th",2),R(8,SRa,2,1,"td",5),M(),L(9,6),R(10,TRa,2,0,"th",2),R(11,URa,3,4,"td",5),M(),L(12,7),R(13,VRa,2,0,"th",8),R(14,WRa,3,3,"td",5),M(),L(15,9),R(16,XRa,2,0,"th",10),R(17,YRa,3,3,"td",5),M(),L(18,11),R(19,ZRa,2,0,"th",12),R(20,$Ra,3,3,"td",5),M(),L(21,13),R(22,aSa,2,0,"th",14),R(23,bSa,3,3,"td",5),M(),L(24,15),R(25,cSa,2,0,"th",2),R(26,dSa,3,3,"td",5),M(),L(27,
16),R(28,eSa,2,0,"th",17),R(29,fSa,3,3,"td",5),M(),L(30,18),R(31,gSa,1,0,"th",2),R(32,hSa,2,1,"td",5),M(),R(33,iSa,1,0,"tr",19),R(34,jSa,1,1,"tr",20),J());if(a&2){var c,d;G("dataSource",b.rows$)("trackBy",b.trackBy)("matSortActive",null!==(c=null==(c=U(1,6,b.activeSort$))?null:c.active)&&void 0!==c?c:"")("matSortDirection",null!==(d=null==(d=U(2,8,b.activeSort$))?null:d.direction)&&void 0!==d?d:"");C(33);G("matHeaderRowDef",b.tableColumns);C(1);G("matRowDefColumns",b.tableColumns)}},dependencies:[JT,
KT,FL,xL,BL,yL,wL,CL,zL,AL,DL,EL,RK,DK,EK,mM,FK,GK,JK,PK,QK,SK,uM,Zu],styles:[".mat-header-cell[_ngcontent-%COMP%]{font-weight:500}tr.mat-header-row[_ngcontent-%COMP%], tr.mat-row[_ngcontent-%COMP%]{height:32px}td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%], th.mat-header-cell[_ngcontent-%COMP%]{font-size:.8125rem;padding:0 4px}td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%]{color:#202124;color:var(--row-default-text)}th.mat-header-cell[_ngcontent-%COMP%]{color:#202124;color:var(--text-high-contrast)}td.mat-column-menu[_ngcontent-%COMP%], td.mat-column-save[_ngcontent-%COMP%]{width:32px;height:32px}.mat-header-cell[_ngcontent-%COMP%]:first-of-type, .mat-cell[_ngcontent-%COMP%]:first-of-type, .mat-footer-cell[_ngcontent-%COMP%]:first-of-type{padding-left:0px}.mat-header-cell[_ngcontent-%COMP%]:last-of-type, .mat-cell[_ngcontent-%COMP%]:last-of-type, .mat-footer-cell[_ngcontent-%COMP%]:last-of-type{padding-right:0px}tr.mat-row.clickable[_ngcontent-%COMP%]{cursor:pointer}tr.mat-row.clickable[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}tr.mat-row[_ngcontent-%COMP%]   .mat-column-focus-indicator[_ngcontent-%COMP%]{cursor:pointer;display:table-cell;padding:0 1.5px;width:0}tr.mat-row[_ngcontent-%COMP%]:focus-within   .mat-column-focus-indicator[_ngcontent-%COMP%]{outline:none;background-color:#4285f4;background-color:var(--primary-c500)}"],
changeDetection:0});var MT=function(){};MT.\u0275fac=function(a){return new (a||MT)};MT.\u0275mod=Bc({type:MT});MT.\u0275inj=oc({providers:[CLc],imports:[gv,Sx]});var NT=function(){};NT.\u0275fac=function(a){return new (a||NT)};NT.\u0275mod=Bc({type:NT});NT.\u0275inj=oc({imports:[dx,Uw,Hw,MF,Qv,WB,YA,MT,MN,RM,zC,Rv,MG,mT,uN,HT,wN,yO,yN,vM]});var HLc=["ASSIGNMENT","RESPONSE","CLOSURE"],ILc=new Map([["ASSIGNMENT","Assignment"],["RESPONSE","Response"],["CLOSURE","Closure"]]),JLc=new Map([["name","Name"],["description","Description"],["parentId","Parent ID"],["elements","SLO rules"]]),gfb=new Map([["DAY_TYPE_UNSPECIFIED","Calendar"],["CALENDAR","Calendar"],["BUSINESS","Business"]]);var Kh=function(a){r.call(this,a)};V(Kh,r);Kh.prototype.getComponentId=function(){return Wh(this,1)};Kh.prototype.setComponentId=function(a){return lb(this,1,a)};Kh.prototype.getEffectiveSloEditPolicy=function(){return Fh(this,2,0)};Kh.prototype.toObject=function(){return KLc(this)};var KLc=function(a){if(null!=a)return t(a),{componentId:Wh(a,1),effectiveSloEditPolicy:Fh(a,2,0)}},LLc=[Kh,1,sq,2,Qq];Kh.prototype.serializeBinary=u(LLc);var OT=function(a){r.call(this,a,0,OT.messageId)};V(OT,r);OT.prototype.toObject=function(){if(null!=this){t(this);var a={componentSloEditPolicy:KLc(W(this,Kh,1))}}else a=void 0;return a};OT.prototype.serializeBinary=u([OT,1,X,LLc]);OT.messageId="b.GetComponentSloEditPolicyResponse";var PT=function(a){r.call(this,a,0,PT.messageId)};V(PT,r);PT.prototype.getTeamSloEditPolicy=function(){return W(this,GD,1)};PT.prototype.toObject=function(){if(null!=this){t(this);var a={teamSloEditPolicy:lfc(this.getTeamSloEditPolicy())}}else a=void 0;return a};PT.prototype.serializeBinary=u([PT,1,X,mfc]);PT.messageId="b.GetTeamSloEditPolicyResponse";var QT=function(a){r.call(this,a,0,QT.messageId)};V(QT,r);QT.repeatedFields_=[1];QT.prototype.toObject=function(){if(null!=this){t(this);var a={slosList:Mb(yg(this,Sh,1),tfc)}}else a=void 0;return a};QT.prototype.serializeBinary=u([QT,1,Iq,ufc]);QT.messageId="b.SloSearchResponse";var RT=function(a){r.call(this,a,0,RT.messageId)};V(RT,r);RT.prototype.getTeamSloEditPolicy=function(){return W(this,GD,1)};RT.prototype.toObject=function(){if(null!=this){t(this);var a={teamSloEditPolicy:lfc(this.getTeamSloEditPolicy())}}else a=void 0;return a};RT.prototype.serializeBinary=u([RT,1,X,mfc]);RT.messageId="b.UpdateTeamSloEditPolicyResponse";var ST=function(a,b){this.activeSession=a;this.executor=b};f=ST.prototype;f.get=function(a){return this.executor.get({url:"action/slos/"+a,responseConstructor:Sh}).pipe(E(Rh))};f.getOwnedSlos=function(){return this.search("owner:"+this.activeSession.getUserEmail()+" include_archived:true")};f.search=function(a){return this.executor.get({url:"action/slos",options:{params:{query:a}},responseConstructor:QT}).pipe(E(function(b){var c;return(null!=(c=yg(b,Sh,1))?c:[]).map(Rh)}))};
f.create=function(a){a=Uta(a);return this.executor.post({url:"action/slos",body:a,responseConstructor:Sh}).pipe(E(Rh))};f.update=function(a){var b=a.sloId;a=Uta(a);return this.executor.post({url:"action/slos/"+b,body:a,responseConstructor:Sh}).pipe(E(Rh))};ST.\u0275fac=function(a){return new (a||ST)(w(rp),w(BC))};ST.\u0275prov=nc({token:ST,factory:ST.\u0275fac,providedIn:"root"});
var TT=function(a,b){this.observableSlosService=b;var c;this.slosCache=null!=(c=a.get("slos-second-level-cache"))?c:a.create("slos-second-level-cache",{capacity:25})};f=TT.prototype;f.get=function(a){var b=this.slosCache.get(a);return void 0!==b?b:this.slosCache.put(String(a),(0,F.firstValueFrom)(this.observableSlosService.get(a)))};f.getOwnedSlos=function(){return(0,F.firstValueFrom)(this.observableSlosService.getOwnedSlos())};f.search=function(a){return(0,F.firstValueFrom)(this.observableSlosService.search(a))};
f.create=function(a){return(0,F.firstValueFrom)(this.observableSlosService.create(a))};f.update=function(a){return(0,F.firstValueFrom)(this.observableSlosService.update(a))};TT.\u0275fac=function(a){return new (a||TT)(w(XG),w(ST))};TT.\u0275prov=nc({token:TT,factory:TT.\u0275fac,providedIn:"root"});var UT=function(a,b){this.sloStatusHelpersService=a;this.dateFormatter=b;this.timeDisplayText="--";this.objectiveDisplayText=null;this.iconName="slo-status-no-data"};UT.prototype.getIconName=function(a){return MLc.has(a)?MLc.get(a):"slo-status-no-data"};
UT.prototype.setDisplayValues=function(a,b){this.iconName=this.getIconName(a);b=null!==b?ctc(1E3*b).match(/^(\d+\s\D+)(?:\s|$)/)[1]:"";switch(a){case "COMPLETED":this.timeDisplayText="ASSIGNMENT"===this.sloMetricDescription?"Issue assigned":"RESPONSE"===this.sloMetricDescription?"Response recorded":"CLOSURE"===this.sloMetricDescription?"Issue closed":"SLO fulfilled";break;case "SNOOZED_NEAR":case "SNOOZED_HEALTHY":case "HEALTHY":case "NEAR":this.timeDisplayText="ASSIGNMENT"===this.sloMetricDescription?
b+" to assign":"RESPONSE"===this.sloMetricDescription?b+" to respond":"CLOSURE"===this.sloMetricDescription?b+" to close":b+" left";break;case "OUT_OF_SLO":this.timeDisplayText="ASSIGNMENT"===this.sloMetricDescription?b+" overdue for assignment":"RESPONSE"===this.sloMetricDescription?b+" overdue for response":"CLOSURE"===this.sloMetricDescription?b+" overdue for closure":b+" overdue";break;case "NO_DATA":this.timeDisplayText="ASSIGNMENT"===this.sloMetricDescription?"No assignment SLO":"RESPONSE"===
this.sloMetricDescription?"No response SLO":"CLOSURE"===this.sloMetricDescription?"No closure SLO":"--";break;default:rg("unknown status type: "+a)}};
UT.prototype.ngOnChanges=function(){var a=Date.now()/1E3;if(this.sloBounds&&uJ(this.sloBounds)){var b=this.sloBounds.targetTime.seconds,c=b-this.sloBounds.startTime.seconds;c?this.objectiveDisplayText=ctc(1E3*c):this.objectiveDisplayText=null;c=this.sloBounds;uJ(c)&&c.endTime&&0!==c.endTime.seconds&&c.endTime.seconds<=Date.now()/1E3?this.setDisplayValues("COMPLETED",a-this.sloBounds.endTime.seconds):b<a?this.setDisplayValues("OUT_OF_SLO",a-b):(c=this.sloStatusHelpersService.isSloSnoozed(this.sloSnoozeUntil),
a=b-a,this.setDisplayValues(259200<a?c?"SNOOZED_HEALTHY":"HEALTHY":c?"SNOOZED_NEAR":"NEAR",a))}else this.setDisplayValues("NO_DATA",null),this.objectiveDisplayText=null};UT.\u0275fac=function(a){return new (a||UT)(D(tJ),D(AK))};
UT.\u0275cmp=zc({type:UT,selectors:[["b-slo-time-indicator"]],inputs:{sloBounds:"sloBounds",sloSnoozeUntil:"sloSnoozeUntil",sloEndTime:"sloEndTime",includeSnoozeDetails:"includeSnoozeDetails",sloMetricDescription:"sloMetricDescription",includeObjective:"includeObjective"},features:[Mc],decls:4,vars:6,consts:[[3,"ngClass","svgIcon"],["matTooltipShowDelay","250",1,"slo-time-indicator-text",3,"matTooltip","matTooltipDisabled"],[1,"slo-status-text"]],template:function(a,b){a&1&&(K(0,"mat-icon",0),H(1,
"span",1)(2,"span",2),S(3),J()());a&2&&(G("ngClass",b.iconName)("svgIcon",b.iconName),Ae("aria-label","--"===b.timeDisplayText?"No SLO data":""),C(1),Pe("matTooltip","",b.objectiveDisplayText," total"),G("matTooltipDisabled",!b.includeObjective||!b.objectiveDisplayText),C(2),Ve(b.timeDisplayText))},dependencies:[Ru,jz,XA],styles:[".slo-time-indicator-text[_ngcontent-%COMP%]   span.slo-status-text[_ngcontent-%COMP%]{display:inline-block}mat-icon[_ngcontent-%COMP%]{margin-right:5px;width:18px;height:18px;flex-shrink:0}mat-icon.slo-status-snoozed-near-slo[_ngcontent-%COMP%], mat-icon.slo-status-near[_ngcontent-%COMP%]{color:#fa7b17;color:var(--slo-near)}mat-icon.slo-status-snoozed-healthy[_ngcontent-%COMP%], mat-icon.slo-status-healthy[_ngcontent-%COMP%], mat-icon.slo-status-no-data[_ngcontent-%COMP%], mat-icon.slo-status-completed[_ngcontent-%COMP%]{color:#80868b;color:var(--slo-healthy)}mat-icon.slo-status-out-of-slo[_ngcontent-%COMP%]{color:#ea4335;color:var(--slo-overdue)}[_nghost-%COMP%]{display:inline-flex}"],
changeDetection:0});var MLc=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 VT=function(a){this.sloStatusHelpersService=a;this.includeNoSlo=!1};VT.prototype.ngOnInit=function(){NLc(this);this.hasSlo=!!this.sloStatus&&uqc(this.sloStatus)};VT.prototype.ngOnChanges=function(){NLc(this)};var NLc=function(a){a.sloStatus&&(a.assignmentSlo=OLc(bh(a.sloStatus.assignmentBounds)),a.responseSlo=OLc(bh(a.sloStatus.responseBounds)),a.closureSlo=OLc(bh(a.sloStatus.closureBounds)))};VT.prototype.isSloSnoozed=function(){return this.sloStatusHelpersService.isSloSnoozed(this.sloSnoozeUntil)};
var OLc=function(a){if(uJ(a))return a};VT.\u0275fac=function(a){return new (a||VT)(D(tJ))};
VT.\u0275cmp=zc({type:VT,selectors:[["b-slo-status-summary"]],inputs:{sloStatus:"sloStatus",sloSnoozeUntil:"sloSnoozeUntil",sloEndTime:"sloEndTime",includeNoSlo:"includeNoSlo",onlyShowMetric:"onlyShowMetric"},features:[Mc],decls:3,vars:3,consts:[[4,"ngIf"],["sloMetricDescription","ASSIGNMENT",3,"sloSnoozeUntil","sloEndTime","sloBounds","includeObjective"],["sloMetricDescription","RESPONSE",3,"sloSnoozeUntil","sloEndTime","sloBounds","includeObjective"],["sloMetricDescription","CLOSURE",3,"sloSnoozeUntil",
"sloEndTime","sloBounds","includeObjective"]],template:function(a,b){a&1&&(R(0,mSa,2,4,"div",0),R(1,nSa,2,4,"div",0),R(2,oSa,2,4,"div",0));a&2&&(G("ngIf",(b.includeNoSlo||b.assignmentSlo)&&(!b.onlyShowMetric||"ASSIGNMENT"==b.onlyShowMetric)),C(1),G("ngIf",(b.includeNoSlo||b.responseSlo)&&(!b.onlyShowMetric||"RESPONSE"==b.onlyShowMetric)),C(1),G("ngIf",(b.includeNoSlo||b.closureSlo)&&(!b.onlyShowMetric||"CLOSURE"==b.onlyShowMetric)))},dependencies:[Tu,UT],encapsulation:2,changeDetection:0});var WT=function(a,b,c,d){this.sloStatusHelpersService=a;this.paths=b;this.analytics=c;this.sloApi=d};WT.prototype.ngOnInit=function(){this.hasSlo=!!this.sloStatus&&vqc(this.sloStatus,this.onlyShowMetric);"0"!==this.sloId?(this.editSloLink=this.paths.editSlo(this.sloId),PLc(this)):this.editSloLink=null};WT.prototype.trackOpenSlo=function(){this.analytics.trackEvent(Yl.EDIT_SLO,"open","fromSloStatusCard")};
var PLc=function(a){a.sloApi.get(a.sloId).then(function(b){a.sloName=b.name}).catch(function(){a.sloName=null})};WT.\u0275fac=function(a){return new (a||WT)(D(tJ),D(OG),D(AH),D(TT))};
WT.\u0275cmp=zc({type:WT,selectors:[["slo-status-card"]],inputs:{sloId:"sloId",sloStatus:"sloStatus",sloSnoozeUntil:"sloSnoozeUntil",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",
"sloSnoozeUntil","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&&(Ne(),H(0,"span",0),Oe(1),J(),H(2,"onedev-hovercard",null,1)(4,"div",2)(5,"div",3)(6,"div",4),R(7,pSa,2,3,"div",5),R(8,sSa,3,2,"div",6),R(9,vSa,4,2,"span",7),J()()()());if(a&2){var c=Se(3);G("onedevHovercardTrigger",c);C(7);G("ngIf",b.hasSlo);C(1);G("ngIf",!b.hasSlo);C(1);G("ngIf",b.editSloLink)}},dependencies:[Tu,QJ,VJ,VT],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}\n/*# sourceMappingURL=slo_status_card.css.map */"]});var XT=function(a){this.sloStatusHelpersService=a;this.includeObjective=this.includeSloMetric=!1;this.firstOpenSlo=null;this.firstOpenSloMetric=""};XT.prototype.ngOnInit=function(){QLc(this)};XT.prototype.ngOnChanges=function(a){(a.sloStatus||a.includeSloMetric)&&QLc(this)};var QLc=function(a){var b=wqc(a.sloStatus);b?(a.firstOpenSlo=b.sloBounds,a.includeSloMetric?a.firstOpenSloMetric=b.sloMetric:a.firstOpenSloMetric=""):(a.firstOpenSlo=null,a.firstOpenSloMetric="")};
XT.\u0275fac=function(a){return new (a||XT)(D(tJ))};
XT.\u0275cmp=zc({type:XT,selectors:[["b-aggregated-slo-status-indicator"]],inputs:{sloStatus:"sloStatus",sloSnoozeUntil:"sloSnoozeUntil",sloEndTime:"sloEndTime",includeSloMetric:"includeSloMetric",includeObjective:"includeObjective"},features:[Mc],decls:1,vars:5,consts:[[3,"sloBounds","sloMetricDescription","sloSnoozeUntil","sloEndTime","includeObjective"]],template:function(a,b){a&1&&K(0,"b-slo-time-indicator",0);a&2&&G("sloBounds",b.firstOpenSlo)("sloMetricDescription",b.firstOpenSloMetric)("sloSnoozeUntil",
b.sloSnoozeUntil)("sloEndTime",b.sloEndTime)("includeObjective",b.includeObjective)},dependencies:[UT],encapsulation:2,changeDetection:0});var YT=function(){};YT.\u0275fac=function(a){return new (a||YT)};YT.\u0275mod=Bc({type:YT});YT.\u0275inj=oc({imports:[MF,YA,zC]});var ZT=function(){};ZT.\u0275fac=function(a){return new (a||ZT)};ZT.\u0275mod=Bc({type:ZT});ZT.\u0275inj=oc({imports:[MF,YT]});var $T=function(){};$T.\u0275fac=function(a){return new (a||$T)};$T.\u0275mod=Bc({type:$T});$T.\u0275inj=oc({imports:[MF,cN,ZT]});var aU=function(){};aU.\u0275fac=function(a){return new (a||aU)};aU.\u0275mod=Bc({type:aU});aU.\u0275inj=oc({imports:[MF,YT]});var RLc=function(a,b){this.dialogRef=b;this.supportedColumns=Duc;this.currentColumns=[];this.updatedColumns=this.currentColumns=a.currentColumns};RLc.\u0275fac=function(a){return new (a||RLc)(D(Ky),D(Iy))};
RLc.\u0275cmp=zc({type:RLc,selectors:[["customize-columns-dialog"]],decls:9,vars:3,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["class","padded-s-y",4,"ngFor","ngForOf"],["mat-dialog-actions",""],["mat-flat-button","","color","primary",1,"gmat-button","medium","dialog-primary-action",3,"click"],[1,"padded-s-y"],[1,"margin-right",3,"checked","change"]],template:function(a,b){a&1&&(H(0,"h1",0),S(1,"Show or Hide Columns"),J(),H(2,"div",1)(3,"div"),R(4,wSa,3,2,"div",2),T(5,"keyvalue"),J()(),
H(6,"div",3)(7,"button",4),O("click",function(){b.dialogRef.close(b.updatedColumns)}),S(8," Save "),J()());a&2&&(C(4),G("ngForOf",U(5,1,b.supportedColumns)))},dependencies:[Su,yy,Ny,Oy,Py,VN,dv],encapsulation:2});var JSa="QA"===bk().config.environmentType?82860:1298542,bU=function(a,b,c,d){var e=this;this.hackyPrefs=a;this.issueFridge=b;this.issueFrFridge=c;this.data=d;this.makePie=Lxa;this.getEndDate=ISa;this.Number=Number;this.makeCritiqueUrl=Kxa;this.makeScreenshotViewUrl=KSa;this.log=console.log.bind(console);this.issueId$=new F.ReplaySubject(1);this.issue$=this.issueId$.pipe(pe(this.issueFridge.watchOne));this.issueFr$=this.issueId$.pipe(pe(this.issueFrFridge.watchOne));this.projectData$=this.issueId$.pipe(pe(function(g){return Djc(e.data,
[g])}),ne({refCount:!0,bufferSize:1}))};gg.Object.defineProperties(bU.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)}},prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});bU.\u0275fac=function(a){return new (a||bU)(D(qI),D(IH),D(LH),D(qF))};
bU.\u0275cmp=zc({type:bU,selectors:[["issue-as-immersed-card"]],inputs:{issueId:"issueId"},decls:2,vars:3,consts:[["class","carded bg-main",3,"collapsed","click",4,"ngIf"],[1,"carded","bg-main",3,"click"],[1,"flex-kids-x"],[1,"type-l","line-clamp-3"],[1,"subtle-link",3,"href"],[1,"symbol","arrow",3,"click"],[1,"muted","item-id"],["class","margin-left-auto flex-kids-x align-items-center","tabIndex","0",3,"click",4,"ngIf"],["class","flex-kids-x align-items-center gap stats margin-s-top",3,"click",4,
"ngIf"],[1,"margin-s-top"],[4,"ngIf"],["tabIndex","0",1,"margin-left-auto","flex-kids-x","align-items-center",3,"click"],[1,"collapsed-stats","margin-right"],["class","flex-kids-x align-items-center",4,"ngIf"],[3,"email",4,"ngFor","ngForOf"],[1,"flex-kids-x","align-items-center"],["aria-hidden","true","alt","","src","https://static.corp.google.com/devtools/codereview/new_logo_only.svg",2,"width","16px"],["target","_blank",1,"subtle-link",2,"color","var(--text-good)",3,"href"],[3,"email"],[1,"flex-kids-x",
"align-items-center","gap","stats","margin-s-top",3,"click"],[3,"issuePriority"],["href","#"],[1,"muted",3,"click"]],template:function(a,b){a&1&&(R(0,GSa,17,14,"div",0),T(1,"async"));a&2&&G("ngIf",U(1,1,b.issue$))},dependencies:[Su,Tu,vK,vI,Zu,fv],styles:['[_nghost-%COMP%]{display:block}h4[_ngcontent-%COMP%]   [mat-icon-button][_ngcontent-%COMP%]{margin-top:-4px;margin-bottom:-4px}b-user-image[_ngcontent-%COMP%]{margin-right:-8px;-webkit-transition:margin .1s ease-in-out;transition:margin .1s ease-in-out}[_ngcontent-%COMP%]:focus   b-user-image[_ngcontent-%COMP%]{margin-right:4px}[_nghost-%COMP%]     .user-avatar img{box-shadow:0 0 0 1px var(--divider),0 0 0 3px var(--surface-default)}b-user-image[_ngcontent-%COMP%]:has(img[src="https://lh3.googleusercontent.com/a/default-user=s32-p-k"]){display:none}.collapsed[_ngcontent-%COMP%]   .item-id[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   .main-content[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   .stats[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   footer[_ngcontent-%COMP%]{display:none}.collapsed-stats[_ngcontent-%COMP%]{display:none}.collapsed[_ngcontent-%COMP%]   .collapsed-stats[_ngcontent-%COMP%]{display:block}.symbol[_ngcontent-%COMP%]{display:inline-block;font-style:normal;vertical-align:middle}.symbol.arrow[_ngcontent-%COMP%]{width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:6px solid transparent;border-top-color:#80868b;border-top-color:var(--gfx-muted)}\n/*# sourceMappingURL=issue_as_immersed_card.css.map */',
".never-collapse-mode[_ngcontent-%COMP%]   .header-left[_ngcontent-%COMP%]   .collapse-btn[_ngcontent-%COMP%], .never-collapse-mode[_ngcontent-%COMP%]   .header-left[_ngcontent-%COMP%]   .symbol.arrow[_ngcontent-%COMP%], .never-collapse-mode[_ngcontent-%COMP%]   .header-left[_ngcontent-%COMP%]   .type-l[_ngcontent-%COMP%]{display:none}.never-collapse-mode[_ngcontent-%COMP%]   .stats[_ngcontent-%COMP%]{margin-top:-24px}.add-mode[_ngcontent-%COMP%]   .collapse-btn[_ngcontent-%COMP%]{display:none}.collapse-btn[_ngcontent-%COMP%]{-webkit-transition:-webkit-transform .1s ease-in-out;transition:-webkit-transform .1s ease-in-out;transition:transform .1s ease-in-out;transition:transform .1s ease-in-out,-webkit-transform .1s ease-in-out}.collapsed[_ngcontent-%COMP%]   .collapse-btn[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.pie[_ngcontent-%COMP%]{display:inline-block;width:24px;height:24px;border-radius:50%;background-color:#f8f9fa;background-color:var(--surface-secondary)}\n/*# sourceMappingURL=all_work_cards.css.map */"]});
var HSa=function(a){return function(b){var c,d;return(null!=(d=null==(c=b.snapshot[0])?void 0:c.customField)?d:[]).find(function(e){return e.customFieldId===a})}}(1070134);var SLc=new Hc("mat-slide-toggle-default-options",{providedIn:"root",factory:function(){return{disableToggleValue:!1}}});new Hc("mat-slide-toggle-default-options",{providedIn:"root",factory:function(){return{disableToggleValue:!1}}});var TLc=0,ULc=kg(hg(ig(jg(function(a){this._elementRef=a})))),cU=function(a,b,c,d,e,g,h){a=ULc.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.change=new tu;a.toggleChange=new tu;a.tabIndex=parseInt(d)||0;a.color=a.defaultColor=e.color||"accent";a._noopAnimations="NoopAnimations"===g;a.id=a._uniqueId=h+ ++TLc;return a};
V(cU,ULc);f=cU.prototype;f.ngAfterContentInit=function(){var a=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(b){"keyboard"===b||"program"===b?(a._focused=!0,a._changeDetectorRef.markForCheck()):b||Promise.resolve().then(function(){a._focused=!1;a._onTouched();a._changeDetectorRef.markForCheck()})})};f.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)};f.writeValue=function(a){this.checked=!!a};f.registerOnChange=function(a){this._onChange=a};
f.registerOnTouched=function(a){this._onTouched=a};f.setDisabledState=function(a){this.disabled=a;this._changeDetectorRef.markForCheck()};f.toggle=function(){this.checked=!this.checked;this._onChange(this.checked)};f._emitChangeEvent=function(){this._onChange(this.checked);this.change.emit(this._createChangeEvent(this.checked))};
gg.Object.defineProperties(cU.prototype,{required:{configurable:!0,enumerable:!0,get:function(){return this._required},set:function(a){this._required=Ef(a)}},checked:{configurable:!0,enumerable:!0,get:function(){return this._checked},set:function(a){this._checked=Ef(a);this._changeDetectorRef.markForCheck()}},inputId:{configurable:!0,enumerable:!0,get:function(){return(this.id||this._uniqueId)+"-input"}}});cU.\u0275fac=function(){kd()};
cU.\u0275dir=Cc({type:cU,inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],required:"required",checked:"checked"},outputs:{change:"change",toggleChange:"toggleChange"},features:[xe]});var dU=function(){};dU.\u0275fac=function(a){return new (a||dU)};dU.\u0275mod=Bc({type:dU});dU.\u0275inj=oc({});var VLc=["input"],WLc=function(a){return{enterDuration:a}},XLc={provide:iv,useExisting:tc(function(){return eU}),multi:!0},YLc=function(a,b){this.source=a;this.checked=b},eU=function(a,b,c,d,e,g){return cU.call(this,a,b,c,d,e,g,"mat-slide-toggle-")||this};V(eU,cU);eU.\u0275dir=cU.\u0275dir;f=eU.prototype;f._createChangeEvent=function(a){return new YLc(this,a)};
f._onChangeEvent=function(a){a.stopPropagation();this.toggleChange.emit();this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())};f._onInputClick=function(a){a.stopPropagation()};f.focus=function(a,b){b?$v(this._focusMonitor,this._inputElement,b,a):this._inputElement.nativeElement.focus(a)};f._onLabelTextChange=function(){this._changeDetectorRef.detectChanges()};
eU.\u0275fac=function(a){return new (a||eU)(D(fd),D(Zv),D(Lu),$c("tabindex"),D(SLc),D(Tt,8))};
eU.\u0275cmp=zc({type:eU,selectors:[["mat-slide-toggle"]],viewQuery:function(a,b){a&1&&jf(VLc,5);if(a&2){var c;hf(c=lf())&&(b._inputElement=c.first)}},hostAttrs:[1,"mat-slide-toggle"],hostVars:13,hostBindings:function(a,b){a&2&&(Me("id",b.id),Ae("tabindex",null)("aria-label",null)("aria-labelledby",null)("name",null),Ie("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:[Xe([XLc]),xe],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&&(Ne(),H(0,"label",0,1)(2,"span",2)(3,"input",3,4),O("change",function(e){return b._onChangeEvent(e)})("click",function(e){return b._onInputClick(e)}),J(),H(5,"span",5),K(6,"span",6),H(7,"span",
7),K(8,"span",8),J()()(),H(9,"span",9,10),O("cdkObserveContent",function(){return b._onLabelTextChange()}),H(11,"span",11),S(12,"\u00a0"),J(),Oe(13),J()());if(a&2){var c=Se(1),d=Se(10);Ae("for",b.inputId);C(2);Ie("mat-slide-toggle-bar-no-side-margin",!d.textContent||!d.textContent.trim());C(1);G("id",b.inputId)("required",b.required)("tabIndex",b.tabIndex)("checked",b.checked)("disabled",b.disabled);Ae("name",b.name)("aria-checked",b.checked)("aria-label",b.ariaLabel)("aria-labelledby",b.ariaLabelledby)("aria-describedby",
b.ariaDescribedby);C(4);G("matRippleTrigger",c)("matRippleDisabled",b.disableRipple||b.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",Ze(18,WLc,b._noopAnimations?0:150))}},dependencies:[Zx,ax],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 fU=function(a,b){this.queryIssues=a;this.hackyPrefs=b;this.selfReference="assigned-to-me";this.hideAssignedSetting=!1;var c;this.isAssignedToMeOnly=null!=(c=this.hackyPrefs.prefs.showAssignedToMeOnly)?c:!1;this.columnsToDisplay=Rjc.slice();this.myWorkIssueIds$=(0,F.of)([])};
fU.prototype.ngOnInit=function(){null!=this.assignedOnly&&(this.selfReference=this.assignedOnly?"assigned-to-me":"recent-stuff-i-follow",this.isAssignedToMeOnly=this.assignedOnly,this.hideAssignedSetting=!0);this.myWorkIssueIds$=ZLc(this,this.isAssignedToMeOnly).pipe(E(function(a){return a.map(function(b){return b.issueId})}))};fU.prototype.isCollapsed=function(){return this.prefs.collapsed[this.selfReference]};fU.prototype.toggleCollapsed=function(){this.hackyPrefs.toggleCollapsed(this.selfReference)};
var LSa=function(a,b){R1a(a.hackyPrefs,{showAssignedToMeOnly:b});a.myWorkIssueIds$=ZLc(a,b).pipe(E(function(c){return c.map(function(d){return d.issueId})}))},ZLc=function(a,b){return b?Qnc(a.queryIssues):Pnc(a.queryIssues)},$Lc=function(a){var b=xk(),c=vk()!==wk?"(assignee:"+b+" OR reporter:"+b+" OR commenter:"+b+") status:open modified:30d":"(assignee:"+b+" OR reporter:"+b+" OR commenter:"+b+" OR star:true) status:open modified:30d";a.isAssignedToMeOnly&&(c="assignee:"+b+" status:open modified:30d");
return"/issues?q="+c};gg.Object.defineProperties(fU.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});fU.\u0275fac=function(a){return new (a||fU)(D(hI),D(qI))};
fU.\u0275cmp=zc({type:fU,selectors:[["my-work-card"]],inputs:{assignedOnly:"assignedOnly"},decls:37,vars:18,consts:[[1,"carded","bg-main"],[1,"flex-kids-x"],[1,"header-left"],[1,"type-l","line-clamp-3"],["mat-icon-button","",1,"gmat-button","small","collapse-btn",3,"click"],["svgIcon","arrow-up",1,"icon-s"],[1,"muted","item-id"],[1,"margin-left-auto","flex-kids-x","align-items-center","card-controls"],[3,"ngModel","ngModelChange","change",4,"ngIf"],["mat-icon-button","","aria-label","More options",
"aria-haspopup","true",1,"gmat-button","card-overflow",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical",1,"icon-m"],["menu","matMenu"],["mat-menu-item","",3,"disabled","click"],["svgIcon","arrow-upward",1,"icon-s"],[1,"type-button"],["svgIcon","arrow-downward",1,"icon-s"],["mat-menu-item","",3,"click"],["svgIcon","delete",1,"icon-s"],[1,"main-content"],[4,"ngIf","ngIfElse"],[1,"margin-s-top"],[3,"href"],["loading",""],[3,"ngModel","ngModelChange","change"],[3,"issueIds","displayedColumns",
"assigneeMode"]],template:function(a,b){a&1&&(H(0,"div",0)(1,"header",1)(2,"div",2)(3,"span",3),S(4),H(5,"button",4),O("click",function(){return b.toggleCollapsed()}),K(6,"mat-icon",5),J()(),H(7,"span",6),S(8),J()(),H(9,"div",7),R(10,MSa,2,1,"mat-slide-toggle",8),H(11,"button",9),K(12,"mat-icon",10),J(),H(13,"mat-menu",null,11)(15,"button",12),O("click",function(){return Sm(b.hackyPrefs,b.selfReference,-1)}),K(16,"mat-icon",13),H(17,"span",14),S(18,"Move up"),J()(),H(19,"button",12),O("click",function(){return Sm(b.hackyPrefs,
b.selfReference,1)}),K(20,"mat-icon",15),H(21,"span",14),S(22,"Move down"),J()(),K(23,"mat-divider"),H(24,"button",16),O("click",function(){return Tm(b.hackyPrefs,b.selfReference)}),K(25,"mat-icon",17),H(26,"span",14),S(27,"Remove"),J()()()()(),H(28,"div",18),R(29,NSa,2,3,"ng-container",19),T(30,"slice"),T(31,"async"),H(32,"div",20)(33,"a",21),S(34,"View all issues"),J()(),R(35,OSa,1,0,"ng-template",null,22,of),J()());if(a&2){var c=Se(14),d=Se(36);Ie("collapsed",b.isCollapsed());C(4);Te(" ",b.isAssignedToMeOnly?
"Assigned to me":"My related issues"," ");C(1);Ae("aria-label",b.isCollapsed()?"Expand card":"Collapse card");C(3);Te(" ",b.isAssignedToMeOnly?"assigned and modified in last 30 days":"assigned, starred, commented, reported"," ");C(2);G("ngIf",!b.hideAssignedSetting);C(1);G("matMenuTriggerFor",c);C(4);G("disabled",!Um(b.hackyPrefs,b.selfReference,-1));C(4);G("disabled",!Um(b.hackyPrefs,b.selfReference,1));C(10);G("ngIf",cf(30,12,U(31,16,b.myWorkIssueIds$),0,15))("ngIfElse",d);C(4);G("href",$Lc(b),
vd)}},dependencies:[Tu,yy,jz,GL,SL,PA,NA,OA,TL,eU,tv,zv,Zu,fv],styles:["[_nghost-%COMP%]{display:block}.carded[_ngcontent-%COMP%] > header[_ngcontent-%COMP%]{margin-bottom:8px}.collapsed.carded[_ngcontent-%COMP%] > header[_ngcontent-%COMP%]{margin-bottom:0}.collapsed[_ngcontent-%COMP%]   .card-controls[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   .main-content[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   .stats[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   footer[_ngcontent-%COMP%]{display:none}[_nghost-%COMP%]     .mat-icon-button .mat-icon{margin-top:-1px}\n/*# sourceMappingURL=my_work_card.css.map */",
".never-collapse-mode[_ngcontent-%COMP%]   .header-left[_ngcontent-%COMP%]   .collapse-btn[_ngcontent-%COMP%], .never-collapse-mode[_ngcontent-%COMP%]   .header-left[_ngcontent-%COMP%]   .symbol.arrow[_ngcontent-%COMP%], .never-collapse-mode[_ngcontent-%COMP%]   .header-left[_ngcontent-%COMP%]   .type-l[_ngcontent-%COMP%]{display:none}.never-collapse-mode[_ngcontent-%COMP%]   .stats[_ngcontent-%COMP%]{margin-top:-24px}.add-mode[_ngcontent-%COMP%]   .collapse-btn[_ngcontent-%COMP%]{display:none}.collapse-btn[_ngcontent-%COMP%]{-webkit-transition:-webkit-transform .1s ease-in-out;transition:-webkit-transform .1s ease-in-out;transition:transform .1s ease-in-out;transition:transform .1s ease-in-out,-webkit-transform .1s ease-in-out}.collapsed[_ngcontent-%COMP%]   .collapse-btn[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.pie[_ngcontent-%COMP%]{display:inline-block;width:24px;height:24px;border-radius:50%;background-color:#f8f9fa;background-color:var(--surface-secondary)}\n/*# sourceMappingURL=all_work_cards.css.map */"]});var gU=function(a){r.call(this,a,0,gU.messageId)};V(gU,r);gU.prototype.getSearch=function(){return W(this,cl,1)};gU.prototype.setSearch=function(a){Oh(this,cl,1,a)};gU.prototype.toObject=function(){if(null!=this){t(this);var a={search:Dmc(this.getSearch())}}else a=void 0;return a};gU.prototype.serializeBinary=u([gU,1,X,Emc]);gU.messageId="b.SearchResponse";var hU=function(a){this.jspbExecutor=a};hU.prototype.get=function(a){return this.jspbExecutor.get({url:"action/saved_searches/"+a,responseConstructor:gU}).pipe(E(PSa))};hU.prototype.create=function(a,b){var c=new cl;c.setName(a);c.setQuery(b);return this.jspbExecutor.post({url:"action/saved_searches",body:c,responseConstructor:gU}).pipe(E(PSa))};
hU.prototype.update=function(a,b){var c=new cl;n(c,1,String(b.searchId));c.setName(b.name);c.setDescription(b.description);c.setQuery(b.query);var d;c.setSortOrderList((null!=(d=b.sortOrder)?d:[]).map(IAa));var e;c.setDisplayColumnList((null!=(e=b.displayColumn)?e:[]).map(GAa));var g;c.setAdminUsersList((null!=(g=b.adminUsers)?g:[]).map(Xg));return this.jspbExecutor.post({url:"action/saved_searches/"+a,body:c,responseConstructor:gU}).pipe(E(PSa))};
hU.prototype.delete=function(a){return this.jspbExecutor.delete({url:"action/saved_searches/"+a,responseConstructor:null})};hU.\u0275fac=function(a){return new (a||hU)(w(BC))};hU.\u0275prov=nc({token:hU,factory:hU.\u0275fac,providedIn:"root"});var iU=function(a){this.observableResources=a};iU.prototype.get=function(a){return(0,F.firstValueFrom)(this.observableResources.get(a))};iU.prototype.create=function(a,b){return(0,F.firstValueFrom)(this.observableResources.create(a,b))};
iU.prototype.update=function(a,b){return(0,F.firstValueFrom)(this.observableResources.update(a,b))};iU.prototype.delete=function(a){return(0,F.firstValueFrom)(this.observableResources.delete(a))};iU.\u0275fac=function(a){return new (a||iU)(w(hU))};iU.\u0275prov=nc({token:iU,factory:iU.\u0275fac,providedIn:"root"});var USa=function(){return[]},jU=function(a,b,c,d,e){var g=this;this.issueFridge=a;this.savedSearchesApi=b;this.data=c;this.hackyPrefs=d;this.projectActivity=e;this.makeCritiqueUrl=Kxa;this.savedSearchId$=new F.ReplaySubject(1);this.savedSearchIssueIds$=this.savedSearchId$.pipe(pe(function(h){return g.issueFridge.watchMany({filter:"savedsearchid:"+h+" status:open",pageSize:100,sort:"modified_time:desc"})}),E(function(h){return h.results}),E(function(h){return h.map(function(l){return l.issueId})}));
this.savedSearchMetadata$=this.savedSearchId$.pipe(pe(function(h){return g.savedSearchesApi.get(h)}));this.savedSearchActivityEvents$=this.savedSearchId$.pipe(pe(function(h){return moc(g.projectActivity,h)}));this.savedSearchAggregatedData$=this.savedSearchIssueIds$.pipe(pe(function(h){return Ijc(g.data,[].concat(Jc(h)))}),ne({refCount:!0,bufferSize:1}));this.columnsToDisplay="title assignee priority status id menu".split(" ")};
jU.prototype.isCollapsed=function(a){a=a.searchId;return!0===this.neverCollapse?!1:this.addMode||this.prefs.collapsed["savedsearch-"+a]};jU.prototype.reorder=function(a,b){Sm(this.hackyPrefs,tk(a),b)};jU.prototype.canMove=function(a,b){return Um(this.hackyPrefs,tk(a),b)};gg.Object.defineProperties(jU.prototype,{savedSearchId:{configurable:!0,enumerable:!0,set:function(a){this.savedSearchId$.next(a)}},prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});
jU.\u0275fac=function(a){return new (a||jU)(D(IH),D(hU),D(qF),D(qI),D(tI))};
jU.\u0275cmp=zc({type:jU,selectors:[["saved-search-as-project-card"]],inputs:{addMode:"addMode",neverCollapse:"neverCollapse",savedSearchId:"savedSearchId"},decls:2,vars:3,consts:[["class","carded bg-main",3,"never-collapse-mode","collapsed",4,"ngIf"],[1,"carded","bg-main"],[1,"flex-kids-x"],[1,"edit-controls","gap","shrink-0"],[1,"margin-right"],["mat-button","","title","Save this to your homepage",1,"gmat-button","add",3,"click"],[1,"header-left"],[1,"type-l","line-clamp-3"],[1,"subtle-link",3,
"href"],["mat-icon-button","","aria-label","Toggle expansion state",1,"gmat-button","small","collapse-btn",3,"click"],["svgIcon","arrow-up",1,"icon-s"],[4,"ngIf"],["class","main-content",4,"ngIf"],["menu","matMenu"],["mat-menu-item","",3,"disabled","click"],["svgIcon","arrow-upward",1,"icon-s"],[1,"type-button"],["svgIcon","arrow-downward",1,"icon-s"],["mat-menu-item","",3,"click"],["svgIcon","delete",1,"icon-s"],["mat-menu-item","",3,"href"],[1,"icon-s"],["class","margin-left-auto flex-kids-x align-items-center",
4,"ngIf"],[1,"margin-left-auto","flex-kids-x","align-items-center"],[1,"collapsed-stats","margin-right"],["class","flex-kids-x align-items-center",4,"ngIf"],["class","contributor-avatar",3,"email",4,"ngFor","ngForOf"],["mat-icon-button","","aria-label","More options","aria-haspopup","true",1,"gmat-button","card-overflow",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical",1,"icon-m"],[1,"flex-kids-x","align-items-center"],["aria-hidden","true","alt","","src","https://static.corp.google.com/devtools/codereview/new_logo_only.svg",
2,"width","16px"],["target","_blank",1,"subtle-link",2,"color","var(--text-good)",3,"href"],[1,"contributor-avatar",3,"email"],["class","flex-kids-x align-items-center gap stats",4,"ngIf"],[1,"flex-kids-x","align-items-center","gap","stats"],["target","_blank","class","subtle-link","style","color: var(--text-good)",3,"href",4,"ngIf"],[1,"main-content"],[1,"margin-s-top"],[3,"href"],[3,"issueIds","displayedColumns","assigneeMode"],[4,"ngIf","ngIfElse"],["loading",""],[3,"activityEvents"]],template:function(a,
b){a&1&&(R(0,dTa,35,13,"div",0),T(1,"async"));a&2&&G("ngIf",U(1,1,b.savedSearchMetadata$))},dependencies:[Su,Tu,yy,jz,vK,GL,SL,PA,NA,OA,TL,OL,Zu,fv],styles:['[_nghost-%COMP%]{display:block}.carded[_ngcontent-%COMP%] > header[_ngcontent-%COMP%]{margin-bottom:8px}.collapsed[_ngcontent-%COMP%]   .main-content[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   .stats[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   footer[_ngcontent-%COMP%]{display:none}.collapsed-stats[_ngcontent-%COMP%]{display:none}.collapsed[_ngcontent-%COMP%]   .collapsed-stats[_ngcontent-%COMP%]{display:block}.collapsed.carded[_ngcontent-%COMP%] > header[_ngcontent-%COMP%]{margin-bottom:0}.header-left[_ngcontent-%COMP%]{margin-top:-3px}b-user-image[_ngcontent-%COMP%]{margin-right:-8px;-webkit-transition:margin .1s ease-in-out;transition:margin .1s ease-in-out}[_ngcontent-%COMP%]:focus   b-user-image[_ngcontent-%COMP%]{margin-right:4px}[_nghost-%COMP%]     .user-avatar img{box-shadow:0 0 0 1px var(--divider),0 0 0 3px var(--surface-default)}[_nghost-%COMP%]     .contributor-avatar .user-avatar{display:inline-block;height:32px;width:32px}[_nghost-%COMP%]     .contributor-avatar .user-avatar img{max-height:100%;max-width:100%}b-user-image[_ngcontent-%COMP%]:has(img[src="https://lh3.googleusercontent.com/a/default-user=s32-p-k"]){display:none}.edit-controls[_ngcontent-%COMP%]{overflow:hidden;max-width:0;-webkit-transition:max-width .2s ease-out;transition:max-width .2s ease-out}.add-mode[_ngcontent-%COMP%]   .edit-controls[_ngcontent-%COMP%]{max-width:100%}.edit-controls[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{display:none}.add-mode[_ngcontent-%COMP%]   button.add[_ngcontent-%COMP%]{display:inline-block}.add-mode[_ngcontent-%COMP%]   button.remove[_ngcontent-%COMP%]{display:none!important}.card-overflow[_ngcontent-%COMP%]{margin-left:12px;margin-right:-4px}\n/*# sourceMappingURL=saved_search_as_project_card.css.map */',
".never-collapse-mode[_ngcontent-%COMP%]   .header-left[_ngcontent-%COMP%]   .collapse-btn[_ngcontent-%COMP%], .never-collapse-mode[_ngcontent-%COMP%]   .header-left[_ngcontent-%COMP%]   .symbol.arrow[_ngcontent-%COMP%], .never-collapse-mode[_ngcontent-%COMP%]   .header-left[_ngcontent-%COMP%]   .type-l[_ngcontent-%COMP%]{display:none}.never-collapse-mode[_ngcontent-%COMP%]   .stats[_ngcontent-%COMP%]{margin-top:-24px}.add-mode[_ngcontent-%COMP%]   .collapse-btn[_ngcontent-%COMP%]{display:none}.collapse-btn[_ngcontent-%COMP%]{-webkit-transition:-webkit-transform .1s ease-in-out;transition:-webkit-transform .1s ease-in-out;transition:transform .1s ease-in-out;transition:transform .1s ease-in-out,-webkit-transform .1s ease-in-out}.collapsed[_ngcontent-%COMP%]   .collapse-btn[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.pie[_ngcontent-%COMP%]{display:inline-block;width:24px;height:24px;border-radius:50%;background-color:#f8f9fa;background-color:var(--surface-secondary)}\n/*# sourceMappingURL=all_work_cards.css.map */"]});var kU=function(){};kU.\u0275fac=function(a){return new (a||kU)};kU.\u0275mod=Bc({type:kU});kU.\u0275inj=oc({imports:[MF,TO,cN,bN]});var lU=function(){};lU.\u0275fac=function(a){return new (a||lU)};lU.\u0275mod=Bc({type:lU});lU.\u0275inj=oc({imports:[MF]});var mU=function(){};mU.\u0275fac=function(a){return new (a||mU)};mU.\u0275mod=Bc({type:mU});mU.\u0275inj=oc({imports:[Sx,Sx]});new Hc("ListOption");new Hc("MAT_LIST_CONFIG");new Hc("SelectionList");new Hc("MatList");new Hc("MatNavList");jg(ig(function(){}));ig(function(){});var aMc=function(){};aMc.\u0275fac=function(a){return new (a||aMc)};aMc.\u0275dir=Cc({type:aMc,selectors:[["","mat-list-avatar",""],["","matListAvatar",""]],hostAttrs:[1,"mat-list-avatar"]});var bMc=function(){};bMc.\u0275fac=function(a){return new (a||bMc)};bMc.\u0275dir=Cc({type:bMc,selectors:[["","mat-list-icon",""],["","matListIcon",""]],hostAttrs:[1,"mat-list-icon"]});var cMc=["text"],dMc=["*",[["","mat-list-avatar",""],["","mat-list-icon",""],["","matListAvatar",""],["","matListIcon",""]]],eMc=ig(function(){}),fMc=ig(function(){}),gMc={provide:iv,useExisting:tc(function(){return nU}),multi:!0},hMc=function(a,b){this.source=a;this.options=b},oU=function(a,b,c){var d=fMc.call(this)||this;d._element=a;d._changeDetector=b;d.selectionList=c;d._selected=!1;d._disabled=!1;d._hasFocus=!1;d.selectedChange=new tu;d.checkboxPosition="after";d._inputsInitialized=!1;return d};
V(oU,fMc);f=oU.prototype;f.ngOnInit=function(){var a=this,b=this.selectionList;b._value&&b._value.some(function(d){return b.compareWith(a._value,d)})&&this._setSelected(!0);var c=this._selected;Promise.resolve().then(function(){if(a._selected||c)a.selected=!0,a._changeDetector.markForCheck()});this._inputsInitialized=!0};f.ngAfterContentInit=function(){yqa(this._lines,this._element)};
f.ngOnDestroy=function(){var a=this;this.selected&&Promise.resolve().then(function(){a.selected=!1});var b=this._hasFocus,c=this.selectionList._removeOptionFromList(this);b&&c&&c.focus()};f.toggle=function(){this.selected=!this.selected};f.focus=function(){this._element.nativeElement.focus()};f.getLabel=function(){return this._text?this._text.nativeElement.textContent||"":""};f._isRippleDisabled=function(){return this.disabled||this.disableRipple||this.selectionList.disableRipple};
f._handleClick=function(){this.disabled||!this.selectionList.multiple&&this.selected||(this.toggle(),this.selectionList._emitChangeEvent([this]))};f._handleFocus=function(){this.selectionList._setFocusedOption(this);this._hasFocus=!0};f._handleBlur=function(){this.selectionList._onTouched();this._hasFocus=!1};f._getHostElement=function(){return this._element.nativeElement};
f._setSelected=function(a){if(a===this._selected)return!1;(this._selected=a)?this.selectionList.selectedOptions.select(this):this.selectionList.selectedOptions.deselect(this);this.selectedChange.emit(a);this._changeDetector.markForCheck();return!0};f._markForCheck=function(){this._changeDetector.markForCheck()};
gg.Object.defineProperties(oU.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=Ef(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=Ef(a);a!==this._selected&&(this._setSelected(a),(a||this.selectionList.multiple)&&this.selectionList._reportValueChange())}}});oU.\u0275fac=function(a){return new (a||oU)(D(fd),D(Lu),D(tc(function(){return nU})))};
oU.\u0275cmp=zc({type:oU,selectors:[["mat-list-option"]],contentQueries:function(a,b,c){a&1&&(kf(c,aMc,5),kf(c,bMc,5),kf(c,o1b,5));if(a&2){var d;hf(d=lf())&&(b._avatar=d.first);hf(d=lf())&&(b._icon=d.first);hf(d=lf())&&(b._lines=d)}},viewQuery:function(a,b){a&1&&jf(cMc,5);if(a&2){var c;hf(c=lf())&&(b._text=c.first)}},hostAttrs:["role","option",1,"mat-list-item","mat-list-option","mat-focus-indicator"],hostVars:15,hostBindings:function(a,b){a&1&&O("focus",function(){return b._handleFocus()})("blur",
function(){return b._handleBlur()})("click",function(){return b._handleClick()});a&2&&(Ae("aria-selected",b.selected)("aria-disabled",b.disabled)("tabindex",-1),Ie("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:[xe],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&&(Ne(dMc),
H(0,"div",0),K(1,"div",1),R(2,eTa,1,2,"mat-pseudo-checkbox",2),H(3,"div",3,4),Oe(5),J(),Oe(6,1),J());a&2&&(Ie("mat-list-item-content-reverse","after"==b.checkboxPosition),C(1),G("matRippleTrigger",b._getHostElement())("matRippleDisabled",b._isRippleDisabled()),C(1),G("ngIf",b.selectionList.multiple))},dependencies:[Zx,ay,Tu],encapsulation:2,changeDetection:0});
var nU=function(a,b,c){var d=eMc.call(this)||this;d._element=a;d._changeDetector=b;d._focusMonitor=c;d._multiple=!0;d._contentInitialized=!1;d.selectionChange=new tu;d.color="accent";d.compareWith=function(e,g){return e===g};d._disabled=!1;d.selectedOptions=new yx(d._multiple);d._tabIndex=-1;d._onChange=function(){};d._destroyed=new F.Subject;d._onTouched=function(){};return d};V(nU,eMc);f=nU.prototype;
f.ngAfterContentInit=function(){var a=this;this._contentInitialized=!0;this._keyManager=C0b(B0b(mx(D0b(jx(new px(this.options)))),function(){return!1}));this._value&&this._setOptionsFromValues(this._value);this._keyManager.tabOut.subscribe(function(){return a._allowFocusEscape()});this.options.changes.pipe(oe(null),qe(this._destroyed)).subscribe(function(){a._updateTabIndex()});this.selectedOptions.changed.pipe(qe(this._destroyed)).subscribe(function(b){if(b.added)for(var c=k(b.added),d=c.next();!d.done;d=
c.next())d.value.selected=!0;if(b.removed)for(b=k(b.removed),d=b.next();!d.done;d=b.next())d.value.selected=!1});this._focusMonitor.monitor(this._element).pipe(qe(this._destroyed)).subscribe(function(b){if("keyboard"===b||"program"===b){for(var c=b=0;c<a.options.length;c++){var d=void 0;if(null==(d=a.options.get(c))?0:d.selected){b=c;break}}a._keyManager.setActiveItem(b)}})};f.ngOnChanges=function(a){var b=a.disableRipple;a=a.color;(b&&!b.firstChange||a&&!a.firstChange)&&this._markOptionsForCheck()};
f.ngOnDestroy=function(){var a;null==(a=this._keyManager)||a.destroy();this._focusMonitor.stopMonitoring(this._element);this._destroyed.next();this._destroyed.complete();this._isDestroyed=!0};f.focus=function(a){this._element.nativeElement.focus(a)};f.selectAll=function(){this._setAllOptionsSelected(!0)};f.deselectAll=function(){return this._setAllOptionsSelected(!1)};f._setFocusedOption=function(a){nx(this._keyManager,a)};
f._removeOptionFromList=function(a){a=this._getOptionIndex(a);-1<a&&this._keyManager.activeItemIndex===a&&(0<a?nx(this._keyManager,a-1):0===a&&1<this.options.length&&nx(this._keyManager,Math.min(a+1,this.options.length-1)));return this._keyManager.activeItem};
f._keydown=function(a){var b=a.keyCode,c=this._keyManager,d=c.activeItemIndex,e=If(a);switch(b){case 32:case 13:e||0<c._pressedLetters.length||(this._toggleFocusedOption(),a.preventDefault());break;default:if(65!==b||!this.multiple||!If(a,"ctrlKey")||0<c._pressedLetters.length)c.onKeydown(a);else e=this.options.some(function(g){return!g.disabled&&!g.selected}),this._setAllOptionsSelected(e,!0,!0),a.preventDefault()}this.multiple&&(38===b||40===b)&&a.shiftKey&&c.activeItemIndex!==d&&this._toggleFocusedOption()};
f._reportValueChange=function(){if(this.options&&!this._isDestroyed){var a=this._getSelectedOptionValues();this._onChange(a);this._value=a}};f._emitChangeEvent=function(a){this.selectionChange.emit(new hMc(this,a))};f.writeValue=function(a){this._value=a;this.options&&this._setOptionsFromValues(a||[])};f.setDisabledState=function(a){this.disabled=a};f.registerOnChange=function(a){this._onChange=a};f.registerOnTouched=function(a){this._onTouched=a};
f._setOptionsFromValues=function(a){var b=this;this.options.forEach(function(c){return c._setSelected(!1)});a.forEach(function(c){var d=b.options.find(function(e){return e.selected?!1:b.compareWith(e.value,c)});d&&d._setSelected(!0)})};f._getSelectedOptionValues=function(){return this.options.filter(function(a){return a.selected}).map(function(a){return a.value})};
f._toggleFocusedOption=function(){var a=this._keyManager.activeItemIndex;null!=a&&this._isValidIndex(a)&&(!(a=this.options.toArray()[a])||a.disabled||!this._multiple&&a.selected||(a.toggle(),this._emitChangeEvent([a])))};f._setAllOptionsSelected=function(a,b,c){var d=[];this.options.forEach(function(e){b&&e.disabled||!e._setSelected(a)||d.push(e)});d.length&&(this._reportValueChange(),c&&this._emitChangeEvent(d));return d};f._isValidIndex=function(a){return 0<=a&&a<this.options.length};
f._getOptionIndex=function(a){return this.options.toArray().indexOf(a)};f._markOptionsForCheck=function(){this.options&&this.options.forEach(function(a){return a._markForCheck()})};f._allowFocusEscape=function(){var a=this;this._tabIndex=-1;setTimeout(function(){a._tabIndex=0;a._changeDetector.markForCheck()})};f._updateTabIndex=function(){this._tabIndex=0===this.options.length?-1:0};
gg.Object.defineProperties(nU.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=Ef(a);this._markOptionsForCheck()}},multiple:{configurable:!0,enumerable:!0,get:function(){return this._multiple},set:function(a){a=Ef(a);a!==this._multiple&&(this._multiple=a,this.selectedOptions=new yx(this._multiple,this.selectedOptions.selected))}}});nU.\u0275fac=function(a){return new (a||nU)(D(fd),D(Lu),D(Zv))};
nU.\u0275cmp=zc({type:nU,selectors:[["mat-selection-list"]],contentQueries:function(a,b,c){a&1&&kf(c,oU,5);if(a&2){var d;hf(d=lf())&&(b.options=d)}},hostAttrs:["role","listbox",1,"mat-selection-list","mat-list-base"],hostVars:3,hostBindings:function(a,b){a&1&&O("keydown",function(c){return b._keydown(c)});a&2&&Ae("aria-multiselectable",b.multiple)("aria-disabled",b.disabled.toString())("tabindex",b._tabIndex)},inputs:{disableRipple:"disableRipple",color:"color",compareWith:"compareWith",disabled:"disabled",
multiple:"multiple"},outputs:{selectionChange:"selectionChange"},exportAs:["matSelectionList"],features:[Xe([gMc]),xe,Mc],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(Ne(),Oe(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 pU=function(){};pU.\u0275fac=function(a){return new (a||pU)};pU.\u0275mod=Bc({type:pU});pU.\u0275inj=oc({imports:[Yx,cy,Sx,dy,gv,Yx,Sx,dy,mU]});var qU=function(){};qU.\u0275fac=function(a){return new (a||qU)};qU.\u0275mod=Bc({type:qU});qU.\u0275inj=oc({imports:[MF,QA,WB,Qy,mU,Zy,pU,zC,MN,YA,AN,zO,Qv,LO]});var rU=function(){};rU.\u0275fac=function(a){return new (a||rU)};rU.\u0275mod=Bc({type:rU});rU.\u0275inj=oc({imports:[MF,mT,lU,vN,WB,YA,zC,qU,LO]});var sU=function(){};sU.\u0275fac=function(a){return new (a||sU)};sU.\u0275mod=Bc({type:sU});sU.\u0275inj=oc({imports:[mT,rU,EO,MF,bN,cN,sO,WB,YA,zC,qU,tN,yN,TO]});var tU=function(){this.admins=[]};tU.prototype.ngOnInit=function(){this.url="hotlists/"+this.hotlist.hotlistId;this.admins=Rg(this.hotlist.adminUsers)};tU.\u0275fac=function(a){return new (a||tU)};
tU.\u0275cmp=zc({type:tU,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),S(5),J()(),H(6,"ul")(7,"li"),S(8),J(),H(9,"li"),S(10),J()(),H(11,"div")(12,"p"),S(13),J()()()()());a&2&&(C(4),G("href",b.url,vd),C(1),Ve(b.hotlist.name),C(3),Te("ID: ",b.hotlist.hotlistId,""),C(2),We("",1===
b.admins.length?"Admin":"Admins",": ",b.admins.join(", "),""),C(3),Ve(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 iMc={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"},jMc=new Hc("routes",{providedIn:"root",factory:function(){return iMc}}),uU=function(a){this.routes=a};f=uU.prototype;f.createIssue=function(a){return Vm(this.routes.CREATE_ISSUE,{params:a})};f.editIssue=function(a,b){return Wm(this.routes.EDIT_ISSUE(a),{id:a,params:b})};f.listIssues=function(a){return Vm(this.routes.LIST_ISSUES,{params:a})};f.viewSavedSearch=function(a){return Wm(this.routes.VIEW_SAVEDSEARCH(a),{id:a,params:void 0})};
f.viewHotlist=function(a){return Wm(this.routes.VIEW_HOTLIST(a),{id:a})};f.editHotlist=function(a){return Vm(this.routes.EDIT_HOTLIST(a),{id:a,tab:void 0})};f.createHotlist=function(){return this.routes.CREATE_HOTLIST};f.createBookmarkGroup=function(){return this.routes.CREATE_BOOKMARK_GROUP};f.viewBookmarkGroup=function(a){return Wm(this.routes.VIEW_BOOKMARK_GROUP(a),{id:a})};f.editBookmarkGroup=function(a){return Vm(this.routes.EDIT_BOOKMARK_GROUP(a),{id:a})};
f.editSavedSearch=function(a){return Vm(this.routes.EDIT_SAVED_SEARCH(a),{id:a})};f.dashboard=function(a){return Vm(this.routes.DASHBOARD(a),{id:a})};f.issuesCsvAction=function(a,b,c,d){b=this.toApiSortParamValue(b);c=fTa(c);return $z("action/issues/csv","q",a,"s",b,"c",c,"h",d)};f.hotlistIssuesCsvAction=function(a,b,c,d){a="action/hotlists/"+a+"/issues/csv";b=this.toApiSortParamValue(b);(c=fTa(c))&&(c="position,"+c);return $z(a,"s",b,"c",c,"h",d)};
f.toApiSortParamValue=function(a){return a&&a.length?a.map(function(b){return b.toApiUrlParam()}).join(","):null};f.getAttachmentAction=function(a,b){return"action/issues/"+a.toString()+"/attachments/"+b.toString()};f.listComponents=function(){return Vm(this.routes.LIST_COMPONENTS,{params:void 0})};f.viewComponent=function(a,b){return Wm(this.routes.VIEW_COMPONENT(a),{id:a,tab:b})};f.manageComponent=function(a,b){return Wm(this.routes.MANAGE_COMPONENT(a),{id:a,tab:b})};
f.createComponent=function(a){return Vm(this.routes.CREATE_COMPONENT,{params:a})};f.editComponent=function(a,b){return Vm(this.routes.EDIT_COMPONENT(a),{id:a,tab:b})};f.createSlo=function(){return Vm(this.routes.CREATE_SLO,{params:void 0})};f.editSlo=function(a){return Vm(this.routes.EDIT_SLO(a),{id:a,tab:void 0})};f.listSlos=function(){return Vm(this.routes.LIST_SLOS,{params:void 0})};f.listHotlists=function(){return this.routes.LIST_HOTLISTS};uU.\u0275fac=function(a){return new (a||uU)(w(jMc))};
uU.\u0275prov=nc({token:uU,factory:uU.\u0275fac,providedIn:"root"});var vU=function(a){this.pathBuilder=a;this.showHovercard=this.removable=!0;this.disabled=!1;this.removeHotlist=new tu};vU.prototype.getAriaLabel=function(a){return"hotlist: "+a.name};vU.\u0275fac=function(a){return new (a||vU)(D(uU))};
vU.\u0275cmp=zc({type:vU,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&&R(0,hTa,9,11,"ng-container",0);a&2&&G("ngIf",b.hotlist)},dependencies:[Tu,yy,jz,QJ,VJ,tU],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 wU=function(a,b){this.hotlists=a;this.userAccess=b;this.id$=new F.ReplaySubject(1);this.removeHotlist=new tu;this.removable=!0;this.hotlist$=this.id$.pipe(pe(this.hotlists.watch));this.isDisabled$=(0,F.combineLatest)([this.id$,this.id$.pipe(pe(this.hotlists.isSaving$))]).pipe(E(function(c){var d=k(c);c=d.next().value;d=d.next().value;return null==c?!1:d?!0:!1}))};
wU.prototype.ngOnInit=function(){var a=this;this.removable$="check-acl"===this.removable?this.id$.pipe(pe(function(b){return JF(a.userAccess,"appender","hotlists/"+b)})):(0,F.of)(this.removable)};gg.Object.defineProperties(wU.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.idInternal=String(a);this.id$.next(String(a))}}});wU.\u0275fac=function(a){return new (a||wU)(D(lH),D(IF))};
wU.\u0275cmp=zc({type:wU,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),O("removeHotlist",function(){null==b.idInternal?rg("Missing id"):b.removeHotlist.emit()}),T(1,"async"),T(2,"async"),T(3,"async"),J());if(a&2){var c;G("hotlist",U(1,3,b.hotlist$))("disabled",!0===U(2,5,b.isDisabled$))("removable",null!==
(c=U(3,7,b.removable$))&&void 0!==c?c:!1)}},dependencies:[vU,Zu],encapsulation:2,changeDetection:0});var xU=function(a,b,c,d){kE.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(E(function(e){return e?"(Showing full history) Click for major events only":"(Showing major events) Click for full history"}),oe(""))};V(xU,kE);xU.\u0275dir=kE.\u0275dir;
xU.prototype.onClick=function(){var a=this,b;return Ld(function(c){if(1==c.nextAddress)return a.isSaving?c.return():c.yield((0,F.firstValueFrom)(a.on$),2);b=c.yieldResult;a.save(!b);Qd(c)})};
xU.prototype.save=function(a){var b=this;this.analytics.trackEvent(Yl.EDIT_ISSUE,"toggleShowFullHistory",String(a));this.isSaving=!0;var c=(0,F.firstValueFrom)(this.prefs.save({showFullHistory:a}));c.then(function(){b.isSaving=!1;b.cdr.markForCheck()});c.catch(function(){XF(b.butterBar,'Couldn\'t save "full history" setting.');b.isSaving=!1;b.cdr.markForCheck()});this.prefs.save({commentFilterPreferences:{commentFilter:a?"FULL_HISTORY":"ALL_COMMENTS"}}).pipe(qe(this.destroyed$)).subscribe()};
xU.\u0275fac=function(a){return new (a||xU)(D(TI),D(Lu),D(AH),D(VF))};
xU.\u0275cmp=zc({type:xU,selectors:[["smart-full-history-btn"]],features:[xe],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),O("click",function(){return b.onClick()}),T(1,"async"),T(2,"async"),T(3,"async"),T(4,"async"),R(5,iTa,1,0,"mat-icon",1),R(6,jTa,1,0,"b-spinner",2),J());a&2&&(Ie("on",U(1,8,b.on$)),G("matTooltip",
U(2,10,b.tooltip$))("disabled",b.isSaving),Ae("aria-pressed",U(3,12,b.on$))("aria-label",U(4,14,b.tooltip$)),C(5),G("ngIf",!b.isSaving),C(1),G("ngIf",b.isSaving))},dependencies:[Tu,yy,jz,XA,SL,Zu],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    }"],changeDetection:0});var yU=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 tu;this.isAnonymous=this.activeSession.isAnonymous()};f=yU.prototype;f.onClick=function(a){a.stopPropagation();this.acceptInput&&(this.starClicked.emit(!!this.starred),this.cdr.detectChanges())};f.onEnter=function(a){this.onClick(a)};f.isDisabled=function(){return this.isAnonymous||this.disabled};
f.getLabel=function(){return this.isAnonymous?"Sign in to use full features.":this.starred?this.unStarMessage:this.starMessage};f.getAriaLabel=function(){return this.isAnonymous?"Sign in to use full features.":this.starMessage};yU.\u0275fac=function(a){return new (a||yU)(D(rp),D(wH))};
yU.\u0275cmp=zc({type:yU,selectors:[["b-star-toggle"]],inputs:{starred:"starred",disabled:"disabled",acceptInput:"acceptInput",starMessage:"starMessage",unStarMessage:"unStarMessage"},outputs:{starClicked:"starClicked"},features:[Xe([wH])],decls:4,vars:7,consts:[[1,"inline-block",3,"matTooltip"],["tooltip","matTooltip"],["mat-icon-button","","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=x();H(0,"div",
0,1)(2,"button",2);O("keydown.enter",function(d){return b.onEnter(d)})("click",function(d){return b.onClick(d)})("focus",function(){z(c);var d=Se(1);return A(d.show())})("blur",function(){z(c);var d=Se(1);return A(d.hide())});K(3,"mat-icon",3);J()()}a&2&&(G("matTooltip",b.getLabel()),C(2),Ie("starred",b.starred),G("disabled",b.isDisabled()),Ae("aria-label",b.getAriaLabel())("aria-checked",b.starred),C(1),G("svgIcon",b.starred?"star-filled":"star-empty"))},dependencies:[yy,jz,XA],styles:["[_nghost-%COMP%]{opacity:.9;text-align:center}[_nghost-%COMP%]:hover{opacity:1}[_nghost-%COMP%]   button.mat-icon-button[_ngcontent-%COMP%]{color:#80868b;color:var(--gfx-muted)}[_nghost-%COMP%]   button.mat-icon-button.starred[_ngcontent-%COMP%]{color:#e37400;color:var(--favorite-star)}[_nghost-%COMP%]   button.mat-icon-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-top:-2px;margin-right:initial}"],
changeDetection:0});var zU=function(a,b){this.paths=a;this.activeSession=b;this.isCompact=!1;this.starClicked=new tu;this.currentUserEmail=this.activeSession.getUserEmail()};zU.prototype.ngOnInit=function(){};zU.prototype.isDirectAdmin=function(a){return a?Rg(a.adminUsers).includes(this.currentUserEmail):!1};zU.prototype.shouldShowStar=function(a){return!this.isDirectAdmin(a)&&!a.archived};zU.\u0275fac=function(a){return new (a||zU)(D(OG),D(rp))};
zU.\u0275cmp=zc({type:zU,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&&R(0,mTa,9,4,"div",0);a&2&&G("ngIf",b.hotlist)},dependencies:[Tu,jz,IG,yU,XA,Zu],encapsulation:2,changeDetection:0});var kMc=function(){this.tokens=new Map};kMc.prototype.add=function(a,b){var c=this.tokens.get(a);c?c.push(b):this.tokens.set(a,[b]);return this};kMc.prototype.build=function(){var a=this,b=Array.from(this.tokens.keys()).sort();return new lMc(b.map(function(c){return{token:c,labels:a.tokens.get(c)}}))};var lMc=function(a){this.sortedEntries=a};
lMc.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};lMc.prototype.search=function(a){var b=new Set;a=k(this.match(a));for(var c=a.next();!c.done;c=a.next()){c=k(c.value.labels);for(var d=c.next();!d.done;d=c.next())b.add(d.value)}return b};
var mMc=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(Jc(a.search(b[d]))).filter(function(g){return c.has(g)});c=new Set(e)}return c};var nMc=function(a){this.hotlists=a;var b=new kMc,c=new kMc;a=k(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=void 0,g=(null==(e=d.name)?0:e.trim())?ADa(d.name.toLowerCase()):[];g=k(g);for(e=g.next();!e.done;e=g.next())b.add(e.value,d);e=void 0;g=(null==(e=d.description)?0:e.trim())?ADa(d.description.toLowerCase()):[];g=k(g);for(e=g.next();!e.done;e=g.next())c.add(e.value,d)}this.nameTokenMatcher=b.build();this.descriptionTokenMatcher=c.build();this.positions=new Map(this.hotlists.map(function(h,
l){return[h,l]}))};
nMc.prototype.search=function(a){a=a.toLowerCase();for(var b=new Set,c=k(this.hotlists),d=c.next();!d.done;d=c.next()){d=d.value;var e=void 0,g=null==(e=d.name)?void 0:e.toLowerCase(),h=void 0;e=null==(h=d.description)?void 0:h.toLowerCase();h=d.hotlistId;var l=void 0,q=void 0;(msa(a)&&String(h).includes(a)||(null==(l=g)?0:l.includes(a))||(null==(q=e)?0:q.includes(a)))&&b.add(d)}c=ADa(a);d=k(mMc(this.nameTokenMatcher,c));for(a=d.next();!a.done;a=d.next())b.add(a.value);c=k(mMc(this.descriptionTokenMatcher,c));
for(a=c.next();!a.done;a=c.next())b.add(a.value);return oMc(this,b)};var oMc=function(a,b){return[].concat(Jc(b)).sort(function(c,d){c=a.positions.get(c);d=a.positions.get(d);return c===d?0:c<d?-1:1})};var AU=function(){this.innerHeight$=(0,F.concat)((0,F.defer)(function(){return(0,F.of)(window.innerHeight)}),(0,F.fromEvent)(window,"resize").pipe(E(function(){return window.innerHeight})))};AU.\u0275fac=function(a){return new (a||AU)};AU.\u0275prov=nc({token:AU,factory:AU.\u0275fac,providedIn:"root"});var BU=function(a,b,c,d,e,g,h,l,q,v,y,B){kE.call(this);var I=this;this.dialogRef=a;this.data=b;this.paths=c;this.hotlistFridge=d;this.hotlistApi=e;this.snackBar=g;this.appEvents=h;this.errorHandler=l;this.activeSession=q;this.userApi=v;this.windowHeight=y;this.permissionsFridge=B;this.NO_ACCESS_MESSAGE="You don't have permissions to add/remove issues on this hotlist.";this.showCreateNewPane=!1;this.query$=new F.BehaviorSubject("");this.debouncedQuery$=this.query$.pipe(de(100),oe(""));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 wv({name:new yv("",FYb),description:new yv("")});this.currentUserEmail=this.activeSession.getUserEmail();this.starredHotlists=new IJ;this.isSavingStar=new IJ;this.userHotlists$=Lmc(this.hotlistFridge);this.issueHotlists$=
this.hotlistFridge.watchSet(Array.from(this.data.selectedHotlistIds));this.combineHotlistsWithPermissions=E(function(N){var Q=I.permissionsFridge.watchSet(N.map(function(Z){return"hotlists/"+Z.hotlistId}));return N.map(function(Z,Y){return Object.assign({},Z,{permissions$:Q.pipe(E(function(ka){return ka[Y]}))})})});this.hotlists$=(0,F.combineLatest)([this.issueHotlists$,this.userHotlists$]).pipe(E(function(N){var Q=k(N);N=Q.next().value;Q=Q.next().value;return[].concat(Jc(N),Jc(Q))}),E(Kwa(function(N){return N.hotlistId})),
E(function(N){return N.filter(eh)}),E(function(N){return N.sort(DTa)}),E(function(N){return N.sort(function(Q,Z){var Y=I.selectedHotlistIds;Q=Y.has(Q.hotlistId);Z=Y.has(Z.hotlistId);return Q&&Z?0:Q?-1:Z?1:0})}),this.combineHotlistsWithPermissions,ne({bufferSize:1,refCount:!0}));this.hotlistQuerySearcher$=this.hotlists$.pipe(E(function(N){return new nMc(N)}),ne({bufferSize:1,refCount:!0}));this.forceShowOverflow$=new F.Subject;this.matchedHotlists$=(0,F.combineLatest)([this.debouncedQuery$,this.hotlistQuerySearcher$,
this.hotlists$]).pipe(E(function(N){var Q=k(N);N=Q.next().value;var Z=Q.next().value;Q=Q.next().value;return""!==N.trim()?Z.search(N):Q}),ne({bufferSize:1,refCount:!0}));this.visibleHotlists$=(0,F.combineLatest)([this.matchedHotlists$,(0,F.merge)(this.matchedHotlists$.pipe(E(function(){return!1})),this.forceShowOverflow$)]).pipe(E(function(N){var Q=k(N);N=Q.next().value;Q=Q.next().value;return 200<N.length&&!Q?N.slice(0,200):N}),ne({bufferSize:1,refCount:!0}));this.isOverflowMode$=(0,F.combineLatest)([this.matchedHotlists$,
this.visibleHotlists$]).pipe(E(function(N){var Q=k(N);N=Q.next().value;Q=Q.next().value;return N.length!==Q.length}));this.showLoadById$=this.query$.pipe(E(function(N){N=N.trim();return!I.allHotlistIds.has(Number(N))&&msa(N)}));this.showCreateNew$=(0,F.combineLatest)([this.query$,this.matchedHotlists$]).pipe(E(function(N){var Q=k(N);N=Q.next().value;Q=Q.next().value;return ETa(N,Q)}));this.compactNumberOfHotlistsToShow$=this.windowHeight.innerHeight$.pipe(E(function(N){return Math.max(1,Math.floor(.5*
N/24))}),fe());this.compactNumberOfHotlistsToShow$.pipe(E(function(N){return 24*N}));this.subscriptions.add(this.hotlists$.subscribe(function(N){I.hotlists=N;N=k(N);for(var Q=N.next();!Q.done;Q=N.next())I.allHotlistIds.add(Q.value.hotlistId)}))};V(BU,kE);BU.\u0275dir=kE.\u0275dir;BU.prototype.ngOnInit=function(){var a=this;pMc(this);this.query$.pipe(qe(this.destroyed$)).subscribe(function(){a.hotlistUnderEdit.setValue({name:a.query$.value,description:""})})};
BU.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=asa(this.originalIds,this.selectedHotlistIds);this.pristine=!a;var c=k(FTa(a));a=c.next().value;c=c.next().value;this.saveBtnLabel=a;this.saveBtnTooltip=c};
var Xm=function(a){a.dialogRef.close(a.selectedHotlistIds)},sTa=function(a){var b;return(a=null==(b=a.hotlistUnderEdit.get("name"))?void 0:b.value)?a:""},qMc=function(a){var b;return(a=null==(b=a.hotlistUnderEdit.get("description"))?void 0:b.value)?a:""},rTa=function(a){a.snackBar.open("Saving hotlist...","dismiss",{duration:0});var b=sTa(a),c=qMc(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)})},pMc=function(a){a.userApi.getUserSidebar().then(function(b){a.starredHotlists.clear();for(var c=k(b.hotlists||[]),d=c.next();!d.done;d=c.next()){d=d.value;var e=Number(d.id);d.starred&&a.starredHotlists.add(e)}b=k(b.bookmarkGroups||[]);for(c=b.next();!c.done;c=b.next())for(c=k(c.value.sublinks||[]),d=c.next();!d.done;d=c.next())d=d.value,d.starred&&a.starredHotlists.add(Number(d.id))}).catch(function(b){a.errorHandler.errorHandler(null,
b)})};
BU.prototype.toggleStar=function(a){var b=this,c,d,e;return Ld(function(g){switch(g.nextAddress){case 1:c=b.starredHotlists.has(a);d={resourceType:"HOTLIST",resourceId:a,userLogin:b.currentUserEmail};Md(g,2,3);b.isSavingStar.add(a);if(c)return b.starredHotlists.delete(a),g.yield(b.userApi.deleteFavorite(d),3);b.starredHotlists.add(a);return g.yield(b.userApi.saveFavorite(d),3);case 3:Nd(g);b.isSavingStar.delete(a);Od(g,4);break;case 2:e=Pd(g);aG(b.errorHandler,e);g.jumpTo(3);break;case 4:b.appEvents.hotlistChanged.next(),b.appEvents.favoritesModified.next(),
pMc(b),Qd(g)}})};var vTa=function(a,b){a.hotlistApi.get(b).then(function(c){a.hotlists.push(c);a.selectedHotlistIds.add(c.hotlistId);Xm(a)}).catch(function(c){a.errorHandler.errorHandler(null,c)})};BU.prototype.trackByHotlistId=function(a,b){return b.hotlistId};BU.\u0275fac=function(a){return new (a||BU)(D(Iy),D(Ky),D(OG),D(lH),D(ZG),D(TF),D(cG),D(ZF),D(rp),D(hH),D(AU),D(QH))};
BU.\u0275cmp=zc({type:BU,selectors:[["ng-component"]],hostBindings:function(a,b){a&1&&O("keydown.meta.enter",function(){return Xm(b)})("keydown.shift.enter",function(){return Xm(b)})("keydown.control.enter",function(){return Xm(b)})},features:[xe],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&&(R(0,oTa,2,1,"ng-container",
0),H(1,"mat-dialog-actions")(2,"button",1),O("click",function(){b.dialogRef.close()}),S(3," Cancel "),J(),R(4,qTa,2,1,"ng-container",0),J(),R(5,tTa,2,1,"ng-template",null,2,of),R(7,uTa,2,5,"ng-template",null,3,of),R(9,BTa,15,9,"ng-template",null,4,of),R(11,CTa,14,1,"ng-template",null,5,of));if(a&2){var c=Se(8),d=Se(10);G("ngIf",b.showCreateNewPane)("ngIfElse",d);C(4);G("ngIf",b.showCreateNewPane)("ngIfElse",c)}},dependencies:[Su,Tu,Yu,yy,jz,My,Ny,Oy,Py,nU,oU,Av,Af,tv,uv,Mv,Gv,Hv,XA,zU,Zu],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}\n/*# sourceMappingURL=hotlist_picker_modal.css.map */"],
changeDetection:0});var CU=function(a,b,c,d){this.dialog=a;this.issueFridge=b;this.eventsForIssueFridge=c;this.errorHandler=d},sMc=function(a,b){var c,d,e,g,h,l,q,v;return Ld(function(y){switch(y.nextAddress){case 1:return y.yield((0,F.firstValueFrom)(b),2);case 2:return c=y.yieldResult,(e=null==(d=c)?void 0:d.snapshot[0].hotlistId)&&c?y.yield(rMc(a,e),3):y.return();case 3:g=y.yieldResult;if(null==g)return y.return();h=g.added.map(String);l=g.removed.map(String);q=String(c.issueId);Md(y,4,5);return y.yield(rnc(a.issueFridge,
q,h,l),5);case 5:Nd(y);a.eventsForIssueFridge.poke(q);Od(y,0);break;case 4:v=Pd(y),aG(a.errorHandler,v),y.jumpTo(5)}})},rMc=function(a,b){var c,d,e,g;return Ld(function(h){if(1==h.nextAddress)return c={panelClass:"no-jitter",data:{selectedHotlistIds:b},ariaLabel:"Search for Hotlists"},d=a.dialog.open(BU,c),h.yield((0,F.firstValueFrom)(Gy(d)),2);e=h.yieldResult;if(!e)return h.return(Promise.resolve());g=asa(new Set(b),new Set(e));return h.return(Promise.resolve(g))})};
CU.\u0275fac=function(a){return new (a||CU)(w(Ly),w(IH),w(pF),w(ZF))};CU.\u0275prov=nc({token:CU,factory:CU.\u0275fac,providedIn:"root"});var DU=function(a,b,c,d,e,g,h){kE.call(this);var l=this;this.issueFridge=a;this.eventsForIssueFridge=b;this.hotlistPickerService=c;this.issueInteractionsTracking=d;this.errorHandler=e;this.liveAnnouncer=g;this.activeSession=h;this.ISSUE_TYPE_TEXT=bjc;this.STATUS_JS_FULL_TEXT=dk;this.STATUS_JS_TERSE=Yic;this.DUPLICATE="DUPLICATE";this.id$=new F.ReplaySubject(1);this.issue$=this.id$.pipe(pe(this.issueFridge.watch));this.hotlistIds$=this.issue$.pipe(E(PTa));this.textOfHotlistBtn$=this.hotlistIds$.pipe(E(function(q){var v;
return null!=(v=null==q?void 0:q.length)?v:0}),E(function(q){return 5>=q?"Add Hotlist":""}));this.priority$=this.issue$.pipe(E(function(q){return(null==q?void 0:q.snapshot[0].priority)||void 0}));this.type$=this.issue$.pipe(E(function(q){return null==q?void 0:q.snapshot[0].type}),E(function(q){return fua[q]}));this.canonicalId$=this.issue$.pipe(E(function(q){return null==q?void 0:q.snapshot[0].duplicateOfIssueId}));this.status$=this.issue$.pipe(E(function(q){return(null==q?void 0:q.snapshot[0].status)||
void 0}));this.statusForChip$=this.status$.pipe(E(function(q){return Zic[q]?q:void 0}));this.statusCssClass$=this.status$.pipe(E(function(q){return l.computeStatusCssClass(q)}));this.HOTKEYS=eM;this.enableCommentFilters=iE(this.activeSession,"enableCommentFiltering")};V(DU,kE);DU.\u0275dir=kE.\u0275dir;DU.prototype.computeStatusCssClass=function(a){return null===a||void 0===a?"":"status-"+Zh[a]};
var LTa=function(a){return Ld(function(b){return b.yield(sMc(a.hotlistPickerService,a.issue$),0)})},JTa=function(a,b){var c,d;return Ld(function(e){switch(e.nextAddress){case 1:return e.yield((0,F.firstValueFrom)(a.id$),2);case 2:c=e.yieldResult;zqc(a.issueInteractionsTracking,c,{label:"remove-hotlists",value:1});Md(e,3,4);var g=e.yield;var h=rnc(a.issueFridge,c,[],[String(b)]);return g.call(e,h,6);case 6:return e.yield(a.liveAnnouncer.announce("Hotlist removed successfully"),4);case 4:Nd(e);a.eventsForIssueFridge.poke(c);
Od(e,0);break;case 3:d=Pd(e),aG(a.errorHandler,d),e.jumpTo(4)}})};gg.Object.defineProperties(DU.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a)}}});DU.\u0275fac=function(a){return new (a||DU)(D(IH),D(pF),D(CU),D(wJ),D(ZF),D(cx),D(rp))};
DU.\u0275cmp=zc({type:DU,selectors:[["issue-description-area"]],inputs:{id:"id"},features:[xe],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),R(2,HTa,6,10,"div",2),T(3,"async"),R(4,ITa,2,4,"span",3),T(5,"async"),K(6,"b-issue-priority-display",4),T(7,"async"),J(),R(8,MTa,6,5,"div",5),T(9,"async"),R(10,NTa,2,0,"div",6),J(),H(11,"onedev-hovercard",null,7),R(13,OTa,3,4,"b-issue-card",8),J());a&2&&(C(2),G("ngIf",U(3,5,b.statusForChip$)),C(2),G("ngIf",U(5,7,b.type$)),C(2),G("issuePriority",U(7,9,b.priority$)),C(2),G("ngIf",U(9,11,b.hotlistIds$)),C(2),G("ngIf",!b.enableCommentFilters))},dependencies:[Su,
Tu,yy,jz,dM,wU,QJ,RJ,VJ,SJ,PO,vI,XA,IG,xU,Zu],styles:["[_nghost-%COMP%]{display:block}.add-hotlists-btn[_ngcontent-%COMP%], button.gmat-button[_ngcontent-%COMP%]:not(.mat-icon-button).add-hotlists-btn{font-family:Roboto,Arial,sans-serif;line-height:1.25rem;font-size:.875rem;letter-spacing:.0142857143em;font-weight:400;font-size:.8125rem;line-height:1.3846153846;color:#202124;color:var(--text);background-color:#fff;background-color:var(--surface-default);line-height:22px;height:22px;min-width:22px;padding:0 8px;border-radius:11px}.add-hotlists-btn[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon);margin:0 -2px;margin-top:-3px}.chip-container[_ngcontent-%COMP%]{-webkit-align-self:start;-ms-flex-item-align:start;align-self:start;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:8px;line-height:22px}.hotlist-container[_ngcontent-%COMP%]{max-height:72px;overflow-y:auto;padding-bottom:5px}[_nghost-%COMP%]     .chip-container .b-chip, [_nghost-%COMP%]     .chip-container b-hotlist-chip{margin-right:0}[_nghost-%COMP%]     .chip-container .b-chip, [_nghost-%COMP%]     .chip-container .chip, [_nghost-%COMP%]     .chip-container b-access-level-indicator .label{line-height:22px;height:22px}[_nghost-%COMP%]     .chip-container b-access-level-indicator .label{border-radius:11px}[_nghost-%COMP%]     .chip-container .b-chip.status{-moz-box-sizing:border-box;box-sizing:border-box;line-height:20px}.thread-filters[_ngcontent-%COMP%]{margin-top:-9px}\n/*# sourceMappingURL=issue_description_area.css.map */"],
changeDetection:0});var EU=function(){};EU.\u0275fac=function(a){return new (a||EU)};EU.\u0275mod=Bc({type:EU});EU.\u0275inj=oc({imports:[MF]});var FU=function(){};FU.\u0275fac=function(a){return new (a||FU)};FU.\u0275mod=Bc({type:FU});FU.\u0275inj=oc({imports:[MF,cN,EU,YA,WB]});var GU=function(){};GU.\u0275fac=function(a){return new (a||GU)};GU.\u0275mod=Bc({type:GU});GU.\u0275inj=oc({imports:[MF,vN,WB,YA,zC]});var HU=function(){};HU.\u0275fac=function(a){return new (a||HU)};HU.\u0275mod=Bc({type:HU});HU.\u0275inj=oc({imports:[MF,mU,YA,Qy,MG,zO,WB,pU,SF,Qv,Rv,GU,zC,Ex]});var tMc=["issueTitleEl"],uMc=["issueTitleInputEl"],STa=function(a){return{"width.px":a}},IU=function(){this.disabled=!1;this.updateTitle=new tu;this.isEditMode=!1;this.editModeWidth=0};IU.prototype.ngDoCheck=function(){vMc(this)};
var UTa=function(a){a.isEditMode=!a.isEditMode;a.isEditMode&&setTimeout(function(){return a.issueTitleInputEl.nativeElement.focus()},0)},wMc=function(a,b){a.isEditMode=!1;vMc(a);if(b)a.updateTitle.emit(b.trim());else{var c;b=null==(c=a.issueTitleEl)?void 0:c.nativeElement.textContent;a.updateTitle.emit(b.trim())}},RTa=function(a,b){if(b)"Enter"===b.key?wMc(a,b.target.value):("Escape"===b.key||"Esc"===b.key)&&UTa(a);else{var c;b=null==(c=a.issueTitleInputEl)?void 0:c.nativeElement.value;wMc(a,b)}},
vMc=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};gg.Object.defineProperties(IU.prototype,{title:{configurable:!0,enumerable:!0,set:function(a){this.titlePlain=a=null!=a?a:void 0;this.titleTruncated=zDa(a,300);this.isLongTitle=null==a?!1:300<=a.length}}});IU.\u0275fac=function(a){return new (a||IU)};
IU.\u0275cmp=zc({type:IU,selectors:[["issue-title"]],viewQuery:function(a,b){a&1&&(jf(tMc,5),jf(uMc,5));if(a&2){var c;hf(c=lf())&&(b.issueTitleEl=c.first);hf(c=lf())&&(b.issueTitleInputEl=c.first)}},inputs:{title:"title",disabled:"disabled",hasAclToEdit:"hasAclToEdit"},outputs:{updateTitle:"updateTitle"},decls:3,vars:3,consts:[["class","heading-m",4,"ngIf"],[3,"ngStyle",4,"ngIf"],["mat-icon-button","","class","small","matTooltip","Edit issue title","aria-label","Edit issue title",3,"disabled","click",
4,"ngIf"],[1,"heading-m"],["issueTitleEl",""],[3,"ngStyle"],["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"]],template:function(a,b){a&1&&(R(0,QTa,3,2,"h3",0),R(1,TTa,3,4,"mat-form-field",1),R(2,VTa,2,1,"button",2));a&2&&(G("ngIf",!b.isEditMode),C(1),G("ngIf",b.isEditMode),C(1),
G("ngIf",b.hasAclToEdit))},dependencies:[Tu,Xu,yy,jz,XA,Yy,az],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}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}"]});var JU=function(){};JU.\u0275fac=function(a){return new (a||JU)};JU.\u0275mod=Bc({type:JU});JU.\u0275inj=oc({imports:[MF,WB,YA,zC,Zy,bz]});var xMc=function(a){return{isDupe:a}},KU=function(a,b,c,d,e){kE.call(this);var g=this;this.fridge=a;this.permissionsFridge=b;this.issuePicker=c;this.snackBar=d;this.eventsForIssueFridge=e;this.TOOLTIP_MARK_DUPE="Mark this issue as a duplicate";this.TOOLTIP_UNMARK_DUPE="Mark this issue as not being a duplicate";this.disabled=!1;this.issueId$=new F.ReplaySubject(1);this.issue$=this.issueId$.pipe(pe(function(h){return g.fridge.watchOne(h)}));this.isDupe$=this.issue$.pipe(E(function(h){var l;return!!(null==
h?0:null==(l=h.snapshot[0])?0:l.duplicateOfIssueId)}));this.permissions$=this.issueId$.pipe(pe(function(h){return g.permissionsFridge.watchOne("issues/"+h)}));this.canEdit$=this.permissions$.pipe(E(function(h){return!(null==h||!h.writer)}),oe(!0));this.didChooseCanonical=function(h){return function(l){(l=l[0])&&snc(g.fridge,l,h).then(function(){g.eventsForIssueFridge.poke(h)}).catch(g.gotErr)}};this.gotErr=function(h){g.snackBar.open(Ck(h)||"Error with network request","close",{panelClass:"error"})}};
V(KU,kE);KU.\u0275dir=kE.\u0275dir;
var WTa=function(a){var b,c;return Ld(function(d){if(1==d.nextAddress)return a.disabled||a.fridge.isSaving(a.internalIssueId)||!ol(a.canEdit$)?d.return():d.yield((0,F.firstValueFrom)(a.isDupe$),2);if(3!=d.nextAddress)return b=d.yieldResult,d.yield((0,F.firstValueFrom)(a.issue$),3);c=d.yieldResult;if(null==c)return d.return();b?yMc(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));Qd(d)})},yMc=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)};gg.Object.defineProperties(KU.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.internalIssueId=a;this.issueId$.next(a)}}});KU.\u0275fac=function(a){return new (a||KU)(D(IH),D(QH),D(fP),D(TF),D(pF))};
KU.\u0275cmp=zc({type:KU,selectors:[["smart-dupe-btn"]],inputs:{disabled:"disabled",issueId:"issueId"},features:[xe],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&&(R(0,XTa,3,5,"button",0),T(1,"async"));a&2&&G("ngIf",Ze(3,xMc,U(1,1,b.isDupe$)))},dependencies:[Tu,yy,Zu]});var LU=function(a){kE.call(this);this.prefs=a};V(LU,kE);LU.\u0275dir=kE.\u0275dir;LU.prototype.onChange=function(a){this.prefs.save({useCodefont:a.checked}).pipe(qe(this.destroyed$)).subscribe()};LU.\u0275fac=function(a){return new (a||LU)(D(TI))};
LU.\u0275cmp=zc({type:LU,selectors:[["b-toggle-code-font"]],features:[xe],ngContentSelectors:["*"],decls:3,vars:3,consts:[["matTooltip","Use a monospace typeface to display all comments",3,"checked","change"]],template:function(a,b){a&1&&(Ne(),H(0,"mat-slide-toggle",0),O("change",function(c){return b.onChange(c)}),T(1,"async"),Oe(2),J());a&2&&G("checked",U(1,1,b.prefs.codeFont$))},dependencies:[eU,XA,Zu],styles:["mat-slide-toggle[_ngcontent-%COMP%] {font-size: 14px; }"],changeDetection:0});var MU=function(){};MU.\u0275fac=function(a){return new (a||MU)};MU.\u0275mod=Bc({type:MU});MU.\u0275inj=oc({imports:[dU,cy,Sx,bx,dU,Sx]});var NU=function(){};NU.\u0275fac=function(a){return new (a||NU)};NU.\u0275mod=Bc({type:NU});NU.\u0275inj=oc({imports:[MF,WB,zO,Qy,YA,MU,SF,zC,yN]});var OU=function(){};OU.\u0275fac=function(a){return new (a||OU)};OU.\u0275mod=Bc({type:OU});OU.\u0275inj=oc({providers:[CU],imports:[MF,MO,fM,FU,HU,cN,VO,nN,mN,JU,WB,YA,zC,MG,GU,NU]});var PU=function(){};PU.\u0275fac=function(a){return new (a||PU)};PU.\u0275mod=Bc({type:PU});PU.\u0275inj=oc({imports:[MF,cN,sO,KO,tN]});var QU=function(){};QU.\u0275fac=function(a){return new (a||QU)};QU.\u0275mod=Bc({type:QU});QU.\u0275inj=oc({imports:[PU,MF,cN,sO,WB,KO,tN,MG,yO]});var RU=function(){};RU.\u0275fac=function(a){return new (a||RU)};RU.\u0275mod=Bc({type:RU});RU.\u0275inj=oc({imports:[EO,MF,HJ]});var SU=function(){};SU.\u0275fac=function(a){return new (a||SU)};SU.\u0275mod=Bc({type:SU});SU.\u0275inj=oc({imports:[MF,mN,WB,zC,RU,lN,tN,MG,PU]});var TU=function(){};TU.\u0275fac=function(a){return new (a||TU)};TU.\u0275mod=Bc({type:TU});TU.\u0275inj=oc({imports:[PU,MF,WB,RU]});var UU=function(){};UU.\u0275fac=function(a){return new (a||UU)};UU.\u0275mod=Bc({type:UU});UU.\u0275inj=oc({imports:[MF,WB,YA,iw]});var VU=function(){};VU.\u0275fac=function(a){return new (a||VU)};VU.\u0275mod=Bc({type:VU});VU.\u0275inj=oc({imports:[MF,UU,QU,YA,SU,TU]});var WU=function(){};WU.\u0275fac=function(a){return new (a||WU)};WU.\u0275mod=Bc({type:WU});WU.\u0275inj=oc({imports:[zO,MF,aT,Qv,Rx,PN,yO,DO,RM,YA,WB,zC]});var XU=function(a){this.matDialog=a};XU.prototype.show=function(a,b){"LITERAL"===a.formattingMode&&(a.formattingMode="PLAIN");this.dialog=this.matDialog.open(YU,{width:"60vw",disableClose:!0,panelClass:"no-jitter",data:{formattingAudience:b,statusUpdate:a}});return(0,F.firstValueFrom)(Gy(this.dialog))};XU.\u0275fac=function(a){return new (a||XU)(w(Ly))};XU.\u0275prov=nc({token:XU,factory:XU.\u0275fac,providedIn:"root"});
var YU=function(a,b,c,d,e){kE.call(this);var g=this;this.activeSession=a;this.data=b;this.dialogService=c;this.dialogRef=d;this.CHAR_LIMIT=1E3;this.MARKDOWN="MARKDOWN";this.contentRemovalRequestLink=this.activeSession.isInternalSession()?"https://goto.corp.google.com/delete-comments-attachments":"https://issuetracker.google.com/issues/new?component=169992&template=543202";this.formattingAudience=b.formattingAudience;this.origStatusUpdate=b.statusUpdate;this.newStatusUpdate=Gg(this.origStatusUpdate);
this.subscriptions.add(tP(e,function(){return g.isModified()},!1))};V(YU,kE);YU.\u0275dir=kE.\u0275dir;var zMc=function(a){var b,c;return null!=(c=DDa(null==(b=a.newStatusUpdate)?void 0:b.updateText))?c:""};f=YU.prototype;f.ngOnInit=function(){var a=this;this.dialogRef.keydownEvents().pipe(qe(this.destroyed$)).subscribe(function(b){"Escape"===b.key&&a.closeIfUnmodified()});this.dialogRef.backdropClick().pipe(qe(this.destroyed$)).subscribe(function(){a.closeIfUnmodified()})};
f.closeIfUnmodified=function(){if(!this.isModified()){var a;null==(a=this.dialogService.dialog)||a.close()}};f.isModified=function(){return!Fg(this.newStatusUpdate,this.origStatusUpdate)};f.closeDialogForSave=function(){var a;null==(a=this.dialogService.dialog)||a.close(this.newStatusUpdate)};f.asNumber=function(a){return Number(a)};YU.\u0275fac=function(a){return new (a||YU)(D(rp),D(Ky),D(XU),D(Iy),D(sP))};
YU.\u0275cmp=zc({type:YU,selectors:[["ng-component"]],features:[xe],decls:18,vars:12,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"muted"],["target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],[3,"content","contentChange","onSubmit"],["class","char-limit-warning",4,"ngIf"],[1,"inline-block",3,"initialValue","change"],["class","clamper line-clamp-4","tabindex","0",4,"ngIf"],["mat-dialog-actions",""],["mat-button","",3,"mat-dialog-close"],["mat-flat-button","",1,"gmat-button",
"save-button",3,"mat-dialog-close","disabled"],[1,"char-limit-warning"],["tabindex","0",1,"clamper","line-clamp-4"],[3,"comment","issueId","formattingMode","audience"]],template:function(a,b){a&1&&(H(0,"h1",0),S(1,"Editing Status Update"),J(),H(2,"section",1)(3,"p",2),S(4," Editing the Status Update will not permanently remove old ones from database history. "),K(5,"br"),S(6," For deletion of PII or other sensitive content, please "),H(7,"a",3),S(8," file a support request. "),J()(),H(9,"b-comment-draft",
4),O("contentChange",function(c){return b.newStatusUpdate.updateText=c})("onSubmit",function(){return b.closeDialogForSave()}),J(),R(10,YTa,2,1,"p",5),H(11,"b-markdown-toggle",6),O("change",function(c){return b.newStatusUpdate.formattingMode=c}),J(),R(12,ZTa,2,4,"div",7),J(),H(13,"footer",8)(14,"button",9),S(15," Cancel "),J(),H(16,"button",10),S(17," Save "),J()());a&2&&(C(7),G("href",b.contentRemovalRequestLink,vd),C(2),Ila(zMc(b)),G("content",b.newStatusUpdate.updateText),C(1),G("ngIf",1E3<b.newStatusUpdate.updateText.length),
C(1),Ie("margin-bottom",b.newStatusUpdate.formattingMode!==b.MARKDOWN),G("initialValue",b.origStatusUpdate.formattingMode),C(1),G("ngIf",b.newStatusUpdate.formattingMode===b.MARKDOWN),C(2),G("mat-dialog-close",void 0),C(2),G("mat-dialog-close",b.newStatusUpdate)("disabled",0===b.newStatusUpdate.updateText.length||1E3<b.newStatusUpdate.updateText.length))},dependencies:[My,Ny,Oy,Py,Tu,yy,qO,pO,dT],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}.char-limit-warning[_ngcontent-%COMP%]{color:#c5221f;color:var(--text-bad)}\n/*# sourceMappingURL=edit_status_update_dialog.css.map */'],
changeDetection:0});var ZU=function(){};ZU.\u0275fac=function(a){return new (a||ZU)};ZU.\u0275mod=Bc({type:ZU});ZU.\u0275inj=oc({imports:[Qy,zO,MF,Rx,YA,WB,EO,WU]});var $U=function(a){this.matDialog=a};$U.prototype.show=function(a){this.dialog=this.matDialog.open(aV,{width:"60vw",disableClose:!0,panelClass:"no-jitter",data:{statusUpdates:a}});return(0,F.firstValueFrom)(Gy(this.dialog))};$U.\u0275fac=function(a){return new (a||$U)(w(Ly))};$U.\u0275prov=nc({token:$U,factory:$U.\u0275fac,providedIn:"root"});var aV=function(a,b,c){kE.call(this);this.data=a;this.dialogService=b;this.dialogRef=c;this.statusUpdates=a.statusUpdates};V(aV,kE);aV.\u0275dir=kE.\u0275dir;
aV.prototype.ngOnInit=function(){var a=this;this.dialogRef.keydownEvents().pipe(qe(this.destroyed$)).subscribe(function(b){if("Escape"===b.key){var c;null==(c=a.dialogService.dialog)||c.close()}});this.dialogRef.backdropClick().pipe(qe(this.destroyed$)).subscribe(function(){var b;null==(b=a.dialogService.dialog)||b.close()})};aV.\u0275fac=function(a){return new (a||aV)(D(Ky),D($U),D(Iy))};
aV.\u0275cmp=zc({type:aV,selectors:[["ng-component"]],features:[xe],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),S(1,"History for Status Update"),J(),H(2,"section",1)(3,"ul",2),R(4,$Ta,19,12,"li",3),J()(),H(5,"footer",4)(6,"button",5),S(7," Close "),J()());a&2&&(C(4),G("ngForOf",b.statusUpdates),C(2),G("mat-dialog-close",void 0))},dependencies:[Su,yy,BK,My,Ny,Oy,Py,qK,vK,NL,LJ,RO],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 bV=function(){};bV.\u0275fac=function(a){return new (a||bV)};bV.\u0275mod=Bc({type:bV});bV.\u0275inj=oc({imports:[EO,MF]});var cV=function(){};cV.\u0275fac=function(a){return new (a||cV)};cV.\u0275mod=Bc({type:cV});cV.\u0275inj=oc({imports:[MF,bN,WB,Qy,Rx,lN,KO,bV,TO]});var dV=function(a){r.call(this,a,0,dV.messageId)};V(dV,r);dV.repeatedFields_=[1];dV.prototype.toObject=function(){if(null!=this){t(this);var a={statusUpdatesList:Mb(yg(this,PD,1),Pfc)}}else a=void 0;return a};dV.prototype.serializeBinary=u([dV,1,Iq,Qfc]);dV.messageId="b.ListStatusUpdateHistoryResponse";var eV=function(a){this.executor=a};eV.prototype.get=function(a,b){return this.executor.get({url:tgc(a),responseConstructor:PD,options:{params:{issueCommentView:String(iua[void 0===b?"MARKDOWN":b])}}}).pipe(E(Iua))};
eV.prototype.update=function(a){var b=this.executor,c=b.post,d=tgc(a.issueId),e=new PD;a.issueId&&e.setIssueId(a.issueId);a.updateText&&e.setUpdateText(a.updateText);if(a.formattedText){var g=a.formattedText,h=new ri;if(g.plainFormat){var l=h.setPlainFormat;var q=g.plainFormat;q=(new ED).setPlainSectionList(q.plainSection.map(uta));l.call(h,q)}g.markdownFormat&&(l=h.setMarkdownFormat,q=g.markdownFormat,q=(new DD).setContent(q.content),l.call(h,q));g.literalFormat&&(l=h.setLiteralFormat,g=g.literalFormat,
g=(new CD).setContent(g.content),l.call(h,g));Oh(e,ri,3,h)}a.formattingMode&&e.setFormattingMode(iua[a.formattingMode]);a.author&&e.setAuthor(Xg(a.author));a.updateTime&&e.setUpdateTime(vg(a.updateTime));a.version&&e.setVersion(a.version);return c.call(b,{url:d,body:e,responseConstructor:PD}).pipe(E(Iua))};eV.prototype.delete=function(a){return this.executor.delete({url:tgc(a),responseConstructor:null})};
var AMc=function(a,b){return a.executor.get({url:"action/issues/"+b+"/statusUpdateHistory",responseConstructor:dV,options:{params:{issueCommentView:String(iua.MARKDOWN)}}}).pipe(E(function(c){return yg(c,PD,1).map(Iua)}))};eV.\u0275fac=function(a){return new (a||eV)(w(BC))};eV.\u0275prov=nc({token:eV,factory:eV.\u0275fac,providedIn:"root"});var BMc=["noteContainer"],mUa=function(a,b){return[a,b]},CMc={FRESH:0,STALE:1,NONE:2,0:"FRESH",1:"STALE",2:"NONE"},fV=function(a,b,c,d,e,g,h,l,q){kE.call(this);var v=this;this.analytics=a;this.confirmationDialogService=b;this.currentUser=c;this.editStatusUpdateDialogService=d;this.errorHandler=e;this.issueFridge=g;this.issuePermissionService=h;this.statusUpdateService=l;this.statusUpdateHistoryDialogService=q;this.Freshness=CMc;this.UiState=DMc;this.FormattingMode=Scc;this.issueId$=new F.ReplaySubject(1);
this.issue$=this.issueId$.pipe(pe(this.issueFridge.watch));this.accessLevel$=this.issue$.pipe(E(function(y){var B;return null==y?void 0:null==(B=y.accessLimit)?void 0:B.accessLevel}));this.issueTeamId$=this.issue$.pipe(E(function(y){var B;return null==y?void 0:null==(B=y.aggregatedData)?void 0:B.teamId}));this.isCollapsed=!1;this.currentUserIsAuthoritative$=(0,F.combineLatest)([this.issue$,this.issueTeamId$]).pipe(E(function(y){var B=k(y);y=B.next().value;var I=B.next().value;B=v.currentUser.email===
Zwa(y);I=v.currentUser.allTeamIds.includes(String(I));var N,Q,Z,Y;y=(null!=(Y=null==y?void 0:null==(N=y.snapshot)?void 0:null==(Q=N[0])?void 0:null==(Z=Q.collaboratorsUsers)?void 0:Z.map(Qg))?Y:[]).includes(v.currentUser.email);return B||I||y}));this.statusUpdate$=this.issue$.pipe(E(function(y){return null==y?void 0:y.statusUpdate}));this.statusUpdateAsNote$=this.statusUpdate$.pipe(Zd(eh),E(function(y){return{unlinkifiedComment:y.updateText,formattedComment:y.formattedText}}));this.semanticClass$=
this.statusUpdate$.pipe(E(function(y){var B;return null!=(B=DDa(null==y?void 0:y.updateText))?B:""}));this.statusIsEmpty$=this.statusUpdate$.pipe(E(function(y){return""===((null==y?void 0:y.updateText)||"").trim()}));this.freshnessIndicator$=(0,F.combineLatest)([this.statusIsEmpty$,this.statusUpdate$]).pipe(E(function(y){var B=k(y);y=B.next().value;B=B.next().value;if(y)return 2;var I;y=(null==B?void 0:null==(I=B.updateTime)?void 0:I.seconds)||0;return 86400>Date.now()/1E3-y?0:1}));this.uiState$=
(0,F.combineLatest)([this.currentUserIsAuthoritative$,this.statusIsEmpty$]).pipe(E(function(y){var B=k(y);y=B.next().value;B=B.next().value;return y&&B?2:B?1:3}),oe(0));this.formattingModeOverride$=new F.BehaviorSubject(void 0);this.formattingMode$=(0,F.combineLatest)([this.statusUpdate$,this.formattingModeOverride$]).pipe(E(function(y){var B=k(y);y=B.next().value;return(B=B.next().value)?B:(null==y?void 0:y.formattingMode)||"PLAIN"}));this.menuItems$=(0,F.combineLatest)([this.issueId$,this.statusUpdate$,
this.issuePermissionService.hasAclToAdmin$,this.formattingMode$]).pipe(E(function(y){var B=k(y),I=B.next().value,N=B.next().value;y=B.next().value;B=B.next().value;var Q=null!=N;N=N&&""!==(null==N?void 0:N.updateText);var Z=[];N&&Z.push({type:"submenu",label:"View as",className:"view-as-format",items:[{type:"select",label:"Classic",action:function(){v.formattingModeOverride$.next("PLAIN")},selected:"PLAIN"===B},{type:"select",label:"Markdown",action:function(){v.formattingModeOverride$.next("MARKDOWN")},
selected:"MARKDOWN"===B},{type:"select",label:"Source",action:function(){v.formattingModeOverride$.next("LITERAL")},selected:"LITERAL"===B}]});Z.push({type:"action",label:"Edit Status Update",action:function(){aUa(v)}});Q&&Z.push({type:"action",label:"Show editing history",action:function(){EMc(v,I)}});N&&y&&Z.push({type:"action",label:"Delete Status Update",action:function(){v.confirmationDialogService.open({title:"Delete Status Update?",content:yl("\n                    Deleting a Status Update will remove it from the history. It\n                    will be purged after 30 days. This cannot be undone."),
confirmButtonText:"Delete",onConfirm:function(){v.doDelete()}})}});Z.push(FMc);return Z}))};V(fV,kE);fV.\u0275dir=kE.\u0275dir;fV.prototype.ngOnInit=function(){var a=this;setTimeout(function(){var b,c;return Ld(function(d){if(1==d.nextAddress)return d.yield((0,F.firstValueFrom)(a.uiState$.pipe(Zd(function(e){return 0!==e}))),2);b=d.yieldResult;c=oUa(b);a.analytics.trackEvent(Yl.ISSUE,"statusUpdateDisplay",c);Qd(d)})},1E3)};
fV.prototype.ngAfterViewInit=function(){var a;84<(null==(a=this.noteContainer)?void 0:a.nativeElement.scrollHeight)&&(this.isCollapsed=!0)};
var aUa=function(a){var b,c,d,e,g,h,l;return Ld(function(q){switch(q.nextAddress){case 1:return q.yield((0,F.firstValueFrom)(a.issueId$),2);case 2:return b=q.yieldResult,c={issueId:b,updateText:"",version:-1},e=null!=(d=ol(a.statusUpdate$))?d:c,q.yield((0,F.firstValueFrom)(a.accessLevel$),3);case 3:return g=q.yieldResult,h="INTERNAL"===g?"INTERNAL_AUDIENCE":"EXTERNAL_AUDIENCE",q.yield(a.editStatusUpdateDialogService.show(e,h),4);case 4:l=q.yieldResult;if(null==l)return q.return();a.statusUpdateService.update(l).subscribe(function(v){a.didSave(b,
v)},function(v){a.errorHandler.errorHandler(null,v)});Qd(q)}})},cUa=function(a){var b,c;return Ld(function(d){if(1==d.nextAddress)return d.yield((0,F.firstValueFrom)(a.issueId$),2);b=d.yieldResult;c=ol(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)});Qd(d)})};fV.prototype.didSave=function(a,b){nF(this.issueFridge,a,function(c){c.statusUpdate=b});this.issueFridge.poke(a)};
var EMc=function(a,b){var c;Ld(function(d){if(1==d.nextAddress)return d.yield((0,F.firstValueFrom)(AMc(a.statusUpdateService,b)),2);c=d.yieldResult;a.statusUpdateHistoryDialogService.show(c);Qd(d)})};fV.prototype.doDelete=function(){var a=this,b;Ld(function(c){if(1==c.nextAddress)return c.yield((0,F.firstValueFrom)(a.issueId$),2);b=c.yieldResult;a.statusUpdateService.delete(b).subscribe(function(){nF(a.issueFridge,b,function(d){d.statusUpdate=void 0});a.issueFridge.poke(b)});Qd(c)})};
gg.Object.defineProperties(fV.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)}}});fV.\u0275fac=function(a){return new (a||fV)(D(AH),D(OI),D(pI),D(XU),D(ZF),D(IH),D(zJ),D(eV),D($U))};
fV.\u0275cmp=zc({type:fV,selectors:[["status-update"]],viewQuery:function(a,b){a&1&&jf(BMc,5);if(a&2){var c;hf(c=lf())&&(b.noteContainer=c.first)}},inputs:{issueId:"issueId"},features:[xe],decls:2,vars:3,consts:[[3,"display-none","short-height","class",4,"ngIf"],["svgIcon","group","color","primary",1,"margin-xs-right","shrink-0"],[4,"ngIf"],[1,"flex-kids-x","space-between","align-items-center"],[1,"uppercase","inline-block","margin-s-right"],[1,"empty-message","muted","margin-s-right"],["mat-stroked-button",
"","aria-label","Edit Status Update","color","primary",1,"gmat-button","small",3,"click"],[1,"flex-1-hemmed"],[1,"flex-kids-x","space-between"],[1,"left"],[1,"uppercase","inline-block","margin-xs-right"],["mat-stroked-button","","aria-label","Edit Status Update","color","primary",1,"gmat-button","small","margin-xs-right",3,"click"],[1,"edit-info","right"],["matTooltip","Status Update actions",3,"buttonLabel","menuItems",4,"ngIf"],["mat-button","","aria-label","Mark Status Update as fresh","color",
"primary","class","gmat-button small margin-xs-right mark-fresh",3,"click",4,"ngIf"],["mat-button","","aria-label","Mark Status Update as fresh","color","primary",1,"gmat-button","small","margin-xs-right","mark-fresh",3,"click"],["class","fresh-checkmark","matTooltip","Last update made within 24 hours","svgIcon","check_circle_filled_24px",4,"ngIf"],[3,"onedevHovercardTrigger"],["mode","relativepast",3,"timestamp"],["userCard",""],[3,"email"],["matTooltip","Last update made within 24 hours","svgIcon",
"check_circle_filled_24px",1,"fresh-checkmark"],["matTooltip","Status Update actions",3,"buttonLabel","menuItems"],[1,"pos-rel"],["noteContainer",""],[3,"issueId","issueAccessLevel","note","formattingMode",4,"ngIf"],["mat-stroked-button","","color","primary","class","gmat-button small show-more",3,"click",4,"ngIf"],[3,"issueId","issueAccessLevel","note","formattingMode"],["mat-stroked-button","","color","primary",1,"gmat-button","small","show-more",3,"click"]],template:function(a,b){a&1&&(R(0,nUa,
5,14,"div",0),T(1,"async"));a&2&&G("ngIf",U(1,1,b.uiState$))},dependencies:[RK,rO,Tu,yy,jz,BK,QJ,VJ,tK,XA,Zu,JO],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 DMc={LOADING:0,HIDDEN:1,SHOW_EMPTY:2,NORMAL:3,0:"LOADING",1:"HIDDEN",2:"SHOW_EMPTY",3:"NORMAL"},FMc={type:"action",label:"Using the Status Update field...",action:function(){Jra(window,Nf("https://developers.google.com/issue-tracker/concepts/status-update"),"_blank")},icon:"help-outline",className:"border-top"};var gV=function(){};gV.\u0275fac=function(a){return new (a||gV)};gV.\u0275mod=Bc({type:gV});gV.\u0275inj=oc({imports:[mT,EO,MF,bN,ZU,cN,sO,WB,YA,zC,KO,cV,bV]});var hV=function(a,b){this.dialogRef=a;this.userApi=b;this.userSavedSearches=[];this.selectedSavedSearches=new Set;this.pristine=!0};f=hV.prototype;f.ngOnInit=function(){this.getUserSavedSearches()};f.getUserSavedSearches=function(){var a=this;this.userApi.getUserSavedSearches().then(function(b){a.userSavedSearches=[].concat(Jc(b))})};f.trackBySearchId=function(a,b){return b.searchId};f.onEnter=function(){this.onConfirm()};f.onEscape=function(){this.dialogRef.close()};f.onConfirm=function(){this.dialogRef.close(this.selectedSavedSearches)};
f.onCancel=function(){this.dialogRef.close()};f.onChangeMatList=function(a){var b=this;a.options.forEach(function(c){c.selected?b.selectedSavedSearches.add(c.value):b.selectedSavedSearches.delete(c.value)});this.pristine=!1};hV.\u0275fac=function(a){return new (a||hV)(D(Iy),D(hH))};
hV.\u0275cmp=zc({type:hV,selectors:[["ng-component"]],hostBindings:function(a,b){a&1&&O("keydown.escape",function(){return b.onEscape()})},decls:10,vars:3,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[3,"selectionChange"],[4,"ngFor","ngForOf","ngForTrackBy"],["mat-button","","mat-dialog-close","","aria-label","Dismiss modal","role","button",3,"click"],["mat-flat-button","","mat-dialog-close","","color","primary","aria-label","'Save saved search selection'",1,"gmat-button",3,"disabled",
"click"],["checkboxPosition","before",3,"selected","value"],[1,"savedsearch-name","flex-kids-x","align-items-center"],[1,"overflow-ellipsis"],["class","line-clamp-2 muted type-s",4,"ngIf"],[1,"line-clamp-2","muted","type-s"]],template:function(a,b){a&1&&(H(0,"h2",0),S(1," Add Saved Search\n"),J(),H(2,"div",1)(3,"mat-selection-list",2),O("selectionChange",function(c){return b.onChangeMatList(c)}),R(4,qUa,6,6,"ng-container",3),J()(),H(5,"mat-dialog-actions")(6,"button",4),O("click",function(){return b.onCancel()}),
S(7," Cancel "),J(),H(8,"button",5),O("click",function(){return b.onConfirm()}),S(9," Add "),J()());a&2&&(C(4),G("ngForOf",b.userSavedSearches)("ngForTrackBy",b.trackBySearchId),C(4),G("disabled",b.pristine))},dependencies:[Su,Tu,yy,My,Ny,Oy,Py,nU,oU],styles:["[_nghost-%COMP%]     .mat-dialog-title{margin:0}[_nghost-%COMP%]     .mat-dialog-title h2{margin-top:0;margin-bottom:8px}[_nghost-%COMP%]     .mat-dialog-content{width:500px;padding:0}[_nghost-%COMP%]     .mat-list-base .mat-list-option .mat-list-item-content{padding:5px 0;padding-right:20px;padding-left:24px}[_nghost-%COMP%]     .mat-list-base .mat-list-option .mat-list-item-content .savedsearch-name{height:24px;font-size:.8125rem}[_nghost-%COMP%]     .mat-list-base .mat-list-option .mat-list-text{padding-left:12px}[_nghost-%COMP%]     .mat-list-base .mat-list-option .mat-list-text p{font-family:Roboto,Arial,sans-serif;line-height:1rem;font-size:.75rem;letter-spacing:.025em;font-weight:400}\n/*# sourceMappingURL=saved_search_picker_modal.css.map */"]});
var iV=function(a){this.dialog=a};iV.prototype.open=function(){var a=this,b={panelClass:"no-jitter"};return new Promise(function(c){Gy(a.dialog.open(hV,b)).subscribe(function(d){c(d)})})};iV.\u0275fac=function(a){return new (a||iV)(w(Ly))};iV.\u0275prov=nc({token:iV,factory:iV.\u0275fac,providedIn:"root"});var GMc=function(){this.headerOnly=!1;this.emailToUser=Yg};GMc.\u0275fac=function(a){return new (a||GMc)};
GMc.\u0275cmp=zc({type:GMc,selectors:[["b-changelist-activity-card"]],inputs:{changelistWithId:"changelistWithId",headerOnly:"headerOnly"},decls:1,vars:1,consts:[["class","container carded bg-main",4,"ngIf"],[1,"container","carded","bg-main"],[1,"header","critique"],[1,"logo"],["alt","","src","https://static.corp.google.com/devtools/codereview/new_logo_only.svg",1,"user-avatar","material","robo-avatar","ng-star-inserted"],[1,"text","line-clamp-3"],[1,"first-row","heading-xs",3,"title"],["taret","_blank",
1,"subtle-link","line-clamp-2",3,"href"],[1,"second-row","type-xs"],["target","_blank",1,"subtle-link",3,"href"],[3,"model"],[1,"menu"],["mat-icon-button","","aria-label","Show menu for this artifact",1,"gmat-button",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical"],["artifactMenu","matMenu"],["mat-menu-item",""],["class","show-updates",4,"ngIf"],["class","updates",4,"ngIf"],["class","actions margin-s-top",4,"ngIf"],[1,"show-updates"],["mat-button","","aria-label","Show affected files",
1,"small",3,"click"],["svgIcon","arrow-down"],[1,"updates"],[1,"type-m","margin-bottom"],["mat-icon-button","","aria-label","Hide affected files",1,"small",3,"click"],["svgIcon","arrow-up",1,"icon-s"],["class","update",4,"ngFor","ngForOf"],[1,"update"],[1,"text"],[1,"actions","margin-s-top"],[1,"initiate","bordered","rounded"],["svgIcon","pop-out",1,"icon-s","margin-left"],["mat-button","","target","_blank",3,"href"]],template:function(a,b){a&1&&R(0,vUa,31,13,"div",0);a&2&&G("ngIf",null==b.changelistWithId?
null:b.changelistWithId.changelist)},dependencies:[Su,Tu,yy,zy,jz,NL,PA,NA,OA],styles:[".container[_ngcontent-%COMP%]{padding:8px;margin-bottom:4px}.container   .d-comfort[_nghost-%COMP%]   .container[_ngcontent-%COMP%], .d-comfort   [_nghost-%COMP%]   .container[_ngcontent-%COMP%]{padding:16px;margin-bottom:8px}.header[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;gap:8px;border-bottom:2px solid gray;padding-bottom:8px;margin-bottom:8px}.header   .d-comfort[_nghost-%COMP%]   .header[_ngcontent-%COMP%], .d-comfort   [_nghost-%COMP%]   .header[_ngcontent-%COMP%]{gap:16px}.header[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:30px;width:30px}.header   .logo   img   .d-comfort[_nghost-%COMP%]   .header[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%], .d-comfort   [_nghost-%COMP%]   .header[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:40px;width:40px}.header[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center}[_nghost-%COMP%]     .bv2-profile-avatar .user-avatar img, [_nghost-%COMP%]     .bv2-profile-avatar img.user-avatar{height:32px;width:32px}[_nghost-%COMP%]     .comment .bv2-profile-avatar img.user-avatar{height:24px;width:24px}.update[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-ms-flex-align:start;align-items:flex-start;padding:8px;gap:8px}.update   .d-comfort[_nghost-%COMP%]   .update[_ngcontent-%COMP%], .d-comfort   [_nghost-%COMP%]   .update[_ngcontent-%COMP%]{padding:16px;gap:16px}.update[_ngcontent-%COMP%]   .avatar[_ngcontent-%COMP%], .update[_ngcontent-%COMP%]   .avatar[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:32px;width:32px}.update[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-ms-flex:1;flex:1;width:90%;overflow-wrap:anywhere}.update[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]:first-child{font-style:italic}.update[_ngcontent-%COMP%]   .metadata[_ngcontent-%COMP%]{font-weight:700}.actions[_ngcontent-%COMP%]   .initiate[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.subtle-link[_ngcontent-%COMP%]{cursor:pointer}\n/*# sourceMappingURL=card_common.css.map */",
".header.critique[_ngcontent-%COMP%]{border-bottom:2px solid #1e8e3e}\n/*# sourceMappingURL=changelist_activity_card.css.map */"]});var jV=function(a){this.bFocus=!0;this.nativeElement=a.nativeElement};jV.prototype.ngOnInit=function(){this.bFocus&&this.nativeElement.focus()};jV.prototype.ngOnChanges=function(){this.bFocus&&this.nativeElement.focus()};jV.\u0275fac=function(a){return new (a||jV)(D(fd))};jV.\u0275dir=Cc({type:jV,selectors:[["","bFocus",""]],inputs:{bFocus:"bFocus"},features:[Mc]});var kV=function(){};kV.\u0275fac=function(a){return new (a||kV)};kV.\u0275mod=Bc({type:kV});kV.\u0275inj=oc({});var lV=function(a){this.currentUser=a;this.headerOnly=!1;this.STATUS_TERSE=bF;this.emailToUser=Yg;this.ReactionType=Wcc;this.IssueStatus=bdc;this.toIssuePriority=ck;this.showCommentBox=new Map};f=lV.prototype;f.convertIssueStatusStrToTag=function(a){return Zh[a]};f.getClNumber=function(a){var b,c,d;a=null!=(d=null==(b=a.unlinkifiedComment)?void 0:null==(c=b.match(/Change (\d+)/))?void 0:c[1])?d:"0";return Number(a)};f.getUserEmailIfAvailable=function(a){return Ug(a.userPerformingActionUser)};
f.clAuthorToUser=function(a){return{emailAddress:rk(a)+"@google.com"}};f.clAuthorToEmailAddress=function(a){return rk(a)+"@google.com"};f.clEventToClDescription=function(a){var b,c;return null!=(c=null==(b=a.unlinkifiedComment)?void 0:b.split("\n")[2])?c:""};f.getPreviousDiffValue=function(a,b){var c;return null==(c=[].concat(Jc(a.preDiffs),Jc(a.postDiffs)).find(function(d){return d.name===b}))?void 0:c.oldValue};
f.getNewDiffValue=function(a,b){var c;return null==(c=[].concat(Jc(a.preDiffs),Jc(a.postDiffs)).find(function(d){return d.name===b}))?void 0:c.newValue};lV.\u0275fac=function(a){return new (a||lV)(D(pI))};
lV.\u0275cmp=zc({type:lV,selectors:[["b-issue-activity-card"]],inputs:{issueWithEvents:"issueWithEvents",headerOnly:"headerOnly"},decls:4,vars:1,consts:[[1,"container","carded","bg-main"],[4,"ngIf"],["loading",""],[1,"header","buganizer"],[1,"logo"],["alt","","src","https://www.gstatic.com/buganizer/img/v3/logo_light.svg",1,"user-avatar","material","robo-avatar","ng-star-inserted"],[1,"text","line-clamp-3","break-word"],[1,"first-row","heading-xs"],[1,"subtle-link",3,"href"],[1,"second-row","type-xs"],
[3,"issuePriority"],[3,"ngSwitch",4,"ngIf"],[1,"menu"],["mat-icon-button","","aria-label","Show menu for this artifact",1,"gmat-button",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical"],["artifactMenu","matMenu"],["mat-menu-item",""],[4,"ngIf","ngIfElse"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"model"],["class","show-updates",4,"ngIf"],["class","updates",4,"ngIf"],["class","actions",4,"ngIf"],[1,"show-updates"],["mat-button","","aria-label","Show recent updates",1,"small",
3,"click"],["svgIcon","arrow-down",1,"icon-s"],[1,"updates"],[1,"type-m"],["mat-icon-button","","aria-label","Hide recent updates",1,"small",3,"click"],["svgIcon","arrow-up",1,"icon-s"],["class","update",4,"ngFor","ngForOf"],[1,"update"],[1,"avatar"],[1,"bv2-profile-avatar",3,"email"],[1,"text","line-clamp-3"],[1,"type-s","line-clamp-2",3,"title"],[1,"metadata","type-xs","margin-s-top"],["mode","relativepast",3,"timestamp"],["role","button",1,"subtle-link",3,"click"],[1,"type-s","line-clamp-2"],[3,
"changelistId"],[1,"actions"],["class","initiate bordered rounded",4,"ngIf"],["class","comment bordered rounded padded-s",4,"ngIf"],[1,"initiate","bordered","rounded"],["svgIcon","add_circle_outline_24px",1,"icon-s","margin-left"],["mat-button","",1,"text","line-clamp-3",3,"click"],[1,"comment","bordered","rounded","padded-s"],["matInput","","aria-label","Add a comment","placeholder","Add a comment...",1,"margin-s-left",3,"bFocus"],["mat-icon-button","","matTooltip","Post comment",1,"gmat-button"],
["svgIcon","check_circle_filled_24px",1,"icon"],["mat-icon-button","","matTooltip","Discard comment",1,"gmat-button",3,"click"],["svgIcon","close",1,"icon"],["mat-icon-button","","matTooltip","Edit comment in issue details page",1,"gmat-button"],["svgIcon","pop-out",1,"icon"]],template:function(a,b){a&1&&(H(0,"div",0),R(1,TUa,23,11,"ng-container",1),R(2,UUa,1,0,"ng-template",null,2,of),J());a&2&&(C(1),G("ngIf",null==b.issueWithEvents?null:b.issueWithEvents.issue))},dependencies:[Su,Tu,Uu,Vu,Wu,yy,
jz,Yy,az,PA,NA,OA,XA,ML,vI,vK,NL,SL,jV,BK,Zu],styles:[".container[_ngcontent-%COMP%]{padding:8px;margin-bottom:4px}.container   .d-comfort[_nghost-%COMP%]   .container[_ngcontent-%COMP%], .d-comfort   [_nghost-%COMP%]   .container[_ngcontent-%COMP%]{padding:16px;margin-bottom:8px}.header[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;gap:8px;border-bottom:2px solid gray;padding-bottom:8px;margin-bottom:8px}.header   .d-comfort[_nghost-%COMP%]   .header[_ngcontent-%COMP%], .d-comfort   [_nghost-%COMP%]   .header[_ngcontent-%COMP%]{gap:16px}.header[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:30px;width:30px}.header   .logo   img   .d-comfort[_nghost-%COMP%]   .header[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%], .d-comfort   [_nghost-%COMP%]   .header[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:40px;width:40px}.header[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center}[_nghost-%COMP%]     .bv2-profile-avatar .user-avatar img, [_nghost-%COMP%]     .bv2-profile-avatar img.user-avatar{height:32px;width:32px}[_nghost-%COMP%]     .comment .bv2-profile-avatar img.user-avatar{height:24px;width:24px}.update[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-ms-flex-align:start;align-items:flex-start;padding:8px;gap:8px}.update   .d-comfort[_nghost-%COMP%]   .update[_ngcontent-%COMP%], .d-comfort   [_nghost-%COMP%]   .update[_ngcontent-%COMP%]{padding:16px;gap:16px}.update[_ngcontent-%COMP%]   .avatar[_ngcontent-%COMP%], .update[_ngcontent-%COMP%]   .avatar[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:32px;width:32px}.update[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-ms-flex:1;flex:1;width:90%;overflow-wrap:anywhere}.update[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]:first-child{font-style:italic}.update[_ngcontent-%COMP%]   .metadata[_ngcontent-%COMP%]{font-weight:700}.actions[_ngcontent-%COMP%]   .initiate[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.subtle-link[_ngcontent-%COMP%]{cursor:pointer}\n/*# sourceMappingURL=card_common.css.map */",
".header.buganizer[_ngcontent-%COMP%]{border-bottom:2px solid #678390}.actions[_ngcontent-%COMP%]   .comment[_ngcontent-%COMP%], .actions[_ngcontent-%COMP%]   .initiate[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.actions[_ngcontent-%COMP%]   .comment[_ngcontent-%COMP%]   mat-form-field[_ngcontent-%COMP%]{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-ms-flex:1;flex:1;margin-left:8px}.actions[_ngcontent-%COMP%]   .comment[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]{min-height:45px}\n/*# sourceMappingURL=issue_activity_card.css.map */"],
changeDetection:0});var HMc={QA:124156,NIGHTLY:190923,PROD:190923};var mV=function(a,b,c,d,e,g){kE.call(this);var h=this;this.componentApi=b;this.appEvents=e;this.activeSession=g;this.components=a.get("components-second-level-cache")||a.create("components-second-level-cache",{capacity:25});this.subscriptions.add(this.appEvents.componentModified.subscribe(function(l){h.components.removeAll();d.invalidate(l)}));this.componentGetter=c.adapt(function(l){var q=ra(l);Haa(q);return h.componentApi.query({id:q}).then(function(v){var y={};v=k(v);for(var B=v.next();!B.done;B=
v.next())(B=B.value)&&(y[B.componentId]=B);return l.map(function(I){return y[I]||null})})})};V(mV,kE);mV.\u0275dir=kE.\u0275dir;f=mV.prototype;f.get=function(a){var b=this.components.get(String(a));if(null!=b)return b;b=this.componentGetter.get(a).then(function(c){return null!=c?c:Promise.reject({data:{message:"Could not load details for component "+a}})});return this.components.put(String(a),b)};
f.create=function(a){var b=this;return this.componentApi.create(a).then(function(c){b.appEvents.componentModified.next(c.componentId);return c})};f.update=function(a){var b=this;return this.componentApi.update(a).then(function(c){b.appEvents.componentModified.next(c.componentId);return c})};f.move=function(a,b){var c=this;return this.componentApi.move(a,b).then(function(d){c.appEvents.componentModified.next(d.componentId);return d})};
f.updateSlo=function(a,b){var c=this;return this.componentApi.updateSlo(a,b).then(function(d){c.appEvents.componentModified.next(d.componentId);return d})};f.updateTeam=function(a,b){var c=this;return this.componentApi.updateTeam(a,b).then(function(d){c.appEvents.componentModified.next(d.componentId);return d})};f.getChildren=function(a,b,c){return this.componentApi.getChildren(a,void 0===b?!1:b,c)};f.getDescendants=function(a){return this.componentApi.getDescendants(a)};
f.getUncached=function(a,b){b=void 0===b?!1:b;this.components.remove(String(a));var c={};b&&(c.checkEditAccess=!0);return this.componentApi.fetchComponent(a,c)};f.search=function(a,b){var c={query:a};if(void 0===b?0:b)c.includearchived=!0;return IMc(this,a,this.componentApi.query(c))};
var IMc=function(a,b,c){if(b.match(/^\s*android\s*$/i)){var d=HMc[a.activeSession.getEnvironmentType()];if(d)return Ql({publicComponent:a.get(d),rest:c}).then(function(e){var g=[e.publicComponent];e=k(e.rest);for(var h=e.next();!h.done;h=e.next())h=h.value,h.componentId!==d&&g.push(h);return g})}return c};
mV.prototype.bulkLoad=function(a){var b=this,c=a.filter(function(g){return!b.components.get(String(g))});Haa(c);if(c.length){a=this.componentApi.query({id:c}).then(function(g){var h={};g=k(g);for(var l=g.next();!l.done;l=g.next())(l=l.value)&&(h[l.componentId]=l);return h});var d={};c=k(c);for(var e=c.next();!e.done;d={$jscomp$loop$prop$id$2337:d.$jscomp$loop$prop$id$2337},e=c.next())d.$jscomp$loop$prop$id$2337=e.value,this.components.put(String(d.$jscomp$loop$prop$id$2337),a.then(function(g){return function(h){return h[g.$jscomp$loop$prop$id$2337]?
h[g.$jscomp$loop$prop$id$2337]:Promise.reject({data:{message:"Could not load details for component "+g.$jscomp$loop$prop$id$2337}})}}(d)))}};mV.\u0275fac=function(a){return new (a||mV)(w(XG),w(Xjc),w(FF),w(xF),w(cG),w(rp))};mV.\u0275prov=nc({token:mV,factory:mV.\u0275fac,providedIn:"root"});var nV=function(){this.showFolderSpecialIcon=!1;this.mode="default";this.query="";this.selectComponentId=new tu;this.expandComponent=new tu;this.goBack=new tu};nV.prototype.ngOnInit=function(){};nV.prototype.expand=function(a,b){b.preventDefault();b.stopPropagation();this.expandComponent.emit(a)};nV.prototype.back=function(a){a.preventDefault();a.stopPropagation();this.goBack.emit()};nV.\u0275fac=function(a){return new (a||nV)};
nV.\u0275cmp=zc({type:nV,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),L(1,1),R(2,VUa,2,0,"ng-container",
2),R(3,WUa,3,0,"ng-container",2),R(4,XUa,3,3,"ng-container",3),M(),H(5,"div",4)(6,"span",5),R(7,bVa,2,1,"ng-container",6),R(8,dVa,1,1,"ng-template",null,7,of),R(10,eVa,2,0,"span",8),J(),K(11,"b-access-level-indicator",9)(12,"b-tracker-chip-smart",10),J()());if(a&2){var c=Se(9);C(1);G("ngSwitch",b.mode);C(1);G("ngSwitchCase","recent");C(1);G("ngSwitchCase","tree");C(4);G("ngIf","leaf"!==b.mode)("ngIfElse",c);C(3);G("ngIf",b.componentOption.archived);C(1);G("accessLevel",null==b.componentOption.accessLimit?
null:b.componentOption.accessLimit.accessLevel)("labelOnlyMode",!0);C(1);G("trackerId",b.componentOption.trackerId)("showHovercard",!1)}},dependencies:[Su,Tu,Uu,Vu,Wu,yy,jz,XA,OK,HO,DJ,Oqc],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 oV=function(a,b,c,d,e,g,h){var l=this;this.userApi=a;this.componentActions=b;this.teamsService=c;this.analytics=d;this.destroyed$=e;this.config=g;this.currentTracker=h;this.includeArchived=!1;this.searchQuery$=new F.BehaviorSubject("");this.debouncedSearchQuery$=this.searchQuery$.pipe(de(250));this.state$=new F.BehaviorSubject("default");this.listUpdated$=new F.Subject;this.componentsLoading=this.teamsLoading=!1;this.teamScope$=new F.BehaviorSubject(void 0);this.componentOptions=[];this.childTeamsMap=
new Map;this.componentCountMap=new Map;this.recentComponents=[];this.myTeams$=new F.BehaviorSubject([]);this.showAllTeams$=new F.BehaviorSubject(!1);this.showAllTeamsDistinct$=this.showAllTeams$.pipe(fe());this.teamOptions$=new F.BehaviorSubject([]);this.filteredTeamOptions$=(0,F.combineLatest)([this.teamOptions$,this.showAllTeamsDistinct$]).pipe(E(function(q){q=k(q);var v=q.next().value;return q.next().value?v:v.slice(0,5)}));this.hasHiddenTeams$=(0,F.combineLatest)([this.teamOptions$,this.showAllTeamsDistinct$]).pipe(E(function(q){var v=
k(q);q=v.next().value;v=v.next().value;return 5<q.length&&!v}));this.newChildTeams$=new F.BehaviorSubject([]);this.teamsDisplayed$=(0,F.merge)(this.myTeams$,this.teamOptions$,this.newChildTeams$,this.teamScope$.pipe(E(function(q){return q?[q]:[]}))).pipe(E(function(q){return q.map(function(v){return v.id})}));this.unseenTeamChildTeamsMap$=this.teamsDisplayed$.pipe(E(function(q){return q.filter(function(v){return!l.childTeamsMap.has(v)})}),Zd(function(q){return 0<q.length}),pe(function(q){return l.teamsService.getChildTeams(q)}),
E(iVa));this.unseenTeamComponentCountMap$=this.teamsDisplayed$.pipe(E(function(q){return q.filter(function(v){return!l.componentCountMap.has(v)})}),Zd(function(q){return 0<q.length}),pe(function(q){return Nnc(l.teamsService,q)}));this.componentIdSelected$=new F.ReplaySubject(1);this.lastProcessedIndex=-1;this.requestIndex=0};
oV.prototype.init=function(a){var b=this;a=void 0===a?!1:a;JMc(this);(0,F.combineLatest)([this.debouncedSearchQuery$.pipe(zka(a?1:0)),this.state$]).pipe(qe(this.destroyed$)).subscribe(function(c){var d=k(c);c=d.next().value;d=d.next().value;b.showAllTeams$.next(!1);"default"===d?c?b.state$.next("global"):(b.componentOptions=[],b.teamOptions$.next([]),b.listUpdated$.next()):"global"===d?c?(b.includeTeamData()&&KMc(b,c),LMc(b,c)):b.state$.next("default"):"team_scope"===d?b.teamScope$.value&&(b.teamOptions$.next([]),
LMc(b,"teamid:"+b.teamScope$.value.id+" "+c)):"component_scope"===d&&b.componentScope&&MMc(b,b.componentScope.id)});this.debouncedSearchQuery$.pipe(se(this.state$),qe(this.destroyed$)).subscribe(function(c){c=k(c);var d=c.next().value;"component_scope"===c.next().value&&b.state$.next(d?"global":"default")});this.unseenTeamChildTeamsMap$.pipe(qe(this.destroyed$)).subscribe(function(c){c=k(c.entries());for(var d=c.next();!d.done;d=c.next()){var e=k(d.value);d=e.next().value;e=e.next().value;b.childTeamsMap.set(d,
e)}});this.unseenTeamComponentCountMap$.pipe(qe(this.destroyed$)).subscribe(function(c){c=k(c.entries());for(var d=c.next();!d.done;d=c.next()){var e=k(d.value);d=e.next().value;e=e.next().value;b.componentCountMap.set(d,e)}})};oV.prototype.getTrackerId=function(){return this.currentTracker.getTrackerId()};oV.prototype.includeTeamData=function(){return this.config.includeTeamData&&!this.currentTracker.inTracker};
var JMc=function(a){a.componentsLoading=!0;a.userApi.getRecentComponents().then(function(b){b=b.filter(function(c){return a.filterTrackerComponents(c)});b=NMc(a,b);a.recentComponents=b;a.listUpdated$.next()}).finally(function(){a.componentsLoading=!1});a.includeTeamData()&&(a.teamsLoading=!0,$H(a.teamsService,"").pipe(qe(a.destroyed$)).subscribe(function(b){a.myTeams$.next(b.map(fVa));a.listUpdated$.next();a.teamsLoading=!1},function(){a.teamsLoading=!1}))};
oV.prototype.filterTrackerComponents=function(a){return!this.currentTracker.inTracker||a.trackerId===this.getTrackerId()};oV.prototype.selectOption=function(a){"component"===a.type?wWa(this,a.id):"team"===a.type?CVa(this,a):console.warn("invalid option selected")};
var wWa=function(a,b){var c=OMc(a);a.analytics.trackEvent(Yl.COMPONENT_PICKER,"autocomplete-select",c);a.componentIdSelected$.next(b);a.state$.next("global")},OMc=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""};
oV.prototype.expandComponent=function(a){this.componentScope=a;this.state$.next("component_scope")};
var jWa=function(a,b){a.componentActions.get(b).then(function(c){var d=dp(a.currentTracker,c.componentPathInfo);a.componentScope=hVa(c,d);a.state$.next("component_scope")})},iWa=function(a){a.componentScope=void 0;a.searchQuery$.value?a.state$.next("global"):a.state$.next("default")},CVa=function(a,b){a.teamScope$.next(Object.assign({},b,{expanded:!1}));a.state$.next("team_scope");a.searchQuery$.next("");b.pathNames||DVa(a,b.id)},DVa=function(a,b){a.teamsLoading=!0;$H(a.teamsService,b).pipe(qe(a.destroyed$)).subscribe(function(c){c=
c.map(fVa);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})},PMc=function(a){if(a.teamScope$.value&&a.teamScope$.value.pathIds&&!(2>a.teamScope$.value.pathIds.length)){var b=a.teamScope$.value.pathIds;DVa(a,b[b.length-2])}};oV.prototype.getChildTeams=function(a){var b;return null!=(b=this.childTeamsMap.get(a))?b:[]};
oV.prototype.hasNoComponent=function(a){return this.componentCountMap.has(a)?0===this.componentCountMap.get(a):!1};
var ZVa=function(a,b){b.expanded=!1;a.listUpdated$.next()},$Va=function(a,b){b.expanded=!0;a.listUpdated$.next();a.newChildTeams$.next(a.getChildTeams(b.id))},cWa=function(a){a.teamScope$.next(void 0);a.searchQuery$.next("");a.state$.next("default")},KMc=function(a,b){1<b.length&&(a.teamsLoading=!0,$H(a.teamsService,b).pipe(qe(a.destroyed$)).subscribe(function(c){a.teamOptions$.next(c.map(fVa));a.teamsLoading=!1;a.listUpdated$.next()},function(){a.teamsLoading=!1}))},LMc=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=NMc(a,d));a.listUpdated$.next()}).finally(function(){a.componentsLoading=!1})}},MMc=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=NMc(a,d),a.listUpdated$.next())}).finally(function(){a.componentsLoading=!1})},NMc=
function(a,b){return b.map(function(c){var d=dp(a.currentTracker,c.componentPathInfo);return hVa(c,d)})};var QMc=0,pV=function(a,b){this.changeDetectorRef=a;this.elementRef=b;this.active=!1;this.id="b-component-picker-option-"+QMc;QMc+=1};pV.prototype.setActiveStyles=function(){this.active=!0;this.changeDetectorRef.markForCheck()};pV.prototype.setInactiveStyles=function(){this.active=!1;this.changeDetectorRef.markForCheck()};pV.\u0275fac=function(a){return new (a||pV)(D(Lu),D(fd))};
pV.\u0275dir=Cc({type:pV,selectors:[["","listOption",""]],hostVars:3,hostBindings:function(a,b){a&2&&(Me("id",b.id),Ie("active",b.active))},inputs:{data:"data",listOrder:"listOrder"}});var qV=function(){this.query="";this.hasNoComponent=this.compact=this.allowSegmentSelection=!1;this.selectTeamId=new tu};qV.prototype.getLogoUrl=function(){return"https://moma-teams-photos.corp.google.com/logo/"+this.teamOption.id};qV.prototype.ngOnInit=function(){};qV.\u0275fac=function(a){return new (a||qV)};
qV.\u0275cmp=zc({type:qV,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),R(1,jVa,1,1,"img",1),H(2,"div",2),R(3,lVa,4,5,"div",3),R(4,tVa,2,1,"div",4),J()());a&2&&(Ie("no-component",b.hasNoComponent)("compact",b.compact),C(1),G("ngIf",!b.compact),C(2),G("ngIf",!b.compact),C(1),G("ngIf",b.teamOption.pathNames&&b.teamOption.pathNames.length))},dependencies:[Su,Tu,DJ],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 RMc=new Hc("MAT_PROGRESS_BAR_DEFAULT_OPTIONS"),SMc=new Hc("mat-progress-bar-location",{providedIn:"root",factory:uVa});hg(function(a){this._elementRef=a},"primary");var TMc=["primaryValueBar"],UMc=hg(function(a){this._elementRef=a},"primary"),VMc=0,rV=function(a,b,c,d,e,g){a=UMc.call(this,a)||this;a._ngZone=b;a._animationMode=c;a._changeDetectorRef=g;a._isNoopAnimation=!1;a._value=0;a._bufferValue=0;a.animationEnd=new tu;a._animationEndSubscription=F.Subscription.EMPTY;a.mode="determinate";a.progressbarId="mat-progress-bar-"+VMc++;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};V(rV,UMc);rV.prototype._primaryTransform=function(){return{transform:"scale3d("+this.value/100+", 1, 1)"}};rV.prototype._bufferTransform=function(){return"buffer"===this.mode?{transform:"scale3d("+this.bufferValue/100+", 1, 1)"}:null};
rV.prototype.ngAfterViewInit=function(){var a=this;this._ngZone.runOutsideAngular(function(){var b=a._primaryValueBar.nativeElement;a._animationEndSubscription=(0,F.fromEvent)(b,"transitionend").pipe(Zd(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})}))})})};rV.prototype.ngOnDestroy=function(){this._animationEndSubscription.unsubscribe()};
gg.Object.defineProperties(rV.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this._value},set:function(a){this._value=Math.max(0,Math.min(100,Hf(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()}}});
rV.\u0275fac=function(a){return new (a||rV)(D(fd),D(te),D(Tt,8),D(SMc,8),D(RMc,8),D(Lu))};
rV.\u0275cmp=zc({type:rV,selectors:[["mat-progress-bar"]],viewQuery:function(a,b){a&1&&jf(TMc,5);if(a&2){var c;hf(c=lf())&&(b._primaryValueBar=c.first)}},hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-progress-bar"],hostVars:4,hostBindings:function(a,b){a&2&&(Ae("aria-valuenow","indeterminate"===b.mode||"query"===b.mode?null:b.value)("mode",b.mode),Ie("_mat-animation-noopable",b._isNoopAnimation))},inputs:{color:"color",value:"value",bufferValue:"bufferValue",
mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[xe],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),Xc(),H(1,"svg",1)(2,"defs")(3,"pattern",2),K(4,"circle",3),J()(),K(5,"rect",4),J(),Yc(),K(6,"div",5)(7,"div",6,7)(9,"div",8),J());a&2&&(C(3),G("id",b.progressbarId),C(2),Ae("fill",b._rectangleFillValue),C(1),G("ngStyle",b._bufferTransform()),C(1),G("ngStyle",b._primaryTransform()))},dependencies:[Xu],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 WMc=["container"],XMc=["inputBox"],YMc=["dropdownTemplate"],ZMc=["dropdown"],IVa=function(a){return{mode:"recent",$implicit:a}},NVa=function(a){return[a]},MVa=function(a,b){return{team:a,level:0,order:b}},TVa=function(a){return{mode:"default",$implicit:a}},WVa=function(a){return[0,a]},dWa=function(){return[0]},gWa=function(a,b){return{mode:"default",$implicit:a,teamScope:b}},mWa=function(a){return{mode:"leaf",$implicit:a}},rWa=function(a,b,c){return{team:a,level:b,order:c}},$Mc=[{originX:"start",
originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],sV=function(a,b,c,d,e,g,h,l,q,v,y){kE.call(this);this.overlay=a;this.viewContainerRef=b;this.userApi=c;this.componentActions=d;this.teamsService=e;this.userAccess=g;this.paths=h;this.analytics=l;this.activeSession=q;this.currentTracker=v;this.cdr=y;this.placeholder="";this.isRequired=!1;this.ariaLabel="";this.checkAdminAccess=!1;this.accessCheckComplete=new tu;this.shouldFocus=!1;this.touched=
new tu;this.selectedComponentChange=new tu;this.dropdownClosed=new tu;this.checkingAccess=this.hasAccess=!1;this.isExternal=this.activeSession.isExternalSession();this.searchState=new oV(this.userApi,this.componentActions,this.teamsService,this.analytics,this.destroyed$,{includeTeamData:!this.isExternal},this.currentTracker);this.componentLoading=this.isDropdownOpen=!1};V(sV,kE);sV.\u0275dir=kE.\u0275dir;
sV.prototype.ngOnInit=function(){var a=this;this.searchState.init(!!this.selectedComponent);this.searchState.componentIdSelected$.pipe(qe(this.destroyed$)).subscribe(function(b){a.componentLoading=!0;a.componentActions.get(b).then(function(c){a.selectedComponent=c;aNc(a);a.componentLoading=!1;a.close(!0);a.selectedComponentChange.emit(c)})},function(){a.componentLoading=!1});(0,F.merge)(this.searchState.debouncedSearchQuery$,this.searchState.state$).pipe(qe(this.destroyed$)).subscribe(function(){a.clearActiveItem()})};
sV.prototype.isLoading=function(){return this.componentLoading||this.searchState.componentsLoading||this.searchState.teamsLoading};
var aNc=function(a){if(a.selectedComponent){var b=dp(a.currentTracker,a.selectedComponent.componentPathInfo);b=hVa(a.selectedComponent,b);a.searchState.searchQuery$.next(b.componentPath.length?b.componentPath[b.componentPath.length-1].pathText:"")}else a.searchState.searchQuery$.next("")},bNc=function(a){if(a.dropdown&&a.keyManager&&a.keyManager.activeItem){var b=a.keyManager.activeItem.elementRef.nativeElement,c=b.offsetTop;b=b.offsetHeight;var d=a.dropdown.nativeElement.scrollTop,e=a.dropdown.nativeElement.offsetHeight;
a.dropdown.nativeElement.scrollTop=c<d?c:c+b>d+e?Math.max(0,c-e+b):d}};f=sV.prototype;f.ngOnChanges=function(a){a.selectedComponent&&(aNc(this),this.checkAdminAccess&&this.selectedComponent&&cNc(this,this.selectedComponent))};f.ngOnDestroy=function(){this.close();kE.prototype.ngOnDestroy.call(this)};
f.ngAfterViewInit=function(){var a=this;this.keyManager=jx(kx(new ox(this.listOptions)));this.searchState.listUpdated$.pipe(qe(this.destroyed$)).subscribe(function(){a.cdr.markForCheck()});this.listOptions.changes.pipe(qe(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(GWa);b=[].concat(Jc(c),Jc(b));a.listOptions.reset(b);var d;if(null==(d=a.keyManager)?0:d.activeItem)d=b.indexOf(a.keyManager.activeItem),
-1<d&&d!==a.keyManager.activeItemIndex&&a.keyManager.setActiveItem(d)});this.shouldFocus&&setTimeout(function(){a.inputBox.nativeElement.focus()})};f.open=function(){this.isDropdownOpen||(this.isDropdownOpen=!0,this.dropdownOverlayRef=this.createOverlay(),this.attach())};
f.close=function(a){a=void 0===a?!1:a;this.isDropdownOpen&&this.dropdownOverlayRef&&(this.searchState.searchQuery$.value||(this.selectedComponent=void 0,this.selectedComponentChange.emit(void 0)),"team_scope"===this.searchState.state$.value&&cWa(this.searchState),this.isDropdownOpen=!1,this.dropdownOverlayRef.dispose(),this.dropdownOverlayRef=void 0,this.clearActiveItem(),this.dropdownClosed.emit(),this.analytics.trackEvent(Yl.COMPONENT_PICKER,"close",a?"with-selection":"without-selection"))};
f.clearQuery=function(){this.searchState.searchQuery$.next("");this.isDropdownOpen||this.inputBox.nativeElement.focus()};var dNc=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};
sV.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),bNc(this)):(this.open(),setTimeout(function(){var d;null==(d=b.keyManager)||F0b(d);bNc(b)}));break;case "ArrowDown":this.isDropdownOpen?(this.keyManager.onKeydown(a),bNc(this)):(this.open(),setTimeout(function(){var d;null!=(d=b.keyManager)&&d._setActiveItemByIndex(0,1);bNc(b)}));break;case "Enter":this.keyManager.activeItem&&
(this.searchState.teamScope$.value===this.keyManager.activeItem.data?cWa(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(),$Va(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?ZVa(this.searchState,this.keyManager.activeItem.data):PMc(this.searchState));"component_scope"===this.searchState.state$.value&&(a.preventDefault(),iWa(this.searchState));break;case "Backspace":case "Delete":this.keyManager.activeItem&&this.searchState.teamScope$.value===this.keyManager.activeItem.data&&(cWa(this.searchState),a.preventDefault());break;default:this.touched.emit(),
this.isDropdownOpen||this.open()}};var Ym=function(a){a.preventDefault();a.stopPropagation()},cNc=function(a,b){a.checkingAccess=!0;a.hasAccess=!1;JF(a.userAccess,"admin","components/"+b.componentId).then(function(c){a.checkingAccess=!1;a.accessCheckComplete.emit(c);a.hasAccess=c})};f=sV.prototype;
f.createOverlay=function(){var a=this.getPositionStrategy(),b=this.getScrollStrategy(),c;return this.overlay.create(new Gx({positionStrategy:a,scrollStrategy:b,panelClass:["b-team-component-picker-dropdown","gmat-elevation-z3"],width:null==(c=this.container.nativeElement)?void 0:c.offsetWidth}))};f.attach=function(){var a=new dw(this.dropdownTemplateRef,this.viewContainerRef),b;null==(b=this.dropdownOverlayRef)||b.attach(a);var c;null==(c=this.dropdownOverlayRef)||c.updatePosition()};
f.getPositionStrategy=function(){return Jx(b1b(Lx(Nx(this.overlay.position(),this.container),!1),!1),$Mc)};f.getScrollStrategy=function(){return this.overlay.scrollStrategies.reposition()};f.clearActiveItem=function(){this.keyManager&&this.keyManager.activeItem&&(this.keyManager.setActiveItem(-1),this.dropdown&&(this.dropdown.nativeElement.scrollTop=0))};gg.Object.defineProperties(sV.prototype,{includeArchived:{configurable:!0,enumerable:!0,set:function(a){this.searchState.includeArchived=a}}});
sV.\u0275fac=function(a){return new (a||sV)(D(Ox),D(ff),D(hH),D(mV),D(YH),D(IF),D(OG),D(AH),D(rp),D(LK),D(Lu))};
sV.\u0275cmp=zc({type:sV,selectors:[["b-team-component-picker"]],viewQuery:function(a,b){a&1&&(jf(WMc,7),jf(XMc,7),jf(YMc,7),jf(ZMc,5),jf(pV,5));if(a&2){var c;hf(c=lf())&&(b.container=c.first);hf(c=lf())&&(b.inputBox=c.first);hf(c=lf())&&(b.dropdownTemplateRef=c.first);hf(c=lf())&&(b.dropdown=c.first);hf(c=lf())&&(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:[xe,Mc],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),O("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()}),T(4,"async"),J(),R(5,vVa,2,0,"button",4),J(),R(6,zVa,4,2,"div",5),R(7,oWa,11,8,"ng-template",null,6,of),R(9,uWa,5,11,"ng-template",null,
7,of),R(11,FWa,3,2,"ng-template",null,8,of));if(a&2){var c=Se(3);C(2);G("ngModel",U(4,8,b.searchState.searchQuery$))("placeholder",b.placeholder)("required",b.isRequired);Ae("aria-label",b.ariaLabel+(b.selectedComponent?" Component selected. Change.":" Choose component"))("aria-expanded",b.isDropdownOpen)("aria-activedescendant",dNc(b));C(3);G("ngIf",c.value);C(1);G("ngIf",b.checkAdminAccess)}},dependencies:[Su,Tu,Yu,Uu,Vu,Wu,yy,jz,Af,tv,Mv,zv,TL,XA,rV,qV,nV,pV,Zu],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 eNc={ME:0,TEAM:1,COMPONENT:2,HOTLIST:3,SAVEDSEARCH:4,0:"ME",1:"TEAM",2:"COMPONENT",3:"HOTLIST",4:"SAVEDSEARCH"},fNc=new Map([[0,{type:0,display:"My activity",search:{atom:"assignee",value:"me"}}],[2,{type:2,display:"Component",search:{atom:"componentid",value:void 0}}],[3,{type:3,display:"Hotlist",search:{atom:"hotlistid",value:void 0}}]]),gNc=fNc.get(0),tV=function(a){var b=this;this.hotlistFridge=a;this.selectedFilter=gNc;this.isOpen=!1;this.FilterType=eNc;this.filters=fNc;this.selectedComponent=
null;this.isHotlistPanelOpen=!1;this.selectedHotlist=null;this.userHotlistQuery$=new F.BehaviorSubject("");this.userHotlists$=Lmc(this.hotlistFridge);this.displayedHotlists$=this.userHotlistQuery$.pipe(de(200),pe(function(c){c=c.toLowerCase();return b.userHotlists$.pipe(E(function(d){return d.filter(function(e){return e.name.toLowerCase().includes(c)})}))}));this.selected=new tu;this.internalSelectedFilter=Gg(this.selectedFilter);if(a=nH("streamFilterSelectedComponent")())this.selectedComponent=a,
this.filters.get(2).search.value=a.componentId+"+";if(a=nH("streamFilterSelectedHotlist")())this.selectedHotlist=a,this.filters.get(3).search.value=String(a.hotlistId)};tV.prototype.selectComponent=function(a){a&&(Zm("streamFilterSelectedComponent")(a),this.selectedComponent=a,this.filters.get(2).search.value=a.componentId+"+",this.selectedFilter=this.filters.get(2))};
var hNc=function(a){var b=a.selectedFilter.display;switch(a.selectedFilter.type){case 2:if(a.selectedComponent&&a.selectedComponent.componentPathInfo&&a.selectedComponent.componentPathInfo.componentPathName)return b+": "+a.selectedComponent.componentPathInfo.componentPathName[a.selectedComponent.componentPathInfo.componentPathName.length-1];break;case 3:if(a.selectedHotlist)return b+": "+a.selectedHotlist.name}return b};tV.prototype.openMenu=function(){this.isOpen=!0};
tV.prototype.closeMenu=function(){this.selectedFilter||(this.selectedFilter=this.internalSelectedFilter);2!==this.selectedFilter.type&&3!==this.selectedFilter.type||this.selectedFilter.search.value||(this.selectedFilter=this.internalSelectedFilter);this.isOpen=!1};tV.prototype.emitSelection=function(){this.selected.emit(this.selectedFilter);this.closeMenu()};tV.\u0275fac=function(a){return new (a||tV)(D(lH))};
tV.\u0275cmp=zc({type:tV,selectors:[["b-activity-stream-filter"]],inputs:{selectedFilter:"selectedFilter"},outputs:{selected:"selected"},decls:8,vars:5,consts:[["mat-icon-button","","aria-label","Show menu to filter stream","aria-haspopup","true","cdkOverlayOrigin","",1,"gmat-button","large",3,"click"],["trigger","cdkOverlayOrigin"],["svgIcon","filter"],[1,"chippy","rounded"],["cdkConnectedOverlay","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",
"cdkConnectedOverlayPanelClass","filter-stream-menu",3,"cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","detach","backdropClick"],["loading",""],["id","radio-group-label",1,"heading-s"],["aria-labelledby","radio-group-label",1,"radio-group",3,"value","change"],["class","radio-button",3,"checked","value",4,"ngIf"],[4,"ngIf"],[1,"actions","padded","flex-kids-x","justify-flex-end","gap"],["mat-stroked-button","",3,"click"],["mat-flat-button","","color","primary",3,"click"],[1,"radio-button",3,"checked",
"value"],[1,"bv2-search-component-picker","margined",3,"selectedComponent","placeholder","isRequired","selectedComponentChange"],["appearance","outline",1,"stream-filter-hotlist-search","margined"],["autocomplete","off","aria-label","Search hotlists","matInput","","cdkOverlayOrigin","","placeholder","Search starred hotlists",1,"margined",3,"value","input","focus"],["searchHotlistsInput","","hotlistPanelTrigger","cdkOverlayOrigin"],["cdkConnectedOverlay","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass",
"cdk-overlay-transparent-backdrop","cdkConnectedOverlayPanelClass","search-hotlists-menu",3,"cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","detach","backdropClick"],[3,"multiple","selectionChange"],[4,"ngIf","ngIfElse"],[3,"value",4,"ngFor","ngForOf"],[3,"value",4,"ngIf"],[3,"value"]],template:function(a,b){a&1&&(H(0,"button",0,1),O("click",function(){return b.openMenu()}),K(2,"mat-icon",2),J(),H(3,"div",3),S(4),J(),R(5,QWa,15,6,"ng-template",4),O("detach",function(){return b.closeMenu()})("backdropClick",
function(){return b.closeMenu()}),R(6,RWa,1,0,"ng-template",null,5,of));if(a&2){var c=Se(1);Ie("menu-open",b.isOpen);C(4);Te(" ",hNc(b),"\n");C(1);G("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",b.isOpen)}},dependencies:[Su,Tu,yy,jz,Yy,Xy,az,nU,oU,TL,Qx,Px,XM,YM,SL,sV,Zu],styles:["[_nghost-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;gap:8px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}  .filter-stream-menu{box-shadow:0 1px 2px 0 rgba(0,0,0,.3),0 1px 3px 1px rgba(0,0,0,.15);border-radius:4px;background-color:#fff;background-color:var(--background);padding:16px;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;min-width:500px;max-width:18rem;max-height:calc(100vh - 100px);overflow-y:auto}  .search-hotlists-menu{box-shadow:0 1px 2px 0 rgba(0,0,0,.3),0 1px 3px 1px rgba(0,0,0,.15);border-radius:4px;background-color:#fff;background-color:var(--background);max-height:20rem;overflow-y:auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column}  .stream-filter-hotlist-search .mat-form-field-infix{padding:8px 0}  .stream-filter-hotlist-search .mat-form-field-infix input{height:1.25rem}.stream-filter-hotlist-search[_ngcontent-%COMP%]{width:380px}.chippy[_ngcontent-%COMP%]{font-weight:500;color:#185abc;color:var(--selected-text);box-shadow:inset 0 0 0 1px #185abc;box-shadow:inset 0 0 0 1px var(--selected-text);background-color:#d2e3fc;background-color:var(--selected-bg)}.radio-group[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin:15px 0;-webkit-box-align:start;-webkit-align-items:flex-start;-moz-box-align:start;-ms-flex-align:start;align-items:flex-start}.radio-button[_ngcontent-%COMP%]{margin:5px}\n/*# sourceMappingURL=stream_filter.css.map */"]});var ZWa=function(){return[]},iNc={CARD_HEADER_ONLY:0,0:"CARD_HEADER_ONLY"},uV=function(a,b,c,d,e){this.issueFridge=a;this.eventsForIssueFridge=b;this.currentUser=c;this.dateFormatter=d;this.changelistApi=e;this.showCls=!1;this.issuesWithEvents$=(0,F.of)([]);this.changelistsWithIds=(0,F.of)([]);this.loadingCards=!0;this.isSettingsMenuOpen=!1;this.settings=new Map([[0,{id:0,display:"Show card headers only",value:!1}]]);this.SettingType=iNc;a=il("activityStreamHeaderOnly")();this.settings.get(0).value=
null!=a?a:!1;this.selectedFilter=(a=nH("activityStreamSelectedFilter")())?a:gNc;jNc(this)},jNc=function(a){a.loadingCards=!0;a.issuesWithEvents$=a.issueFridge.watchMany({filter:a.selectedFilter.search.atom+":"+a.selectedFilter.search.value+" AND modified:7d",pageSize:25,sort:"modified_time:desc"}).pipe(E(function(b){var c;return null!=(c=b.results)?c:[]}),E(a.buildIssuesWithEvents.bind(a)),re(function(){kNc(a)}))};
uV.prototype.getDayOfYear=function(a){a=void 0===a?new Date:a;var b=new Date(a.getFullYear(),0,0);return Math.floor((a.getTime()-b.getTime()+6E4*(b.getTimezoneOffset()-a.getTimezoneOffset()))/864E5)};var kNc=function(a){setTimeout(function(){a.loadingCards=!1},500)};
uV.prototype.buildIssuesWithEvents=function(a){var b=this,c=[];a.sort(function(e,g){return g.majorModifiedTimeMicros-e.majorModifiedTimeMicros});a=k(a);for(var d=a.next();!d.done;d=a.next())d=d.value,c.push({issue:d,events:this.eventsForIssueFridge.watchOne(d.issueId).pipe(E(function(e){if(e){var g,h=null!=(g=e.events)?g:[];e=e.id;g=[];h=k(h);for(var l=h.next();!l.done;l=h.next())if(l=l.value){var q=b.getInterestingEventType(l);q&&g.push({issueId:e,event:l,eventType:q})}e=g}else e=[];return e}))});
return c};
uV.prototype.getInterestingEventType=function(a){if(!a||a.modifiedDate<Date.now()-12096E5)return null;if(0<a.preDiffs.length||0<a.postDiffs.length){var b=[].concat(Jc(a.preDiffs),Jc(a.postDiffs));b=k(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;if(!c.oldValue&&("priority"===c.name||"status"===c.name))return"newIssue";if("priority"===c.name)return"priority";if("status"===c.name)return pk(a)?"changelistFixed":"status";if("assignee"===c.name)return"assignee";if("statusUpdate"===c.name)return"statusUpdate"}}return pk(a)?"changelist":
ik(a)&&a.isHumanAuthor?"comment":null};uV.\u0275fac=function(a){return new (a||uV)(D(IH),D(pF),D(pI),D(AK),D(IC))};
uV.\u0275cmp=zc({type:uV,selectors:[["b-activity-stream"]],decls:11,vars:5,consts:[[1,"container","padded"],[1,"filters","margin-s-bottom","border-bottom"],[1,"flex",3,"selectedFilter","selected"],["mat-icon-button","","color","primary","aria-label","Refresh the stream",1,"gmat-button",3,"click"],["svgIcon","refresh"],["mat-icon-button","","aria-haspopup","true","cdkOverlayOrigin","","aria-label","Show settings for activity stream",1,"gmat-button",3,"click"],["settingsMenuTrigger","cdkOverlayOrigin"],
["svgIcon","more-settings-vertical"],["cdkConnectedOverlay","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop","cdkConnectedOverlayPanelClass","activity-stream-settings-menu",3,"cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","detach","backdropClick"],["class","card-scroll padded-x",4,"ngIf"],[4,"ngIf"],[3,"value","selected","click"],[1,"card-scroll","padded-x"],[4,"ngFor","ngForOf"],[3,"changelistWithId"],["scrollContainer",""],["class",
"padded centered-inside",4,"ngIf"],["class","carded bg-main margin-bottom the-end",4,"ngIf"],[1,"padded","centered-inside"],[3,"issueWithEvents","headerOnly"],[1,"heading-m","margin-y"],[1,"carded","bg-main","margin-bottom","the-end"],[1,"heading-s"],["mat-stroked-button","","color","primary",3,"click"]],template:function(a,b){a&1&&(H(0,"div",0)(1,"div",1)(2,"b-activity-stream-filter",2),O("selected",function(d){b.selectedFilter=d;Zm("activityStreamSelectedFilter")(d);jNc(b)}),J(),H(3,"button",3),
O("click",function(){return jNc(b)}),K(4,"mat-icon",4),J(),H(5,"button",5,6),O("click",function(){b.isSettingsMenuOpen=!0}),K(7,"mat-icon",7),J(),R(8,TWa,2,1,"ng-template",8),O("detach",function(){b.isSettingsMenuOpen=!1})("backdropClick",function(){b.isSettingsMenuOpen=!1}),J(),R(9,VWa,3,3,"div",9),R(10,bXa,6,5,"div",9),J());if(a&2){var c=Se(6);C(2);G("selectedFilter",b.selectedFilter);C(6);G("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",b.isSettingsMenuOpen);C(1);G("ngIf",b.showCls);
C(1);G("ngIf",!b.showCls)}},dependencies:[Su,Tu,yy,jz,nU,oU,Qx,Px,SL,lV,GMc,tV,Zu],styles:[".card-scroll[_ngcontent-%COMP%]{height:calc(100vh - 175px);overflow-y:scroll}.filters[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;gap:8px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}  .activity-stream-settings-menu{box-shadow:0 1px 2px 0 rgba(0,0,0,.3),0 1px 3px 1px rgba(0,0,0,.15);border-radius:4px;background-color:#fff;background-color:var(--background);max-height:20rem;overflow-y:auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.the-end[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:8px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}\n/*# sourceMappingURL=activity_stream.css.map */"]});var vV=function(a){r.call(this,a)};V(vV,r);vV.prototype.getWorkspaceId=function(){return mh(this,1)};vV.prototype.getClientTimeZone=function(){return W(this,Ph,2)};vV.prototype.toObject=function(){if(null!=this){t(this);var a={workspaceId:mh(this,1),clientTimeZone:pbc(this.getClientTimeZone())}}else a=void 0;return a};vV.prototype.serializeBinary=u([vV,1,Eq,2,X,qbc]);var wV=function(a){r.call(this,a)};V(wV,r);wV.prototype.getTaskList=function(){return yg(this,KB,1)};wV.prototype.addTask=function(a){um(this,1,KB,a)};var lNc=Sb(wV);wV.repeatedFields_=[1];wV.prototype.toObject=function(){if(null!=this){t(this);var a={taskList:Mb(this.getTaskList(),fac)}}else a=void 0;return a};wV.prototype.serializeBinary=u([wV,1,Iq,gac]);var mNc=new YB("/google.internal.devopsconsole.v1.CritiqueTaskService/GetStreamCritiqueTasks",vV,wV,function(a){return a.serialize()},lNc);var pNc=function(){var a=nNc,b=new vV;return a.client_.serverStreaming(a.hostname_+"/$rpc/google.internal.devopsconsole.v1.CritiqueTaskService/GetStreamCritiqueTasks",b,oNc||{},mNc)};var xV=function(a){r.call(this,a)};V(xV,r);xV.prototype.getWorkspaceId=function(){return mh(this,4)};xV.prototype.getClientTimeZone=function(){return W(this,Ph,5)};xV.prototype.toObject=function(){if(null!=this){t(this);var a={oauthToken:mh(this,1),enableDebug:vi(this,2),autoRefresh:vi(this,3),workspaceId:mh(this,4),clientTimeZone:pbc(this.getClientTimeZone())}}else a=void 0;return a};xV.prototype.serializeBinary=u([xV,1,Eq,2,Aq,3,Aq,4,Eq,5,X,qbc]);var qNc=function(a){r.call(this,a)};V(qNc,r);qNc.prototype.toObject=function(){return rNc(this)};var rNc=function(a){if(null!=a)return t(a),{logMessage:mh(a,1),relativeStartMs:Xh(a,2)}},sNc=[qNc,1,Eq,2,jq];qNc.prototype.serializeBinary=u(sNc);var yV=function(a){r.call(this,a)};V(yV,r);f=yV.prototype;f.getName=function(){return mh(this,1)};f.setName=function(a){return mb(this,1,a)};f.addRequest=function(a,b){eb(this,2,a,b)};f.getRequest=function(){return Zp(this,2)};f.getRequestCount=function(){return Cg(this,2,void 0,2).length};f.getResponse=function(a){return Zp(this,4,a)};f.setResponse=function(a){return fb(this,4,a,void 0,Cg)};yV.repeatedFields_=[2,3,4];yV.prototype.toObject=function(){return tNc(this)};
var tNc=function(a){if(null!=a)return t(a),{name:mh(a,1),requestList:p(Cg(a,2)),responseStatusList:p(Cg(a,3)),responseList:p(Cg(a,4)),relativeStartMs:Xh(a,5),latencyMs:Xh(a,6)}},uNc=[yV,1,Eq,2,Dq,3,Dq,4,Dq,5,jq,6,jq];yV.prototype.serializeBinary=u(uNc);var zV=function(a){r.call(this,a)};V(zV,r);zV.repeatedFields_=[1,2];zV.prototype.toObject=function(){return vNc(this)};var vNc=function(a){if(null!=a)return t(a),{rpcInfoList:Mb(yg(a,yV,1),tNc),logInfoList:Mb(yg(a,qNc,2),rNc)}},wNc=[zV,1,Iq,uNc,2,Iq,sNc];zV.prototype.serializeBinary=u(wNc);var AV=function(a){r.call(this,a)};V(AV,r);AV.prototype.getTaskList=function(){return yg(this,KB,1)};AV.prototype.addTask=function(a){um(this,1,KB,a)};var xNc=Sb(AV);AV.repeatedFields_=[1];AV.prototype.toObject=function(){if(null!=this){t(this);var a={taskList:Mb(this.getTaskList(),fac),debugInfo:vNc(W(this,zV,4)),incrementalUpdate:vi(this,5)}}else a=void 0;return a};AV.prototype.serializeBinary=u([AV,1,Iq,gac,4,X,wNc,5,Aq]);var yNc=new YB("/google.internal.devopsconsole.v1.DriveTaskService/GetStreamDriveTasks",xV,AV,function(a){return a.serialize()},xNc);var ANc=function(){var a=zNc,b=new xV;return a.client_.serverStreaming(a.hostname_+"/$rpc/google.internal.devopsconsole.v1.DriveTaskService/GetStreamDriveTasks",b,oNc||{},yNc)};var BNc=new Hc("GMAT_CHECKBOX_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var CNc=function(a){this.options=a};CNc.\u0275fac=function(a){return new (a||CNc)(D(BNc))};CNc.\u0275dir=Cc({type:CNc,selectors:[["mat-checkbox"]],hostVars:2,hostBindings:function(a,b){a&2&&Ie("gmat-mdc-checkbox",!b.options.disableGmatStyle)}});var DNc=new Hc("GMAT_CHIPS_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var BV=function(a){this.options=a};BV.\u0275fac=function(a){return new (a||BV)(D(DNc))};
BV.\u0275dir=Cc({type:BV,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&&Ie("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 ENc=new Hc("mat-chips-default-options"),FNc=new Hc("MatChipAvatar"),GNc=new Hc("MatChipTrailingIcon"),HNc=new Hc("MatChipRemove"),INc=new Hc("MatChip");var JNc=kg(function(){},-1),CV=function(a,b){var c=JNc.call(this)||this;c._elementRef=a;c._parentChip=b;c.isInteractive=!0;c._isPrimary=!0;c._disabled=!1;c._allowFocusWhenDisabled=!1;"BUTTON"===a.nativeElement.nodeName&&a.nativeElement.setAttribute("type","button");return c};V(CV,JNc);f=CV.prototype;f._getDisabledAttribute=function(){return this.disabled&&!this._allowFocusWhenDisabled?"":null};
f._getTabindex=function(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()};f.focus=function(){this._elementRef.nativeElement.focus()};f._handleClick=function(a){!this.disabled&&this.isInteractive&&this._isPrimary&&(a.preventDefault(),this._parentChip._handlePrimaryActionInteraction())};
f._handleKeydown=function(a){13!==a.keyCode&&32!==a.keyCode||this.disabled||!this.isInteractive||!this._isPrimary||this._parentChip._isEditing||(a.preventDefault(),this._parentChip._handlePrimaryActionInteraction())};gg.Object.defineProperties(CV.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled||this._parentChip.disabled},set:function(a){this._disabled=Ef(a)}}});CV.\u0275fac=function(a){return new (a||CV)(D(fd),D(INc))};
CV.\u0275dir=Cc({type:CV,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(a,b){a&1&&O("click",function(c){return b._handleClick(c)})("keydown",function(c){return b._handleKeydown(c)});a&2&&(Ae("tabindex",b._getTabindex())("disabled",b._getDisabledAttribute())("aria-disabled",b.disabled),Ie("mdc-evolution-chip__action--primary",b._isPrimary)("mdc-evolution-chip__action--presentational",!b.isInteractive)("mdc-evolution-chip__action--trailing",
!b._isPrimary))},inputs:{disabled:"disabled",tabIndex:"tabIndex",isInteractive:"isInteractive",_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},features:[xe]});var KNc=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],LNc=0,MNc=kg(hg(ig(jg(function(a){this._elementRef=a})),"primary"),-1),DV=function(a,b,c,d,e,g,h,l){b=MNc.call(this,b)||this;b._changeDetectorRef=a;b._ngZone=c;b._focusMonitor=d;b._globalRippleOptions=h;b._isRippleCentered=!1;b._onFocus=new F.Subject;b._onBlur=new F.Subject;b.role=null;b._hasFocusInternal=!1;b.id="mat-mdc-chip-"+LNc++;b.ariaLabel=null;b.ariaDescription=
null;b._ariaDescriptionId=b.id+"-aria-description";b._removable=!0;b._highlighted=!1;b.removed=new tu;b.destroyed=new tu;b.basicChipAttrName="mat-basic-chip";b._document=e;b._animationsDisabled="NoopAnimations"===g;if(null!=l){var q;b.tabIndex=null!=(q=parseInt(l))?q:b.defaultTabIndex}b._monitorFocus();return b};V(DV,MNc);f=DV.prototype;f._hasFocus=function(){return this._hasFocusInternal};
f.ngOnInit=function(){var a=this._elementRef.nativeElement;this._isBasicChip=a.hasAttribute(this.basicChipAttrName)||a.tagName.toLowerCase()===this.basicChipAttrName};f.ngAfterViewInit=function(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label");this._pendingFocus&&(this._pendingFocus=!1,this.focus())};f.ngAfterContentInit=function(){var a=this;this._actionChanges=(0,F.merge)(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(function(){return a._changeDetectorRef.markForCheck()})};
f.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef);var a;null==(a=this._actionChanges)||a.unsubscribe();this.destroyed.emit({chip:this});this.destroyed.complete()};f.remove=function(){this.removable&&this.removed.emit({chip:this})};f._isRippleDisabled=function(){var a;return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!(null==(a=this._globalRippleOptions)||!a.disabled)};f._hasTrailingIcon=function(){return!(!this.trailingIcon&&!this.removeIcon)};
f._handleKeydown=function(a){if(8===a.keyCode||46===a.keyCode)a.preventDefault(),this.remove()};f.focus=function(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)};f._getSourceAction=function(a){return this._getActions().find(function(b){b=b._elementRef.nativeElement;return b===a||b.contains(a)})};
f._getActions=function(){var a=[];this.primaryAction&&a.push(this.primaryAction);this.removeIcon&&a.push(this.removeIcon);this.trailingIcon&&a.push(this.trailingIcon);return a};f._handlePrimaryActionInteraction=function(){};f._monitorFocus=function(){var a=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(b){b=null!==b;b!==a._hasFocusInternal&&((a._hasFocusInternal=b)?a._onFocus.next({chip:a}):a._ngZone.onStable.pipe(ge()).subscribe(function(){return a._ngZone.run(function(){return a._onBlur.next({chip:a})})}))})};
gg.Object.defineProperties(DV.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return void 0!==this._value?this._value:this._textElement.textContent.trim()},set:function(a){this._value=a}},removable:{configurable:!0,enumerable:!0,get:function(){return this._removable},set:function(a){this._removable=Ef(a)}},highlighted:{configurable:!0,enumerable:!0,get:function(){return this._highlighted},set:function(a){this._highlighted=Ef(a)}}});
DV.\u0275fac=function(a){return new (a||DV)(D(Lu),D(fd),D(te),D(Zv),D(eg),D(Tt,8),D(D1b,8),$c("tabindex"))};
DV.\u0275cmp=zc({type:DV,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(a,b,c){a&1&&(kf(c,FNc,5),kf(c,GNc,5),kf(c,HNc,5),kf(c,FNc,5),kf(c,GNc,5),kf(c,HNc,5));if(a&2){var d;hf(d=lf())&&(b.leadingIcon=d.first);hf(d=lf())&&(b.trailingIcon=d.first);hf(d=lf())&&(b.removeIcon=d.first);hf(d=lf())&&(b._allLeadingIcons=d);hf(d=lf())&&(b._allTrailingIcons=d);hf(d=lf())&&(b._allRemoveIcons=d)}},viewQuery:function(a,b){a&1&&(jf(Zx,5),jf(CV,5));
if(a&2){var c;hf(c=lf())&&(b.ripple=c.first);hf(c=lf())&&(b.primaryAction=c.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:30,hostBindings:function(a,b){a&1&&O("keydown",function(c){return b._handleKeydown(c)});a&2&&(Me("id",b.id),Ae("role",b.role)("tabindex",b.role?b.tabIndex:null)("aria-label",b.ariaLabel),Ie("mdc-evolution-chip",!b._isBasicChip)("mdc-evolution-chip--disabled",b.disabled)("mdc-evolution-chip--with-trailing-action",b._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",
b.leadingIcon)("mdc-evolution-chip--with-primary-icon",b.leadingIcon)("mdc-evolution-chip--with-avatar",b.leadingIcon)("mat-mdc-chip-with-avatar",b.leadingIcon)("mat-mdc-chip-highlighted",b.highlighted)("mat-mdc-chip-disabled",b.disabled)("mat-mdc-basic-chip",b._isBasicChip)("mat-mdc-standard-chip",!b._isBasicChip)("mat-mdc-chip-with-trailing-icon",b._hasTrailingIcon())("_mat-animation-noopable",b._animationsDisabled))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",
role:"role",id:"id",ariaLabel:["aria-label","ariaLabel"],ariaDescription:["aria-description","ariaDescription"],value:"value",removable:"removable",highlighted:"highlighted"},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[Xe([{provide:INc,useExisting:DV}]),xe],ngContentSelectors:["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"],decls:9,vars:6,consts:[["matRipple","",1,"mat-mdc-chip-ripple",3,"matRippleDisabled",
"matRippleCentered","matRippleTrigger"],[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing",4,"ngIf"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],
[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(a,b){a&1&&(Ne(KNc),K(0,"span",0)(1,"span",1),H(2,"span",2)(3,"span",3),R(4,cXa,2,0,"span",4),H(5,"span",5),Oe(6),K(7,"span",6),J()()(),R(8,dXa,2,0,"span",7));a&2&&(G("matRippleDisabled",b._isRippleDisabled())("matRippleCentered",b._isRippleCentered)("matRippleTrigger",b._elementRef.nativeElement),C(3),G("isInteractive",!1),C(1),G("ngIf",b.leadingIcon),C(4),G("ngIf",b._hasTrailingIcon()))},dependencies:[Tu,Zx,CV],
styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height);--mdc-chip-container-shape-family:rounded;--mdc-chip-container-shape-radius:16px 16px 16px 16px;--mdc-chip-with-avatar-avatar-shape-family:rounded;--mdc-chip-with-avatar-avatar-shape-radius:14px 14px 14px 14px;--mdc-chip-with-avatar-avatar-size:28px;--mdc-chip-with-icon-icon-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size);width:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font);line-height:var(--mdc-chip-label-text-line-height);font-size:var(--mdc-chip-label-text-size);font-weight:var(--mdc-chip-label-text-weight);letter-spacing:var(--mdc-chip-label-text-tracking)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size);width:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color)}.mat-mdc-standard-chip .mdc-evolution-chip__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{width: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-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 NNc=kg(function(){}),EV=function(a,b,c){var d=NNc.call(this,a)||this;d._elementRef=a;d._changeDetectorRef=b;d._dir=c;d._lastDestroyedFocusedChipIndex=null;d._destroyed=new F.Subject;d._defaultRole="presentation";d._disabled=!1;d._explicitRole=null;d._chipActions=new mf;return d};V(EV,NNc);f=EV.prototype;f.ngAfterViewInit=function(){this._setUpFocusManagement();this._trackChipSetChanges();this._trackDestroyedFocusedChip()};
f.ngOnDestroy=function(){var a;null==(a=this._keyManager)||a.destroy();this._chipActions.destroy();this._destroyed.next();this._destroyed.complete()};f._hasFocusedChip=function(){return this._chips&&this._chips.some(function(a){return a._hasFocus()})};f._syncChipsState=function(){var a=this;this._chips&&this._chips.forEach(function(b){b.disabled=a._disabled;b._changeDetectorRef.markForCheck()})};f.focus=function(){};f._handleKeydown=function(a){if(this._originatesFromChip(a))this._keyManager.onKeydown(a)};
f._isValidIndex=function(a){return 0<=a&&a<this._chips.length};f._allowFocusEscape=function(){var a=this;if(-1!==this.tabIndex){var b=this.tabIndex;this.tabIndex=-1;setTimeout(function(){return a.tabIndex=b})}};f._getChipStream=function(a){var b=this;return this._chips.changes.pipe(oe(null),pe(function(){return F.merge.apply(null,Jc(b._chips.map(a)))}))};f._originatesFromChip=function(a){for(a=a.target;a&&a!==this._elementRef.nativeElement;){if(a.classList.contains("mat-mdc-chip"))return!0;a=a.parentElement}return!1};
f._setUpFocusManagement=function(){var a=this;this._chips.changes.pipe(oe(this._chips)).subscribe(function(c){var d=[];c.forEach(function(e){return e._getActions().forEach(function(g){return d.push(g)})});a._chipActions.reset(d);gf(a._chipActions)});this._keyManager=B0b(mx(lx(kx(new px(this._chipActions)),this._dir?this._dir.value:"ltr")),function(c){return a._skipPredicate(c)});this.chipFocusChanges.pipe(qe(this._destroyed)).subscribe(function(c){(c=c.chip._getSourceAction(document.activeElement))&&
nx(a._keyManager,c)});var b;null==(b=this._dir)||b.change.pipe(qe(this._destroyed)).subscribe(function(c){return lx(a._keyManager,c)})};f._skipPredicate=function(a){return!a.isInteractive||a.disabled};f._trackChipSetChanges=function(){var a=this;this._chips.changes.pipe(oe(null),qe(this._destroyed)).subscribe(function(){a.disabled&&Promise.resolve().then(function(){return a._syncChipsState()});a._redirectDestroyedChipFocus()})};
f._trackDestroyedFocusedChip=function(){var a=this;this.chipDestroyedChanges.pipe(qe(this._destroyed)).subscribe(function(b){var c=a._chips.toArray().indexOf(b.chip);a._isValidIndex(c)&&b.chip._hasFocus()&&(a._lastDestroyedFocusedChipIndex=c)})};
f._redirectDestroyedChipFocus=function(){if(null!=this._lastDestroyedFocusedChipIndex){if(this._chips.length){var a=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1);a=this._chips.toArray()[a];a.disabled?1===this._chips.length?this.focus():this._keyManager.setPreviousItemActive():a.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}};
gg.Object.defineProperties(EV.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=Ef(a);this._syncChipsState()}},empty:{configurable:!0,enumerable:!0,get:function(){return 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()}}});EV.\u0275fac=function(a){return new (a||EV)(D(fd),D(Lu),D(qx,8))};
EV.\u0275cmp=zc({type:EV,selectors:[["mat-chip-set"]],contentQueries:function(a,b,c){a&1&&kf(c,DV,5);if(a&2){var d;hf(d=lf())&&(b._chips=d)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(a,b){a&1&&O("keydown",function(c){return b._handleKeydown(c)});a&2&&Ae("role",b.role)},inputs:{disabled:"disabled",role:"role"},features:[xe],ngContentSelectors:["*"],decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(a){a&
1&&(Ne(),H(0,"div",0),Oe(1),J())},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%}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 ONc=function(a,b,c,d,e,g,h){a=EV.call(this,a,b,c)||this;a._defaultErrorStateMatcher=d;a._parentForm=e;a._parentFormGroup=g;a.ngControl=h;a.stateChanges=new F.Subject;return a};V(ONc,EV);ONc.\u0275cmp=EV.\u0275cmp;ONc.\u0275fac=EV.\u0275fac;uqa(ONc);var PNc=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],FV=function(){var a=DV.apply(this,arguments)||this;a._defaultOptions=wc(ENc,{optional:!0});a.chipListSelectable=!0;a._chipListMultiple=!1;var b,c;a._chipListHideSingleSelectionIndicator=null!=(c=null==(b=a._defaultOptions)?void 0:b.hideSingleSelectionIndicator)?c:!1;a._selectable=!0;a._selected=!1;a.basicChipAttrName="mat-basic-chip-option";a.selectionChange=
new tu;return a};V(FV,DV);f=FV.prototype;f.ngOnInit=function(){DV.prototype.ngOnInit.call(this);this.role="presentation"};f.select=function(){this._setSelectedState(!0,!1,!0)};f.deselect=function(){this._setSelectedState(!1,!1,!0)};f._handlePrimaryActionInteraction=function(){this.selectable&&!this.disabled&&this._setSelectedState(!this.selected,!0,!0)};f._hasLeadingGraphic=function(){return this.leadingIcon?!0:!this._chipListHideSingleSelectionIndicator||this._chipListMultiple};
f._setSelectedState=function(a,b,c){a!==this.selected&&(this._selected=a,c&&this.selectionChange.emit({source:this,isUserInput:b,selected:this.selected}),this._changeDetectorRef.markForCheck())};
gg.Object.defineProperties(FV.prototype,{selectable:{configurable:!0,enumerable:!0,get:function(){return this._selectable&&this.chipListSelectable},set:function(a){this._selectable=Ef(a);this._changeDetectorRef.markForCheck()}},selected:{configurable:!0,enumerable:!0,get:function(){return this._selected},set:function(a){this._setSelectedState(Ef(a),!1,!0)}},ariaSelected:{configurable:!0,enumerable:!0,get:function(){return this.selectable?this.selected.toString():null}}});
FV.\u0275fac=function(){var a;return function(b){return(a||(a=dd(FV)))(b||FV)}}();
FV.\u0275cmp=zc({type:FV,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&&(Me("id",b.id),Ae("tabindex",null)("aria-label",null)("aria-description",null)("role",b.role),Ie("mdc-evolution-chip",!b._isBasicChip)("mdc-evolution-chip--filter",!b._isBasicChip)("mdc-evolution-chip--selectable",!b._isBasicChip)("mat-mdc-chip-selected",b.selected)("mat-mdc-chip-multiple",
b._chipListMultiple)("mat-mdc-chip-disabled",b.disabled)("mat-mdc-chip-with-avatar",b.leadingIcon)("mdc-evolution-chip--disabled",b.disabled)("mdc-evolution-chip--selected",b.selected)("mdc-evolution-chip--selecting",!b._animationsDisabled)("mdc-evolution-chip--with-trailing-action",b._hasTrailingIcon())("mdc-evolution-chip--with-primary-icon",b.leadingIcon)("mdc-evolution-chip--with-primary-graphic",b._hasLeadingGraphic())("mdc-evolution-chip--with-avatar",b.leadingIcon)("mat-mdc-chip-highlighted",
b.highlighted)("mat-mdc-chip-with-trailing-icon",b._hasTrailingIcon()))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",selectable:"selectable",selected:"selected"},outputs:{selectionChange:"selectionChange"},features:[Xe([{provide:DV,useExisting:FV},{provide:INc,useExisting:FV}]),xe],ngContentSelectors:["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"],decls:11,vars:12,consts:[["matRipple","",1,"mat-mdc-chip-ripple",
3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","","role","option",3,"tabIndex","_allowFocusWhenDisabled"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing",
4,"ngIf"],[1,"cdk-visually-hidden",3,"id"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__checkmark"],["viewBox","-2 -3 30 30","focusable","false","aria-hidden","true",1,"mdc-evolution-chip__checkmark-svg"],["fill","none","stroke","currentColor","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-evolution-chip__checkmark-path"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(a,b){a&1&&(Ne(PNc),K(0,"span",0)(1,"span",1),H(2,"span",
2)(3,"button",3),R(4,eXa,5,0,"span",4),H(5,"span",5),Oe(6),K(7,"span",6),J()()(),R(8,fXa,2,0,"span",7),H(9,"span",8),S(10),J());a&2&&(G("matRippleDisabled",b._isRippleDisabled())("matRippleCentered",b._isRippleCentered)("matRippleTrigger",b._elementRef.nativeElement),C(3),G("tabIndex",b.tabIndex)("_allowFocusWhenDisabled",!0),Ae("aria-selected",b.ariaSelected)("aria-label",b.ariaLabel)("aria-describedby",b._ariaDescriptionId),C(1),G("ngIf",b._hasLeadingGraphic()),C(4),G("ngIf",b._hasTrailingIcon()),
C(1),G("id",b._ariaDescriptionId),C(1),Ve(b.ariaDescription))},dependencies:[Tu,Zx,CV],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height);--mdc-chip-container-shape-family:rounded;--mdc-chip-container-shape-radius:16px 16px 16px 16px;--mdc-chip-with-avatar-avatar-shape-family:rounded;--mdc-chip-with-avatar-avatar-shape-radius:14px 14px 14px 14px;--mdc-chip-with-avatar-avatar-size:28px;--mdc-chip-with-icon-icon-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size);width:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font);line-height:var(--mdc-chip-label-text-line-height);font-size:var(--mdc-chip-label-text-size);font-weight:var(--mdc-chip-label-text-weight);letter-spacing:var(--mdc-chip-label-text-tracking)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size);width:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color)}.mat-mdc-standard-chip .mdc-evolution-chip__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{width: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-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 QNc=function(a,b){this.source=a;this.value=b},RNc={provide:iv,useExisting:tc(function(){return GV}),multi:!0},GV=function(){var a=EV.apply(this,arguments)||this;a._onTouched=function(){};a._onChange=function(){};a._defaultRole="listbox";a._defaultOptions=wc(ENc,{optional:!0});a._multiple=!1;a.ariaOrientation="horizontal";a._selectable=!0;a.compareWith=function(d,e){return d===e};a._required=!1;var b,c;a._hideSingleSelectionIndicator=null!=(c=null==(b=a._defaultOptions)?void 0:b.hideSingleSelectionIndicator)?
c:!1;a.change=new tu;a._chips=void 0;return a};V(GV,EV);f=GV.prototype;
f.ngAfterContentInit=function(){var a=this;void 0!==this._pendingInitialValue&&Promise.resolve().then(function(){a._setSelectionByValue(a._pendingInitialValue,!1);a._pendingInitialValue=void 0});this._chips.changes.pipe(oe(null),qe(this._destroyed)).subscribe(function(){a._syncListboxProperties()});this.chipBlurChanges.pipe(qe(this._destroyed)).subscribe(function(){return a._blur()});this.chipSelectionChanges.pipe(qe(this._destroyed)).subscribe(function(b){a.multiple||a._chips.forEach(function(c){c!==
b.source&&c._setSelectedState(!1,!1,!1)});b.isUserInput&&a._propagateChanges()})};f.focus=function(){if(!this.disabled){var a=this._getFirstSelectedChip();a&&!a.disabled?a.focus():0<this._chips.length?this._keyManager._setActiveItemByIndex(0,1):this._elementRef.nativeElement.focus()}};f.writeValue=function(a){this._chips?this._setSelectionByValue(a,!1):null!=a&&(this._pendingInitialValue=a)};f.registerOnChange=function(a){this._onChange=a};f.registerOnTouched=function(a){this._onTouched=a};
f.setDisabledState=function(a){this.disabled=a};f._setSelectionByValue=function(a,b){var c=this;b=void 0===b?!0:b;this._clearSelection();Array.isArray(a)?a.forEach(function(d){return c._selectValue(d,b)}):this._selectValue(a,b)};f._blur=function(){var a=this;this.disabled||setTimeout(function(){a.focused||a._markAsTouched()})};f._keydown=function(a){9===a.keyCode&&EV.prototype._allowFocusEscape.call(this)};f._markAsTouched=function(){this._onTouched();this._changeDetectorRef.markForCheck()};
f._propagateChanges=function(){var a=null;Array.isArray(this.selected)?a=this.selected.map(function(b){return b.value}):a=this.selected?this.selected.value:void 0;this._value=a;this.change.emit(new QNc(this,a));this._onChange(a);this._changeDetectorRef.markForCheck()};f._clearSelection=function(a){this._chips.forEach(function(b){b!==a&&b.deselect()})};
f._selectValue=function(a,b){var c=this,d=this._chips.find(function(e){return null!=e.value&&c.compareWith(e.value,a)});d&&(b?d._setSelectedState(!0,!0,!0):d.select());return d};f._syncListboxProperties=function(){var a=this;this._chips&&Promise.resolve().then(function(){a._chips.forEach(function(b){b._chipListMultiple=a.multiple;b.chipListSelectable=a._selectable;b._chipListHideSingleSelectionIndicator=a.hideSingleSelectionIndicator;b._changeDetectorRef.markForCheck()})})};
f._getFirstSelectedChip=function(){return Array.isArray(this.selected)?this.selected.length?this.selected[0]:void 0:this.selected};f._skipPredicate=function(a){return!a.isInteractive};
gg.Object.defineProperties(GV.prototype,{multiple:{configurable:!0,enumerable:!0,get:function(){return this._multiple},set:function(a){this._multiple=Ef(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=Ef(a);this._syncListboxProperties()}},required:{configurable:!0,
enumerable:!0,get:function(){return this._required},set:function(a){this._required=Ef(a)}},hideSingleSelectionIndicator:{configurable:!0,enumerable:!0,get:function(){return this._hideSingleSelectionIndicator},set:function(a){this._hideSingleSelectionIndicator=Ef(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}}});GV.\u0275fac=function(){var a;return function(b){return(a||(a=dd(GV)))(b||GV)}}();
GV.\u0275cmp=zc({type:GV,selectors:[["mat-chip-listbox"]],contentQueries:function(a,b,c){a&1&&kf(c,FV,5);if(a&2){var d;hf(d=lf())&&(b._chips=d)}},hostAttrs:["ngSkipHydration","",1,"mdc-evolution-chip-set","mat-mdc-chip-listbox"],hostVars:11,hostBindings:function(a,b){a&1&&O("focus",function(){return b.focus()})("blur",function(){return b._blur()})("keydown",function(c){return b._keydown(c)});a&2&&(Me("tabIndex",b.empty?-1:b.tabIndex),Ae("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),Ie("mat-mdc-chip-list-disabled",b.disabled)("mat-mdc-chip-list-required",b.required))},inputs:{tabIndex:"tabIndex",multiple:"multiple",ariaOrientation:["aria-orientation","ariaOrientation"],selectable:"selectable",compareWith:"compareWith",required:"required",hideSingleSelectionIndicator:"hideSingleSelectionIndicator",value:"value"},outputs:{change:"change"},features:[Xe([RNc]),
xe],ngContentSelectors:["*"],decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(a){a&1&&(Ne(),H(0,"div",0),Oe(1),J())},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%}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 SNc=new Hc("GMAT_MENU_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var HV=function(){Ox.apply(this,arguments);this.gmatPanelClasses=[]};V(HV,Ox);HV.prototype.create=function(a){var b=(null==a?0:a.panelClass)?roa(a.panelClass).concat(this.gmatPanelClasses):this.gmatPanelClasses;return Ox.prototype.create.call(this,Object.assign({},a,{panelClass:b}))};HV.\u0275fac=function(){var a;return function(b){return(a||(a=dd(HV)))(b||HV)}}();HV.\u0275prov=nc({token:HV,factory:HV.\u0275fac});var IV=function(a,b){this.options=a;a.disableGmatStyle||b.gmatPanelClasses.push("gmat-mdc-menu")};IV.\u0275fac=function(a){return new (a||IV)(D(SNc),D(Ox))};IV.\u0275dir=Cc({type:IV,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],features:[Xe([{provide:Ox,useClass:HV}])]});var TNc=new Hc("GMAT_TABLE_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var JV=function(a){this.options=a};JV.\u0275fac=function(a){return new (a||JV)(D(TNc))};JV.\u0275dir=Cc({type:JV,selectors:[["table","mat-table",""],["mat-table"]],hostVars:2,hostBindings:function(a,b){a&2&&Ie("gmat-mdc-table",!b.options.disableGmatStyle)}});var KV=function(){};KV.\u0275fac=function(a){return new (a||KV)};KV.\u0275mod=Bc({type:KV});KV.\u0275inj=oc({imports:[LN]});var UNc=function(a){return{collapsed:a}},nNc=new function(){this.client_=new pC({format:"jspb"});this.hostname_="https://devopsconsole-pa-googleapis.corp.google.com".replace(/\/+$/,"")},zNc=new function(){this.client_=new pC({format:"jspb"});this.hostname_="https://devopsconsole-pa-googleapis.corp.google.com".replace(/\/+$/,"")},oNc={"X-Goog-Api-Key":"AIzaSyB9Ljnt9FDyfTnTH2yeDn6lGM40PQm6Gsk",Authorization:Fm([])||"","X-Goog-AuthUser":"0"},LV=function(a,b,c){this.issueFridge=a;this.hackyPrefs=b;this.currentUser=
c;this.currentUserEmail=this.currentUser.email;this.cardTitle="My tasks";this.displayedColumns=["type","title","modified","role","created"];this.mvpMyTaskTabsData$=[{label:"Owned",description:"Tasks that you own, are assigned to or have authored.",tasks:(0,F.of)([]),sources:["Buganizer","Drive","Critique"],chips:[{label:"Last 30 days",selected:!0},{label:"My teams",selected:!0},{label:"Open",selected:!0}]},{label:"Collaborating",description:"Tasks that you have contributed to, but don't own.",tasks:(0,F.of)([]),
sources:["Buganizer","Drive","Critique"],chips:[{label:"Last 30 days",selected:!0},{label:"My teams",selected:!0},{label:"Open",selected:!0}]},{label:"Following",description:"Tasks that you frequently view or have shown interest in (e.g. starred).",tasks:(0,F.of)([]),sources:["Buganizer","Drive","Critique"],chips:[{label:"Last 30 days",selected:!0},{label:"My teams",selected:!0},{label:"Open",selected:!0}]}];this.issueTasksOwned=(0,F.of)([]);this.issueTasksCollaborating=(0,F.of)([]);this.issueTasksFollowing=
(0,F.of)([]);this.critiqueTasks=(0,F.of)([]);this.driveTasks=(0,F.of)([]);this.mergedTasks$=(0,F.of)([])};LV.prototype.isCollapsed=function(){return this.hackyPrefs.prefs.collapsed["mvp-my-tasks"]};LV.prototype.toggleCollapsed=function(){this.hackyPrefs.toggleCollapsed("mvp-my-tasks")};
var VNc=function(a){return new F.Observable(function(b){a.on("data",function(c){b.next(c)});a.on("error",function(c){b.error(c)});a.on("status",function(c){b.error(c)});a.on("end",function(){b.complete()});return function(){a.cancel()}})},WNc=function(a,b){var c=b.snapshot[0]||{},d={isOwner:!1,isCollaborating:!1,isFollowing:!1,role:""},e;if((null==(e=c.assigneeUser)?void 0:e.emailAddress)===a.currentUserEmail)d.isOwner=!0,d.role="Assignee";else{var g;if(null==(g=c.collaboratorsUsers)?0:g.some(function(v){return v.emailAddress===
a.currentUserEmail}))d.isCollaborating=!0,d.role="Collaborator";else{var h;if((null==(h=c.reporterUser)?void 0:h.emailAddress)===a.currentUserEmail)d.isCollaborating=!0,d.role="Reporter";else{c=[];var l;if(null==b?0:null==(l=b.userData)?0:l.voted)d.isFollowing=!0,c.push("Upvoted");var q;if(null==(q=b.userData)?0:q.starred)d.isFollowing=!0,c.push("Starred");d.role=c.join(", ")}}}return d},XNc=function(a,b){var c=b.snapshot[0]||{},d=c.createdTimeMicros?Math.floor(c.createdTimeMicros/1E3):0;a=WNc(a,
b);return{id:b.issueId,source:"Buganizer",icon:"bug_report",title:null==c?void 0:c.title,link:"issues/"+b.issueId,creationDate:d,modifiedDate:Math.floor(b.majorModifiedTimeMicros/1E3),teams:null,isOwner:a.isOwner,isCollaborating:a.isCollaborating,isFollowing:a.isFollowing,priority:null==c?void 0:c.priority,role:a.role,open:!0,resource:b,rawObj:b}};LV.prototype.queryIssues=function(a){return this.issueFridge.watchMany({filter:a,pageSize:50,sort:"modified_time:desc"}).pipe(E(function(b){return b.results}))};
LV.prototype.ngOnInit=function(){var a=this;this.issueTasksOwned=this.queryIssues("assignee:me t:(bug | customer_issue | feature | feature_request | story | task | internal_cleanup | process) modified:30d status:open").pipe(E(function(b){return b.map(function(c){return XNc(a,c)})}));this.issueTasksCollaborating=this.queryIssues("(collaborator:me | reporter:me) -assignee:me modified:30d status:open").pipe(E(function(b){return b.map(function(c){return XNc(a,c)})}));this.issueTasksFollowing=this.queryIssues("star:true | (cc:me status:open)").pipe(E(function(b){return b.map(function(c){return XNc(a,
c)})}));this.critiqueTasks=VNc(pNc()).pipe(E(function(b){return b.getTaskList().map(function(c){var d=c.toObject(),e=d.resource,g=!1,h=!1,l=!1,q="",v=cn(VMb(c,IB,6)),y=null==v?void 0:v.getAuthorEmail();v=null==v?void 0:v.getCategory();y===a.currentUserEmail||2===v?(g=!0,q="Author"):1===v?(h=!0,q="Reviewer"):3===v&&(l=!0,q="CC'd");return{id:null==e?void 0:e.resourceId,source:"Critique",icon:"check_circle_filled",title:null==e?void 0:e.title,link:null==e?void 0:e.externalLink,creationDate:c.getCreatedTimestamp(),
modifiedDate:c.getUpdatedTimestamp(),teams:null,isOwner:g,isCollaborating:h,isFollowing:l,priority:null,role:q,open:!0,resource:e,rawObj:d}})}));this.driveTasks=VNc(ANc()).pipe(E(function(b){return b.getTaskList().map(function(c){var d=c.toObject(),e=d.resource,g=null==e?void 0:e.taskSource,h;switch(null==(h=Tp(VMb(c,IB,6),sB,5))?void 0:h.getMimeType()){case "document":h="drive_document";break;case "spreadsheet":h="drive_spreadsheet";break;case "presentation":h="drive_presentation";break;case "video/mp4":h=
"video_youtube";break;default:h="link"}var l=!1,q=!1,v=!1;var y=Tp(VMb(c,IB,6),sB,5);var B=null==y?void 0:y.getOwnedByMe(),I=null==y?void 0:vi(y,26),N=null==y?void 0:vi(y,25),Q=null==y?void 0:y.getSharedToMe();B||I?(l=!0,y="Owner"):vi(y,2)?(l=!0,y="Creator"):N?(q=!0,y="Approver"):Q?(q=!0,y="Shared with me"):y.getIsStarred()?(v=!0,y="Starred"):(v=!0,y="Recent activity");return{id:null==e?void 0:e.resourceId,source:g,icon:h,title:null==e?void 0:e.title,link:null==e?void 0:e.externalLink,creationDate:c.getCreatedTimestamp(),
modifiedDate:c.getUpdatedTimestamp(),teams:null,isOwner:l,isCollaborating:q,isFollowing:v,priority:null,role:y,open:!0,resource:e,rawObj:d}})}));this.mergedTasks$=(0,F.merge)(this.critiqueTasks,this.driveTasks,this.issueTasksOwned,this.issueTasksCollaborating,this.issueTasksFollowing).pipe(yXa(),E(function(b){return b.sort(function(c,d){return(d.modifiedDate||d.creationDate)-(c.modifiedDate||c.creationDate)}).filter(function(c){return c.modifiedDate?c.modifiedDate>Date.now()-2592E6:c.creationDate>
Date.now()-2592E6})}));this.mvpMyTaskTabsData$[0].tasks=this.mergedTasks$.pipe(E(function(b){return b.filter(function(c){return c.isOwner})}));this.mvpMyTaskTabsData$[1].tasks=this.mergedTasks$.pipe(E(function(b){return b.filter(function(c){return c.isCollaborating})}));this.mvpMyTaskTabsData$[2].tasks=this.mergedTasks$.pipe(E(function(b){return b.filter(function(c){return c.isFollowing})}))};LV.\u0275fac=function(a){return new (a||LV)(D(IH),D(qI),D(pI))};
LV.\u0275cmp=zc({type:LV,selectors:[["mvp-my-tasks"]],decls:13,vars:6,consts:[[1,"mvp-my-tasks-view"],[1,"mvp-card","carded","small-tabs"],[1,"mvp-card-header"],[1,"title"],["mat-icon-button","","matTooltip","Toggle card expansion",1,"gmat-button","medium","expansion-toggle",3,"ngClass","click"],[1,"google-material-icons","small-button-icon"],[1,"spacer"],["mat-icon-button","","matTooltip","More actions menu","aria-label","More actions menu","aria-haspopup","true",1,"gmat-button","medium"],[1,"google-material-icons"],
["class","card-content",4,"ngIf"],[1,"card-content"],["mat-align-tabs","start","gmat-tabs",""],[3,"label",4,"ngFor","ngForOf"],[3,"label"],[1,"mvp-tab-controls"],["mat-button","","matTooltip","Select source applications","aria-label","Select source applications","aria-haspopup","true",1,"gmat-button","medium","chip-button",3,"matMenuTriggerFor"],[1,"mvp-my-tasks-menu"],["sourceMenu","matMenu"],[1,"mvp-source-select",3,"click"],["color","primary","checked","true"],["checked","true"],["checked","false"],
["multiple",""],["appearance","hairline-suggestive",3,"selected",4,"ngFor","ngForOf"],[1,"mvp-tab-content"],[3,"dataSource"],["matColumnDef","type"],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","title"],["matColumnDef","modified"],["matColumnDef","role"],["matColumnDef","created"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],["loadingContrib",""],["appearance","hairline-suggestive",3,"selected"],[3,"class",4,"ngIf"],[3,"href"]],template:function(a,b){a&1&&(H(0,"main",0)(1,"section",
1)(2,"div",2)(3,"h2",3),S(4),J(),H(5,"button",4),O("click",function(){return b.toggleCollapsed()}),H(6,"mat-icon",5),S(7,"expand_less"),J()(),K(8,"span",6),H(9,"button",7)(10,"mat-icon",8),S(11,"more_vert"),J()()(),R(12,xXa,3,1,"div",9),J()());a&2&&(C(4),Ve(b.cardTitle),C(1),G("ngClass",Ze(4,UNc,!0===b.isCollapsed())),Ae("aria-label",b.isCollapsed?"Expand card":"Collapse card"),C(7),G("ngIf",!b.isCollapsed()))},dependencies:[Ru,Su,Tu,yy,jz,CNc,SN,BV,GV,FV,IV,HA,LA,JV,KN,CN,GN,DN,BN,HN,EN,FN,IN,JN,
NM,MM,SL,bv],styles:['[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]{margin-top:24px;background:var(--surface-default)}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .mvp-card-header[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;gap:4px}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .mvp-card-header[_ngcontent-%COMP%]   .expansion-toggle[_ngcontent-%COMP%]{-webkit-transition:rotate .3s;transition:rotate .3s}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .mvp-card-header[_ngcontent-%COMP%]   .expansion-toggle.collapsed[_ngcontent-%COMP%]{rotate:180deg}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .mvp-card-header[_ngcontent-%COMP%]   .small-button-icon[_ngcontent-%COMP%]{font-size:1.125rem}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .mvp-card-header[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{margin:0}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .mvp-card-header[_ngcontent-%COMP%]   .spacer[_ngcontent-%COMP%]{-webkit-box-flex:1;-webkit-flex:1 1 auto;-moz-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .priority-badge[_ngcontent-%COMP%]{padding:0 .25rem;border-radius:.25rem;font-weight:500;margin-right:.5rem;border:1px solid transparent}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .priority-badge.P0[_ngcontent-%COMP%]{border:1px solid var(--primary-default);background:var(--primary-default);color:var(--text-inverse)}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .priority-badge.P1[_ngcontent-%COMP%]{border:1px solid var(--primary-default)}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .product-icon.check_circle_filled[_ngcontent-%COMP%]{color:var(--green-600)}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .product-icon.drive_document[_ngcontent-%COMP%]{color:var(--blue-700)}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .product-icon.drive_spreadsheet[_ngcontent-%COMP%]{color:var(--green-600)}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .product-icon.drive_presentation[_ngcontent-%COMP%]{color:var(--yellow-600)}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .product-icon.video_youtube[_ngcontent-%COMP%]{color:var(--red-600)}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   mat-footer-row[_ngcontent-%COMP%], [_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   mat-header-row[_ngcontent-%COMP%], [_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   mat-row[_ngcontent-%COMP%]{min-height:2rem;border-bottom:1px solid var(--hairline)}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   mat-cell[_ngcontent-%COMP%], [_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   mat-header-cell[_ngcontent-%COMP%]{border:none}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   mat-header-cell[_ngcontent-%COMP%]{font-weight:500}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-tab-controls[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;gap:.5rem}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mvp-tab-controls[_ngcontent-%COMP%]   .chip-button[_ngcontent-%COMP%]{background:var(--mvp-prototype-chip-bg);padding:0 8px 0 12px;height:1.5rem;line-height:1.5rem;margin:6px 0;border-radius:.5rem;font-weight:400}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mat-mdc-cell[_ngcontent-%COMP%], [_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mat-mdc-header-cell[_ngcontent-%COMP%]{padding:0 .75rem}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mat-column-type[_ngcontent-%COMP%]{width:48px;-webkit-box-flex:0;-webkit-flex:0 1 auto;-moz-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mat-column-title[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:var(--text-default)}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mat-column-modified[_ngcontent-%COMP%]{min-width:180px;width:10%;-webkit-box-flex:0;-webkit-flex:0 1 auto;-moz-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mat-column-role[_ngcontent-%COMP%]{min-width:200px;width:10%;-webkit-box-flex:0;-webkit-flex:0 1 auto;-moz-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}[_nghost-%COMP%]   .mvp-my-tasks-view[_ngcontent-%COMP%]   .mat-column-created[_ngcontent-%COMP%]{min-width:120px;width:10%;-webkit-box-flex:0;-webkit-flex:0 1 auto;-moz-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}  .mvp-my-tasks-view .mat-mdc-standard-chip{--mdc-chip-disabled-label-text-color:#212121;--mdc-chip-elevated-container-color:#e0e0e0;--mdc-chip-elevated-disabled-container-color:#e0e0e0;--mdc-chip-label-text-color:#212121;--mdc-chip-with-icon-icon-color:#212121;--mdc-chip-with-icon-disabled-icon-color:#212121;--mdc-chip-with-icon-selected-icon-color:#212121;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:#212121;--mdc-chip-with-trailing-icon-trailing-icon-color:#212121}  .mvp-my-tasks-view .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-primary,   .mvp-my-tasks-view .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-primary{--mdc-chip-disabled-label-text-color:#fff;--mdc-chip-elevated-container-color:#2196f3;--mdc-chip-elevated-disabled-container-color:#2196f3;--mdc-chip-label-text-color:#fff;--mdc-chip-with-icon-icon-color:#fff;--mdc-chip-with-icon-disabled-icon-color:#fff;--mdc-chip-with-icon-selected-icon-color:#fff;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:#fff;--mdc-chip-with-trailing-icon-trailing-icon-color:#fff}  .mvp-my-tasks-view .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-accent,   .mvp-my-tasks-view .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-accent{--mdc-chip-disabled-label-text-color:rgba(0,0,0,.87);--mdc-chip-elevated-container-color:#ff9800;--mdc-chip-elevated-disabled-container-color:#ff9800;--mdc-chip-label-text-color:rgba(0,0,0,.87);--mdc-chip-with-icon-icon-color:rgba(0,0,0,.87);--mdc-chip-with-icon-disabled-icon-color:rgba(0,0,0,.87);--mdc-chip-with-icon-selected-icon-color:rgba(0,0,0,.87);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:rgba(0,0,0,.87);--mdc-chip-with-trailing-icon-trailing-icon-color:rgba(0,0,0,.87)}  .mvp-my-tasks-view .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-warn,   .mvp-my-tasks-view .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-warn{--mdc-chip-disabled-label-text-color:#fff;--mdc-chip-elevated-container-color:#f44336;--mdc-chip-elevated-disabled-container-color:#f44336;--mdc-chip-label-text-color:#fff;--mdc-chip-with-icon-icon-color:#fff;--mdc-chip-with-icon-disabled-icon-color:#fff;--mdc-chip-with-icon-selected-icon-color:#fff;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:#fff;--mdc-chip-with-trailing-icon-trailing-icon-color:#fff}  .mvp-my-tasks-view .mat-mdc-chip-focus-overlay{background:#000}  .mvp-my-tasks-view .mat-mdc-standard-chip{--mdc-chip-label-text-font:Roboto,"Helvetica Neue",sans-serif;--mdc-chip-label-text-line-height:20px;--mdc-chip-label-text-size:14px;--mdc-chip-label-text-tracking:normal;--mdc-chip-label-text-weight:400}  .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip .mdc-evolution-chip__action--primary{padding-left:16px;padding-right:16px}  .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip .mdc-evolution-chip__action--primary[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip .mdc-evolution-chip__action--primary{padding-left:16px;padding-right:16px}  .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:8px}  .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:8px}  .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:16px}  .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:16px;padding-right:0}  .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:18px}  .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip .mdc-evolution-chip__graphic{height:18px;width:18px;font-size:18px}  .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip .mdc-evolution-chip__icon--primary{height:18px;width:18px;font-size:18px}  .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip .mdc-evolution-chip__text-label{font-family:Google Sans,Roboto,Arial,sans-serif;font-size:.875rem;letter-spacing:.0178571429em;font-weight:500}  .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-right:0}[dir=rtl][_ngcontent-%COMP%]     .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:16px}  .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-hairline-chip .mdc-evolution-chip__action--primary:before{border-style:solid}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-hairline-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary:before{border-color:transparent;border-color:var(--mdc-chip-flat-outline-color,transparent)}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-hairline-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary:before{border-color:transparent;border-color:var(--mdc-chip-flat-disabled-outline-color,transparent)}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-hairline-chip .mdc-evolution-chip__action--primary:before{border-width:1px;border-width:var(--mdc-chip-flat-outline-width,1px)}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip .mdc-evolution-chip__action--primary[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:6px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:6px;padding-right:8px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:auto}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:auto;right:8px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:6px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:6px;padding-right:8px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:auto}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:auto;right:8px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:18px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip .mdc-evolution-chip__graphic{height:18px;width:18px;font-size:18px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip .mdc-evolution-chip__icon--primary{height:18px;width:18px;font-size:18px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip .mdc-evolution-chip__text-label{font-family:Roboto,Arial,sans-serif;font-size:.875rem;letter-spacing:.0178571429em;font-weight:500}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-suggestive-chip{border-radius:8px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-suggestive-chip .mdc-evolution-chip__ripple{border-radius:8px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-suggestive-chip .mdc-evolution-chip__action--primary:before{border-radius:8px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-suggestive-chip .mdc-evolution-chip__icon--primary{border-radius:8px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-filter-chip{border-radius:8px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-filter-chip .mdc-evolution-chip__ripple{border-radius:8px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-filter-chip .mdc-evolution-chip__action--primary:before{border-radius:8px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-filter-chip .mdc-evolution-chip__icon--primary{border-radius:8px}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-protected-chip{-webkit-transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1);transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1);box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 1px 3px 1px rgba(60,64,67,.15)}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-protected-chip:hover{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 2px 6px 2px rgba(60,64,67,.15)}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-protected-chip:active{box-shadow:0 1px 3px 0 rgba(60,64,67,.3),0 4px 8px 3px rgba(60,64,67,.15)}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-protected-chip.mat-mdc-chip-disabled{box-shadow:none}  .mvp-my-tasks-view .gmat-mdc-chip .mat-mdc-chip-trailing-icon{opacity:.9}  .mvp-my-tasks-view .gmat-mdc-chip{--mdc-chip-label-text-color:#5f6368;--mdc-chip-disabled-label-text-color:rgba(60,64,67,.38);--mdc-chip-with-icon-icon-color:#5f6368;--mdc-chip-with-icon-disabled-icon-color:rgba(60,64,67,.38);--mdc-chip-with-icon-selected-icon-color:#5f6368;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:#5f6368;--mdc-chip-with-trailing-icon-trailing-icon-color:#5f6368}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-hairline-chip{--mdc-chip-elevated-container-color:transparent;--mdc-chip-elevated-disabled-container-color:transparent;--mdc-chip-flat-outline-color:#dadce0;--mdc-chip-flat-disabled-outline-color:#dadce0}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-protected-chip{--mdc-chip-elevated-container-color:#fff;--mdc-chip-elevated-disabled-container-color:#fff}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected{--mdc-chip-elevated-container-color:#e3f2fd;--mdc-chip-elevated-disabled-container-color:#e3f2fd;--mdc-chip-label-text-color:#1976d2;--mdc-chip-disabled-label-text-color:#1976d2;--mdc-chip-with-icon-icon-color:#1976d2;--mdc-chip-with-icon-disabled-icon-color:#1976d2;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:#1976d2;--mdc-chip-with-trailing-icon-trailing-icon-color:#1976d2;--mdc-chip-with-icon-selected-icon-color:#1976d2;--mdc-chip-flat-outline-color:transparent;--mdc-chip-flat-disabled-outline-color:transparent}  .mvp-my-tasks-view .gmat-mdc-chip.mat-accent.mat-mdc-chip-highlighted,   .mvp-my-tasks-view .gmat-mdc-chip.mat-accent.mat-mdc-chip-selected{--mdc-chip-elevated-container-color:#fff3e0;--mdc-chip-elevated-disabled-container-color:#fff3e0;--mdc-chip-label-text-color:#f57c00;--mdc-chip-disabled-label-text-color:#f57c00;--mdc-chip-with-icon-icon-color:#f57c00;--mdc-chip-with-icon-disabled-icon-color:#f57c00;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:#f57c00;--mdc-chip-with-trailing-icon-trailing-icon-color:#f57c00;--mdc-chip-with-icon-selected-icon-color:#f57c00;--mdc-chip-flat-outline-color:transparent;--mdc-chip-flat-disabled-outline-color:transparent}  .mvp-my-tasks-view .gmat-mdc-chip.mat-warn.mat-mdc-chip-highlighted,   .mvp-my-tasks-view .gmat-mdc-chip.mat-warn.mat-mdc-chip-selected{--mdc-chip-elevated-container-color:#ffebee;--mdc-chip-elevated-disabled-container-color:#ffebee;--mdc-chip-label-text-color:#d32f2f;--mdc-chip-disabled-label-text-color:#d32f2f;--mdc-chip-with-icon-icon-color:#d32f2f;--mdc-chip-with-icon-disabled-icon-color:#d32f2f;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:#d32f2f;--mdc-chip-with-trailing-icon-trailing-icon-color:#d32f2f;--mdc-chip-with-icon-selected-icon-color:#d32f2f;--mdc-chip-flat-outline-color:transparent;--mdc-chip-flat-disabled-outline-color:transparent}  .mvp-my-tasks-view .mat-mdc-chip.mat-mdc-standard-chip{--mdc-chip-container-height:24px}  .mvp-my-tasks-view .gmat-mdc-chip{--mdc-ripple-color:var(--text-default);--odw-chip-background-selected:var(--blue-50);--odw-chip-assistive-background-selected:var(--blue-100)}  .mvp-my-tasks-view .gmat-mdc-chip:not([disabled]){cursor:pointer}.dark-mode[_ngcontent-%COMP%]  .mvp-my-tasks-view .gmat-mdc-chip{--odw-chip-background-selected:#3c4043;--odw-chip-assistive-background-selected:#3c4043}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected:hover,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected:hover,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected:hover{--mdc-ripple-color:var(--odw-chip-background-selected);background-color:var(--odw-chip-background-selected)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected:hover .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected:hover .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected:hover .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--primary-default);--mdc-chip-with-icon-disabled-icon-color:var(--primary-default);--mdc-chip-with-icon-selected-icon-color:var(--primary-default);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--primary-default);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--primary-default)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted .mat-mdc-chip-action-label,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected .mat-mdc-chip-action-label,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected:hover .mat-mdc-chip-action-label,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-action-label,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected .mat-mdc-chip-action-label,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected .mat-mdc-chip-action-label,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected:hover .mat-mdc-chip-action-label,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected:hover .mat-mdc-chip-action-label{--mdc-chip-label-text-color:var(--primary-default);--mdc-chip-disabled-label-text-color:var(--primary-default)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted .mat-mdc-chip-action:before,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected .mat-mdc-chip-action:before,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected:hover .mat-mdc-chip-action:before,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-action:before,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected .mat-mdc-chip-action:before,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected .mat-mdc-chip-action:before,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected:hover .mat-mdc-chip-action:before,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected:hover .mat-mdc-chip-action:before{--mdc-chip-flat-outline-color:var(--odw-chip-background-selected);--mdc-chip-flat-disabled-outline-color:var(--odw-chip-background-selected)}  .mvp-my-tasks-view .gmat-mdc-chip .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip-disabled .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip-disabled .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip-disabled .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip-disabled .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--text-secondary);--mdc-chip-with-icon-disabled-icon-color:var(--text-secondary);--mdc-chip-with-icon-selected-icon-color:var(--text-secondary);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--text-secondary);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--text-secondary)}  .mvp-my-tasks-view .gmat-mdc-chip .mat-mdc-chip-action-label,   .mvp-my-tasks-view .gmat-mdc-chip.mat-mdc-chip-disabled .mat-mdc-chip-action-label{--mdc-chip-label-text-color:var(--text-secondary);--mdc-chip-disabled-label-text-color:var(--text-secondary)}  .mvp-my-tasks-view .gmat-mdc-chip.cdk-focused .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.cdk-focused .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.cdk-focused .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.cdk-focused .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip:active .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip:active .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip:active .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip:active .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip:hover .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip:hover .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip:hover .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--text-default);--mdc-chip-with-icon-disabled-icon-color:var(--text-default);--mdc-chip-with-icon-selected-icon-color:var(--text-default);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--text-default);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--text-default)}  .mvp-my-tasks-view .gmat-mdc-chip.cdk-focused .mat-mdc-chip-action-label,   .mvp-my-tasks-view .gmat-mdc-chip:active .mat-mdc-chip-action-label,   .mvp-my-tasks-view .gmat-mdc-chip:hover .mat-mdc-chip-action-label{--mdc-chip-label-text-color:var(--text-default);--mdc-chip-disabled-label-text-color:var(--text-default)}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--text-secondary);--mdc-chip-with-icon-disabled-icon-color:var(--text-secondary);--mdc-chip-with-icon-selected-icon-color:var(--text-secondary);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--text-secondary);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--text-secondary)}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip .mat-mdc-chip-action-label{--mdc-chip-label-text-color:var(--text-secondary);--mdc-chip-disabled-label-text-color:var(--text-secondary)}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip.cdk-focused .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip.cdk-focused .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip.cdk-focused .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip.cdk-focused .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip:active .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip:active .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip:active .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip:active .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip:hover .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip:hover .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip:hover .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--text-default);--mdc-chip-with-icon-disabled-icon-color:var(--text-default);--mdc-chip-with-icon-selected-icon-color:var(--text-default);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--text-default);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--text-default)}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip.cdk-focused .mat-mdc-chip-action-label,   .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip:active .mat-mdc-chip-action-label,   .mvp-my-tasks-view .gmat-mdc-chip.gmat-assistive-chip:hover .mat-mdc-chip-action-label{--mdc-chip-label-text-color:var(--text-default);--mdc-chip-disabled-label-text-color:var(--text-default)}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-hairline-chip .mat-mdc-chip-action:before{--mdc-chip-flat-outline-color:var(--hairline);--mdc-chip-flat-disabled-outline-color:var(--hairline)}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-hairline-chip.cdk-focused .mat-mdc-chip-action:before{--mdc-chip-flat-outline-color:var(--text-default);--mdc-chip-flat-disabled-outline-color:var(--text-default)}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-hairline-chip.gmat-selectable-chip.mdc-evolution-chip--selected:hover{box-shadow:0 1px 2px 0 var(--elevation),0 1px 3px 1px var(--elevation)}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-input-chip .mat-mdc-chip-action-label{--mdc-chip-label-text-color:var(--text-secondary);--mdc-chip-disabled-label-text-color:var(--text-secondary)}  .mvp-my-tasks-view .gmat-mdc-chip.gmat-mdc-chip.gmat-protected-chip{background:var(--page-bg);box-shadow:0 1px 2px 0 var(--elevation),0 1px 3px 1px var(--elevation)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--primary-default);--mdc-chip-with-icon-disabled-icon-color:var(--primary-default);--mdc-chip-with-icon-selected-icon-color:var(--primary-default);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--primary-default);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--primary-default)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--primary-high-contrast);--mdc-chip-with-icon-disabled-icon-color:var(--primary-high-contrast);--mdc-chip-with-icon-selected-icon-color:var(--primary-high-contrast);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--primary-high-contrast);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--primary-high-contrast)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.gmat-input-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-action:before{--mdc-chip-flat-outline-color:var(--odw-chip-background-selected);--mdc-chip-flat-disabled-outline-color:var(--odw-chip-background-selected)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.gmat-input-chip.mdc-evolution-chip--selected .mat-mdc-chip-action:before{--mdc-chip-flat-outline-color:var(--odw-chip-background-selected);--mdc-chip-flat-disabled-outline-color:var(--odw-chip-background-selected)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected{--mdc-ripple-color:var(--primary-default);background-color:var(--odw-chip-background-selected)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--primary-default);--mdc-chip-with-icon-disabled-icon-color:var(--primary-default);--mdc-chip-with-icon-selected-icon-color:var(--primary-default);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--primary-default);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--primary-default)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected .mat-mdc-chip-action-label{--mdc-chip-label-text-color:var(--primary-default);--mdc-chip-disabled-label-text-color:var(--primary-default)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected .mat-mdc-chip-action:before{--mdc-chip-flat-outline-color:var(--odw-chip-background-selected);--mdc-chip-flat-disabled-outline-color:var(--odw-chip-background-selected)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke:var(--primary-default)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--primary-high-contrast);--mdc-chip-with-icon-disabled-icon-color:var(--primary-high-contrast);--mdc-chip-with-icon-selected-icon-color:var(--primary-high-contrast);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--primary-high-contrast);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--primary-high-contrast)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-action-label,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-action-label,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-action-label{--mdc-chip-label-text-color:var(--primary-high-contrast);--mdc-chip-disabled-label-text-color:var(--primary-high-contrast)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-action:before,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-action:before,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-action:before{--mdc-chip-flat-outline-color:var(--odw-chip-background-selected);--mdc-chip-flat-disabled-outline-color:var(--odw-chip-background-selected)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mdc-evolution-chip__checkmark-path,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mdc-evolution-chip__checkmark-path,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mdc-evolution-chip__checkmark-path{stroke:var(--primary-high-contrast)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected{background-color:var(--odw-chip-background-selected)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted .mdc-evolution-chip__checkmark-path,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected .mdc-evolution-chip__checkmark-path{stroke:var(--primary-default)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:active .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:active .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:active .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:active .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:active .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:active .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:active .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:active .mat-mdc-chip-trailing-icon:hover,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:hover .mat-mdc-chip-avatar,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:hover .mat-mdc-chip-trailing-icon,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:hover .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--primary-high-contrast);--mdc-chip-with-icon-disabled-icon-color:var(--primary-high-contrast);--mdc-chip-with-icon-selected-icon-color:var(--primary-high-contrast);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--primary-high-contrast);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--primary-high-contrast)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-action-label,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:active .mat-mdc-chip-action-label,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-action-label,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-action-label,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:active .mat-mdc-chip-action-label,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:hover .mat-mdc-chip-action-label{--mdc-chip-label-text-color:var(--primary-high-contrast);--mdc-chip-disabled-label-text-color:var(--primary-high-contrast)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-action:before,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:active .mat-mdc-chip-action:before,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-action:before,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-action:before,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:active .mat-mdc-chip-action:before,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:hover .mat-mdc-chip-action:before{--mdc-chip-flat-outline-color:var(--odw-chip-background-selected);--mdc-chip-flat-disabled-outline-color:var(--odw-chip-background-selected)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.cdk-focused .mdc-evolution-chip__checkmark-path,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:active .mdc-evolution-chip__checkmark-path,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mdc-evolution-chip__checkmark-path,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected.cdk-focused .mdc-evolution-chip__checkmark-path,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:active .mdc-evolution-chip__checkmark-path,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:hover .mdc-evolution-chip__checkmark-path{stroke:var(--primary-high-contrast)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay,   .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay{background-color:var(--text-default)}  .mvp-my-tasks-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected{--mdc-chip-label-text-color:var(--text-primary);--odw-chip-background-selected:var(--mvp-prototype-chip-bg)}  .mvp-my-tasks-view .mat-tab-labels{height:28px}  .mvp-my-tasks-view .mat-tab-label{height:28px;min-width:80px}  .mvp-my-tasks-menu{background:var(--surface-default)}  .mvp-my-tasks-menu .mvp-source-select{padding:0 .75rem;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:.75rem;overflow:hidden}  .mvp-my-tasks-menu .mvp-source-select .mat-mdc-checkbox{color:var(--text-default)}  .dark-mode,   .light-mode,   :root{--mvp-prototype-chip-bg:var(--blue-50)}  .dark-mode{--mvp-prototype-chip-bg:#3c4043}\n/*# sourceMappingURL=mvp_my_tasks.css.map */']});var MV=function(){this.hotlistFull=[{type:"Buganizer",icon:"bug_report",id:15432586,priority:"P0",title:"Update the user guide to include info about the new features",date:"May 13, 2023",assignee:"ruihua@google.com"},{type:"Buganizer",icon:"bug_report",id:13548756,priority:"P0",title:"[Security] Potential vulnerability in customer login flow",date:"May 10, 2023",assignee:"judh@google.com"},{type:"Buganizer",icon:"bug_report",priority:"P0",id:11245852,title:"Performance issue - The application is very slow to launch",
date:"May 9, 2023",assignee:"--"},{type:"Buganizer",icon:"bug_report",id:12468545,priority:"P1",title:"Deployment failure - The latest release failed to build",date:"May 3, 2023",assignee:"--"},{type:"Buganizer",icon:"bug_report",id:13654855,priority:"P2",title:"There are 13 new failing unit tests in project Bananas",date:"Apr 10, 2023",assignee:"disun@google.com"},{type:"Buganizer",icon:"bug_report",id:14415474,priority:"P1",title:'Update the user guide "Getting Started" section',date:"Apr 9, 2023",
assignee:"kevinruvalcaba@google.com"},{type:"Buganizer",icon:"bug_report",id:16354846,priority:"P0",title:"The new sort feature is not working as expected",date:"Apr 7, 2023",assignee:"--"},{type:"Buganizer",icon:"bug_report",id:11419658,priority:"P1",title:"Support: A customer is having trouble with editing their profile",date:"Apr 7, 2023",assignee:"ruihmenrightua@google.com"},{type:"Buganizer",icon:"bug_report",id:13142196,priority:"P0",title:"Login button does not work on all browsers",date:"Apr 4, 2023",
assignee:"--"},{type:"Buganizer",icon:"bug_report",id:17784732,priority:"P2",title:"Add a dark mode with adjustable brightness levels",date:"Apr 1, 2023",assignee:"jessicawise@google.com"}];this.tabs="Hotlist abc;Saved search 123;Project apple;Component xyz;Backlog banana;Current iteration".split(";")};MV.\u0275fac=function(a){return new (a||MV)};MV.\u0275prov=nc({token:MV,factory:MV.\u0275fac,providedIn:"root"});var YNc=["addWorkAreaDialog"],ZNc=function(a){return{collapsed:a}},NV=function(a,b,c){this.dialog=a;this.hackyPrefs=b;this.fakeData=c;this.autocompleteControl=new yv("");this.sourceTypes=[{label:"Hotlist",disabled:!1},{label:"Component",disabled:!0},{label:"Project",disabled:!0},{label:"Saved search",disabled:!0},{label:"Taskflow workspace",disabled:!0}];this.currentSourceType="Hotlist";this.cardTitle="Work areas";this.currentViewIndex=0;this.suggestions="3011695318 - High Priority Bugs;3110651874 - Low Priority Bugs;3131967663 - Upvoted issues;3142425766 - Project Bananas;3119124877 - Project Zebrafish;3136285535 - Team Jalisco open issues;3163886186 - Feature requests;3165497868 - High severity;3171679611 - To triage;3116651879 - Last quarter".split(";");
this.displayedColumns="type title id priority created assignee".split(" ")};NV.prototype.isCollapsed=function(){return this.hackyPrefs.prefs.collapsed["mvp-my-work"]};NV.prototype.toggleCollapsed=function(){this.hackyPrefs.toggleCollapsed("mvp-my-work")};var zXa=function(a){Gy(a.dialog.open(a.addDialog)).subscribe(function(b){"cancel"!==b&&void 0!==b&&(a.currentViewIndex=void 0===b?0:b)})};
NV.prototype.ngOnInit=function(){var a=this;this.filteredOptions=this.autocompleteControl.valueChanges.pipe(oe(""),E(function(b){return $Nc(a,b||"")}))};var $Nc=function(a,b){var c=b.toLowerCase();return a.suggestions.filter(function(d){return d.toLowerCase().includes(c)})};NV.\u0275fac=function(a){return new (a||NV)(D(Ly),D(qI),D(MV))};
NV.\u0275cmp=zc({type:NV,selectors:[["mvp-my-work"]],viewQuery:function(a,b){a&1&&jf(YNc,7);if(a&2){var c;hf(c=lf())&&(b.addDialog=c.first)}},decls:12,vars:6,consts:[[1,"mvp-work-areas-view"],[1,"mvp-card","carded","small-tabs"],[1,"mvp-card-header"],[1,"title"],["mat-icon-button","","matTooltip","Toggle card expansion",1,"gmat-button","medium","expansion-toggle",3,"ngClass","click"],[1,"google-material-icons","small-button-icon"],[1,"spacer"],["class","card-content",4,"ngIf"],["addWorkAreaDialog",
""],[1,"card-content"],[4,"ngIf"],[1,"empty-state-content"],"width;140;height;140;viewBox;0 0 210 210;fill;none;xmlns;http://www.w3.org/2000/svg".split(";"),["d","M167.329 35.096a18.29 18.29 0 00-19.002 18.279v.423c-.97-.278-1.974-.42-2.984-.423h-.02a3.373 3.373 0 01-2.71-1.269 13.066 13.066 0 00-13.053-4.792 13.063 13.063 0 108.22 24.626 10.824 10.824 0 0014.723.378 10.823 10.823 0 003.011-4.415 18.284 18.284 0 0023.643-1.225 18.296 18.296 0 005.605-15.564 18.28 18.28 0 00-17.433-16.018z","fill",
"url(#prefix__prefix__paint0_linear_12_6)"],["d","M106.377 184.435a9.92 9.92 0 00-2.29-6.34l-12.002-14.45h45.325l12.002 14.45a9.92 9.92 0 012.29 6.34v.033a9.917 9.917 0 01-2.739 6.842l-.178.19h-45.354l.172-.181a9.917 9.917 0 002.774-6.884z","fill","#F1F3F4"],"opacity;.45;d;M87.67 187.9H42.536v3.401h45.132V187.9z;fill;url(#prefix__prefix__paint1_linear_12_6)".split(";"),["d","M154.026 191.354a5.178 5.178 0 000-10.354h6.709a5.175 5.175 0 013.66 8.837 5.176 5.176 0 01-3.66 1.517h-6.709z","fill","url(#prefix__prefix__paint2_linear_12_6)"],
["d","M160.735 182.75a3.429 3.429 0 013.427 3.427 3.426 3.426 0 01-3.427 3.427v1.75a5.176 5.176 0 003.66-8.838 5.175 5.175 0 00-3.66-1.516v1.75z","fill","#E8EAED"],"opacity;.45;d;M156.82 187.9h-24.677v3.401h24.677V187.9z;fill;url(#prefix__prefix__paint3_linear_12_6)".split(";"),"fill-rule;evenodd;clip-rule;evenodd;d;M72.467 118.74a16.043 16.043 0 0111.343-4.698 4.666 4.666 0 110 9.333 6.709 6.709 0 00-6.708 6.708V178.5a4.667 4.667 0 01-9.333 0v-48.417c0-4.254 1.69-8.334 4.698-11.343z;fill;#BDC1C6".split(";"),
["d","M79.625 189.368a5.153 5.153 0 000-6.385c-.035-.044-.067-.091-.105-.134a5.176 5.176 0 00-1.584-1.266h.537V178.5H66.515v2.94a5.179 5.179 0 002.073 9.917h6.96c.35-.001.698-.036 1.04-.105a5.176 5.176 0 002.917-1.75.34.34 0 00.12-.134zm-5.6-3.191c0 .964-.272 1.909-.785 2.727a3.427 3.427 0 01-1.36-2.729 3.41 3.41 0 011.36-2.728c.517.817.792 1.763.797 2.73h-.012zm-2.383-3.661a5.234 5.234 0 00-.408.467c.13-.164.27-.32.42-.467h-.012zm0 7.321a5.84 5.84 0 01-.408-.469c.13.164.271.32.42.469h-.012z","fill",
"#BDC1C6"],["d","M118.708 184.435a9.92 9.92 0 012.29-6.34L133 163.645H87.672l-12.002 14.45a9.914 9.914 0 00-2.29 6.34v.033a9.917 9.917 0 002.745 6.842l.18.19h45.355l-.175-.181a9.919 9.919 0 01-2.777-6.884z","fill","url(#prefix__prefix__paint4_linear_12_6)"],["d","M117.23 95.078h-11.303v21h11.303v-21z","fill","#BDC1C6"],["d","M105.927 103.746l11.303-1.849v-3.005l-11.303 1.083v3.771z","fill","#9AA0A6"],["d","M55.913 18.515a18.377 18.377 0 0119.08 18.352v.425a10.907 10.907 0 013.01-.425h.018a3.4 3.4 0 002.712-1.284 13.125 13.125 0 114.85 19.918 10.868 10.868 0 01-17.805-4.054 18.374 18.374 0 11-11.866-32.932z",
"fill","url(#prefix__prefix__paint5_linear_12_6)"],["opacity",".15"],["id","prefix__a","maskUnits","userSpaceOnUse","x","79","y","158","width","67","height","13",2,"mask-type","luminance"],["d","M145.86 158.492H79.943v12.054h65.917v-12.054z","fill","#fff"],["mask","url(#prefix__a)"],["d","M149.412 178.095l-12.002-14.45H87.672l-12.002 14.45a9.914 9.914 0 00-2.29 6.34v.033a9.917 9.917 0 002.745 6.842l.18.19h72.48l.178-.19a9.917 9.917 0 002.739-6.842v-.033a9.92 9.92 0 00-2.29-6.34z","fill","#202124"],
["d","M151.699 107.619H84.365v56.292h67.334v-56.292z","fill","#F8F9FA"],["d","M149.985 122.112l-6.74-6.74-11.381 11.381 6.74 6.74 11.381-11.381z","fill","url(#prefix__prefix__paint6_linear_12_6)"],["d","M138.79 107.619H71.455v56.292h67.335v-56.292z","fill","url(#prefix__prefix__paint7_linear_12_6)"],["d","M137.494 59.85l-50.277 5.267a5.932 5.932 0 00-5.282 6.518l2.714 25.91a5.933 5.933 0 006.519 5.282l50.276-5.267a5.932 5.932 0 005.282-6.518l-2.714-25.91a5.932 5.932 0 00-6.518-5.282z","fill","#F8F9FA"],
["d","M131.404 60.49l-50.276 5.266a5.932 5.932 0 00-5.282 6.519l2.714 25.91a5.933 5.933 0 006.518 5.282l50.277-5.267a5.933 5.933 0 005.282-6.518l-2.714-25.91a5.933 5.933 0 00-6.519-5.282z","fill","url(#prefix__prefix__paint8_linear_12_6)"],["d","M129.02 70.523l-43.477 4.555a3.5 3.5 0 00-3.116 3.845l.9 8.598a3.5 3.5 0 003.846 3.117l43.477-4.555a3.5 3.5 0 003.116-3.845l-.9-8.598a3.5 3.5 0 00-3.846-3.117z","fill","#E8F0FE"],["d","M129.016 70.525L85.54 75.078a3.5 3.5 0 00-2.879 2.179 3.461 3.461 0 011.581-.584l43.476-4.553a3.5 3.5 0 013.847 3.13l.898 8.598a3.472 3.472 0 01-.236 1.666 3.506 3.506 0 001.222-1.419 3.51 3.51 0 00.315-1.845l-.901-8.598a3.502 3.502 0 00-3.847-3.127z",
"fill","#D2E3FC"],["d","M94.929 82.289l-1.645.172.172 1.645 1.645-.172-.172-1.645zm1.732.65l-1.645.172.173 1.645 1.645-.172-.173-1.645z","fill","#4285F4"],["d","M98.368 83.371l-1.645.173.173 1.644 1.644-.172-.172-1.645zm1.645-.173l-1.645.172.172 1.645 1.645-.172-.172-1.645zm1.581-.776l-1.644.172.172 1.645 1.645-.172-.173-1.645z","fill","#4285F4"],["d","M103.151 81.428l-1.645.172.172 1.645 1.645-.172-.172-1.645zm11.602-1.217l-1.645.173.172 1.644 1.645-.172-.172-1.645z","fill","#4285F4"],["d","M116.482 80.862l-1.644.172.172 1.645 1.645-.172-.173-1.645z",
"fill","#4285F4"],["d","M118.189 81.294l-1.644.172.172 1.645 1.645-.172-.173-1.645z","fill","#4285F4"],["d","M119.834 81.124l-1.645.172.172 1.645 1.645-.172-.172-1.645zm1.582-.776l-1.645.172.172 1.645 1.645-.172-.172-1.645z","fill","#4285F4"],["d","M122.972 79.351l-1.645.172.172 1.645 1.645-.172-.172-1.645z","fill","#4285F4"],["d","M105.682 93.176a.662.662 0 10-1.317.138l.394 3.76a.662.662 0 101.317-.139l-.394-3.759zm2.898-.303a.661.661 0 10-1.317.138l.394 3.76a.662.662 0 001.317-.139l-.394-3.76zm2.901-.307a.661.661 0 10-1.316.138l.393 3.76a.662.662 0 001.317-.138l-.394-3.76zm2.902-.303a.662.662 0 00-1.317.138l.394 3.76a.662.662 0 101.317-.139l-.394-3.76z",
"fill","#9AA0A6"],["d","M153.081 178.5v-48.417a6.708 6.708 0 00-6.708-6.708 4.667 4.667 0 010-9.333 16.057 16.057 0 0116.042 16.041V178.5h-9.334z","fill","#F1F3F4"],["id","prefix__b","maskUnits","userSpaceOnUse","x","141","y","114","width","22","height","65",2,"mask-type","luminance"],["d","M153.081 178.5v-48.417a6.708 6.708 0 00-6.708-6.708 4.667 4.667 0 010-9.333 16.057 16.057 0 0116.042 16.041V178.5h-9.334z","fill","#fff"],"mask url(#prefix__b) fill-rule evenodd clip-rule evenodd fill #DADCE0".split(" "),
["d","M147.819 111.11c.158.03.262.183.232.341l-2.783 14.612a.291.291 0 11-.573-.109l2.783-14.612a.29.29 0 01.341-.232zm5.088 1.11a.292.292 0 01.133.39l-6.551 13.315a.293.293 0 01-.524-.258l6.551-13.315a.291.291 0 01.391-.132zm4.458 2.355a.29.29 0 01.028.411l-9.748 11.142a.291.291 0 01-.439-.384l9.748-11.142a.291.291 0 01.411-.027zm3.625 3.374a.292.292 0 01-.077.406l-12.218 8.298a.292.292 0 01-.328-.483l12.218-8.298a.292.292 0 01.405.077zm2.636 4.206a.291.291 0 01-.178.372l-13.892 4.918a.292.292 0 01-.195-.55l13.893-4.918a.292.292 0 01.372.178zm1.471 4.843a.293.293 0 01-.268.314l-14.662 1.131a.292.292 0 11-.045-.581l14.662-1.132a.292.292 0 01.313.268zm-14.909 2.699a.292.292 0 01.328-.25l14.54 1.992a.292.292 0 01-.079.578l-14.54-1.992a.29.29 0 01-.249-.328zm-.004 3.161a.292.292 0 01.327-.252l14.53 1.852a.292.292 0 11-.073.578l-14.531-1.852a.292.292 0 01-.253-.326zm-.003 3.159a.292.292 0 01.324-.256l14.519 1.712a.292.292 0 01-.068.58l-14.519-1.713a.29.29 0 01-.256-.323zm0 3.158a.29.29 0 01.321-.258l14.505 1.575a.292.292 0 01-.063.58l-14.505-1.575a.292.292 0 01-.258-.322zm-.003 3.159a.291.291 0 01.319-.262l14.496 1.438a.292.292 0 01-.058.581l-14.496-1.438a.292.292 0 01-.261-.319zm-.004 3.161a.292.292 0 01.317-.264l14.484 1.298a.291.291 0 11-.052.581l-14.484-1.298a.293.293 0 01-.265-.317zm-.003 3.159a.292.292 0 01.314-.268l14.476 1.161a.292.292 0 01-.047.582l-14.475-1.161a.292.292 0 01-.268-.314zm-.003 3.158a.293.293 0 01.312-.27l14.464 1.024a.292.292 0 01-.042.582l-14.463-1.024a.293.293 0 01-.271-.312zm0 3.159a.291.291 0 01.309-.273l14.452.886a.293.293 0 01-.036.583l-14.452-.887a.292.292 0 01-.273-.309zm-.003 3.161a.292.292 0 01.306-.276l14.441.747a.291.291 0 11-.03.582l-14.441-.746a.293.293 0 01-.276-.307zm-.003 3.159a.292.292 0 01.304-.279l14.431.61a.29.29 0 01.279.303.29.29 0 01-.303.279l-14.432-.609a.292.292 0 01-.279-.304zm-.003 3.159a.291.291 0 01.301-.282l14.42.472a.292.292 0 11-.019.583l-14.42-.472a.292.292 0 01-.282-.301zm-.003 3.158a.292.292 0 01.298-.285l14.409.336a.29.29 0 11-.014.583l-14.408-.335a.292.292 0 01-.285-.299zm0 3.162a.292.292 0 01.295-.288l14.397.196a.292.292 0 11-.008.583l-14.396-.196a.29.29 0 01-.288-.295zm-.003 3.158a.291.291 0 01.293-.29l14.385.058a.291.291 0 11-.003.584l-14.385-.059a.29.29 0 01-.29-.293zm14.957 3.077a.292.292 0 01-.29.293l-14.377.079a.291.291 0 11-.003-.583l14.376-.079a.292.292 0 01.294.29z"],
["id","prefix__c","maskUnits","userSpaceOnUse","x","73","y","163","width","60","height","29",2,"mask-type","luminance"],["d","M118.708 184.435a9.92 9.92 0 012.29-6.34L133 163.645H87.672l-12.002 14.45a9.914 9.914 0 00-2.29 6.34v.033a9.917 9.917 0 002.745 6.842l.18.19h45.355l-.175-.181a9.919 9.919 0 01-2.777-6.884z","fill","#fff"],"mask url(#prefix__c) fill-rule evenodd clip-rule evenodd".split(" "),["d","M130.853 168.02H80.809v-1.166h50.044v1.166z","fill","#80868B"],["d","M128.698 172.2H78.07v-1.167h50.628v1.167z",
"fill","#8C9297"],["d","M126.54 176.38H75.332v-1.167h51.208v1.167z","fill","#989EA3"],["d","M124.384 180.559H72.593v-1.166h51.791v1.166z","fill","#A5A9AE"],["d","M122.229 184.739H69.851v-1.167h52.378v1.167z","fill","#B1B5BA"],["d","M120.07 188.918H67.113v-1.166h52.957v1.166z","fill","#BDC1C6"],["d","M160.484 191.354a5.178 5.178 0 010-10.354h-6.709a5.175 5.175 0 00-3.66 8.837 5.176 5.176 0 003.66 1.517h6.709z","fill","url(#prefix__prefix__paint9_linear_12_6)"],["d","M160.484 181a5.177 5.177 0 100 10.354v-1.75a3.428 3.428 0 110-6.854V181z",
"fill","#E8EAED"],["d","M163.651 178.494h-11.949v3.089h11.949v-3.089z","fill","url(#prefix__prefix__paint10_linear_12_6)"],["d","M45.5 72.295a28.154 28.154 0 0117.938-26.25 28.145 28.145 0 100 52.471A28.154 28.154 0 0145.5 72.296z","fill","url(#prefix__prefix__paint11_linear_12_6)"],"id prefix__prefix__paint0_linear_12_6 x1 152.06 y1 62.198 x2 152.06 y2 22.4 gradientUnits userSpaceOnUse".split(" "),["stop-color","#DADCE0","stop-opacity","0"],["offset","1","stop-color","#DADCE0"],"id prefix__prefix__paint1_linear_12_6 x1 42.537 y1 189.604 x2 87.669 y2 189.604 gradientUnits userSpaceOnUse".split(" "),
["stop-color","#202124","stop-opacity","0"],["offset","1","stop-color","#202124"],"id prefix__prefix__paint2_linear_12_6 x1 165.912 y1 186.177 x2 154.026 y2 186.177 gradientUnits userSpaceOnUse".split(" "),["stop-color","#BDC1C6"],"id prefix__prefix__paint3_linear_12_6 x1 132.143 y1 189.604 x2 156.82 y2 189.604 gradientUnits userSpaceOnUse".split(" "),"id prefix__prefix__paint4_linear_12_6 x1 103.189 y1 162.496 x2 103.189 y2 176.426 gradientUnits userSpaceOnUse".split(" "),"id prefix__prefix__paint5_linear_12_6 x1 71.248 y1 45.73 x2 71.248 y2 5.766 gradientUnits userSpaceOnUse".split(" "),
"id prefix__prefix__paint6_linear_12_6 x1 146.765 y1 118.596 x2 139.702 y2 125.659 gradientUnits userSpaceOnUse".split(" "),["stop-color","#DADCE0"],["offset","1","stop-color","#F1F3F4"],"id prefix__prefix__paint7_linear_12_6 x1 131.816 y1 124.623 x2 77.079 y2 147.47 gradientUnits userSpaceOnUse".split(" "),["stop-color","#F1F3F4"],"id prefix__prefix__paint8_linear_12_6 x1 134.325 y1 74.667 x2 76.767 y2 90.805 gradientUnits userSpaceOnUse".split(" "),"id prefix__prefix__paint9_linear_12_6 x1 148.598 y1 186.177 x2 160.484 y2 186.177 gradientUnits userSpaceOnUse".split(" "),
"id prefix__prefix__paint10_linear_12_6 x1 151.702 y1 180.037 x2 163.651 y2 180.037 gradientUnits userSpaceOnUse".split(" "),"id prefix__prefix__paint11_linear_12_6 x1 44.269 y1 110.066 x2 44.269 y2 38.31 gradientUnits userSpaceOnUse".split(" "),["color","primary","mat-flat-button","",3,"click"],[1,"google-material-icons"],["mat-align-tabs","start","gmat-tabs",""],["label","Hotlist ABC"],[1,"mvp-tab-controls"],[1,"mvp-big-chip"],[1,"mvp-tab-chips"],["multiple",""],["appearance","hairline-suggestive",
"selected","true"],["mat-button","",1,"gmat-button","medium"],["inline","",1,"google-material-icons"],["mat-icon-button","","matTooltip","Help","aria-label","Help","aria-haspopup","true",1,"gmat-button","medium"],[3,"dataSource"],["matColumnDef","type"],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","title"],["matColumnDef","id"],["matColumnDef","priority"],["matColumnDef","created"],["matColumnDef","assignee"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],[1,"mvp-bottom-controls"],
[1,"mvp-dialog"],[1,"mvp-inputs"],[1,"gmat-headline-6"],["mat-stroked-button","",1,"mvp-source-menu-button",3,"matMenuTriggerFor"],[1,"mvp-work-areas-menu"],["sourceType","matMenu"],["mat-menu-item","",3,"disabled","click",4,"ngFor","ngForOf"],["appearance","outline",1,"mvp-hotlist-input"],["matInput","","type","text","placeholder","Search by name or Id","aria-label","Choose hotlist",3,"formControl","matAutocomplete"],["auto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],[1,"mvp-preview"],["src",
"https://screenshot.googleplex.com/BdAt34uZXes4UDX.png","alt","image of prototype UI",2,"width","415px"],["align","end",2,"padding-right","24px"],["mat-button","","color","primary",3,"click"],["mat-flat-button","","color","primary",3,"click"],["mat-menu-item","",3,"disabled","click"],[3,"value"]],template:function(a,b){a&1&&(H(0,"main",0)(1,"section",1)(2,"div",2)(3,"h2",3),S(4),J(),H(5,"button",4),O("click",function(){return b.toggleCollapsed()}),H(6,"mat-icon",5),S(7,"expand_less"),J()(),K(8,"span",
6),J(),R(9,RXa,3,2,"div",7),J()(),R(10,UXa,30,8,"ng-template",null,8,of));a&2&&(C(4),Ve(b.cardTitle),C(1),G("ngClass",Ze(4,ZNc,b.isCollapsed())),Ae("aria-label",b.isCollapsed?"Expand card":"Collapse card"),C(4),G("ngIf",!b.isCollapsed()))},dependencies:[Ru,Su,Tu,yy,jz,Af,tv,BV,GV,FV,IV,HA,FA,LA,JV,KN,CN,GN,DN,BN,HN,EN,FN,IN,JN,$O,ZO,Ay,Py,Yy,az,NM,MM,Fv,Zu,bv],styles:['[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]{margin-top:24px;background:var(--surface-default)}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .mvp-card-header[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;gap:4px}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .mvp-card-header[_ngcontent-%COMP%]   .expansion-toggle[_ngcontent-%COMP%]{-webkit-transition:rotate .3s;transition:rotate .3s}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .mvp-card-header[_ngcontent-%COMP%]   .expansion-toggle.collapsed[_ngcontent-%COMP%]{rotate:180deg}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .mvp-card-header[_ngcontent-%COMP%]   .small-button-icon[_ngcontent-%COMP%]{font-size:1.125rem}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .mvp-card-header[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{margin:0}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .mvp-card-header[_ngcontent-%COMP%]   .spacer[_ngcontent-%COMP%]{-webkit-box-flex:1;-webkit-flex:1 1 auto;-moz-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .mvp-big-chip[_ngcontent-%COMP%]{font-weight:500;border:1px solid var(--hairline);border-radius:4px;cursor:pointer;padding:.5rem .75rem;min-width:64px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:.5rem}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .mvp-big-chip[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], [_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .mvp-big-chip[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin:0}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .mvp-big-chip[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:1.25rem;fount-weight:500}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .mvp-big-chip[_ngcontent-%COMP%]:hover{border-color:var(--primary-default)}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .mvp-bottom-controls[_ngcontent-%COMP%]{height:36px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .priority-badge[_ngcontent-%COMP%]{padding:0 .25rem;border-radius:.25rem;font-weight:500;margin-right:.5rem;border:1px solid transparent}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .priority-badge.P0[_ngcontent-%COMP%]{border:1px solid var(--primary-default);background:var(--primary-default);color:var(--text-inverse)}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-card[_ngcontent-%COMP%]   .priority-badge.P1[_ngcontent-%COMP%]{border:1px solid var(--primary-default)}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   mat-footer-row[_ngcontent-%COMP%], [_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   mat-header-row[_ngcontent-%COMP%], [_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   mat-row[_ngcontent-%COMP%]{min-height:2rem;border-bottom:1px solid var(--hairline)}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   mat-cell[_ngcontent-%COMP%], [_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   mat-header-cell[_ngcontent-%COMP%]{border:none}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   mat-header-cell[_ngcontent-%COMP%]{font-weight:500}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .empty-state-content[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center;gap:.625rem}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .empty-state-content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-family:Google Sans;font-size:.875rem;font-weight:500;line-height:1rem}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-tab-chips[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;gap:.5rem;padding:0;border-bottom:1px solid var(--hairline)}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-tab-chips[_ngcontent-%COMP%]   .spacer[_ngcontent-%COMP%]{-webkit-box-flex:1;-webkit-flex:1 1 auto;-moz-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-tab-chips[_ngcontent-%COMP%]   .chip-button[_ngcontent-%COMP%]{background:var(--mvp-prototype-chip-bg);padding:0 8px 0 12px;height:1.5rem;line-height:1.5rem;margin:6px 0;border-radius:.5rem;font-weight:400}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mvp-tab-controls[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;gap:.5rem;padding:.5rem 0;border-bottom:1px solid var(--hairline)}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mat-mdc-cell[_ngcontent-%COMP%], [_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mat-mdc-header-cell[_ngcontent-%COMP%]{padding:0 .75rem}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mat-column-type[_ngcontent-%COMP%]{width:48px;-webkit-box-flex:0;-webkit-flex:0 1 auto;-moz-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mat-column-priority[_ngcontent-%COMP%]{width:64px;-webkit-box-flex:0;-webkit-flex:0 1 auto;-moz-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mat-column-assignee[_ngcontent-%COMP%]{min-width:250px;width:10%;-webkit-box-flex:0;-webkit-flex:0 1 auto;-moz-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}[_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mat-column-created[_ngcontent-%COMP%], [_nghost-%COMP%]   .mvp-work-areas-view[_ngcontent-%COMP%]   .mat-column-id[_ngcontent-%COMP%]{min-width:120px;width:10%;-webkit-box-flex:0;-webkit-flex:0 1 auto;-moz-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}  .mvp-work-areas-view .mat-mdc-standard-chip{--mdc-chip-disabled-label-text-color:#212121;--mdc-chip-elevated-container-color:#e0e0e0;--mdc-chip-elevated-disabled-container-color:#e0e0e0;--mdc-chip-label-text-color:#212121;--mdc-chip-with-icon-icon-color:#212121;--mdc-chip-with-icon-disabled-icon-color:#212121;--mdc-chip-with-icon-selected-icon-color:#212121;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:#212121;--mdc-chip-with-trailing-icon-trailing-icon-color:#212121}  .mvp-work-areas-view .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-primary,   .mvp-work-areas-view .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-primary{--mdc-chip-disabled-label-text-color:#fff;--mdc-chip-elevated-container-color:#2196f3;--mdc-chip-elevated-disabled-container-color:#2196f3;--mdc-chip-label-text-color:#fff;--mdc-chip-with-icon-icon-color:#fff;--mdc-chip-with-icon-disabled-icon-color:#fff;--mdc-chip-with-icon-selected-icon-color:#fff;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:#fff;--mdc-chip-with-trailing-icon-trailing-icon-color:#fff}  .mvp-work-areas-view .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-accent,   .mvp-work-areas-view .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-accent{--mdc-chip-disabled-label-text-color:rgba(0,0,0,.87);--mdc-chip-elevated-container-color:#ff9800;--mdc-chip-elevated-disabled-container-color:#ff9800;--mdc-chip-label-text-color:rgba(0,0,0,.87);--mdc-chip-with-icon-icon-color:rgba(0,0,0,.87);--mdc-chip-with-icon-disabled-icon-color:rgba(0,0,0,.87);--mdc-chip-with-icon-selected-icon-color:rgba(0,0,0,.87);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:rgba(0,0,0,.87);--mdc-chip-with-trailing-icon-trailing-icon-color:rgba(0,0,0,.87)}  .mvp-work-areas-view .mat-mdc-standard-chip.mat-mdc-chip-highlighted.mat-warn,   .mvp-work-areas-view .mat-mdc-standard-chip.mat-mdc-chip-selected.mat-warn{--mdc-chip-disabled-label-text-color:#fff;--mdc-chip-elevated-container-color:#f44336;--mdc-chip-elevated-disabled-container-color:#f44336;--mdc-chip-label-text-color:#fff;--mdc-chip-with-icon-icon-color:#fff;--mdc-chip-with-icon-disabled-icon-color:#fff;--mdc-chip-with-icon-selected-icon-color:#fff;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:#fff;--mdc-chip-with-trailing-icon-trailing-icon-color:#fff}  .mvp-work-areas-view .mat-mdc-chip-focus-overlay{background:#000}  .mvp-work-areas-view .mat-mdc-standard-chip{--mdc-chip-label-text-font:Roboto,"Helvetica Neue",sans-serif;--mdc-chip-label-text-line-height:20px;--mdc-chip-label-text-size:14px;--mdc-chip-label-text-tracking:normal;--mdc-chip-label-text-weight:400}  .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip .mdc-evolution-chip__action--primary{padding-left:16px;padding-right:16px}  .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip .mdc-evolution-chip__action--primary[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip .mdc-evolution-chip__action--primary{padding-left:16px;padding-right:16px}  .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:8px}  .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:8px}  .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:16px}  .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:16px;padding-right:0}  .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:18px}  .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip .mdc-evolution-chip__graphic{height:18px;width:18px;font-size:18px}  .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip .mdc-evolution-chip__icon--primary{height:18px;width:18px;font-size:18px}  .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip .mdc-evolution-chip__text-label{font-family:Google Sans,Roboto,Arial,sans-serif;font-size:.875rem;letter-spacing:.0178571429em;font-weight:500}  .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-right:0}[dir=rtl][_ngcontent-%COMP%]     .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:16px}  .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}  .mvp-work-areas-view .gmat-mdc-chip.gmat-hairline-chip .mdc-evolution-chip__action--primary:before{border-style:solid}  .mvp-work-areas-view .gmat-mdc-chip.gmat-hairline-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary:before{border-color:transparent;border-color:var(--mdc-chip-flat-outline-color,transparent)}  .mvp-work-areas-view .gmat-mdc-chip.gmat-hairline-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary:before{border-color:transparent;border-color:var(--mdc-chip-flat-disabled-outline-color,transparent)}  .mvp-work-areas-view .gmat-mdc-chip.gmat-hairline-chip .mdc-evolution-chip__action--primary:before{border-width:1px;border-width:var(--mdc-chip-flat-outline-width,1px)}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip .mdc-evolution-chip__action--primary[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:6px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:6px;padding-right:8px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:auto}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:auto;right:8px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:6px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:6px;padding-right:8px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:auto}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:auto;right:8px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl], [dir=rtl][_ngcontent-%COMP%]     .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:18px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip .mdc-evolution-chip__graphic{height:18px;width:18px;font-size:18px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip .mdc-evolution-chip__icon--primary{height:18px;width:18px;font-size:18px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip .mdc-evolution-chip__text-label{font-family:Roboto,Arial,sans-serif;font-size:.875rem;letter-spacing:.0178571429em;font-weight:500}  .mvp-work-areas-view .gmat-mdc-chip.gmat-suggestive-chip{border-radius:8px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-suggestive-chip .mdc-evolution-chip__ripple{border-radius:8px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-suggestive-chip .mdc-evolution-chip__action--primary:before{border-radius:8px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-suggestive-chip .mdc-evolution-chip__icon--primary{border-radius:8px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-filter-chip{border-radius:8px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-filter-chip .mdc-evolution-chip__ripple{border-radius:8px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-filter-chip .mdc-evolution-chip__action--primary:before{border-radius:8px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-filter-chip .mdc-evolution-chip__icon--primary{border-radius:8px}  .mvp-work-areas-view .gmat-mdc-chip.gmat-protected-chip{-webkit-transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1);transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1);box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 1px 3px 1px rgba(60,64,67,.15)}  .mvp-work-areas-view .gmat-mdc-chip.gmat-protected-chip:hover{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 2px 6px 2px rgba(60,64,67,.15)}  .mvp-work-areas-view .gmat-mdc-chip.gmat-protected-chip:active{box-shadow:0 1px 3px 0 rgba(60,64,67,.3),0 4px 8px 3px rgba(60,64,67,.15)}  .mvp-work-areas-view .gmat-mdc-chip.gmat-protected-chip.mat-mdc-chip-disabled{box-shadow:none}  .mvp-work-areas-view .gmat-mdc-chip .mat-mdc-chip-trailing-icon{opacity:.9}  .mvp-work-areas-view .gmat-mdc-chip{--mdc-chip-label-text-color:#5f6368;--mdc-chip-disabled-label-text-color:rgba(60,64,67,.38);--mdc-chip-with-icon-icon-color:#5f6368;--mdc-chip-with-icon-disabled-icon-color:rgba(60,64,67,.38);--mdc-chip-with-icon-selected-icon-color:#5f6368;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:#5f6368;--mdc-chip-with-trailing-icon-trailing-icon-color:#5f6368}  .mvp-work-areas-view .gmat-mdc-chip.gmat-hairline-chip{--mdc-chip-elevated-container-color:transparent;--mdc-chip-elevated-disabled-container-color:transparent;--mdc-chip-flat-outline-color:#dadce0;--mdc-chip-flat-disabled-outline-color:#dadce0}  .mvp-work-areas-view .gmat-mdc-chip.gmat-protected-chip{--mdc-chip-elevated-container-color:#fff;--mdc-chip-elevated-disabled-container-color:#fff}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected{--mdc-chip-elevated-container-color:#e3f2fd;--mdc-chip-elevated-disabled-container-color:#e3f2fd;--mdc-chip-label-text-color:#1976d2;--mdc-chip-disabled-label-text-color:#1976d2;--mdc-chip-with-icon-icon-color:#1976d2;--mdc-chip-with-icon-disabled-icon-color:#1976d2;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:#1976d2;--mdc-chip-with-trailing-icon-trailing-icon-color:#1976d2;--mdc-chip-with-icon-selected-icon-color:#1976d2;--mdc-chip-flat-outline-color:transparent;--mdc-chip-flat-disabled-outline-color:transparent}  .mvp-work-areas-view .gmat-mdc-chip.mat-accent.mat-mdc-chip-highlighted,   .mvp-work-areas-view .gmat-mdc-chip.mat-accent.mat-mdc-chip-selected{--mdc-chip-elevated-container-color:#fff3e0;--mdc-chip-elevated-disabled-container-color:#fff3e0;--mdc-chip-label-text-color:#f57c00;--mdc-chip-disabled-label-text-color:#f57c00;--mdc-chip-with-icon-icon-color:#f57c00;--mdc-chip-with-icon-disabled-icon-color:#f57c00;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:#f57c00;--mdc-chip-with-trailing-icon-trailing-icon-color:#f57c00;--mdc-chip-with-icon-selected-icon-color:#f57c00;--mdc-chip-flat-outline-color:transparent;--mdc-chip-flat-disabled-outline-color:transparent}  .mvp-work-areas-view .gmat-mdc-chip.mat-warn.mat-mdc-chip-highlighted,   .mvp-work-areas-view .gmat-mdc-chip.mat-warn.mat-mdc-chip-selected{--mdc-chip-elevated-container-color:#ffebee;--mdc-chip-elevated-disabled-container-color:#ffebee;--mdc-chip-label-text-color:#d32f2f;--mdc-chip-disabled-label-text-color:#d32f2f;--mdc-chip-with-icon-icon-color:#d32f2f;--mdc-chip-with-icon-disabled-icon-color:#d32f2f;--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:#d32f2f;--mdc-chip-with-trailing-icon-trailing-icon-color:#d32f2f;--mdc-chip-with-icon-selected-icon-color:#d32f2f;--mdc-chip-flat-outline-color:transparent;--mdc-chip-flat-disabled-outline-color:transparent}  .mvp-work-areas-view .mat-mdc-chip.mat-mdc-standard-chip{--mdc-chip-container-height:24px}  .mvp-work-areas-view .gmat-mdc-chip{--mdc-ripple-color:var(--text-default);--odw-chip-background-selected:var(--blue-50);--odw-chip-assistive-background-selected:var(--blue-100)}  .mvp-work-areas-view .gmat-mdc-chip:not([disabled]){cursor:pointer}.dark-mode[_ngcontent-%COMP%]  .mvp-work-areas-view .gmat-mdc-chip{--odw-chip-background-selected:#3c4043;--odw-chip-assistive-background-selected:#3c4043}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected:hover,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected:hover,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected:hover{--mdc-ripple-color:var(--odw-chip-background-selected);background-color:var(--odw-chip-background-selected)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected:hover .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected:hover .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected:hover .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--primary-default);--mdc-chip-with-icon-disabled-icon-color:var(--primary-default);--mdc-chip-with-icon-selected-icon-color:var(--primary-default);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--primary-default);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--primary-default)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted .mat-mdc-chip-action-label,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected .mat-mdc-chip-action-label,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected:hover .mat-mdc-chip-action-label,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-action-label,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected .mat-mdc-chip-action-label,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected .mat-mdc-chip-action-label,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected:hover .mat-mdc-chip-action-label,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected:hover .mat-mdc-chip-action-label{--mdc-chip-label-text-color:var(--primary-default);--mdc-chip-disabled-label-text-color:var(--primary-default)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted .mat-mdc-chip-action:before,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected .mat-mdc-chip-action:before,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.mdc-evolution-chip--selected:hover .mat-mdc-chip-action:before,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-action:before,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected .mat-mdc-chip-action:before,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected .mat-mdc-chip-action:before,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected.mdc-evolution-chip--selected:hover .mat-mdc-chip-action:before,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected:hover .mat-mdc-chip-action:before{--mdc-chip-flat-outline-color:var(--odw-chip-background-selected);--mdc-chip-flat-disabled-outline-color:var(--odw-chip-background-selected)}  .mvp-work-areas-view .gmat-mdc-chip .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip-disabled .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip-disabled .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip-disabled .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip-disabled .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--text-secondary);--mdc-chip-with-icon-disabled-icon-color:var(--text-secondary);--mdc-chip-with-icon-selected-icon-color:var(--text-secondary);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--text-secondary);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--text-secondary)}  .mvp-work-areas-view .gmat-mdc-chip .mat-mdc-chip-action-label,   .mvp-work-areas-view .gmat-mdc-chip.mat-mdc-chip-disabled .mat-mdc-chip-action-label{--mdc-chip-label-text-color:var(--text-secondary);--mdc-chip-disabled-label-text-color:var(--text-secondary)}  .mvp-work-areas-view .gmat-mdc-chip.cdk-focused .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.cdk-focused .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.cdk-focused .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.cdk-focused .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip:active .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip:active .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip:active .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip:active .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip:hover .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip:hover .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip:hover .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--text-default);--mdc-chip-with-icon-disabled-icon-color:var(--text-default);--mdc-chip-with-icon-selected-icon-color:var(--text-default);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--text-default);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--text-default)}  .mvp-work-areas-view .gmat-mdc-chip.cdk-focused .mat-mdc-chip-action-label,   .mvp-work-areas-view .gmat-mdc-chip:active .mat-mdc-chip-action-label,   .mvp-work-areas-view .gmat-mdc-chip:hover .mat-mdc-chip-action-label{--mdc-chip-label-text-color:var(--text-default);--mdc-chip-disabled-label-text-color:var(--text-default)}  .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--text-secondary);--mdc-chip-with-icon-disabled-icon-color:var(--text-secondary);--mdc-chip-with-icon-selected-icon-color:var(--text-secondary);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--text-secondary);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--text-secondary)}  .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip .mat-mdc-chip-action-label{--mdc-chip-label-text-color:var(--text-secondary);--mdc-chip-disabled-label-text-color:var(--text-secondary)}  .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip.cdk-focused .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip.cdk-focused .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip.cdk-focused .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip.cdk-focused .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip:active .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip:active .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip:active .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip:active .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip:hover .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip:hover .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip:hover .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--text-default);--mdc-chip-with-icon-disabled-icon-color:var(--text-default);--mdc-chip-with-icon-selected-icon-color:var(--text-default);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--text-default);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--text-default)}  .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip.cdk-focused .mat-mdc-chip-action-label,   .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip:active .mat-mdc-chip-action-label,   .mvp-work-areas-view .gmat-mdc-chip.gmat-assistive-chip:hover .mat-mdc-chip-action-label{--mdc-chip-label-text-color:var(--text-default);--mdc-chip-disabled-label-text-color:var(--text-default)}  .mvp-work-areas-view .gmat-mdc-chip.gmat-hairline-chip .mat-mdc-chip-action:before{--mdc-chip-flat-outline-color:var(--hairline);--mdc-chip-flat-disabled-outline-color:var(--hairline)}  .mvp-work-areas-view .gmat-mdc-chip.gmat-hairline-chip.cdk-focused .mat-mdc-chip-action:before{--mdc-chip-flat-outline-color:var(--text-default);--mdc-chip-flat-disabled-outline-color:var(--text-default)}  .mvp-work-areas-view .gmat-mdc-chip.gmat-hairline-chip.gmat-selectable-chip.mdc-evolution-chip--selected:hover{box-shadow:0 1px 2px 0 var(--elevation),0 1px 3px 1px var(--elevation)}  .mvp-work-areas-view .gmat-mdc-chip.gmat-input-chip .mat-mdc-chip-action-label{--mdc-chip-label-text-color:var(--text-secondary);--mdc-chip-disabled-label-text-color:var(--text-secondary)}  .mvp-work-areas-view .gmat-mdc-chip.gmat-mdc-chip.gmat-protected-chip{background:var(--page-bg);box-shadow:0 1px 2px 0 var(--elevation),0 1px 3px 1px var(--elevation)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--primary-default);--mdc-chip-with-icon-disabled-icon-color:var(--primary-default);--mdc-chip-with-icon-selected-icon-color:var(--primary-default);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--primary-default);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--primary-default)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--primary-high-contrast);--mdc-chip-with-icon-disabled-icon-color:var(--primary-high-contrast);--mdc-chip-with-icon-selected-icon-color:var(--primary-high-contrast);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--primary-high-contrast);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--primary-high-contrast)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.gmat-input-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-action:before{--mdc-chip-flat-outline-color:var(--odw-chip-background-selected);--mdc-chip-flat-disabled-outline-color:var(--odw-chip-background-selected)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.gmat-input-chip.mdc-evolution-chip--selected .mat-mdc-chip-action:before{--mdc-chip-flat-outline-color:var(--odw-chip-background-selected);--mdc-chip-flat-disabled-outline-color:var(--odw-chip-background-selected)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected{--mdc-ripple-color:var(--primary-default);background-color:var(--odw-chip-background-selected)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--primary-default);--mdc-chip-with-icon-disabled-icon-color:var(--primary-default);--mdc-chip-with-icon-selected-icon-color:var(--primary-default);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--primary-default);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--primary-default)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected .mat-mdc-chip-action-label{--mdc-chip-label-text-color:var(--primary-default);--mdc-chip-disabled-label-text-color:var(--primary-default)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected .mat-mdc-chip-action:before{--mdc-chip-flat-outline-color:var(--odw-chip-background-selected);--mdc-chip-flat-disabled-outline-color:var(--odw-chip-background-selected)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke:var(--primary-default)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--primary-high-contrast);--mdc-chip-with-icon-disabled-icon-color:var(--primary-high-contrast);--mdc-chip-with-icon-selected-icon-color:var(--primary-high-contrast);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--primary-high-contrast);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--primary-high-contrast)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-action-label,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-action-label,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-action-label{--mdc-chip-label-text-color:var(--primary-high-contrast);--mdc-chip-disabled-label-text-color:var(--primary-high-contrast)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mat-mdc-chip-action:before,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mat-mdc-chip-action:before,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mat-mdc-chip-action:before{--mdc-chip-flat-outline-color:var(--odw-chip-background-selected);--mdc-chip-flat-disabled-outline-color:var(--odw-chip-background-selected)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected.cdk-focused .mdc-evolution-chip__checkmark-path,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:active .mdc-evolution-chip__checkmark-path,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.gmat-selectable-chip.mdc-evolution-chip--selected:hover .mdc-evolution-chip__checkmark-path{stroke:var(--primary-high-contrast)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected{background-color:var(--odw-chip-background-selected)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted .mdc-evolution-chip__checkmark-path,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected .mdc-evolution-chip__checkmark-path{stroke:var(--primary-default)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:active .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:active .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:active .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:active .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:active .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:active .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:active .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:active .mat-mdc-chip-trailing-icon:hover,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:hover .mat-mdc-chip-avatar,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:hover .mat-mdc-chip-trailing-icon,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:hover .mat-mdc-chip-trailing-icon:focus,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:hover .mat-mdc-chip-trailing-icon:hover{--mdc-chip-with-icon-icon-color:var(--primary-high-contrast);--mdc-chip-with-icon-disabled-icon-color:var(--primary-high-contrast);--mdc-chip-with-icon-selected-icon-color:var(--primary-high-contrast);--mdc-chip-with-trailing-icon-disabled-trailing-icon-color:var(--primary-high-contrast);--mdc-chip-with-trailing-icon-trailing-icon-color:var(--primary-high-contrast)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-action-label,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:active .mat-mdc-chip-action-label,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-action-label,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-action-label,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:active .mat-mdc-chip-action-label,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:hover .mat-mdc-chip-action-label{--mdc-chip-label-text-color:var(--primary-high-contrast);--mdc-chip-disabled-label-text-color:var(--primary-high-contrast)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-action:before,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:active .mat-mdc-chip-action:before,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mat-mdc-chip-action:before,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-action:before,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:active .mat-mdc-chip-action:before,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:hover .mat-mdc-chip-action:before{--mdc-chip-flat-outline-color:var(--odw-chip-background-selected);--mdc-chip-flat-disabled-outline-color:var(--odw-chip-background-selected)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted.cdk-focused .mdc-evolution-chip__checkmark-path,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:active .mdc-evolution-chip__checkmark-path,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted:hover .mdc-evolution-chip__checkmark-path,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected.cdk-focused .mdc-evolution-chip__checkmark-path,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:active .mdc-evolution-chip__checkmark-path,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected:hover .mdc-evolution-chip__checkmark-path{stroke:var(--primary-high-contrast)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay,   .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay{background-color:var(--text-default)}  .mvp-work-areas-view .gmat-mdc-chip.mat-primary.mdc-evolution-chip--selected{--mdc-chip-label-text-color:var(--text-primary);--odw-chip-background-selected:var(--mvp-prototype-chip-bg)}  .mvp-work-areas-view .mat-tab-labels{height:28px}  .mvp-work-areas-view .mat-tab-label{height:28px;min-width:80px}  .mvp-dialog{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;border-bottom:1px solid var(--hairline)}  .mvp-dialog .mvp-inputs{width:50%;padding:0 1.5rem;border-right:1px solid var(--hairline)}  .mvp-dialog .mvp-inputs p{margin:.75rem 0}  .mvp-dialog .mvp-preview{width:50%;padding:0 1.5rem}  .mvp-dialog .mvp-source-menu-button{width:350px}  .mvp-dialog .mvp-source-menu-button .mat-button-wrapper{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}  .mvp-dialog .mvp-hotlist-input{width:400px}  .mvp-dialog .mvp-hotlist-input .mat-form-field-outline{top:0}  .mvp-dialog .mvp-hotlist-input .mat-form-field-infix{border:none}  .mvp-dialog .mvp-hotlist-input input{font-size:1rem}  .mvp-work-areas-menu{background:var(--surface-default)}  .mvp-work-areas-menu .mvp-source-select{padding:0 .75rem;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:.75rem;overflow:hidden}  .mvp-work-areas-menu .mvp-source-select .mat-mdc-checkbox{color:var(--text-default)}  .mvp-dialog{margin:-24px -24px 0}\n/*# sourceMappingURL=mvp_my_work.css.map */']});var OV=function(a){r.call(this,a)};V(OV,r);f=OV.prototype;f.getSignalsList=function(){return Gj(this,6)};f.setSignalsList=function(a){Oj(this,6,a)};f.getCount=function(){return Ag(this,1)};f.setCount=function(a){return n(this,1,a)};f.setS=function(a){n(this,2,a)};f.setP=function(a){return n(this,3,a)};f.getNextPageToken=function(){return mh(this,4)};f.setTrackerIdsList=function(a){$h(this,5,a)};OV.repeatedFields_=[6,5];
OV.prototype.toObject=function(){if(null!=this){t(this);var a={signalsList:p(Gj(this,6)),count:p(Cb(this,1)),s:p(m(this,2)),p:p(Cb(this,3)),nextPageToken:p(m(this,4)),trackerIdsList:p(Bg(this,5))}}else a=void 0;return a};OV.prototype.serializeBinary=u([OV,6,Pq,1,wq,2,Cq,3,wq,4,Cq,5,oq]);var PV=function(a){r.call(this,a)};V(PV,r);PV.prototype.getTimestamp=function(){return W(this,ug,2)};PV.prototype.setTimestamp=function(a){return Oh(this,ug,2,a)};PV.prototype.hasTimestamp=function(){return qi(this,ug,2)};PV.prototype.toObject=function(){return aOc(this)};var aOc=function(a){if(null!=a)return t(a),{signalType:p(m(a,1)),timestamp:pr(a.getTimestamp())}},bOc=[PV,1,Nq,2,X,qr];PV.prototype.serializeBinary=u(bOc);var $m=function(a){r.call(this,a)};V($m,r);$m.prototype.getIssue=function(){return W(this,ii,1)};$m.prototype.setIssue=function(a){Oh(this,ii,1,a)};$m.prototype.getSignalsList=function(){return yg(this,PV,2)};$m.prototype.setSignalsList=function(a){Th(this,2,a)};$m.repeatedFields_=[2];$m.prototype.toObject=function(){return cOc(this)};var cOc=function(a){if(null!=a)return t(a),{issue:QD(a.getIssue()),signalsList:Mb(a.getSignalsList(),aOc)}},dOc=[$m,1,X,RD,2,Iq,bOc];$m.prototype.serializeBinary=u(dOc);var QV=function(a){r.call(this,a,0,QV.messageId)};V(QV,r);QV.prototype.getNumTotalResults=function(){return Ag(this,2)};QV.prototype.getComponentsMap=function(){return Ii(this,3,Gi)};QV.prototype.getNextPageToken=function(){return mh(this,4)};QV.repeatedFields_=[1];QV.prototype.toObject=function(){if(null!=this){t(this);var a={issuesWithSignalsList:Mb(yg(this,$m,1),cOc),numTotalResults:p(Cb(this,2)),componentsMap:Ob(this.getComponentsMap(),$D),nextPageToken:p(m(this,4))}}else a=void 0;return a};
QV.prototype.serializeBinary=u([QV,1,Iq,dOc,2,wq,3,Sq,aE,4,Cq]);QV.messageId="b.NeedsAttentionSearchResponse";var RV=function(a){r.call(this,a)};V(RV,r);RV.prototype.getIssueIdsList=function(){return Wj(this,1)};RV.prototype.setIssueIdsList=function(a){return bb(this,1,a,Ta)};RV.prototype.addIssueIds=function(a){eb(this,1,a)};RV.repeatedFields_=[1];RV.prototype.toObject=function(){if(null!=this){t(this);var a={issueIdsList:p(Wj(this,1)),dismissed:p(Db(this,2))}}else a=void 0;return a};RV.prototype.serializeBinary=u([RV,1,rq,2,zq]);var SV=function(a){r.call(this,a,0,SV.messageId)};V(SV,r);SV.prototype.toObject=function(){if(null!=this){t(this);var a={dismissTimestamp:pr(W(this,ug,1))}}else a=void 0;return a};SV.prototype.serializeBinary=u([SV,1,X,qr]);SV.messageId="b.UpdateIssueDismissTimestampResponse";var TV=function(a,b){this.executor=a;this.appEvents=b;this.COUNT=100};TV.prototype.listIssues=function(a,b,c){var d=this,e=(new OV).setCount(this.COUNT).setP(1);a&&e.setS(a.toApiUrlParam());b&&e.setTrackerIdsList(b);c&&e.setSignalsList(c.map(ZXa));return this.executor.post({url:"action/issues/attention",body:e,responseConstructor:QV}).then(WXa).then(function(g){d.appEvents.needsAttentionIssueCount.next(g.numTotalResults||0);return g})};
var eOc=function(a,b,c){b=(new RV).setIssueIdsList(b.map(Mg));c=xi(b,2,c);return a.executor.post({url:"action/issues/dismiss_timestamp",body:c,responseConstructor:SV}).then(YXa)};TV.\u0275fac=function(a){return new (a||TV)(w(CC),w(cG))};TV.\u0275prov=nc({token:TV,factory:TV.\u0275fac,providedIn:"root"});var fOc=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"}]]),hIb=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 UV=function(a){this.api=a},gOc=function(a,b){return dpc(a.api,hYa(b)).pipe(E(function(c){c=c.results.map(function(d){var e=d.userId.email;d=d.userAvailabilities.availabilities;var g=d[0];d=d.slice(1);var h;if(h=g)h=g.status.hasOutOfOffice?"OOO - "+cYa(g.status.outOfOffice.comeBackTime):g.status.hasOutsideWorkingHours?"Outside working hours - "+cYa(g.status.outsideWorkingHours.comeBackTime):void 0;g=(g=h)?{type:"Current Availability",text:g}:void 0;d=null!=g?g:fYa(d);return[e,d]});return new Map(c)}))};
UV.\u0275fac=function(a){return new (a||UV)(w(GI))};UV.\u0275prov=nc({token:UV,factory:UV.\u0275fac,providedIn:"root"});var hOc=new Hc("Worktracker API Key");var iOc=new Hc("Environment");var VV=function(a){r.call(this,a)};V(VV,r);f=VV.prototype;f.getIterationId=function(){return Wh(this,1)};f.setIterationId=function(a){return lb(this,1,a)};f.getWorkspaceId=function(){return Wh(this,2)};f.getType=function(){return Fh(this,3,0)};f.setType=function(a){return Dh(this,3,a)};f.getName=function(){return mh(this,4)};f.setName=function(a){return mb(this,4,a)};f.getHotlistId=function(){return Wh(this,7)};f.setHotlistId=function(a){lb(this,7,a)};f.getStatus=function(){return Fh(this,8,0)};
f.setStatus=function(a){return Dh(this,8,a)};f.getTagsList=function(){return Gj(this,9)};f.getTags=function(a){return $Mb(this,9,a)};f.setVelocity=function(a){return cb(this,11,Pa(a),0)};f.getStartTime=function(){return W(this,ug,12)};f.setStartTime=function(a){Oh(this,ug,12,a)};f.getEndTime=function(){return W(this,ug,13)};f.setEndTime=function(a){Oh(this,ug,13,a)};var jOc=Sb(VV);VV.repeatedFields_=[9];VV.prototype.toObject=function(){return kOc(this)};
var kOc=function(a){if(null!=a)return t(a),{iterationId:Wh(a,1),workspaceId:Wh(a,2),type:Fh(a,3,0),name:mh(a,4),startUsecs:WMb(a,5),endUsecs:WMb(a,6),actualStartTime:pr(W(a,ug,15)),actualEndTime:pr(W(a,ug,14)),hotlistId:Wh(a,7),status:Fh(a,8,0),tagsList:p(Gj(a,9)),capacity:Xh(a,10),velocity:Xh(a,11),startTime:pr(a.getStartTime()),endTime:pr(a.getEndTime()),iterationRecurrenceId:Wh(a,16)}},lOc=[VV,1,sq,2,sq,3,Qq,4,Eq,5,hNb,6,hNb,15,X,qr,14,X,qr,7,sq,8,Qq,9,Pq,10,fNb,11,fNb,12,X,qr,13,X,qr,16,sq];
VV.prototype.serializeBinary=u(lOc);var WV=function(a){r.call(this,a)};V(WV,r);WV.prototype.getIterationId=function(){return Wp(this,1)};WV.prototype.setIterationId=function(a){return cb(this,1,a,0)};WV.prototype.toObject=function(){if(null!=this){t(this);var a={iterationId:Wp(this,1)}}else a=void 0;return a};WV.prototype.serializeBinary=u([WV,1,kNb]);var mOc=new YB("/google.corp.devtools.worktracker.v1.IterationService/GetIteration",WV,VV,function(a){return a.serialize()},jOc);var XV=function(a){r.call(this,a)};V(XV,r);XV.repeatedFields_=[1];XV.prototype.toObject=function(){return nOc(this)};var nOc=function(a){if(null!=a)return t(a),{launchIdsList:p(Cg(a,1))}},oOc=[XV,1,Dq];XV.prototype.serializeBinary=u(oOc);var YV=function(a){r.call(this,a)};V(YV,r);YV.repeatedFields_=[1];YV.prototype.toObject=function(){return pOc(this)};var pOc=function(a){if(null!=a)return t(a),{okrIdsList:p(Cg(a,1))}},qOc=[YV,1,Dq];YV.prototype.serializeBinary=u(qOc);var ZV=function(a){r.call(this,a)};V(ZV,r);ZV.prototype.getIssue=function(){return W(this,BD,1)};ZV.prototype.setIssue=function(a){Oh(this,BD,1,a)};ZV.prototype.toObject=function(){return rOc(this)};var rOc=function(a){if(null!=a)return t(a),{issue:Oec(a.getIssue()),legacyType:Fh(a,2,0)}},sOc=[ZV,1,X,Pec,2,Qq];ZV.prototype.serializeBinary=u(sOc);var $V=function(a){r.call(this,a)};V($V,r);$V.prototype.getIssue=function(){return Fi(this,ZV,1,tOc)};$V.prototype.setIssue=function(a){sm(this,1,tOc,a)};var tOc=[1];$V.prototype.toObject=function(){return uOc(this)};var uOc=function(a){if(null!=a)return t(a),{issue:rOc(a.getIssue())}},vOc=[$V,1,Jq,sOc,tOc];$V.prototype.serializeBinary=u(vOc);var aW=function(a){r.call(this,a)};V(aW,r);aW.prototype.getId=function(){return mh(this,1)};aW.prototype.setId=function(a){return mb(this,1,a)};aW.prototype.getPayload=function(){return W(this,$V,9)};var wOc=Sb(aW);aW.repeatedFields_=[11,12,7,10];aW.prototype.toObject=function(){return xOc(this)};
var xOc=function(a){if(null!=a){t(a);var b=mh(a,1),c=uOc(a.getPayload()),d=p(Cg(a,11)),e=Mb(yg(a,VV,12),kOc),g=p(Cg(a,7)),h=vi(a,8),l=p(Cg(a,10));var q=Ii(a,15,YV);q=Ob(q,pOc);a=Ii(a,16,XV);return{id:b,payload:c,tagIdsList:d,iterationsList:e,blockerIdsList:g,inboxItem:h,parentIdsList:l,okrIdsMap:q,launchIdsMap:Ob(a,nOc)}}},yOc=[aW,1,Eq,9,X,vOc,11,Dq,12,Iq,lOc,7,Dq,8,Aq,10,Dq,15,Sq,qOc,16,Sq,oOc];aW.prototype.serializeBinary=u(yOc);var BOc=function(){var a=wc(zOc),b=AOc;b=b||{};b.format="jspb";this.client_=new pC(b);this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};BOc.prototype.getIteration=function(a,b){return qC(this.client_,this.hostname_+"/$rpc/google.corp.devtools.worktracker.v1.IterationService/GetIteration",a,b||{},mOc)};var bW=function(a){r.call(this,a)};V(bW,r);var COc=function(a,b){return uh(a,1,b)};bW.repeatedFields_=[1];bW.prototype.toObject=function(){if(null!=this){t(this);var a={workItemIdsList:p(Cg(this,1))}}else a=void 0;return a};bW.prototype.serializeBinary=u([bW,1,Dq]);var cW=function(a){r.call(this,a)};V(cW,r);var DOc=Sb(cW);cW.repeatedFields_=[1];cW.prototype.toObject=function(){if(null!=this){t(this);var a={workItemsList:Mb(yg(this,aW,1),xOc)}}else a=void 0;return a};cW.prototype.serializeBinary=u([cW,1,Iq,yOc]);var EOc=new YB("/google.corp.devtools.worktracker.v1.WorkItemService/BatchGetWorkItems",bW,cW,function(a){return a.serialize()},DOc);var dW=function(a){r.call(this,a)};V(dW,r);dW.prototype.setWorkItemId=function(a){return mb(this,1,a)};dW.prototype.toObject=function(){if(null!=this){t(this);var a={workItemId:mh(this,1)}}else a=void 0;return a};dW.prototype.serializeBinary=u([dW,1,Eq]);var FOc=new YB("/google.corp.devtools.worktracker.v1.WorkItemService/GetWorkItem",dW,aW,function(a){return a.serialize()},wOc);var GOc=function(){var a=wc(zOc),b=AOc;b=b||{};b.format="jspb";this.client_=new pC(b);this.hostname_=void 0==a?a:a.replace(/\/+$/,"")},HOc=function(a,b,c){return qC(a.client_,a.hostname_+"/$rpc/google.corp.devtools.worktracker.v1.WorkItemService/BatchGetWorkItems",b,c||{},EOc)};GOc.prototype.getWorkItem=function(a){return qC(this.client_,this.hostname_+"/$rpc/google.corp.devtools.worktracker.v1.WorkItemService/GetWorkItem",a,{},FOc)};var zOc=new Hc("Worktracker API Endpoint",{factory:function(){switch(wc(iOc)){case "Prod":return"https://worktracker-googleapis.corp.google.com";case "Staging":return"https://staging-worktracker-googleapis.corp.google.com";default:return"https://autopush-worktracker-googleapis.corp.google.com"}}}),AOc={withCredentials:!0,suppressCorsPreflight:!0},IOc=new Hc("Workspaces Promise Client",{factory:function(){return new MAc(wc(zOc),AOc)}}),JOc=new Hc("Iterations Promise Client",{factory:function(){return new BOc}}),
KOc=new Hc("Work Items Promise Client",{factory:function(){return new GOc}});var eW=function(){this.iterationsApi=wc(JOc);this.idToIterationMap=new Map;this.headers=jYa(wc(hOc))};eW.prototype.getIteration=function(a){if(this.idToIterationMap.has(a))return this.idToIterationMap.get(a);var b=(new WV).setIterationId(a);b=this.iterationsApi.getIteration(b,this.headers);this.idToIterationMap.set(a,b);return b};eW.\u0275fac=function(a){return new (a||eW)};eW.\u0275prov=nc({token:eW,factory:eW.\u0275fac,providedIn:"root"});var fW=function(){var a=this;this.workItemsApi=wc(KOc);this.headers=jYa(wc(hOc));this.task$=new F.ReplaySubject;this.taskToWorkItem$=kYa(this.task$).pipe(pe(function(b){var c;return Ld(function(d){if(1==d.nextAddress)return d.yield(LOc(a,b),2);c=d.yieldResult;for(var e=d.return,g=Map,h=Math.max(b.length,c.length),l=[],q=0;q<h;q++)l.push([b[q],c[q]]);return e.call(d,new g(l))})}),ne())};
fW.prototype.getWorkItem=function(a){var b;if(null==(b=a.getResource())||!jn(b))return(0,F.of)(void 0);this.task$.next(a);return this.taskToWorkItem$.pipe(E(function(c){return c.get(a)}))};var LOc=function(a,b){var c,d;return Ld(function(e){if(1==e.nextAddress)return c=COc(new bW,b.map(function(g){return mh(g,1)})),e.yield(HOc(a.workItemsApi,c,a.headers),2);d=e.yieldResult;return e.return(yg(d,aW,1))})};fW.\u0275fac=function(a){return new (a||fW)};fW.\u0275prov=nc({token:fW,factory:fW.\u0275fac,providedIn:"root"});var gW=function(){var a=this;this.workspacesApi=wc(IOc);this.workspaceIds$=(0,F.defer)(function(){return MOc(a)}).pipe(ne());this.headers=jYa(wc(hOc));this.workItemFetcher=wc(fW);this.iterationFetcher=wc(eW)},OOc=function(a,b){return(0,F.defer)(function(){return NOc(a,b)})},NOc=function(a,b){var c,d,e,g,h,l,q,v;return Ld(function(y){if(1==y.nextAddress)return y.yield(Promise.all([(0,F.firstValueFrom)(a.workItemFetcher.getWorkItem(b)),(0,F.firstValueFrom)(a.workspaceIds$)]),2);if(3!=y.nextAddress){c=
y.yieldResult;d=k(c);e=d.next().value;g=d.next().value;h=e;l=g;if(!h)return y.return(void 0);q=yg(h,VV,12).filter(function(B){return l.includes(B.getWorkspaceId())});return y.yield(Promise.all(q.map(function(B){return a.iterationFetcher.getIteration(B.getIterationId())})),3)}v=y.yieldResult;return y.return(v.some(lYa)?"Current iteration":void 0)})},MOc=function(a){var b,c;return Ld(function(d){if(1==d.nextAddress)return b=JAc(),d.yield(a.workspacesApi.list(b,a.headers),2);c=d.yieldResult;return d.return(yg(c,
bm,1).map(function(e){return e.getWorkspaceId()}))})};gW.\u0275fac=function(a){return new (a||gW)};gW.\u0275prov=nc({token:gW,factory:gW.\u0275fac,providedIn:"root"});var hW={},iW={},jW={},kW={},lW={},mW={},qYa=(mW[1]=(hW[1]=4419,hW[2]=19482,hW[3]=65108,hW[4]=78715,hW[5]=80067,hW[6]=15012,hW),mW[2]=(iW[1]=9078,iW[2]=63700,iW[3]=86383,iW[4]=148526,iW[5]=161988,iW[6]=80049,iW),mW[3]=(jW[1]=37536,jW[2]=89931,jW[3]=179965,jW[4]=274704,jW[5]=351444,jW[6]=237983,jW),mW[4]=(kW[1]=72484,kW[2]=191314,kW[3]=342430,kW[4]=444537,kW[5]=528272,kW[6]=417086,kW),mW[5]=(lW[1]=56493,lW[2]=167140,lW[3]=327933,lW[4]=425290,lW[5]=490491,lW[6]=436116,lW),mW);var nW=function(a){r.call(this,a)};V(nW,r);nW.prototype.toObject=function(){if(null!=this){t(this);var a={changelistId:Wh(this,1)}}else a=void 0;return a};nW.prototype.serializeBinary=u([nW,1,sq]);var oW=function(a){r.call(this,a)};V(oW,r);f=oW.prototype;f.getName=function(){return mh(this,1)};f.setName=function(a){return mb(this,1,a)};f.getId=function(){return mh(this,2)};f.setId=function(a){return mb(this,2,a)};f.toObject=function(){return POc(this)};var POc=function(a){if(null!=a)return t(a),{name:mh(a,1),id:mh(a,2),rolloutTime:pr(W(a,ug,3))}},QOc=[oW,1,Eq,2,Eq,3,X,qr];oW.prototype.serializeBinary=u(QOc);var ROc=function(a){r.call(this,a)};V(ROc,r);ROc.prototype.toObject=function(){return SOc(this)};var SOc=function(a){if(null!=a)return t(a),{candidate:POc(W(a,oW,1)),containsCl:vi(a,2),artifactCorpus:mh(a,3)}},TOc=[ROc,1,X,QOc,2,Aq,3,Eq];ROc.prototype.serializeBinary=u(TOc);var pW=function(a){r.call(this,a)};V(pW,r);pW.prototype.getName=function(){return mh(this,2)};pW.prototype.setName=function(a){return mb(this,2,a)};pW.repeatedFields_=[5];pW.prototype.toObject=function(){return UOc(this)};var UOc=function(a){if(null!=a)return t(a),{name:mh(a,2),candidateRolloutInfosList:Mb(yg(a,ROc,5),SOc)}},VOc=[pW,2,Eq,5,Iq,TOc];pW.prototype.serializeBinary=u(VOc);var qW=function(a){r.call(this,a)};V(qW,r);qW.prototype.getPackageName=function(){return mh(this,2)};qW.repeatedFields_=[3];qW.prototype.toObject=function(){return WOc(this)};var WOc=function(a){if(null!=a)return t(a),{packageGroup:mh(a,1),packageName:mh(a,2),androidTracksList:Mb(yg(a,pW,3),UOc)}},XOc=[qW,1,Eq,2,Eq,3,Iq,VOc];qW.prototype.serializeBinary=u(XOc);var rW=function(a){r.call(this,a)};V(rW,r);rW.prototype.getName=function(){return mh(this,1)};rW.prototype.setName=function(a){return mb(this,1,a)};rW.prototype.toObject=function(){return YOc(this)};var YOc=function(a){if(null!=a)return t(a),{name:mh(a,1),cellStatus:Fh(a,2,0)}},ZOc=[rW,1,Eq,2,Qq];rW.prototype.serializeBinary=u(ZOc);var sW=function(a){r.call(this,a)};V(sW,r);f=sW.prototype;f.getStartTime=function(){return W(this,ug,1)};f.setStartTime=function(a){Oh(this,ug,1,a)};f.getEndTime=function(){return W(this,ug,2)};f.setEndTime=function(a){Oh(this,ug,2,a)};f.toObject=function(){return $Oc(this)};var $Oc=function(a){if(null!=a)return t(a),{startTime:pr(a.getStartTime()),endTime:pr(a.getEndTime())}},aPc=[sW,1,X,qr,2,X,qr];sW.prototype.serializeBinary=u(aPc);var tW=function(a){r.call(this,a)};V(tW,r);f=tW.prototype;f.getConfidence=function(){return Xh(this,2)};f.getStatus=function(){return W(this,$B,3)};f.setStatus=function(a){return Oh(this,$B,3,a)};f.hasStatus=function(){return qi(this,$B,3)};f.toObject=function(){return bPc(this)};var bPc=function(a){if(null!=a)return t(a),{confidenceInterval:$Oc(W(a,sW,1)),confidence:p(yb(a,2)),status:zbc(a.getStatus())}},cPc=[tW,1,X,aPc,2,lq,3,X,Abc];tW.prototype.serializeBinary=u(cPc);var uW=function(a){r.call(this,a)};V(uW,r);uW.prototype.getName=function(){return mh(this,1)};uW.prototype.setName=function(a){return mb(this,1,a)};uW.prototype.getUser=function(){return mh(this,7)};uW.prototype.setUser=function(a){mb(this,7,a)};uW.repeatedFields_=[6,8];uW.prototype.toObject=function(){return dPc(this)};
var dPc=function(a){if(null!=a)return t(a),{name:mh(a,1),user:mh(a,7),changelistDeploymentStatus:Fh(a,2,0),clFirstReachedTimestamp:pr(W(a,ug,3)),rapidCandidate:mh(a,4),isFinalStage:vi(a,5),cellDeploymentInfosList:Mb(yg(a,rW,6),YOc),currentRapidCandidatesList:Mb(yg(a,oW,8),POc),clDeploymentHistoryMessage:mh(a,9),releasePrediction:bPc(W(a,tW,10))}},ePc=[uW,1,Eq,7,Eq,2,Qq,3,X,qr,4,Eq,5,Aq,6,Iq,ZOc,8,Iq,QOc,9,Eq,10,X,cPc];uW.prototype.serializeBinary=u(ePc);var vW=function(a){r.call(this,a)};V(vW,r);vW.prototype.getName=function(){return mh(this,1)};vW.prototype.setName=function(a){return mb(this,1,a)};vW.repeatedFields_=[2,5];vW.prototype.toObject=function(){return fPc(this)};var fPc=function(a){if(null!=a)return t(a),{name:mh(a,1),environmentsList:Mb(yg(a,uW,2),dPc),missingRapidProjectDataReason:Fh(a,3,0),androidReleaseInfosList:Mb(yg(a,qW,5),WOc)}},gPc=[vW,1,Eq,2,Iq,ePc,3,Qq,5,Iq,XOc];vW.prototype.serializeBinary=u(gPc);var wW=function(a){r.call(this,a)};V(wW,r);var hPc=Sb(wW);wW.repeatedFields_=[2];wW.prototype.toObject=function(){if(null!=this){t(this);var a={submissionDeadlinePrediction:bPc(W(this,tW,1)),projectReleasePredictionsList:Mb(yg(this,vW,2),fPc)}}else a=void 0;return a};wW.prototype.serializeBinary=u([wW,1,X,cPc,2,Iq,gPc]);var iPc=new YB("/google.corp.devtools.developergraph.v1.ContextService/GetChangelistReleaseSchedulePrediction",nW,wW,function(a){return a.serialize()},hPc);var kPc=function(){var a=wc(jPc).endpoint;this.client_=new pC({format:"jspb"});this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};kPc.prototype.getChangelistReleaseSchedulePrediction=function(a,b){return qC(this.client_,this.hostname_+"/$rpc/google.corp.devtools.developergraph.v1.ContextService/GetChangelistReleaseSchedulePrediction",a,b||{},iPc)};var jPc=new Hc("Deployments config",{factory:function(){switch(wc(iOc)){case "Prod":return{endpoint:"https://developergraph-googleapis.corp.google.com",apiKey:"AIzaSyCcQkm25Zzy--16hP6gEq5iF57VSicmFPo"};case "Autopush":case "Staging":return{endpoint:"https://staging-developergraph-googleapis.corp.google.com",apiKey:"AIzaSyDSUcRr-tRwNntdpgqJSKetPwgDfFhdXh0"};default:return{endpoint:"https://autopush-developergraph-googleapis.corp.google.com",apiKey:"AIzaSyAgSldgoc7j91zBJEF4H-5KfMW3kdb0Knc"}}}}),lPc=
new Hc("Context Service Promise Client",{factory:function(){return new kPc}}),xW=function(){this.headers=jYa(wc(jPc).apiKey);this.client=wc(lPc)},nPc=function(a,b){var c;return Ld(function(d){if(1==d.nextAddress)return d.yield(mPc(a,b),2);c=d.yieldResult;return d.return(c?dYa("Scheduled release in",c,12):void 0)})},mPc=function(a,b){var c,d,e,g,h;return Ld(function(l){if(1==l.nextAddress){var q=new nW;c=lb(q,1,b);return l.yield(a.client.getChangelistReleaseSchedulePrediction(c,a.headers),2)}d=l.yieldResult;
return l.return(null==(e=W(d,tW,1))?void 0:null==(g=W(e,sW,1))?void 0:null==(h=g.getStartTime())?void 0:h.toDate())})};xW.\u0275fac=function(a){return new (a||xW)};xW.\u0275prov=nc({token:xW,factory:xW.\u0275fac,providedIn:"root"});var GYa=new Map;var yW=function(){var a=this;this.keyValueStore=new pz;this.initiallyHiddenTaskIds=oPc(this);this.hideEvent$=new F.Subject;this.hiddenTaskIdList$=this.hideEvent$.pipe(VYa(this.initiallyHiddenTaskIds),re(function(b){a.keyValueStore.setValue("task_prioritization.hidden_task_ids",b)}),ne({bufferSize:1,refCount:!1}));this.showHiddenMyWorkTasks$=new F.BehaviorSubject(!1);this.showHiddenNeedsMyInputTasks$=new F.BehaviorSubject(!1)};yW.prototype.hideTask=function(a){this.hideEvent$.next({id:a.id,type:"hidden"})};
yW.prototype.unhideTask=function(a){this.hideEvent$.next({id:a.id,type:"unhidden"})};var qPc=function(a){return(0,F.pipe)(pe(function(b){return(0,F.combineLatest)(b.map(function(c){return pPc(a,c)}))}),E(function(b){return b.filter(bn)}))};yW.prototype.isHidden=function(a){return this.hiddenTaskIdList$.pipe(E(function(b){return b.includes(a)}))};
var pPc=function(a,b){return(0,F.combineLatest)([b.isHidden$,b.isMyWork?a.showHiddenMyWorkTasks$:a.showHiddenNeedsMyInputTasks$]).pipe(E(function(c){c=k(c);var d=c.next().value;return c.next().value||!d?b:void 0}))},oPc=function(a){var b;return null!=(b=UYa(a.keyValueStore.getValue("task_prioritization.hidden_task_ids")))?b:[]};yW.\u0275fac=function(a){return new (a||yW)};yW.\u0275prov=nc({token:yW,factory:yW.\u0275fac,providedIn:"root"});var rPc=new Hc("G3C API Keys");var zW=function(a){r.call(this,a)};V(zW,r);zW.repeatedFields_=[1];zW.prototype.toObject=function(){if(null!=this){t(this);var a={taskSourcesList:p(Gj(this,1)),maxTaskAgeDays:Ag(this,2)}}else a=void 0;return a};zW.prototype.serializeBinary=u([zW,1,Pq,2,yq]);var AW=function(a){r.call(this,a)};V(AW,r);var sPc=Sb(AW);AW.repeatedFields_=[1];AW.prototype.toObject=function(){if(null!=this){t(this);var a={tasksList:Mb(yg(this,KB,1),fac)}}else a=void 0;return a};AW.prototype.serializeBinary=u([AW,1,Iq,gac]);var tPc=new YB("/google.internal.devopsconsole.v1.TaskPrioritizationService/StreamGetPriorityTasks",zW,AW,function(a){return a.serialize()},sPc);var vPc=function(){var a=wc(uPc).endpoint;this.client_=new pC({format:"jspb"});this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};var uPc=new Hc("Deployments config",{factory:function(){switch(wc(iOc)){case "Prod":return{endpoint:"https://devopsconsole-pa-googleapis.corp.google.com",apiKey:wc(rPc).prodApiKey};case "Staging":return{endpoint:"https://stagingcorp-devopsconsole-pa-googleapis.corp.google.com",apiKey:wc(rPc).stagingApiKey};default:return{endpoint:"https://autopushcorp-devopsconsole-pa-googleapis.corp.google.com",apiKey:wc(rPc).autopushApiKey}}}}),wPc=new Hc("Task Prioritization Promise Client",{factory:function(){return new vPc}}),
BW=function(){this.client=wc(wPc);this.headers=jYa(wc(uPc).apiKey)};BW.\u0275fac=function(a){return new (a||BW)};BW.\u0275prov=nc({token:BW,factory:BW.\u0275fac,providedIn:"root"});var CW=function(a,b,c,d,e){var g=this;this.availability=a;this.submissionDeadline=b;this.iterations=c;this.hiddenTasks=d;this.taskFetcher=e;this.showAllMyWorkTasks$=new F.BehaviorSubject(!1);this.showAllNeedsMyInputTasks$=new F.BehaviorSubject(!1);this.tasks$=(0,F.defer)(function(){var h=g.taskFetcher,l=h.client;var q=new zW;q=Oj(q,1,[3,2,1,4]);h=l.client_.serverStreaming(l.hostname_+"/$rpc/google.internal.devopsconsole.v1.TaskPrioritizationService/StreamGetPriorityTasks",q,h.headers||{},tPc);return iYa(h)}).pipe(Vd(function(h){return xPc(g,
h)}),ne());this.allTasks$=this.tasks$.pipe(XYa());this.filteredTasks$=this.tasks$.pipe(yPc(this),XYa());this.readdedTasks$=(0,F.zip)(this.allTasks$,this.filteredTasks$).pipe(zPc(this))},APc=function(a){return a.readdedTasks$.pipe(qPc(a.hiddenTasks))},BPc=function(a){return a.areAllTasksLoaded().pipe(se(APc(a)),E(function(b){b=k(b);b.next();return b.next().value.filter(function(c){return!c.isMyWork}).length}))};CW.prototype.areAllTasksLoaded=function(){return this.tasks$.pipe(nka(void 0,[]),ke(!0))};
var xPc=function(a,b){b=yg(b,KB,1).filter(function(e){return e.getResource()});var c=b.map(ZYa),d=gOc(a.availability,c).pipe(ne());return(0,F.forkJoin)(b.map(function(e,g){var h=e.getResource(),l=mh(h,1),q=mh(e,1);return(0,F.forkJoin)([d.pipe(E(function(v){return v.get(c[g])})),(0,F.defer)(function(){return CPc(a,q,l)}),WYa(e),DPc(a,e),(0,F.of)(rYa(e))]).pipe(E(function(v){return v.filter(bn)})).pipe(E(function(v){var y=h.getTitle(),B=h.getExternalLink(),I=[],N=I.concat;v=Jc(v);var Q=(Q=jn(e.getResource()))?
[3===Q.getStatus()&&{type:"Accepted",text:"Accepted"},1===Q.getPriority()&&{type:"P0",text:"P0"},oYa(Q)&&{type:"Out of SLO",text:"Out of SLO"},pYa(Q)&&{type:"Near SLO",text:"Near SLO"}].filter(bn):[];Q=Jc(Q);var Z=(Z=cn(e.getResource()))?[3===Z.getStatus()&&{type:"Unresolved",text:"Unresolved"},1===Z.getStatus()&&{type:"LGTM",text:"LGTM"},Z.getDescription().includes("ROLLBACK_OF=")&&{type:"Rollback",text:"Rollback"}].filter(bn):[];Z=Jc(Z);var Y=(Y=kn(e.getResource()))?[vi(Y,25)&&{type:"Docwrap Incoming",
text:"Incoming review"},vi(Y,26)&&{type:"Docwrap Outgoing",text:"Outgoing review"}].filter(bn):[];return{id:q,title:y,resourceUrl:B,signals:N.call(I,v,Q,Z,Jc(Y)),source:l,isHidden$:a.hiddenTasks.isHidden(q),isMyWork:YYa(e),resource:h,timestamp:h.getLastModifiedTimestamp()}}))}))},DPc=function(a,b){return OOc(a.iterations,b).pipe(E(function(c){return c?{type:"Current Iteration",text:c}:void 0}))},CPc=function(a,b,c){var d,e;return Ld(function(g){if(1==g.nextAddress){if("Critique"!==c)return g.return(void 0);
d=Number(b.slice(3));return g.yield(nPc(a.submissionDeadline,d),2)}e=g.yieldResult;return g.return(e?{type:"Submission Deadline",text:e,tooltipText:"Time this CL must be submitted by to make it into the next release"}:void 0)})},zPc=function(a){return(0,F.pipe)(pe(function(b){b=k(b);var c=b.next().value,d=b.next().value;return(0,F.combineLatest)([a.showAllMyWorkTasks$,a.showAllNeedsMyInputTasks$]).pipe(E(function(e){var g=k(e);e=g.next().value;g=g.next().value;var h=c.filter(function(q){return!d.includes(q)}),
l=k(mYa(h,function(q){return q.isMyWork}));h=l.next().value;l=l.next().value;e=e?h:[];g=g?l:[];return[].concat(Jc(d),Jc(e),Jc(g))}))}))},yPc=function(a){return(0,F.pipe)(E(function(b){var c=k(mYa(b,function(d){return a.hiddenTasks.initiallyHiddenTaskIds.includes(d.id)}));b=c.next().value;c=c.next().value;return[].concat(Jc(TYa(c)),Jc(b))}))};CW.\u0275fac=function(a){return new (a||CW)(w(UV),w(xW),w(gW),w(yW),w(BW))};CW.\u0275prov=nc({token:CW,factory:CW.\u0275fac,providedIn:"root"});var DW=function(a,b,c,d,e,g){kE.call(this);var h=this;this.hackyPrefs=a;this.needsAttentionApi=b;this.tasksService=c;this.currentUser=d;this.domSafe=e;this.router=g;this.currentUserEmail=this.currentUser.email;this.allAlerts=[];this.areAllTasksLoaded$=this.tasksService.areAllTasksLoaded();this.displayedColumns="selection type description timestamp signal action dismiss".split(" ");this.selection=new yx(!0,[]);this.needsAttentionApi.listIssues(void 0,void 0,$Xa()).then(function(l){l=k(l.issuesWithSignals);
for(var q=l.next();!q.done;q=l.next()){q=q.value;var v=void 0,y=void 0,B=(null!=(y=null==(v=q.issue)?void 0:v.majorModifiedTimeMicros)?y:0)/1E3,I=y=v=void 0,N=void 0;h.allAlerts=h.allAlerts.concat({type:"Buganizer",description:null!=(I=null==(v=q.issue)?void 0:null==(y=v.snapshot[0])?void 0:y.title)?I:"",signal:null!=(N=q.signals[0].signalType)?N:"SIGNAL_TYPE_UNKNOWN",timestamp:B,fullObject:q})}EPc(h)});this.areAllTasksLoaded$.pipe(se(APc(this.tasksService)),qe(this.destroyed$)).subscribe(function(l){l=
k(l);l.next();l=l.next().value.filter(function(N){return"Buganizer"!==N.source});l=k(l);for(var q=l.next();!q.done;q=l.next()){q=q.value;var v=void 0,y=void 0,B=void 0,I=null!=(B=null==(v=q.signals[0])?void 0:null==(y=v.type)?void 0:y.toString())?B:"";v=void 0;y=Number(null!=(v=q.timestamp)?v:0);h.allAlerts.push({type:q.source,description:q.title,signal:I,timestamp:y,fullObject:q})}EPc(h)})};V(DW,kE);DW.\u0275dir=kE.\u0275dir;DW.prototype.isCollapsed=function(){return this.hackyPrefs.prefs.collapsed["mvp-needs-attention"]};
DW.prototype.toggleCollapsed=function(){this.hackyPrefs.toggleCollapsed("mvp-needs-attention")};
var aZa=function(a){return a.selection.selected.length===a.allAlerts.length},EPc=function(a){a.allAlerts.sort(function(b,c){return c.timestamp-b.timestamp})},eZa=function(a){switch(a.type){case "Buganizer":return"bug_report";case "Critique":return"check_circle_filled";case "Drive":if("resource"in a.fullObject){var b;switch(null==(b=Tp(a.fullObject.resource,sB,5))?void 0:b.getMimeType()){case "document":return"drive_document";case "spreadsheet":return"drive_spreadsheet";case "presentation":return"drive_presentation";
case "video/mp4":return"video_youtube"}}return"link";case "Ariane":return"https://fonts.gstatic.com/s/i/productlogos/launch/v1/192px.svg";default:return"bug_report"}},rZa=function(a){if("Buganizer"===a.type){var b;return null==(b=fOc.get(a.signal))?void 0:b.text}return"Critique"===a.type&&""===a.signal?"In attention set":"Ariane"===a.type&&""===a.signal?(a=Tp(a.fullObject.resource,hB,9),a.getOwnedByMe()?"Launch owner":vi(a,8)?"Launch bit approver":"Launch collaborator"):"Drive"===a.type&&""===a.signal?
(a=a.fullObject,b=Tp(a.resource,sB,5),b.getOwnedByMe()?FPc(a)+" owner":b.getSharedToMe()?FPc(a)+" shared with me":FPc(a)+" collaborator"):a.signal},FPc=function(a){var b;switch(null==(b=Tp(a.resource,sB,5))?void 0:b.getMimeType()){case "document":return"Docs";case "spreadsheet":return"Sheets";case "presentation":return"Slides";default:return"File"}},uZa=function(a,b){if("Buganizer"===b.type)switch(b.signal){case "MENTIONED":return"Reply to @mention";case "UNBLOCKED":return"View recently unblocked issue";
case "ASSIGNED":return"View recently assigned issue";case "NEWLY_BLOCKING":return"View newly blocking issue";default:return"View issue"}else{var c=b.fullObject;if("Critique"===b.type)return b=Tp(c.resource,pB,8),b.getNeedsAttention()&&b.getReviewerEmailsList().includes(a.currentUserEmail)?"Review CL":"View CL";if("Ariane"===b.type)return vi(Tp(c.resource,hB,9),8)?"Review launch":"Open Launch";if("Drive"===b.type)return"View "+FPc(c)}return"Review"},qZa=function(a){if("Buganizer"===a.type)switch(a.signal){case "MENTIONED":return"most-urgent";
case "REPLIED_TO_MENTION":case "NEAR_SLO":case "ASSIGNED":return"less-urgent"}else{if("Critique"===a.type)return""===a.signal?"most-urgent":"less-urgent";if("Ariane"===a.type){if(vi(Tp(a.fullObject.resource,hB,9),8))return"less-urgent"}else if("Drive"===a.type&&vi(Tp(a.fullObject.resource,sB,5),25))return"less-urgent"}return""},jZa=function(a){var b;return null==(b=a.fullObject.issue)?void 0:b.snapshot[0].priority},zZa=function(a,b,c){if(!(b.defaultPrevented||"mouseup"===b.type&&b instanceof MouseEvent&&
1!==b.button||"A"===b.target.tagName))if("Buganizer"===c.type){var d;c=Gk(null==(d=c.fullObject.issue)?void 0:d.issueId);b.ctrlKey||b.metaKey||b instanceof MouseEvent&&1===b.button?a.domSafe.openInNewTab(c):b&&b.shiftKey?Wl(a.domSafe,c):ip(a.router,c)}else a.domSafe.openInNewTab(c.fullObject.resource.getExternalLink())};DW.prototype.trackByAlertId=function(a,b){if("Buganizer"===b.type){var c;return"b/"+(null==(c=b.fullObject.issue)?void 0:c.issueId)}return b.fullObject.id};
DW.\u0275fac=function(a){return new (a||DW)(D(qI),D(TV),D(CW),D(pI),D(rK),D(GG))};
DW.\u0275cmp=zc({type:DW,selectors:[["mvp-needs-attention"]],features:[xe],decls:19,vars:9,consts:[[1,"carded","bg-main","margin-top"],[1,"flex-kids-x","margin-s-bottom"],[1,"header-left"],[1,"heading-s","line-clamp-3"],["mat-icon-button","","aria-label","Toggle expansion state",1,"gmat-button","medium","collapse-btn",3,"click"],[1,"google-material-icons","small-button-icon"],["class","alert-count-badge b-chip",4,"ngIf"],[1,"margin-left-auto","flex-kids-x","align-items-center","card-controls"],["mat-icon-button",
"","aria-label","More options","aria-haspopup","true",1,"gmat-button","card-overflow",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical",1,"icon-m"],["menu","matMenu"],[1,"muted"],["class","main-content",4,"ngIf"],[1,"alert-count-badge","b-chip"],[1,"alert-count"],[1,"main-content"],[1,"flex-kids-x","gap-s","align-items-center"],["mat-button","","matTooltip","Select source applications","aria-label","Select source applications","aria-haspopup","true",1,"gmat-button","medium","source-filter",
3,"matMenuTriggerFor"],[1,"google-material-icons"],[1,"mvp-my-tasks-menu"],["sourceMenu","matMenu"],[1,"mvp-source-select",3,"click"],["color","primary","checked","true"],["checked","true"],["aria-label","Table filters","multiple",""],["appearance","hairline-filter","selected",""],["mat-table","","aria-label","Table of alerts",1,"full-width",3,"dataSource","trackBy"],["matColumnDef","selection"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","type"],["matColumnDef",
"description"],["matColumnDef","timestamp"],["matColumnDef","signal"],["matColumnDef","action"],["matColumnDef","dismiss"],["mat-header-cell","","class","border-bottom",4,"matHeaderCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","class","clickable",3,"click","mouseup",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["aria-label","Select all alerts",3,"checked","indeterminate","change"],["mat-cell",""],["aria-label","Select alert",3,"checked","click","change"],[3,"class",
4,"ngIf","ngIfElse"],["launchIcon",""],["alt","product icon",1,"product-icon","center-text",3,"src"],[1,"alert-description"],[3,"issuePriority","class",4,"ngIf"],[3,"issuePriority"],[1,"google-material-icons","sort-column-icon"],["mode","datetime",3,"timestamp",4,"ngIf"],["mode","datetime",3,"timestamp"],["mat-button","",1,"gmat-button","primary","action-button"],["mat-header-cell","",1,"border-bottom"],[1,"google-material-icons","dismiss-icon"],["mat-header-row",""],["mat-row","",1,"clickable",3,
"click","mouseup"]],template:function(a,b){a&1&&(H(0,"div",0)(1,"header",1)(2,"div",2)(3,"span",3),S(4," Needs attention "),H(5,"button",4),O("click",function(){return b.toggleCollapsed()}),H(6,"mat-icon",5),S(7,"expand_less"),J()(),R(8,$Ya,3,1,"div",6),T(9,"async"),J()(),H(10,"div",7)(11,"button",8),K(12,"mat-icon",9),J(),H(13,"mat-menu",null,10)(15,"p",11),S(16,"WIP"),J()()()(),R(17,BZa,44,5,"div",12),T(18,"async"),J());if(a&2){var c=Se(14);Ie("collapsed",b.isCollapsed());C(8);G("ngIf",U(9,5,b.areAllTasksLoaded$)&&
0<b.allAlerts.length);C(3);G("matMenuTriggerFor",c);C(6);G("ngIf",U(18,7,b.areAllTasksLoaded$))}},dependencies:[Tu,yy,zy,jz,PA,OA,FL,xL,BL,yL,wL,CL,zL,AL,DL,EL,VN,BV,GV,FV,BK,vI,Zu],styles:[".mat-header-cell[_ngcontent-%COMP%]{font-weight:500}tr.mat-header-row[_ngcontent-%COMP%], tr.mat-row[_ngcontent-%COMP%]{height:32px}td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%], th.mat-header-cell[_ngcontent-%COMP%]{font-size:.8125rem;padding:0 4px}td.mat-cell[_ngcontent-%COMP%], td.mat-footer-cell[_ngcontent-%COMP%]{color:#202124;color:var(--row-default-text)}th.mat-header-cell[_ngcontent-%COMP%]{color:#202124;color:var(--text-high-contrast)}td.mat-column-menu[_ngcontent-%COMP%], td.mat-column-save[_ngcontent-%COMP%]{width:32px;height:32px}.mat-cell[_ngcontent-%COMP%]:first-of-type, .mat-footer-cell[_ngcontent-%COMP%]:first-of-type, .mat-header-cell[_ngcontent-%COMP%]:first-of-type{padding-left:0}.mat-cell[_ngcontent-%COMP%]:last-of-type, .mat-footer-cell[_ngcontent-%COMP%]:last-of-type, .mat-header-cell[_ngcontent-%COMP%]:last-of-type{padding-right:0}tr.mat-row.clickable[_ngcontent-%COMP%]{cursor:pointer}tr.mat-row.clickable[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}tr.mat-row[_ngcontent-%COMP%]   .mat-column-focus-indicator[_ngcontent-%COMP%]{cursor:pointer;display:table-cell;padding:0 1.5px;width:0}tr.mat-row[_ngcontent-%COMP%]:focus-within   .mat-column-focus-indicator[_ngcontent-%COMP%]{outline:none;background-color:#4285f4;background-color:var(--primary-c500)}[_nghost-%COMP%]{display:block}.card-controls[_ngcontent-%COMP%]{margin-top:-8px;margin-bottom:-8px}.small-button-icon[_ngcontent-%COMP%]{font-size:1.125rem}.alert-count-badge[_ngcontent-%COMP%]{display:none;margin-left:8px;background-color:#c5221f;background-color:var(--text-bad);color:#fff;color:var(--text-inverse);line-height:24px;border-radius:12px}.alert-count-badge[_ngcontent-%COMP%]   .alert-count[_ngcontent-%COMP%]{font-size:.8125rem;height:24px;text-align:center}.product-icon[_ngcontent-%COMP%]{margin-top:4px;height:24px;width:24px}.product-icon.check_circle_filled[_ngcontent-%COMP%]{color:#1e8e3e}.product-icon.drive_document[_ngcontent-%COMP%]{color:#1967d2}.product-icon.drive_spreadsheet[_ngcontent-%COMP%]{color:#1e8e3e}.product-icon.drive_presentation[_ngcontent-%COMP%]{color:#f9ab00}.product-icon.video_youtube[_ngcontent-%COMP%]{color:#d93025}.main-content[_ngcontent-%COMP%]   button.source-filter[_ngcontent-%COMP%]{background-color:#e8f0fe;background-color:var(--selected-bg-muted);border-radius:8px;height:24px;line-height:24px;padding:0 8px 0 12px;margin:6px 0}.mat-column-dismiss[_ngcontent-%COMP%]   .dismiss-icon[_ngcontent-%COMP%]{color:#fff;color:var(--background);padding-top:6px}.main-content[_ngcontent-%COMP%]   .mat-row[_ngcontent-%COMP%]:hover   .mat-column-dismiss[_ngcontent-%COMP%]   .dismiss-icon[_ngcontent-%COMP%]{color:#5f6368;color:var(--icon)}.mvp-my-tasks-menu[_ngcontent-%COMP%]{background-color:#fff;background-color:var(--input-field-bg)}.mvp-my-tasks-menu[_ngcontent-%COMP%]   .mvp-source-select[_ngcontent-%COMP%]{padding:0 .75rem;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:.75rem;overflow:hidden}.alert-description[_ngcontent-%COMP%]{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.mat-column-action[_ngcontent-%COMP%], .mat-column-signal[_ngcontent-%COMP%]{min-width:125px}.priority-badge-P2[_ngcontent-%COMP%]{font-weight:500}td[_ngcontent-%COMP%]   a.action-button[_ngcontent-%COMP%]{color:#1a73e8;color:var(--link)}td[_ngcontent-%COMP%]   a.action-button[_ngcontent-%COMP%]:active, td[_ngcontent-%COMP%]   a.action-button[_ngcontent-%COMP%]:focus, td[_ngcontent-%COMP%]   a.action-button[_ngcontent-%COMP%]:hover{color:#1a73e8;color:var(--link)}.mat-header-cell.mat-column-action[_ngcontent-%COMP%]{padding-left:12px}.signal-chip[_ngcontent-%COMP%]{border:1px solid;border-color:#185abc;border-color:var(--blue-text);color:#185abc;color:var(--blue-text);padding:4px 12px;border-radius:32px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;text-align:center}.signal-chip.most-urgent[_ngcontent-%COMP%]{border:1px solid;border-color:#d42521;border-color:var(--red-text);color:#d42521;color:var(--red-text)}.signal-chip.less-urgent[_ngcontent-%COMP%]{border:1px solid;border-color:#9334e6;border-color:var(--purple-text);color:#9334e6;color:var(--purple-text)}.mat-header-cell.mat-column-timestamp[_ngcontent-%COMP%]{line-height:38px}.sort-column-icon[_ngcontent-%COMP%]{font-size:1rem;line-height:38px;text-align:center}.collapsed[_ngcontent-%COMP%]   .main-content[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   .stats[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   footer[_ngcontent-%COMP%]{display:none}.collapsed[_ngcontent-%COMP%]   .alert-count-badge[_ngcontent-%COMP%]{display:-webkit-inline-box;display:-webkit-inline-flex;display:-moz-inline-box;display:-ms-inline-flexbox;display:inline-flex}.collapse-btn[_ngcontent-%COMP%]{-webkit-transition:-webkit-transform .1s ease-in-out;transition:-webkit-transform .1s ease-in-out;transition:transform .1s ease-in-out;transition:transform .1s ease-in-out,-webkit-transform .1s ease-in-out}.collapsed[_ngcontent-%COMP%]   .collapse-btn[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.main-content[_ngcontent-%COMP%]   mat-chip-option[_ngcontent-%COMP%]{height:24px;line-height:18px}"]});var KZa=function(a){return{count:a}},EW=function(a,b,c,d,e,g){var h=this;this.activeSession=a;this.hackyPrefs=b;this.issuePermissionService=c;this.issueRelationshipsFridge=d;this.projectSuggestService=e;this.issueFridge=g;this.SECTION_SLUG="my-projects-tree-table";this.isNonPublicSession=this.activeSession.isNonPublicSession();this.canEdit$=this.issuePermissionService.hasAclToEdit$;this.projectIds$=this.issueRelationshipsFridge.watch(this.hackyPrefs.prefs.id).pipe(E(function(l){var q;return null!=
(q=null==l?void 0:l.relatedChildren.map(function(v){return v.targetIssueId}))?q:[]}));this.unarchivedProjectsCount$=this.projectIds$.pipe(E(function(l){return l.length}));this.rowCreated$=new F.Subject;this.showSuggestedProjects=!1;this.suggestLimit=4;this.suggestedProjects$=(0,F.combineLatest)([poc(this.projectSuggestService),znc(this.issueRelationshipsFridge,this.hackyPrefs.prefs.id,2)]).pipe(E(function(l){l=k(l);var q=l.next().value,v=l.next().value.results.map(function(y){return y.issueId});return q.filter(function(y){return!v.includes(y)})}),
pe(this.issueFridge.watchSet));this.modifyMenuItems=function(l,q){if(l.ancestorChain.parentNodeId===h.hackyPrefs.prefs.id){if(l=q.find(function(v){return"Unlink from parent"===v.label}))l.label="Remove project";if(l=q.find(function(v){return"Archive"===v.label}))l.label="Archive project";if(l=q.find(function(v){return"Create sibling"===v.label}))l.label="Create project"}return q}};EW.prototype.addChild=function(){this.rowCreated$.next();var a;null==(a=this.table)||a.addExistingChild()};
EW.prototype.createChild=function(){this.rowCreated$.next();var a;null==(a=this.table)||a.createChildIssue()};var FZa=function(a,b){a.hackyPrefs.prefs.projectFilters=b;a.hackyPrefs.save(a.hackyPrefs.prefs)};EW.prototype.addProject=function(a){this.hackyPrefs.prefs.id&&this.issueRelationshipsFridge.assignParentToOneIssue(this.hackyPrefs.prefs.id,a)};EW.\u0275fac=function(a){return new (a||EW)(D(rp),D(qI),D(zJ),D(PH),D(uI),D(IH))};
EW.\u0275cmp=zc({type:EW,selectors:[["my-projects"]],viewQuery:function(a,b){a&1&&jf(yP,5);if(a&2){var c;hf(c=lf())&&(b.table=c.first)}},decls:10,vars:5,consts:[[1,"table-header","child-issue-header","flex-kids-x","align-items-center"],[1,"margin-s-y","flex-kids-x","align-items-center"],["role","status","tabindex","0","matTooltip","Display different projects and each project can be further broken down into smaller tasks.",1,"b-chip","nowrap","squared","xs","keep-focus-ring"],["svgIcon","account_tree_24px",
1,"icon-xxs"],[4,"ngTemplateOutlet"],[3,"collapsed",4,"ngIf"],["class","highlighted-left padded-s-left",4,"ngIf"],["addProjects",""],["saveExpansionAtKey","my-projects",3,"rootIssueId","modifyMenuItems","filters"],["table",""],[4,"ngIf"],[1,"muted"],["href","#","class","keep-focus-ring",3,"click",4,"ngIf"],["class","muted",4,"ngIf"],["href","#",1,"keep-focus-ring",3,"click"],[1,"highlighted-left","padded-s-left"],[1,"margin-s-y"],[4,"ngIf","ngIfElse"],["loading",""],[1,"suggested"],[4,"ngFor","ngForOf"],
["title","Show more projects",3,"onAction",4,"ngIf"],["dismissIcon","add","dismissTooltip","Add project",3,"issue","onlyTitle","onDismiss",4,"ngIf"],["dismissIcon","add","dismissTooltip","Add project",3,"issue","onlyTitle","onDismiss"],["href","http://go/wtdm-home#parent-child-relationship","target","_blank"],["svgIcon","pop-out",1,"icon-xs"],["title","Show more projects",3,"onAction"],["class","add","size","small","title","Create an issue as a project.",3,"disabled","onAction",4,"ngIf"],["size",
"small","title","Add an existing issue as a project.",1,"add",3,"disabled","onAction"],["size","small","title","Show project suggestions",1,"add",3,"disabled","onAction"],["size","small","title","Create an issue as a project.",1,"add",3,"disabled","onAction"]],template:function(a,b){a&1&&(H(0,"div",0)(1,"h2",1)(2,"div",2),K(3,"mat-icon",3),J(),S(4," My projects "),J(),R(5,CZa,1,0,"ng-container",4),J(),R(6,MZa,8,15,"section",5),R(7,TZa,7,4,"div",6),R(8,VZa,7,8,"ng-template",null,7,of));if(a&2){var c=
Se(9);Ie("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]);C(5);G("ngTemplateOutlet",c);C(1);G("ngIf",b.hackyPrefs.prefs.id);C(1);G("ngIf",b.showSuggestedProjects)}},dependencies:[Su,Tu,Yu,qP,jz,XA,yP,wK,SL,Zu],styles:['[_nghost-%COMP%]{display:block}[_nghost-%COMP%]     h4 button{margin:-8px 0}[_nghost-%COMP%]     h4 button.gmat-button.mat-stroked-button.small{line-height:21px}.table-header[_ngcontent-%COMP%]{margin-top:0;margin-bottom:4px}.status[_ngcontent-%COMP%]   b-spinner[_ngcontent-%COMP%]{margin-top:4px}.status[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-top:-1px}b-button.add[_ngcontent-%COMP%]{margin-left:16px}h4[_ngcontent-%COMP%]:hover{text-decoration:underline;cursor:pointer}.table-header.collapsed[_ngcontent-%COMP%]{text-decoration:underline}.table-header.collapsed[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{margin:0}.table-header.collapsed[_ngcontent-%COMP%]   b-button[_ngcontent-%COMP%], .table-header.collapsed[_ngcontent-%COMP%]   .b-chip[_ngcontent-%COMP%]{display:none}.table-header.collapsed[_ngcontent-%COMP%]:after{content:"";margin-left:4px;display:inline-block;border:5px solid rgba(0,0,0,0);border-top:5px solid var(--gfx-muted);border-bottom:0 none}section.collapsed[_ngcontent-%COMP%]{display:none}.suggested[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:8px}\n/*# sourceMappingURL=my_projects.css.map */']});var GPc=function(){return[]},HPc=Yl.EXPERIMENTAL_HOMEPAGE,FW=function(a,b,c,d,e,g){kE.call(this);var h=this;this.hackyPrefs=a;this.projectPicker=b;this.analytics=c;this.hotlistPicker=d;this.savedSearchPicker=e;this.hotlistSuggest=g;this.SECTION_SLUG="my-projects-as-cards";this.IMMERSED=Njc[1];this.SPACE_EMPTY_STATE=xtc;this.log=console.log.bind(console);this.extractHotlistId=Uxa;this.inferEntityType=uk;this.extractSavedSearchId=Vxa;this.suggestedHotlists$=this.hotlistSuggest.suggestedHotlists$;this.addProject=
function(l){null!=l&&Hl(h.hackyPrefs,l)};a=ln(this.hackyPrefs).length;this.analytics.trackEvent(HPc,"display","selected-projects-"+a,a)};V(FW,kE);FW.\u0275dir=kE.\u0275dir;FW.prototype.ngOnInit=function(){var a=this;1===ln(this.hackyPrefs).length&&this.suggestedHotlists$.pipe(ge()).subscribe(function(b){var c=ln(a.hackyPrefs);if("hotlist"===uk(c[0])){var d=Uxa(c[0]);Array.from(b)[0][0].toString()===d&&1===(a.hackyPrefs.configVersionNumber||0)&&(a.hackyPrefs.prefs.collapsed[c[0]]=!0,a.hackyPrefs.save(a.hackyPrefs.prefs))}})};
FW.prototype.onClickAdd=function(){this.projectPicker.open().then(this.addProject)};FW.prototype.onClickAddHotlist=function(){var a=this,b,c,d,e,g,h,l;return Ld(function(q){if(1==q.nextAddress)return q.yield(rMc(a.hotlistPicker,[]),2);b=q.yieldResult;e=null!=(d=null==(c=b)?void 0:c.added)?d:[];g=k(e.map(sk));for(h=g.next();!h.done;h=g.next())l=h.value,Hl(a.hackyPrefs,l);Qd(q)})};
FW.prototype.onClickAddSavedSearch=function(){var a=this;this.savedSearchPicker.open().then(function(b){if(b){b=k(b);for(var c=b.next();!c.done;c=b.next())Hl(a.hackyPrefs,tk(c.value))}})};gg.Object.defineProperties(FW.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});FW.\u0275fac=function(a){return new (a||FW)(D(qI),D(GT),D(AH),D(CU),D(iV),D(iI))};
FW.\u0275cmp=zc({type:FW,selectors:[["my-projects-as-cards"]],features:[xe],decls:9,vars:8,consts:[["mat-icon-button","","title","Add a project","aria-label","Add a project","data-project-add","true",1,"gmat-button","margin-left",3,"click"],["svgIcon","add","color","primary"],[1,"card-container"],[4,"ngFor","ngForOf"],[4,"ngIf"],["class","flex-kids-x gap margin-top",4,"ngIf"],[3,"ngSwitch"],[3,"assignedOnly",4,"ngSwitchCase"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"assignedOnly"],[3,"hotlistId",
4,"ngIf"],[3,"hotlistId"],[3,"issueId",4,"ngSwitchCase"],[3,"issueId",4,"ngSwitchDefault"],[3,"issueId"],[3,"savedSearchId",4,"ngIf"],[3,"savedSearchId"],[1,"muted"],["href","javascript:void(0);",1,"color-bad-text",3,"click"],["href","http://go/b-learn-project-add"],[1,"empty-state"],["aria-hidden","true","alt","",3,"src"],["mat-button","","title","Add a project",1,"gmat-button","margin-left",3,"click"],["mat-icon-button","","href","http://go/b-learn-project-view","target","_blank","title","Learn more",
"aria-label","Learn more",1,"small"],["svgIcon","info",1,"icon-s"],[1,"flex-kids-x","gap","margin-top"],["mat-button","","title","Add a parent/container/tracking issue","data-project-add","true",1,"mega-add","gmat-button","carded",3,"click"],["svgIcon","add"],["mat-button","","data-project-add","true",1,"mega-add","gmat-button","carded",3,"click"]],template:function(a,b){a&1&&(H(0,"h2"),S(1," My projects "),H(2,"button",0),O("click",function(){return b.onClickAdd()}),K(3,"mat-icon",1),J()(),H(4,"section",
2),R(5,i_a,9,7,"ng-container",3),R(6,j_a,11,1,"ng-container",4),R(7,k_a,6,0,"ng-container",4),J(),R(8,l_a,8,0,"aside",5));if(a&2){var c;C(5);G("ngForOf",b.prefs.pinned||Ye(4,GPc));C(1);G("ngIf",0===(b.prefs.pinned||Ye(5,GPc)).length);C(1);G("ngIf",0===(b.prefs.pinned||Ye(6,GPc)).length);C(1);G("ngIf",0<(null!==(c=b.prefs.pinned)&&void 0!==c?c:Ye(7,GPc)).length)}},dependencies:[Su,Tu,Uu,Vu,Wu,yy,zy,jz,DT,bU,UL,jU,fU,VL,ET],styles:["[_nghost-%COMP%]{display:block}img[_ngcontent-%COMP%]{max-width:100%}.empty-state[_ngcontent-%COMP%]{text-align:center}.empty-state[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin-bottom:16px;max-width:150px;opacity:.8;-webkit-filter:saturate(.8);filter:saturate(.8)}button.mega-add[_ngcontent-%COMP%], button.mega-add.gmat-button.mat-button[_ngcontent-%COMP%]:not([disabled]){background-color:#fff;background-color:var(--base-bg);min-height:40px;padding:0 16px;-webkit-align-self:flex-start;-ms-flex-item-align:start;align-self:flex-start}[_nghost-%COMP%]     issue-as-project-card expandable-issues-table{max-height:60vh;overflow-y:auto}.card-container[_ngcontent-%COMP%]{-webkit-column-count:1;-moz-column-count:1;column-count:1;-webkit-column-gap:24px;-moz-column-gap:24px;column-gap:24px;-webkit-column-fill:balance;-moz-column-fill:balance;column-fill:balance}.card-container[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{-webkit-column-break-inside:avoid;break-inside:avoid-column;margin-bottom:24px}[_nghost-%COMP%]{container-type:inline-size}@container (min-width: 1200px){.card-container[_ngcontent-%COMP%]{-webkit-column-count:2;-moz-column-count:2;column-count:2}}@container (min-width: 1800px){.card-container[_ngcontent-%COMP%]{-webkit-column-count:3;-moz-column-count:3;column-count:3}}@container (min-width: 2400px){.card-container[_ngcontent-%COMP%]{-webkit-column-count:4;-moz-column-count:4;column-count:4}}\n/*# sourceMappingURL=my_projects_as_cards.css.map */"]});var IPc=function(){return[]},JPc=Yl.EXPERIMENTAL_HOMEPAGE,GW=function(a,b,c,d,e,g,h,l){kE.call(this);var q=this;this.hackyPrefs=a;this.projectPicker=b;this.analytics=c;this.hotlistPicker=d;this.savedSearchPicker=e;this.issueFridge=g;this.hotlistFridge=h;this.savedSearchFridge=l;this.SECTION_SLUG="my-projects-as-tabs";this.IMMERSED=Njc[1];this.SPACE_EMPTY_STATE=xtc;this.log=console.log.bind(console);this.extractHotlistId=Uxa;this.inferEntityType=uk;this.extractSavedSearchId=Vxa;this.extractIssueId=
Wxa;this.addProject=function(v){null!=v&&Hl(q.hackyPrefs,v)};a=ln(this.hackyPrefs).length;this.analytics.trackEvent(JPc,"display","selected-projects-"+a,a)};V(GW,kE);GW.\u0275dir=kE.\u0275dir;
var w_a=function(a,b){function c(v,y){var B,I,N,Q;return null==v?void 0:null==(B=v.memory)?void 0:null==(I=B.cache)?void 0:null==(N=I.get)?void 0:null==(Q=N.call(I,y))?void 0:Q.data}switch(uk(b)){case "assigned-to-me":return"Assigned to me";case "recent-stuff-i-follow":return"Recent Issues";case "plain-id":var d,e;return null==(d=c(a.issueFridge,b))?void 0:null==(e=d.snapshot[0])?void 0:e.title;case "issue":b=Wxa(b);var g,h;return null==(g=c(a.issueFridge,b))?void 0:null==(h=g.snapshot[0])?void 0:
h.title;case "hotlist":b=Uxa(b);var l;return null==(l=c(a.hotlistFridge,b))?void 0:l.name;case "savedsearch":b=Vxa(b);var q;return null==(q=c(a.savedSearchFridge,b))?void 0:q.name;default:console.warn("unknown reference type",b)}};f=GW.prototype;f.isCollapsed=function(){return this.hackyPrefs.prefs.collapsed["my-projects-as-tabs"]};f.toggleCollapsed=function(){this.hackyPrefs.toggleCollapsed("my-projects-as-tabs")};f.onClickAdd=function(){this.projectPicker.open().then(this.addProject)};
f.onClickAddHotlist=function(){var a=this,b,c,d,e,g,h,l;return Ld(function(q){if(1==q.nextAddress)return q.yield(rMc(a.hotlistPicker,[]),2);b=q.yieldResult;e=null!=(d=null==(c=b)?void 0:c.added)?d:[];g=k(e.map(sk));for(h=g.next();!h.done;h=g.next())l=h.value,Hl(a.hackyPrefs,l);Qd(q)})};f.onClickAddSavedSearch=function(){var a=this;this.savedSearchPicker.open().then(function(b){if(b){b=k(b);for(var c=b.next();!c.done;c=b.next())Hl(a.hackyPrefs,tk(c.value))}})};
gg.Object.defineProperties(GW.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});GW.\u0275fac=function(a){return new (a||GW)(D(qI),D(GT),D(AH),D(CU),D(iV),D(IH),D(lH),D(RH))};
GW.\u0275cmp=zc({type:GW,selectors:[["my-projects-as-tabs"]],features:[xe],decls:19,vars:7,consts:[[1,"carded","bg-main"],[1,"flex-kids-x"],[1,"header-left"],[1,"type-l","line-clamp-3"],["mat-icon-button","","aria-label","Toggle expansion state",1,"gmat-button","small","collapse-btn",3,"click"],["svgIcon","arrow-up",1,"icon-s"],[1,"margin-left-auto","flex-kids-x","align-items-center","card-controls"],["mat-icon-button","","title","Add a project","aria-label","Add a project","data-project-add","true",
1,"gmat-button","margin-left",3,"click"],["svgIcon","add","color","primary"],["mat-icon-button","","aria-label","More options","aria-haspopup","true",1,"gmat-button","card-overflow",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical",1,"icon-m"],["menu","matMenu"],[1,"muted"],["gmat-tabs","",1,"no-cards-inside","main-content","margin-top",3,"selectedIndex","selectedIndexChange"],[4,"ngFor","ngForOf"],[4,"ngIf"],[3,"ngSwitch"],[3,"label"],[3,"assignedOnly",4,"ngSwitchCase"],[4,"ngSwitchCase"],
[4,"ngSwitchDefault"],[3,"assignedOnly"],[3,"hotlistId","neverCollapse",4,"ngIf"],[3,"hotlistId","neverCollapse"],[3,"issueId","neverCollapse"],[3,"issueId","neverCollapse",4,"ngIf"],[3,"savedSearchId","neverCollapse",4,"ngIf"],[3,"savedSearchId","neverCollapse"],["href","javascript:void(0);",1,"color-bad-text",3,"click"],["href","http://go/b-learn-project-add"],["class","flex-kids-x gap bottom-buttons",4,"ngIf"],[1,"flex-kids-x","gap","bottom-buttons"],["mat-button","","title","Add a parent/container/tracking issue",
"data-project-add","true",1,"mega-add","gmat-button","carded",3,"click"],["svgIcon","add"],["mat-button","","data-project-add","true",1,"mega-add","gmat-button","carded",3,"click"]],template:function(a,b){a&1&&(H(0,"div",0)(1,"header",1)(2,"div",2)(3,"span",3),S(4," My projects "),H(5,"button",4),O("click",function(){return b.toggleCollapsed()}),K(6,"mat-icon",5),J()()(),H(7,"div",6)(8,"button",7),O("click",function(){return b.onClickAdd()}),K(9,"mat-icon",8),J(),H(10,"button",9),K(11,"mat-icon",
10),J(),H(12,"mat-menu",null,11)(14,"p",12),S(15,"WIP"),J()()()(),H(16,"mat-tab-group",13),O("selectedIndexChange",function(d){return R1a(b.hackyPrefs,{chosenTabForWork:d})}),R(17,x_a,10,8,"ng-container",14),J()(),R(18,z_a,2,1,"ng-container",15));if(a&2){var c=Se(13);Ie("collapsed",b.isCollapsed());C(10);G("matMenuTriggerFor",c);C(6);G("selectedIndex",b.prefs.chosenTabForWork);C(1);G("ngForOf",b.prefs.pinned||Ye(6,IPc));C(1);G("ngIf",b.prefs.pinned)}},dependencies:[Su,Tu,Uu,Vu,Wu,yy,jz,NM,MM,DT,UL,
jU,fU,SM,PA,OA],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%]     .no-cards-inside .carded{border:none;padding-left:0}.bottom-buttons[_ngcontent-%COMP%]{margin-top:16px}.bottom-buttons[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{background-color:#fff;background-color:var(--surface-default)}.card-controls[_ngcontent-%COMP%]{margin-top:-8px;margin-bottom:-8px}.collapsed[_ngcontent-%COMP%]   .main-content[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   .stats[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   footer[_ngcontent-%COMP%]{display:none}.collapse-btn[_ngcontent-%COMP%]{-webkit-transition:-webkit-transform .1s ease-in-out;transition:-webkit-transform .1s ease-in-out;transition:transform .1s ease-in-out;transition:transform .1s ease-in-out,-webkit-transform .1s ease-in-out}.collapsed[_ngcontent-%COMP%]   .collapse-btn[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}\n/*# sourceMappingURL=my_projects_as_tabs.css.map */"]});var HW=function(a,b){this.hackyPrefs=a;this.queryIssues=b;this.DEFAULT_COLUMNS=Rjc;this.assignedIssues$=Qnc(this.queryIssues);this.assignedIds$=this.assignedIssues$.pipe(E(function(c){return c.map(function(d){return d.issueId})}))};HW.prototype.isCollapsed=function(){return this.hackyPrefs.prefs.collapsed.MY_TASKS_AREA};HW.prototype.toggleCollapsed=function(){this.hackyPrefs.toggleCollapsed("MY_TASKS_AREA")};gg.Object.defineProperties(HW.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});
HW.\u0275fac=function(a){return new (a||HW)(D(qI),D(hI))};
HW.\u0275cmp=zc({type:HW,selectors:[["my-tasks-area"]],decls:28,vars:11,consts:[[1,"carded","bg-main"],[1,"flex-kids-x"],[1,"header-left"],[1,"type-l","line-clamp-3"],["mat-icon-button","","aria-label","Toggle expansion state",1,"gmat-button","small","collapse-btn",3,"click"],["svgIcon","arrow-up",1,"icon-s"],[1,"margin-left-auto","flex-kids-x","align-items-center","card-controls"],["mat-icon-button","","aria-label","More options","aria-haspopup","true",1,"gmat-button","card-overflow",3,"matMenuTriggerFor"],
["svgIcon","more-settings-vertical",1,"icon-m"],["menu","matMenu"],[1,"muted"],["gmat-tabs","",1,"main-content","margin-top"],["label","Things I own"],[4,"ngIf","ngIfElse"],["loading",""],["label","Collaborating on"],["label","Vested in"],[1,"margin-top"],["href","/issues?q=assignee:me status:open modified:30d",1,"subtle-link"],[1,"margin-top",3,"issueIds","displayedColumns","assigneeMode"]],template:function(a,b){a&1&&(H(0,"div",0)(1,"header",1)(2,"div",2)(3,"span",3),S(4," My tasks "),H(5,"button",
4),O("click",function(){return b.toggleCollapsed()}),K(6,"mat-icon",5),J()()(),H(7,"div",6)(8,"button",7),K(9,"mat-icon",8),J(),H(10,"mat-menu",null,9)(12,"p",10),S(13,"WIP"),J()()()(),H(14,"mat-tab-group",11)(15,"mat-tab",12),R(16,A_a,2,3,"ng-container",13),T(17,"slice"),T(18,"async"),R(19,B_a,1,0,"ng-template",null,14,of),J(),H(21,"mat-tab",15),S(22,"WIP. bar"),J(),H(23,"mat-tab",16),S(24,"WIP. baz"),J()(),H(25,"footer",17)(26,"a",18),S(27,"View all"),J()()());if(a&2){var c=Se(11),d=Se(20);Ie("collapsed",
b.isCollapsed());C(8);G("matMenuTriggerFor",c);C(8);G("ngIf",cf(17,5,U(18,9,b.assignedIds$),0,15))("ngIfElse",d)}},dependencies:[Tu,yy,jz,GL,NM,MM,SL,PA,OA,SM,Zu,fv],styles:["[_nghost-%COMP%]{display:block}.collapsed[_ngcontent-%COMP%]   .main-content[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   .stats[_ngcontent-%COMP%], .collapsed[_ngcontent-%COMP%]   footer[_ngcontent-%COMP%]{display:none}.collapse-btn[_ngcontent-%COMP%]{-webkit-transition:-webkit-transform .1s ease-in-out;transition:-webkit-transform .1s ease-in-out;transition:transform .1s ease-in-out;transition:transform .1s ease-in-out,-webkit-transform .1s ease-in-out}.collapsed[_ngcontent-%COMP%]   .collapse-btn[_ngcontent-%COMP%]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.card-controls[_ngcontent-%COMP%]{margin-top:-8px;margin-bottom:-8px}\n/*# sourceMappingURL=my_tasks_area.css.map */"]});var KPc="NEAR_SLO MENTIONED UNBLOCKED NEEDS_REPORTER_INPUT REPLIED_TO_MENTION NEWLY_BLOCKING ASSIGNED".split(" "),IW=function(a,b,c,d,e){kE.call(this);this.needsAttentionApi=a;this.snackbar=b;this.hackyPrefs=c;this.dateFormatter=d;this.cdr=e;this.SECTION_SLUG="needs-attention";this.needsAttentionIssues=[];this.issueToSignalsMap=new Map;this.dismissInProgress={};a={};this.SIGNAL_MAPPING=(a.NEAR_SLO={color:"orange",text:"Near SLO",icon:"timelapse_24px",className:"near-slo"},a.MENTIONED={color:"pink",
text:"Mentioned me",icon:"alternate_email_24px",className:"mentioned-me"},a.UNBLOCKED={color:"cyan",text:"Blockers closed",icon:"slo-status-no-data",className:"unblocked"},a.NEEDS_REPORTER_INPUT={color:"purple",text:"Need reporter input",icon:"rate_review_24px",className:"needs-reporter-input"},a.ASSIGNED={color:"",className:"",text:"",icon:""},a.REPLIED_TO_MENTION={color:"",className:"",text:"",icon:""},a.NEWLY_BLOCKING={color:"",className:"",text:"",icon:""},a.SIGNAL_TYPE_UNKNOWN={color:"",text:"",
icon:"",className:""},a);this.ALL_SIGNAL_TYPES=Object.values(adc).filter(function(g){return"SIGNAL_TYPE_UNKNOWN"!==g&&"ASSIGNED"!==g&&"REPLIED_TO_MENTION"!==g&&"NEWLY_BLOCKING"!==g});this.selectedSignals=[].concat(Jc(this.ALL_SIGNAL_TYPES));a={};this.signalCounts=(a.NEAR_SLO=0,a.MENTIONED=0,a.UNBLOCKED=0,a.NEEDS_REPORTER_INPUT=0,a.ASSIGNED=0,a.REPLIED_TO_MENTION=0,a.NEWLY_BLOCKING=0,a.SIGNAL_TYPE_UNKNOWN=0,a)};V(IW,kE);IW.\u0275dir=kE.\u0275dir;
IW.prototype.ngOnInit=function(){var a=this;LPc(this);this.destroyed$.pipe(ge()).subscribe(function(){var b;null==(b=a.snackbarRef)||b.dismiss()})};
var LPc=function(a){var b={};a.signalCounts=(b.NEAR_SLO=0,b.MENTIONED=0,b.UNBLOCKED=0,b.NEEDS_REPORTER_INPUT=0,b.ASSIGNED=0,b.REPLIED_TO_MENTION=0,b.NEWLY_BLOCKING=0,b.SIGNAL_TYPE_UNKNOWN=0,b);a.needsAttentionApi.listIssues(void 0,void 0,KPc).then(function(c){c=k(c.issuesWithSignals);for(var d=c.next();!d.done;d=c.next())d=d.value,a.needsAttentionIssues.push(d.issue),a.issueToSignalsMap.set(d.issue.issueId,d.signals),d.signals.forEach(function(e){a.signalCounts[e.signalType]++});a.cdr.detectChanges()})},
MPc=function(a){return a.needsAttentionIssues.filter(function(b){var c,d=(null!=(c=a.issueToSignalsMap.get(b.issueId))?c:[]).some(function(g){return a.selectedSignals.includes(g.signalType)}),e;return(null==(e=a.lastDismissedIssue)?void 0:e.issueId)!==b.issueId&&d})};
IW.prototype.dismissIssue=function(a){var b=this;this.dismissInProgress[a]=!0;eOc(this.needsAttentionApi,[a],!0).then(function(){for(var c=0;c<b.needsAttentionIssues.length;c++)if(b.needsAttentionIssues[c].issueId===a){b.lastDismissedIssue=b.needsAttentionIssues[c];b.lastDismissedIssueIndex=c;b.needsAttentionIssues.splice(c,1);break}b.cdr.detectChanges();b.dismissInProgress[a]=!1;b.snackbarRef=b.snackbar.open({message:"Issue dismissed",actionLabel:"Undo"});b.snackbarRef._afterDismissed.pipe(ge()).subscribe(function(d){d.dismissedByAction&&
NPc(b,a)})})};var NPc=function(a,b){eOc(a.needsAttentionApi,[b],!1).then(function(){a.needsAttentionIssues.splice(a.lastDismissedIssueIndex,0,a.lastDismissedIssue);a.cdr.detectChanges();a.snackbar.open({message:"Issue un-dismissed"})})};IW.prototype.selectAllSignals=function(){this.selectedSignals=[].concat(Jc(this.ALL_SIGNAL_TYPES))};IW.prototype.toggleSignal=function(a){var b=this.selectedSignals.indexOf(a);-1===b?this.selectedSignals.push(a):this.selectedSignals.splice(b,1)};
var G_a=function(a,b){return(a.issueToSignalsMap.get(b)||[]).find(function(c){return a.selectedSignals.includes(c.signalType)})||null};
IW.prototype.getSignalTypeTooltip=function(a){a=G_a(this,a);if(!a)return"";var b,c=(null==(b=a.timestamp)?0:b.seconds)?this.dateFormatter.format("MMM dd",void 0,new Date(1E3*a.timestamp.seconds)):null;switch(a.signalType){case "NEAR_SLO":return c?"SLO violation occurs on "+c:"This issue is near or past an SLO deadline";case "MENTIONED":return c?"You were mentioned on "+c:"You were mentioned on this issue recently";case "UNBLOCKED":return c?"The last blocking issue was closed on "+c:"The last blocking issue was closed recently";
case "NEEDS_REPORTER_INPUT":return c?"Issue was assigned back to reporter (you) on "+c:"Issue was assigned back to reporter (you) recently";default:return"This issue requires your attention"}};
var C_a=function(a){switch(a){case "NEAR_SLO":return"Issues which have less than 20% of SLO time remaining";case "MENTIONED":return"Someone mentioned you in a comment";case "NEEDS_REPORTER_INPUT":return"Issue is assigned back to reporter (you) for more context";case "UNBLOCKED":return"All blocking issues are closed";default:return""}};IW.\u0275fac=function(a){return new (a||IW)(D(TV),D(UF),D(qI),D(AK),D(wH,2))};
IW.\u0275cmp=zc({type:IW,selectors:[["needs-attention-widget"]],features:[Xe([wH]),xe],decls:10,vars:11,consts:[[1,"muted"],[1,"padded-left","signal-chips","hidden"],[1,"chippy","rounded","margin-s-right","select-all-signals",3,"click"],[4,"ngFor","ngForOf"],[1,"issues","padded-s-bottom"],["matTooltipShowDelay","750",3,"matTooltip","selected","class","click",4,"ngIf"],["matTooltipShowDelay","750",3,"matTooltip","click"],[3,"svgIcon"],[4,"ngIf"],["dismissIcon","close","dismissTooltip","Dismiss issue",
3,"issue","moreInfoIconSvg","moreInfoMessage","moreInfoAccentColor","disableDismiss","onDismiss"]],template:function(a,b){a&1&&(H(0,"h2"),S(1," Needs attention "),H(2,"span",0),S(3),J()(),H(4,"section",1)(5,"span",2),O("click",function(){return b.selectAllSignals()}),S(6," All "),J(),R(7,E_a,2,1,"ng-container",3),J(),H(8,"section",4),R(9,H_a,2,1,"ng-container",3),J());a&2&&(Ie("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]),C(3),Te("(",b.needsAttentionIssues.length,")"),C(1),Ie("collapsed",
b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]),C(1),Ie("selected",b.selectedSignals.length===b.ALL_SIGNAL_TYPES.length),C(2),G("ngForOf",b.ALL_SIGNAL_TYPES),C(1),Ie("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]),C(1),G("ngForOf",MPc(b)))},dependencies:[wK,Su,Tu,jz,XA],styles:['[_nghost-%COMP%]{display:block}.signal-chips[_ngcontent-%COMP%]   .chippy[_ngcontent-%COMP%]{cursor:pointer;padding:0 12px 0 4px}.signal-chips[_ngcontent-%COMP%]   .chippy.needs-reporter-input[_ngcontent-%COMP%]{padding-left:8px}.signal-chips[_ngcontent-%COMP%]   .chippy.select-all-signals[_ngcontent-%COMP%]{padding:0 10px 0 8px}.select-all-signals.selected[_ngcontent-%COMP%]{color:#185abc;color:var(--selected-text);box-shadow:inset 0 0 0 1px #185abc;box-shadow:inset 0 0 0 1px var(--selected-text);background-color:#d2e3fc;background-color:var(--selected-bg)}.empty-state-img[_ngcontent-%COMP%]{max-width:320px}.chippy.selected[_ngcontent-%COMP%]{font-weight:500}.chippy.selected.near-slo[_ngcontent-%COMP%]{color:#bd4800;color:var(--orange-text);box-shadow:inset 0 0 0 1px #bd4800;box-shadow:inset 0 0 0 1px var(--orange-text);background-color:#fff3e9;background-color:var(--orange-bg)}.chippy.selected.mentioned-me[_ngcontent-%COMP%]{color:#d01884;color:var(--pink-text);box-shadow:inset 0 0 0 1px #d01884;box-shadow:inset 0 0 0 1px var(--pink-text);background-color:#fff2f9;background-color:var(--pink-bg)}.chippy.selected.unblocked[_ngcontent-%COMP%]{color:#34989d;color:var(--cyan-text);box-shadow:inset 0 0 0 1px #34989d;box-shadow:inset 0 0 0 1px var(--cyan-text);background-color:#ebfcfe;background-color:var(--cyan-bg)}.chippy.selected.needs-reporter-input[_ngcontent-%COMP%]{color:#9334e6;color:var(--purple-text);box-shadow:inset 0 0 0 1px #9334e6;box-shadow:inset 0 0 0 1px var(--purple-text);background-color:#f9f3ff;background-color:var(--purple-bg)}.issues[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:8px;max-height:450px;overflow-y:scroll}h4[_ngcontent-%COMP%]:hover{text-decoration:underline;cursor:pointer}h4.collapsed[_ngcontent-%COMP%]{text-decoration:underline;margin:8px 0;border-radius:4px;border:1px solid;border-color:#dadce0;border-color:var(--divider);padding:16px;background-color:#fff;background-color:var(--surface-default)}h4.collapsed[_ngcontent-%COMP%]:after{content:"";margin-left:4px;display:inline-block;border:5px solid transparent;border-top:5px solid var(--gfx-muted);border-bottom:0 none}section.collapsed[_ngcontent-%COMP%]{display:none}\n/*# sourceMappingURL=needs_attention.css.map */'],
changeDetection:0});var JW=function(a){this.dateFormatter=a;this.SIGNAL_MAPPING=new Map([["NEAR_SLO",{color:"orange",text:"Near SLO",icon:"timelapse_24px",className:"near-slo"}],["MENTIONED",{color:"pink",text:"Mentioned me",icon:"alternate_email_24px",className:"mentioned-me"}],["UNBLOCKED",{color:"cyan",text:"Blockers closed",icon:"slo-status-no-data",className:"unblocked"}],["NEEDS_REPORTER_INPUT",{color:"purple",text:"Need reporter input",icon:"rate_review_24px",className:"needs-reporter-input"}],["ASSIGNED",{color:"",
text:"",icon:"",className:""}],["REPLIED_TO_MENTION",{color:"",text:"",icon:"",className:""}],["NEWLY_BLOCKING",{color:"",text:"",icon:"",className:""}],["SIGNAL_TYPE_UNKNOWN",{color:"",text:"",icon:"",className:""}]])};
JW.prototype.getSignalTypeTooltip=function(){var a,b=(null==(a=this.signal.timestamp)?0:a.seconds)?this.dateFormatter.format("MMM dd",void 0,new Date(1E3*this.signal.timestamp.seconds)):null;switch(this.signal.signalType){case "NEAR_SLO":return b?"SLO violation occurs on "+b:"This issue is near or past an SLO deadline";case "MENTIONED":return b?"You were mentioned on "+b:"You were mentioned on this issue recently";case "UNBLOCKED":return b?"The last blocking issue was closed on "+b:"The last blocking issue was closed recently";
case "NEEDS_REPORTER_INPUT":return b?"Issue was assigned back to reporter (you) on "+b:"Issue was assigned back to reporter (you) recently";default:return"This issue requires your attention"}};JW.\u0275fac=function(a){return new (a||JW)(D(AK))};
JW.\u0275cmp=zc({type:JW,selectors:[["b-signal-chip"]],inputs:{signal:"signal"},decls:1,vars:1,consts:[[3,"matTooltip","class",4,"ngIf"],[3,"matTooltip"],[3,"svgIcon"]],template:function(a,b){a&1&&R(0,I_a,2,5,"span",0);a&2&&G("ngIf",b.SIGNAL_MAPPING.get(b.signal.signalType))},dependencies:[Tu,jz,XA],styles:[".chippy.near-slo[_ngcontent-%COMP%]{color:#bd4800;color:var(--orange-text);box-shadow:inset 0 0 0 1px #bd4800;box-shadow:inset 0 0 0 1px var(--orange-text);background-color:#fff3e9;background-color:var(--orange-bg)}.chippy.mentioned-me[_ngcontent-%COMP%]{color:#d01884;color:var(--pink-text);box-shadow:inset 0 0 0 1px #d01884;box-shadow:inset 0 0 0 1px var(--pink-text);background-color:#fff2f9;background-color:var(--pink-bg)}.chippy.unblocked[_ngcontent-%COMP%]{color:#34989d;color:var(--cyan-text);box-shadow:inset 0 0 0 1px #34989d;box-shadow:inset 0 0 0 1px var(--cyan-text);background-color:#ebfcfe;background-color:var(--cyan-bg)}.chippy.needs-reporter-input[_ngcontent-%COMP%]{color:#9334e6;color:var(--purple-text);box-shadow:inset 0 0 0 1px #9334e6;box-shadow:inset 0 0 0 1px var(--purple-text);background-color:#f9f3ff;background-color:var(--purple-bg)}\n/*# sourceMappingURL=signal_chip.css.map */"]});var KW=function(a,b,c,d,e,g,h){IW.call(this,a,b,c,d,h);this.needsAttentionApi=a;this.snackbar=b;this.hackyPrefs=c;this.dateFormatter=d;this.domSafe=e;this.router=g;this.cdr=h;this.SECTION_SLUG="needs-attention-table";this.columnsToDisplay=["alert","title","priority","action"];this.customColumns=["alert","action"]};V(KW,IW);KW.\u0275dir=IW.\u0275dir;KW.prototype.getIssueIdsToDisplay=function(){return MPc(this).map(function(a){return a.issueId})};
KW.prototype.navigateToIssue=function(a,b,c){"mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button||"A"===a.target.tagName||(b=Gk(c.issueId),a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button?this.domSafe.openInNewTab(b):a&&a.shiftKey?Wl(this.domSafe,b):ip(this.router,b))};KW.\u0275fac=function(a){return new (a||KW)(D(TV),D(UF),D(qI),D(AK),D(rK),D(GG),D(wH,2))};
KW.\u0275cmp=zc({type:KW,selectors:[["needs-attention-table"]],features:[Xe([wH]),xe],decls:9,vars:5,consts:[[1,"flex-kids-x","justify-space-between"],[1,"muted","type-s"],[1,"carded","bg-main"],[3,"collapsed","issueIds","displayedColumns","customColumns",4,"ngIf","ngIfElse"],["emptyState",""],[3,"issueIds","displayedColumns","customColumns"],[4,"forViewCell"],[4,"ngIf"],[3,"signal"],["mat-button","","color","primary",1,"small",3,"click"],[1,"muted"]],template:function(a,b){a&1&&(H(0,"div",0)(1,"h2"),
S(2," Needs attention "),H(3,"span",1),S(4),J()()(),H(5,"div",2),R(6,N_a,3,7,"flat-issues-table",3),R(7,O_a,2,0,"ng-template",null,4,of),J());if(a&2){var c=Se(8);C(1);Ie("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]);C(3);Te("(",b.needsAttentionIssues.length,")");C(2);G("ngIf",0<b.getIssueIdsToDisplay().length)("ngIfElse",c)}},dependencies:[Tu,yy,GL,HL,JW],styles:["h2[_ngcontent-%COMP%] {\n      min-height: 40px; \n      line-height: 40px;\n    }"],changeDetection:0});var OPc=function(){return[]},PPc=function(a,b,c){this.hackyPrefs=a;this.issueFridge=b;this.refreshMonitor=c;this.SECTION_SLUG="pinned-issues";this.pinnedIssues$=this.hackyPrefs.prefs$.pipe(E(function(d){var e;return null!=(e=null==d?void 0:d.pinned)?e:[]}),pe(this.issueFridge.watchSet))};PPc.\u0275fac=function(a){return new (a||PPc)(D(qI),D(IH),D(GH))};
PPc.\u0275cmp=zc({type:PPc,selectors:[["pinned-issues"]],decls:10,vars:14,consts:[[1,"muted"],[1,"issues"],[4,"ngFor","ngForOf"],[4,"ngIf"],["dismissIcon","keep_off","dismissTooltip","Un-pin issue",3,"issue","onDismiss"]],template:function(a,b){a&1&&(H(0,"h4"),S(1," Pinned "),H(2,"span",0),S(3),T(4,"async"),J()(),H(5,"section",1),R(6,P_a,2,1,"ng-container",2),T(7,"async"),R(8,Q_a,2,0,"ng-container",3),T(9,"async"),J());if(a&2){var c,d;Ie("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]);C(3);
Te(" (",(null!==(c=U(4,7,b.pinnedIssues$))&&void 0!==c?c:Ye(13,OPc)).length,")");C(2);Ie("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]);C(1);G("ngForOf",U(7,9,b.pinnedIssues$));C(2);G("ngIf",0===(null==(d=U(9,11,b.pinnedIssues$))?null:d.length))}},dependencies:[wK,Su,Tu,Zu],styles:['[_nghost-%COMP%]{display:block}.issues[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;overflow-y:scroll;max-height:225px;gap:8px}h4[_ngcontent-%COMP%]{margin-top:0}h4[_ngcontent-%COMP%]:hover{text-decoration:underline;cursor:pointer}h4.collapsed[_ngcontent-%COMP%]{text-decoration:underline;margin:8px 0;border-radius:4px;border:1px solid;border-color:#dadce0;border-color:var(--divider);padding:16px;background-color:#fff;background-color:var(--surface-default)}h4.collapsed[_ngcontent-%COMP%]:after{content:"";margin-left:4px;display:inline-block;border:5px solid transparent;border-top:5px solid var(--gfx-muted);border-bottom:0 none}section.collapsed[_ngcontent-%COMP%]{display:none}[_nghost-%COMP%]     .cdk-drag-placeholder{display:none}\n/*# sourceMappingURL=pinned_issues.css.map */']});var QPc=Rmc("edited-ids"),RPc=Pmc("edited-ids"),SPc=Rmc("viewed-ids"),TPc=Pmc("viewed-ids"),LW=function(a){var b=this;this.appEvents=a;this.stop$=new F.Subject;this.edited=new Map;this.viewed=new Map;this.addViewed=function(c){R_a(b.viewed,c);SPc(Array.from(b.viewed.keys()).join(","))};this.addEdited=function(c){R_a(b.edited,c);QPc(Array.from(b.edited.keys()).join(","))}};LW.\u0275fac=function(a){return new (a||LW)(w(cG))};LW.\u0275prov=nc({token:LW,factory:LW.\u0275fac,providedIn:"root"});var V_a=function(){return[]},MW=function(a,b,c,d,e,g){kE.call(this);this.activeSession=a;this.issueFridge=b;this.issueLru=c;this.hackyPrefs=d;this.matDialogService=e;this.refreshMonitor=g;this.SECTION_SLUG="recently-viewed-i-own";this.recentIds=[];this.columnsToDisplay="pin id title priority type status menu".split(" ");this.customColumns=["pin"];this.isRecentIssues=!0;this.currentUserEmailAddress=this.activeSession.getUserEmail();this.pinnedIssues$=this.hackyPrefs.prefs$.pipe(E(function(h){var l;
return null!=(l=null==h?void 0:h.pinned)?l:[]}),pe(this.issueFridge.watchSet))};V(MW,kE);MW.\u0275dir=kE.\u0275dir;
MW.prototype.getIssueIdsToDisplay=function(){var a=this,b=0,c=ln(this.hackyPrefs).length;b=0===c?20:3>c?10:5;this.recentIds=Array.from(this.issueLru.viewed.keys());c=vk();5>this.recentIds.length||c&&c!==wk?(c||(c=wk),this.isRecentIssues=!1,this.issueIdsToDisplay$=this.issueFridge.watchMany({filter:"(assignee:"+c+" OR reporter:"+c+") t:(bug | customer_issue | feature | feature_request | story | task | internal_cleanup | process) modified:90d",pageSize:20,sort:"modified_time:desc"}).pipe(qe(this.destroyed$),
E(function(d){return d.results}),E(function(d){return d.filter(function(e){return UPc(a,e)}).map(function(e){return e.issueId})}))):this.issueIdsToDisplay$=this.issueFridge.watchSet(this.recentIds).pipe(ge(),qe(this.destroyed$),E(function(d){return d.filter(function(e){return UPc(a,e)}).map(function(e){return e.issueId}).reverse().slice(0,b)}))};MW.prototype.ngOnInit=function(){var a=this;this.getIssueIdsToDisplay();this.refreshMonitor.getObservable().pipe(qe(this.destroyed$)).subscribe(function(){a.getIssueIdsToDisplay()})};
var UPc=function(a,b){var c=b.snapshot[0],d,e=null!=(d=a.hackyPrefs.prefs.id)?d:"";if(ln(a.hackyPrefs).includes(b.issueId))return!1;if(Jxa(b.ancestors).includes(e))return!0;if(!lk(b))return!1;var g,h;return a.isRecentIssues&&(null==(g=c.assigneeUser)?void 0:g.emailAddress)!==a.currentUserEmailAddress&&(null==(h=c.reporterUser)?void 0:h.emailAddress)!==a.currentUserEmailAddress?!1:!0},VPc=function(a){Gy(a.matDialogService.open(RLc,{data:{currentColumns:a.columnsToDisplay},width:"500px"})).subscribe(function(b){a.columnsToDisplay=
[].concat(Jc(b))})};gg.Object.defineProperties(MW.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});MW.\u0275fac=function(a){return new (a||MW)(D(rp),D(IH),D(LW),D(qI),D(Ly),D(GH))};
MW.\u0275cmp=zc({type:MW,selectors:[["recently-viewed-i-own"]],features:[xe],decls:11,vars:11,consts:[[1,"carded","bg-main"],[4,"ngIf"],[1,"flex-kids-x","justify-space-between","align-items-center"],[1,"table-heading"],["mat-icon-button","","matTooltip","Customize columns","aria-label","Customize columns","aria-haspopup","true",1,"gmat-button","medium",3,"click"],[1,"google-material-icons"],[3,"issueIds","displayedColumns","customColumns"],[4,"forViewCell"],["class","margin-bottom",4,"ngIf"],[1,"issues",
"margin-bottom"],[4,"ngFor","ngForOf"],[1,"margin-bottom"],["dismissIcon","keep_off","dismissTooltip","Un-pin issue",3,"issue","onDismiss"],["mat-icon-button","","matTooltip","Unpin issue","aria-label","Unpin issue",1,"gmat-button","medium","pin-button",3,"click"],["inline","true",1,"google-material-icons"],["mat-icon-button","","matTooltip","Pin issue","aria-label","Pin issue",1,"gmat-button","medium","pin-button",3,"click"]],template:function(a,b){a&1&&(H(0,"section",0),R(1,W_a,6,7,"ng-container",
1),H(2,"div",2)(3,"h4",3),S(4," Recent issues "),J(),H(5,"button",4),O("click",function(){return VPc(b)}),H(6,"mat-icon",5),S(7,"view_column"),J()()(),H(8,"flat-issues-table",6),T(9,"async"),R(10,Z_a,3,2,"span",7),J()());a&2&&(C(1),G("ngIf",!(null==b.prefs.sectionW?0:b.prefs.sectionW.includes("pinned-issues"))&&!(null==b.prefs.sectionA?0:b.prefs.sectionA.includes("pinned-issues"))),C(2),Ie("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]),C(5),Ie("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]),
G("issueIds",U(9,9,b.issueIdsToDisplay$))("displayedColumns",b.columnsToDisplay)("customColumns",b.customColumns),C(2),G("forViewCell","pin"))},dependencies:[Su,Tu,yy,jz,GL,HL,wK,Zu],styles:['[_nghost-%COMP%]{display:block}.table-heading[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0}.table-heading[_ngcontent-%COMP%]:hover{text-decoration:underline;cursor:pointer}.table-heading.collapsed[_ngcontent-%COMP%]{text-decoration:underline;margin:0}.table-heading.collapsed[_ngcontent-%COMP%]:after{content:"";margin-left:4px;display:inline-block;border:5px solid transparent;border-top:5px solid var(--gfx-muted);border-bottom:0 none}flat-issues-table[_ngcontent-%COMP%]{display:block;overflow-x:auto}flat-issues-table.collapsed[_ngcontent-%COMP%]{display:none}.pin-button[_ngcontent-%COMP%]{margin-left:4px}.pin-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{margin-bottom:3px;color:#80868b;color:var(--gfx-muted);opacity:.5}.pin-button[_ngcontent-%COMP%]:hover   mat-icon[_ngcontent-%COMP%]{color:#3c4043;color:var(--gfx);opacity:1}.issues[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;overflow-y:scroll;max-height:350px;gap:8px}[_nghost-%COMP%]     .issues{max-height:none}\n/*# sourceMappingURL=recently_viewed_owned.css.map */']});var NW=function(a,b){this.issueSuggestService=a;this.hackyPrefs=b;this.SECTION_SLUG="suggested-issues";this.columnsToDisplay="id title priority type status menu".split(" ");this.issueIdsToDisplay$=this.issueSuggestService.suggestedIssues$};NW.prototype.ngOnInit=function(){};NW.\u0275fac=function(a){return new (a||NW)(D(sI),D(qI))};
NW.\u0275cmp=zc({type:NW,selectors:[["suggested-issues"]],decls:8,vars:6,consts:[[1,"flex-kids-x","justify-space-between","align-items-center"],[1,"table-heading",3,"click"],[2,"overflow","auto"],[4,"ngIf","ngIfElse"],["loading",""],[3,"issueIds","displayedColumns"]],template:function(a,b){a&1&&(H(0,"div",0)(1,"h2",1),O("click",function(){return b.hackyPrefs.toggleCollapsed(b.SECTION_SLUG)}),S(2," Suggested Issues "),J()(),H(3,"div",2),R(4,$_a,2,4,"ng-container",3),T(5,"async"),J(),R(6,a0a,1,0,"ng-template",
null,4,of));if(a&2){var c=Se(7);C(1);Ie("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]);C(3);G("ngIf",U(5,4,b.issueIdsToDisplay$))("ngIfElse",c)}},dependencies:[Tu,GL,SL,Zu],styles:['.table-heading[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0}.table-heading[_ngcontent-%COMP%]:hover{text-decoration:underline;cursor:pointer}.table-heading.collapsed[_ngcontent-%COMP%]{text-decoration:underline;margin:0}.table-heading.collapsed[_ngcontent-%COMP%]:after{content:"";margin-left:4px;display:inline-block;border:5px solid transparent;border-top:5px solid var(--gfx-muted);border-bottom:0 none}flat-issues-table.collapsed[_ngcontent-%COMP%]{display:none}\n/*# sourceMappingURL=suggested_issues.css.map */']});var OW=function(a){this.teamsService=a;this.onTeamLoaded=new F.ReplaySubject(1);this.teamName$=new F.BehaviorSubject("");this.isTeamLoaded=!1};OW.prototype.ngOnChanges=function(a){var b=this;a.teamId&&null!==this.teamId&&(0===this.teamId?(this.isTeamLoaded=!0,this.onTeamLoaded.next(this.isTeamLoaded)):ZH(this.teamsService,String(this.teamId)).pipe(ge(),E(function(c){return c.name})).subscribe(function(c){b.teamName$.next(c);b.isTeamLoaded=!0;b.onTeamLoaded.next(b.isTeamLoaded)}))};
OW.\u0275fac=function(a){return new (a||OW)(D(YH))};
OW.\u0275cmp=zc({type:OW,selectors:[["b-team-chip"]],inputs:{componentId:"componentId",teamId:"teamId"},outputs:{onTeamLoaded:"onTeamLoaded"},features:[Mc],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),R(1,b0a,4,4,"div",1),
T(2,"async"),J(),H(3,"onedev-hovercard",null,2),L(5),K(6,"b-team-card",3),M(),J());if(a&2){var c;G("isReady",b.isTeamLoaded);C(1);G("ngIf",U(2,4,b.teamName$));C(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:[Tu,jz,CK,QJ,VJ,HK,Zu],styles:["[_nghost-%COMP%]{min-height:22px}mat-icon[_ngcontent-%COMP%]{margin-right:4px;vertical-align:middle}"],changeDetection:0});var PW=function(a,b){kE.call(this);this.teamActivity=a;this.hackyPrefs=b;this.toIssuePriority=ck;this.teamInfoHidden=!0};V(PW,kE);PW.\u0275dir=kE.\u0275dir;f=PW.prototype;f.ngOnInit=function(){var a=this;this.teamActivity.interestingEventsForTeamActivity$.pipe(qe(this.destroyed$)).subscribe(function(b){a.teamActivityEvents=b.slice(0,10)})};f.getClNumber=function(a){var b,c,d;a=null!=(d=null==(b=a.unlinkifiedComment)?void 0:null==(c=b.match(/Change (\d+)/))?void 0:c[1])?d:"0";return Number(a)};
f.getUserEmailIfAvailable=function(a){return Ug(a.userPerformingActionUser)};f.clAuthorToUser=function(a){return{emailAddress:rk(a)+"@google.com"}};f.clAuthorToEmailAddress=function(a){return rk(a)+"@google.com"};f.clEventToClDescription=function(a){var b,c;return null!=(c=null==(b=a.unlinkifiedComment)?void 0:b.split("\n")[2])?c:""};f.getPreviousDiffValue=function(a,b){var c;return null==(c=[].concat(Jc(a.preDiffs),Jc(a.postDiffs)).find(function(d){return d.name===b}))?void 0:c.oldValue};
f.getNewDiffValue=function(a,b){var c;return null==(c=[].concat(Jc(a.preDiffs),Jc(a.postDiffs)).find(function(d){return d.name===b}))?void 0:c.newValue};f.getIssueDetailsUrl=function(a){return"http://b/issues/"+a};gg.Object.defineProperties(PW.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});PW.\u0275fac=function(a){return new (a||PW)(D(rI),D(qI))};
PW.\u0275cmp=zc({type:PW,selectors:[["team-activity-stream"]],features:[xe],decls:17,vars:5,consts:[["mat-icon-button","","title","Show info about your calculated team membership","aria-label","Show info about your calculated team membership",1,"small",3,"click"],["svgIcon","info",1,"icon-s"],[1,"muted"],["href","https://g3doc.corp.google.com/google/corp/teams/graph/api/g3doc/gen_teamsgraph_docs.md#suggestteamsrequestcs","target","_blank"],[3,"teamId",4,"ngFor","ngForOf"],["target","_blank",1,"type-m",
3,"href"],["class","events carded bg-main",4,"ngIf"],[3,"teamId"],[1,"events","carded","bg-main"],["class","type-m",3,"margin-bottom",4,"ngFor","ngForOf"],[1,"type-m"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"bv2-profile-avatar",3,"email"],[3,"model"],[3,"changelistId"],[3,"href","issueId"],["mode","relativepast",3,"timestamp"],[1,"line-clamp-2","type-s"],[1,"type-s"],[3,"issuePriority"]],template:function(a,b){a&1&&(H(0,"h2"),S(1," Team activity "),H(2,"button",0),O("click",function(){return b.teamInfoHidden=
!b.teamInfoHidden}),K(3,"mat-icon",1),J(),H(4,"aside")(5,"p",2),S(6,"Our use of the Teams API returns a "),H(7,"a",3),S(8,"large set"),J(),S(9," of suggested teams via "),H(10,"code"),S(11,"collapsed_parent_chain"),J(),S(12,"."),J(),R(13,c0a,1,1,"b-team-chip",4),H(14,"a",5),S(15,"edit"),J()()(),R(16,j0a,2,1,"div",6));a&2&&(Ie("teamInfoHidden",b.teamInfoHidden),C(13),G("ngForOf",b.prefs.teamIds),C(1),Pe("href","/issues/",b.prefs.id,"",vd),C(2),G("ngIf",b.teamActivityEvents))},dependencies:[Su,Tu,Uu,
Vu,Wu,yy,jz,vK,NL,ML,KL,BK,vI,OW],styles:["[_nghost-%COMP%]{display:block}.teamInfoHidden[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%]{display:none}[_nghost-%COMP%]     b-user-display-name{font-weight:500;color:#202124;color:var(--text)}[_nghost-%COMP%]     .bv2-profile-avatar{margin-top:-8px;margin-bottom:-26px}[_nghost-%COMP%]     .bv2-profile-avatar .user-avatar{background-size:103%;display:inline-block;margin-right:4px}[_nghost-%COMP%]     .bv2-profile-avatar .user-avatar img{background-color:#f1f3f4;background-color:var(--c100);height:24px;width:24px}.events[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{padding-left:29px}"]});var n0a=function(a){return{$implicit:a}},QW=function(a,b){this.issueFridge=a;this.hackyPrefs=b;this.STATUS_TERSE=bF;this.encodeURIComponent=encodeURIComponent;this.teamInfoHidden=!0;this.highPriorityFilter="("+z0a(this.prefs.teamIds)+") priority:(p0 | p1) type:(bug | customer_issue) status:open";this.highPriority$=this.issueFridge.watchMany({filter:this.highPriorityFilter,sort:"priority:desc modified_time:desc",pageSize:15});this.feedbackFilter="("+z0a(this.prefs.teamIds)+") -priority:(p0 | p1) modified:7d status:open";
this.feedback$=this.issueFridge.watchMany({filter:this.feedbackFilter,sort:"created_time:desc",pageSize:10})};gg.Object.defineProperties(QW.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});QW.\u0275fac=function(a){return new (a||QW)(D(IH),D(qI))};
QW.\u0275cmp=zc({type:QW,selectors:[["team-inbox"]],decls:39,vars:26,consts:[["mat-icon-button","","title","Show info about your calculated team membership","aria-label","Show info about your calculated team membership",1,"small",3,"click"],["svgIcon","info",1,"icon-s"],[1,"muted"],["href","https://g3doc.corp.google.com/google/corp/teams/graph/api/g3doc/gen_teamsgraph_docs.md#suggestteamsrequestcs","target","_blank"],[3,"teamId",4,"ngFor","ngForOf"],["target","_blank",1,"type-m",3,"href"],[1,"carded",
"bg-main"],["tabindex","0",1,"margin-s-bottom",3,"click"],["target","_blank",1,"subtle-link",3,"href"],[4,"ngIf"],["tabindex","0",1,"margin-top",3,"click"],["issueRow",""],[3,"teamId"],[4,"ngFor","ngForOf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["issueHovercard","onedevHovercard"],[3,"onedevIsHovercardReady","issueId",4,"onedevHovercardLazyBody"],[1,"padded-s-bottom","display-block","flex-kids-x","align-items-start"],[1,"nowrap"],[1,"margin-right","issue-id"],[1,"type-m","issue-title",
"margin-s-right","break-word","subtle-link",3,"href","onedevHovercardTrigger"],["class","type-s margin-right muted",4,"ngIf"],[1,"margin-left-auto"],[3,"class",4,"ngIf"],[3,"onedevIsHovercardReady","issueId"],["cardBody",""],[1,"type-s","margin-right","muted"]],template:function(a,b){a&1&&(H(0,"h2"),S(1," My team "),H(2,"button",0),O("click",function(){return b.teamInfoHidden=!b.teamInfoHidden}),K(3,"mat-icon",1),J(),H(4,"aside")(5,"p",2),S(6,"Our use of the Teams API returns a "),H(7,"a",3),S(8,
"large set"),J(),S(9," of suggested teams via "),H(10,"code"),S(11,"collapsed_parent_chain"),J(),S(12,"."),J(),R(13,k0a,1,1,"b-team-chip",4),H(14,"a",5),S(15,"edit"),J()()(),H(16,"section",6)(17,"div")(18,"header")(19,"h4",7),O("click",function(){b.hackyPrefs.toggleCollapsed("team-high-priority")}),S(20," High Priority "),J(),H(21,"a",8),S(22),T(23,"number"),T(24,"async"),J()(),R(25,p0a,3,1,"div",9),T(26,"async"),J(),H(27,"div")(28,"header")(29,"h4",10),O("click",function(){b.hackyPrefs.toggleCollapsed("team-recent")}),
S(30," Recent Feedback "),J(),H(31,"a",8),S(32),T(33,"number"),T(34,"async"),J()(),R(35,t0a,3,1,"div",9),T(36,"async"),J()(),R(37,y0a,16,11,"ng-template",null,11,of));if(a&2){var c,d;Ie("teamInfoHidden",b.teamInfoHidden);C(13);G("ngForOf",b.prefs.teamIds);C(1);Pe("href","/issues/",b.prefs.id,"",vd);C(3);Ie("collapsed",b.prefs.collapsed["team-high-priority"]);C(4);Pe("href","/issues?q=",b.encodeURIComponent(b.highPriorityFilter),"",vd);C(1);Te("(",U(23,14,null==(c=U(24,16,b.highPriority$))?null:c.totalSize),
")");C(3);G("ngIf",U(26,18,b.highPriority$));C(2);Ie("collapsed",b.prefs.collapsed["team-recent"]);C(4);Pe("href","/issues?q=",b.encodeURIComponent(b.feedbackFilter),"",vd);C(1);Te("(",U(33,20,null==(d=U(34,22,b.feedback$))?null:d.totalSize),")");C(3);G("ngIf",U(36,24,b.feedback$))}},dependencies:[Su,Tu,Yu,yy,jz,QJ,RJ,VJ,SJ,PO,OW,Zu,ev],styles:["[_nghost-%COMP%] {\n      display: block;\n    }\n    h4[_ngcontent-%COMP%] {\n      display: inline-block;\n      margin-bottom: 4px;\n      margin-right: 4px;\n    }\n    ol[_ngcontent-%COMP%] {\n      list-style: none;\n      margin: 0;\n      padding: 0;\n    }\n    .collapsed[_ngcontent-%COMP%]    > div[_ngcontent-%COMP%] {\n      display: none;\n    }\n    .teamInfoHidden[_ngcontent-%COMP%]   aside[_ngcontent-%COMP%] {\n      display: none;\n    }"]});var WPc=function(){return[]},RW=function(a,b){kE.call(this);this.hackyPrefs=a;this.issueFridge=b;this.SECTION_SLUG="working-on-this-week";this.weekIssues$=(0,F.of)([]);goc(a);this.weekIssues$=this.hackyPrefs.prefs$.pipe(qe(this.destroyed$),E(function(c){var d,e;return null!=(e=null==c?void 0:null==(d=c.issuesThisWeek)?void 0:d.issues)?e:[]}),pe(this.issueFridge.watchSet))};V(RW,kE);RW.\u0275dir=kE.\u0275dir;RW.\u0275fac=function(a){return new (a||RW)(D(qI),D(IH))};
RW.\u0275cmp=zc({type:RW,selectors:[["working-on-this-week"]],features:[xe],decls:9,vars:11,consts:[[1,"margined"],[3,"click"],[1,"muted"],[1,"issues"],[4,"ngFor","ngForOf"],["dismissIcon","close","dismissTooltip","Remove issue",3,"issue","onlyTitle","onDismiss"]],template:function(a,b){a&1&&(H(0,"h4",0)(1,"span",1),O("click",function(){return b.hackyPrefs.toggleCollapsed(b.SECTION_SLUG)}),S(2,"Working on this week "),H(3,"span",2),S(4),T(5,"async"),J()()(),H(6,"section",3),R(7,A0a,2,2,"ng-container",
4),T(8,"async"),J());if(a&2){var c;Ie("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]);C(4);Te(" (",(null!==(c=U(5,6,b.weekIssues$))&&void 0!==c?c:Ye(10,WPc)).length,")");C(2);Ie("collapsed",b.hackyPrefs.prefs.collapsed[b.SECTION_SLUG]);C(1);G("ngForOf",U(8,8,b.weekIssues$))}},dependencies:[wK,Su,Zu],styles:['.issues[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;overflow-y:scroll;max-height:225px;gap:8px}h4[_ngcontent-%COMP%]:hover{text-decoration:underline;cursor:pointer}h4.collapsed[_ngcontent-%COMP%]{text-decoration:underline;margin:8px 0;border-radius:4px;border:1px solid;border-color:#dadce0;border-color:var(--divider);padding:16px;background-color:#fff;background-color:var(--surface-default)}h4.collapsed[_ngcontent-%COMP%]:after{content:"";margin-left:4px;display:inline-block;border:5px solid transparent;border-top:5px solid var(--gfx-muted);border-bottom:0 none}section.collapsed[_ngcontent-%COMP%]{display:none}\n/*# sourceMappingURL=working_on_this_week.css.map */']});var SW=function(a,b,c){kE.call(this);var d=this;this.$window=a;this.activeSession=b;this.currentTracker=c;var e,g;this.trackerName=null!=(g=null==(e=this.activeSession.getTracker())?void 0:e.name)?g:"";this.subscriptions.add(this.currentTracker.tracker$.pipe(qe(this.destroyed$)).subscribe(function(h){var l;d.trackerName=null!=(l=null==h?void 0:h.name)?l:""}))};V(SW,kE);SW.\u0275dir=kE.\u0275dir;
SW.prototype.setTitle=function(a){var b=this.trackerName?this.trackerName:this.activeSession.getAppName();this.$window.document.title=a?a+" - "+b:b};SW.\u0275fac=function(a){return new (a||SW)(w(jE),w(rp),w(LK))};SW.\u0275prov=nc({token:SW,factory:SW.\u0275fac,providedIn:"root"});var XPc=new Hc("Analytics");var TW=function(a){this.clientStreamzService=a;this.analytics=wc(XPc,{optional:!0})};TW.prototype.logTaskOpenedMetric=function(a){YPc(this,"task_opened",a);var b;null==(b=this.analytics)||b.logTaskOpened()};TW.prototype.logUsageMetric=function(a,b){this.clientStreamzService.logUsageMetric("task_prioritization."+a,b)};
var YPc=function(a,b,c){var d=mh(c.resource,1).toLowerCase();a.logUsageMetric(b,!0);a.logUsageMetric(b+"_"+d,!0);c=k(c.signals);for(var e=c.next();!e.done;e=c.next()){e=e.value.type;var g={};e=(g["Future Availability"]="future_availability",g["Current Availability"]="current_availability",g["Submission Deadline"]="submission_deadline",g.Blocking="blocking",g["Current Iteration"]="current_iteration",g["Slow CL"]="slow_cl",g["Near SLO"]="near_slo",g["Out of SLO"]="out_of_slo",g.Accepted="accepted",
g.P0="p0",g.Rollback="rollback",g.LGTM="lgtm",g.Unresolved="unresolved",g["Docwrap Outgoing"]="docwrap_outgoing",g["Docwrap Incoming"]="docwrap_incoming",g)[e];a.logUsageMetric(b+"_"+d+"_"+e,!0)}};TW.\u0275fac=function(a){return new (a||TW)(w(DA))};TW.\u0275prov=nc({token:TW,factory:TW.\u0275fac,providedIn:"root"});var ZPc=new Hc("GMAT_BUTTON_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var UW=function(a,b){this.elementRef=a;this.options=b};UW.prototype.ngOnInit=function(){this.elementRef.nativeElement.querySelector(".mat-icon, .material-icons")&&this.elementRef.nativeElement.classList.add("gmat-mdc-button-with-prefix")};UW.\u0275fac=function(a){return new (a||UW)(D(fd),D(ZPc))};
UW.\u0275dir=Cc({type:UW,selectors:[["button","mat-button",""],["a","mat-button",""],["button","mat-raised-button",""],["a","mat-raised-button",""],["button","mat-flat-button",""],["a","mat-flat-button",""],["button","mat-stroked-button",""],["a","mat-stroked-button",""],["button","mat-icon-button",""],["a","mat-icon-button",""],[""]],hostVars:2,hostBindings:function(a,b){a&2&&Ie("gmat-mdc-button",!b.options.disableGmatStyle)}});var VW=function(){};VW.\u0275fac=function(a){return new (a||VW)};VW.\u0275mod=Bc({type:VW});VW.\u0275inj=oc({providers:[{provide:ycc,useValue:{color:"primary"}}],imports:[xC]});var $Pc=new Hc("GMAT_TOOLTIP_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var aQc=function(a,b){a.disableGmatStyle||b.gmatPanelClasses.push("gmat-mdc-tooltip")};aQc.\u0275fac=function(a){return new (a||aQc)(D($Pc),D(Ox))};aQc.\u0275dir=Cc({type:aQc,selectors:[["","matTooltip",""]],features:[Xe([{provide:Ox,useClass:HV}])]});var WW=function(){};WW.\u0275fac=function(a){return new (a||WW)};WW.\u0275mod=Bc({type:WW});WW.\u0275inj=oc({imports:[VA]});var G0a=function(){return[]},H0a=function(){return["zero-state"]},XW=function(a,b){this.hiddenTasks=a;this.metrics=b;this.tasks=[];this.areTasksHidden=this.showZeroState=!1;this.showHiddenTasks=new tu;this.displayedColumns=["title","signals","actions"]};XW.prototype.hideTask=function(a){this.hiddenTasks.hideTask(a);this.metrics.logUsageMetric("task_hidden",!0)};XW.prototype.unhideTask=function(a){this.hiddenTasks.unhideTask(a);this.metrics.logUsageMetric("task_hidden",!1)};
XW.prototype.logTaskOpenedMetric=function(a){this.metrics.logTaskOpenedMetric(a)};XW.\u0275fac=function(a){return new (a||XW)(D(yW),D(TW))};
XW.\u0275cmp=zc({type:XW,selectors:[["tp-task-table"]],inputs:{tasks:"tasks",showZeroState:"showZeroState",areTasksHidden:"areTasksHidden"},outputs:{showHiddenTasks:"showHiddenTasks"},decls:3,vars:2,consts:[[3,"dataSource",4,"ngIf","ngIfElse"],["taskTable",""],[3,"dataSource"],["matColumnDef","zero-state"],["class","zero-state-cell",4,"matHeaderCellDef"],[4,"matCellDef"],["class","zero-state-row",4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],[1,"zero-state-cell"],["src","https://www.gstatic.com/devnotify/tp-empty.svg",
"alt",""],[4,"ngIf"],[3,"click"],[1,"zero-state-row"],["matColumnDef","title"],[4,"matHeaderCellDef"],["matColumnDef","signals"],["matColumnDef","actions"],[4,"matHeaderRowDef"],[3,"hidden-task",4,"matRowDef","matRowDefColumns"],[1,"tp-title-cell"],[3,"svgIcon"],[1,"tp-task-name"],["target","_blank",1,"task-link",3,"href","click"],["class","tp-signal","matTooltipClass","tp-tooltip",3,"matTooltip","matTooltipDisabled",4,"ngFor","ngForOf"],["matTooltipClass","tp-tooltip",1,"tp-signal",3,"matTooltip",
"matTooltipDisabled"],["mat-icon-button","","class","hide-button","matTooltip","Unhide this task","matTooltipClass","tp-tooltip","aria-label","unhide task",3,"click",4,"ngIf","ngIfElse"],["hide",""],["mat-icon-button","","matTooltip","Unhide this task","matTooltipClass","tp-tooltip","aria-label","unhide task",1,"hide-button",3,"click"],["mat-icon-button","","matTooltip","Hide this task","matTooltipClass","tp-tooltip","aria-label","hide task",1,"hide-button",3,"click"]],template:function(a,b){a&1&&
(R(0,I0a,6,6,"mat-table",0),R(1,U0a,12,3,"ng-template",null,1,of));if(a&2){var c=Se(2);G("ngIf",b.showZeroState)("ngIfElse",c)}},dependencies:function(){return[Su,Tu,UW,jy,JV,KN,CN,GN,DN,BN,HN,EN,FN,IN,JN,aQc,TA,jz,Zu,YW]},styles:['.mdc-data-table[_ngcontent-%COMP%]{background-color:var(--mdc-theme-surface,#fff);border-color:rgba(0,0,0,.12)}.mdc-data-table__row[_ngcontent-%COMP%]{background-color:inherit}.mdc-data-table__header-cell[_ngcontent-%COMP%]{background-color:var(--mdc-theme-surface,#fff)}.mdc-data-table__row--selected[_ngcontent-%COMP%]{background-color:rgba(33,150,243,.04)}.mdc-data-table__pagination-rows-per-page-select--outlined[_ngcontent-%COMP%]:not(.mdc-select--disabled)   .mdc-notched-outline__leading[_ngcontent-%COMP%], .mdc-data-table__pagination-rows-per-page-select--outlined[_ngcontent-%COMP%]:not(.mdc-select--disabled)   .mdc-notched-outline__notch[_ngcontent-%COMP%], .mdc-data-table__pagination-rows-per-page-select--outlined[_ngcontent-%COMP%]:not(.mdc-select--disabled)   .mdc-notched-outline__trailing[_ngcontent-%COMP%]{border-color:rgba(0,0,0,.12)}.mdc-data-table__cell[_ngcontent-%COMP%], .mdc-data-table__header-cell[_ngcontent-%COMP%]{border-bottom-color:rgba(0,0,0,.12)}.mdc-data-table__pagination[_ngcontent-%COMP%]{border-top-color:rgba(0,0,0,.12)}.mdc-data-table__row[_ngcontent-%COMP%]:not(.mdc-data-table__row--selected):hover{background-color:rgba(0,0,0,.04)}.mdc-data-table__header-cell[_ngcontent-%COMP%]{color:rgba(0,0,0,.87)}.mdc-data-table__cell[_ngcontent-%COMP%], .mdc-data-table__pagination-rows-per-page-label[_ngcontent-%COMP%], .mdc-data-table__pagination-total[_ngcontent-%COMP%]{color:rgba(0,0,0,.87)}.mat-mdc-table[_ngcontent-%COMP%]{background:#fff}.mat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__row[_ngcontent-%COMP%]{height:52px}.mat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__pagination[_ngcontent-%COMP%]{min-height:52px}.mat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-row[_ngcontent-%COMP%]{height:56px}.mdc-data-table__content[_ngcontent-%COMP%]{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body2-font-family,var(--mdc-typography-font-family,Roboto,"Helvetica Neue",sans-serif));font-size:var(--mdc-typography-body2-font-size,14px);line-height:var(--mdc-typography-body2-line-height,20px);font-weight:var(--mdc-typography-body2-font-weight,400);letter-spacing:var(--mdc-typography-body2-letter-spacing,normal);-webkit-text-decoration:var(--mdc-typography-body2-text-decoration,inherit);-moz-text-decoration:var(--mdc-typography-body2-text-decoration,inherit);text-decoration:var(--mdc-typography-body2-text-decoration,inherit);text-transform:var(--mdc-typography-body2-text-transform,none)}.mdc-data-table__cell[_ngcontent-%COMP%]{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-body2-font-family,var(--mdc-typography-font-family,Roboto,"Helvetica Neue",sans-serif));font-size:var(--mdc-typography-body2-font-size,14px);line-height:var(--mdc-typography-body2-line-height,20px);font-weight:var(--mdc-typography-body2-font-weight,400);letter-spacing:var(--mdc-typography-body2-letter-spacing,normal);-webkit-text-decoration:var(--mdc-typography-body2-text-decoration,inherit);-moz-text-decoration:var(--mdc-typography-body2-text-decoration,inherit);text-decoration:var(--mdc-typography-body2-text-decoration,inherit);text-transform:var(--mdc-typography-body2-text-transform,none)}.mdc-data-table__header-cell[_ngcontent-%COMP%]{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-subtitle2-font-family,var(--mdc-typography-font-family,Roboto,"Helvetica Neue",sans-serif));font-size:var(--mdc-typography-subtitle2-font-size,14px);line-height:var(--mdc-typography-subtitle2-line-height,24px);font-weight:var(--mdc-typography-subtitle2-font-weight,500);letter-spacing:var(--mdc-typography-subtitle2-letter-spacing,normal);-webkit-text-decoration:var(--mdc-typography-subtitle2-text-decoration,inherit);-moz-text-decoration:var(--mdc-typography-subtitle2-text-decoration,inherit);text-decoration:var(--mdc-typography-subtitle2-text-decoration,inherit);text-transform:var(--mdc-typography-subtitle2-text-transform,none)}.gmat-mdc-table[_ngcontent-%COMP%]{background-color:#fff;border-color:#dadce0}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell[_ngcontent-%COMP%]{background-color:#fff}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell[_ngcontent-%COMP%]{color:#202124}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__cell[_ngcontent-%COMP%], .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__pagination-rows-per-page-label[_ngcontent-%COMP%], .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__pagination-total[_ngcontent-%COMP%]{color:#3c4043}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__row--selected[_ngcontent-%COMP%]{background-color:#e3f2fd}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__pagination-rows-per-page-select--outlined[_ngcontent-%COMP%]:not(.mdc-select--disabled)   .mdc-notched-outline__leading[_ngcontent-%COMP%], .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__pagination-rows-per-page-select--outlined[_ngcontent-%COMP%]:not(.mdc-select--disabled)   .mdc-notched-outline__notch[_ngcontent-%COMP%], .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__pagination-rows-per-page-select--outlined[_ngcontent-%COMP%]:not(.mdc-select--disabled)   .mdc-notched-outline__trailing[_ngcontent-%COMP%]{border-color:#dadce0}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__cell[_ngcontent-%COMP%], .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell[_ngcontent-%COMP%]{border-bottom-color:#dadce0}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__pagination[_ngcontent-%COMP%]{border-top-color:#dadce0}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__row[_ngcontent-%COMP%]:not(.mdc-data-table__row--selected):hover{background-color:rgba(32,33,36,.04)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]{color:#5f6368}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]   .mdc-icon-button__ripple[_ngcontent-%COMP%]:after, .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]   .mdc-icon-button__ripple[_ngcontent-%COMP%]:before{background-color:var(--mdc-ripple-color,#5f6368)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button.mdc-ripple-surface--hover[_ngcontent-%COMP%]   .mdc-icon-button__ripple[_ngcontent-%COMP%]:before, .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]:hover   .mdc-icon-button__ripple[_ngcontent-%COMP%]:before{opacity:var(--mdc-ripple-hover-opacity,.04)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button.mdc-ripple-upgraded--background-focused[_ngcontent-%COMP%]   .mdc-icon-button__ripple[_ngcontent-%COMP%]:before, .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]:not(.mdc-ripple-upgraded):focus   .mdc-icon-button__ripple[_ngcontent-%COMP%]:before{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:var(--mdc-ripple-focus-opacity,.12)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]:not(.mdc-ripple-upgraded)   .mdc-icon-button__ripple[_ngcontent-%COMP%]:after{-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]:not(.mdc-ripple-upgraded):active   .mdc-icon-button__ripple[_ngcontent-%COMP%]:after{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:var(--mdc-ripple-press-opacity,.12)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button.mdc-ripple-upgraded[_ngcontent-%COMP%]{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity,0.12)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell--sorted[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]{color:#202124}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell--sorted[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]   .mdc-icon-button__ripple[_ngcontent-%COMP%]:after, .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell--sorted[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]   .mdc-icon-button__ripple[_ngcontent-%COMP%]:before{background-color:var(--mdc-ripple-color,#202124)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell--sorted[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button.mdc-ripple-surface--hover[_ngcontent-%COMP%]   .mdc-icon-button__ripple[_ngcontent-%COMP%]:before, .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell--sorted[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]:hover   .mdc-icon-button__ripple[_ngcontent-%COMP%]:before{opacity:var(--mdc-ripple-hover-opacity,.04)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell--sorted[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button.mdc-ripple-upgraded--background-focused[_ngcontent-%COMP%]   .mdc-icon-button__ripple[_ngcontent-%COMP%]:before, .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell--sorted[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]:not(.mdc-ripple-upgraded):focus   .mdc-icon-button__ripple[_ngcontent-%COMP%]:before{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:var(--mdc-ripple-focus-opacity,.12)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell--sorted[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]:not(.mdc-ripple-upgraded)   .mdc-icon-button__ripple[_ngcontent-%COMP%]:after{-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell--sorted[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button[_ngcontent-%COMP%]:not(.mdc-ripple-upgraded):active   .mdc-icon-button__ripple[_ngcontent-%COMP%]:after{-webkit-transition-duration:75ms;transition-duration:75ms;opacity:var(--mdc-ripple-press-opacity,.12)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell--sorted[_ngcontent-%COMP%]   .mdc-data-table__sort-icon-button.mdc-ripple-upgraded[_ngcontent-%COMP%]{--mdc-ripple-fg-opacity:var(--mdc-ripple-press-opacity,0.12)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__row[_ngcontent-%COMP%]:not(.mdc-data-table__row--selected):hover{background-color:inherit}.gmat-mdc-table[_ngcontent-%COMP%]{--odw-mdc-row-hover:rgba(60,64,67,.04);--odw-mdc-row-selected:var(--blue-50);--odw-mdc-row-selected-hover:rgba(232,240,254,.5)}.dark-mode[_ngcontent-%COMP%]   .gmat-mdc-table[_ngcontent-%COMP%]{--odw-mdc-row-hover:rgba(232,234,237,.04);--odw-mdc-row-selected:rgba(138,180,248,.24);--odw-mdc-row-selected-hover:rgba(138,180,248,.12)}.gmat-mdc-table[_ngcontent-%COMP%]{background-color:var(--page-bg)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell[_ngcontent-%COMP%]{background-color:var(--page-bg)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__cell[_ngcontent-%COMP%], .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell[_ngcontent-%COMP%], .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__pagination-rows-per-page-label[_ngcontent-%COMP%], .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__pagination-total[_ngcontent-%COMP%]{color:var(--text-default)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__cell[_ngcontent-%COMP%], .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__header-cell[_ngcontent-%COMP%]{border-bottom-color:var(--hairline)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__row[_ngcontent-%COMP%]:hover, .gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__row[_ngcontent-%COMP%]:not(.mdc-data-table__row--selected):hover{background-color:var(--odw-mdc-row-hover)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__row.mdc-data-table__row.mdc-data-table__row--selected[_ngcontent-%COMP%]{background-color:var(--odw-mdc-row-selected)}.gmat-mdc-table[_ngcontent-%COMP%]   .mdc-data-table__row.mdc-data-table__row.mdc-data-table__row--selected[_ngcontent-%COMP%]:hover{background-color:var(--odw-mdc-row-selected-hover)}.mat-mdc-tooltip[_ngcontent-%COMP%]{--mdc-plain-tooltip-container-color:#616161;--mdc-plain-tooltip-supporting-text-color:#fff}.mat-mdc-tooltip[_ngcontent-%COMP%]{--mdc-plain-tooltip-supporting-text-font:Roboto,"Helvetica Neue",sans-serif;--mdc-plain-tooltip-supporting-text-size:12px;--mdc-plain-tooltip-supporting-text-weight:400;--mdc-plain-tooltip-supporting-text-tracking:normal}.gmat-mdc-tooltip[_ngcontent-%COMP%]   .mat-mdc-tooltip[_ngcontent-%COMP%]:not(boost-specificity){--mdc-plain-tooltip-container-color:var(--tooltip-bg);--mdc-plain-tooltip-supporting-text-color:var(\n    --tooltip-text,var(--text-inverse)\n  )}  .tp-tooltip :not(.boost-specificity){--mdc-plain-tooltip-container-color:var(--tooltip-bg);--mdc-plain-tooltip-supporting-text-color:var(--text-inverse)}  .dark-mode .tp-tooltip :not(.boost-specificity){--mdc-plain-tooltip-container-color:hsla(0,0%,100%,.9);--mdc-plain-tooltip-supporting-text-color:var(--text-inverse)}[_nghost-%COMP%]   mat-table.gmat-mdc-table[_ngcontent-%COMP%]{background:var(--surface-default);border-radius:.25rem;margin:0 0 .75rem;overflow:hidden;box-shadow:0 1px 2px 0 rgba(0,0,0,.16),0 2px 6px 2px rgba(0,0,0,.08);border:none}[_nghost-%COMP%]   mat-header-row.mat-mdc-header-row.mat-mdc-header-row[_ngcontent-%COMP%]:not(.zero-state-row), [_nghost-%COMP%]   mat-row.mat-mdc-row.mat-mdc-row[_ngcontent-%COMP%]:not(.zero-state-row){height:unset;min-height:2rem}[_nghost-%COMP%]   mat-header-row.mat-mdc-header-row.mat-mdc-header-row.zero-state-row[_ngcontent-%COMP%], [_nghost-%COMP%]   mat-row.mat-mdc-row.mat-mdc-row.zero-state-row[_ngcontent-%COMP%]{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}[_nghost-%COMP%]   .mat-column-title[_ngcontent-%COMP%]{width:45%;-webkit-box-flex:0;-webkit-flex:0 1 auto;-moz-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}[_nghost-%COMP%]   .mat-column-title[_ngcontent-%COMP%]   .tp-title-cell[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;overflow:hidden}[_nghost-%COMP%]   .mat-column-title[_ngcontent-%COMP%]   .tp-title-cell[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{width:1.125rem;min-width:1.125rem;margin-right:.5rem;-webkit-box-flex:0;-webkit-flex:0 0 auto;-moz-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto}[_nghost-%COMP%]   .mat-column-title[_ngcontent-%COMP%]   .tp-title-cell[_ngcontent-%COMP%]   .tp-task-name[_ngcontent-%COMP%]{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}[_nghost-%COMP%]   .mat-column-signal[_ngcontent-%COMP%]{width:45%;-webkit-box-flex:0;-webkit-flex:0 1 auto;-moz-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto}[_nghost-%COMP%]   .mat-column-actions[_ngcontent-%COMP%]{-webkit-box-flex:0;-webkit-flex:0 0 100px;-moz-box-flex:0;-ms-flex:0 0 100px;flex:0 0 100px;-webkit-box-pack:end;-webkit-justify-content:end;-moz-box-pack:end;-ms-flex-pack:end;justify-content:end}[_nghost-%COMP%]   .mat-column-actions[_ngcontent-%COMP%]   .hide-button[_ngcontent-%COMP%]{height:2rem;padding:.25rem}.tp-signal[_ngcontent-%COMP%]{border-radius:.25rem;padding:.125rem .5rem;margin:0 .25rem;background:var(--tonal-fill-grey);border:1px solid var(--tonal-grey);font-size:.8125rem;white-space:nowrap;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.tp-signal[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{margin:0}.task-link[_ngcontent-%COMP%]{color:unset;text-decoration:none}.zero-state-cell[_ngcontent-%COMP%]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;font-weight:400;gap:8px;padding:8px}.zero-state-cell[_ngcontent-%COMP%]:not(.boost-specificy){-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;-ms-flex-positive:1;flex-grow:1}.zero-state-cell[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;height:70px;text-align:center}.zero-state-cell[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{display:contents}.hidden-task[_ngcontent-%COMP%]{-webkit-filter:grayscale(80%);filter:grayscale(80%);background:var(--tonal-fill-grey)}']});
var YW=function(){};YW.prototype.transform=function(a){var b={};return(b.Ariane="launch",b.Buganizer="buganizer",b.Critique="critique",b.Drive="docs",b)[a.source]};YW.\u0275fac=function(a){return new (a||YW)};YW.\u0275pipe=Dc({name:"taskIcon",type:YW,pure:!0});var ZW=function(){};ZW.\u0275fac=function(a){return new (a||ZW)};ZW.\u0275mod=Bc({type:ZW});ZW.\u0275inj=oc({imports:[gv,VW,KV,WW,YA]});var bQc=new yK(3);var cQc=new Hc("GMAT_PROGRESS_SPINNER_OPTIONS",{providedIn:"root",factory:function(){return{disableGmatStyle:!1}}});var $W=function(a,b){var c=this;this.options=a;this.progressSpinner=b;this.destroyed=new F.Subject;this.labelElement=document.createElement("label");this.labelElement.classList.add("cdk-visually-hidden");this.labelElement.classList.add("gmat-mdc-progress-spinner-accessible-label");V0a(b._elementRef.nativeElement).pipe(qe(this.destroyed)).subscribe(function(d){dQc(c,d[0],d[1])})};
$W.prototype.ngOnInit=function(){this.progressSpinner._elementRef.nativeElement.insertAdjacentElement("afterend",this.labelElement);var a=this.progressSpinner._elementRef.nativeElement.getAttribute("aria-label");dQc(this,null!=a?a:"","indeterminate"===this.progressSpinner.mode?"indeterminate":this.progressSpinner.value.toString())};$W.prototype.ngOnDestroy=function(){this.labelElement.remove();this.destroyed.next();this.destroyed.complete()};
var dQc=function(a,b,c){b="indeterminate"===c?b:b+" "+bQc.format(Number(c)/100);a.labelElement.textContent=b};$W.\u0275fac=function(a){return new (a||$W)(D(cQc),D(PL,10))};$W.\u0275dir=Cc({type:$W,selectors:[["mat-progress-spinner"],["mat-spinner"]],hostAttrs:["aria-hidden","true"],hostVars:3,hostBindings:function(a,b){a&2&&(Ae("tabindex",null),Ie("gmat-mdc-progress-spinner",!b.options.disableGmatStyle))}});var aX=function(){};aX.\u0275fac=function(a){return new (a||aX)};aX.\u0275mod=Bc({type:aX});aX.\u0275inj=oc({imports:[QL]});var eQc=up(["https://fonts.gstatic.com/s/i/productlogos/buganizer/v1/192px.svg"]),fQc=up(["https://fonts.gstatic.com/s/i/productlogos/critique/v1/192px.svg"]),gQc=up(["https://fonts.gstatic.com/s/i/productlogos/docs_2020q4/v12/192px.svg"]),hQc=up(["https://fonts.gstatic.com/s/i/productlogos/launch/v1/192px.svg"]),iQc=up(["https://fonts.gstatic.com/s/i/productlogos/taskflow/v1/192px.svg"]),jQc=up(["//googledata/icons/vf/material_next/svg/block/googlesymbols:default_48px.svg"]),kQc=up(["//googledata/icons/vf/material_next/svg/alternate_email/googlesymbols:default_48px.svg"]),
lQc=up(["//googledata/icons/vf/material_next/svg/schedule/googlesymbols:default_48px.svg"]),mQc=up(["//googledata/icons/vf/material_next/svg/unblock_flipped/googlesymbols:default_48px.svg"]),nQc=up(["https://fonts.gstatic.com/s/i/googlematerialicons/visibility/v16/24px.svg"]),oQc=up(["https://fonts.gstatic.com/s/i/googlematerialicons/visibility_off/v12/24px.svg"]),f1a=function(a,b){return{showHidden:a,viewAll:b}},pQc=function(a,b){return{areAllTasksLoaded:a,tasks:b}},bX=function(a,b,c,d){this.tasksService=
b;this.hiddenTasks=c;this.metrics=d;this.tasks$=APc(this.tasksService).pipe(qQc(this));this.areAllTasksLoaded$=this.tasksService.areAllTasksLoaded();this.areTasksFiltered$=rQc(this);this.areTasksHidden$=this.areTasksHidden();this.destroyed$=new F.Subject;a.setDefaultFontSetClass("google-material-icons","mat-ligature-font");iz(a,"buganizer",Lf(eQc));iz(a,"critique",Lf(fQc));iz(a,"docs",Lf(gQc));iz(a,"launch",Lf(hQc));iz(a,"taskflow",Lf(iQc));iz(a,"blocking",Lf(jQc));iz(a,"mention",Lf(kQc));iz(a,"time",
Lf(lQc));iz(a,"unblocked",Lf(mQc));iz(a,"hide_task",Lf(nQc));iz(a,"show_task",Lf(oQc))};bX.prototype.ngOnInit=function(){this.viewAll$=this.isMyWork?this.tasksService.showAllMyWorkTasks$:this.tasksService.showAllNeedsMyInputTasks$;this.showHidden$=this.isMyWork?this.hiddenTasks.showHiddenMyWorkTasks$:this.hiddenTasks.showHiddenNeedsMyInputTasks$;this.metrics.logUsageMetric(this.isMyWork?"my_work_loaded":"needs_my_attention_loaded",!0);sQc(this)};
bX.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};bX.prototype.setShowHidden=function(a){this.showHidden$.next(a);this.metrics.logUsageMetric("toggle_show_hidden",a)};
var sQc=function(a){a.areAllTasksLoaded$.pipe(se(a.tasks$),qe(a.destroyed$)).subscribe(function(b){b=k(b);b.next();var c=b.next().value;a.metrics.logUsageMetric(a.isMyWork?"my_work_all_tasks_loaded":"needs_my_attention_all_tasks_loaded",!0);b=a.metrics;c=k(c);for(var d=c.next();!d.done;d=c.next())YPc(b,"task_shown",d.value)})};
bX.prototype.areTasksHidden=function(){var a=this.tasksService.readdedTasks$.pipe(qQc(this)),b=this.tasks$.pipe(pe(function(c){return(0,F.combineLatest)(c.map(function(d){return d.isHidden$}))}),E(function(c){return c.filter(function(d){return!d})}),oe([]));return(0,F.combineLatest)([a,b]).pipe(E(function(c){var d=k(c);c=d.next().value;d=d.next().value;return c.length!==d.length}))};
var rQc=function(a){var b=a.tasksService.allTasks$.pipe(qQc(a));a=a.tasksService.filteredTasks$.pipe(qQc(a));return(0,F.zip)(b,a).pipe(E(function(c){var d=k(c);c=d.next().value;d=d.next().value;return c.length!==d.length}))},qQc=function(a){return(0,F.pipe)(E(function(b){return b.filter(function(c){return a.isMyWork===c.isMyWork})}))};gg.Object.defineProperties(bX.prototype,{reccTasks:{configurable:!0,enumerable:!0,get:function(){return this.isMyWork}},needsInput:{configurable:!0,enumerable:!0,get:function(){return!this.isMyWork}}});
bX.\u0275fac=function(a){return new (a||bX)(D(hz),D(CW),D(yW),D(TW))};
bX.\u0275cmp=zc({type:bX,selectors:[["tp-task-section"]],hostVars:2,hostBindings:function(a,b){a&2&&Ae("data-recc-tasks",b.reccTasks)("data-needs-input",b.needsInput)},inputs:{isMyWork:"isMyWork"},standalone:!0,features:[Xe([hz]),dma],ngContentSelectors:["*"],decls:11,vars:14,consts:[[1,"tp-table-title"],[1,"gmat-subhead-1"],[4,"ngIf"],["mode","indeterminate",3,"diameter",4,"ngIf","ngIfElse"],["controls",""],["mode","indeterminate",3,"diameter"],["mat-button","","color","primary",3,"click",4,"ngIf"],
["mat-button","","color","primary","class","show-hidden",3,"click",4,"ngIf"],["mat-button","","color","primary",3,"click"],["mat-button","","color","primary",1,"show-hidden",3,"click"],[3,"tasks","showZeroState","areTasksHidden","showHiddenTasks"]],template:function(a,b){a&1&&(Ne(),H(0,"div",0)(1,"h2",1),R(2,W0a,2,0,"ng-container",2),R(3,X0a,2,0,"ng-container",2),J(),R(4,Y0a,1,1,"mat-progress-spinner",3),T(5,"async"),R(6,g1a,4,8,"ng-template",null,4,of),J(),R(8,i1a,2,1,"ng-container",2),T(9,"async"),
T(10,"async"));if(a&2){var c=Se(7);C(2);G("ngIf",b.isMyWork);C(1);G("ngIf",!b.isMyWork);C(1);G("ngIf",!U(5,5,b.areAllTasksLoaded$))("ngIfElse",c);C(4);G("ngIf",$e(11,pQc,U(9,7,b.areAllTasksLoaded$),U(10,9,b.tasks$)))}},dependencies:[gv,Tu,Zu,VW,UW,hy,aX,$W,PL,YA,ZW,XW],styles:['.mat-mdc-progress-spinner[_ngcontent-%COMP%]{--mdc-circular-progress-active-indicator-color:#2196f3}.mat-mdc-progress-spinner.mat-accent[_ngcontent-%COMP%]{--mdc-circular-progress-active-indicator-color:#ff9800}.mat-mdc-progress-spinner.mat-warn[_ngcontent-%COMP%]{--mdc-circular-progress-active-indicator-color:#f44336}.gmat-mdc-progress-spinner.mat-primary[_ngcontent-%COMP%]{--mdc-circular-progress-active-indicator-color:#2196f3}.gmat-mdc-progress-spinner.mat-accent[_ngcontent-%COMP%]{--mdc-circular-progress-active-indicator-color:#ff9800}.gmat-mdc-progress-spinner.mat-warn[_ngcontent-%COMP%]{--mdc-circular-progress-active-indicator-color:#f44336}.gmat-mdc-progress-spinner.mat-primary[_ngcontent-%COMP%]   .mdc-circular-progress__determinate-circle[_ngcontent-%COMP%], .gmat-mdc-progress-spinner.mat-primary[_ngcontent-%COMP%]   .mdc-circular-progress__indeterminate-circle-graphic[_ngcontent-%COMP%]{stroke:var(--primary-default)}.gmat-mdc-progress-spinner.mat-warn[_ngcontent-%COMP%]   .mdc-circular-progress__determinate-circle[_ngcontent-%COMP%], .gmat-mdc-progress-spinner.mat-warn[_ngcontent-%COMP%]   .mdc-circular-progress__indeterminate-circle-graphic[_ngcontent-%COMP%]{stroke:var(--warn-default)}.mat-mdc-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-text-button-label-text-color:#000}.mat-mdc-button.mat-primary[_ngcontent-%COMP%]{--mdc-text-button-label-text-color:#2196f3}.mat-mdc-button.mat-accent[_ngcontent-%COMP%]{--mdc-text-button-label-text-color:#ff9800}.mat-mdc-button.mat-warn[_ngcontent-%COMP%]{--mdc-text-button-label-text-color:#f44336}.mat-mdc-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-text-button-disabled-label-text-color:rgba(0,0,0,.38);--mdc-text-button-label-text-color:rgba(0,0,0,.38)}.mat-mdc-unelevated-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-filled-button-container-color:#fff;--mdc-filled-button-label-text-color:#000}.mat-mdc-unelevated-button.mat-primary[_ngcontent-%COMP%]{--mdc-filled-button-container-color:#2196f3;--mdc-filled-button-label-text-color:#fff}.mat-mdc-unelevated-button.mat-accent[_ngcontent-%COMP%]{--mdc-filled-button-container-color:#ff9800;--mdc-filled-button-label-text-color:#000}.mat-mdc-unelevated-button.mat-warn[_ngcontent-%COMP%]{--mdc-filled-button-container-color:#f44336;--mdc-filled-button-label-text-color:#fff}.mat-mdc-unelevated-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-filled-button-disabled-container-color:rgba(0,0,0,.12);--mdc-filled-button-disabled-label-text-color:rgba(0,0,0,.38);--mdc-filled-button-container-color:rgba(0,0,0,.12);--mdc-filled-button-label-text-color:rgba(0,0,0,.38)}.mat-mdc-raised-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-protected-button-container-color:#fff;--mdc-protected-button-label-text-color:#000}.mat-mdc-raised-button.mat-primary[_ngcontent-%COMP%]{--mdc-protected-button-container-color:#2196f3;--mdc-protected-button-label-text-color:#fff}.mat-mdc-raised-button.mat-accent[_ngcontent-%COMP%]{--mdc-protected-button-container-color:#ff9800;--mdc-protected-button-label-text-color:#000}.mat-mdc-raised-button.mat-warn[_ngcontent-%COMP%]{--mdc-protected-button-container-color:#f44336;--mdc-protected-button-label-text-color:#fff}.mat-mdc-raised-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-protected-button-disabled-container-color:rgba(0,0,0,.12);--mdc-protected-button-disabled-label-text-color:rgba(0,0,0,.38);--mdc-protected-button-container-color:rgba(0,0,0,.12);--mdc-protected-button-label-text-color:rgba(0,0,0,.38);--mdc-protected-button-container-elevation:0}.mat-mdc-outlined-button[_ngcontent-%COMP%]{--mdc-outlined-button-outline-color:rgba(0,0,0,.12)}.mat-mdc-outlined-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:#000}.mat-mdc-outlined-button.mat-primary[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:#2196f3}.mat-mdc-outlined-button.mat-accent[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:#ff9800}.mat-mdc-outlined-button.mat-warn[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:#f44336}.mat-mdc-outlined-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:rgba(0,0,0,.38);--mdc-outlined-button-disabled-label-text-color:rgba(0,0,0,.38);--mdc-outlined-button-outline-color:rgba(0,0,0,.12);--mdc-outlined-button-disabled-outline-color:rgba(0,0,0,.12)}.mat-mdc-button[_ngcontent-%COMP%], .mat-mdc-outlined-button[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#000;--mat-mdc-button-ripple-color:rgba(0,0,0,.1)}.mat-mdc-button[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-outlined-button[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.04}.mat-mdc-button.cdk-keyboard-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-button.cdk-program-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-outlined-button.cdk-keyboard-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-outlined-button.cdk-program-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-button[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-outlined-button[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-button.mat-primary[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#2196f3;--mat-mdc-button-ripple-color:rgba(33,150,243,.1)}.mat-mdc-button.mat-accent[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#ff9800;--mat-mdc-button-ripple-color:rgba(255,152,0,.1)}.mat-mdc-button.mat-warn[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#f44336;--mat-mdc-button-ripple-color:rgba(244,67,54,.1)}.mat-mdc-raised-button[_ngcontent-%COMP%], .mat-mdc-unelevated-button[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#000;--mat-mdc-button-ripple-color:rgba(0,0,0,.1)}.mat-mdc-raised-button[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-unelevated-button[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.04}.mat-mdc-raised-button.cdk-keyboard-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-raised-button.cdk-program-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-unelevated-button.cdk-keyboard-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-unelevated-button.cdk-program-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-raised-button[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-unelevated-button[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-raised-button.mat-primary[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#fff;--mat-mdc-button-ripple-color:hsla(0,0%,100%,.1)}.mat-mdc-raised-button.mat-accent[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#000;--mat-mdc-button-ripple-color:rgba(0,0,0,.1)}.mat-mdc-raised-button.mat-warn[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#fff;--mat-mdc-button-ripple-color:hsla(0,0%,100%,.1)}.mat-mdc-button.mat-mdc-button-base[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-mdc-button-base[_ngcontent-%COMP%], .mat-mdc-raised-button.mat-mdc-button-base[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-mdc-button-base[_ngcontent-%COMP%]{height:28px;margin-top:0;margin-bottom:0}.mat-mdc-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mdc-button__touch[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mdc-button__touch[_ngcontent-%COMP%], .mat-mdc-raised-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mdc-button__touch[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mdc-button__touch[_ngcontent-%COMP%]{height:100%}.mat-mdc-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mat-mdc-button-touch-target[_ngcontent-%COMP%], .mat-mdc-outlined-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mat-mdc-button-touch-target[_ngcontent-%COMP%], .mat-mdc-raised-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mat-mdc-button-touch-target[_ngcontent-%COMP%], .mat-mdc-unelevated-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mat-mdc-button-touch-target[_ngcontent-%COMP%]{display:none}.mdc-button[_ngcontent-%COMP%]{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family,var(--mdc-typography-font-family,Roboto,"Helvetica Neue",sans-serif));font-size:var(--mdc-typography-button-font-size,14px);line-height:var(--mdc-typography-button-line-height,14px);font-weight:var(--mdc-typography-button-font-weight,500);letter-spacing:var(--mdc-typography-button-letter-spacing,normal);-webkit-text-decoration:var(--mdc-typography-button-text-decoration,none);-moz-text-decoration:var(--mdc-typography-button-text-decoration,none);text-decoration:var(--mdc-typography-button-text-decoration,none);text-transform:var(--mdc-typography-button-text-transform,none)}.mat-mdc-icon-button[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:inherit;--mat-mdc-button-persistent-ripple-color:#000;--mat-mdc-button-ripple-color:rgba(0,0,0,.1)}.mat-mdc-icon-button[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.04}.mat-mdc-icon-button.cdk-keyboard-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-icon-button.cdk-program-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-icon-button[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-icon-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#6200ee;--mat-mdc-button-ripple-color:rgba(98,0,238,.1)}.mat-mdc-icon-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#018786;--mat-mdc-button-ripple-color:rgba(1,135,134,.1)}.mat-mdc-icon-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#b00020;--mat-mdc-button-ripple-color:rgba(176,0,32,.1)}.mat-mdc-icon-button.mat-primary[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:#2196f3;--mat-mdc-button-persistent-ripple-color:#2196f3;--mat-mdc-button-ripple-color:rgba(33,150,243,.1)}.mat-mdc-icon-button.mat-accent[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:#ff9800;--mat-mdc-button-persistent-ripple-color:#ff9800;--mat-mdc-button-ripple-color:rgba(255,152,0,.1)}.mat-mdc-icon-button.mat-warn[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:#f44336;--mat-mdc-button-persistent-ripple-color:#f44336;--mat-mdc-button-ripple-color:rgba(244,67,54,.1)}.mat-mdc-icon-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-icon-button-icon-color:rgba(0,0,0,.38);--mdc-icon-button-disabled-icon-color:rgba(0,0,0,.38)}.mat-mdc-icon-button.mat-mdc-button-base[_ngcontent-%COMP%]{--mdc-icon-button-state-layer-size:40px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:8px}.mat-mdc-icon-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mat-mdc-button-touch-target[_ngcontent-%COMP%]{display:none}.mat-mdc-fab[_ngcontent-%COMP%], .mat-mdc-mini-fab[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#000;--mat-mdc-button-ripple-color:rgba(0,0,0,.1)}.mat-mdc-fab[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-mini-fab[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.04}.mat-mdc-fab.cdk-keyboard-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-fab.cdk-program-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-mini-fab.cdk-keyboard-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-mini-fab.cdk-program-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-fab[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .mat-mdc-mini-fab[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.mat-mdc-fab.mat-primary[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#fff;--mat-mdc-button-ripple-color:hsla(0,0%,100%,.1)}.mat-mdc-fab.mat-accent[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#000;--mat-mdc-button-ripple-color:rgba(0,0,0,.1)}.mat-mdc-fab.mat-warn[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#fff;--mat-mdc-button-ripple-color:hsla(0,0%,100%,.1)}.mat-mdc-fab.mat-unthemed[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-unthemed[_ngcontent-%COMP%]{--mdc-fab-container-color:#fff;--mdc-fab-icon-color:#000;--mat-mdc-fab-color:#000}.mat-mdc-fab.mat-primary[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-primary[_ngcontent-%COMP%]{--mdc-fab-container-color:#2196f3;--mdc-fab-icon-color:#fff;--mat-mdc-fab-color:#fff}.mat-mdc-fab.mat-accent[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-accent[_ngcontent-%COMP%]{--mdc-fab-container-color:#ff9800;--mdc-fab-icon-color:#000;--mat-mdc-fab-color:#000}.mat-mdc-fab.mat-warn[_ngcontent-%COMP%], .mat-mdc-mini-fab.mat-warn[_ngcontent-%COMP%]{--mdc-fab-container-color:#f44336;--mdc-fab-icon-color:#fff;--mat-mdc-fab-color:#fff}.mat-mdc-fab[disabled][disabled][_ngcontent-%COMP%], .mat-mdc-mini-fab[disabled][disabled][_ngcontent-%COMP%]{--mdc-fab-container-color:rgba(0,0,0,.12);--mdc-fab-icon-color:rgba(0,0,0,.38);--mat-mdc-fab-color:rgba(0,0,0,.38)}.mdc-fab--extended[_ngcontent-%COMP%]{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family,var(--mdc-typography-font-family,Roboto,"Helvetica Neue",sans-serif));font-size:var(--mdc-typography-button-font-size,14px);line-height:var(--mdc-typography-button-line-height,14px);font-weight:var(--mdc-typography-button-font-weight,500);letter-spacing:var(--mdc-typography-button-letter-spacing,normal);-webkit-text-decoration:var(--mdc-typography-button-text-decoration,none);-moz-text-decoration:var(--mdc-typography-button-text-decoration,none);text-decoration:var(--mdc-typography-button-text-decoration,none);text-transform:var(--mdc-typography-button-text-transform,none)}.gmat-mdc-button.mat-mdc-button-base[_ngcontent-%COMP%]{font-family:Google Sans,Roboto,Arial,sans-serif;font-size:.875rem;letter-spacing:.0107142857em;font-weight:500;text-transform:none}.gmat-mdc-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mdc-button__ripple[_ngcontent-%COMP%]{height:100%;position:absolute;overflow:hidden;width:100%;z-index:0}.gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.16}.gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:focus   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:focus   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.24}.gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.2}.gmat-mdc-button.mat-mdc-button[_ngcontent-%COMP%]:not(:disabled):hover{color:var(--mdc-text-button-hover-label-text-color,#202124)}.gmat-mdc-button.mat-mdc-button[_ngcontent-%COMP%]:not(:disabled).mdc-ripple-upgraded--background-focused, .gmat-mdc-button.mat-mdc-button[_ngcontent-%COMP%]:not(:disabled):not(.mdc-ripple-upgraded):focus{color:var(--mdc-text-button-focus-label-text-color,#202124)}.gmat-mdc-button.mat-mdc-button.mat-unthemed[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#5f6368;--mat-mdc-button-ripple-color:rgba(95,99,104,.1);--mdc-text-button-label-text-color:#5f6368}.gmat-mdc-button.mat-mdc-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#1e88e5;--mat-mdc-button-ripple-color:rgba(30,136,229,.1);--mdc-text-button-label-text-color:#1e88e5;--mdc-text-button-focus-label-text-color:#0d47a1;--mdc-text-button-hover-label-text-color:#0d47a1}.gmat-mdc-button.mat-mdc-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#fb8c00;--mat-mdc-button-ripple-color:rgba(251,140,0,.1);--mdc-text-button-label-text-color:#fb8c00;--mdc-text-button-focus-label-text-color:#e65100;--mdc-text-button-hover-label-text-color:#e65100}.gmat-mdc-button.mat-mdc-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#e53935;--mat-mdc-button-ripple-color:rgba(229,57,53,.1);--mdc-text-button-label-text-color:#e53935;--mdc-text-button-focus-label-text-color:#b71c1c;--mdc-text-button-hover-label-text-color:#b71c1c}.gmat-mdc-button.mat-mdc-button[disabled][_ngcontent-%COMP%]{--mdc-text-button-disabled-label-text-color:rgba(60,64,67,.38);--mdc-text-button-label-text-color:rgba(60,64,67,.38)}.gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]{-webkit-transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1);transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1)}.gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix){padding:0 24px 0 24px}.gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:not([disabled]):hover{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 1px 3px 1px rgba(60,64,67,.15)}.gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:not([disabled]):hover   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:not([disabled]):active{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 2px 6px 2px rgba(60,64,67,.15)}.gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:not([disabled]):active   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.gmat-mdc-button.mat-mdc-unelevated-button.mat-unthemed[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#5f6368;--mat-mdc-button-ripple-color:rgba(95,99,104,.1);--mdc-filled-button-container-color:#fff;--mdc-filled-button-label-text-color:#5f6368}.gmat-mdc-button.mat-mdc-unelevated-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#202124;--mat-mdc-button-ripple-color:rgba(32,33,36,.1);--mdc-filled-button-container-color:#1e88e5;--mdc-filled-button-label-text-color:#fff}.gmat-mdc-button.mat-mdc-unelevated-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#202124;--mat-mdc-button-ripple-color:rgba(32,33,36,.1);--mdc-filled-button-container-color:#fb8c00;--mdc-filled-button-label-text-color:#fff}.gmat-mdc-button.mat-mdc-unelevated-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#202124;--mat-mdc-button-ripple-color:rgba(32,33,36,.1);--mdc-filled-button-container-color:#e53935;--mdc-filled-button-label-text-color:#fff}.gmat-mdc-button.mat-mdc-unelevated-button[disabled][_ngcontent-%COMP%]{--mdc-filled-button-disabled-label-text-color:rgba(60,64,67,.38);--mdc-filled-button-label-text-color:rgba(60,64,67,.38);--mdc-filled-button-disabled-container-color:rgba(60,64,67,.12);--mdc-filled-button-container-color:rgba(60,64,67,.12)}.gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]{-webkit-transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1);transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1)}.gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix){padding:0 24px 0 24px}.gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]){box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 1px 3px 1px rgba(60,64,67,.15)}.gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled])   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]):hover{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 1px 3px 1px rgba(60,64,67,.15)}.gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]):hover   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]):active, .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]):focus{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 2px 6px 2px rgba(60,64,67,.15)}.gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]):active   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]):focus   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.gmat-mdc-button.mat-mdc-raised-button.mat-unthemed[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#5f6368;--mat-mdc-button-ripple-color:rgba(95,99,104,.1);--mdc-protected-button-container-color:#fff;--mdc-protected-button-label-text-color:#5f6368}.gmat-mdc-button.mat-mdc-raised-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#202124;--mat-mdc-button-ripple-color:rgba(32,33,36,.1);--mdc-protected-button-container-color:#1e88e5;--mdc-protected-button-label-text-color:#fff}.gmat-mdc-button.mat-mdc-raised-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#202124;--mat-mdc-button-ripple-color:rgba(32,33,36,.1);--mdc-protected-button-container-color:#fb8c00;--mdc-protected-button-label-text-color:#fff}.gmat-mdc-button.mat-mdc-raised-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#202124;--mat-mdc-button-ripple-color:rgba(32,33,36,.1);--mdc-protected-button-container-color:#e53935;--mdc-protected-button-label-text-color:#fff}.gmat-mdc-button.mat-mdc-raised-button[disabled][_ngcontent-%COMP%]{--mdc-protected-button-disabled-label-text-color:rgba(60,64,67,.38);--mdc-protected-button-label-text-color:rgba(60,64,67,.38);--mdc-protected-button-disabled-container-color:rgba(60,64,67,.12);--mdc-protected-button-container-color:rgba(60,64,67,.12)}.gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]{-webkit-transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1);transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1);--mat-mdc-button-persistent-ripple-color:#5f6368;--mat-mdc-button-ripple-color:rgba(95,99,104,.1);--mdc-outlined-button-outline-color:#dadce0;--mdc-outlined-button-label-text-color:#5f6368}.gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(:disabled):hover{color:var(--mdc-outlined-button-hover-label-text-color,#202124)}.gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(:disabled).mdc-ripple-upgraded--background-focused, .gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(:disabled):not(.mdc-ripple-upgraded):focus{color:var(--mdc-outlined-button-focus-label-text-color,#202124)}.gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(:disabled).mdc-ripple-upgraded--background-focused, .gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(:disabled):not(.mdc-ripple-upgraded):focus{border-color:var(--mdc-outlined-button-focus-outline-color,#202124)}.gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix){padding:0 23px 0 23px;border-width:1px}.gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix).mdc-button--icon-trailing{padding:0 11px 0 23px}.gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix).mdc-button--icon-leading{padding:0 23px 0 11px}.gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix)   .mdc-button__ripple[_ngcontent-%COMP%]{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:1px}.gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix)   .mdc-button__touch[_ngcontent-%COMP%]{left:-1px;width:calc(100% + 2px)}.gmat-mdc-button.mat-mdc-outlined-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#1e88e5;--mat-mdc-button-ripple-color:rgba(30,136,229,.1);--mdc-outlined-button-label-text-color:#1e88e5;--mdc-outlined-button-focus-label-text-color:#0d47a1;--mdc-outlined-button-hover-label-text-color:#0d47a1;--mdc-outlined-button-focus-outline-color:#0d47a1}.gmat-mdc-button.mat-mdc-outlined-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#fb8c00;--mat-mdc-button-ripple-color:rgba(251,140,0,.1);--mdc-outlined-button-label-text-color:#fb8c00;--mdc-outlined-button-focus-label-text-color:#e65100;--mdc-outlined-button-hover-label-text-color:#e65100;--mdc-outlined-button-focus-outline-color:#e65100}.gmat-mdc-button.mat-mdc-outlined-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#e53935;--mat-mdc-button-ripple-color:rgba(229,57,53,.1);--mdc-outlined-button-label-text-color:#e53935;--mdc-outlined-button-focus-label-text-color:#b71c1c;--mdc-outlined-button-hover-label-text-color:#b71c1c;--mdc-outlined-button-focus-outline-color:#b71c1c}.gmat-mdc-button.mat-mdc-outlined-button[disabled][_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:rgba(60,64,67,.38);--mdc-outlined-button-disabled-label-text-color:rgba(60,64,67,.38);--mdc-outlined-button-outline-color:rgba(60,64,67,.12);--mdc-outlined-button-disabled-outline-color:rgba(60,64,67,.12)}.gmat-mdc-button.mat-mdc-icon-button[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:#3c4043;--mat-mdc-button-persistent-ripple-color:#3c4043;--mat-mdc-button-ripple-color:rgba(60,64,67,.1)}.gmat-mdc-button.mat-mdc-icon-button.mat-primary[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:#1e88e5;--mat-mdc-button-persistent-ripple-color:#1e88e5;--mat-mdc-button-ripple-color:rgba(30,136,229,.1)}.gmat-mdc-button.mat-mdc-icon-button.mat-accent[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:#fb8c00;--mat-mdc-button-persistent-ripple-color:#fb8c00;--mat-mdc-button-ripple-color:rgba(251,140,0,.1)}.gmat-mdc-button.mat-mdc-icon-button.mat-warn[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:#e53935;--mat-mdc-button-persistent-ripple-color:#e53935;--mat-mdc-button-ripple-color:rgba(229,57,53,.1)}.gmat-mdc-button.mat-mdc-icon-button[disabled][_ngcontent-%COMP%]{--mdc-icon-button-icon-color:rgba(60,64,67,.38);--mdc-icon-button-disabled-icon-color:rgba(60,64,67,.38)}.gmat-mdc-button.mat-mdc-extended-fab[_ngcontent-%COMP%]{padding-left:24px;padding-right:24px}.gmat-mdc-button.mat-mdc-extended-fab[_ngcontent-%COMP%]   .mdc-fab__icon[_ngcontent-%COMP%]{margin-left:-8px;margin-right:16px}.gmat-mdc-button.mat-mdc-extended-fab[_ngcontent-%COMP%]   .mdc-fab__icon[dir=rtl][_ngcontent-%COMP%], [dir=rtl][_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-extended-fab[_ngcontent-%COMP%]   .mdc-fab__icon[_ngcontent-%COMP%]{margin-left:16px;margin-right:-8px}.gmat-mdc-button.mat-mdc-extended-fab[_ngcontent-%COMP%]   .mdc-fab__label[_ngcontent-%COMP%] + .mdc-fab__icon[_ngcontent-%COMP%]{margin-left:16px;margin-right:-8px}.gmat-mdc-button.mat-mdc-extended-fab[_ngcontent-%COMP%]   .mdc-fab__label[_ngcontent-%COMP%] + .mdc-fab__icon[dir=rtl][_ngcontent-%COMP%], [dir=rtl][_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-extended-fab[_ngcontent-%COMP%]   .mdc-fab__label[_ngcontent-%COMP%] + .mdc-fab__icon[_ngcontent-%COMP%]{margin-left:-8px;margin-right:16px}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]), .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):focus, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]), .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):focus{box-shadow:0 1px 3px 0 rgba(60,64,67,.3),0 4px 8px 3px rgba(60,64,67,.15)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled])   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):focus   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled])   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):focus   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):hover, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):hover{box-shadow:0 2px 3px 0 rgba(60,64,67,.3),0 6px 10px 4px rgba(60,64,67,.15)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):hover   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):hover   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):active, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):focus:active, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):active, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):focus:active{box-shadow:0 4px 4px 0 rgba(60,64,67,.3),0 8px 12px 6px rgba(60,64,67,.15)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):active   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):focus:active   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):active   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):focus:active   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 1px 3px 1px rgba(60,64,67,.15)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:hover, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:hover{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 2px 6px 2px rgba(60,64,67,.15)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:hover   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:hover   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:active, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus:active, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:active, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus:active{box-shadow:0 1px 3px 0 rgba(60,64,67,.3),0 4px 8px 3px rgba(60,64,67,.15)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:active   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus:active   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:active   .mdc-elevation-overlay[_ngcontent-%COMP%], .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus:active   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-unthemed.gmat-mdc-fab-outline, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-unthemed.gmat-mdc-fab-outline{--mdc-fab-container-color:#fff;--mat-mdc-button-persistent-ripple-color:#3c4043;--mat-mdc-button-ripple-color:rgba(60,64,67,.1)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill{--mdc-fab-container-color:#1e88e5;--mdc-fab-icon-color:#fff;--mat-mdc-button-persistent-ripple-color:rgba(0,0,0,.87);--mat-mdc-button-ripple-color:rgba(0,0,0,.1);--mat-mdc-fab-color:#fff}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline{--mdc-fab-container-color:#fff;--mdc-fab-icon-color:#1e88e5;--mat-mdc-button-persistent-ripple-color:#1e88e5;--mat-mdc-button-ripple-color:rgba(30,136,229,.1);--mat-mdc-fab-color:#1e88e5}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-accent.gmat-mdc-fab-fill, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-accent.gmat-mdc-fab-fill{--mdc-fab-container-color:#fb8c00;--mdc-fab-icon-color:#fff;--mat-mdc-button-persistent-ripple-color:rgba(0,0,0,.87);--mat-mdc-button-ripple-color:rgba(0,0,0,.1);--mat-mdc-fab-color:#fff}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-accent.gmat-mdc-fab-outline, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-accent.gmat-mdc-fab-outline{--mdc-fab-container-color:#fff;--mdc-fab-icon-color:#fb8c00;--mat-mdc-button-persistent-ripple-color:#fb8c00;--mat-mdc-button-ripple-color:rgba(251,140,0,.1);--mat-mdc-fab-color:#fb8c00}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-warn.gmat-mdc-fab-fill, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-warn.gmat-mdc-fab-fill{--mdc-fab-container-color:#e53935;--mdc-fab-icon-color:#fff;--mat-mdc-button-persistent-ripple-color:rgba(0,0,0,.87);--mat-mdc-button-ripple-color:rgba(0,0,0,.1);--mat-mdc-fab-color:#fff}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-warn.gmat-mdc-fab-outline, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-warn.gmat-mdc-fab-outline{--mdc-fab-container-color:#fff;--mdc-fab-icon-color:#e53935;--mat-mdc-button-persistent-ripple-color:#e53935;--mat-mdc-button-ripple-color:rgba(229,57,53,.1);--mat-mdc-fab-color:#e53935}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded{--mdc-fab-container-color:#fff;--mdc-fab-icon-color:#424242;--mat-mdc-button-persistent-ripple-color:#1a73e8;--mat-mdc-button-ripple-color:rgba(26,115,232,.1);--mat-mdc-fab-color:#424242;padding-top:2px;padding-right:24px;padding-bottom:2px;padding-left:24px}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled).mdc-ripple-upgraded--background-focused, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled):not(.mdc-ripple-upgraded):focus, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled).mdc-ripple-upgraded--background-focused, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled):not(.mdc-ripple-upgraded):focus{border-style:solid;border-width:2px;padding-top:2px;padding-right:22px;padding-bottom:2px;padding-left:22px}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled).mdc-ripple-upgraded--background-focused, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled):not(.mdc-ripple-upgraded):focus, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled).mdc-ripple-upgraded--background-focused, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled):not(.mdc-ripple-upgraded):focus{border-color:#4285f4}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:focus, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:hover, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:focus, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:hover{--mat-mdc-fab-color:#174ea6}.gmat-mdc-button.mat-mdc-button.mat-unthemed[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:var(--text-default);--mdc-text-button-label-text-color:var(--text-default);--mdc-text-button-focus-label-text-color:var(--text-default);--mdc-text-button-hover-label-text-color:var(--text-default)}.gmat-mdc-button.mat-mdc-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:var(--primary-default);--mdc-text-button-label-text-color:var(--primary-default);--mdc-text-button-focus-label-text-color:var(--primary-default);--mdc-text-button-hover-label-text-color:var(--primary-default)}.gmat-mdc-button.mat-mdc-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:var(--warn-default);--mdc-text-button-label-text-color:var(--warn-default);--mdc-text-button-focus-label-text-color:var(--warn-default);--mdc-text-button-hover-label-text-color:var(--warn-default)}.gmat-mdc-button.mat-mdc-button[disabled][_ngcontent-%COMP%]{--mdc-text-button-disabled-label-text-color:var(\n    --button-disabled-text\n  );--mdc-text-button-label-text-color:var(--button-disabled-text)}.gmat-mdc-button.mat-mdc-outlined-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:var(--text-default);--mdc-outlined-button-focus-label-text-color:var(--text-default);--mdc-outlined-button-hover-label-text-color:var(--text-default);--mdc-outlined-button-outline-color:var(--hairline);--mdc-outlined-button-focus-outline-color:var(--text-default)}.gmat-mdc-button.mat-mdc-outlined-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:var(--primary-default);--mdc-outlined-button-label-text-color:var(--primary-default);--mdc-outlined-button-focus-label-text-color:var(--primary-default);--mdc-outlined-button-hover-label-text-color:var(--primary-default);--mdc-outlined-button-outline-color:var(--hairline);--mdc-outlined-button-focus-outline-color:var(--primary-default)}.gmat-mdc-button.mat-mdc-outlined-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:var(--warn-default);--mdc-outlined-button-label-text-color:var(--warn-default);--mdc-outlined-button-focus-label-text-color:var(--warn-default);--mdc-outlined-button-hover-label-text-color:var(--warn-default);--mdc-outlined-button-outline-color:var(--hairline);--mdc-outlined-button-focus-outline-color:var(--warn-default)}.gmat-mdc-button.mat-mdc-outlined-button[disabled][_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:var(--button-disabled-text);--mdc-outlined-button-disabled-label-text-color:var(\n    --button-disabled-text\n  );--mdc-outlined-button-outline-color:var(--button-disabled-text);--mdc-outlined-button-disabled-outline-color:var(\n    --button-disabled-text\n  )}.gmat-mdc-button.mat-mdc-unelevated-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-filled-button-container-color:var(--button-raised-bg);--mdc-filled-button-label-text-color:var(--text-default)}.gmat-mdc-button.mat-mdc-unelevated-button.mat-primary[_ngcontent-%COMP%]{--mdc-filled-button-container-color:var(--primary-default);--mdc-filled-button-label-text-color:var(--text-inverse)}.gmat-mdc-button.mat-mdc-unelevated-button.mat-warn[_ngcontent-%COMP%]{--mdc-filled-button-container-color:var(--warn-default);--mdc-filled-button-label-text-color:var(--text-inverse)}.gmat-mdc-button.mat-mdc-unelevated-button[disabled][_ngcontent-%COMP%]{--mdc-filled-button-disabled-label-text-color:var(\n    --button-disabled-text\n  );--mdc-filled-button-label-text-color:var(--button-disabled-text);--mdc-filled-button-disabled-container-color:var(--button-disabled-bg);--mdc-filled-button-container-color:var(--button-disabled-bg)}.gmat-mdc-button.mat-mdc-raised-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-protected-button-container-color:var(--button-raised-bg);--mdc-protected-button-label-text-color:var(--text-default)}.gmat-mdc-button.mat-mdc-raised-button.mat-primary[_ngcontent-%COMP%]{--mdc-protected-button-container-color:var(--primary-default);--mdc-protected-button-label-text-color:var(--text-inverse)}.gmat-mdc-button.mat-mdc-raised-button.mat-warn[_ngcontent-%COMP%]{--mdc-protected-button-container-color:var(--warn-default);--mdc-protected-button-label-text-color:var(--text-inverse)}.gmat-mdc-button.mat-mdc-raised-button[disabled][_ngcontent-%COMP%]{--mdc-protected-button-disabled-label-text-color:var(\n    --button-disabled-text\n  );--mdc-protected-button-label-text-color:var(--button-disabled-text);--mdc-protected-button-disabled-container-color:var(\n    --button-disabled-bg\n  );--mdc-protected-button-container-color:var(--button-disabled-bg)}.gmat-mdc-button.mat-mdc-raised-button.mat-primary[_ngcontent-%COMP%]:not([disabled]), .gmat-mdc-button.mat-mdc-raised-button.mat-unthemed[_ngcontent-%COMP%]:not([disabled]), .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]){box-shadow:0 1px 2px 0 var(--elevation),0 1px 3px 1px var(--elevation)}.gmat-mdc-button.mat-mdc-icon-button[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{color:var(--text-default)}.gmat-mdc-button.mat-mdc-icon-button.mat-primary[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{color:var(--primary-default)}.gmat-mdc-button.mat-mdc-icon-button.mat-warn[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{color:var(--warn-default)}.gmat-mdc-button.mat-mdc-icon-button[_ngcontent-%COMP%]:disabled   .mat-icon[_ngcontent-%COMP%]{color:var(--button-disabled-text)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline.mat-mdc-extended-fab, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline{color:var(--primary-default);background-color:var(--button-raised-bg);box-shadow:0 1px 2px 0 var(--elevation),0 2px 6px 2px var(--elevation)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline.mat-mdc-extended-fab:hover, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline:hover, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline:hover{box-shadow:0 2px 3px 0 var(--elevation),0 6px 10px 4px var(--elevation)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline.mat-mdc-extended-fab:active, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline.mat-mdc-extended-fab:not(.gm-focus-hidden):focus, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline:active, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline:not(.gm-focus-hidden):focus, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline:active, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline:not(.gm-focus-hidden):focus{box-shadow:0 1px 2px 0 var(--elevation),0 2px 6px 2px var(--elevation)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill.mat-mdc-extended-fab{color:var(--text-inverse);background-color:var(--primary-default);box-shadow:0 1px 2px 0 var(--elevation),0 2px 6px 2px var(--elevation)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill.mat-mdc-extended-fab:hover, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill:hover{box-shadow:0 2px 3px 0 var(--elevation),0 6px 10px 4px var(--elevation)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill.mat-mdc-extended-fab:active, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill.mat-mdc-extended-fab:not(.gm-focus-hidden):focus, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill:active, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill:not(.gm-focus-hidden):focus{box-shadow:0 1px 2px 0 var(--elevation),0 2px 6px 2px var(--elevation)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered{box-shadow:0 1px 2px 0 var(--elevation),0 1px 3px 1px var(--elevation)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered:hover, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered:hover{box-shadow:0 1px 2px 0 var(--elevation),0 2px 6px 2px var(--elevation)}.gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered:active, .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered:not(.gm-focus-hidden):focus, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered:active, .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered:not(.gm-focus-hidden):focus{box-shadow:0 1px 2px 0 var(--elevation),0 2px 6px 2px var(--elevation)}.gmat-mdc-button.mat-mdc-button.mat-primary[_ngcontent-%COMP%]{--mdc-text-button-label-text-color:var(--primary-high-contrast);--mdc-text-button-hover-label-text-color:var(--primary-high-contrast);--mat-mdc-button-ripple-color:var(--primary-high-contrast);--mat-mdc-button-persistent-ripple-color:var(--primary-high-contrast)}.mat-mdc-button-persistent-ripple.mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.5}.tp-table-title[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;gap:12px;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;margin:.83rem 0;height:2.5rem}.tp-table-title[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], .tp-table-title[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{margin:0}.show-hidden[_ngcontent-%COMP%]{margin-left:auto}']});var tQc=[[["","needsInputBadge",""]]],cX=function(a){this.route=a};cX.prototype.ngOnInit=function(){};cX.\u0275fac=function(a){return new (a||cX)(D(Sk))};
cX.\u0275cmp=zc({type:cX,selectors:[["tp-needs-attention"]],ngContentSelectors:["[needsInputBadge]"],decls:6,vars:2,consts:[[1,"tp-needs-attention"],[1,"tp-scrolling-pane"],[1,"tp-content"],[3,"isMyWork"]],template:function(a){a&1&&(Ne(tQc),H(0,"div",0)(1,"div",1)(2,"div",2),K(3,"tp-task-section",3),H(4,"tp-task-section",3),Oe(5),J()()()());a&2&&(C(3),G("isMyWork",!0),C(1),G("isMyWork",!1))},dependencies:[bX],styles:[".tp-toolbar[_ngcontent-%COMP%]{padding:.5rem .75rem;border-bottom:1px solid var(--hairline);height:1.8125rem;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.tp-content[_ngcontent-%COMP%]{padding:0 .75rem .75rem}.tp-scrolling-pane[_ngcontent-%COMP%]{background:var(--surface-secondary)}"]});var uQc=["button"],vQc=new Hc("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS"),wQc=new Hc("MatButtonToggleGroup"),xQc={provide:iv,useExisting:tc(function(){return dX}),multi:!0},yQc=0,zQc=function(a,b){this.source=a;this.value=b},dX=function(a,b){this._changeDetector=a;this._disabled=this._multiple=this._vertical=!1;this._controlValueAccessorChangeFn=function(){};this._onTouched=function(){};this._name="mat-button-toggle-group-"+yQc++;this.valueChange=new tu;this.change=new tu;this.appearance=b&&b.appearance?
b.appearance:"legacy"};f=dX.prototype;f.ngOnInit=function(){this._selectionModel=new yx(this.multiple,void 0,!1)};f.ngAfterContentInit=function(){this._selectionModel.select.apply(this._selectionModel,Jc(this._buttonToggles.filter(function(a){return a.checked})))};f.writeValue=function(a){this.value=a;this._changeDetector.markForCheck()};f.registerOnChange=function(a){this._controlValueAccessorChangeFn=a};f.registerOnTouched=function(a){this._onTouched=a};
f.setDisabledState=function(a){this.disabled=a};f._emitChangeEvent=function(a){a=new zQc(a,this.value);this._controlValueAccessorChangeFn(a.value);this.change.emit(a)};
f._syncButtonToggle=function(a,b,c,d){var e=this;c=void 0===c?!1:c;d=void 0===d?!1:d;this.multiple||!this.selected||a.checked||(this.selected.checked=!1);this._selectionModel?b?this._selectionModel.select(a):this._selectionModel.deselect(a):d=!0;d?Promise.resolve().then(function(){return e._updateModelValue(a,c)}):this._updateModelValue(a,c)};f._isSelected=function(a){return this._selectionModel&&this._selectionModel.isSelected(a)};
f._isPrechecked=function(a){return"undefined"===typeof this._rawValue?!1:this.multiple&&Array.isArray(this._rawValue)?this._rawValue.some(function(b){return null!=a.value&&b===a.value}):a.value===this._rawValue};f._setSelectionByValue=function(a){var b=this;this._rawValue=a;this._buttonToggles&&(this.multiple&&a?(Array.isArray(a),this._clearSelection(),a.forEach(function(c){return b._selectValue(c)})):(this._clearSelection(),this._selectValue(a)))};
f._clearSelection=function(){this._selectionModel.clear();this._buttonToggles.forEach(function(a){return a.checked=!1})};f._selectValue=function(a){var b=this._buttonToggles.find(function(c){return null!=c.value&&c.value===a});b&&(b.checked=!0,this._selectionModel.select(b))};f._updateModelValue=function(a,b){b&&this._emitChangeEvent(a);this.valueChange.emit(this.value)};f._markButtonsForCheck=function(){var a;null==(a=this._buttonToggles)||a.forEach(function(b){return b._markForCheck()})};
gg.Object.defineProperties(dX.prototype,{name:{configurable:!0,enumerable:!0,get:function(){return this._name},set:function(a){this._name=a;this._markButtonsForCheck()}},vertical:{configurable:!0,enumerable:!0,get:function(){return this._vertical},set:function(a){this._vertical=Ef(a)}},value:{configurable:!0,enumerable:!0,get:function(){var a=this._selectionModel?this._selectionModel.selected:[];return this.multiple?a.map(function(b){return b.value}):a[0]?a[0].value:void 0},set:function(a){this._setSelectionByValue(a);
this.valueChange.emit(this.value)}},selected:{configurable:!0,enumerable:!0,get:function(){var a=this._selectionModel?this._selectionModel.selected:[];return this.multiple?a:a[0]||null}},multiple:{configurable:!0,enumerable:!0,get:function(){return this._multiple},set:function(a){this._multiple=Ef(a);this._markButtonsForCheck()}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=Ef(a);this._markButtonsForCheck()}}});
dX.\u0275fac=function(a){return new (a||dX)(D(Lu),D(vQc,8))};
dX.\u0275dir=Cc({type:dX,selectors:[["mat-button-toggle-group"]],contentQueries:function(a,b,c){a&1&&kf(c,eX,5);if(a&2){var d;hf(d=lf())&&(b._buttonToggles=d)}},hostAttrs:["role","group",1,"mat-button-toggle-group"],hostVars:5,hostBindings:function(a,b){a&2&&(Ae("aria-disabled",b.disabled),Ie("mat-button-toggle-vertical",b.vertical)("mat-button-toggle-group-appearance-standard","standard"===b.appearance))},inputs:{appearance:"appearance",name:"name",vertical:"vertical",value:"value",multiple:"multiple",
disabled:"disabled"},outputs:{valueChange:"valueChange",change:"change"},exportAs:["matButtonToggleGroup"],features:[Xe([xQc,{provide:wQc,useExisting:dX}])]});var AQc=ig(function(){}),eX=function(a,b,c,d,e,g){var h=AQc.call(this)||this;h._changeDetectorRef=b;h._elementRef=c;h._focusMonitor=d;h._checked=!1;h.ariaLabelledby=null;h._disabled=!1;h.change=new tu;e=Number(e);h.tabIndex=e||0===e?e:null;h.buttonToggleGroup=a;h.appearance=g&&g.appearance?g.appearance:"legacy";return h};V(eX,AQc);f=eX.prototype;
f.ngOnInit=function(){var a=this.buttonToggleGroup;this.id=this.id||"mat-button-toggle-"+yQc++;a&&(a._isPrechecked(this)?this.checked=!0:a._isSelected(this)!==this._checked&&a._syncButtonToggle(this,this._checked))};f.ngAfterViewInit=function(){this._focusMonitor.monitor(this._elementRef,!0)};f.ngOnDestroy=function(){var a=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef);a&&a._isSelected(this)&&a._syncButtonToggle(this,!1,!1,!0)};f.focus=function(a){this._buttonElement.nativeElement.focus(a)};
f._onButtonClick=function(){var a=this._isSingleSelector()?!0:!this._checked;a!==this._checked&&(this._checked=a,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched()));this.change.emit(new zQc(this,this.value))};f._markForCheck=function(){this._changeDetectorRef.markForCheck()};f._getButtonName=function(){return this._isSingleSelector()?this.buttonToggleGroup.name:this.name||null};
f._isSingleSelector=function(){return this.buttonToggleGroup&&!this.buttonToggleGroup.multiple};
gg.Object.defineProperties(eX.prototype,{buttonId:{configurable:!0,enumerable:!0,get:function(){return this.id+"-button"}},appearance:{configurable:!0,enumerable:!0,get:function(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance},set:function(a){this._appearance=a}},checked:{configurable:!0,enumerable:!0,get:function(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked},set:function(a){a=Ef(a);a!==this._checked&&(this._checked=a,this.buttonToggleGroup&&
this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled},set:function(a){this._disabled=Ef(a)}}});eX.\u0275fac=function(a){return new (a||eX)(D(wQc,8),D(Lu),D(fd),D(Zv),$c("tabindex"),D(vQc,8))};
eX.\u0275cmp=zc({type:eX,selectors:[["mat-button-toggle"]],viewQuery:function(a,b){a&1&&jf(uQc,5);if(a&2){var c;hf(c=lf())&&(b._buttonElement=c.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:12,hostBindings:function(a,b){a&1&&O("focus",function(){return b.focus()});a&2&&(Ae("aria-label",null)("aria-labelledby",null)("id",b.id)("name",null),Ie("mat-button-toggle-standalone",!b.buttonToggleGroup)("mat-button-toggle-checked",b.checked)("mat-button-toggle-disabled",b.disabled)("mat-button-toggle-appearance-standard",
"standard"===b.appearance))},inputs:{disableRipple:"disableRipple",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",name:"name",value:"value",tabIndex:"tabIndex",appearance:"appearance",checked:"checked",disabled:"disabled"},outputs:{change:"change"},exportAs:["matButtonToggle"],features:[xe],ngContentSelectors:["*"],decls:6,vars:9,consts:[["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"id","disabled","click"],["button",""],[1,
"mat-button-toggle-label-content"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"]],template:function(a,b){a&1&&(Ne(),H(0,"button",0,1),O("click",function(){return b._onButtonClick()}),H(2,"span",2),Oe(3),J()(),K(4,"span",3)(5,"span",4));if(a&2){var c=Se(1);G("id",b.buttonId)("disabled",b.disabled||null);Ae("tabindex",b.disabled?-1:b.tabIndex)("aria-pressed",b.checked)("name",b._getButtonName())("aria-label",b.ariaLabel)("aria-labelledby",
b.ariaLabelledby);C(5);G("matRippleTrigger",c)("matRippleDisabled",b.disableRipple||b.disabled)}},dependencies:[Zx],styles:[".mat-button-toggle-standalone,.mat-button-toggle-group{position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;border-radius:2px;-webkit-tap-highlight-color:rgba(0,0,0,0);transform:translateZ(0)}.cdk-high-contrast-active .mat-button-toggle-standalone,.cdk-high-contrast-active .mat-button-toggle-group{outline:solid 1px}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border-radius:4px}.cdk-high-contrast-active .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.cdk-high-contrast-active .mat-button-toggle-group-appearance-standard{outline:0}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle{white-space:nowrap;position:relative}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:1}.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{opacity:.04}.mat-button-toggle-appearance-standard.cdk-keyboard-focused:not(.mat-button-toggle-disabled) .mat-button-toggle-focus-overlay{opacity:.12}@media(hover: none){.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{display:none}}.mat-button-toggle-label-content{-webkit-user-select:none;user-select:none;display:inline-block;line-height:36px;padding:0 16px;position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{padding:0 12px}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;pointer-events:none;opacity:0}.cdk-high-contrast-active .mat-button-toggle-checked .mat-button-toggle-focus-overlay{border-bottom:solid 36px;opacity:.5;height:0}.cdk-high-contrast-active .mat-button-toggle-checked:hover .mat-button-toggle-focus-overlay{opacity:.6}.cdk-high-contrast-active .mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{border-bottom:solid 500px}.mat-button-toggle .mat-button-toggle-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-toggle-button{border:0;background:none;color:inherit;padding:0;margin:0;font:inherit;outline:none;width:100%;cursor:pointer}.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}\n"],
encapsulation:2,changeDetection:0});var T1a=function(){return{standalone:!0}},BQc=Pmc("bhome-layout"),CQc=Yl.EXPERIMENTAL_HOMEPAGE,fX=function(a,b,c,d,e,g,h){var l=this;this.hackyPrefs=a;this.refreshMonitor=b;this.pageTitle=c;this.analytics=d;this.hostElement=e;this.userFeedback=g;this.tasks=h;this.isCurrentUserHomepage=!0;BQc();this.announcement=bk().preload.announcement;this.VALID_WIDGETS_A=Kjc;this.VALID_WIDGETS_W=Ljc;this.VALID_WIDGETS_T=Mjc;this.log=console.log.bind(console);this.showSettings=!1;this.ldapOverride=vk();this.taskPrioritizationTasksCount$=
(0,F.defer)(function(){return BPc(l.tasks)});this.onAnyClick=function(q){q=Yxa(q);for(var v=k(Object.entries(DQc)),y=v.next();!y.done;y=v.next()){var B=k(y.value);y=B.next().value;B=B.next().value;if(q.includes(y)){l.analytics.trackEvent(CQc,"click",B);break}}}};
fX.prototype.ngOnInit=function(){this.pageTitle.setTitle("Home");var a;var b=null!=(a=(new URLSearchParams(document.location.search)).get("cfg"))?a:void 0;this.hackyPrefs.init(this.ldapOverride,b);this.isCurrentUserHomepage=null==this.ldapOverride?!0:vk()===wk;this.hostElement.nativeElement.addEventListener("click",this.onAnyClick,!0)};fX.prototype.ngOnDestroy=function(){this.hostElement.nativeElement.removeEventListener("click",this.onAnyClick,!0)};
var S1a=function(a){return Ld(function(b){if(1==b.nextAddress)return b.yield(boc(a.hackyPrefs),2);window.location.reload();Qd(b)})};gg.Object.defineProperties(fX.prototype,{prefs:{configurable:!0,enumerable:!0,get:function(){return this.hackyPrefs.prefs}}});fX.\u0275fac=function(a){return new (a||fX)(D(qI),D(GH),D(SW),D(AH),D(fd),D(wQ),D(CW))};
fX.\u0275cmp=zc({type:fX,selectors:[["homepage-wrapper"]],decls:3,vars:3,consts:[["href","https://fonts.googleapis.com/css2?family=Google+Material+Icons:wght@400;500;700","rel","stylesheet"],["class","flex-kids-y pos-fill bg-off-main overflow overflow-on-print-media",3,"settings-open","show-hidden-settings",4,"ngIf"],[1,"flex-kids-y","pos-fill","bg-off-main","overflow","overflow-on-print-media"],[1,"grid-header","padded-left","padded-s-right","flex-kids-x","align-items-center","justify-flex-end"],
["class","announcement-banner carded",4,"ngIf","ngIfElse"],["noFeedbackMsg",""],[1,"hidden-settings",3,"submit"],["type","text","placeholder","Show Dashboard for user",2,"width","180px",3,"ngModel","ngModelOptions","ngModelChange"],["type","submit",1,"display-none"],["mat-icon-button","","matTooltip","Configure home page","aria-label","Configure home page",1,"gmat-button","large",3,"click"],["svgIcon","settings","size","large"],[1,"settings","bg-muted","border-bottom"],[1,"padded","margin-top"],[1,
"hidden-settings"],[1,"mat-elevation-z0",3,"change"],["aria-label","Alerts Above","matTooltip","Alerts Above","value","layout-a",3,"checked"],[1,"google-material-icons","rotate-icon"],["aria-label","Side-by-side","matTooltip","Side-by-side","value","layout-b",3,"checked"],["aria-label","Tab Layout","matTooltip","Tab Layout","value","layout-c",3,"checked"],["svgIcon","child-components-24px",1,"small"],[1,"mat-elevation-z0","bordered",3,"change"],["aria-label","true",1,"padded-s-x",3,"value","checked"],
["aria-label","false",1,"padded-s-x",3,"value","checked"],[3,"submit"],[1,"row"],["type","text",3,"ngModel","ngModelOptions","ngModelChange"],[1,"muted","type-xs"],["type","button","mat-button","","color","primary","class","xs margin-s-right",3,"click",4,"ngFor","ngForOf"],["type","submit","mat-flat-button","",1,"gmat-button"],[1,"subtle-link","muted","margin-x",3,"href"],["type","button","mat-button","","color","warn","title","This will reset all your dashboard settings to the default",1,"gmat-button",
"margin-left",3,"click"],["mat-icon-button","","color","primary","title","Refresh","aria-label","Refresh","type","button",1,"gmat-button","large",3,"click"],["svgIcon","refresh","size","large"],["cdkDropListGroup",""],["class","a",4,"ngIf"],[1,"w"],["class","carded bg-main margin-s-bottom",4,"ngIf"],[4,"ngIf"],["class","margin-top",4,"ngIf"],["class","carded bg-main","style","margin-bottom: 24px;","cdkDropList","",3,"cdkDropListDropped",4,"ngIf"],["class","margin-top",3,"assignedOnly",4,"ngIf"],["class",
"t",4,"ngIf"],[1,"announcement-banner","carded"],[3,"innerHtml"],["mat-flat-button","","matTooltip","Every voice counts; only ~1000 people can see the homepage.",1,"gmat-button","small","margin-s-left",3,"click"],["mat-stroked-button","","matTooltip","Every voice counts; only ~1000 people can see the homepage.",1,"gmat-button","medium","plain-announcement-btn","margin-s-right",3,"click"],["type","button","mat-button","","color","primary",1,"xs","margin-s-right",3,"click"],[1,"a"],[1,"carded","bg-main",
"margin-s-bottom"],[1,"margin-top"],["cdkDropList","",1,"carded","bg-main",2,"margin-bottom","24px",3,"cdkDropListDropped"],["pinnedIssues","cdkDropList"],[1,"margin-top",3,"assignedOnly"],[1,"t"],["class","margin-bottom",4,"ngIf"],[1,"margin-bottom"],["class","needs-input-badge","needsInputBadge","",4,"ngIf"],["needsInputBadge","",1,"needs-input-badge"]],template:function(a,b){a&1&&(K(0,"link",0),R(1,U1a,77,49,"article",1),T(2,"async"));a&2&&(C(1),G("ngIf",U(2,1,b.hackyPrefs.prefs$)))},dependencies:[uV,
Su,Tu,yy,jz,$K,ZK,Av,Af,tv,uv,zv,xv,dX,eX,XA,LV,NV,FW,GW,EW,IW,KW,PPc,MW,NW,cX,PW,QW,fU,RW,HW,DW,Zu],styles:['[_nghost-%COMP%]{display:block}.grid[_ngcontent-%COMP%]{display:grid;-webkit-column-gap:24px;-moz-column-gap:24px;column-gap:24px;grid-template:-webkit-min-content 1fr/1fr 1fr;grid-template:min-content 1fr/1fr 1fr;grid-template-areas:"a a" "w t"}.grid[_ngcontent-%COMP%] > section[_ngcontent-%COMP%]{min-width:0}button.mat-icon-button.active[_ngcontent-%COMP%], button.mat-icon-button.active[_ngcontent-%COMP%]:not(.mat-primary):not([disabled]){color:#1a73e8;color:var(--primary)}.grid-header[_ngcontent-%COMP%]{position:absolute;top:0;right:0;width:100%;-moz-box-sizing:border-box;box-sizing:border-box;z-index:1}.settings[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]{margin-bottom:8px}.settings[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{display:inline-block;min-width:16rem}.settings[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]   input[_ngcontent-%COMP%], .settings[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{vertical-align:middle;margin-right:4px;width:300px}.a[_ngcontent-%COMP%]{grid-area:a}.w[_ngcontent-%COMP%]{grid-area:w}.t[_ngcontent-%COMP%]{grid-area:t}.layout-a[_ngcontent-%COMP%]{grid-template-areas:"a a" "w t"}.layout-b[_ngcontent-%COMP%]{grid-template-areas:"w a" "w t"}.layout-c[_ngcontent-%COMP%]{grid-template-areas:"a a" "t t" "w w"}@media (max-width:1400px){.grid[_ngcontent-%COMP%], .layout-a[_ngcontent-%COMP%], .layout-b[_ngcontent-%COMP%]{grid-template-areas:"a a" "w w" "t t"}.layout-c[_ngcontent-%COMP%]{grid-template-areas:"a a" "t t" "w w"}}mat-button-toggle-group[_ngcontent-%COMP%]{box-shadow:none}mat-button-toggle-group[_ngcontent-%COMP%]   .mat-button-toggle-checked[_ngcontent-%COMP%]{background-color:#d2e3fc;background-color:var(--selected-bg)}[_nghost-%COMP%]     .mat-button-toggle-label-content{padding:0}.rotate-icon[_ngcontent-%COMP%]{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.plain-announcement-btn[_ngcontent-%COMP%]{top:1px}.announcement-banner[_ngcontent-%COMP%]{background-color:#e8f0fe;background-color:var(--primary-c50);position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);top:2px;padding:4px;padding-left:8px}[mat-button].xs[_ngcontent-%COMP%]{height:16px;line-height:16px;padding:0 2px;font-weight:400;font-size:.6875rem;font-family:Roboto,Arial,sans-serif}[_nghost-%COMP%]     .carded{box-shadow:0 1px 2px 0 hsla(0,0%,50%,.3),0 2px 6px 2px hsla(0,0%,50%,.15);border:none}.dark-mode   [_nghost-%COMP%]     .carded{box-shadow:0 2px 3px 0 rgba(0,0,0,.3),0 6px 10px 4px rgba(0,0,0,.15)}[_nghost-%COMP%]     .carded .carded{border:1px solid;border-color:#dadce0;border-color:var(--divider);box-shadow:none}.hidden-settings[_ngcontent-%COMP%]{display:none}.show-hidden-settings[_ngcontent-%COMP%]   .hidden-settings[_ngcontent-%COMP%]{display:revert}[_nghost-%COMP%]     h2{font-weight:500}[_nghost-%COMP%]     .tp-needs-attention .bv2-view{position:relative;top:auto}[_nghost-%COMP%]     .tp-needs-attention .tp-content{padding:0}[_nghost-%COMP%]     .tp-needs-attention .tp-toolbar{display:none}[_nghost-%COMP%]     .tp-needs-attention .tp-table-title{padding-left:0}[_nghost-%COMP%]     .tp-needs-attention .tp-scrolling-pane{background:transparent}.needs-input-badge[_ngcontent-%COMP%]{background:#d93025;border-radius:50%;color:#fff;font-family:Roboto,Helvetica Neue,sans-serif;font-size:.625rem;font-weight:600;height:20px;line-height:20px;margin-left:-4px;overflow:hidden;text-align:center;width:20px}[_nghost-%COMP%]     .cdk-drop-list-dragging:not(table[cdkdroplistsortingdisabled]), [_nghost-%COMP%]     .cdk-drop-list-receiving:not(table[cdkdroplistsortingdisabled]){box-shadow:0 1px 3px 0 rgba(0,0,0,.3),0 4px 8px 3px rgba(0,0,0,.15);border:2px dashed;border-color:#1a73e8;border-color:var(--primary)}.settings[_ngcontent-%COMP%]{overflow:hidden;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;max-height:100%;-webkit-transition:max-height .4s ease-in-out;transition:max-height .4s ease-in-out}.settings.collapsed[_ngcontent-%COMP%]{max-height:0;border-bottom-color:transparent}article.bg-off-main[_ngcontent-%COMP%]{-webkit-transition:background-color .2s ease-out;transition:background-color .2s ease-out}article.settings-open.bg-off-main[_ngcontent-%COMP%]{background-color:#e8eaed;background-color:var(--c200)}[_nghost-%COMP%]     my-projects-as-cards .edit-controls{overflow:hidden;max-width:0;-webkit-transition:max-width .2s ease-out;transition:max-width .2s ease-out;-webkit-transition-delay:.2s;transition-delay:.2s}[_nghost-%COMP%]     .settings-open my-projects-as-cards button.remove{display:inline-block}[_nghost-%COMP%]     .settings-open my-projects-as-cards .edit-controls{max-width:100%}[_nghost-%COMP%]     .needs-input-badge{background-color:#5f6368;background-color:var(--icon);color:#fff;color:var(--text-inverse)}\n/*# sourceMappingURL=homepage_wrapper.css.map */']});
var DQc={"BUTTON[projectAdd]":"project-add-btn","HOTLIST-AS-PROJECT-CARD":"project-hotlist","ISSUE-AS-PROJECT-CARD":"project-issue","SAVED-SEARCH-AS-PROJECT-CARD":"project-savedsearch","MY-WORK-CARD":"project-mywork","TP-TASK-SECTION[reccTasks]":"tasks-recommended","TP-TASK-SECTION[needsInput]":"tasks-needs-input"};var gX=function(){};gX.\u0275fac=function(a){return new (a||gX)};gX.\u0275mod=Bc({type:gX});gX.\u0275inj=oc({imports:[gv,Sx,Sx]});var hX=function(){};hX.\u0275fac=function(a){return new (a||hX)};hX.\u0275mod=Bc({type:hX});hX.\u0275inj=oc({imports:[MF,Qv,WB,YA,mU,zC,gX,Rx,iw,rN,dx,HJ,MO]});var iX=function(){};iX.\u0275fac=function(a){return new (a||iX)};iX.\u0275mod=Bc({type:iX});iX.\u0275inj=oc({imports:[MF,YA,uN,cN,pN]});var jX=function(){this.roundCorners=this.showDividers=!1};jX.\u0275fac=function(a){return new (a||jX)};
jX.\u0275cmp=zc({type:jX,selectors:[["b-button-group"]],hostVars:4,hostBindings:function(a,b){a&2&&Ie("show-dividers",b.showDividers)("round-corners",b.roundCorners)},inputs:{showDividers:"showDividers",roundCorners:"roundCorners"},ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(Ne(),Oe(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}\n/*# sourceMappingURL=button-group.css.map */"],changeDetection:0});var kX=function(a,b){this.constants=a;this.activeSession=b;this.STATUS_FULL_TEXT=fF;this.ISSUE_TYPES_PROTO=Hpc;this.STATUSES_PROTO=Gpc;this.SEVERITIES_VALUES=Mpc;this.PRIORITES_VALUES=Jpc;this.enableBulkEstimatedEffortOption=!1;this.onBulkEdit=new tu;this.onQuickBulkEdit=new tu;this.onBulkEditIssueRelation=new tu;this.onBulkMarkIssueRead=new tu;this.isAnonymous=this.activeSession.isAnonymous();this.enableBulkEditUi=iE(this.activeSession,"enableBulkEditUi")};kX.prototype.bulkEdit=function(a){this.onBulkEdit.emit(a)};
kX.prototype.quickBulkEdit=function(a,b){this.onQuickBulkEdit.emit({field:a,newValue:b})};kX.prototype.bulkEditIssueRelation=function(a,b){this.onBulkEditIssueRelation.emit({issueRelation:a,isMarking:void 0===b?!0:b})};kX.prototype.bulkMarkIssueRead=function(){this.onBulkMarkIssueRead.emit()};kX.\u0275fac=function(a){return new (a||kX)(D($I),D(rp))};
kX.\u0275cmp=zc({type:kX,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"),R(1,V1a,4,2,"button",0),H(2,"button",1),O("click",function(){return b.bulkMarkIssueRead()}),S(3),J(),R(4,W1a,4,2,"button",0),R(5,X1a,4,2,"button",0),J(),H(6,"mat-menu",null,2)(8,"button",3),O("click",function(){return b.bulkEdit("ASSIGNEE")}),S(9,"Assignee"),J(),H(10,"button",3),O("click",function(){return b.bulkEdit("COMPONENT")}),
S(11,"Component"),J(),H(12,"button",4),S(13,"Priority"),J(),H(14,"button",4),S(15,"Severity"),J(),H(16,"button",4),S(17,"Status"),J(),H(18,"button",4),S(19,"Type"),J(),H(20,"button",3),O("click",function(){return b.bulkEdit("VERIFIER")}),S(21,"Verifier"),J(),H(22,"button",3),O("click",function(){return b.bulkEdit("REPORTER")}),S(23,"Reporter"),J(),H(24,"button",3),O("click",function(){return b.bulkEdit("CHANGELIST")}),S(25,"Changelist"),J(),H(26,"button",3),O("click",function(){return b.bulkEdit("CUSTOM_FIELDS")}),
S(27,"Custom Fields"),J(),H(28,"button",4),S(29," Archival state "),J(),H(30,"button",3),O("click",function(){return b.bulkEdit("FOUND_IN")}),S(31,"Found In"),J(),H(32,"button",3),O("click",function(){return b.bulkEdit("SLO_SNOOZE_UNTIL")}),S(33,"SLO Start Date"),J(),R(34,Y1a,2,0,"button",5),H(35,"button",3),O("click",function(){return b.bulkEdit("VERIFIED_IN")}),S(36,"Verified In"),J(),H(37,"button",3),O("click",function(){return b.bulkEdit("TARGETED_TO")}),S(38,"Targeted To"),J(),H(39,"button",
4),S(40,"In Prod"),J(),K(41,"mat-divider"),H(42,"button",3),O("click",function(){return b.bulkEdit("COMMENT")}),S(43,"Add Comment"),J()(),H(44,"mat-menu",null,6),R(46,Z1a,2,1,"button",7),J(),H(47,"mat-menu",null,8),R(49,$1a,2,1,"button",7),J(),H(50,"mat-menu",null,9),R(52,a2a,2,1,"button",7),J(),H(53,"mat-menu",null,10),R(55,b2a,2,2,"button",11),J(),H(56,"mat-menu",null,12)(58,"button",3),O("click",function(){return b.quickBulkEdit("IS_ARCHIVED",!0)}),S(59,"Archive"),J(),H(60,"button",3),O("click",
function(){return b.quickBulkEdit("IS_ARCHIVED",!1)}),S(61,"Unarchive"),J()(),H(62,"mat-menu",null,13)(64,"button",3),O("click",function(){return b.quickBulkEdit("IN_PROD",!0)}),S(65,"In Prod"),J(),H(66,"button",3),O("click",function(){return b.quickBulkEdit("IN_PROD",!1)}),S(67,"Not in Prod"),J()(),H(68,"mat-menu",null,14)(70,"button",3),O("click",function(){return b.bulkEditIssueRelation("BLOCKED_BY",!0)}),S(71,"Mark as Blocked By"),J(),H(72,"button",3),O("click",function(){return b.bulkEditIssueRelation("BLOCKING",
!0)}),S(73,"Mark as Blocking"),J(),H(74,"button",3),O("click",function(){return b.bulkEditIssueRelation("PARENT",!0)}),S(75,"Add Parent"),J(),H(76,"button",3),O("click",function(){return b.bulkEditIssueRelation("DUPLICATE")}),S(77,"Duplicate"),J(),H(78,"button",3),O("click",function(){return b.bulkEditIssueRelation("BLOCKED_BY",!1)}),S(79,"Unmark as Blocked By"),J(),H(80,"button",3),O("click",function(){return b.bulkEditIssueRelation("BLOCKING",!1)}),S(81,"Unmark as Blocking"),J(),H(82,"button",3),
O("click",function(){return b.bulkEditIssueRelation("PARENT",!1)}),S(83,"Remove Parent"),J()(),H(84,"mat-menu",null,15)(86,"button",3),O("click",function(){return b.quickBulkEdit("CC",!0)}),S(87,"CC me"),J(),H(88,"button",3),O("click",function(){return b.quickBulkEdit("CC",!1)}),S(89,"Un-CC me"),J(),H(90,"button",3),O("click",function(){return b.bulkEdit("CC")}),S(91,"Edit CC"),J()());if(a&2){var c=Se(45),d=Se(48),e=Se(51),g=Se(54),h=Se(57),l=Se(63);C(1);G("ngIf",b.enableBulkEditUi);C(1);G("disabled",
b.isAnonymous);C(1);Te(" ",b.readStatePrompt," ");C(1);G("ngIf",b.enableBulkEditUi);C(1);G("ngIf",b.enableBulkEditUi);C(7);G("matMenuTriggerFor",c);C(2);G("matMenuTriggerFor",d);C(2);G("matMenuTriggerFor",e);C(2);G("matMenuTriggerFor",g);C(10);G("matMenuTriggerFor",h);C(6);G("ngIf",b.enableBulkEstimatedEffortOption);C(5);G("matMenuTriggerFor",l);C(7);G("ngForOf",b.PRIORITES_VALUES);C(3);G("ngForOf",b.SEVERITIES_VALUES);C(3);G("ngForOf",b.STATUSES_PROTO);C(3);G("ngForOf",b.ISSUE_TYPES_PROTO)}},dependencies:[PA,
NA,OA,Su,Tu,yy,$M,jX,TL,XA],encapsulation:2,changeDetection:0});var lX=function(a){this.activeSession=a;this.showFlagIssuesAsSpam=this.showExportCsv=!1;this.exportCsvClicked=new tu;this.flagAsSpamClicked=new tu;this.isAnonymous=this.activeSession.isAnonymous()};lX.\u0275fac=function(a){return new (a||lX)(D(rp))};
lX.\u0275cmp=zc({type:lX,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&&
R(0,e2a,9,4,"ng-container",0);a&2&&G("ngIf",b.showExportCsv||b.showFlagIssuesAsSpam)},dependencies:[PA,NA,OA,Tu,yy,$M],encapsulation:2,changeDetection:0});var mX=function(){};mX.\u0275fac=function(a){return new (a||mX)};mX.\u0275mod=Bc({type:mX});mX.\u0275inj=oc({imports:[MF]});var nX=function(){};nX.\u0275fac=function(a){return new (a||nX)};nX.\u0275mod=Bc({type:nX});nX.\u0275inj=oc({imports:[QA,MF,vN,mX,WB,mU,zC]});var oX=function(a,b,c){var d=this;this.activeSession=a;this.connectionChecker=b;this.ssoInterceptorState=c;this.notifyUserAndWaitForGoodConnection$=new F.Observable(function(e){d.ssoInterceptorState.showRefreshSso$.next(!0);var g=d.watchForRestoredConnection$.subscribe(e),h=new F.ReplaySubject(1);d.watchForRestoredConnection$.pipe(qe(h)).subscribe(function(){d.ssoInterceptorState.showRefreshSso$.next(!1)});return function(){h.next();g.unsubscribe()}});this.watchForRestoredConnection$=(0,F.fromEvent)(window,
"focus").pipe(pe(function(){return d.connectionChecker.ok$}),Zd(function(e){return e}),ge(),E(function(){}),wka())};oX.prototype.intercept=function(a,b){return iE(this.activeSession,"enableRefreshSsoPopup")&&a.url&&a.url.startsWith("action/")?EQc(this,b,a):b.handle(a)};
var EQc=function(a,b,c){return new F.Observable(function(d){var e=b.handle(c).subscribe({next:function(h){d.next(h)},complete:function(){d.complete()},error:function(h){FQc(a,b,c,h).pipe(qe(g)).subscribe(d)}}),g=new F.ReplaySubject(1);return function(){g.next();e.unsubscribe()}})},FQc=function(a,b,c,d){return 403===d.status||404===d.status||429===d.status?(0,F.throwError)(d):a.connectionChecker.ok$.pipe(pe(function(e){return e?(0,F.throwError)(d):a.notifyUserAndWaitForGoodConnection$.pipe(pe(function(){return b.handle(c)}))}))};
oX.\u0275fac=function(a){return new (a||oX)(w(rp),w(pX),w(qX))};oX.\u0275prov=nc({token:oX,factory:oX.\u0275fac,providedIn:"root"});var qX=function(){this.showRefreshSso$=new F.BehaviorSubject(!1)};qX.\u0275fac=function(a){return new (a||qX)};qX.\u0275prov=nc({token:qX,factory:qX.\u0275fac,providedIn:"root"});
var pX=function(a){var b=this;this.ngZone=a;this.ok$=new F.Observable(function(c){var d=qra("action/yes",function(){b.ngZone.run(function(){d.isSuccess()?c.next("yes"===d.getResponseText()):c.next(!1);c.complete()})});return function(){d.dispose()}})};pX.\u0275fac=function(a){return new (a||pX)(w(te))};pX.\u0275prov=nc({token:pX,factory:pX.\u0275fac,providedIn:"root"});var GQc={provide:YZb,useClass:oX,multi:!0};var HQc=function(a,b){return[a,b]},IQc=[[["b-callout-body"]],[["b-callout-actions"]]],rX=function(){this.messageType="info";this.format="default"};rX.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"}};rX.\u0275fac=function(a){return new (a||rX)};
rX.\u0275cmp=zc({type:rX,selectors:[["b-callout"]],hostVars:5,hostBindings:function(a,b){a&2&&Ila($e(2,HQc,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&&(Ne(IQc),H(0,"div",0),K(1,"mat-icon",1),H(2,"div",2),Oe(3),J(),H(4,"div",3),Oe(5,1),J()());a&2&&(C(1),
G("svgIcon",b.getIconName()))},dependencies:[jz],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)}\n/*# sourceMappingURL=callout.css.map */"]});
var sX=function(){};sX.\u0275fac=function(a){return new (a||sX)};sX.\u0275dir=Cc({type:sX,selectors:[["b-callout-body"],["b-callout-actions"]]});var JQc=function(a,b){this.activeSession=a;this.isAnonymous=this.activeSession.isAnonymous();this.showRefreshSsoMessage$=b.showRefreshSso$};JQc.\u0275fac=function(a){return new (a||JQc)(D(rp),D(qX))};
JQc.\u0275cmp=zc({type:JQc,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&&(R(0,l2a,7,4,"b-callout",0),T(1,"async"));a&2&&G("ngIf",U(1,1,b.showRefreshSsoMessage$))},dependencies:[Tu,yy,rX,sX,Zu],encapsulation:2,changeDetection:0});var KQc=function(a,b,c){var d=this;this.session=a;this.principalTypes=b;this.cdr=c;this.showHiringBanner=!1;iE(this.session,"weAreHiring")&&kJ(this.principalTypes,this.session.getUserEmail(),!0).then(function(e){d.showHiringBanner="UNRESTRICTED_GOOGLER"===e.detailedUserType;d.cdr.detectChanges()}).catch(function(){})};KQc.\u0275fac=function(a){return new (a||KQc)(D(rp),D(jJ),D(wH,2))};
KQc.\u0275cmp=zc({type:KQc,selectors:[["b-hiring-banner"]],features:[Xe([wH])],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&&R(0,m2a,2,0,"a",0);a&2&&G("ngIf",b.showHiringBanner)},dependencies:[Tu],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 tX=function(){};tX.\u0275fac=function(a){return new (a||tX)};tX.\u0275mod=Bc({type:tX});tX.\u0275inj=oc({imports:[MF]});var uX=function(a){this.hotkeys=a};uX.prototype.ngOnInit=function(){this.hotkeys.pause()};uX.prototype.ngOnDestroy=function(){this.hotkeys.unpause()};uX.\u0275fac=function(a){return new (a||uX)(D(bM))};
uX.\u0275cmp=zc({type:uX,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),S(1,"Keyboard shortcuts"),J(),H(2,"mat-dialog-content")(3,"table"),R(4,o2a,6,2,"thead",1),J()(),H(5,"mat-dialog-actions")(6,"button",2),S(7,"Close"),J()());
a&2&&(C(4),G("ngForOf",$uc(b.hotkeys)))},dependencies:[Su,yy,My,Ny,Oy,Py],encapsulation:2});var vX=function(){};vX.\u0275fac=function(a){return new (a||vX)};vX.\u0275mod=Bc({type:vX});vX.\u0275inj=oc({imports:[MF,WB,Qy]});var p2a=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.hotlists=
[];this.lastModifier=this.ccCount=this.collaboratorCount=this.duplicateCount=this.voteCount=null;this.isClosed=this.isRead=this.selected=!1;this.sloEndTime=this.sloSnoozeUntil=this.sloStatus=this.position=this.effort=null;this.signals=[]};var wX=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 F.BehaviorSubject(this)},LQc=function(a,b){var c=b.positionMap||{},d=b.issues.map(function(e){var g=r2a(e,b.componentMap[na(e.snapshot).componentId||0]);c&&c[e.issueId]&&(g.position=c[e.issueId]);return g});return new wX(d,a,b.numTotalResults)},MQc=function(a,b){var c=b.issuesWithSignals.map(function(d){var e,g=r2a(d.issue,null!=(e=b.components[na(d.issue.snapshot).componentId||0])?e:null);g.signals=d.signals;return g});return new wX(c,
a,b.numTotalResults)};wX.prototype.hasPreviousPage=function(){return 1<this.params.page};wX.prototype.hasNextPage=function(){return this.params.page<this.numPages};var xX=function(a,b){var c=a.issues.findIndex(function(d){return d.issueId===b});return-1!==c?c+a.startIndex:-1};wX.prototype.getIssueIdFromIndex=function(a){if(a>=this.startIndex&&a<=this.endIndex&&(a-=this.startIndex,a<this.issues.length))return this.issues[a].issueId};
var NQc=function(a,b){b=k(b);for(var c=b.next();!c.done;c=b.next()){var d=c.value;c=d.issue;d=d.component;var e=xX(a,c.issueId);-1!==e&&(e-=a.startIndex,q2a(a.issues[e],c,d),a.issues[e].selected=!1)}a.changed$.next(a)},OQc=function(a,b,c,d){b=xX(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)};wX.prototype.clone=function(){var a=new wX(this.internalIssues,this.params,this.numTotalResults);a.changed$.next(a);return a};wX.prototype.getTotalText=function(a,b,c,d){return a<=b*c?a.toString():d?"many":a.toString()};gg.Object.defineProperties(wX.prototype,{issues:{configurable:!0,enumerable:!0,get:function(){return this.internalIssues},set:function(a){this.internalIssues=a;this.changed$.next(this)}}});var PQc=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};
PQc.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?MQc(a.params,e):LQc(a.params,e));return a.searchResultsPage},function(e){return Promise.reject(e)})};
var QQc=function(a){return a.searchResultsPage?a.searchResultsPage.hasNextPage():!0};var yX=function(a,b,c,d,e){this.$window=a;this.issueApi=b;this.hotlistApi=c;this.needsAttentionApi=d;this.paths=e;this.previousResultsFetcher_=this.nextResultsFetcher_=this.currentResultsFetcher_=null;this.focusedIssueIndex_=-1},TQc=function(a,b){var c=zk();RQc(b.page)?(SQc(a,b),a.currentResultsFetcher_.fetchIssues().then(function(d){d.getIssueIdFromIndex&&(d.numPages&&b.page>d.numPages?c.reject(d.numPages):c.resolve(d))},function(d){c.reject(d)})):c.reject(1);return c.promise},VQc=function(a){var b=
zk(),c=null;a.currentResultsFetcher_?c=a.currentResultsFetcher_.params:c=UQc(a);c?(SQc(a,c),a.currentResultsFetcher_.fetchIssues().then(function(d){d.getIssueIdFromIndex?b.resolve(d):b.reject(d)},function(d){b.reject(d)})):b.reject("No related search results available.");return b.promise},zX=function(a){a.currentResultsFetcher_=null;a.nextResultsFetcher_=null;a.previousResultsFetcher_=null;a.focusedIssueIndex_=-1},WQc=function(a,b){var c=zk();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=Gg(a.currentResultsFetcher_.params);e.page=d;SQc(a,e);a.currentResultsFetcher_.fetchIssues().then(function(g){g.getIssueIdFromIndex&&((g=g.getIssueIdFromIndex(b))?(a.focusedIssueIndex_=b,c.resolve(g)):c.reject("No issue available at index "+b))},function(g){c.reject(g)});return c.promise},XQc=function(a){a.currentResultsFetcher_?
a.currentResultsFetcher_.fetchIssues().then(function(b){b.getIssueIdFromIndex&&(a.focusedIssueIndex_=b.endIndex>=b.startIndex?b.startIndex:-1)}).catch(function(b){rg("unexpected error fetching:",b)}):a.focusedIssueIndex_=-1},UQc=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 oj(new kj(b.fieldId),b.direction)}));return a}return null},
YQc=function(a,b,c){b=Gg(b);b.page=c;return new PQc(a.issueApi,a.hotlistApi,a.needsAttentionApi,a.paths,b)},ZQc=function(a,b){a.currentResultsFetcher_||(a.currentResultsFetcher_=YQc(a,b,b.page),a.currentResultsFetcher_.fetchIssues().catch(function(c){rg("unexpected error fetching:",c)}));!a.previousResultsFetcher_&&1<b.page&&(a.previousResultsFetcher_=YQc(a,b,b.page-1),a.previousResultsFetcher_.fetchIssues().catch(function(c){rg("unexpected error fetching:",c)}));!a.nextResultsFetcher_&&QQc(a.currentResultsFetcher_)&&
(a.nextResultsFetcher_=YQc(a,b,b.page+1),a.nextResultsFetcher_.fetchIssues().catch(function(c){rg("unexpected error fetching:",c)}))},SQc=function(a,b){b.page=Ig(b.page);if(!b.resultsPerPage||isNaN(b.resultsPerPage))throw Error("Sd");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&&Fg(b.sortColumns,c.sortColumns)&&b.resultsPerPage===c.resultsPerPage&&Fg(b.trackerIds,c.trackerIds)?a.currentResultsFetcher_.params.returnUrl=b.returnUrl:zX(a)}ZQc(a,b);b=JSON.stringify(a.currentResultsFetcher_.params);a.$window.sessionStorage.setItem("buganizer.searchParams",
b)},RQc=function(a){var b=Ig(""+a);return isNaN(b)||b!=Number(a)||1>b||2147483647<b?!1:!0};yX.\u0275fac=function(a){return new (a||yX)(w(jE),w(FE),w(ZG),w(TV),w(OG))};yX.\u0275prov=nc({token:yX,factory:yX.\u0275fac,providedIn:"root"});var AX=function(a,b,c,d){kE.call(this);var e=this;this.paramsService=a;this.issueFetchResponseFridge=b;this.pageTitle=c;this.issuePermissionService=d;this.handlers$=this.paramsService.routeParams$.pipe(fe(Fg),pe(function(g){return e.onRouteParamsChanged(g)}));this.init=function(){e.subscriptions.add(e.handlers$.subscribe(function(){}))};this.initOnce=FBa(this.init)};V(AX,kE);AX.\u0275dir=kE.\u0275dir;AX.prototype.onRouteParamsChanged=function(a){return a.issueId?$Qc(this,a.issueId):(0,F.of)()};
var $Qc=function(a,b){return(0,F.combineLatest)([MH(a.issueFetchResponseFridge,b),a.issuePermissionService.accessLevel$]).pipe(oe([]),E(function(c){c=k(c);var d=c.next().value;c=c.next().value;var e;if(d=null==(e=null==d?void 0:d.issue)?void 0:e.snapshot[0].title){e=d+" ["+b+"]";if(c){a:switch(c){case "EXTERNAL_PARTNER":c="Visible to Partners";break a;case "EXTERNAL_PUBLIC":c="Visible to Public";break a;default:c=""}c&&(e=e+" - "+c)}a.pageTitle.setTitle(e)}else a.pageTitle.setTitle("View issue")}))};
AX.\u0275fac=function(a){return new (a||AX)(w(pJ),w(LH),w(SW),w(zJ))};AX.\u0275prov=nc({token:AX,factory:AX.\u0275fac,providedIn:"root"});var dRc=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(aRc(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(),
bRc(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);aRc(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();bRc(this);cRc(this)};dRc.prototype.start=function(){this.parentElement.appendChild(this.element);requestAnimationFrame(this.animate)};
dRc.prototype.stop=function(){this.state=2;bRc(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 cRc=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)}};
dRc.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 bRc=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"},aRc=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};dRc.prototype.transform=function(){this.element.style.transform="translate("+this.x+"px,"+this.y+"px) rotate("+(this.direction+90)%360+"deg) scaleX("+this.flip};var eRc=function(a){this.element=a;this.bugs=[]};eRc.prototype.start=function(){for(var a=this,b=0;3>b;b++)fRc(this);this.intervalSubscription=(0,F.interval)(1E4).subscribe(function(){fRc(a);10<=a.bugs.length&&a.intervalSubscription&&a.intervalSubscription.unsubscribe()})};eRc.prototype.stop=function(){this.intervalSubscription&&this.intervalSubscription.unsubscribe();for(var a=k(this.bugs),b=a.next();!b.done;b=a.next())b.value.stop();this.bugs=[]};
var fRc=function(a){var b=new dRc(a.element);b.start();a.bugs.push(b)};var BX=function(a,b,c,d){var e=this;this.ngZone=a;this.userPreferencesManager=b;this.snackBar=c;this.destroyed$=new F.ReplaySubject(1);this.active$=new F.BehaviorSubject(!0);this.lastTimeoutResetTimestamp=Number.NEGATIVE_INFINITY;this.bugAnimation=new eRc(d.nativeElement);this.active$.pipe(qe(this.destroyed$),fe()).subscribe(function(g){g?gRc(e):hRc(e)})};BX.prototype.ngOnInit=function(){"visible"===document.visibilityState&&iRc(this)};BX.prototype.ngOnDestroy=function(){this.destroyed$.next()};
var iRc=function(a){a.timeoutId=setTimeout(function(){a.active$.next(!1)},18E4)};BX.prototype.onUserEvent=function(){var a=Date.now();a<this.lastTimeoutResetTimestamp+1E4||(this.lastTimeoutResetTimestamp=a,this.active$.next(!0),clearTimeout(this.timeoutId),iRc(this))};BX.prototype.onVisibilityChange=function(){this.onUserEvent();switch(document.visibilityState){case "hidden":clearTimeout(this.timeoutId),this.lastTimeoutResetTimestamp=Number.NEGATIVE_INFINITY}};
var hRc=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()})},gRc=function(a){a.ngZone.runOutsideAngular(function(){a.bugAnimation.stop()})};
BX.\u0275fac=function(a){return new (a||BX)(D(te),D(TI),D(TF),D(fd))};
BX.\u0275cmp=zc({type:BX,selectors:[["bug-screensaver"]],hostBindings:function(a,b){a&1&&O("click",function(){return b.onUserEvent()},!1,jd)("keydown",function(){return b.onUserEvent()},!1,jd)("mousemove",function(){return b.onUserEvent()},!1,jd)("wheel",function(){return b.onUserEvent()},!1,jd)("touchstart",function(){return b.onUserEvent()},!1,jd)("focus",function(){return b.onUserEvent()},!1,jd)("visibilitychange",function(){return b.onVisibilityChange()},!1,Pga)},decls:0,vars:0,template:function(){},
encapsulation:2});var jRc=function(a,b){var c=b.isInternalSession();this.isEnabled$=a.bugScreensaverSubject$.pipe(E(function(d){return(d.enableBugScreensaver||!1)&&c}))};jRc.\u0275fac=function(a){return new (a||jRc)(D(TI),D(rp))};jRc.\u0275cmp=zc({type:jRc,selectors:[["bug-screensaver-manager"]],decls:2,vars:3,consts:[[4,"ngIf"]],template:function(a,b){a&1&&(R(0,s2a,1,0,"bug-screensaver",0),T(1,"async"));a&2&&G("ngIf",U(1,1,b.isEnabled$))},dependencies:[Tu,BX,Zu],encapsulation:2});var CX=function(){};CX.\u0275fac=function(a){return new (a||CX)};CX.\u0275mod=Bc({type:CX});CX.\u0275inj=oc({imports:[MF,YA]});var DX=function(){};DX.\u0275fac=function(a){return new (a||DX)};DX.\u0275mod=Bc({type:DX});DX.\u0275inj=oc({imports:[MF,SF,HT,CX]});var kRc=function(a){this.currentTracker=a;this.trackerName$=this.currentTracker.tracker$.pipe(E(function(b){var c;return null!=(c=null==b?void 0:b.name)?c:""}));this.trackerLogo$=this.currentTracker.tracker$.pipe(E(function(b){var c,d;return null!=(d=null==b?void 0:null==(c=b.branding)?void 0:c.logoUrl)?d:""}))};kRc.\u0275fac=function(a){return new (a||kRc)(D(LK))};
kRc.\u0275cmp=zc({type:kRc,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"]],template:function(a,b){a&1&&(R(0,t2a,15,6,"footer",0),T(1,"async"));a&2&&G("ngIf",U(1,1,b.currentTracker.inTracker$))},dependencies:[Tu,Zu],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 EX=function(){};EX.\u0275fac=function(a){return new (a||EX)};EX.\u0275mod=Bc({type:EX});EX.\u0275inj=oc({imports:[MF]});var lRc=function(){};lRc.\u0275fac=function(a){return new (a||lRc)};lRc.\u0275cmp=zc({type:lRc,selectors:[["b-ng2-router-outlet"]],decls:1,vars:0,template:function(a){a&1&&K(0,"router-outlet")},dependencies:[xG],encapsulation:2});var mRc=function(){};mRc.\u0275fac=function(a){return new (a||mRc)};mRc.\u0275cmp=zc({type:mRc,selectors:[["b-router-outlet"]],decls:1,vars:0,template:function(a){a&1&&K(0,"b-ng2-router-outlet")},dependencies:[lRc],encapsulation:2});var FX=function(){};FX.\u0275fac=function(a){return new (a||FX)};FX.\u0275mod=Bc({type:FX});FX.\u0275inj=oc({imports:[MF,MG]});var GX=function(a,b,c){kE.call(this);var d=this;this.paramsService=b;this.issueFetchResponseFridge=c;this.componentIdOverride$=new F.BehaviorSubject(null);this.hotlistIdOverride$=new F.BehaviorSubject(null);this.routeIssueId$=this.paramsService.issueId$;this.routeComponentId$=pqc(this.paramsService,"componentId").pipe(fe());this.routeHotlistId$=pqc(this.paramsService,"hotlistId").pipe(fe());this.issueId$=this.routeIssueId$.pipe(E(v2a),ne({refCount:!0,bufferSize:1}));this.componentIdFromIssueId$=this.issueId$.pipe(pe(function(e){return e?
MH(d.issueFetchResponseFridge,e):(0,F.of)(void 0)}),E(function(e){var g;return null==e?void 0:null==(g=e.issue)?void 0:g.snapshot[0].componentId}));this.componentId$=(0,F.combineLatest)([this.componentIdOverride$,this.routeComponentId$,this.componentIdFromIssueId$]).pipe(E(function(e){var g=k(e);e=g.next().value;var h=g.next().value;g=g.next().value;return e||h||g}),E(u2a),fe(),ne({refCount:!0,bufferSize:1}));this.hotlistId$=(0,F.combineLatest)([this.hotlistIdOverride$,this.routeHotlistId$]).pipe(E(function(e){var g=
k(e);e=g.next().value;g=g.next().value;return e||g}),E(u2a),fe(),ne({refCount:!0,bufferSize:1}));this.subscriptions.add(a.routeChangeSuccess.subscribe(function(){d.componentIdOverride$.next(null);d.hotlistIdOverride$.next(null)}));this.subscriptions.add(this.componentId$.subscribe(function(e){kl("dimension4",e)}))};V(GX,kE);GX.\u0275dir=kE.\u0275dir;GX.prototype.getComponentId=function(){return this.componentId$};GX.prototype.getIssueId=function(){return this.issueId$};GX.prototype.getHotlistId=function(){return this.hotlistId$};
GX.\u0275fac=function(a){return new (a||GX)(w(zH),w(pJ),w(LH))};GX.\u0275prov=nc({token:GX,factory:GX.\u0275fac,providedIn:"root"});var HX=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(pe(function(g){return g?e.componentFridge.watch(g):(0,F.of)(void 0)}),E(function(g){return g&&!g.archived?g:void 0}));this.visibleOptions$=(0,F.combineLatest)([this.currentTracker.tracker$,this.component$,this.context.getIssueId(),this.context.getHotlistId()]).pipe(ee(0),E(function(g){var h=k(g);
g=h.next().value;var l=h.next().value,q=h.next().value;h=h.next().value;return nRc(e,null!=g?g:void 0,l,q,h)}));this.buttonLabel$=this.visibleOptions$.pipe(E(function(g){return g.length?"Create":"Create Issue"}));this.buttonIcon$=this.currentTracker.tracker$.pipe(E(function(g){var h;return"OPEN_SOURCE"===(null==g?void 0:null==(h=g.branding)?void 0:h.theme)?"create-open-source-36px":"create-color-36px"}))};HX.prototype.ngOnInit=function(){};HX.prototype.trackClick=function(a){jl("create","click",a)};
var nRc=function(a,b,c,d,e){var g=new Map;b=b&&c&&!yk(b.trackerId)&&b.trackerId!==c.trackerId;c=(null==c?0:c.componentId)?String(c.componentId):void 0;if(null!==e){var h={};g.set("in_same_hotlist",a.paths.createIssue((h.hotlistIds=String(e),h)))}b||void 0===c||(e={},g.set("in_same_component",a.paths.createIssue((e.component=c,e))));b||null===d||(e={},g.set("similar_to_current_issue",a.paths.createIssue((e.template_issue=d,e))),e={},g.set("blocked_by_current_issue",a.paths.createIssue((e.blockedByIssueIds=
d,e.component=c,e))),e={},g.set("blocking_current_issue",a.paths.createIssue((e.blockingIssueIds=d,e.component=c,e))),e={},g.set("parent_of_current_issue",a.paths.createIssue((e.childrenIssueIds=d,e.component=c,e))),e={},g.set("child_of_current_issue",a.paths.createIssue((e.parentIssueId=d,e.component=c,e))));return[].concat(Jc(g.entries())).map(function(l){var q=k(l);l=q.next().value;q=q.next().value;return{name:rDa(l),path:q}})};HX.\u0275fac=function(a){return new (a||HX)(D(OG),D(GX),D(LK),D(xF))};
HX.\u0275cmp=zc({type:HX,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&&(R(0,y2a,3,3,"ng-container",0),T(1,"async"));a&2&&G("ngIf",U(1,1,b.visibleOptions$))},dependencies:[Tu,tO,Zu],encapsulation:2,changeDetection:0});var on=function(a){r.call(this,a)};V(on,r);f=on.prototype;f.getHotlistId=function(){return lh(this,ym(this,nn,1))};f.setHotlistId=function(a){mm(this,1,nn,a)};f.getName=function(){return mh(this,2)};f.setName=function(a){return n(this,2,a)};f.hasName=function(){return jj(this,2)};f.getNameOrUndefined=function(){return eq(this,2)};f.getDescription=function(){return mh(this,3)};f.setDescription=function(a){return n(this,3,a)};f.hasDescription=function(){return jj(this,3)};var nn=[1,4];
on.prototype.toObject=function(){return oRc(this)};var oRc=function(a){if(null!=a)return t(a),{hotlistId:p(xm(a,ym(a,nn,1))),savedSearchId:p(xm(a,ym(a,nn,4))),name:p(m(a,2)),description:p(m(a,3))}},pRc=[on,1,gNb,nn,4,gNb,nn,2,Cq,3,Cq];on.prototype.serializeBinary=u(pRc);var IX=function(a){r.call(this,a,0,IX.messageId)};V(IX,r);f=IX.prototype;f.getBookmarkGroupId=function(){return lh(this,1)};f.setBookmarkGroupId=function(a){n(this,1,a)};f.getName=function(){return mh(this,2)};f.setName=function(a){return n(this,2,a)};f.hasName=function(){return jj(this,2)};f.getNameOrUndefined=function(){return eq(this,2)};f.getDescription=function(){return mh(this,3)};f.setDescription=function(a){return n(this,3,a)};f.hasDescription=function(){return jj(this,3)};
f.getArchived=function(){return vi(this,5)};f.setArchived=function(a){xi(this,5,a)};f.getItemList=function(){return yg(this,on,6)};f.setItemList=function(a){Th(this,6,a)};f.addItem=function(a,b){return um(this,6,on,a,b)};f.setItem=function(a,b){return Np(this,6,on,a,b)};f.getItemCount=function(){return TMb(this,on,6)};f.getAdminUsersList=function(){return yg(this,Wg,9)};f.setAdminUsersList=function(a){Th(this,9,a)};IX.repeatedFields_=[6,9];IX.prototype.toObject=function(){return qRc(this)};
var qRc=function(a){if(null!=a)return t(a),{bookmarkGroupId:p(m(a,1)),name:p(m(a,2)),description:p(m(a,3)),archived:p(Db(a,5)),itemList:Mb(a.getItemList(),oRc),adminUsersList:Mb(a.getAdminUsersList(),OC)}},rRc=[IX,1,mq,2,Cq,3,Cq,5,zq,6,Iq,pRc,9,Iq,PC];IX.prototype.serializeBinary=u(rRc);IX.messageId="b.BookmarkGroup";var JX=function(a){r.call(this,a,0,JX.messageId)};V(JX,r);JX.prototype.getBookmarkGroupsList=function(){return yg(this,IX,1)};JX.repeatedFields_=[1];JX.prototype.toObject=function(){if(null!=this){t(this);var a={bookmarkGroupsList:Mb(this.getBookmarkGroupsList(),qRc)}}else a=void 0;return a};JX.prototype.serializeBinary=u([JX,1,Iq,rRc]);JX.messageId="b.BookmarkGroupListResponse";var KX=function(a){this.executor=a};KX.prototype.get=function(a){return this.executor.get({url:"action/bookmark_groups/"+a,responseConstructor:IX}).then(C2a).then(z2a)};KX.prototype.query=function(a){return this.executor.get({url:"action/bookmark_groups",options:{params:{q:a}},responseConstructor:JX}).then(E2a).then(A2a)};KX.prototype.create=function(a){var b=new IX;b.setName(a.name);a.description&&b.setDescription(a.description);return this.executor.post({url:"action/bookmark_groups",body:b,responseConstructor:IX}).then(C2a).then(z2a)};
KX.prototype.update=function(a){var b=new IX;b.setBookmarkGroupId(String(a.bookmarkGroupId));b.setName(a.name);a.description&&b.setDescription(a.description);b.setArchived(a.archived);var c;b.setItemList((null!=(c=a.item)?c:[]).map(D2a));var d;b.setAdminUsersList((null!=(d=a.adminUsers)?d:[]).map(Xg));return this.executor.post({url:"action/bookmark_groups/"+a.bookmarkGroupId,body:b,responseConstructor:IX}).then(C2a).then(z2a)};KX.\u0275fac=function(a){return new (a||KX)(w(CC))};
KX.\u0275prov=nc({token:KX,factory:KX.\u0275fac,providedIn:"root"});var LX=function(a,b){this.router=a;this.location=b},nub=function(a){var b=a.location.url();ip(a.router,"/",{skipLocationChange:!0}).then(function(){return ip(a.router,b,{skipLocationChange:!0})})};LX.\u0275fac=function(a){return new (a||LX)(w(GG),w(NG))};LX.\u0275prov=nc({token:LX,factory:LX.\u0275fac,providedIn:"root"});var MX=function(a,b,c,d,e,g,h,l,q,v){kE.call(this);var y=this;this.reloadService=a;this.activeSession=b;this.userApi=c;this.errorHandler=d;this.bLocation=e;this.paths=g;this.issuePagination=h;this.sidebarItemFactory=l;this.appEvents=q;this.analytics=v;this.sidebarData={hotlists:[],bookmarkGroups:[],archivedHotlists:[],archivedBookmarkGroups:[],userSearches:[]};this.userSavedSearches=[];this.userHotlists=[];sRc(this);tRc(this);this.fetchUserHotlists();a=function(){sRc(y)};this.subscriptions.add(this.appEvents.hotlistCreated.subscribe(a));
this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(a));this.subscriptions.add(this.appEvents.bookmarkGroupModified.subscribe(a));this.subscriptions.add(this.appEvents.savedSearchModified.subscribe(a));this.subscriptions.add(this.appEvents.savedSearchModified.subscribe(function(){tRc(y)}));a=function(){y.fetchUserHotlists()};this.subscriptions.add(this.appEvents.hotlistCreated.subscribe(a));this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(a))};V(MX,kE);MX.\u0275dir=kE.\u0275dir;
var sRc=function(a){a.userApi.getUserSidebar().then(function(b){a.sidebarData.hotlists=uRc(a,b.hotlists);a.sidebarData.bookmarkGroups=vRc(a,b.bookmarkGroups);a.sidebarData.archivedHotlists=uRc(a,b.archivedHotlists);a.sidebarData.archivedBookmarkGroups=vRc(a,b.archivedBookmarkGroups);a.appEvents.sidebarUpdated.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})},tRc=function(a){a.userApi.getUserSavedSearches().then(function(b){b=wRc(a,b);a.sidebarData.userSearches=b;Baa(a.userSavedSearches);
Eaa(a.userSavedSearches,b);a.appEvents.sidebarUpdated.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};MX.prototype.fetchUserHotlists=function(){var a=this;this.userApi.getUserHotlists().then(function(b){xRc(a,b);a.appEvents.sidebarUpdated.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
var uRc=function(a,b){return(b||[]).map(function(c){return yRc(a.sidebarItemFactory,c)}).sort(function(c,d){return c.name.localeCompare(d.name)})},vRc=function(a,b){return(b||[]).map(function(c){var d=a.sidebarItemFactory;return new zRc(c,d.activeSession,d.analytics,d.userApi,d.bookmarkGroupsApi,d.butterBar,d.paths,d.userPreferencesManager,d.errorHandler,d,d.confirmationDialogService,d.appEvents)})},wRc=function(a,b){return b.map(function(c){return{id:c.searchId,name:c.name,adminUsers:c.adminUsers,
description:c.description,starred:!1,resourceType:"SAVED_SEARCH"}}).map(function(c){return ARc(a.sidebarItemFactory,c)})},xRc=function(a,b){b=b.map(function(c){c={id: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 yRc(a.sidebarItemFactory,c)});Baa(a.userHotlists);Eaa(a.userHotlists,b)};
MX.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||(zX(this.issuePagination),hmc(this.paths,a)&&nub(this.reloadService),this.bLocation.url(a),b.preventDefault(),b.stopPropagation())};MX.\u0275fac=function(a){return new (a||MX)(w(LX),w(rp),w(hH),w(ZF),w(NG),w(OG),w(yX),w(NX),w(cG),w(AH))};
MX.\u0275prov=nc({token:MX,factory:MX.\u0275fac,providedIn:"root"});var OX=function(a,b,c,d,e,g,h,l){this.analytics=c;this.userApi=d;this.bookmarkGroupsApi=e;this.butterBar=g;this.paths=h;this.userPreferencesManager=l;this.id=a.id;this.name=a.name;this.description=a.description;this.adminUsers=a.adminUsers;this.starred=a.starred;this.userEmail=b.getUserEmail()};OX.prototype.isEditable=function(){return BRc(this)};OX.prototype.isSelected=function(){return gmc(this.paths,this.href)};
OX.prototype.isUnstarable=function(){return!BRc(this)&&this.starred};
var BRc=function(a){return a.adminUsers.some(function(b){return b.emailAddress===a.userEmail})},CRc=function(a,b){var c=UI(a.userPreferencesManager).homepagePreferences;return(null==c?void 0:c.resourceId)===a.id&&c.resourceType===b},DRc=function(a,b){WF(a.butterBar,"Updating homepage...",0);ypc(a.userPreferencesManager,{resourceType:b,resourceId:a.id}).pipe(ge()).subscribe(function(){WF(a.butterBar,"Homepage updated")})},ERc=function(a,b,c,d,e,g,h,l,q,v,y,B){OX.call(this,a,b,c,d,e,h,l,q);this.hotlistApi=
g;this.errorHandler=v;this.confirmationDialogService=y;this.appEvents=B;this.href=l.viewHotlist(a.id);this.type="HOTLIST"};V(ERc,OX);f=ERc.prototype;f.isPreferredHomepage=function(){return CRc(this,"HOTLIST")};f.setAsPreferredHomepage=function(){DRc(this,"HOTLIST")};
f.archive=function(){var a=this;WF(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});WF(a.butterBar,'Archived hotlist "'+a.name+'".');a.analytics.trackEvent("sidebarItem","archived")}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
f.unarchive=function(){var a=this;WF(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});WF(a.butterBar,'Unarchived hotlist "'+a.name+'".');a.analytics.trackEvent("sidebarItem","unarchived")}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
f.unstar=function(){var a=this;this.confirmationDialogService.open({title:"Unstar hotlist: "+this.name,content:yl("Unstarring a hotlist will remove it from your sidebar. You can restore the hotlist at any time from the hotlist's page."),onConfirm:function(){a.doUnstar()}})};
f.doUnstar=function(){var a=this;WF(this.butterBar,"Unstarring hotlist ID "+this.id+"...");this.userApi.deleteFavorite({resourceType:"HOTLIST",resourceId:this.id}).then(function(){WF(a.butterBar,"Unstarred hotlist ID "+a.id);a.appEvents.hotlistChanged.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};var PX=function(a,b,c,d,e,g,h,l){OX.call(this,a,b,c,d,e,g,h,l);this.href=h.viewSavedSearch(a.id);this.type="SAVED_SEARCH"};V(PX,OX);PX.prototype.isUnstarable=function(){return!1};
PX.prototype.unstar=function(){};PX.prototype.isPreferredHomepage=function(){return CRc(this,"SAVED_SEARCH")};PX.prototype.setAsPreferredHomepage=function(){DRc(this,"SAVED_SEARCH")};
var zRc=function(a,b,c,d,e,g,h,l,q,v,y,B){OX.call(this,a,b,c,d,e,g,h,l);this.errorHandler=q;this.sidebarItemFactory=v;this.confirmationDialogService=y;this.appEvents=B;this.items=[];a=k(a.sublinks||[]);for(b=a.next();!b.done;b=a.next())switch(b=b.value,b.resourceType){case "HOTLIST":this.items.push(yRc(this.sidebarItemFactory,b));break;case "SAVED_SEARCH":this.items.push(ARc(this.sidebarItemFactory,b))}this.items.sort(function(I,N){return I.name.localeCompare(N.name)})};V(zRc,OX);f=zRc.prototype;
f.isPreferredHomepage=function(){return CRc(this,"BOOKMARK_GROUP")};f.setAsPreferredHomepage=function(){DRc(this,"BOOKMARK_GROUP")};
f.archive=function(){var a=this;WF(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});WF(a.butterBar,'Archived bookmark group "'+a.name+'".');a.analytics.trackEvent("sidebarItem","archived")}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
f.unarchive=function(){var a=this;WF(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});WF(a.butterBar,'Unarchived bookmark group "'+a.name+'".');a.analytics.trackEvent("sidebarItem","unarchived")}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
f.unstar=function(){var a=this;this.confirmationDialogService.open({title:"Unstar bookmark group: "+this.name,content:yl("Unstarring a bookmark group will remove it from your sidebar. You can restore it at any time from the bookmark group's page."),onConfirm:function(){a.doUnstar()}})};
f.doUnstar=function(){var a=this;WF(this.butterBar,"Unstarring bookmark group ID "+this.id+"...");this.userApi.deleteFavorite({resourceType:"BOOKMARK_GROUP",resourceId:this.id}).then(function(){WF(a.butterBar,"Unstarred bookmark group ID "+a.id);a.appEvents.bookmarkGroupModified.next()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
var NX=function(a,b,c,d,e,g,h,l,q,v,y){this.activeSession=a;this.userApi=b;this.bookmarkGroupsApi=c;this.hotlistApi=d;this.errorHandler=e;this.paths=g;this.analytics=h;this.butterBar=l;this.userPreferencesManager=q;this.confirmationDialogService=v;this.appEvents=y},yRc=function(a,b){return new ERc(b,a.activeSession,a.analytics,a.userApi,a.bookmarkGroupsApi,a.hotlistApi,a.butterBar,a.paths,a.userPreferencesManager,a.errorHandler,a.confirmationDialogService,a.appEvents)},ARc=function(a,b){return new PX(b,
a.activeSession,a.analytics,a.userApi,a.bookmarkGroupsApi,a.butterBar,a.paths,a.userPreferencesManager)};NX.\u0275fac=function(a){return new (a||NX)(w(rp),w(hH),w(KX),w(ZG),w(ZF),w(OG),w(AH),w(VF),w(TI),w(OI),w(cG))};NX.\u0275prov=nc({token:NX,factory:NX.\u0275fac,providedIn:"root"});var QX=function(a){this.prefs=a;this.expanded=!0;this.content=this.header=null};QX.prototype.ngOnInit=function(){this.prefKey&&(this.expanded=!Apc(this.prefs,this.prefKey))};QX.prototype.onClick=function(){var a=this,b,c;return Ld(function(d){b=!a.expanded;a.expanded=b;if(!a.prefKey)return d.jumpTo(0);c={};return d.yield((0,F.firstValueFrom)(zpc(a.prefs,(c[a.prefKey]=!b,c))),0)})};QX.\u0275fac=function(a){return new (a||QX)(D(TI))};
QX.\u0275cmp=zc({type:QX,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),O("click",function(){return b.onClick()})("keydown.enter",function(c){b.onClick();return c.stopPropagation()})("keydown.space",function(c){b.onClick();return c.preventDefault()}),
R(1,F2a,1,0,"ng-container",1),J(),R(2,H2a,2,1,"ng-container",2));a&2&&(Ie("opened",b.expanded)("closed",!b.expanded),Ae("aria-expanded",b.expanded),C(1),G("ngTemplateOutlet",b.header),C(1),G("ngIf",b.expanded))},dependencies:[Tu,Yu],encapsulation:2});var RX=function(a,b,c,d){this.location=a;this.analytics=b;this.paths=c;this.sidebar=d;this.bookmarkGroups=[];this.hotlists=[]};f=RX.prototype;f.handleBookmarkGroupOpen=function(a){this.analytics.trackEvent("sidebarArchived","open");this.location.url(this.paths.viewBookmarkGroup(a))};f.handleBookmarkGroupDashboard=function(a){this.analytics.trackEvent("sidebarArchived","dashboard");this.location.url(this.paths.dashboard(a))};f.openEditHotlist=function(a){this.location.url(this.paths.editHotlist(a))};
f.openEditBookmarkGroup=function(a){this.location.url(this.paths.editBookmarkGroup(a))};f.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};RX.\u0275fac=function(a){return new (a||RX)(D(NG),D(AH),D(OG),D(MX))};
RX.\u0275cmp=zc({type:RX,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&&R(0,X2a,7,2,"div",0);a&2&&G("ngIf",b.hotlists.length||b.bookmarkGroups.length)},dependencies:[Su,Tu,yy,jz,PA,NA,OA,MA,QX],encapsulation:2,changeDetection:0});var SX=function(){this.admins=[]};SX.prototype.ngOnInit=function(){this.url="bookmark-groups/"+this.bookmarkGroup.bookmarkGroupId;this.admins=Rg(this.bookmarkGroup.adminUsers)};SX.\u0275fac=function(a){return new (a||SX)};
SX.\u0275cmp=zc({type:SX,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),S(5),J()(),H(6,"ul")(7,"li"),S(8),J(),H(9,"li"),S(10),J()(),H(11,"div")(12,"p"),S(13),J()()()()());a&2&&(C(4),G("href",b.url,
vd),C(1),Ve(b.bookmarkGroup.name),C(3),Te("ID: ",b.bookmarkGroup.bookmarkGroupId,""),C(2),We("",1===b.admins.length?"Admin":"Admins",": ",b.admins.join(", "),""),C(3),Ve(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 FRc=["searchBox"],TX=function(a,b,c,d,e,g,h,l,q){this.cdr=a;this.userApi=c;this.bookmarkGroupsApi=d;this.hotlistApi=e;this.paths=g;this.analytics=h;this.errorHandler=l;this.appEvents=q;this.allowStarring=this.showHotlists=this.showGroups=!0;this.focusOnInit=!1;this.itemSelect=new tu;this.lastProcessedIndex=-1;this.nextRequestIndex=0;this.favoriteBookmarkGroups=new Set;this.favoriteHotlists=new Set;this.query="";this.matches=[];this.currentUserEmail=b.getUserEmail()};
TX.prototype.ngOnInit=function(){this.allowStarring&&GRc(this)};
var GRc=function(a){a.favoriteBookmarkGroups.clear();a.favoriteHotlists.clear();a.userApi.getUserSidebar().then(function(b){if(a.showGroups){var c,d=k(null!=(c=b.bookmarkGroups)?c:[]);for(c=d.next();!c.done;c=d.next()){c=c.value;c.starred&&a.favoriteBookmarkGroups.add(c.id);var e=void 0;c=k(null!=(e=c.sublinks)?e:[]);for(e=c.next();!e.done;e=c.next())e=e.value,e.starred&&a.favoriteHotlists.add(e.id)}}if(a.showHotlists){var g;b=k(null!=(g=b.hotlists)?g:[]);for(e=b.next();!e.done;e=b.next())g=e.value,
g.starred&&a.favoriteHotlists.add(g.id)}a.cdr.detectChanges()}).catch(function(b){a.errorHandler.errorHandler(null,b)})};f=TX.prototype;f.reset=function(){this.query="";this.matches=[]};f.isLoading=function(){return this.lastProcessedIndex+1!==this.nextRequestIndex};f.onQueryChange=function(){this.matches=[];this.query&&"string"!==typeof this.query&&(this.query="");this.search()};
f.search=function(){var a=this,b=this.nextRequestIndex++;if(this.query){var c=this.showGroups?this.bookmarkGroupsApi.query(this.query):Promise.resolve([]);var d=this.showHotlists?this.hotlistApi.queryHotlists(this.query):Promise.resolve([]);Promise.all([c,d]).then(function(e){var g=k(e);e=g.next().value;g=g.next().value;if(b===a.nextRequestIndex-1){for(var h=k(e),l=h.next();!l.done;l=h.next()){l=l.value;var q=l.bookmarkGroupId;l.href=a.paths.viewBookmarkGroup(q);l.isGroup=!0;l.isStarred=a.favoriteBookmarkGroups.has(q)}h=
k(g);for(l=h.next();!l.done;l=h.next())l=l.value,q=l.hotlistId,l.href=a.paths.viewHotlist(q),l.isGroup=!1,l.isStarred=a.favoriteHotlists.has(q);a.matches=[].concat(Jc(e),Jc(g));a.lastProcessedIndex=b;a.cdr.detectChanges()}})}else this.lastProcessedIndex=b};f.shouldShowStar=function(a){return this.allowStarring&&!Rg(a.adminUsers).includes(this.currentUserEmail)};
f.toggleStar=function(a){var b=this;if(a.isGroup){var c=a.bookmarkGroupId;var d="BOOKMARK_GROUP"}else c=a.hotlistId,d="HOTLIST";a.isStarred=!a.isStarred;var e=function(){b.appEvents.hotlistChanged.next();b.appEvents.favoritesModified.next();GRc(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))};
TX.\u0275fac=function(a){return new (a||TX)(D(wH,2),D(rp),D(hH),D(KX),D(ZG),D(OG),D(AH),D(ZF),D(cG))};
TX.\u0275cmp=zc({type:TX,selectors:[["b-hotlist-search"]],viewQuery:function(a,b){a&1&&(jf(FRc,5),jf(ZO,5));if(a&2){var c;hf(c=lf())&&(b.searchBoxEl=c.first);hf(c=lf())&&(b.autocomplete=c.first)}},hostAttrs:[1,"'bv2-hotlist-search'"],inputs:{showGroups:"showGroups",showHotlists:"showHotlists",allowStarring:"allowStarring",focusOnInit:"focusOnInit"},outputs:{itemSelect:"itemSelect"},features:[Xe([wH])],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),O("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()}),J(),R(3,Y2a,1,0,"b-spinner",3),H(4,"mat-autocomplete",4,5),O("optionSelected",function(d){b.itemSelect.emit(d.option.value)}),R(6,b3a,9,8,"mat-option",6),J(),H(7,"div",7),S(8,' e.g., "foo bar admin:user@google.com" '),K(9,"br"),S(10,' or "foo bar admin:group@google.com" '),K(11,"br"),S(12," Only identities directly listed as Admins can be searched. "),J()());if(a&2){var c=Se(5);C(1);G("ngModel",b.query)("matAutocomplete",c);Ae("autofocus",b.focusOnInit)("aria-label",
"Add query for searching "+(b.showGroups?"bookmark groups":"hotlists"));C(2);G("ngIf",b.isLoading());C(3);G("ngForOf",b.matches)}},dependencies:[Su,Tu,SX,tU,QJ,VJ,SL,yU,Af,tv,zv,$O,ZO,Ay],encapsulation:2});var HRc=[[["xap-dialog-layout-title"]],[["xap-dialog-layout-subtitle"]],[["xap-dialog-layout-content"]],[["xap-dialog-layout-actions"]]],IRc=function(){};IRc.\u0275fac=function(a){return new (a||IRc)};IRc.\u0275dir=Cc({type:IRc,selectors:[["xap-dialog-layout-subtitle"]]});var UX=function(a,b,c){this.el=a;this.cdRef=b;this.ngZone=c;this.destroyed=new F.ReplaySubject;this.internalScrollable=!1;this.internalScrollPosition="bottom"};
UX.prototype.ngOnInit=function(){var a=this;this.internalScrollPosition=this.getScrollPosition(this.el.nativeElement);this.ngZone.runOutsideAngular(function(){JRc(a).subscribe(function(b){a.ngZone.run(function(){a.internalScrollable=b;a.cdRef.markForCheck();a.cdRef.detectChanges()})});KRc(a).subscribe(function(b){a.ngZone.run(function(){a.internalScrollPosition=b;a.cdRef.markForCheck();a.cdRef.detectChanges()})})})};UX.prototype.ngOnDestroy=function(){this.destroyed.next();this.destroyed.complete()};
var JRc=function(a){if(!window.ResizeObserver)return(0,F.of)(LRc(a.el.nativeElement));var b;return(0,F.fromEventPattern)(function(c){b=new ResizeObserver(function(){c(LRc(a.el.nativeElement))});b.observe(a.el.nativeElement)},function(){b.disconnect()}).pipe(fe(),qe(a.destroyed))},KRc=function(a){return(0,F.fromEvent)(a.el.nativeElement,"scroll").pipe(c3a(),E(function(){return a.getScrollPosition(a.el.nativeElement)}),fe(),qe(a.destroyed))},LRc=function(a){return a.offsetHeight+a.scrollTop<=a.scrollHeight};
UX.prototype.getScrollPosition=function(a){return 0===a.scrollTop?"top":a.offsetHeight+a.scrollTop>=a.scrollHeight?"bottom":"center"};gg.Object.defineProperties(UX.prototype,{scrollable:{configurable:!0,enumerable:!0,get:function(){return this.internalScrollable}},scrollPosition:{configurable:!0,enumerable:!0,get:function(){return this.internalScrollPosition}}});UX.\u0275fac=function(a){return new (a||UX)(D(fd),D(Lu),D(te))};
UX.\u0275dir=Cc({type:UX,selectors:[["xap-dialog-layout-content"]],hostAttrs:[1,"xap-dialog-layout-content"],hostVars:6,hostBindings:function(a,b){a&2&&Ie("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 VX=function(){};VX.\u0275fac=function(a){return new (a||VX)};
VX.\u0275cmp=zc({type:VX,selectors:[["xap-dialog-layout"]],contentQueries:function(a,b,c){a&1&&kf(c,IRc,4);if(a&2){var d;hf(d=lf())&&(b.subtitle=d)}},hostAttrs:[1,"xap-dialog-layout"],hostVars:2,hostBindings:function(a,b){a&2&&Ie("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&&(Ne(HRc),
H(0,"header",0),Oe(1),Oe(2,1),J(),Oe(3,2),Oe(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 MRc=Qf({opacity:0}),NRc=Qf({opacity:1}),ORc=Of("dialogContainer",[Rf("void, hidden",MRc),Rf("visible",NRc),Sf("void => *, * => visible",Pf("200ms cubic-bezier(0.0,0.0,0.2,1)",NRc)),Sf("* => void, * => hidden",Pf("200ms cubic-bezier(0.4,0.0,0.2,1)",MRc))]);var PRc=new Hc("XAP_IDCO"),WX=function(a){this._isDisposed=!1;this.options=a;this.animationState="hidden"};V(WX,ew);WX.prototype.ngAfterViewInit=function(){};WX.prototype.attachComponentPortal=function(a){return this.portalOutlet.attachComponentPortal(a)};WX.prototype.attachTemplatePortal=function(a){return this.portalOutlet.attachTemplatePortal(a)};WX.\u0275fac=function(a){return new (a||WX)(D(PRc))};
WX.\u0275cmp=zc({type:WX,selectors:[["xap-inline-dialog-container"]],viewQuery:function(a,b){a&1&&jf(hw,7);if(a&2){var c;hf(c=lf())&&(b.portalOutlet=c.first)}},hostAttrs:["role","dialog",1,"xap-inline-dialog-container","gmat-body-2"],hostVars:3,hostBindings:function(a,b){a&2&&(Ae("aria-label",b.options.dialogLabel)("tabindex",b.options.dialogTabIndex),Ola("@dialogContainer",b.animationState))},features:[xe],decls:2,vars:0,consts:[["cdkPortalOutlet",""],["cdkFocusInitial","","tabindex","0"]],template:function(a){a&
1&&(H(0,"div"),R(1,d3a,1,0,"ng-template",0),J())},dependencies:[hw],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:[ORc]},changeDetection:0});var QRc=[{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}],RRc={minWidth:220,maxWidth:420,minHeight:64,maxHeight:420},XX=function(a,b,c,d,e,g,h,l){var q=this;this.ngZone=a;this.overlay=b;this.elementRef=c;this.viewContainerRef=d;this.document=e;this.focusTrapFactory=
g;this.ariaDescriber=h;this.injector=l;this.disabledInternal=!1;this.dialogLabel=null;this.dialogTabIndex=-1;this.overlayDimensions=RRc;this.triggerDescription="Press space for more information.";this.disableAutoFocusInternal=!1;this.scrollStrategy="close";this.stackLocation=0;this.beforeOpened=new tu;this.opened=new tu;this.closed=new tu;this.destroyed=new F.ReplaySubject;this.openStatusChange=new F.BehaviorSubject(!1);this.openings=this.openStatusChange.pipe(Zd(function(v){return v&&!q.disabled}));
this.elementFocusedBeforeDialogWasOpened=void 0;SRc(this,c.nativeElement);this.attachKeyboardCloseEventListeners(c.nativeElement);TRc(this,c.nativeElement)};XX.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)};
XX.prototype.ngOnDestroy=function(){this.closeDialog();this.openStatusChange.complete();this.destroyed.next();this.destroyed.complete();this.overlayRef&&this.overlayRef.dispose()};
var SRc=function(a,b){a.ngZone.runOutsideAngular(function(){(0,F.fromEvent)(b,"keydown").pipe(qe(a.destroyed)).subscribe(function(c){switch(c.keyCode){case 13:a.openDialog();c.preventDefault();break;case 32:c.preventDefault()}});(0,F.fromEvent)(b,"keyup").pipe(qe(a.destroyed)).subscribe(function(c){switch(c.keyCode){case 32:a.openDialog()}})})},TRc=function(a,b){a.ngZone.runOutsideAngular(function(){(0,F.fromEvent)(b,"focus").pipe(Zd(function(){return 0<a.beforeOpened.observers.length}),qe(a.destroyed)).subscribe(function(){a.ngZone.run(function(){a.beforeOpened.emit()})})})};
f=XX.prototype;
f.openDialog=function(){var a=this;if(!this.disabled){var b;if(null==(b=this.overlayRef)||!b.hasAttached()){var c=this.portal;null!=c&&(this.stackManager&&(this.stackLocation=this.stackManager.register()),this.ngZone.run(function(){a.dialogContainerRef=URc(a);a.dialogContainerRef.instance.attach(c);var d=a.dialogContainerRef.location.nativeElement;a.attachMouseEventListeners(d);a.attachKeyboardCloseEventListeners(d);a.trapFocus(d);a.dialogContainerRef.instance.animationState="visible";a.opened.observers.length&&
setTimeout(function(){a.opened.emit()},200)}))}}};
f.closeDialog=function(){var a=this,b;null==(b=this.overlayRef)||!b.hasAttached()||this.stackManager&&!this.stackManager.tryUnregister(this.stackLocation)||(this.dialogContainerRef.instance.animationState="hidden",setTimeout(function(){a.ngZone.run(function(){a.overlayRef&&a.overlayRef.detach();a.focusTrap&&(a.focusTrap.destroy(),a.focusTrap=void 0);a.restoreFocus();a.dialogContainerRef&&(a.dialogContainerRef.destroy(),a.dialogContainerRef=void 0);a.closed.emit()})},200))};
f.trapFocus=function(a){var b=this.document.activeElement,c=this.elementRef.nativeElement;b&&b===c&&(this.document&&(this.elementFocusedBeforeDialogWasOpened=this.document.activeElement),this.focusTrap=this.focusTrapFactory.create(a),dZb(this.focusTrap),this.disableAutoFocus||this.focusInitialElement())};f.focusInitialElement=function(){this.focusTrap&&eZb(this.focusTrap)};
f.restoreFocus=function(){var a=this.elementFocusedBeforeDialogWasOpened;if(a&&"function"===typeof a.focus){var b,c=null==(b=this.dialogContainerRef)?void 0:b.location.nativeElement;(b=this.document.activeElement)&&null!=c&&c.contains(b)&&(a.focus(),this.elementFocusedBeforeDialogWasOpened=void 0)}};f.createPositionStrategy=function(a){var b,c;return Jx(Nx(this.overlay.position(),null!=(b=this.attachedTo)?b:this.elementRef),a).setOrigin(null!=(c=this.attachedTo)?c:this.elementRef)};
var VRc=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()}},URc=function(a){var b=ve({parent:a.injector,providers:[{provide:PRc,useValue:{dialogLabel:a.dialogLabel,dialogTabIndex:a.dialogTabIndex}}]});b=new cw(WX,null,b);null==a.overlayRef&&(a.overlayRef=a.overlay.create(a.createOverlayConfig(QRc)));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)};
gg.Object.defineProperties(XX.prototype,{dialog:{configurable:!0,enumerable:!0,set:function(a){a&&(this.portal=a instanceof ef?new dw(a,this.viewContainerRef):new cw(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=Ef(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}}}});XX.\u0275fac=function(a){return new (a||XX)(D(te),D(Ox),D(fd),D(ff),D(Document),D(hx),D(ex),D(Qt))};
XX.\u0275dir=Cc({type:XX,hostVars:1,hostBindings:function(a,b){a&2&&Ae("data-disabled",b.disabled)},inputs:{attachedTo:"attachedTo",dialogLabel:"dialogLabel",dialogTabIndex:"dialogTabIndex",overlaySize:"overlaySize",overlayPositions:"overlayPositions",overlayDimensions:"overlayDimensions",triggerDescription:"triggerDescription",disableAutoFocus:"disableAutoFocus",panelClass:"panelClass",scrollStrategy:"scrollStrategy",stackManager:"stackManager"},outputs:{beforeOpened:"beforeOpened",opened:"opened",
closed:"closed"}});var YX=function(a,b,c,d,e,g,h,l){XX.call(this,a,b,c,d,e,g,h,l);this.attachMouseEventListeners(c.nativeElement)};V(YX,XX);f=YX.prototype;f.ngOnInit=function(){XX.prototype.ngOnInit.call(this);this.listenForOpenEvents()};f.listenForOpenEvents=function(){var a=this;this.openStatusChange.pipe(qe(this.destroyed)).subscribe(function(b){b?a.openDialog():a.closeDialog()});this.openings.pipe(Zd(function(b){return b&&0<a.beforeOpened.observers.length}),Hka(function(){return a.openStatusChange.pipe(Zd(function(b){return!b}))}))};
f.attachMouseEventListeners=function(a){var b=this;this.ngZone.runOutsideAngular(function(){(0,F.fromEvent)(a,"mouseenter").pipe(qe(b.destroyed)).subscribe(function(){b.ngZone.run(function(){b.beforeOpened.emit()})});(0,F.fromEvent)(a,"click").pipe(qe(b.destroyed)).subscribe(function(d){d.target.closest("[xapInlineDialogClose]")?b.closingDialog():b.openingDialog()});var c;null==(c=b.overlayRef)||c.backdropClick().pipe(qe(b.destroyed)).subscribe(function(){b.closingDialog()})})};
f.attachKeyboardCloseEventListeners=function(a){var b=this;this.ngZone.runOutsideAngular(function(){(0,F.fromEvent)(a,"keyup").pipe(qe(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,F.fromEvent)(a,"keydown").pipe(qe(b.destroyed)).subscribe(function(c){var d=c.target;switch(c.keyCode){case 13:d.closest("[xapInlineDialogClose]")&&b.closingDialog()}})})};
f.openingDialog=function(){this.disabled||this.openStatusChange.next(!0)};f.closingDialog=function(){this.openStatusChange.next(!1)};f.createOverlayConfig=function(a){return new Gx(Object.assign({},this.overlayDimensions,{positionStrategy:XX.prototype.createPositionStrategy.call(this,a),scrollStrategy:VRc(this),hasBackdrop:!0,backdropClass:"cdk-overlay-transparent-backdrop",panelClass:this.panelClassInternal}))};
YX.\u0275fac=function(a){return new (a||YX)(D(te),D(Ox),D(fd),D(ff),D(eg),D(hx),D(ex),D(Qt))};YX.\u0275dir=Cc({type:YX,selectors:[["","xapInlineDialogClick",""]],hostAttrs:[1,"xap-inline-dialog-click"],inputs:{dialog:["xapInlineDialogClick","dialog"],disabled:["xapInlineDialogDisabled","disabled"]},exportAs:["xapInlineDialogClick"],features:[xe]});var WRc=["*"],XRc=function(){return".xap-icon-trigger,.xap-text-trigger{pointer-events:auto}.xap-text-trigger{-webkit-text-decoration:underline dashed #80868b;-moz-text-decoration:underline dashed #80868b;text-decoration:underline dashed #80868b;text-underline-position:under;text-underline-offset:1px;text-underline-thickness:1px}"},YRc=function(){this.disabled=!1};YRc.\u0275fac=function(a){return new (a||YRc)};
YRc.\u0275cmp=zc({type:YRc,selectors:[["xap-text-trigger"]],hostAttrs:["role","button"],hostVars:3,hostBindings:function(a,b){a&2&&(Ae("tabindex",b.disabled?-1:0),Ie("xap-text-trigger",!b.disabled))},inputs:{disabled:["xapInlineDialogDisabled","disabled"]},ngContentSelectors:WRc,decls:1,vars:0,template:function(a){a&1&&(Ne(),Oe(0))},styles:[XRc()],encapsulation:2});var ZX=function(){this.disabled=!1};ZX.\u0275fac=function(a){return new (a||ZX)};
ZX.\u0275cmp=zc({type:ZX,selectors:[["xap-icon-trigger"]],hostAttrs:["role","button","tabindex","0",1,"xap-icon-trigger"],inputs:{disabled:["xapInlineDialogDisabled","disabled"]},ngContentSelectors:WRc,decls:1,vars:0,template:function(a){a&1&&(Ne(),Oe(0))},styles:[XRc()],encapsulation:2});var $X=function(){this.allowStarring=this.showHotlists=this.showGroups=!0;this.ariaLabel="";this.itemSelect=new tu};$X.\u0275fac=function(a){return new (a||$X)};
$X.\u0275cmp=zc({type:$X,selectors:[["b-hotlist-search-popup"]],viewQuery:function(a,b){a&1&&jf(YX,5);if(a&2){var c;hf(c=lf())&&(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),K(1,"mat-icon",1),J(),R(2,e3a,3,4,"ng-template",null,2,of));if(a&2){var c=Se(3);G("xapInlineDialogClick",c);Ae("aria-label",b.ariaLabel)}},dependencies:[jz,VX,UX,XA,YX,ZX,TX],styles:["xap-dialog-layout[_ngcontent-%COMP%] { padding: 16px; }","xap-dialog-layout-content[_ngcontent-%COMP%] { padding: 0; }"]});var aY=function(a,b,c,d){this.location=a;this.analytics=b;this.paths=c;this.sidebar=d;this.bookmarkGroups=[]};aY.prototype.handleBookmarkGroupOpen=function(a){this.analytics.trackEvent("sidebarBookmarkGroups","open");this.location.url(this.paths.viewBookmarkGroup(a))};aY.prototype.handleBookmarkGroupDashboard=function(a){this.analytics.trackEvent("sidebarBookmarkGroups","dashboard");this.location.url(this.paths.dashboard(a))};aY.prototype.editBookmarkGroup=function(a){this.location.url(this.paths.editBookmarkGroup(a))};
aY.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};aY.\u0275fac=function(a){return new (a||aY)(D(NG),D(AH),D(OG),D(MX))};
aY.\u0275cmp=zc({type:aY,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),K(1,"hr"),H(2,"sidebar-zippy",1),R(3,f3a,3,1,"ng-template",null,2,of),R(5,u3a,1,1,"ng-template",null,3,of),J()());if(a&2){var b=Se(4),c=Se(6);C(2);G("header",b)("content",c)}},dependencies:[Su,Tu,yy,jz,$X,PA,NA,OA,MA,QX],encapsulation:2,changeDetection:0});var bY=function(a,b,c,d,e){this.location=a;this.analytics=c;this.sidebar=d;this.paths=e;this.userEmail=b.getUserEmail()};bY.prototype.getUserEmail=function(){return this.userEmail};bY.prototype.openEditHotlist=function(a){this.location.url(this.paths.editHotlist(a))};bY.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};bY.\u0275fac=function(a){return new (a||bY)(D(NG),D(rp),D(AH),D(MX),D(OG))};
bY.\u0275cmp=zc({type:bY,selectors:[["sidebar-hotlists"]],inputs:{hotlists:"hotlists"},decls:7,vars:2,consts:[[1,"bv2-nav-section"],["prefKey","nav-hotlists",3,"header","content"],["zippyHeader",""],["zippyContent",""],["aria-label","Search for hotlists",3,"showGroups","itemSelect","click"],["class","hotlist-list",4,"ngIf"],[1,"hotlist-list"],["class","bv2-nav-item bv2-user-hotlists-hotlist-item",3,"selected","id","title",4,"ngFor","ngForOf"],[1,"bv2-nav-item","bv2-user-hotlists-hotlist-item",3,"id",
"title"],[3,"href","click"],[1,"bv2-nav-item-text"],["mat-icon-button","","disableRipple","true","aria-label","Hotlist actions keep-focus-ring","class","bv2-nav-item-menubutton",3,"matMenuTriggerFor",4,"ngIf"],["menu",""],["matMenuContent",""],["mat-icon-button","","disableRipple","true","aria-label","Hotlist actions keep-focus-ring",1,"bv2-nav-item-menubutton",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical"],["mat-menu-item","",1,"bv2-user-hotlists-edit-menuitem",3,"click"],["mat-menu-item",
"","class","bv2-user-hotlists-edit-menuitem",3,"click",4,"ngIf"]],template:function(a){a&1&&(H(0,"div",0),K(1,"hr"),H(2,"sidebar-zippy",1),R(3,v3a,3,1,"ng-template",null,2,of),R(5,C3a,1,1,"ng-template",null,3,of),J()());if(a&2){var b=Se(4),c=Se(6);C(2);G("header",b)("content",c)}},dependencies:[Su,Tu,yy,jz,$X,PA,NA,OA,MA,QX],encapsulation:2,changeDetection:0});var cY=function(a,b,c,d,e,g,h,l,q,v){this.cdr=a;this.location=b;this.savedSearchApi=c;this.paths=d;this.butterBar=e;this.analytics=g;this.sidebar=h;this.errorHandler=l;this.confirmationDialogService=q;this.appEvents=v;this.searches=[]};cY.prototype.isSelected=function(a){return gmc(this.paths,a.href)};cY.prototype.openEditSavedSearch=function(a){this.location.url(this.paths.editSavedSearch(a))};
var F3a=function(a,b){a.confirmationDialogService.open({title:"Deleting saved search: "+b.name,content:yl("Are you sure you want to delete this search?"),onConfirm:function(){ZRc(a,b)}})},ZRc=function(a,b){var c=b.id;WF(a.butterBar,'Deleting saved search "'+b.name+'"...');a.savedSearchApi.delete(c).then(function(){a.appEvents.savedSearchModified.next({savedSearchId:c,action:"delete"});WF(a.butterBar,'Deleted saved search "'+b.name+'".');a.analytics.trackEvent("sidebarSavedSearches","deleted");a.cdr.detectChanges()}).catch(function(d){a.errorHandler.errorHandler(null,
d)})};cY.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};cY.\u0275fac=function(a){return new (a||cY)(D(wH,2),D(NG),D(iU),D(OG),D(VF),D(AH),D(MX),D(ZF),D(OI),D(cG))};
cY.\u0275cmp=zc({type:cY,selectors:[["sidebar-saved-searches"]],inputs:{searches:"searches"},features:[Xe([wH])],decls:7,vars:2,consts:[[1,"bv2-nav-section","bv2-nav-section-savedsearches"],["prefKey","nav-ss",3,"header","content"],["zippyHeader",""],["zippyContent",""],["class","saved-search-list",4,"ngIf"],[1,"saved-search-list"],["class","bv2-nav-item",3,"selected","title",4,"ngFor","ngForOf"],[1,"bv2-nav-item",3,"title"],[1,"bv2-nav-item-link",3,"href","click"],[1,"bv2-nav-item-text"],["mat-icon-button",
"","disableRipple","true","aria-label","Saved search actions",1,"bv2-nav-item-menubutton",3,"matMenuTriggerFor"],["svgIcon","more-settings-vertical"],["menu",""],["matMenuContent",""],["mat-menu-item","",1,"bv2-user-saved-searches-edit-menuitem",3,"click"],["mat-menu-item","","class","bv2-user-saved-searches-edit-menuitem",3,"click",4,"ngIf"]],template:function(a){a&1&&(H(0,"div",0),K(1,"hr"),H(2,"sidebar-zippy",1),R(3,D3a,2,0,"ng-template",null,2,of),R(5,J3a,1,1,"ng-template",null,3,of),J()());if(a&
2){var b=Se(4),c=Se(6);C(2);G("header",b)("content",c)}},dependencies:[Su,Tu,yy,jz,PA,NA,OA,MA,QX],encapsulation:2,changeDetection:0});var $Rc=/^\s*hotlistid:(\d+)\s*$/i,aSc=/(?:\s|^)componentid:(\d+)\s*/i,bSc=/^\s*savedsearchid:(\d+)\s*$/i,dY=function(a,b,c,d){kE.call(this);var e=this;this.$log=a;this.currentTracker=b;this.contextSensitiveRegistry=c;this.analytics=d;this.currentQuery="";this.currentTrackerScope=[];this.queryState$=new F.BehaviorSubject({query:"",cursorPosition:void 0,setViaInteraction:!1});this.currentTrackerIdList$=this.currentTracker.trackerId$.pipe(E(function(g){return g?[g]:[]}));this.selectedTrackerIds$=new F.Subject;
this.trackerScope$=(0,F.merge)(this.currentTrackerIdList$,this.selectedTrackerIds$);this.searchHandlerStack=[];this.searchTriggered$=new F.Subject;this.subscriptions.add(this.queryState$.pipe(qe(this.destroyed$)).subscribe(function(g){e.currentQuery=g.query;(g=e.currentQuery.match(aSc))?e.contextSensitiveRegistry.componentIdOverride$.next(Number(g[1])):e.contextSensitiveRegistry.componentIdOverride$.next(null);(g=e.currentQuery.match($Rc))?e.contextSensitiveRegistry.hotlistIdOverride$.next(Number(g[1])):
e.contextSensitiveRegistry.hotlistIdOverride$.next(null)}));this.subscriptions.add(this.trackerScope$.pipe(qe(this.destroyed$)).subscribe(function(g){e.currentTrackerScope=g}))};V(dY,kE);dY.\u0275dir=kE.\u0275dir;dY.prototype.clear=function(){eY(this,"")};var eY=function(a,b){a.queryState$.next({query:b,cursorPosition:void 0,setViaInteraction:!1})},cSc=function(a){return"assignee:"+a+" status:open"};dY.prototype.getStarred=function(){return"star:true"};
dY.prototype.isStarred=function(){return this.currentQuery===this.getStarred()};dY.prototype.getVoted=function(){return"vote:true"};var Z3a=function(a){return a.currentQuery===a.getVoted()},dSc=function(a){return"verifier:"+a+" status:open | status:fixed"},eSc=function(a){return(a=a.currentQuery.match($Rc))?Number(a[1]):0},fSc=function(a){return(a=a.currentQuery.match(bSc))?Number(a[1]):0};dY.prototype.track=function(a,b,c){this.analytics.trackEvent("global-search",a,b,c)};
var gSc=function(a,b){a.searchHandlerStack.push(b);return function(){qa(a.searchHandlerStack,b)}};dY.\u0275fac=function(a){return new (a||dY)(w(YF),w(LK),w(GX),w(AH))};dY.\u0275prov=nc({token:dY,factory:dY.\u0275fac,providedIn:"root"});var hSc=0,iSc=jg(function(){}),fY=function(a,b,c,d,e){var g=iSc.call(this)||this;g._ngZone=a;g._elementRef=b;g._ariaDescriber=c;g._renderer=d;g._animationMode=e;g._color="primary";g._overlap=!0;g.position="above after";g.size="medium";g._id=hSc++;g._isInitialized=!1;g._interactivityChecker=wc(Tv);g._document=wc(eg);return g};V(fY,iSc);f=fY.prototype;
f.ngOnInit=function(){this._clearExistingBadges();this.content&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement(),this._updateRenderedContent(this.content));this._isInitialized=!0};f.ngOnDestroy=function(){if(this._renderer.destroyNode){this._renderer.destroyNode(this._badgeElement);var a;null==(a=this._inlineBadgeDescription)||a.remove()}x0b(this._ariaDescriber,this._elementRef.nativeElement,this.description)};
f._isHostInteractive=function(){return this._interactivityChecker.isFocusable(this._elementRef.nativeElement,{ignoreVisibility:!0})};
f._createBadgeElement=function(){var a=this._renderer.createElement("span");a.setAttribute("id","mat-badge-content-"+this._id);a.setAttribute("aria-hidden","true");a.classList.add("mat-badge-content");"NoopAnimations"===this._animationMode&&a.classList.add("_mat-animation-noopable");this._elementRef.nativeElement.appendChild(a);"function"===typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){a.classList.add("mat-badge-active")})}):
a.classList.add("mat-badge-active");return a};f._updateRenderedContent=function(a){a=(""+(null!=a?a:"")).trim();this._isInitialized&&a&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement());this._badgeElement&&(this._badgeElement.textContent=a);this._content=a};
f._updateDescription=function(a){x0b(this._ariaDescriber,this._elementRef.nativeElement,this.description);a&&!this._isHostInteractive()||this._removeInlineDescription();this._description=a;this._isHostInteractive()?this._ariaDescriber.describe(this._elementRef.nativeElement,a):this._updateInlineDescription()};
f._updateInlineDescription=function(){this._inlineBadgeDescription||(this._inlineBadgeDescription=this._document.createElement("span"),this._inlineBadgeDescription.classList.add("cdk-visually-hidden"));this._inlineBadgeDescription.textContent=this.description;var a;null==(a=this._badgeElement)||a.appendChild(this._inlineBadgeDescription)};f._removeInlineDescription=function(){var a;null==(a=this._inlineBadgeDescription)||a.remove();this._inlineBadgeDescription=void 0};
f._setColor=function(a){var b=this._elementRef.nativeElement.classList;b.remove("mat-badge-"+this._color);a&&b.add("mat-badge-"+a)};f._clearExistingBadges=function(){for(var a=k(Array.from(this._elementRef.nativeElement.querySelectorAll(":scope > .mat-badge-content"))),b=a.next();!b.done;b=a.next())b=b.value,b!==this._badgeElement&&b.remove()};
gg.Object.defineProperties(fY.prototype,{color:{configurable:!0,enumerable:!0,get:function(){return this._color},set:function(a){this._setColor(a);this._color=a}},overlap:{configurable:!0,enumerable:!0,get:function(){return this._overlap},set:function(a){this._overlap=Ef(a)}},content:{configurable:!0,enumerable:!0,get:function(){return this._content},set:function(a){this._updateRenderedContent(a)}},description:{configurable:!0,enumerable:!0,get:function(){return this._description},set:function(a){this._updateDescription(a)}},
hidden:{configurable:!0,enumerable:!0,get:function(){return this._hidden},set:function(a){this._hidden=Ef(a)}}});fY.\u0275fac=function(a){return new (a||fY)(D(te),D(fd),D(ex),D(Ut),D(Tt,8))};
fY.\u0275dir=Cc({type:fY,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(a,b){a&2&&Ie("mat-badge-overlap",b.overlap)("mat-badge-above",-1===b.position.indexOf("below"))("mat-badge-below",-1!==b.position.indexOf("below"))("mat-badge-before",-1!==b.position.indexOf("before"))("mat-badge-after",-1===b.position.indexOf("before"))("mat-badge-small","small"===b.size)("mat-badge-medium","medium"===b.size)("mat-badge-large","large"===b.size)("mat-badge-hidden",b.hidden||
!b.content)("mat-badge-disabled",b.disabled)},inputs:{disabled:["matBadgeDisabled","disabled"],color:["matBadgeColor","color"],overlap:["matBadgeOverlap","overlap"],position:["matBadgePosition","position"],content:["matBadge","content"],description:["matBadgeDescription","description"],size:["matBadgeSize","size"],hidden:["matBadgeHidden","hidden"]},features:[xe]});var gY=function(a,b,c,d,e,g,h,l,q,v,y,B){var I=this;this.cdr=a;this.activeSession=b;this.butterBar=c;this.appSearchState=d;this.paths=e;this.userPreferencesManager=g;this.sidebar=h;this.location=l;this.issueLru=q;this.appEvents=v;this.needsAttentionApi=y;this.currentTracker=B;this.EXPERIMENTAL_HOMEPAGE="EXPERIMENTAL_HOMEPAGE";this.needsAttentionIssueCount$=new F.Subject;this.experimentalHomepagePath=Hk("dash",{params:void 0});this.enableHomepageVariantA=iE(this.activeSession,"enableHomepageVariantA");
this.enabledVotedNav=iE(this.activeSession,"enableUpvotedInNav")&&this.activeSession.isInternalSession();this.votedPath=this.paths.listIssues({q:this.appSearchState.getVoted()});this.recentlyViewedPath=jSc(this)?"recent":void 0;this.showNeedsAttentionUI=iE(this.activeSession,"showNeedsAttentionUI")&&this.activeSession.isInternalSession()&&!this.currentTracker.inTracker;this.destroyed$=new tu;this.hasPreferredHomepage$=this.userPreferencesManager.preferences$.pipe(E(function(N){N=(N||eE).homepagePreferences;
return!(!N||!N.resourceType)}),fe());this.isHomepageNeedsAttention$=this.userPreferencesManager.preferences$.pipe(E(function(N){N=(N||eE).homepagePreferences;return!(!N||"NEEDS_ATTENTION"!==N.resourceType)}),fe());this.appName=b.getAppName();this.userEmail=b.getUserEmail();this.environmentType=b.getEnvironmentType();this.needsAttentionPath=e.needsAttention();this.assignedPath=e.listIssues({q:cSc(this.userEmail)});this.starredPath=e.listIssues({q:d.getStarred()});this.ccdPath=e.listIssues({q:"cc:"+
this.userEmail});this.verifiedPath=e.listIssues({q:dSc(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;iE(b,"runQueryForSidebarIssueCount")&&setTimeout(function(){I.userPreferencesManager.needsAttentionPreferences$.pipe(qe(I.destroyed$)).subscribe(function(N){var Q=
ytc(I.currentTracker),Z;I.needsAttentionApi.listIssues(null,Q,null!=(Z=N.selectedSignals)?Z:[])})},1E3)};gY.prototype.ngOnInit=function(){var a=this;this.hasPreferredHomepage$.pipe(qe(this.destroyed$)).subscribe(function(){setTimeout(function(){a.cdr.detectChanges()})})};gY.prototype.ngOnDestroy=function(){this.destroyed$.next()};
var X3a=function(a){WF(a.butterBar,"Updating homepage...",0);a.userPreferencesManager.clearHomepagePreferences().pipe(qe(a.destroyed$)).subscribe(function(){WF(a.butterBar,"Homepage updated")})},O3a=function(a,b){WF(a.butterBar,"Updating homepage...",0);ypc(a.userPreferencesManager,{resourceType:b}).subscribe(function(){WF(a.butterBar,"Homepage updated")})};gY.prototype.onAnchorClick=function(a,b){this.sidebar.onAnchorClick(a,b)};
var jSc=function(a){var b=iE(a.activeSession,"enableRecentlyViewedInNav");a=0<Array.from(a.issueLru.viewed.keys()).length;return b&&a};gY.\u0275fac=function(a){return new (a||gY)(D(wH,2),D(rp),D(VF),D(dY),D(OG),D(TI),D(MX),D(ov),D(LW),D(cG),D(TV),D(LK))};
gY.\u0275cmp=zc({type:gY,selectors:[["b-sidebar"]],features:[Xe([wH])],decls:48,vars:30,consts:[[1,"bv2-nav-header"],[1,"bv2-nav-bar"],["role","region",1,"bv2-nav-links"],["aria-label","Canned searches",1,"canned-searches"],[4,"ngIf"],["class","bv2-nav-item","id","needs-attention-sidebar-link",3,"selected",4,"ngIf"],["id","canned-searches-assign",1,"bv2-nav-item"],[3,"href","click"],["svgIcon","issue-status-accepted",1,"canned-search-icon"],["menu",""],["matMenuContent",""],["svgIcon","star-filled",
1,"canned-search-icon"],["svgIcon","person-add-18px",1,"canned-search-icon"],["svgIcon","user-attributes",1,"canned-search-icon"],[3,"selected",4,"ngIf"],["svgIcon","issue-status-fixed",1,"canned-search-icon"],[3,"bookmarkGroups"],[3,"searches"],[3,"hotlists"],[3,"hotlists","bookmarkGroups"],[1,"bv2-nav-manage-link"],[3,"href"],[1,"bv2-nav-item"],["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"],["homepageMenu",""],["mat-menu-item","",1,"bv2-user-hotlists-edit-menuitem",3,"click"],["mat-menu-item","","title","Experimental feature. See go/task-mission-control for more.",1,"informational-only","border-top","flush-bottom"],["href","http://go/task-mission-control"],["id","needs-attention-sidebar-link",1,"bv2-nav-item"],["class","canned-search-icon","svgIcon","crisis_alert_24px","matBadgeColor","warn","matBadgeSize","small",3,"matBadge","matBadgeHidden","matBadgeDescription",
4,"ngIf","ngIfElse"],["noBadge",""],["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),K(1,"b-create-issue-button"),J(),H(2,"div",1)(3,"div",2)(4,"ul",3),R(5,Q3a,10,4,"ng-container",4),R(6,V3a,12,10,"li",5),H(7,"li",6)(8,"a",7),O("click",function(c){return b.onAnchorClick(b.assignedPath,c)}),K(9,"mat-icon",8),S(10," Assigned to me "),J(),R(11,W3a,3,1,"ng-container",4),T(12,"async"),H(13,"mat-menu",null,9),R(15,Y3a,
2,0,"ng-template",10),J()(),H(16,"li")(17,"a",7),O("click",function(c){return b.onAnchorClick(b.starredPath,c)}),K(18,"mat-icon",11),S(19," Starred by me "),J()(),H(20,"li")(21,"a",7),O("click",function(c){return b.onAnchorClick(b.ccdPath,c)}),K(22,"mat-icon",12),S(23," CC'd to me "),J()(),H(24,"li")(25,"a",7),O("click",function(c){return b.onAnchorClick(b.reportedPath,c)}),K(26,"mat-icon",13),S(27," Reported by me "),J()(),R(28,$3a,4,3,"li",14),H(29,"li")(30,"a",7),O("click",function(c){return b.onAnchorClick(b.verifiedPath,
c)}),K(31,"mat-icon",15),S(32," To be verified "),J()(),R(33,a4a,4,3,"li",14),J(),K(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),S(41," Create hotlist "),J()(),H(42,"div",20)(43,"a",21),S(44," Create bookmark group "),J()(),H(45,"div",20)(46,"a",21),S(47," Browse components "),J()()()());a&2&&(C(5),G("ngIf",b.enableHomepageVariantA),C(1),G("ngIf",b.showNeedsAttentionUI),C(1),Ie("selected",b.appSearchState.currentQuery===
cSc(b.userEmail)),C(1),G("href",b.assignedPath,vd),C(3),G("ngIf",U(12,28,b.hasPreferredHomepage$)),C(5),Ie("selected",b.appSearchState.isStarred()),C(1),G("href",b.starredPath,vd),C(3),Ie("selected",b.appSearchState.currentQuery==="cc:"+b.userEmail),C(1),G("href",b.ccdPath,vd),C(3),Ie("selected",b.appSearchState.currentQuery==="reporter:"+b.userEmail),C(1),G("href",b.reportedPath,vd),C(3),G("ngIf",b.enabledVotedNav),C(1),Ie("selected",b.appSearchState.currentQuery===dSc(b.userEmail)),C(1),G("href",
b.verifiedPath,vd),C(3),G("ngIf",b.recentlyViewedPath),C(1),G("bookmarkGroups",b.sidebarData.bookmarkGroups),C(1),G("searches",b.sidebarData.userSearches),C(1),G("hotlists",b.sidebarData.hotlists),C(1),G("hotlists",b.sidebarData.archivedHotlists)("bookmarkGroups",b.sidebarData.archivedBookmarkGroups),C(3),G("href",b.createHotlistPath,vd),C(3),G("href",b.createBookmarkGroupPath,vd),C(3),G("href",b.componentsPath,vd))},dependencies:[HX,Tu,yy,jz,PA,NA,OA,MA,fY,RX,aY,bY,cY,Zu],encapsulation:2});var hY=function(){};hY.\u0275fac=function(a){return new (a||hY)};hY.\u0275mod=Bc({type:hY});hY.\u0275inj=oc({imports:[MF]});var iY=function(){};iY.\u0275fac=function(a){return new (a||iY)};iY.\u0275mod=Bc({type:iY});iY.\u0275inj=oc({imports:[gv]});var jY=function(a,b,c,d,e,g,h,l){XX.call(this,a,b,c,d,e,g,h,l);this.hoverDelayMs=500;this.activity=new F.Subject;this.attachMouseEventListeners(c.nativeElement)};V(jY,XX);f=jY.prototype;f.ngOnInit=function(){XX.prototype.ngOnInit.call(this);this.listenForOpenEvents(this.hoverDelayMs)};
f.listenForOpenEvents=function(a){var b=this,c=this.openStatusChange.pipe(Nja(function(){return b.activity.pipe(de(a))}));c.pipe(qe(this.destroyed)).subscribe(function(d){d?b.openDialog():b.closeDialog()});this.openings.pipe(Zd(function(d){return d&&0<b.beforeOpened.observers.length}),Hka(function(){return c.pipe(Zd(function(d){return!d}))}),qe(this.destroyed)).subscribe(function(){b.ngZone.run(function(){b.beforeOpened.emit()})})};
f.attachMouseEventListeners=function(a){var b=this;this.stackManager&&this.stackManager.unregisterEvent().pipe(de(this.hoverDelayMs),qe(this.destroyed)).subscribe(function(){a.matches(":hover")||b.viewContainerRef.element.nativeElement.matches(":hover")?b.openingDialog():b.closingDialog()});this.ngZone.runOutsideAngular(function(){(0,F.fromEvent)(a,"mouseenter").pipe(qe(b.destroyed)).subscribe(function(){b.openingDialog()});(0,F.fromEvent)(a,"click").pipe(qe(b.destroyed)).subscribe(function(){b.openingDialog();
b.openDialog()});(0,F.fromEvent)(a,"mouseleave").pipe(qe(b.destroyed)).subscribe(function(){b.closingDialog()});(0,F.fromEvent)(a,"mousemove").pipe(qe(b.destroyed)).subscribe(function(){b.activity.next()})})};f.attachKeyboardCloseEventListeners=function(a){var b=this;this.ngZone.runOutsideAngular(function(){(0,F.fromEvent)(a,"keydown").pipe(qe(b.destroyed)).subscribe(function(c){switch(c.keyCode){case 27:var d;(null==(d=b.overlayRef)?0:d.hasAttached())&&c.stopPropagation();b.closeDialog()}})})};
f.openingDialog=function(){this.disabled||(this.openStatusChange.next(!0),this.activity.next())};f.closingDialog=function(){this.openStatusChange.next(!1);this.activity.next()};f.createOverlayConfig=function(a){return new Gx(Object.assign({},this.overlayDimensions,{positionStrategy:XX.prototype.createPositionStrategy.call(this,a),scrollStrategy:VRc(this),panelClass:this.panelClassInternal}))};jY.\u0275fac=function(a){return new (a||jY)(D(te),D(Ox),D(fd),D(ff),D(eg),D(hx),D(ex),D(Qt))};
jY.\u0275dir=Cc({type:jY,selectors:[["","xapInlineDialog",""]],hostAttrs:[1,"xap-inline-dialog"],inputs:{dialog:["xapInlineDialog","dialog"],disabled:["xapInlineDialogDisabled","disabled"],hoverDelayMs:"hoverDelayMs"},exportAs:["xapInlineDialog"],features:[xe]});[].concat(Jc([jY,YX,ZX,YRc]),[WX]);var kY=function(){};kY.\u0275fac=function(a){return new (a||kY)};kY.\u0275mod=Bc({type:kY});kY.\u0275inj=oc({imports:[dx,gv,Rx,iw]});var lY=function(){};lY.\u0275fac=function(a){return new (a||lY)};lY.\u0275mod=Bc({type:lY});lY.\u0275inj=oc({imports:[MF,hY,EU,cN,yN,GU,iY,zC,YA,Qv,kY,aP]});var mY=function(){};mY.\u0275fac=function(a){return new (a||mY)};mY.\u0275mod=Bc({type:mY});mY.\u0275inj=oc({imports:[MF,uO]});var nY=function(){};nY.\u0275fac=function(a){return new (a||nY)};nY.\u0275mod=Bc({type:nY});nY.\u0275inj=oc({imports:[dx,Sx,Sx]});var oY=function(){};oY.\u0275fac=function(a){return new (a||oY)};oY.\u0275mod=Bc({type:oY});oY.\u0275inj=oc({imports:[mY,MF,lY,YA,WB,QA,nY,XB]});var pY=function(){};pY.\u0275fac=function(a){return new (a||pY)};pY.\u0275prov=nc({token:pY,factory:pY.\u0275fac,providedIn:"root"});var qY=function(a){this.executor=a};V(qY,pY);qY.\u0275fac=function(a){return new (a||qY)(w(BC))};qY.\u0275prov=nc({token:qY,factory:qY.\u0275fac,providedIn:"root"});var rY=function(a,b){kE.call(this);this.dialogRef=a;this.tosApi=b;this.ackChecked=!1};V(rY,kE);rY.\u0275dir=kE.\u0275dir;rY.prototype.accept=function(){var a=this;this.tosApi.executor.post({url:"action/terms_ack",body:null,responseConstructor:null}).pipe(qe(this.destroyed$)).subscribe(function(){a.dialogRef.close()})};rY.\u0275fac=function(a){return new (a||rY)(D(Iy),D(pY))};
rY.\u0275cmp=zc({type:rY,selectors:[["b-terms-of-service-dialog"]],features:[xe],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),S(1,"Google IssueTracker Terms of Service"),J(),H(2,"mat-dialog-content")(3,"div",1)(4,"mat-checkbox",
2),O("ngModelChange",function(c){return b.ackChecked=c}),J(),H(5,"span"),S(6," I acknowledge and agree to the "),H(7,"a",3),S(8,"Google Terms of Service"),J(),S(9," and the "),H(10,"a",4),S(11,"Google IssueTracker Conduct Policy"),J(),S(12,". "),J()()(),H(13,"mat-dialog-actions")(14,"button",5),O("click",function(){return b.accept()}),S(15," OK "),J()());a&2&&(C(4),G("ngModel",b.ackChecked),C(10),G("disabled",!b.ackChecked))},dependencies:[tv,zv,yy,VN,Ny,Oy,Py],styles:[".b-tos-content[_ngcontent-%COMP%]{padding-top:1em}.b-tos-content[_ngcontent-%COMP%]   mat-checkbox[_ngcontent-%COMP%]{padding-right:8px}"]});var sY=function(a,b){kE.call(this);this.activeSession=a;this.matDialogService=b};V(sY,kE);sY.\u0275dir=kE.\u0275dir;sY.prototype.ngOnInit=function(){this.activeSession.getMustAcknowledgeTerms()&&Gy(this.matDialogService.open(rY,{width:"400px",disableClose:!0})).pipe(qe(this.destroyed$))};sY.\u0275fac=function(a){return new (a||sY)(D(rp),D(Ly))};sY.\u0275cmp=zc({type:sY,selectors:[["b-terms-of-service"]],features:[xe],decls:0,vars:0,template:function(){},encapsulation:2});var tY=function(){};tY.\u0275fac=function(a){return new (a||tY)};tY.\u0275mod=Bc({type:tY});tY.\u0275inj=oc({imports:[Qv,MF,WB,zO,Qy]});var uY=function(){};uY.\u0275fac=function(a){return new (a||uY)};uY.\u0275mod=Bc({type:uY});uY.\u0275inj=oc({imports:[MF,tY]});var d4a=0;var kSc=UAa("blinkers-activated"),lSc=il("blinkers-activated"),mSc=e4a("debug-dom-mutation","var(--c400)"),nSc=e4a("debug-ng-zone","var(--red-400)"),oSc=e4a("debug-xhr","var(--green-500)",1200),pSc=function(a,b,c){b=void 0===b?"#ccc":b;c=void 0===c?400:c;d4a++;var d=156;d+=12*(d4a-1);return function(e,g){g=void 0===g?b:g;var h,l=null!=(h=document.getElementById(a))?h:b4a(a,d);l.style.transition="opacity "+c+"ms";l.style.backgroundColor=g;l.style.opacity=e?"1":"0"}}("active-user","var(--yellow-500)"),
vY=function(a,b){this.activityMonitor=a;this.userActivity=b;this.destroyed$=new F.Subject;this.publicApi={isEnabled:this.isEnabled.bind(this),enable:this.enable.bind(this),disable:this.disable.bind(this)};this.isEnabled()&&qSc(this)};vY.prototype.ngOnDestroy=function(){this.destroyed$.next();this.activityMonitor.domObserver.disconnect()};vY.prototype.isEnabled=function(){return lSc()};vY.prototype.enable=function(){this.isEnabled()||(kSc(!0),qSc(this))};
vY.prototype.disable=function(){kSc(!1);this.destroyed$.next();this.activityMonitor.domObserver.disconnect()};var qSc=function(a){a.activityMonitor.dom$.pipe(qe(a.destroyed$)).subscribe(function(){return void mSc()});enc(a.activityMonitor);a.activityMonitor.cdr$.pipe(qe(a.destroyed$)).subscribe(function(){return void nSc()});a.activityMonitor.xhr$.pipe(qe(a.destroyed$)).subscribe(function(){return void oSc()});a.userActivity.active$.pipe(qe(a.destroyed$)).subscribe(function(b){return void pSc(b)})};
vY.\u0275fac=function(a){return new (a||vY)(w(vH),w(xH))};vY.\u0275prov=nc({token:vY,factory:vY.\u0275fac,providedIn:"root"});var wY=function(a,b,c,d,e,g,h,l,q,v){var y=this;this.activeSession=a;this.appEvents=b;this.ngZone=c;this.window=d;this.buganizerBlinkers=e;this.currentUser=g;this.routeParamsService=h;this.issueFridge=l;this.eventsForIssueFridge=q;this.customFieldFridge=v;this.getCurrentIssueId=function(){var B;return null==(B=y.routeParamsService.routeParams$.value)?void 0:B.issueId};this.getCurrentIssue=function(){var B=y.getCurrentIssueId();if(null!=B)return y.issueFridge.memory.getData(B)};this.getCurrentIssueEvents=
function(){var B=y.getCurrentIssueId();if(null!=B)return y.eventsForIssueFridge.memory.getData(B)}};
wY.prototype.install=function(){if(this.activeSession.isInternalSession()){var a=this;this.window.bedbug={ngZone:this.ngZone,appEvents:this.appEvents,requestKeeper:cnc,activeSession:this.activeSession,blinkers:this.buganizerBlinkers.publicApi,toggleDebugLogging:Smc("debug-logging"),toggleOptOutExperiments:Smc("opt-out-experiments"),currentUser:this.currentUser,fridges:{issueFridge:this.issueFridge,eventsForIssueFridge:this.eventsForIssueFridge,customFieldFridge:this.customFieldFridge},get initialSession(){return bk()},
get prefs(){return bk().userPreferences},get currentIssue(){return a.getCurrentIssue()},get currentIssueEvents(){return a.getCurrentIssueEvents()},get flags(){return bk().config.enabledFlags}}}};wY.\u0275fac=function(a){return new (a||wY)(w(rp),w(cG),w(te),w(jE),w(vY),w(pI),w(pJ),w(IH),w(pF),w(hG))};wY.\u0275prov=nc({token:wY,factory:wY.\u0275fac,providedIn:"root"});var rSc=function(a){this.delegate_=a};rSc.prototype.getDelegate=function(){return this.delegate_};var sSc=function(a,b){this.delegate_=a;this.currentTarget_=b;this.target_=null};V(sSc,rSc);sSc.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=tSc(b,a.pop());return this.target_=b};sSc.prototype.getType=function(){return this.getDelegate().xa};var uSc=function(a){this.delegate_=a};V(uSc,rSc);f=uSc.prototype;f.listen=function(a,b,c,d){var e=this;return this.getDelegate().za(a,function(g){return b.call(d||ca,new sSc(g,e))},c)};f.listenOnce=function(){throw Error("Td");};f.unlisten=function(){throw Error("Td");};f.unlistenByKey=function(){throw Error("Td");};f.dispatchEvent=function(){throw Error("Td");};f.removeAllListeners=function(){throw Error("Td");};f.getParentEventTarget=function(){throw Error("Td");};
f.fireListeners=function(){throw Error("Td");};f.getListener=function(){throw Error("Td");};f.hasListener=function(){throw Error("Td");};uSc.prototype[B3b]=!0;var xY=function(a){this.delegate_=a};V(xY,uSc);xY.prototype.getHeight=function(){return this.getDelegate().pa()};xY.prototype.setPageTitle=function(){this.getDelegate().pb(void 0)};xY.prototype.setBackgroundColor=function(a){this.getDelegate().pd(a)};xY.prototype.getBackgroundColor=function(){return this.getDelegate().pn()};var vSc=function(a,b){this.delegate_=a;this.wrapperConstructor_=b||null};V(vSc,rSc);vSc.prototype.then=function(a,b,c){var d;a&&(d=wSc(this,a));this.getDelegate().aa(d,b,c)};var wSc=function(a,b){var c=a.wrapperConstructor_;return c?function(d){b.call(this,new c(d))}:b};var yY=function(a){this.delegate_=a||gbar.a;this.gapiPromise_=this.barPromise_=null};V(yY,rSc);yY.prototype.getGapi=function(){this.gapiPromise_||(this.gapiPromise_=new vSc(this.getDelegate().bh()));return this.gapiPromise_};yY.getInstance=function(){if(yY.instance_&&yY.hasOwnProperty("instance_"))var a=yY.instance_;else a=new yY,yY.instance_=a;return a};var zY=function(a,b){kE.call(this);this.router=a;this.window=b};V(zY,kE);zY.\u0275dir=kE.\u0275dir;zY.prototype.start=function(){var a=this;return(new Promise(function(b,c){var d=yY.getInstance();d.barPromise_||(d.barPromise_=new vSc(d.getDelegate().bf(),xY));d.barPromise_.then(b,c)})).then(function(b){xSc(a,b)})};var xSc=function(a,b){a.router.events.pipe(Zd(tBa),qe(a.destroyed$)).subscribe(function(){b.getDelegate().pl(a.window.location.href)})};
zY.\u0275fac=function(a){return new (a||zY)(w(GG),w(jE))};zY.\u0275prov=nc({token:zY,factory:zY.\u0275fac,providedIn:"root"});var AY=function(a,b,c){kE.call(this);var d=this;this.paramsService=a;this.issueFetchResponseFridge=b;this.eventsForIssueFridge=c;this.handlers$=this.paramsService.routeParams$.pipe(fe(Fg),pe(function(e){return d.onRouteParamsChanged(e)}));this.init=function(){d.subscriptions.add(d.handlers$.subscribe(function(){}))};this.initOnce=FBa(this.init)};V(AY,kE);AY.\u0275dir=kE.\u0275dir;
AY.prototype.onRouteParamsChanged=function(a){var b=this,c,d;return Ld(function(e){if(1==e.nextAddress){c={trustUncertainMemory:!0};if(!a.issueId)return e.jumpTo(2);d=a.issueId;return e.yield(Promise.all([NH(b.issueFetchResponseFridge,d,c),b.eventsForIssueFridge.poke(d,c)]),3)}return e.return()})};AY.\u0275fac=function(a){return new (a||AY)(w(pJ),w(LH),w(pF))};AY.\u0275prov=nc({token:AY,factory:AY.\u0275fac,providedIn:"root"});var BY=function(a){kE.call(this);var b=this;this.scrollTimingMap=new Map;a.routeChangeSuccess.pipe(qe(this.destroyed$)).subscribe(function(){b.scrollTimingMap.clear()})};V(BY,kE);BY.\u0275dir=kE.\u0275dir;BY.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)};BY.\u0275fac=function(a){return new (a||BY)(w(zH))};
BY.\u0275prov=nc({token:BY,factory:BY.\u0275fac,providedIn:"root"});var CY=function(a,b,c,d,e,g,h,l,q,v,y,B,I,N,Q,Z,Y,ka,la,Da,za,Oa,Va){kE.call(this);var Ya=this;this.bLocation=a;this.reloadService=b;this.timeout=c;this.activeSession=d;this.hotkeys=e;this.paths=g;this.userPrefs=h;this.issuePagination=l;this.userFeedback=B;this.ngZone=I;this.matDialogService=N;this.renderer=Y;this.announcement=this.dismissedMessageId=null;this.matSidebarWidth=220;this.isAnonymous=this.activeSession.isAnonymous();this.sidebarDragSaver=this.sidebarDragOffset=null;Oa.install();Va.install();
bnc(y);this.subscriptions.add(v.onClickAppMenuIcon.subscribe(function(){Ya.matSidebarWidth=185>Ya.matSidebarWidth?"open":0}));h.homepagePreferences$.pipe(qe(this.destroyed$)).subscribe(function(ib){Q.homepagePreferences=ib});this.densityClass="d-comfort";this.renderer.addClass(document.body,this.densityClass);this.userPrefs.themePreferences$.pipe(qe(this.destroyed$)).subscribe(function(ib){ib=l4a(ib.density);ib!==Ya.densityClass&&(Ya.renderer.addClass(document.body,ib),Ya.renderer.removeClass(document.body,
Ya.densityClass),Ya.densityClass=ib)});this.subscriptions.add(gSc(q,function(ib){Ya.doSearch(ib)}));var Xb=g.createIssue(),Bb=g.listIssues({q:cSc(d.getUserEmail())}),db=g.listIssues({q:"cc:"+d.getUserEmail()}),wa=g.listIssues({q:dSc(d.getUserEmail())}),Na=g.listIssues({q:"reporter:"+d.getUserEmail()}),Qa=g.listIssues({q:q.getStarred()}),nb=g.listIssues({q:q.getVoted()});this.subscriptions.add(cM(this.hotkeys,{title:"General",hotkeys:[{keys:["/","F3"],displayAs:"/ or F3",description:"Search",onPress:function(){var ib=
document.querySelector(".search-box-container .search-box");null==ib||ib.focus();null==ib||ib.select()}},{keys:[Kl("2"),OHa()],displayAs:"@ or Alt+Shift+f",description:"Send feedback",onPress:function(){Ya.startFeedback()}},{keys:["c"],displayAs:"c",description:"Create issue",onPress:function(){a.url(Xb)}},{keys:[Ll("g","n")],displayAs:"g then n",description:'Go to "Needs attention"',onPress:function(){a.url(g.needsAttention())}},{keys:[Ll("g","a")],displayAs:"g then a",description:'Go to "Assigned to me"',
onPress:function(){a.url(Bb)}},{keys:[Ll("g","c")],displayAs:"g then c",description:'Go to "CC\'d to me"',onPress:function(){a.url(db)}},{keys:[Ll("g","r")],displayAs:"g then r",description:'Go to "Reported by me"',onPress:function(){a.url(Na)}},{keys:[Ll("g","s")],displayAs:"g then s",description:'Go to "Starred by me"',onPress:function(){a.url(Qa)}},{keys:[Ll("g","1")],displayAs:"g then 1",description:'Go to "Upvoted by me"',onPress:function(){a.url(nb)}},{keys:[Ll("g","v")],displayAs:"g then v",
description:'Go to "To be verified"',onPress:function(){a.url(wa)}},{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(ib){if(0===ib&&20<Ya.sidebarDragPosition||1===ib&&!(20<Ya.sidebarDragPosition))20<Ya.sidebarDragPosition?ySc(Ya,20,1):ySc(Ya,Ya.lastOpenPosition,
1);Ya.matSidebarWidth=0===ib?0:"open"}},{keys:["?",NHa("F1")],displayAs:"? or Ctrl+F1",description:"Display the keyboard shortcuts pop-up",onPress:function(){Ya.matDialogService.open(uX,{minWidth:512})}}]}));this.lastOpenPosition=this.sidebarDragPosition=220;this.announcement=this.activeSession.getAnnouncement();this.userPrefs.preferences$.pipe(ge(),qe(this.destroyed$)).subscribe(function(ib){Ya.dismissedMessageId=ib.bannerMessageId||"";ib=(ib.layoutPreferences||{}).leftSidebarWidth;Ya.matSidebarWidth=
ib||220;if(void 0===ib)Ya.sidebarDragPosition=220;else if(90>ib)Ya.sidebarDragPosition=20;else{if(220<ib){var hd=zSc();ib>hd&&(ib=hd)}185>ib&&(ib=185);Ya.sidebarDragPosition=ib}});(0,F.fromEvent)(document,"mouseup",{capture:!0}).pipe(qe(this.destroyed$)).subscribe(function(){Ya.sidebarDragOffset&&(Ya.sidebarDragOffset=null,ySc(Ya,Ya.sidebarDragPosition,1))});(0,F.fromEvent)(Q,"resize").pipe(qe(this.destroyed$)).subscribe(function(){if(220<Ya.sidebarDragPosition){var ib=zSc();Ya.sidebarDragPosition>
ib&&ySc(Ya,ib,3E3)}});this.ngZone.runOutsideAngular(function(){(0,F.fromEvent)(document,"mousemove").pipe(qe(Ya.destroyed$)).subscribe(function(ib){if(Ya.sidebarDragOffset){ib=ib.pageX-Ya.sidebarDragOffset;if(90>ib)ib=20;else if(185>ib)ib=185;else{var hd=zSc();ib>hd&&(ib=hd)}ySc(Ya,ib,0)}})});ka.start();WAa()&&(null!=Vmc&&Vmc.disconnect(),Vmc=new lBa.PerformanceObserver(iBa),Vmc.observe({entryTypes:["measure"]}));setTimeout(f4a,6E4);la.start();Da.initOnce();za.initOnce();Q.emergencyBugjugglerWorkaround=
{session:d,issueComments:Z}};V(CY,kE);CY.\u0275dir=kE.\u0275dir;CY.prototype.startDragging=function(a){this.sidebarDragOffset=a.pageX-this.sidebarDragPosition;a.preventDefault()};CY.prototype.isDragging=function(){return null!==this.sidebarDragOffset};
var zSc=function(){var a=window.innerWidth;return 1075<=a?a-855:220},j4a=function(a,b){a.userPrefs.layoutPreferences$.pipe(pe(function(c){return a.userPrefs.save({layoutPreferences:Object.assign({},c,{leftSidebarWidth:b})})})).pipe(ge(),qe(a.destroyed$)).subscribe()},ySc=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(){j4a(a,20===a.sidebarDragPosition?
0:a.sidebarDragPosition);a.sidebarDragSaver=null},c).catch(function(){}))};CY.prototype.doSearch=function(a){a=this.paths.listIssues({q:a});var b=hmc(this.paths,a);zX(this.issuePagination);b&&nub(this.reloadService);this.bLocation.url(a)};var g4a=function(a){null!==a.announcement&&(a.dismissedMessageId=a.announcement.messageId,a.userPrefs.save({bannerMessageId:a.dismissedMessageId}).pipe(ge(),qe(a.destroyed$)).subscribe())};CY.prototype.startFeedback=function(){this.userFeedback.startFeedback()};
CY.\u0275fac=function(a){return new (a||CY)(D(NG),D(LX),D(EF),D(rp),D(bM),D(OG),D(TI),D(yX),D(dY),D(cG),D(uH),D(wQ),D(te),D(Ly),D(jE),D(mI),D(Ut),D(zY),D(BY),D(AX),D(AY),D(wY),D(xH))};
CY.\u0275cmp=zc({type:CY,selectors:[["app-root"]],features:[xe],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"],[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&&(K(0,"b-hiring-banner")(1,"b-terms-of-service"),R(2,i4a,4,2,"div",0),K(3,"b-sso-expired-callout-outlet"),H(4,"div",1),R(5,k4a,2,2,"b-resizable-sidebar",2),H(6,"div",3),K(7,"b-router-outlet"),J()(),K(8,"b-footer")(9,"bug-screensaver-manager"));if(a&2){C(2);var c;a=b.announcement;a=void 0===a?b.announcement:a;if(null!=(c=a)&&c.message){var d;
c=0<(null==(d=a.tags)?void 0:d.length)?!1:a.dismissible?null==b.dismissedMessageId?!1:a.messageId!==b.dismissedMessageId:!0}else c=!1;G("ngIf",c);C(3);G("ngIf",!b.isAnonymous)}},dependencies:function(){return[Tu,mRc,wO,gY,sY,KQc,jRc,kRc,JQc]},encapsulation:2});var DY=function(){};DY.\u0275fac=function(a){return new (a||DY)};DY.\u0275mod=Bc({type:DY});DY.\u0275inj=oc({imports:[MF,FX,yO,oY,uY,tX,DX,EX,CX,WB,YA,vX]});var EY=function(){};EY.\u0275fac=function(a){return new (a||EY)};EY.\u0275mod=Bc({type:EY});EY.\u0275inj=oc({imports:[MF]});var ASc=Object.assign({},new r2b,{backdropClass:"gmat-dialog-backdrop",panelClass:"gmat-dialog-panel",hasBackdrop:!0}),FY=function(){};FY.\u0275fac=function(a){return new (a||FY)};FY.\u0275mod=Bc({type:FY});FY.\u0275inj=oc({providers:[{provide:s2b,useValue:ASc}],imports:[Qy,Qy]});var GY=function(){};GY.\u0275fac=function(a){return new (a||GY)};GY.\u0275mod=Bc({type:GY});GY.\u0275inj=oc({imports:[MF,FY,WB,Qy,YA,xN,HT,mX,EY]});var BSc=function(a,b,c,d){Uv.call(this,a,b,c,d,!0);var e=this;this.escapeSubject$=new F.Subject;this.startAnchorListener=function(){e.escapeSubject$.next(0);return!0};this.endAnchorListener=function(){e.escapeSubject$.next(1);return!0};dZb(this)};V(BSc,Uv);var HY=function(a,b,c){this.checker=a;this.ngZone=b;this.document=c};HY.prototype.create=function(a){return new BSc(a,this.checker,this.ngZone,this.document)};HY.\u0275fac=function(a){return new (a||HY)(w(Tv),w(te),w(eg))};
HY.\u0275prov=nc({token:HY,factory:HY.\u0275fac,providedIn:"root"});var CSc=["content"],IY=function(a){kE.call(this);this.focusEscapeNotifierFactory=a;this.trapFocus=this.required=!1;this.renderPanel=this.noneButtonEnabled=this.todayButtonEnabled=!0;this.dateChange=new tu;this.cancelClicked=new tu;this.saveClicked=new tu;this.dateSelectionChange=new tu;this.focusEscaped=new tu};V(IY,kE);IY.\u0275dir=kE.\u0275dir;
IY.prototype.ngAfterViewInit=function(){var a=this;setTimeout(function(){m4a(a,a.date);a.calendar._getCurrentViewComponent()._focusActiveCell(!1)});this.focusEscapeNotifier=this.focusEscapeNotifierFactory.create(this.content.nativeElement);this.focusEscapeNotifier.escapeSubject$.pipe(qe(this.destroyed$)).subscribe(function(b){if(a.trapFocus)if(0===b){var c;null==(c=a.focusEscapeNotifier)||bZb(c)}else{var d;null==(d=a.focusEscapeNotifier)||cZb(d)}else a.focusEscaped.emit(b)})};
var m4a=function(a,b){if(b=b instanceof sl?b:hCa(b))a.calendar.activeDate=b};IY.\u0275fac=function(a){return new (a||IY)(D(HY))};
IY.\u0275cmp=zc({type:IY,selectors:[["b-date-time-picker-content"]],viewQuery:function(a,b){a&1&&(jf(xy,7),jf(CSc,7));if(a&2){var c;hf(c=lf())&&(b.calendar=c.first);hf(c=lf())&&(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:[xe],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&&(Ne(),H(0,"div",null,0)(2,"div",1),Oe(3),J(),H(4,"mat-calendar",2),O("selectedChange",function(c){b.date=c;b.dateSelectionChange.emit(c)}),T(5,"toDateTime"),T(6,"toDateTime"),J(),H(7,"div",3),R(8,p4a,4,2,"div",4),H(9,"div",5)(10,"button",6),O("click",function(){return b.cancelClicked.emit()}),S(11,"Cancel"),J(),H(12,"button",7),O("click",function(){b.dateChange.emit(b.date);return b.saveClicked.emit()}),S(13,"Save"),J()()()());a&2&&(Ie("container",b.renderPanel),C(4),G("selected",
U(5,5,b.date))("startAt",U(6,7,b.date)),C(4),G("ngIf",b.todayButtonEnabled||b.noneButtonEnabled))},dependencies:function(){return[Tu,yy,xy,TL,JY]},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}\n/*# sourceMappingURL=date_time_picker_content.css.map */"]});
var JY=function(){};JY.prototype.transform=function(a){var b;return null!=(b=hCa(a))?b:void 0};JY.\u0275fac=function(a){return new (a||JY)};JY.\u0275pipe=Dc({name:"toDateTime",type:JY,pure:!0});var DSc=[{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"}],KY=function(a,b,c){kE.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 tu;this.dateSelectionChange=new tu;this.onClose=
new tu;this.opened=!1;this.destroyed$.subscribe(function(){var e;null==(e=d.overlayRef)||e.dispose()})};V(KY,kE);f=KY.prototype;f.open=function(){this.opened||(this.overlayRef=this.createOverlay(),this.attach(),this.opened=!0)};f.close=function(a){a=void 0===a?!1:a;if(this.opened){var b;null==(b=this.overlayRef)||b.dispose();this.overlayRef=void 0;this.opened=!1;a||this.hostEl.nativeElement.focus();this.onClose.emit()}};
f.createOverlay=function(){var a=this.getPositionStrategy(),b=this.getScrollStrategy();a=this.overlay.create({positionStrategy:a,scrollStrategy:b,hasBackdrop:!0,backdropClass:"b-date-time-picker-backdrop",panelClass:"b-date-time-picker-popup"});a.overlayElement.setAttribute("role","dialog");return a};f.attach=function(){var a=this,b=new cw(IY),c;this.pickerContent=null==(c=this.overlayRef)?void 0:c.attach(b).instance;var d;null==(d=this.overlayRef)||d.updatePosition();setTimeout(function(){ESc(a)})};
f.getPositionStrategy=function(){return Jx(Kx(Lx(Nx(this.overlay.position(),this.element)),8),DSc)};f.getScrollStrategy=function(){return this.overlay.scrollStrategies.reposition()};
var ESc=function(a){if(a.pickerContent&&a.overlayRef){var b=(0,F.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(qe(b)).subscribe(function(){setTimeout(function(){return a.element.nativeElement.focus()})});a.pickerContent.dateChange.pipe(qe(b)).subscribe(function(c){a.selectedChange.emit(c)});a.pickerContent.dateSelectionChange.pipe(qe(b)).subscribe(function(c){a.dateSelectionChange.emit(c)});
(0,F.merge)(a.pickerContent.saveClicked,a.pickerContent.cancelClicked,a.overlayRef.backdropClick(),a.overlayRef.keydownEvents().pipe(Zd(function(c){return"Escape"===c.code}))).pipe(qe(b)).subscribe(function(){a.close()})}};KY.\u0275fac=function(a){return new (a||KY)(D(Ox),D(fd),D(fd))};
KY.\u0275dir=Cc({type:KY,selectors:[["","bDateTimePickerToggle",""]],hostAttrs:["aria-haspopup","true"],hostVars:1,hostBindings:function(a,b){a&1&&O("click",function(c){b.openOnClick&&b.open();c.preventDefault();c.stopPropagation()})("keydown.enter",function(c){b.openOnEnter&&b.open();c.preventDefault();c.stopPropagation()})("keydown.tab",function(c){b.focusTrapHost&&b.pickerContent&&b.pickerContent.focusEscapeNotifier&&(cZb(b.pickerContent.focusEscapeNotifier),c.preventDefault())})("keydown.shift.tab",
function(c){b.focusTrapHost&&b.pickerContent&&b.pickerContent.focusEscapeNotifier&&(bZb(b.pickerContent.focusEscapeNotifier),c.preventDefault())});a&2&&Ae("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:[xe]});var FSc=["pickerToggle"],LY=function(){this.customAriaLabelledBy=this.customFormId=void 0;this.required=!1;this.valueChange=new tu};LY.\u0275fac=function(a){return new (a||LY)};
LY.\u0275cmp=zc({type:LY,selectors:[["b-date-time-input"]],viewQuery:function(a,b){a&1&&jf(FSc,7);if(a&2){var c;hf(c=lf())&&(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),O("bDateTimePickerToggleSelectedChange",function(c){b.value=c;b.valueChange.emit(c)}),R(2,q4a,1,1,"b-formatted-date-time",2),R(3,r4a,2,0,"ng-container",3),J());a&2&&(G("id",b.customFormId)("bDateTimePickerToggleRequired",b.required)("bDateTimePickerToggleSelected",b.value)("bDateTimePickerToggleFocusTrapHost",
!1),Ae("aria-labelledby",b.customAriaLabelledBy),C(2),G("ngIf",b.value),C(1),G("ngIf",!b.value))},dependencies:[KY,BK,yy,Tu],styles:["\n/*# sourceMappingURL=date_time_input.css.map */"]});var GSc=["filterInput"],MY=function(a){kE.call(this);this.dateFormatter=a;this.enumChoices=[];this.onSave=new tu;this.valueMap=new Map;this.sortedValues=[];this.filterValue=null;this.currentSelectedDate=void 0};V(MY,kE);MY.\u0275dir=kE.\u0275dir;f=MY.prototype;f.ngOnInit=function(){this.initValues()};f.ngOnChanges=function(a){a.originalValueMap&&this.initValues()};f.ngAfterViewInit=function(){var a=this,b;null==(b=this.trigger)||b.menuOpened.pipe(pe(function(){return(0,F.timer)(0)}),qe(this.destroyed$)).subscribe(function(){a.focusFilterBox()})};
f.showMenu=function(){this.trigger.openMenu()};f.closeMenu=function(){this.trigger.closeMenu()};f.focusFilterBox=function(){var a;null==(a=this.filterElement)||a.nativeElement.focus()};var HSc=function(a){return a.filterValue&&"REPEATED_DATE"!==a.type?a.sortedValues.filter(function(b){return a.getDisplayString(b).includes(String(a.filterValue))}):a.sortedValues};
MY.prototype.addValue=function(){var a=this.filterValue;this.filterValue=null;a&&!this.valueMap.get(a)&&(this.valueMap.set(a,!0),ISc(this),this.onSave.emit({valueMap:this.valueMap,valueChanged:this.valueChanged()}))};MY.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})};
MY.prototype.initValues=function(){this.valueMap=new Map(this.originalValueMap||[]);this.enumChoices=this.enumChoices||[];for(var a=k(this.enumChoices),b=a.next();!b.done;b=a.next())b=b.value,this.valueMap.has(b)||this.valueMap.set(b,!1);ISc(this)};
var ISc=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)})},t4a=function(a){return!!a.filterValue&&"REPEATED_ENUM"!==a.type&&"REPEATED_DATE"!==a.type};MY.prototype.getDisplayString=function(a){return"REPEATED_DATE"===this.type?this.dateFormatter.formatUserCalendar(osa(a)):a};MY.prototype.getLabel=function(){return this.valueChanged()?"Changed":"Unchanged"};
MY.\u0275fac=function(a){return new (a||MY)(D(aJ))};
MY.\u0275cmp=zc({type:MY,selectors:[["b-bulk-repeated-field-picker"]],viewQuery:function(a,b){a&1&&(jf(OA,5),jf(GSc,5));if(a&2){var c;hf(c=lf())&&(b.trigger=c.first);hf(c=lf())&&(b.filterElement=c.first)}},inputs:{type:"type",originalValueMap:"originalValueMap",enumChoices:"enumChoices"},outputs:{onSave:"onSave"},features:[xe,Mc],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"),S(2),J(),K(3,"b-icon",1),J(),H(4,"mat-menu",null,2),R(6,s4a,3,4,"div",3),K(7,"mat-divider"),H(8,"div",4),R(9,u4a,2,3,"input",5),J(),R(10,v4a,1,0,"mat-divider",6),R(11,w4a,2,0,"div",7),R(12,x4a,4,1,"div",6),J());if(a&2){var c=Se(5);G("matMenuTriggerFor",c);C(2);Ve(b.getLabel());C(4);G("ngForOf",HSc(b));C(3);G("ngIf","REPEATED_DATE"!==
b.type);C(1);G("ngIf",t4a(b));C(1);G("ngIf",t4a(b));C(1);G("ngIf","REPEATED_DATE"===b.type)}},dependencies:[Su,Tu,yy,PA,NA,OA,TL,$M,VN,Af,tv,zv,LY],styles:[".multi-edit-menuitem[_ngcontent-%COMP%]{padding:0 5px}.filter[_ngcontent-%COMP%]{padding:0 5px}\n/*# sourceMappingURL=bulk_repeated_field_picker.css.map */"]});var JSc=0,NY=function(a){this.changeDetectorRef=a;this.active=!1;this.id="b-list-option-"+JSc;JSc+=1};NY.prototype.setActiveStyles=function(){this.active=!0;this.changeDetectorRef.markForCheck()};NY.prototype.setInactiveStyles=function(){this.active=!1;this.changeDetectorRef.markForCheck()};NY.\u0275fac=function(a){return new (a||NY)(D(Lu))};
NY.\u0275dir=Cc({type:NY,selectors:[["","onedevListOption",""]],hostVars:3,hostBindings:function(a,b){a&2&&(Me("id",b.id),Ie("active",b.active))},inputs:{option:"option"},exportAs:["onedevListOption"]});var OY=function(){};OY.\u0275fac=function(a){return new (a||OY)};OY.\u0275mod=Bc({type:OY});OY.\u0275inj=oc({});var z4a=function(){return{$implicit:void 0}},C4a=function(a){return{$implicit:a}},PY=function(a){this.includeEmptyOption=this.disabled=!1;this.valueChange=new tu;this.selected=new tu;this.destroyed$=new F.ReplaySubject(1);a&&this.handleKeydown(a.keydown$)};f=PY.prototype;f.ngOnInit=function(){};f.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};f.ngAfterViewInit=function(){this.keyManager=kx(new ox(this.viewOptions))};f.ngOnChanges=function(a){a.value&&KSc(this)};
f.isSelected=function(a){return this.value===a};f.select=function(a){this.disabled||(this.isSelected(a)||this.valueChange.emit(a),this.selected.emit())};var KSc=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)}};PY.prototype.clearActiveItem=function(){this.keyManager&&this.keyManager.activeItem&&this.keyManager.setActiveItem(-1)};
PY.prototype.handleKeydown=function(a){var b=this;a.pipe(qe(this.destroyed$)).subscribe(function(c){if(!b.disabled&&b.keyManager){var d=c.code;"ArrowUp"===d||"ArrowDown"===d?(c.preventDefault(),b.keyManager.onKeydown(c)):"Home"===d||"End"===d?(c.preventDefault(),"Home"===d?b.keyManager._setActiveItemByIndex(0,1):F0b(b.keyManager)):"Enter"!==d&&"Space"!==d||!b.keyManager.activeItem||(c.preventDefault(),b.select(b.keyManager.activeItem.option))}})};PY.\u0275fac=function(a){return new (a||PY)(D(gM,8))};
PY.\u0275cmp=zc({type:PY,selectors:[["onedev-selectable-list"]],viewQuery:function(a,b){a&1&&jf(NY,5);if(a&2){var c;hf(c=lf())&&(b.viewOptions=c)}},hostAttrs:["role","listbox"],hostVars:3,hostBindings:function(a,b){a&1&&O("focus",function(){return KSc(b)})("blur",function(){return b.clearActiveItem()});a&2&&(a=b.keyManager&&b.keyManager.activeItem?b.keyManager.activeItem.id:void 0,Ae("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:[Mc],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&&(R(0,A4a,2,5,"div",0),R(1,E4a,2,1,"ng-container",1),R(2,K4a,3,2,"ng-template",null,2,of));a&2&&(G("ngIf",b.includeEmptyOption),C(1),G("ngForOf",b.options))},dependencies:[Su,Tu,Yu,NY],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 QY=function(){};var LSc=["trigger"],M4a=function(a){return{$implicit:a}},MSc=0,RY=function(a){this.includeEmptyOption=this.disabled=!1;this.label="";this.valueChange=new tu;this.displayArrowIcon=!0;this.focused=this.required=this.openPopupOnInit=!1;this.contentId="onedev-single-select-"+MSc;this.onChange=function(){};this.onTouched=function(){};if(""===a||"true"===a||"required"===a)this.required=!0;MSc++};V(RY,QY);f=RY.prototype;f.ngOnInit=function(){};
f.ngAfterViewInit=function(){this.openPopupOnInit&&(this.popupTrigger.open(),this.focused=!0)};f.writeValue=function(a){this.val=a};f.onSelectionChange=function(a){a!==this.val&&(this.onChange(a),this.value=a,this.valueChange.emit(a))};f.isActive=function(){return this.popupTrigger.isOpen||this.focused};f.contentAriaLabelledBy=function(){if(this.labelledById)return this.labelledById+" "+this.contentId};f.registerOnChange=function(a){this.onChange=a};
f.registerOnTouched=function(a){this.onTouched=a};var NSc=function(a){var b="";a.label&&(b+=a.label+", ");a.required&&(b+="required, ");return b};RY.prototype.setDisabledState=function(a){this.disabled=a};gg.Object.defineProperties(RY.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(a)}}});RY.\u0275fac=function(a){return new (a||RY)($c("required"))};
RY.\u0275cmp=zc({type:RY,selectors:[["onedev-single-select"]],viewQuery:function(a,b){a&1&&jf(LSc,7);if(a&2){var c;hf(c=lf())&&(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:[Xe([{provide:iv,useExisting:tc(function(){return RY}),
multi:!0},{provide:QY,useExisting:tc(function(){return RY}),multi:!0}]),xe],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=x();H(0,"button",0,1);O("focus",function(){return b.focused=!0})("blur",function(){return b.focused=!1})("click",
function(){z(c);var g=Se(1);return A(g.open())})("closed",function(){b.onTouched()});H(2,"span",2);S(3);J();R(4,N4a,2,4,"ng-container",3);R(5,Q4a,1,2,"ng-template",null,4,of);R(7,T4a,3,2,"ng-template",null,5,of);R(9,U4a,2,0,"svg",6);J();H(10,"onedev-popup-panel",7,8)(12,"onedev-selectable-list",9);O("valueChange",function(g){return b.onSelectionChange(g)})("selected",function(){z(c);var g=Se(1);return A(g.close())});J()()}if(a&2){var d=Se(6),e=Se(11);Ie("active",b.isActive());G("onedevPopupPanelTriggerDisabled",
b.disabled)("disabled",b.disabled)("onedevPopupPanelTriggerFor",e);Ae("id",b.contentId)("aria-labelledby",b.contentAriaLabelledBy());C(3);Ve(NSc(b));C(1);G("ngIf",b.valueTemplate)("ngIfElse",d);C(5);G("ngIf",b.displayArrowIcon);C(1);G("relayOnly",!0);C(2);G("value",b.value)("includeEmptyOption",b.includeEmptyOption)("options",b.options)("optionTemplate",b.optionTemplate)("label",b.label)}},dependencies:[Tu,Yu,gM,PY,hM,iM],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 b5a=function(){return[]},SY=function(a,b){this.data=a;this.dialogRef=b;this.customFields=[];this.originalCustomFields=new Map;this.repeatedCustomFieldsMap=new Map;this.issues=[];this.bulkEditOps=[];this.issues=a};f=SY.prototype;
f.ngOnInit=function(){for(var a=new Map,b=null,c=k(this.issues),d=c.next();!d.done;d=c.next()){var e=d.value;d=e.customFieldMap;e=e.customFieldValueMap;if(!b){b=new Map;for(var g=k(Object.keys(d)),h=g.next();!h.done;h=g.next())h=h.value,b.set(Ig(h),e[h]||void 0)}g=k(b);for(h=g.next();!h.done;h=g.next()){var l=k(h.value);h=l.next().value;l=l.next().value;var q=d[h],v=e[h],y=void 0,B=null==(y=q)?void 0:y.type;if(q)if("REPEATED_DATE"===B||"REPEATED_ENUM"===B||"REPEATED_NUMERIC"===B||"REPEATED_TEXT"===
B){l=this.repeatedCustomFieldsMap.get(h)||new Map;q=0===l.size;v=OSc(v);y=Array.from(l.keys()).concat(v);y=k(y);for(B=y.next();!B.done;B=y.next())B=B.value,v.includes(B)?l.has(B)||l.set(B,q||null):l.set(B,null);this.repeatedCustomFieldsMap.set(h,l)}else(!v&&void 0!==l||v&&!Fg(v,l))&&b.set(h,null);else b.delete(h)}d=k(Object.entries(d));for(e=d.next();!e.done;e=d.next())g=k(e.value),e=g.next().value,g=g.next().value,a.set(Number(e),Gg(g))}this.customFields=Array.from(b.keys()).map(function(I){return a.get(I)}).filter(function(I){return I});
this.customFields=this.customFields.map(function(I){var N=b.get(I.customFieldId);I.hasMultipleValues=null===N;N?I=Object.assign(N,I):I.hasMultipleValues||"ENUM"!==I.type||(I.enumValue="");return I});c=k(this.customFields);for(d=c.next();!d.done;d=c.next())d=d.value,this.originalCustomFields.set(d.customFieldId,Gg(d))};
f.clearCustomFieldValue=function(a){a.hasMultipleValues=!1;switch(a.type){case "TEXT":a.textValue="";break;case "DATE":a.dateValue=null;break;case "ENUM":a.enumValue="";break;case "NUMERIC":a.numericValue=null}};f.getCustomFieldName=function(a){return a.name};f.isCustomFieldRequired=function(a){return a.required};f.getCustomFieldAllowedValues=function(a){return a.allowedValue};f.getCustomFieldType=function(a){return a.type};
var X4a=function(a){return"bv2-custom-field-"+a.customFieldId+"-label"},OSc=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()}):[]},$4a=function(a){return a?Eg(a):null},d5a=function(a,b,c){for(var d=k(a.bulkEditOps),e=d.next();!e.done;e=d.next())e=e.value,e.actions=e.actions.filter(function(y){return y.customFieldValue.customFieldId!==
b});a.bulkEditOps=a.bulkEditOps.filter(function(y){return y.actions.length});if(c.valueChanged){d={};e=k(a.issues);for(var g=e.next();!g.done;d={$jscomp$loop$prop$issueValues$2339:d.$jscomp$loop$prop$issueValues$2339,$jscomp$loop$prop$action$2340:d.$jscomp$loop$prop$action$2340},g=e.next()){g=g.value;var h=Bda(g.customFieldValueMap,function(y){return y.customFieldId===b});d.$jscomp$loop$prop$issueValues$2339=OSc(h);c.valueMap.forEach(function(y){return function(B,I){B&&!y.$jscomp$loop$prop$issueValues$2339.includes(I)?
y.$jscomp$loop$prop$issueValues$2339.push(I):!1===B&&(y.$jscomp$loop$prop$issueValues$2339=y.$jscomp$loop$prop$issueValues$2339.filter(function(N){return N!==I}))}}(d));h=a.originalCustomFields.get(b).type;var l=[],q=[];"REPEATED_DATE"==h?l=d.$jscomp$loop$prop$issueValues$2339.map(function(y){return Xra(osa(y))}):"REPEATED_NUMERIC"==h&&(q=d.$jscomp$loop$prop$issueValues$2339.map(function(y){return Number(y)}));var v=new Og({customFieldId:b});switch(h){case "REPEATED_TEXT":v.repeatedTextValue={values:d.$jscomp$loop$prop$issueValues$2339};
break;case "REPEATED_DATE":v.repeatedDateValue={values:l};break;case "REPEATED_ENUM":v.repeatedEnumValue={values:d.$jscomp$loop$prop$issueValues$2339};break;case "REPEATED_NUMERIC":v.repeatedNumericValue={values:q}}d.$jscomp$loop$prop$action$2340={fieldName:"customField",customFieldValue:v,actionType:v.isEmpty()?"REMOVE":"ADD"};h=a.bulkEditOps.findIndex(function(y){return function(B){return B.actions.some(function(I){return Fg(y.$jscomp$loop$prop$action$2340,I)})}}(d));-1!==h?a.bulkEditOps[h].issueIds.push(g.issueId):
a.bulkEditOps.push({actions:[d.$jscomp$loop$prop$action$2340],issueIds:[g.issueId]})}}},PSc=function(a){var b=a.customFields.filter(function(l){return!l.type.includes("REPEATED")&&!Fg(l,a.originalCustomFields.get(l.customFieldId))}),c=[];b=k(b);for(var d=b.next();!d.done;d=b.next()){var e=d.value;d=new Og({customFieldId:e.customFieldId});switch(e.type){case "TEXT":d.textValue=e.textValue;break;case "DATE":d.dateValue=e.dateValue||void 0;break;case "ENUM":d.enumValue=e.enumValue;break;case "NUMERIC":var g=
void 0;d.numericValue=null!=(g=e.numericValue)?g:void 0}if(e=d.isEmpty())d.textValue="";c.push({fieldName:"customField",customFieldValue:d,actionType:e?"REMOVE":"ADD"})}if(c.length){var h=a.issues.map(function(l){return l.issueId});b=a.bulkEditOps.findIndex(function(l){a:if(l=l.issueIds,sa(h)&&sa(l)&&h.length==l.length){for(var q=h.length,v=0;v<q;v++)if(h[v]!==l[v]){l=!1;break a}l=!0}else l=!1;return l});-1!==b?a.bulkEditOps[b].actions=a.bulkEditOps[b].actions.concat(c):a.bulkEditOps.push({actions:c,
issueIds:h})}};SY.\u0275fac=function(a){return new (a||SY)(D(Ky),D(Iy))};
SY.\u0275cmp=zc({type:SY,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),S(1,"Update custom fields"),J(),H(2,"mat-dialog-content"),R(3,V4a,2,0,"div",1),R(4,h5a,8,6,"div",2),J(),H(5,"mat-dialog-actions")(6,"button",3),O("class",function(){return b.dialogRef.close()}),S(7,"Cancel"),J(),H(8,"button",4),O("click",
function(){PSc(b);b.bulkEditOps.length?b.dialogRef.close(b.bulkEditOps):b.dialogRef.close()}),S(9," Save "),J()());a&2&&(C(3),G("ngIf",0===b.customFields.length),C(1),G("ngForOf",b.customFields))},dependencies:[Su,Tu,Uu,Vu,Wu,yy,My,Ny,Oy,Py,RY,MY,Af,Bv,tv,zv,LY,XA],encapsulation:2});var QSc=/^[ \t\xA0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000]/,RSc=/^[\s\xA0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000]+/,SSc=function(a){this.patternParts_=[];this.dateTimeSymbols_=cz;"number"==typeof a?this.applyStandardPattern_(a):this.applyPattern_(a)};
SSc.prototype.applyPattern_=function(a){for(var b=!1,c="",d=0;d<a.length;d++){var e=a.charAt(d);if(QSc.test(e))for(0<c.length&&(this.patternParts_.push({text:c,count:0,abutStart:!1,numeric:!1}),c=""),this.patternParts_.push({text:" ",count:0,abutStart:!1,numeric:!1});d<a.length-1&&" "==a.charAt(d+1);)d++;else if(b)"'"==e?d+1<a.length&&"'"==a.charAt(d+1)?(c+="'",d++):b=!1:c+=e;else if(0<="GyMdkHmsSEDabBhKzZvQL".indexOf(e)){0<c.length&&(this.patternParts_.push({text:c,count:0,abutStart:!1,numeric:!1}),
c="");for(var g=a.charAt(d),h=d+1;h<a.length&&a.charAt(h)==g;)h++;g=h-d;0>=g?h=!1:(h="MydhHmsSDkK".indexOf(e),h=0<h||0==h&&3>g);this.patternParts_.push({text:e,count:g,abutStart:!1,numeric:h});d+=g-1}else"'"==e?d+1<a.length&&"'"==a.charAt(d+1)?(c+="'",d++):b=!0:c+=e}0<c.length&&this.patternParts_.push({text:c,count:0,abutStart:!1,numeric:!1});a=!1;for(b=0;b<this.patternParts_.length;b++)this.patternParts_[b].numeric?!a&&b+1<this.patternParts_.length&&this.patternParts_[b+1].numeric&&(a=!0,this.patternParts_[b].abutStart=
!0):a=!1};SSc.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)};
SSc.prototype.parse=function(a,b,c){var d=!1,e=!1;c&&(d=c.predictive||!1,e=c.validate||!1);if(d)for(c=0;c<this.patternParts_.length;c++){var g=this.patternParts_[c];if(0<g.count&&(0>"abBhHkKm".indexOf(g.text.charAt(0))||2<g.count||g.abutStart))throw Error("Ud`"+g.text.charAt(0));}g=new TSc;c=[0];g.dayPeriodIndex=-1;for(var h=0;h<this.patternParts_.length&&!(d&&c[0]>=a.length);h++){if(0==this.patternParts_[h].count){a:{var l=a;var q=this.patternParts_[h],v=d;if(null!=q.text.match(QSc)){if(q=c[0],USc(l,
c),c[0]>q){l=!0;break a}}else{if(l.indexOf(q.text,c[0])==c[0]){c[0]+=q.text.length;l=!0;break a}if(v&&0==q.text.indexOf(l.substring(c[0]))){c[0]+=l.length-c[0];l=!0;break a}}l=!1}if(l)continue;return 0}if(this.patternParts_[h].abutStart){a:{q=a;v=h;var y=c[0],B=0;for(l=v;l<this.patternParts_.length;l++){var I=this.patternParts_[l],N=I.count;if(0===N)break;if(l==v&&(N-=B,B++,0==N)){l=0;break a}var Q=l>v&&I.numeric,Z=c[0];if(!VSc(this,q,c,I,N,g,!1)||Q&&c[0]-Z<N)l=v-1,c[0]=y}l-=v}if(0>=l)return 0;h+=
l-1}else if(!VSc(this,a,c,this.patternParts_[h],0,g,d))return 0}a:{a=e;if(null==b)throw Error("Vd");void 0!=g.era&&void 0!=g.year&&0==g.era&&0<g.year&&(g.year=-(g.year-1));void 0!=g.year&&b.setFullYear(g.year);d=b.getDate();b.setDate(1);void 0!=g.month&&b.setMonth(g.month);void 0!=g.day?b.setDate(g.day):(e=W2b(b.getFullYear(),b.getMonth()),b.setDate(d>e?e:d));"function"===typeof b.setHours&&(void 0==g.hours&&(g.hours=b.getHours()),12>g.hours&&(void 0!=g.ampm&&0<g.ampm?g.hours+=12:void 0!==g.dayPeriodName&&
("isPm noon afternoon1 afternoon2 evening1 evening2".split(" ").includes(g.dayPeriodName)||["night1","night2"].includes(g.dayPeriodName)&&6<=g.hours)&&(g.hours+=12)),b.setHours(g.hours));"function"===typeof b.setMinutes&&void 0!=g.minutes&&b.setMinutes(g.minutes);"function"===typeof b.setSeconds&&void 0!=g.seconds&&b.setSeconds(g.seconds);"function"===typeof b.setMilliseconds&&void 0!=g.milliseconds&&b.setMilliseconds(g.milliseconds);if(a&&(g.year&&g.year!=b.getFullYear()||g.month&&g.month!=b.getMonth()||
g.day&&g.day!=b.getDate()||g.hours&&24<=g.hours||g.minutes&&60<=g.minutes||g.seconds&&60<=g.seconds||g.milliseconds&&1E3<=g.milliseconds))b=!1;else{void 0!=g.tzOffset&&b.setTime(b.getTime()+6E4*(g.tzOffset-b.getTimezoneOffset()));g.ambiguousYear&&(a=new Date,a.setFullYear(a.getFullYear()-80),b.getTime()<a.getTime()&&b.setFullYear(a.getFullYear()+100));if(void 0!=g.dayOfWeek)if(void 0==g.day)g=(7+g.dayOfWeek-b.getDay())%7,3<g&&(g-=7),a=b.getMonth(),b.setDate(b.getDate()+g),b.getMonth()!=a&&b.setDate(b.getDate()+
(0<g?-7:7));else if(g.dayOfWeek!=b.getDay()){b=!1;break a}b=!0}}return b?c[0]:0};
var VSc=function(a,b,c,d,e,g,h){USc(b,c);if(d.numeric&&0<e&&c[0]+e>b.length)return!1;switch(d.text.charAt(0)){case "G":return TY(b,c,[a.dateTimeSymbols_.ERAS],function(l){return g.era=l}),!0;case "M":case "L":return WSc(a,b,c,e,d,g);case "E":return TY(b,c,[a.dateTimeSymbols_.WEEKDAYS,a.dateTimeSymbols_.SHORTWEEKDAYS],function(l){return g.dayOfWeek=l});case "B":case "b":return e=[],a=[[].concat(a.dateTimeSymbols_.AMPMS)],e.push("isAm"),e.push("isPm"),b=TY(b,c,a,function(l){return g.dayPeriodIndex=
l},h),g.dayPeriodName=e[g.dayPeriodIndex],h?b:!0;case "a":return b=TY(b,c,[a.dateTimeSymbols_.AMPMS],function(l){return g.ampm=l},h),h?b:!0;case "y":return XSc(a,b,c,d,e,g);case "Q":return TY(b,c,[a.dateTimeSymbols_.QUARTERS,a.dateTimeSymbols_.SHORTQUARTERS],function(l){g.month=3*l;g.day=1});case "d":return YSc(a,b,c,d,e,function(l){g.day=l}),!0;case "S":return ZSc(a,b,c,e,g);case "h":case "K":case "H":case "k":return b=YSc(a,b,c,d,e,function(l){g.hours="h"===d.text.charAt(0)&&12===l?0:l},h),h?b:
!0;case "m":return b=YSc(a,b,c,d,e,function(l){g.minutes=l},h),h?b:!0;case "s":return YSc(a,b,c,d,e,function(l){g.seconds=l}),!0;case "z":case "Z":case "v":return $Sc(a,b,c,g);default:return!1}},XSc=function(a,b,c,d,e,g){var h=c[0];e=UY(a,b,c,e);null===e&&(e=UY(a,b,c,0,!0));if(null===e)return!1;0<=e&&2==c[0]-h&&2==d.count?(a=e,b=(new Date).getFullYear()-80,c=b%100,g.ambiguousYear=a==c,a+=100*Math.floor(b/100)+(a<c?100:0),g.year=a):g.year=e;return!0},WSc=function(a,b,c,d,e,g){return e.numeric&&YSc(a,
b,c,e,d,function(h){g.month=h-1})?!0:TY(b,c,[a.dateTimeSymbols_.MONTHS,a.dateTimeSymbols_.STANDALONEMONTHS,a.dateTimeSymbols_.SHORTMONTHS,a.dateTimeSymbols_.STANDALONESHORTMONTHS],function(h){g.month=h})},ZSc=function(a,b,c,d,e){var g=c[0];a=UY(a,b,c,d);if(null===a)return!1;c=c[0]-g;e.milliseconds=3>c?a*Math.pow(10,3-c):Math.round(a/Math.pow(10,c-3));return!0},$Sc=function(a,b,c,d){b.indexOf("GMT",c[0])==c[0]&&(c[0]+=3);if(c[0]>=b.length)return d.tzOffset=0,!0;var e=c[0],g=UY(a,b,c,0,!0);if(null===
g)return!1;if(c[0]<b.length&&":"==b.charAt(c[0])){var h=60*g;c[0]++;g=UY(a,b,c,0);if(null===g)return!1;h+=g}else h=g,h=24>h&&3>=c[0]-e?60*h:h%100+h/100*60;d.tzOffset=-h;return!0},YSc=function(a,b,c,d,e,g,h){h=h||!1;var l=c[0];a=UY(a,b,c,e);if(null===a)return!1;if(h&&c[0]-l<d.count){if(c[0]<b.length)return!1;a*=Math.pow(10,d.count-(c[0]-l))}g(a);return!0},TY=function(a,b,c,d,e){e=e||!1;for(var g,h=0;h<c.length;h++){g=b;for(var l=c[h],q=e,v=0,y=null,B=a.substring(g[0]).toLowerCase(),I=0;I<l.length;I++){var N=
l[I].toLowerCase();if(q&&0==N.indexOf(B)){v=B.length;y=I;break}l[I].length>v&&0==B.indexOf(N)&&(v=l[I].length,y=I)}null!==y&&(g[0]+=v);g=y;if(null!==g)return d(g),!0}return!1},USc=function(a,b){(a=a.substring(b[0]).match(RSc))&&(b[0]+=a[0].length)},UY=function(a,b,c,d,e){b=0<d?b.substring(0,c[0]+d):b;e=e||!1;if(a.dateTimeSymbols_.ZERODIGIT){d=[];for(var g=c[0];g<b.length;g++){var h=b.charCodeAt(g)-a.dateTimeSymbols_.ZERODIGIT;d.push(0<=h&&9>=h?String.fromCharCode(h+48):b.charAt(g))}b=d.join("")}else b=
b.substring(c[0]);a=b.match(new RegExp("^"+(e?"[+-]?":"")+"\\d+"));if(!a)return null;c[0]+=a[0].length;return parseInt(a[0],10)},TSc=function(){};TSc.prototype.ambiguousYear=!1;var Z1b=Array(31).fill(0).map(function(a,b){return""+(b+1)}),VY=function(){var a=Tx.apply(this,arguments)||this;a.locale=cz;return a};V(VY,Tx);f=VY.prototype;f.setLocale=function(){throw Error("Wd");};f.getYear=function(a){return a.getYear()};f.getMonth=function(a){return a.getMonth()};f.getDate=function(a){return a.getDate()};f.getDayOfWeek=function(a){return a.getDay()};var Y1b=function(a,b){switch(b){case "long":return a.locale.WEEKDAYS;case "narrow":return a.locale.NARROWWEEKDAYS;default:return a.locale.SHORTWEEKDAYS}};
VY.prototype.getFirstDayOfWeek=function(){return(this.locale.FIRSTDAYOFWEEK+1)%7};VY.prototype.clone=function(a){return a.clone()};var ty=function(a,b,c){return new sl(a,b,c)};VY.prototype.parse=function(a,b){if(""===a)return null;b=new SSc(a.match(/\d{3,}/)?b:b.replace("yyyy","yy"));var c=new sl(new Date(a));b.parse(a,c);return c};VY.prototype.format=function(a,b){if(!this.isValid(a))throw Error("Xd");return(new ez(b)).format(a)};
var ry=function(a,b){a=a.clone();a.add(new dz(b));return a},sy=function(a,b){a=a.clone();a.add(new dz(0,b));return a},qy=function(a,b){a=a.clone();a.add(new dz(0,0,b));return a},m1b=function(a){return a instanceof sl};VY.prototype.isValid=function(a){return!isNaN(a.getTime())};VY.prototype.invalid=function(){return new sl(NaN)};VY.prototype.sameDate=function(a,b){return a&&b?(new Dg(a)).equals(b):!1};VY.\u0275fac=function(){var a;return function(b){return(a||(a=dd(VY)))(b||VY)}}();
VY.\u0275prov=nc({token:VY,factory:VY.\u0275fac});var aTc={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"},WY=aTc;WY=aTc;var XY=cz.DATEFORMATS[3];XY=XY.replace(/yyyy/,"yy").replace(/yy/,"yyyy");"M/d/yyyy"===XY&&(XY="MM/dd/yyyy");var bTc={parse:{dateInput:XY},display:{dateInput:XY,monthYearLabel:WY.YEAR_MONTH_ABBR,dateA11yLabel:WY.MONTH_DAY_YEAR_MEDIUM,monthYearA11yLabel:WY.YEAR_MONTH_FULL}};var YY=function(){};YY.\u0275fac=function(a){return new (a||YY)};YY.\u0275mod=Bc({type:YY});YY.\u0275inj=oc({providers:[{provide:Tx,useClass:VY},{provide:Wx,useValue:bTc}],imports:[MF,YA,WB,yC,mU,dx]});var ZY=function(){};ZY.\u0275fac=function(a){return new (a||ZY)};ZY.\u0275mod=Bc({type:ZY});ZY.\u0275inj=oc({imports:[YY,bN,YA,WB,MF]});var $Y=function(){};$Y.\u0275fac=function(a){return new (a||$Y)};$Y.\u0275mod=Bc({type:$Y});$Y.\u0275inj=oc({imports:[MF,QA,mU,pU,vN,WB,bz,zO,Qv,ZY]});var aZ=function(){};aZ.\u0275fac=function(a){return new (a||aZ)};aZ.\u0275mod=Bc({type:aZ});aZ.\u0275inj=oc({imports:[gv]});var bZ=function(){};bZ.\u0275fac=function(a){return new (a||bZ)};bZ.\u0275mod=Bc({type:bZ});bZ.\u0275inj=oc({imports:[gv,WB,OY]});var cZ=function(){};cZ.\u0275fac=function(a){return new (a||cZ)};cZ.\u0275mod=Bc({type:cZ});cZ.\u0275inj=oc({imports:[gv,YA,WB,Qv,aZ,bZ,jM]});var dZ=function(){};dZ.\u0275fac=function(a){return new (a||dZ)};dZ.\u0275mod=Bc({type:dZ});dZ.\u0275inj=oc({imports:[MF,Qy,cZ,$Y,Qv,ZY,WB,zC]});var eZ=function(){};eZ.\u0275fac=function(a){return new (a||eZ)};eZ.\u0275mod=Bc({type:eZ});eZ.\u0275inj=oc({imports:[MF,bN,zO,WB,Qy,lN,KO,yN,TO]});var cTc=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"]]),dTc=new Map([["ENABLED","Enabled"],["DISABLED","Disabled"]]),k5a=new Map([["BUGANIZER_DEFAULT","Default (10 years)"],["CUSTOM_PERIOD","Custom Period"],["INDEFINITE_RETENTION","Indefinite"]]),l5a=new Map([["BUGANIZER_DEFAULT",
"Default (60 days)"],["CUSTOM_PERIOD","Custom Period"],["INDEFINITE_RETENTION","Match Issue Retention"]]),fZ=function(a,b){this.$log=a;this.sessionIsInternal=b.isInternalSession()};fZ.\u0275fac=function(a){return new (a||fZ)(w(YF),w(rp))};fZ.\u0275prov=nc({token:fZ,factory:fZ.\u0275fac,providedIn:"root"});var n5a=new Map([["SLO_SOURCE_UNSPECIFIED","--"],["USER","User"],["BUGSCOPE","Bugscope"]]);var gZ=function(a,b){kE.call(this);this.componentFridge=a;this.activeSession=b;this.providedComponentId$=new F.ReplaySubject(1);this.component$=this.providedComponentId$.pipe(pe(this.componentFridge.watch),ne({refCount:!0,bufferSize:1}));this.init=new F.ReplaySubject(1);this.isAnonymous=this.activeSession.isAnonymous()};V(gZ,kE);gZ.\u0275dir=kE.\u0275dir;
gZ.prototype.ngOnInit=function(){var a=this;this.providedComponentId$.next(this.componentId);this.recentIssuesUrl=Ik({q:"status:open componentid:"+this.componentId,s:"created_time:desc"});this.createIssueUrl=Hk("issues/new",{params:void 0})+"?component="+this.componentId;this.viewComponentUrl=rya(this.componentId,"basic");this.component$.pipe(ge(),qe(this.destroyed$)).subscribe(function(){a.init.next()})};gZ.\u0275fac=function(a){return new (a||gZ)(D(xF),D(rp))};
gZ.\u0275cmp=zc({type:gZ,selectors:[["b-component-card"]],inputs:{componentId:"componentId"},outputs:{init:"init"},features:[xe],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),R(2,r5a,16,8,"ng-container",2),T(3,"async"),J()());a&2&&(C(2),G("ngIf",U(3,1,b.component$)))},
dependencies:[Tu,HO,Zu],styles:["[_nghost-%COMP%]{max-width:400px}ul[_ngcontent-%COMP%]{list-style-type:none;padding:0}"]});var hZ=function(){this.changes=new F.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}};hZ.\u0275fac=function(a){return new (a||hZ)};hZ.\u0275prov=nc({token:hZ,factory:hZ.\u0275fac,providedIn:"root"});
var eTc={provide:hZ,deps:[[new Ot,new Pt,hZ]],useFactory:function(a){return a||new hZ}};new Hc("MAT_PAGINATOR_DEFAULT_OPTIONS");
var fTc=jg(vqa(function(){})),iZ=function(a,b,c){var d=fTc.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 tu;d._intlChanges=a.changes.subscribe(function(){return d._changeDetectorRef.markForCheck()});if(c){var e=c.pageSize,g=c.pageSizeOptions,h=c.hidePageSize;c=c.showFirstLastButtons;null!=e&&(d._pageSize=e);null!=g&&(d._pageSizeOptions=g);null!=h&&(d._hidePageSize=h);null!=
c&&(d._showFirstLastButtons=c)}return d};V(iZ,fTc);f=iZ.prototype;f.ngOnInit=function(){this._initialized=!0;this._updateDisplayedPageSizeOptions();this._markInitialized()};f.ngOnDestroy=function(){this._intlChanges.unsubscribe()};f.nextPage=function(){if(this.hasNextPage()){var a=this.pageIndex;this.pageIndex+=1;this._emitPageEvent(a)}};f.hasPreviousPage=function(){return 1<=this.pageIndex&&0!=this.pageSize};
f.hasNextPage=function(){return this.pageIndex<(this.pageSize?Math.ceil(this.length/this.pageSize):0)-1&&0!=this.pageSize};f._changePageSize=function(a){var b=this.pageIndex;this.pageIndex=Math.floor(this.pageIndex*this.pageSize/a)||0;this.pageSize=a;this._emitPageEvent(b)};f._nextButtonsDisabled=function(){return this.disabled||!this.hasNextPage()};f._previousButtonsDisabled=function(){return this.disabled||!this.hasPreviousPage()};
f._updateDisplayedPageSizeOptions=function(){this._initialized&&(this.pageSize||(this._pageSize=0!=this.pageSizeOptions.length?this.pageSizeOptions[0]:50),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),-1===this._displayedPageSizeOptions.indexOf(this.pageSize)&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort(function(a,b){return a-b}),this._changeDetectorRef.markForCheck())};
f._emitPageEvent=function(a){this.page.emit({previousPageIndex:a,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})};
gg.Object.defineProperties(iZ.prototype,{pageIndex:{configurable:!0,enumerable:!0,get:function(){return this._pageIndex},set:function(a){this._pageIndex=Math.max(Hf(a),0);this._changeDetectorRef.markForCheck()}},length:{configurable:!0,enumerable:!0,get:function(){return this._length},set:function(a){this._length=Hf(a);this._changeDetectorRef.markForCheck()}},pageSize:{configurable:!0,enumerable:!0,get:function(){return this._pageSize},set:function(a){this._pageSize=Math.max(Hf(a),0);this._updateDisplayedPageSizeOptions()}},
pageSizeOptions:{configurable:!0,enumerable:!0,get:function(){return this._pageSizeOptions},set:function(a){this._pageSizeOptions=(a||[]).map(function(b){return Hf(b)});this._updateDisplayedPageSizeOptions()}},hidePageSize:{configurable:!0,enumerable:!0,get:function(){return this._hidePageSize},set:function(a){this._hidePageSize=Ef(a)}},showFirstLastButtons:{configurable:!0,enumerable:!0,get:function(){return this._showFirstLastButtons},set:function(a){this._showFirstLastButtons=Ef(a)}}});
iZ.\u0275fac=function(){kd()};iZ.\u0275dir=Cc({type:iZ,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",selectConfig:"selectConfig"},outputs:{page:"page"},features:[xe]});var gTc=new Hc("MAT_LEGACY_PAGINATOR_DEFAULT_OPTIONS"),jZ=function(a,b,c){a=iZ.call(this,a,b,c)||this;c&&null!=c.formFieldAppearance&&(a._formFieldAppearance=c.formFieldAppearance);return a};V(jZ,iZ);jZ.\u0275dir=iZ.\u0275dir;jZ.\u0275fac=function(a){return new (a||jZ)(D(hZ),D(Lu),D(gTc,8))};
jZ.\u0275cmp=zc({type:jZ,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[xe],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),R(2,v5a,5,3,"div",2),H(3,"div",3)(4,"div",4),S(5),J(),R(6,w5a,3,5,"button",5),H(7,"button",6),O("click",function(){if(b.hasPreviousPage()){var c=b.pageIndex;--b.pageIndex;b._emitPageEvent(c)}}),Xc(),H(8,"svg",7),K(9,"path",8),J()(),Yc(),H(10,"button",9),O("click",function(){return b.nextPage()}),Xc(),H(11,"svg",7),K(12,"path",10),J()(),R(13,x5a,3,5,"button",11),J()()());a&2&&(C(2),G("ngIf",!b.hidePageSize),C(3),Te(" ",b._intl.getRangeLabel(b.pageIndex,
b.pageSize,b.length)," "),C(1),G("ngIf",b.showFirstLastButtons),C(1),G("matTooltip",b._intl.previousPageLabel)("matTooltipDisabled",b._previousButtonsDisabled())("matTooltipPosition","above")("disabled",b._previousButtonsDisabled()),Ae("aria-label",b._intl.previousPageLabel),C(3),G("matTooltip",b._intl.nextPageLabel)("matTooltipDisabled",b._nextButtonsDisabled())("matTooltipPosition","above")("disabled",b._nextButtonsDisabled()),Ae("aria-label",b._intl.nextPageLabel),C(3),G("ngIf",b.showFirstLastButtons))},
dependencies:[Su,Tu,yy,Yy,CO,Ay,XA],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 kZ=function(a){this.paths=a;this.children=[];this.onVisit=new tu;this.pageSize=25;this.pageSizeOptions=[10,25,100];this.childrenOnPage=[]};kZ.prototype.ngOnInit=function(){this.childrenOnPage=this.children.slice(0,this.pageSize)};kZ.\u0275fac=function(a){return new (a||kZ)(D(OG))};
kZ.\u0275cmp=zc({type:kZ,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&&(R(0,y5a,1,3,"mat-paginator",0),H(1,"ul",1),R(2,
z5a,6,4,"li",2),J());a&2&&(G("ngIf",b.children.length>b.pageSize),C(2),G("ngForOf",b.childrenOnPage))},dependencies:[Su,Tu,QJ,VJ,gZ,jZ],encapsulation:2});var lZ=function(){};lZ.\u0275fac=function(a){return new (a||lZ)};lZ.\u0275mod=Bc({type:lZ});lZ.\u0275inj=oc({imports:[MF,MO]});var mZ=function(){};mZ.\u0275fac=function(a){return new (a||mZ)};mZ.\u0275mod=Bc({type:mZ});mZ.\u0275inj=oc({providers:[eTc],imports:[gv,WB,DO,zC,Sx]});var nZ=function(){};nZ.\u0275fac=function(a){return new (a||nZ)};nZ.\u0275mod=Bc({type:nZ});nZ.\u0275inj=oc({imports:[MF,cN,lZ,mZ]});var oZ=function(){this.shouldShowCopyIssueShortLinks=!1;this.shortLinkPrefix="b/";this.onClickCopyIssueIds=new tu;this.onClickCopyIssueShortLinks=new tu;this.onClickCopyAsIssueSearch=new tu};oZ.\u0275fac=function(a){return new (a||oZ)};
oZ.\u0275cmp=zc({type:oZ,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),O("click",function(){return b.onClickCopyIssueIds.emit()}),K(2,"b-icon",1),J(),H(3,"button",2),K(4,"b-icon",3),J(),H(5,"mat-menu",null,4),R(7,A5a,2,1,"button",5),H(8,"button",6),O("click",function(){return b.onClickCopyAsIssueSearch.emit()}),
S(9," Copy as issue search "),J()()());if(a&2){var c=Se(6);C(3);G("matMenuTriggerFor",c);C(4);G("ngIf",b.shouldShowCopyIssueShortLinks)}},dependencies:[Tu,yy,PA,NA,OA,jX,$M],encapsulation:2,changeDetection:0});new Hc("xap-clipboard-snackbar-options");var pZ=function(){};pZ.\u0275fac=function(a){return new (a||pZ)};pZ.\u0275mod=Bc({type:pZ});pZ.\u0275inj=oc({imports:[gv,WB,YA,SF]});var qZ=function(){};qZ.\u0275fac=function(a){return new (a||qZ)};qZ.\u0275mod=Bc({type:qZ});qZ.\u0275inj=oc({imports:[MF,QA,WB,mX,vN,pZ]});var rZ=function(a,b,c,d,e){this.clipboard=a;this.analytics=c;this.butterBar=d;this.window=e;this.shortLinkPrefix=$Ha(b)?"b/":"b-qa/"},B9a=function(a,b){a.clipboard.copy(b.join(", "));WF(a.butterBar,"Issue IDs copied.",2E3);a.analytics.trackEvent(Yl.LIST_ISSUES,"copyIssueId","IDs")},C9a=function(a,b){a.clipboard.copy(b.map(function(c){return a.shortLinkPrefix+c}).join(", "));WF(a.butterBar,"'"+a.shortLinkPrefix+"' links copied.",2E3);a.analytics.trackEvent(Yl.LIST_ISSUES,"copyIssueId","b/ links")},
D9a=function(a,b){b=Ik({q:"id:("+b.join("|")+")"});a.clipboard.copy(a.window.location.origin+"/"+b);WF(a.butterBar,"Issue search link copied.",2E3);a.analytics.trackEvent(Yl.LIST_ISSUES,"copyIssueId","Issue search link")};rZ.\u0275fac=function(a){return new (a||rZ)(w(kM),w(rp),w(AH),w(VF),w(jE))};rZ.\u0275prov=nc({token:rZ,factory:rZ.\u0275fac,providedIn:"root"});var sZ=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)};sZ.prototype.onInput=function(){this.resize(this.el.nativeElement.value)};
sZ.prototype.ngOnDestroy=function(){document.body.removeChild(this.shadowInput)};sZ.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"};sZ.\u0275fac=function(a){return new (a||sZ)(D(fd))};
sZ.\u0275dir=Cc({type:sZ,selectors:[["","b-adaptive-width-input",""]],hostBindings:function(a,b){a&1&&O("input",function(){return b.onInput()})},inputs:{minWidth:"minWidth",maxWidth:"maxWidth"}});var tZ=function(){};tZ.\u0275fac=function(a){return new (a||tZ)};tZ.\u0275mod=Bc({type:tZ});tZ.\u0275inj=oc({});var uZ=function(a){this.currentTracker=a;this.componentPath=[];this.isArchived=!1;this.label="Component";this.openTab=""};gg.Object.defineProperties(uZ.prototype,{componentPathInfo:{configurable:!0,enumerable:!0,set:function(a){a=dp(this.currentTracker,a);this.componentPath="settings"===this.componentPathsLinkTo?D5a(a,xya):D5a(a)}}});uZ.\u0275fac=function(a){return new (a||uZ)(D(LK))};
uZ.\u0275cmp=zc({type:uZ,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),S(2),J(),H(3,"span",2),R(4,B5a,6,4,"span",3),R(5,C5a,2,0,"span",4),J()());a&2&&(C(2),Te("",b.label,":"),C(2),G("ngForOf",b.componentPath),C(1),G("ngIf",b.isArchived))},dependencies:[Su,Tu,QJ,VJ,gZ,sN],encapsulation:2});var vZ=function(){};vZ.\u0275fac=function(a){return new (a||vZ)};vZ.\u0275mod=Bc({type:vZ});vZ.\u0275inj=oc({imports:[MF,cN,lZ,tN]});var wZ=function(){};wZ.\u0275fac=function(a){return new (a||wZ)};wZ.\u0275mod=Bc({type:wZ});wZ.\u0275inj=oc({imports:[MF,Qv,WB,zO,Qy,MO]});var hTc=function(a,b,c){this.componentActions=a;this.errorHandler=b;this.cdr=c};hTc.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 xZ=function(a,b){a.selectedId&&iTc(a,a.selectedId);a.selectedId=b;if(a=jTc(a.selectedId))a.focus(),a.setAttribute("aria-selected","true")},yZ=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},kTc=function(a){return!a.selectedId||1>a.selectedId?-1:a.components.findIndex(function(b){return b.componentId==a.selectedId})},iTc=function(a,b){b&&(a=jTc(a.selectedId))&&a.setAttribute("aria-selected",
"false")},jTc=function(a){return a?document.getElementById("component-"+a):null},lTc=function(a){for(a=a.target;;){if(!a)return!1;if("A"===a.tagName)return!0;a=a.parentNode}};var G5a=function(a){return{q:a}},zZ=function(a,b,c,d){hTc.call(this,a,c,d);this.paths=b;this.includeArchived=!1;this.childClosed=new tu;this.selectedId=null};V(zZ,hTc);zZ.prototype.ngOnInit=function(){};zZ.prototype.ngOnDestroy=function(){this.parentComponent.focusOnChildren=void 0};zZ.prototype.ngOnChanges=function(a){a.components&&mTc(this)};zZ.prototype.onSubtreeChildClosed=function(a){this.selectedId=a;xZ(this,a);this.rootController.selectionChanged(this,a)};
var mTc=function(a){a.parentComponent.focusOnChildren||(a.parentComponent.focusOnChildren=function(){return a.selectNext()})};f=zZ.prototype;
f.selectNext=function(){if(this.components)if(this.selectedId){var a=kTc(this),b=this.components[a];b.showChildren&&b.focusOnChildren&&!b.noChildren?(iTc(this,this.selectedId),this.selectedId=null,b.focusOnChildren()):a+1!=this.components.length&&(xZ(this,this.components[a+1].componentId),this.rootController.selectionChanged(this,this.selectedId))}else xZ(this,this.components[0].componentId),this.rootController.selectionChanged(this,this.selectedId)};
f.selectPrevious=function(){var a=kTc(this);0==a?(this.selectedId=null,this.childClosed.emit(this.parentComponent.componentId)):(xZ(this,this.components[a-1].componentId),this.rootController.selectionChanged(this,this.selectedId))};f.closeSubtree=function(){if(this.selectedId){var a=yZ(this);a.showChildren?a.showChildren=!1:(this.selectedId=null,this.parentComponent.showChildren=!1,this.childClosed.emit(this.parentComponent.componentId));this.cdr.detectChanges()}};
f.showChildrenForSelectedId=function(){var a=yZ(this);a&&this.showChildren(a)};f.setSelected=function(a,b){lTc(b)||(xZ(this,a),this.rootController.selectionChanged(this,a),b.preventDefault(),b.stopPropagation())};f.toggleChildrenForSelectedId=function(){var a=yZ(this);a&&(a.showChildren?(a.showChildren=!1,this.cdr.detectChanges()):this.showChildren(a))};zZ.\u0275fac=function(a){return new (a||zZ)(D(mV),D(OG),D(ZF),D(wH,2))};
zZ.\u0275cmp=zc({type:zZ,selectors:[["component-subtree-list"]],inputs:{parentComponent:"parentComponent",rootController:"rootController",components:"components",includeArchived:"includeArchived"},outputs:{childClosed:"childClosed"},features:[Xe([wH]),xe,Mc],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),R(1,O5a,19,12,"li",1),J());a&2&&(C(1),G("ngForOf",b.components))},dependencies:[Su,Tu,zy,jz,XA,SL,HO,OK,zZ],encapsulation:2});var R5a=function(a){return{q:a}},AZ=function(a,b,c,d,e,g){hTc.call(this,a,d,g);this.paths=b;this.selectedId=null;this.includeArchived=!1;this.init=new tu;this.subscriptions=new F.Subscription;this.destroyed$=new F.ReplaySubject(1);this.scrollArea=e.nativeElement.parentElement;this.registerKeys(c)};V(AZ,hTc);f=AZ.prototype;
f.ngOnInit=function(){var a=this;this.rootController=this;(0,F.timer)(0).pipe(qe(this.destroyed$)).subscribe(function(){nTc(a)&&!a.selectedId&&xZ(a,a.components[0].componentId)});this.init.emit(this)};f.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete();this.subscriptions.unsubscribe()};f.ngOnChanges=function(a){a.components&&oTc(this)};f.onSubtreeChildClosed=function(a){var b=this;xZ(this,a);this.focusedController=void 0;(0,F.timer)(0).pipe(qe(this.destroyed$)).subscribe(function(){BZ(b)})};
f.fireSelectionEvent=function(a){var b=jTc(a);b&&b.click();BZ(this,a)};var oTc=function(a){(0,F.timer)(0).pipe(qe(a.destroyed$)).subscribe(function(){nTc(a)&&!a.selectedId&&xZ(a,a.components[0].componentId)})};f=AZ.prototype;f.selectionChanged=function(a,b){b&&BZ(this,b);a!==this.focusedController&&(this.focusedController&&(b=this.focusedController,b.selectedId&&iTc(b,b.selectedId),b.selectedId=null),this.focusedController=a||void 0)};
f.setSelected=function(a,b){lTc(b)||(xZ(this,a),this.selectionChanged(null),BZ(this),b.preventDefault(),b.stopPropagation())};
f.registerKeys=function(a){var b=this;this.subscriptions.add(cM(a,{title:"Browse Controls",hotkeys:[{keys:["j","DOWN"],displayAs:"j / Down",description:"Move to the next component",onPress:function(){b.selectNext()}},{keys:["k","UP"],displayAs:"k / Up",description:"Move to the previous component",onPress:function(){b.selectPrevious()}},{keys:["RIGHT"],displayAs:"Right",description:"View the components children",onPress:function(){b.showChildrenForSelectedId()}},{keys:["LEFT"],displayAs:"Left",description:"Close the components children",
onPress:function(){b.closeSubtree()}},{keys:["SPACE","ENTER"],displayAs:"Space / Enter",description:"Toggle component children display",onPress:function(){b.toggleChildrenForSelectedId()}}]}))};f.showChildrenForSelectedId=function(){if(this.focusedController)this.focusedController.showChildrenForSelectedId();else{var a=yZ(this);a&&this.showChildren(a)}};
f.toggleChildrenForSelectedId=function(){this.focusedController&&this.focusedController.toggleChildrenForSelectedId();var a=yZ(this);a&&(a.showChildren?(a.showChildren=!1,this.cdr.detectChanges()):this.showChildren(a))};f.closeSubtree=function(){this.focusedController?this.focusedController.closeSubtree():this.selectedId&&(yZ(this).showChildren=!1,this.cdr.detectChanges())};
f.selectPrevious=function(){if(this.focusedController)this.focusedController.selectPrevious();else{var a=kTc(this);nTc(this)&&1<=a&&(xZ(this,this.components[a-1].componentId),BZ(this))}};
f.selectNext=function(){if(nTc(this))if(this.focusedController)this.focusedController.selectNext();else if(this.selectedId){var a=kTc(this),b=this.components[a];b.showChildren&&b.focusOnChildren&&!b.noChildren?(iTc(this,this.selectedId),this.selectedId=null,b.focusOnChildren()):a+1!=this.components.length&&(xZ(this,this.components[a+1].componentId),BZ(this))}else xZ(this,this.components[0].componentId),BZ(this)};
var BZ=function(a,b){var c=pTc(a.scrollArea),d=c+a.scrollArea.offsetHeight;if(a=jTc(b||a.selectedId)){b=pTc(a);var e=b+a.offsetHeight;b<c?a.scrollIntoView(!1):e>d&&a.scrollIntoView(!0)}},pTc=function(a){for(var b=0;a&&a instanceof HTMLElement;)b+=a.offsetTop,a=a.offsetParent;return b},nTc=function(a){return!!(a.components&&0<a.components.length)};AZ.\u0275fac=function(a){return new (a||AZ)(D(mV),D(OG),D(bM),D(ZF),D(fd),D(wH,2))};
AZ.\u0275cmp=zc({type:AZ,selectors:[["component-tree-list"]],inputs:{components:"components",includeArchived:"includeArchived"},outputs:{init:"init"},features:[Xe([wH]),xe,Mc],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),R(1,Z5a,19,12,"li",1),J());a&2&&(C(1),G("ngForOf",b.components))},dependencies:[Su,Tu,zy,jz,XA,SL,HO,OK,zZ],encapsulation:2});var CZ=function(){};CZ.\u0275fac=function(a){return new (a||CZ)};CZ.\u0275mod=Bc({type:CZ});CZ.\u0275inj=oc({imports:[MF,zC,WB,YA,yN,MO,rN]});var qTc=0,DZ=function(){this.id="b-slide-toggle-"+ ++qTc;this.ariaLabel=this.label="";this.labelPosition="before";this.model=!1;this.tooltip=void 0;this.disabled=!1;this.modelChange=new tu};DZ.\u0275fac=function(a){return new (a||DZ)};
DZ.\u0275cmp=zc({type:DZ,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),O("change",function(d){b.model=d.checked;b.modelChange.emit(d.checked)}),
S(1),J());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");C(1);Ve(b.label)}},dependencies:[eU,XA],styles:["mat-slide-toggle[_ngcontent-%COMP%] { vertical-align: middle; }"],changeDetection:0});var EZ=function(){};EZ.\u0275fac=function(a){return new (a||EZ)};EZ.\u0275mod=Bc({type:EZ});EZ.\u0275inj=oc({imports:[MU,zC]});var rTc=["spanElement"],FZ=function(){this.modelValue="";this.maxWidth=0;this.disabled=!1;this.displayString=""};FZ.prototype.ngOnChanges=function(a){if(a.modelValue||a.disabled)this.displayString=this.modelValue||""};FZ.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)+"...")};
FZ.prototype.getTooltip=function(){return this.displayString!==this.modelValue?this.modelValue:""};FZ.\u0275fac=function(a){return new (a||FZ)};
FZ.\u0275cmp=zc({type:FZ,selectors:[["b-truncated-span"]],viewQuery:function(a,b){a&1&&jf(rTc,5);if(a&2){var c;hf(c=lf())&&(b.spanElement=c.first)}},inputs:{modelValue:"modelValue",maxWidth:"maxWidth",disabled:"disabled"},features:[Mc],decls:2,vars:2,consts:[[3,"matTooltip","innerHtml"],["spanElement",""]],template:function(a,b){a&1&&K(0,"span",0,1);a&2&&G("matTooltip",b.getTooltip())("innerHtml",b.displayString,ud)},dependencies:[XA],encapsulation:2});var GZ=function(){};GZ.\u0275fac=function(a){return new (a||GZ)};GZ.\u0275mod=Bc({type:GZ});GZ.\u0275inj=oc({imports:[zC]});var sTc=["popupField"],tTc=["fieldContent"],uTc=["popupOverlay"],vTc=["overlayContent"],v6a=function(a,b){return{"bv2-disabled":a,"bv2-readonly":b}},wTc=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"}],HZ=function(a,b,c,d,e,g,h,l){kE.call(this);this.cdr=a;this.element=b;this.overlay=c;this.viewContainerRef=d;this.dateFormatter=e;this.activeSession=g;this.constants=h;this.appEvents=l;this.STATUS_FULL_TEXT=fF;this.googDateValue=null;this.autocompleteActive=!1;this.readonlyTooltip=
this.displayValue=null;this.textBuffer="";this.isActive=this.multiline=this.enableWaldoAvailability=!1;this.title=this.name="";this.displayValueOverride=this.value=null;this.isUser=!1;this.teamId="";this.clearable=!1;this.choices=[];this.showEnumTitle=!1;this.valueChange=new tu;this.disabled=this.readonly=!1;this.tooltip="";this.showAvailability=this.truncate=!1;this.enableTeamAnnotations=g.isInternalSession()};V(HZ,kE);HZ.\u0275dir=kE.\u0275dir;f=HZ.prototype;
f.ngOnInit=function(){var a=this;this.enableWaldoAvailability=iE(this.activeSession,"enableWaldoAvailability")&&this.activeSession.isInternalSession()&&this.showAvailability;this.subscriptions.add(this.appEvents.openEditField.subscribe(function(b){b!==a&&a.isActive&&(a.isActive=!1,xTc(a),a.cdr.detectChanges())}));this.subscriptions.add(Wpc(this.dateFormatter,function(){yTc(a);a.cdr.detectChanges()}));this.destroyed$.subscribe(function(){xTc(a)})};
f.ngOnDestroy=function(){kE.prototype.ngOnDestroy.call(this);this.overlayRef&&this.overlayRef.dispose()};f.ngOnChanges=function(a){["value","type","displayValueOverride","choices"].some(function(b){return b in a})&&yTc(this)};f.ngAfterViewInit=function(){this.popupField&&(this.overlayRef=this.overlay.create({positionStrategy:this.getPositionStrategy(),scrollStrategy:this.overlay.scrollStrategies.reposition()}))};
f.getPositionStrategy=function(){return Jx(Kx(Lx(Nx(this.overlay.position(),this.fieldContent).setOrigin(this.fieldContent),!1),5),wTc)};f.convertIssueStatusStrToTag=function(a){return Zh[a]};
var xTc=function(a){var b;(null==(b=a.overlayRef)?0:b.hasAttached())&&a.overlayRef.detach()},H6a=function(a,b){if(!a.autocompleteActive)switch(b.keyCode){case 13:b.stopPropagation();N6a(a);break;case 27:b.stopPropagation(),rn(a,b,!1,!0)}},F6a=function(a,b){if(!a.autocompleteActive)switch(b.keyCode){case 13:if(b.ctrlKey||b.metaKey)b.stopPropagation(),N6a(a);break;case 27:b.stopPropagation(),rn(a,b,!1,!0)}},r6a=function(a,b){switch(b.keyCode){case 13:case 32:b.stopPropagation();b.preventDefault();rn(a,
b,!0,!1);break;case 27:b.stopPropagation(),rn(a,b,!1,!0)}},rn=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,xTc(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?Eg(c):null),"ENUM"===
a.type&&a.enumMenuTrigger.openMenu(),"ENUM"!==a.type){zTc(a);var g=a.element.nativeElement;(0,F.fromEvent)(document,"click").pipe(Zd(function(h){return!g.contains(h.target)}),ge(),qe(a.overlayRef._detachments),qe(a.destroyed$)).subscribe(function(){rn(a,null,!1,!1)})}null==b||b.stopPropagation();a.cdr.detectChanges()}};HZ.prototype.schedule=function(a){var b=F.asyncScheduler.schedule(a);this.destroyed$.subscribe(function(){b.unsubscribe()})};
HZ.prototype.getDisplayValue=function(a){return null===this.displayValue?a:this.displayValue};
var yTc=function(a){var b=a.value;switch(a.type){case "ENUM":if("Type"===a.title&&b&&Upc.has(b)){a.displayValue=Gwa(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(Eg(b)):a.displayValue=null;a.readonlyTooltip=null;break;default:a.displayValueOverride?
a.displayValue=a.displayValueOverride:a.displayValue=b?String(b):null,a.readonlyTooltip=null}};HZ.prototype.setFieldValue=function(a){this.disabled||this.readonly||("DATE"===this.type&&a&&(a=Xra(a)),"NUMERIC"===this.type&&""===a&&(a=null),Fg(this.value,a)?"ENUM"===this.type&&rn(this,null,!1,!0):(rn(this,null,!1,!0),this.value=a,this.valueChange.emit(this.value)))};
var N6a=function(a){if(void 0===a.type)throw Error("Yd");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("Zd");default:og(a.type,"FieldType")}};
HZ.prototype.clearFieldValue=function(){this.value=null;this.valueChange.emit(this.value);rn(this,null,!1,!0)};var zTc=function(a){xTc(a);var b=a.overlayRef.attach(new dw(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()})};
HZ.prototype.getTooltip=function(){return this.readonly?this.readonlyTooltip||"":this.tooltip?this.tooltip:this.title?"Set "+this.title:""};HZ.prototype.isBoolean=function(){return"BOOL"===this.type};HZ.prototype.getPriority=function(a){return"string"===typeof a?a.toLowerCase():""};HZ.\u0275fac=function(a){return new (a||HZ)(D(wH,2),D(fd),D(Ox),D(ff),D(aJ),D(rp),D($I),D(cG))};
HZ.\u0275cmp=zc({type:HZ,selectors:[["b-edit-field"]],viewQuery:function(a,b){a&1&&(jf(OA,5),jf(sTc,5),jf(tTc,5),jf(uTc,5),jf(vTc,5));if(a&2){var c;hf(c=lf())&&(b.enumMenuTrigger=c.first);hf(c=lf())&&(b.popupField=c.first);hf(c=lf())&&(b.fieldContent=c.first);hf(c=lf())&&(b.popupOverlay=c.first);hf(c=lf())&&(b.overlayContent=c.first)}},inputs:{multiline:"multiline",name:"name",title:"title",type:"type",value:"value",user:"user",displayValueOverride:"displayValueOverride",isUser:"isUser",teamId:"teamId",
clearable:"clearable",choices:"choices",showEnumTitle:"showEnumTitle",readonly:"readonly",disabled:"disabled",tooltip:"tooltip",truncate:"truncate",showAvailability:"showAvailability"},outputs:{valueChange:"valueChange"},features:[Xe([wH]),xe,Mc],decls:11,vars:5,consts:[[1,"bv2-issue-metadata-field"],["class","keep-focus-ring","role","button","tabindex","0","aria-haspopup","true",3,"class","bv2-disabled","bv2-readonly","matTooltip","click","keydown",4,"ngIf"],[3,"class","ngClass","matTooltip",4,"ngIf"],
[4,"ngIf"],[1,"bv2-issue-metadata-footer"],["enumMenu","matMenu"],["matMenuContent",""],["popupOverlay",""],["role","button","tabindex","0","aria-haspopup","true",1,"keep-focus-ring",3,"matTooltip","click","keydown"],["popupField",""],[3,"class",4,"ngIf"],["class","bv2-editable-value",3,"matMenuTriggerFor","menuClosed",4,"ngIf"],["class","bv2-editable-value",4,"ngIf"],["field",""],[1,"bv2-editable-value",3,"matMenuTriggerFor","menuClosed"],[4,"ngTemplateOutlet"],[1,"bv2-editable-value"],[1,"bv2-editable-value",
3,"keydown","click"],["fieldContent",""],["class","issue-metadata-field-edit-icon",4,"ngIf"],["class","issue-metadata-field-dropdown-icon",4,"ngIf"],[1,"flex-kids-x","flex-cross-axis-centered"],[3,"user","email","teamId","enableSmallChip",4,"ngIf"],["class","bv2-editfield-avatar",3,"email",4,"ngIf"],["class","bv2-metadata-field-value",4,"ngIf"],[3,"user","email","teamId","enableSmallChip"],[1,"bv2-editfield-avatar",3,"email"],[1,"bv2-metadata-field-value"],[3,"email"],["class","bv2-metadata-field-value",
3,"maxWidth","modelValue","disabled",4,"ngIf"],["class","bv2-metadata-field-value",3,"ngClass","maxWidth","modelValue","disabled",4,"ngIf"],["class","bv2-metadata-field-value",3,"class","maxWidth","modelValue","disabled",4,"ngIf"],["class","bv2-edit-button",4,"ngIf"],[1,"bv2-metadata-field-value",3,"maxWidth","modelValue","disabled"],[1,"bv2-metadata-field-value",3,"ngClass","maxWidth","modelValue","disabled"],[1,"bv2-edit-button"],[1,"issue-metadata-field-edit-icon"],["svgIcon","edit-outline"],[1,
"issue-metadata-field-dropdown-icon"],["svgIcon","arrow-dropdown"],[3,"ngClass","matTooltip"],[3,"class","click",4,"ngIf"],[1,"keep-focus-ring",3,"disabled","aria-label","model","modelChange"],[3,"click"],[3,"user",4,"ngIf"],[3,"user"],["mat-menu-item","","role","menuitemcheckbox","aria-label","Clear",3,"b-menu-item-checked","disabled","click",4,"ngIf"],["mat-menu-item","","role","menuitemcheckbox",3,"b-menu-item-checked","disabled","matTooltip","click",4,"ngFor","ngForOf"],["mat-menu-item","","role",
"menuitemcheckbox","aria-label","Clear",3,"disabled","click"],[1,"b-menu-item-check-mark"],["svgIcon","done",1,"icon-s"],["mat-menu-item","","role","menuitemcheckbox",3,"disabled","matTooltip","click"],["role","dialog",3,"ngSwitch"],["overlayContent",""],[4,"ngSwitchCase"],[3,"click",4,"ngSwitchCase"],["class","bv2-text-field-edit",3,"click",4,"ngSwitchDefault"],[3,"required","date","dateSelectionChange","saveClicked","cancelClicked"],[1,"bv2-text-field-edit",3,"click"],[1,"bv2-text-edit-dialog-buttons"],
["mat-flat-button","","color","primary",1,"gmat-button","medium","field-popup-button",3,"disabled","matTooltip","click"],["svgIcon","done"],["mat-stroked-button","","color","primary",1,"gmat-button","medium","field-popup-button",3,"matTooltip","click"],["svgIcon","close"],["spellcheck","false",3,"ngModel","ngModelChange","keydown",4,"ngIf"],["step","any","spellcheck","false",3,"ngModel","ngModelChange","keydown",4,"ngIf"],["spellcheck","false",3,"ngModel","ngModelChange","keydown"],["step","any",
"spellcheck","false",3,"ngModel","ngModelChange","keydown"],["spellcheck","false",3,"ngModel","bContactAutocomplete","ngModelChange","keydown","autocompleteActive",4,"ngIf"],["step","any","spellcheck","false",3,"ngModel","bContactAutocomplete","ngModelChange","keydown","autocompleteActive",4,"ngIf"],["spellcheck","false",3,"ngModel","bContactAutocomplete","ngModelChange","keydown","autocompleteActive"],["step","any","spellcheck","false",3,"ngModel","bContactAutocomplete","ngModelChange","keydown",
"autocompleteActive"]],template:function(a,b){a&1&&(H(0,"div")(1,"div",0),R(2,t6a,7,14,"div",1),R(3,w6a,3,13,"div",2),R(4,y6a,2,1,"ng-container",3),K(5,"div",4),J(),H(6,"mat-menu",null,5),R(8,B6a,2,2,"ng-template",6),J(),R(9,P6a,6,7,"ng-template",null,7,of),J());a&2&&(C(1),Ie("active",b.isActive&&!b.readonly&&!b.disabled),C(1),G("ngIf","BOOL"!==b.type),C(1),G("ngIf",b.isBoolean(b.value)),C(1),G("ngIf",b.isUser))},dependencies:[JI,Ru,Su,Tu,Yu,Uu,Vu,Wu,yy,jz,$S,IY,Af,tv,zv,PA,NA,OA,MA,XA,DZ,qK,FZ,vK,
SO,$u],styles:[".bv2-issue-metadata-field-edit[_ngcontent-%COMP%] { position: relative; }"]});var ATc={ENUM:"ENUM",BOOL:"BOOL",DATE:"DATE",TEXT:"TEXT",NUMERIC:"NUMERIC"},IZ=function(){};IZ.\u0275fac=function(a){return new (a||IZ)};IZ.\u0275mod=Bc({type:IZ});IZ.\u0275inj=oc({imports:[QO,HT,MF,aT,YY,Qv,WB,YA,QA,zC,EZ,lN,HJ,GZ,TO]});var BTc=0,JZ=function(a){this.elementRef=a;this.titleWhenExpanded=this.titleWhenCollapsed="";this.isExpanded=!1;this.iconName="";this.hasCompactTitleBar=!1;this.headerId="b-collapsible-panel-header-"+BTc;this.id="b-collapsible-panel-"+BTc;BTc++};JZ.prototype.toggleExpansion=function(){var a=this;this.isExpanded||setTimeout(function(){return a.elementRef.nativeElement.scrollIntoView({behavior:"smooth",block:"nearest"})},200);this.isExpanded=!this.isExpanded};
gg.Object.defineProperties(JZ.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"}}});JZ.\u0275fac=function(a){return new (a||JZ)(D(fd))};
JZ.\u0275cmp=zc({type:JZ,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&&(Ne(),H(0,"div",0)(1,"button",1),O("click",function(){return b.toggleExpansion()})("mouseup",function(){b.elementRef.nativeElement.querySelector(".title-bar").blur()}),R(2,R6a,1,1,"b-icon",2),R(3,S6a,2,1,"span",3),R(4,T6a,2,0,"div",4),K(5,"mat-icon",5),J(),H(6,"div",6),Oe(7),J()());a&2&&(C(1),Ie("compact",
b.hasCompactTitleBar),Ae("id",b.headerId)("aria-expanded",b.isExpanded)("aria-controls",b.id),C(1),G("ngIf",b.iconName),C(1),G("ngIf",!b.hasCompactTitleBar||!b.isExpanded),C(1),G("ngIf",b.hasCompactTitleBar),C(1),G("@expandCollapseIcon",b.expandedState),C(1),G("@expandCollapseContent",b.expandedState),Ae("id",b.id)("aria-labelledby",b.headerId))},dependencies:[Tu,jz,$M],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:[Of("expandCollapseContent",[Rf("expanded",Qf({height:"*",visibility:"visible"})),Rf("collapsed",Qf({height:"0",visibility:"hidden"})),Sf("expanded <=> collapsed",[Pf("200ms")])]),Of("expandCollapseIcon",[Rf("expanded",Qf({transform:"rotate(-180deg)"})),Rf("collapsed",Qf({transform:"*"})),Sf("expanded <=> collapsed",[Pf("200ms")])])]}});var KZ=function(){};KZ.\u0275fac=function(a){return new (a||KZ)};KZ.\u0275mod=Bc({type:KZ});KZ.\u0275inj=oc({imports:[MF,YA,vN]});var CTc=["addLink"],DTc=["showFewer"],ETc=["showMore"],FTc=["removeButton"],V6a=function(a,b){return{item:a,$index:b}},GTc=[[["",8,"title-action"]],[["",8,"value-action"]]],HTc=[Object.assign({},H7a("start","bottom"),I7a("start","top"),{offsetY:8}),Object.assign({},H7a("center","bottom"),I7a("center","top"),{offsetY:8}),Object.assign({},H7a("end","bottom"),I7a("end","top"),{offsetY:8}),Object.assign({},H7a("start","top"),I7a("start","bottom"),{offsetY:-8}),Object.assign({},H7a("end","top"),I7a("end",
"bottom"),{offsetY:-8})],LZ=function(a,b,c,d){kE.call(this);this.cdr=a;this.dateFormatter=b;this.analytics=c;this.OVERLAY_POSITION_LIST=HTc;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 tu;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.inputValidator=null;this.teamId=this.invalidMessage="";this.isString=ksa;this.enableTeamAnnotations=d.isInternalSession();this.environmentType=d.getEnvironmentType()};V(LZ,kE);LZ.\u0275dir=kE.\u0275dir;
LZ.prototype.ngOnChanges=function(a){var b;if(null==(b=a.users)?0:b.currentValue)for(a=k(a.users.currentValue),b=a.next();!b.done;b=a.next()){b=b.value;var c=Ug(b);c&&this.userMap.set(c,Gg(b))}};LZ.prototype.ngOnInit=function(){a7a(this)};
var a7a=function(a){a.sortedEnumChoices=[].concat(Jc(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})},b7a=function(a){var b=a.values||[],c=[].concat(Jc(a.enumPendingValues)),d=c.filter(function(g){return!b.includes(g)}),e=b.filter(function(g){return!c.includes(g)});if(d.length||e.length)a.values=c,a.valuesChange.emit({values:a.values,added:d,removed:e})};
LZ.prototype.isCustomField=function(){return["REPEATED_TEXT","REPEATED_DATE","REPEATED_ENUM","REPEATED_NUMERIC"].includes(this.type)};
LZ.prototype.removeItem=function(a){var b=this;if(!this.listFieldDisabled){var c=this.values.splice(a,1);this.valuesChange.emit({values:this.values,removed:c})}this.schedule(function(){var d;if(null==(d=b.values)?0:d.length){d=Math.min(a,b.values.length-1);var e,g,h;null==(e=b.removeButtons)||null==(g=e.get(d))||null==(h=g.nativeElement)||h.focus()}else{var l,q;null==(l=b.addLinkEl)||null==(q=l.nativeElement)||q.focus()}})};
LZ.prototype.addItems=function(a){var b=[];this.values=this.values||[];if(a)if("REPEATED_DATE"===this.type){var c=Xra(a);this.preventDuplicates&&this.values.find(function(g){return Fg(g,c)})||b.push(c)}else if("REPEATED_NUMERIC"===this.type&&lsa(this.values)&&lsa(b))a=Number(a),this.preventDuplicates&&this.values.includes(a)||b.push(a);else if(Hg(this.values)&&Hg(b))if(this.isCustomField())this.preventDuplicates&&this.values.includes(a)||b.push(a);else if(!this.isCustomField()){a=k(a.split(/[,; ]/));
for(var d=a.next();!d.done;d=a.next()){var e=d=d.value;"CHANGELISTS"===this.type&&(e=K7a(d));e&&!this.values.includes(e)&&b.push(e)}}this.isDefaultOrAllowedValues&&"REPEATED_DATE"!==this.type||E7a(this,!0);0!==b.length&&(this.values=[].concat(Jc(this.values),Jc(b)),this.valuesChange.emit({values:this.values,added:b}))};LZ.prototype.onDrop=function(a){Fl(this.values,a.previousIndex,a.currentIndex);this.valuesChange.emit({values:this.values})};
var E7a=function(a,b){var c,d=k(null!=(c=a.menuTriggers)?c:[]);for(c=d.next();!c.done;c=d.next())c.value.closeMenu();var e;d=k(null!=(e=a.popupTriggers)?e:[]);for(c=d.next();!c.done;c=d.next())e=c.value,e.disabled||(e.disabled=!0,e.disabled=!1);b&&a.addLinkEl&&a.addLinkEl.nativeElement.focus()},sn=function(a,b,c){null==c||c.stopPropagation();null==c||c.preventDefault();a.showingAll=b;a.cdr.detectChanges();a.schedule(function(){var d,e,g;null==(d=null!=(g=a.showFewer)?g:a.showMore)||null==(e=d.nativeElement)||
e.focus()})};LZ.prototype.getDisplayValues=function(){var a=this;return this.values&&"REPEATED_DATE"===this.type?this.values.map(function(b){return a.dateFormatter.formatUserCalendar(Eg(b))}):this.values&&"TEAM"===this.type?this.values:this.values&&"WORKSPACES"===this.type?this.values:this.displayValuesOverride||(this.values||[]).map(function(b){return ksa(b)?b:jsa(b)?""+b:a.dateFormatter.formatUserCalendar(Eg(b))})};
var D7a=function(a,b,c){var d,e,g,h;return Ld(function(l){if(1==l.nextAddress){if(!a.inputValidator)return l.jumpTo(2);d=a;return l.yield(a.inputValidator(b.value.input),3)}2!=l.nextAddress&&(d.invalidMessage=l.yieldResult,a.cdr.detectChanges());if(!b.valid||a.invalidMessage)return l.return();e=b.value.input;null==(g=b)||g.reset();null==(h=c.querySelector("input"))||h.focus();a.addItems(e);Qd(l)})};f=LZ.prototype;f.trackClick=function(a){this.analytics.trackEvent(Yl.LINK_FIELD,"click",a)};
f.getUser=function(a){return this.userMap.get(a)};f.schedule=function(a){this.subscriptions.add(F.asyncScheduler.schedule(a))};f.trackByIndex=function(a){return a};f.getTaskFlowLink=function(a){switch(this.environmentType){case "NIGHTLY":case "PROD":var b="https://taskflow.corp.google.com/workspaces";break;default:b="https://taskflow-autopush.corp.google.com/workspaces"}return b+"/"+a.workspaceId+"/work_item/b/"+a.issueId+"?edit=b/"+a.issueId};f.asNumber=function(a){return Number(a)};
f.getAriaLabel=function(){if(!this.values||0===this.values.length)return this.title+" is empty";var a=this.title+" has "+this.values.length+" ";switch(this.type){case "USERCHIP":a+="user";break;case "REPEATED_DATE":a+="date";break;default:a+="item"}1<this.values.length&&(a+="s");return a};LZ.\u0275fac=function(a){return new (a||LZ)(D(wH,2),D(aJ),D(AH),D(rp))};
LZ.\u0275cmp=zc({type:LZ,selectors:[["b-list-field"]],viewQuery:function(a,b){a&1&&(jf(CTc,5),jf(DTc,5),jf(ETc,5),jf(FTc,5),jf(OA,5),jf(YX,5));if(a&2){var c;hf(c=lf())&&(b.addLinkEl=c.first);hf(c=lf())&&(b.showFewer=c.first);hf(c=lf())&&(b.showMore=c.first);hf(c=lf())&&(b.removeButtons=c);hf(c=lf())&&(b.menuTriggers=c);hf(c=lf())&&(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",inputValidator:"inputValidator",teamId:"teamId"},outputs:{valuesChange:"valuesChange"},features:[Xe([wH]),
xe,Mc],ngContentSelectors:[".title-action",".value-action"],decls:23,vars:18,consts:[[1,"bv2-issue-metadata-list-field","bv2-issue-metadata-field"],["tabindex","0",1,"bv2-issue-metadata-field-inner",3,"matTooltip","matTooltipPosition"],[1,"bv2-editable-title"],[4,"ngIf"],["cdkDropList","",1,"list-field-content",3,"cdkDropListDisabled","cdkDropListDropped"],[3,"isExpanded","iconName","hasCompactTitleBar","title",4,"ngIf"],[1,"bv2-field-user-action-footer"],["addLink",""],[3,"ngSwitch",4,"ngIf"],["itemRenderer",
""],["metadataTools",""],["enumPopup","matMenu"],["matMenuContent",""],["textPopup",""],["datePopup",""],[3,"isExpanded","iconName","hasCompactTitleBar","title"],["cdkDrag","",4,"ngFor","ngForOf","ngForTrackBy"],[3,"ngTemplateOutlet"],["cdkDrag",""],[3,"ngTemplateOutletContext","ngTemplateOutlet"],[3,"ngSwitch"],["mat-button","","aria-haspopup","true","class","mat-primary bv2-metadata-tool bv2-metadata-link tiny","matTooltip","Select items in the list","tabindex","0",3,"matMenuTriggerFor","menuOpened",
"menuClosed",4,"ngSwitchCase"],["mat-button","","class","mat-primary bv2-metadata-tool bv2-metadata-link tiny","matTooltip","Add a new item to the list","tabindex","0",3,"xapInlineDialogClick","overlayPositions",4,"ngSwitchCase"],["mat-button","","panelClass","bv2-add-item-bubble","class","mat-primary bv2-metadata-tool bv2-metadata-link tiny","tabindex","0",3,"xapInlineDialogClick","overlayPositions","matTooltip","beforeOpened",4,"ngSwitchDefault"],["mat-button","","aria-haspopup","true","matTooltip",
"Select items in the list","tabindex","0",1,"mat-primary","bv2-metadata-tool","bv2-metadata-link","tiny",3,"matMenuTriggerFor","menuOpened","menuClosed"],["mat-button","","matTooltip","Add a new item to the list","tabindex","0",1,"mat-primary","bv2-metadata-tool","bv2-metadata-link","tiny",3,"xapInlineDialogClick","overlayPositions"],["mat-button","","panelClass","bv2-add-item-bubble","tabindex","0",1,"mat-primary","bv2-metadata-tool","bv2-metadata-link","tiny",3,"xapInlineDialogClick","overlayPositions",
"matTooltip","beforeOpened"],["class","flex-kids-x flex-cross-axis-centered flex-wrappable",4,"ngIf"],[1,"flex-kids-x","flex-cross-axis-centered","flex-wrappable"],[1,"bv2-issue-metadata-list-item"],[4,"ngIf","ngIfElse"],["checkIfWorkspaces",""],["checkIfTeam",""],["checkIfPostMortems",""],["default",""],["class","bv2-remove-icon bv2-remove-item keep-focus-ring",3,"disabled","matTooltip","click",4,"ngIf"],[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","list-field-user-container",4,"ngIf"],[3,"maxWidth","modelValue","disabled"],[1,"list-field-user-container"],[3,"user","email","teamId","enableSmallChip",4,"ngIf"],[3,"email",4,"ngIf"],[3,"user","email","teamId","enableSmallChip"],[3,"email"],[1,"bv2-remove-icon","bv2-remove-item","keep-focus-ring",3,"disabled","matTooltip","click"],["removeButton",""],["class","bv2-metadata-tool bv2-metadata-link","tabindex","0","role",
"button",3,"matTooltip","click","keydown.enter","keydown.space",4,"ngIf"],["tabindex","0","role","button",1,"bv2-metadata-tool","bv2-metadata-link",3,"matTooltip","click","keydown.enter","keydown.space"],["showFewer",""],[1,"bv2-metadata-tool"],["tabindex","0","role","button",1,"bv2-metadata-link",3,"matTooltip","click","keydown.enter","keydown.space"],["showMore",""],["mat-menu-item","","type","button","role","menuitemcheckbox",3,"disabled","b-menu-item-checked","click",4,"ngFor","ngForOf","ngForTrackBy"],
["mat-menu-item","","type","button","role","menuitemcheckbox",3,"disabled","click"],[1,"b-menu-item-check-mark"],["svgIcon","done",1,"icon-s"],[3,"ngSubmit"],["textPopupForm","ngForm","formEl",""],["type","text","name","input","ngModel","","required","","aria-expanded","true","autofocus","",3,"bContactAutocomplete",4,"ngIf"],["name","input","ngModel","","required","","step","any","aria-expanded","true","autofocus","",3,"type",4,"ngIf"],[1,"bv2-list-field-addition-dialog-buttons"],["mat-flat-button",
"","type","submit",1,"gmat-button","medium","field-popup-button",3,"disabled"],["svgIcon","done"],["mat-stroked-button","","type","button",1,"gmat-button","medium","field-popup-button",3,"click"],["svgIcon","close"],["type","text","name","input","ngModel","","required","","aria-expanded","true","autofocus","",3,"bContactAutocomplete"],["name","input","ngModel","","required","","step","any","aria-expanded","true","autofocus","",3,"type"],[3,"required","renderPanel","dateChange","cancelClicked"]],template:function(a,
b){a&1&&(Ne(GTc),H(0,"div",0)(1,"div",1)(2,"div",2),R(3,U6a,2,1,"label",3),Oe(4),J(),H(5,"div",4),O("cdkDropListDropped",function(c){return b.onDrop(c)}),R(6,X6a,3,7,"collapsible-panel",5),R(7,$6a,4,4,"ng-container",3),H(8,"div",6,7),R(10,f7a,4,3,"ng-container",8),Oe(11,1),J()()(),R(12,u7a,1,1,"ng-template",null,9,of),R(14,x7a,2,2,"ng-template",null,10,of),H(16,"mat-menu",null,11),R(18,z7a,1,2,"ng-template",12),J(),R(19,F7a,13,6,"ng-template",null,13,of),R(21,G7a,1,2,"ng-template",null,14,of),J());
a&2&&(Ie("empty-list-field-indication",!(null==b.values?0:b.values.length))("active",b.isActive&&!b.listFieldDisabled&&!b.readonly),C(1),Ie("bv2-disabled",b.listFieldDisabled)("bv2-readonly",b.readonly),G("matTooltip",b.tooltip)("matTooltipPosition","left"),Ae("aria-label",b.getAriaLabel()),C(2),G("ngIf",b.title),C(2),Ie("draggable",(null==b.values?null:b.values.length)&&b.isDefaultOrAllowedValues),G("cdkDropListDisabled",!b.isDefaultOrAllowedValues),C(1),G("ngIf",b.isCollapsible),C(1),G("ngIf",!b.isCollapsible),
C(3),G("ngIf",!b.readonly&&b.additionAllowed))},dependencies:[Su,Tu,Yu,Uu,Vu,Wu,yy,jz,Vy,ML,IY,Av,Af,tv,uv,Mv,zv,xv,XA,qK,FZ,SO,$K,YK,VX,UX,YX,PA,NA,OA,MA,$S,JZ,IK],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;},[_nghost-%COMP%]     .bv2-field-user-action-footer span {width: max-content; display:flex;}".split(",")});
var ITc={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"},MZ=function(){};MZ.\u0275fac=function(a){return new (a||MZ)};MZ.\u0275mod=Bc({type:MZ});MZ.\u0275inj=oc({imports:[MF,bz,kU,YY,Qv,WB,zC,lN,pN,GZ,TO,aL,iY,kY,QA,YA,aT,KZ,kY,qN]});var M7a=function(){return[]},NZ=function(){this.disabled=this.readonly=!1;this.save=new tu},JTc=function(a){return a.issue.customFieldMap[a.field.customFieldId]};NZ.prototype.getDisplayValue=function(){var a,b,c=null!=(b=null==(a=JTc(this).displayValues)?void 0:a[0])?b:null;"0.0"===c&&(c="0");return c};NZ.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 L7a=function(a){return(a=JTc(a).getValue())&&void 0===a.values?a:null},O7a=function(a){return(a=JTc(a).getValue())&&void 0!==a.values?a.values:null};gg.Object.defineProperties(NZ.prototype,{isShared:{configurable:!0,enumerable:!0,get:function(){return this.field.shared}}});NZ.\u0275fac=function(a){return new (a||NZ)};
NZ.\u0275cmp=zc({type:NZ,selectors:[["b-custom-field-editor"]],viewQuery:function(a,b){a&1&&jf(HZ,5);if(a&2){var c;hf(c=lf())&&(b.editField=c.first)}},hostVars:2,hostBindings:function(a,b){a&2&&Ie("is-shared-field",b.isShared)},inputs:{issue:"issue",field:"field",readonly:"readonly",disabled:"disabled"},outputs:{save:"save"},decls:1,vars:1,consts:[[4,"ngIf"],[3,"readonly","name","title","type","tooltip","clearable","value","displayValueOverride","choices","showEnumTitle","disabled","valueChange",
4,"ngIf"],[3,"readonly","defaultLineCount","title","type","tooltip","values","displayValuesOverride","enumChoices","listFieldDisabled","valuesChange",4,"ngIf"],[3,"readonly","name","title","type","tooltip","clearable","value","displayValueOverride","choices","showEnumTitle","disabled","valueChange"],[3,"readonly","defaultLineCount","title","type","tooltip","values","displayValuesOverride","enumChoices","listFieldDisabled","valuesChange"]],template:function(a,b){a&1&&R(0,Q7a,3,2,"ng-container",0);
a&2&&G("ngIf",JTc(b))},dependencies:[Tu,LZ,HZ],encapsulation:2});var OZ=function(){};OZ.\u0275fac=function(a){return new (a||OZ)};OZ.\u0275mod=Bc({type:OZ});OZ.\u0275inj=oc({imports:[MF,MZ,IZ]});var PZ=function(){this.customFields=this.selectedComponent=null;this.fieldSelected=new tu;this.filter=function(){return!0}};PZ.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};PZ.\u0275fac=function(a){return new (a||PZ)};
PZ.\u0275cmp=zc({type:PZ,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),S(2," First, select a component that contains the custom field. "),J(),H(3,"b-team-component-picker",2),O("selectedComponentChange",function(c){return b.onComponentSelect(null!==c&&void 0!==c?c:null)}),J(),R(4,V7a,4,3,"div",3),J());a&2&&(C(3),G("selectedComponent",b.selectedComponent)("placeholder","Choose Component")("isRequired",!0),C(1),G("ngIf",b.selectedComponent))},dependencies:[Su,Tu,Yy,Xy,CO,Ay,
sV],encapsulation:2});var QZ=function(){};QZ.\u0275fac=function(a){return new (a||QZ)};QZ.\u0275mod=Bc({type:QZ});QZ.\u0275inj=oc({imports:[MF,DO,hX]});var KTc=function(a){return{value:a}},RZ=function(){this.isNonemptyJsonDateValue=Yra};RZ.prototype.toDate=function(a){return Eg(a)};RZ.\u0275fac=function(a){return new (a||RZ)};
RZ.\u0275cmp=zc({type:RZ,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),R(1,W7a,1,0,"ng-container",1),J(),R(2,X7a,0,0,"ng-template",null,2,of),R(4,j8a,8,8,"ng-template",null,3,of));if(a&2){var c=Se(5);C(1);G("ngTemplateOutlet",
null==b.customFieldValue?null:c)("ngTemplateOutletContext",Ze(2,KTc,b.customFieldValue))}},dependencies:[Su,Tu,Yu,BK],encapsulation:2});var SZ=function(){};SZ.\u0275fac=function(a){return new (a||SZ)};SZ.\u0275mod=Bc({type:SZ});SZ.\u0275inj=oc({imports:[MF,bN]});var NTc=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 oJ;this.selectedVerifiersStatus=this.selectedAssigneesStatus="ISSUE_SELECTION_STATUS_UNSPECIFIED";LTc(this,b);MTc(this,b)},LTc=function(a,b){var c=b[0],d=kk[c.status],
e=c.duplicateOfIssueId;if(d)for(b.every(function(g){return"DUPLICATE"===g.status&&e===g.duplicateOfIssueId})&&e&&(a.commonDuplicateOf=e,a.origCommonDuplicateOf=e),c=1;c<b.length;c++)if(b[0].status!==b[c].status){d=void 0;break}a.issueState=d;a.origCommonIssueState=d},OTc=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||xl(c)})?b?"MULTIPLE":"IDENTICAL_EMAILS":"POSSIBLY_MULTIPLE"},MTc=function(a,b){var c=
b.map(function(d){return d.assigneeEmail});b=b.map(function(d){return d.verifierEmail});a.selectedAssigneesStatus=OTc(c);a.selectedVerifiersStatus=OTc(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])};
NTc.prototype.clearAssignee=function(){this.commonAssignee="";this.selectedAssigneesStatus="ISSUE_SELECTION_STATUS_UNSPECIFIED";this.overwriteAssignee=!0;T8a(this)};NTc.prototype.clearVerifier=function(){this.commonVerifier="";this.selectedVerifiersStatus="ISSUE_SELECTION_STATUS_UNSPECIFIED";this.overwriteVerifier=!0};
var V8a=function(a){return a.origIssues.every(function(b){return!!b.verifierEmail})},P8a=function(a,b){(a.origCommonIssueState=b)?("NEW"===b.status?PTc(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||PTc(a.selectedAssigneesStatus)||(a.commonAssignee=a.lastCommonAssignee?
a.lastCommonAssignee:a.userEmail),PTc(a.selectedVerifiersStatus)||a.commonVerifier||"VERIFIED"!==b.status||(a.commonVerifier=a.userEmail)),a.issueState=a.origCommonIssueState):a.issueState=void 0},PTc=function(a){return"MULTIPLE"===a||"POSSIBLY_MULTIPLE"===a},T8a=function(a){var b=kk.NEW,c=kk.ASSIGNED;a.issueState===b&&a.commonAssignee?a.issueState=a.origCommonIssueState===b?c:a.origCommonIssueState:a.commonAssignee||a.issueState&&!hjc.has(a.issueState)||(a.issueState=b)},QTc=function(a){var b=a.issueState;
return b?a.origIssues.some(function(c){return b.status!==c.status}):!1},e9a=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);QTc(a)&&b.set("status",a.issueState.status);a.comment.value&&b.set("comment",a.comment.value);return b};var RTc=function(a){this.uploadUrl_=a};RTc.prototype.getUploadUrl=function(){return this.uploadUrl_};var STc=function(){Im.call(this)};Cp(STc,Im);var TZ=function(a){rz.call(this,a)};Cp(TZ,rz);var UZ=function(a){rz.call(this,a)};Cp(UZ,rz);var TTc=function(a,b){this.name_=a;this.inputElement_=b};TTc.prototype.getName=function(){return this.name_};var UTc=function(){this.maxChunkSize_=1073741824;this.retryOnHttpClientErrorEnabled_=!1};var VZ=function(){Im.call(this);this.name_="closure_frame"+VTc++;this.iframesForDisposal_=[];WTc[this.name_]=this},WZ;Cp(VZ,Im);var WTc={},VTc=0,XTc=function(a,b){var c=Lm(a);Obc(b,function(d,e){Array.isArray(d)||(d=[d]);oa(d,function(g){g=c.createDom("INPUT",{type:"hidden",name:e,value:g});a.appendChild(g)})})};f=VZ.prototype;f.form_=null;f.iframe_=null;f.iframeName_=null;f.nextIframeId_=0;f.active_=!1;f.complete_=!1;f.success_=!1;f.lastUri_=null;f.lastContent_=null;f.lastErrorCode_=0;
f.iframeDisposalTimer_=null;f.send=function(a,b,c,d){if(this.active_)throw Error("$d");this.lastUri_=a=new Om(a);b=b?b.toUpperCase():"GET";c&&Ybc(a);WZ||(WZ=$3b("FORM"),WZ.acceptCharset="utf-8",c=WZ.style,c.position="absolute",c.visibility="hidden",c.top=c.left="-10px",c.width=c.height="10px",c.overflow="hidden",document.body.appendChild(WZ));this.form_=WZ;"GET"==b&&XTc(this.form_,a.queryData_);d&&XTc(this.form_,d);$Ub(this.form_,Mf(a.toString()));this.form_.method=b;YTc(this);ZTc(this)};
f.abort=function(a){if(this.active_){var b=$Tc(this);if(b)if(tz(b))b.removeAllListeners(void 0);else if(b=M3b(b)){var c=0,d;for(d in b.listeners)for(var e=b.listeners[d].concat(),g=0;g<e.length;++g)xz(e[g])&&++c}this.success_=this.active_=this.complete_=!1;this.lastErrorCode_=a||7;this.dispatchEvent("abort");aUc(this)}};
f.disposeInternal=function(){this.active_&&this.abort();VZ.superClass_.disposeInternal.call(this);this.iframe_&&bUc(this);ZTc(this);delete this.errorChecker_;this.lastUri_=this.lastContent_=this.form_=null;this.lastErrorCode_=0;delete WTc[this.name_]};f.isComplete=function(){return this.complete_};f.isSuccess=function(){return this.success_};f.isActive=function(){return this.active_};f.getResponseText=function(){return this.lastContent_};f.getResponseJson=function(){return N5b(this.lastContent_)};
f.getLastUri=function(){return this.lastUri_};f.getLastErrorCode=function(){return this.lastErrorCode_};f.getLastError=function(){return U5b(this.lastErrorCode_)};
var YTc=function(a){a.active_=!0;a.complete_=!1;a.lastErrorCode_=0;a.iframeName_=a.name_+"_"+(a.nextIframeId_++).toString(36);a.iframe_=Lm(a.form_).createDom("IFRAME",{name:a.iframeName_,id:a.iframeName_});Ep&&7>Number(jMb)&&$Ub(a.iframe_,Mf(Ida(Vl('javascript:""'))));var b=a.iframe_.style;b.visibility="hidden";b.width=b.height="10px";b.display="none";Hp?b.marginTop=b.marginLeft="-10px":(b.position="absolute",b.top=b.left="-10px");Lm(a.form_).document_.body.appendChild(a.iframe_);b=a.iframeName_+
"_inner";var c=d4b(a.iframe_);if(document.baseURI){var d=mn(b);d=Jf('<head><base href="'+mn(document.baseURI)+'"></head><body><iframe id="'+d+'" name="'+d+'"></iframe>')}else d=mn(b),d=Jf('<body><iframe id="'+d+'" name="'+d+'"></iframe>');c.write(Ui(d));Jm(c.getElementById(b),"load",a.onIframeLoaded_,!1,a);d=Bz("TEXTAREA",a.form_);for(var e=0,g=d.length;e<g;e++){var h=d[e].value,l=[];i4b(d[e],l,!1);l.join("")!=h&&(e4b(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=Bz("SELECT",a.form_);g=Bz("SELECT",d);h=0;for(l=e.length;h<l;h++)for(var q=Bz("OPTION",e[h]),v=Bz("OPTION",g[h]),y=0,B=q.length;y<B;y++)v[y].selected=q[y].selected;e=Bz("INPUT",a.form_);g=Bz("INPUT",d);h=0;for(l=e.length;h<l;h++)if("file"==e[h].type&&e[h].value!=g[h].value){a.form_.target=b;d=a.form_;break}try{a.errorHandled_=!1,d.submit(),c.close(),Gp&&im(a.testForFirefoxSilentError_,250,a)}catch(I){wz(c.getElementById(b),"load",a.onIframeLoaded_,!1,a),c.close(),a.handleError_(2)}};
VZ.prototype.onIframeLoaded_=function(){wz($Tc(this),"load",this.onIframeLoaded_,!1,this);try{var a=this.iframe_?d4b($Tc(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"),aUc(this))}catch(e){this.handleError_(1)}};
VZ.prototype.handleError_=function(a){this.errorHandled_||(this.active_=this.success_=!1,this.complete_=!0,this.lastErrorCode_=a,this.dispatchEvent("complete"),this.dispatchEvent("error"),aUc(this),this.errorHandled_=!0)};
var aUc=function(a){bUc(a);ZTc(a);a.form_=null;a.dispatchEvent("ready")},bUc=function(a){var b=a.iframe_;b&&(b.onreadystatechange=null,b.onload=null,b.onerror=null,a.iframesForDisposal_.push(b));a.iframeDisposalTimer_&&(jm(a.iframeDisposalTimer_),a.iframeDisposalTimer_=null);Gp?a.iframeDisposalTimer_=im(a.disposeIframes_,2E3,a):a.disposeIframes_();a.iframe_=null;a.iframeName_=null};
VZ.prototype.disposeIframes_=function(){this.iframeDisposalTimer_&&(jm(this.iframeDisposalTimer_),this.iframeDisposalTimer_=null);for(;0!=this.iframesForDisposal_.length;){var a=this.iframesForDisposal_.pop();Fz(a)}};var ZTc=function(a){a.form_&&a.form_==WZ&&c4b(a.form_)},$Tc=function(a){return a.iframe_?d4b(a.iframe_).getElementById(a.iframeName_+"_inner"):null};
VZ.prototype.testForFirefoxSilentError_=function(){if(this.active_){var a=this.iframe_?d4b($Tc(this)):null;a&&!ULb(a,"documentUri")?(wz($Tc(this),"load",this.onIframeLoaded_,!1,this),navigator.onLine?this.handleError_(3):this.handleError_(9)):im(this.testForFirefoxSilentError_,250,this)}};var cUc=function(a,b,c,d,e){Im.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 Om(a);iC(a,"upload_protocol","multipart");this.url_=a.toString();this.request_=new VZ;this.state_="Ready";this.errorDescription_=
null;this.eventHandler_=new Tn(this);qz(this,this.eventHandler_);this.eventHandler_.listen(this.request_,"success",this.onTransferSuccess_);this.eventHandler_.listen(this.request_,"error",this.onTransferError_)};V(cUc,STc);f=cUc.prototype;f.run=function(){this.state_="Transferring";var a=this.request_,b=this.form_;if(a.active_)throw Error("$d");var c=new Om(this.url_||b.action);a.lastUri_=c;a.form_=b;$Ub(a.form_,c.toString());YTc(a)};f.getBytesTransferred=function(){return null};
f.getResponseCode=function(){return null};f.getResponseHeaders=function(){return null};f.getResponseText=function(){return this.request_&&this.request_.getResponseText()||null};f.getErrorDescription=function(){return this.errorDescription_};f.cancel=function(){this.request_&&this.request_.abort();this.state_="Cancelled";this.dispatchEvent(new TZ("q"))};f.pause=function(){};f.unpause=function(){};f.onTransferSuccess_=function(){this.state_="Complete";this.dispatchEvent(new TZ("n"))};
f.onTransferError_=function(){this.errorDescription_="Transfer failed.";this.state_="Error";this.dispatchEvent(new TZ("p"))};var fUc=function(a,b){void 0!==a.name?(this.name=a.name,this.code=dUc[a.name]):(this.code=a=a.code,this.name=eUc(a));aa.call(this,dVb("%s %s",this.name,b))};Cp(fUc,aa);
var eUc=function(a){var b=Ada(dUc,function(c){return a==c});if(void 0===b)throw Error("ae`"+a);return b},XZ={},dUc=(XZ.AbortError=3,XZ.EncodingError=5,XZ.InvalidModificationError=9,XZ.InvalidStateError=7,XZ.NotFoundError=1,XZ.NotReadableError=4,XZ.NoModificationAllowedError=6,XZ.PathExistsError=12,XZ.QuotaExceededError=10,XZ.SecurityError=2,XZ.SyntaxError=8,XZ.TypeMismatchError=11,XZ);var gUc=function(a,b){rz.call(this,a.type,b);this.event_=a};Cp(gUc,rz);var hUc=function(a,b,c){void 0===c&&(c=a.size);return a.slice?a.slice(b,c):null};var l8a=new WeakMap,k8a=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")};m8a(function(){if(!ca.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 iUc=m8a(function(){if(!ca.Blob)return!1;var a=new Uint8Array(100);try{var b=new Blob([a])}catch(c){return!1}return null===hUc(b,0,1)?!1:!0});var jUc=function(){Im.call(this);this.reader_=new FileReader;this.reader_.onloadstart=Ap(this.dispatchProgressEvent_,this);this.reader_.onprogress=Ap(this.dispatchProgressEvent_,this);this.reader_.onload=Ap(this.dispatchProgressEvent_,this);this.reader_.onabort=Ap(this.dispatchProgressEvent_,this);this.reader_.onerror=Ap(this.dispatchProgressEvent_,this);this.reader_.onloadend=Ap(this.dispatchProgressEvent_,this)};Cp(jUc,Im);f=jUc.prototype;
f.abort=function(){try{this.reader_.abort()}catch(a){throw new fUc(a,"aborting read");}};f.getReadyState=function(){return this.reader_.readyState};f.getError=function(){return this.reader_.error&&new fUc(this.reader_.error,"reading file")};f.dispatchProgressEvent_=function(a){this.dispatchEvent(new gUc(a,this))};f.disposeInternal=function(){jUc.superClass_.disposeInternal.call(this);delete this.reader_};f.readAsBinaryString=function(a){this.reader_.readAsBinaryString(a)};f.readAsArrayBuffer=function(a){this.reader_.readAsArrayBuffer(a)};
f.readAsText=function(a,b){this.reader_.readAsText(a,b)};var kUc=function(a){var b=new hN;a.listen("loadend",Bp(function(c,d){var e=d.reader_.result,g=d.getError();null==e||g?c.errback(g):c.callback(e);d.dispose()},b,a));return b};var YZ=function(){aA.call(this)};V(YZ,aA);YZ.prototype.createXhr=function(){var a=aA.prototype.createXhr.call(this);a.upload&&(a.upload.onprogress=Ap(this.onProgress_,this));return a};YZ.prototype.onProgress_=function(a){this.dispatchEvent(a)};var lUc=function(){this.attempt_=-1;this.delayCallId_=null;this.maxDelayMs_=6E4;this.maxAttempts_=-1},nUc=function(a,b){var c=a.attempt_+1;if(0<a.maxAttempts_&&c>a.maxAttempts_)return!1;0==c?b():a.delayCallId_=im(function(){a.delayCallId_=null;b()},mUc(a),a);a.attempt_=c;return!0};lUc.prototype.reset=function(){this.delayCallId_&&jm(this.delayCallId_);this.attempt_=-1};var mUc=function(a){var b=250*Math.pow(2,a.attempt_);0<=a.maxDelayMs_&&(b=Math.min(b,a.maxDelayMs_));return b};var o8a=["Content-Length","Content-Type","Content-Encoding","Transfer-Encoding"];var oUc=function(a){Im.call(this);a=a||new UTc;this.request_=this.state_=null;this.withCredentials_=!1;this.transferHandle_=null;this.offset_=this.bytesTransferred_=0;this.retryIterator_=new lUc;this.retryIterator_.maxAttempts_=6;this.retryIterator_.maxDelayMs_=6E4;this.errorDescription_=null;this.eventHandler_=new Tn(this);qz(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};Cp(oUc,STc);f=oUc.prototype;f.run=function(){ZZ(this)};f.getBytesTransferred=function(){return this.bytesTransferred_};f.getResponseCode=function(){return this.responseCode_};f.getResponseHeaders=function(){return this.responseHeaders_};
f.getResponseText=function(){return this.responseText_};f.getErrorDescription=function(){return this.errorDescription_};
f.cancel=function(){if("Response received"!=this.state_&&"Error"!=this.state_){this.eventHandler_.removeAll();this.request_&&this.request_.abort();this.retryIterator_.reset();var a="Paused"===this.state_?this.stateAfterUnpausing_:this.state_;if("Upload"===a||"Query"===a)a=new YZ,a.withCredentials_=this.withCredentials_,a.send(this.transferHandle_.getUploadUrl(),"POST","",{"X-Goog-Upload-Command":"cancel"});this.state_="Cancel";this.bytesTransferred_=0;this.dispatchEvent(new TZ("q"))}};
f.pause=function(){this.pauseRequested_=!0};f.unpause=function(){this.pauseRequested_=!1;"Paused"===this.state_&&(this.state_=this.stateAfterUnpausing_,this.stateAfterUnpausing_=null,pUc(this))};
var ZZ=function(a){var b=a.state_;a.pauseRequested_?(a.pauseRequested_=!1,a.stateAfterUnpausing_=b,a.state_="Paused"):nUc(a.retryIterator_,function(){return pUc(a)})||$Z(a,"Transfer encountered too many consecutive failures.")},pUc=function(a){switch(a.state_){case "Start":a.start_();break;case "Upload":var b=a.transferHandle_.getUploadUrl(),c=a.blob_.size;if(iUc()){var d=a.chunkSize_;var e=a.offset_+d>=c;c=hUc(a.blob_,a.offset_,e?c:a.offset_+d)}else a.offset_=0,c=a.blob_,e=!0;a.request_=new YZ;a.request_.withCredentials_=
a.withCredentials_;a.eventHandler_.removeAll();a.eventHandler_.listen(a.request_,"progress",a.onUploadProgress_);d=Ap(a.onUploadComplete_,a,a.offset_+c.size,e);a.eventHandler_.listen(a.request_,"complete",d);a.lastCommandResponseCode_=null;a.dispatchEvent(new UZ("s"));e=Object.assign({},a.headers_||{},{"X-Goog-Upload-Command":"upload"+(e?", finalize":""),"X-Goog-Upload-Offset":a.offset_});a.request_.send(b,"POST",c,e);break;case "Query":a.query_();break;default:throw Error("be");}},$Z=function(a,
b){a.state_="Error";a.errorDescription_=b;a.dispatchEvent(new TZ("p"))};f=oUc.prototype;
f.start_=function(){this.request_=new YZ;var a=Wb(this.headers_);null!=this.blob_.size&&(a["Content-Length"]=this.blob_.size);a=p8a(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 UZ("s"))};
f.onStartComplete_=function(a){var b=a.target;this.lastCommandResponseCode_=b.getStatus();this.dispatchEvent(new UZ("t"));if(qUc(b))rUc(this,b);else if(sUc(b)){a=tn(a.target.getAllResponseHeaders());for(var c in a)Jg(c.toLowerCase(),"x-goog-upload-header-");this.dispatchEvent(new TZ("o"));c=un(a,"X-Goog-Upload-URL");a=(a=un(a,"X-Goog-Upload-Chunk-Granularity"))?parseInt(a,10):1;void 0===c||isNaN(a)||0>=a?$Z(this,"Server returned invalid headers."):(this.chunkSize_=Math.floor(this.maxChunkSize_/a)*
a,this.transferHandle_=new RTc(c),this.dispatchEvent(new TZ("r")),this.state_="Upload",this.retryIterator_.reset(),ZZ(this))}else ZZ(this)};f.onUploadProgress_=function(a){this.bytesTransferred_=this.offset_+a.loaded;this.dispatchEvent(new TZ("m"))};
f.onUploadComplete_=function(a,b,c){var d=this,e,g;return Ld(function(h){switch(h.nextAddress){case 1:e=c.target;d.lastCommandResponseCode_=e.getStatus();d.dispatchEvent(new UZ("t"));if(d.retryOnHttpClientErrorEnabled_?tUc(e)||404==e.getStatus():qUc(e))return d.bytesTransferred_=a,rUc(d,e),h.return();if(sUc(e)){h.jumpTo(2);break}if(!(g=d.detectCorruptedBlobEnabled_)){h.jumpTo(3);break}return h.yield(uUc(d),4);case 4:g=h.yieldResult;case 3:if(g)return $Z(d,"Blob has been modified or corrupted."),h.return();
d.requireUploadRequestModification_=400==e.getStatus();d.state_="Query";ZZ(d);return h.return();case 2:if(b)return $Z(d,"Got a non-final success response after issuing a finalize command."),h.return();d.bytesTransferred_=a;d.offset_=a;d.retryIterator_.reset();ZZ(d);return h.return()}})};
f.query_=function(){this.request_=new YZ;this.eventHandler_.removeAll();this.eventHandler_.listen(this.request_,"complete",this.onQueryComplete_);var a=Object.assign({},this.headers_||{},{"X-Goog-Upload-Command":"query"});this.request_.send(this.transferHandle_.getUploadUrl(),"POST","",a);this.lastCommandResponseCode_=null;this.dispatchEvent(new UZ("s"))};
f.onQueryComplete_=function(a){var b=a.target;this.lastCommandResponseCode_=b.getStatus();this.dispatchEvent(new UZ("t"));qUc(b)?(200===b.getStatus()&&(this.bytesTransferred_=this.blob_.size),rUc(this,b)):sUc(b)?(a=tn(a.target.getAllResponseHeaders()),a=parseInt(un(a,"X-Goog-Upload-Size-Received"),10),isNaN(a)?$Z(this,"Server did not respond with current offset."):a<this.offset_?$Z(this,"Server lost bytes! Expected an offset of at least "+this.offset_+", but got an offset of "+a+"."):this.requireUploadRequestModification_&&
this.offset_===a?$Z(this,"Server returned the same offset as the last failed upload attempt."):(this.requireUploadRequestModification_=!1,this.offset_<a&&this.retryIterator_.reset(),this.offset_=this.bytesTransferred_=a,this.state_="Upload",ZZ(this))):ZZ(this)};
var rUc=function(a,b){a.responseCode_=b.getStatus();var c=tn(b.getAllResponseHeaders());a.responseHeaders_=q8a(c);a.responseText_=b.getResponseText();a.state_="Response received";a.dispatchEvent(new TZ("n"))},sUc=function(a){var b=a.getStatus();a=tn(a.getAllResponseHeaders());a=un(a,"X-Goog-Upload-Status");return 200===b&&"active"===a},tUc=function(a){a=tn(a.getAllResponseHeaders());return"final"===un(a,"X-Goog-Upload-Status")},qUc=function(a){if(tUc(a))return!0;a=a.getStatus();return 400<=a&&500>
a},uUc=function(a){var b;return Ld(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);Md(c,2);if(b=hUc(a.blob_,0,1)){var d=c.yield,e=new jUc,g=kUc(e);e.readAsBinaryString(b);c=d.call(c,g,4)}else c=c.return(!0);return c}if(2!=c.nextAddress)return c.return(a.blob_.size!==a.originalBlobSize_);Pd(c);return c.return(!0)})};var vUc=function(a,b,c,d,e,g){Im.call(this);this.payload_=d;this.url_=a;this.method_=b;this.headers_=c;this.metadata_=e;this.metadataOverhead_=0;this.encoding_=g||"binary";a=new Dg;this.boundary_="uploader-"+hVb()+"-"+a.toIsoString();this.transferRequest_=null;this.bytesTransferred_=0;this.responseText_=this.responseHeaders_=this.responseCode_=null;this.state_="Ready";this.errorDescription_=null;this.eventHandler_=new Tn(this);qz(this,this.eventHandler_)};V(vUc,STc);f=vUc.prototype;
f.run=function(){var a=Wb(this.headers_);null!=this.payload_.length&&(a["Content-Length"]=this.payload_.length);a=p8a(a);a["X-Goog-Upload-Protocol"]="multipart";a["Content-Type"]="multipart/related; boundary="+this.boundary_;this.state_="Transferring";this.transferRequest_=new YZ;this.eventHandler_.removeAll();this.eventHandler_.listen(this.transferRequest_,"progress",this.onTransferProgress_);this.eventHandler_.listen(this.transferRequest_,"complete",this.onTransferComplete_);var b=this.transferRequest_,
c=b.send,d=this.url_,e=this.method_,g="--"+this.boundary_+'\r\nContent-Disposition: form-data; name="metadata"\r\n\r\n'+(this.metadata_+"\r\n--")+this.boundary_+'\r\nContent-Disposition: form-data; name="Filedata"\r\nContent-Transfer-Encoding: '+(this.encoding_+"\r\n\r\n")+this.payload_+"\r\n--"+this.boundary_+"--\r\n";this.metadataOverhead_=g.length-this.payload_.length;c.call(b,d,e,g,a)};f.getBytesTransferred=function(){return this.bytesTransferred_};f.getResponseCode=function(){return this.responseCode_};
f.getResponseHeaders=function(){return this.responseHeaders_};f.getResponseText=function(){return this.responseText_};f.getErrorDescription=function(){return this.errorDescription_};f.cancel=function(){"Complete"!=this.state_&&"Error"!=this.state_&&(this.eventHandler_.removeAll(),this.transferRequest_&&this.transferRequest_.abort(),this.state_="Cancel",this.dispatchEvent(new TZ("q")))};f.pause=function(){};f.unpause=function(){};
f.onTransferProgress_=function(a){this.bytesTransferred_=Math.max(0,a.loaded-this.metadataOverhead_);this.dispatchEvent(new TZ("m"))};f.onTransferComplete_=function(a){var b=a.target.getStatus();void 0===b||-1===b?(this.errorDescription_="Connection broken before response was received.",this.state_="Error",this.dispatchEvent(new TZ("p"))):(this.responseCode_=b,a=a.target,b=tn(a.getAllResponseHeaders()),this.responseHeaders_=q8a(b),this.responseText_=a.getResponseText(),this.state_="Complete",this.dispatchEvent(new TZ("n")))};var wUc=function(){},xUc=function(a,b,c,d,e){e=void 0===e?!1:e;if(c instanceof TTc)return new cUc(a,"POST",b,c.inputElement_,d);if("string"===typeof c||c instanceof String)return new vUc(a,"POST",b,c,d);var g=new oUc(void 0);g.url_=a;g.method_="POST";g.headers_=b;g.blob_=c;g.originalBlobSize_=c.size;g.metadata_=d;e&&(g.withCredentials_=e);g.state_="Start";return g};var yUc=new Hc("ScottyUploaderConfigFactory"),zUc=new Hc("ScottyUploader",{factory:function(){return new wUc}}),a_=function(a,b){this.uploader=a;this.configFactory=b;this.internalTransferStatus=new F.Subject;this.transferStatus=sWb(this.internalTransferStatus)};
a_.prototype.upload=function(a,b){var c=this;b=void 0===b?this.configFactory.create(a):b;a=xUc(b.url,b.headers||{},a,b.metadata||"",!!b.withCredentials);this.transferSubscription&&!b.allowSimultaneousUpload&&this.transferSubscription.unsubscribe();this.transferSubscription=(0,F.merge)((0,F.fromEvent)(a,"o"),(0,F.fromEvent)(a,"m"),(0,F.fromEvent)(a,"r"),(0,F.fromEvent)(a,"p"),(0,F.fromEvent)(a,"n"),(0,F.fromEvent)(a,"q")).pipe(qe((0,F.fromEvent)(a,"n").pipe(ee(0)))).subscribe(function(d){c.internalTransferStatus.next(d)});
a.run()};a_.\u0275fac=function(a){return new (a||a_)(w(zUc),w(yUc))};a_.\u0275prov=nc({token:a_,factory:a_.\u0275fac});var AUc=function(a){this.name_=a;this.files_=[];this.directories_=[];this.directoryMap_={}};AUc.prototype.getDirectory=function(a){return this.directoryMap_[a]};AUc.prototype.getName=function(){return this.name_};var CUc=function(a,b,c){b=void 0===b?"single_file":b;c=void 0===c?[]:c;Im.call(this);this.overlayTarget_=a;this.parentOverlay_=null!=a?a.parentNode:cm(document,"scotty-overlay-parent");this.selectorType_=b;this.acceptTypes_=c;this.overlay_=BUc(this,this.overlayTarget_,this.selectorType_,this.acceptTypes_)};V(CUc,Im);
var BUc=function(a,b,c,d){var e=document.createElement("input");e.setAttribute("type","file");e.setAttribute("name","Filedata");Jm(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),Xn(e,new Vn(b.offsetLeft,b.offsetTop)),e;a.parentOverlay_.appendChild(e);return e};CUc.prototype.click=function(){this.overlay_.click()};
CUc.prototype.onFilesSelected_=function(a){a:{try{var b=void 0!==(new XMLHttpRequest).upload;break a}catch(v){}b=!1}if(b){a=a.target.files;b=[];if("single_directory"===this.selectorType_&&(Hp||Fp)){b=new AUc("");if(File.prototype.hasOwnProperty("webkitRelativePath"))for(var c=0;c<a.length;c++)for(var d=a[c],e=d.webkitRelativePath.split("/"),g=b,h=0;h<e.length;h++){var l=e[h];if(h==e.length-1){"."!=l&&g.files_.push(d);break}var q=g.getDirectory(l);void 0==q&&(l=q=new AUc(l),g.directoryMap_[l.getName()]=
l,g.directories_.push(l));g=q}b=b.directories_}this.dispatchEvent(new DUc(a,b,null))}else a=a.target.value,a.match(/^c:\\fakepath\\/i)&&(a=a.substring(12)),this.dispatchEvent(new DUc([],[],new TTc(a,this.overlay_)));this.parentOverlay_.removeChild(this.overlay_);this.overlay_=BUc(this,this.overlayTarget_,this.selectorType_,this.acceptTypes_)};
var EUc={SINGLE_FILE_SELECTION:"single_file",MULTIPLE_FILE_SELECTION:"multiple_file",SINGLE_DIRECTORY_SELECTION:"single_directory"},DUc=function(a,b){rz.call(this,"y");this.files=a;this.directories=b};V(DUc,rz);var b_=function(a,b){this.elementRef=a;this.ngZone=b;this.destroyed=new F.ReplaySubject(1);this.supportedFileExtensions=null;this.fileExtensionRejected=new tu;this.maxFileSize=null;this.fileSizeRejected=new tu;this.fileSelected=new tu;this.fileNameLengthRejected=new tu};
b_.prototype.ngAfterViewInit=function(){var a=this;this.getOverlay().pipe(pe(function(b){return(0,F.merge)((0,F.fromEvent)(b,"u"),(0,F.fromEvent)(b,"y"))}),qe(this.destroyed)).subscribe(function(b){a.ngZone.run(function(){a:{if(a.supportedFileExtensions){var c=k(b.files);for(var d=c.next();!d.done;d=c.next()){var e=a.supportedFileExtensions,g=e.includes;d=d.value.name;var h=d.lastIndexOf(".");if(!g.call(e,-1!==h?d.substr(h+1).toLowerCase():"")){c=!1;break a}}}c=!0}if(c){a:{if(a.maxFileSize)for(c=
k(b.files),e=c.next();!e.done;e=c.next())if(e.value.size>a.maxFileSize){c=!1;break a}c=!0}if(c){a:{if(a.maxFileNameLength)for(c=k(b.files),e=c.next();!e.done;e=c.next())if(e.value.name.length>a.maxFileNameLength){c=!1;break a}c=!0}c?a.fileSelected.emit(b):a.fileNameLengthRejected.emit(b)}else a.fileSizeRejected.emit(b)}else a.fileExtensionRejected.emit(b)})});this.getOverlay().subscribe(function(b){(0,F.fromEvent)(b,"w").subscribe(function(){a.ngZone.run(function(){})})});this.getOverlay().subscribe(function(b){(0,F.fromEvent)(b,
"x").subscribe(function(){a.ngZone.run(function(){})})})};b_.prototype.ngOnDestroy=function(){this.destroyed.next(!0);this.destroyed.complete()};b_.\u0275fac=function(a){return new (a||b_)(D(fd),D(te))};b_.\u0275dir=Cc({type:b_,inputs:{supportedFileExtensions:"supportedFileExtensions",maxFileSize:"maxFileSize",maxFileNameLength:"maxFileNameLength"},outputs:{fileExtensionRejected:"fileExtensionRejected",fileSizeRejected:"fileSizeRejected",fileSelected:"fileSelected",fileNameLengthRejected:"fileNameLengthRejected"}});var c_=function(a,b){b_.call(this,a,b);this.overlay=this.fileSelectorOverlay=null};V(c_,b_);
c_.prototype.getOverlay=function(){var a=this;this.overlay||(this.overlay=this.ngZone.runOutsideAngular(function(){return(0,F.merge)((0,F.fromEvent)(a.elementRef.nativeElement,"mouseover"),(0,F.fromEvent)(a.elementRef.nativeElement,"focus")).pipe(je(),qe(a.destroyed),E(function(){a.fileSelectorOverlay=new CUc(a.elementRef.nativeElement,a.selectorType,FUc(a));a.fileSelectorOverlay.overlay_.style.display="none";return a.fileSelectorOverlay}),ne(1))}));return this.overlay};
c_.prototype.onClick=function(){this.fileSelectorOverlay&&this.fileSelectorOverlay.click()};var FUc=function(a){return(a.supportedFileExtensions||[]).map(function(b){return"."+b})};c_.\u0275fac=function(a){return new (a||c_)(D(fd),D(te))};c_.\u0275dir=Cc({type:c_,hostBindings:function(a,b){a&1&&O("click",function(){return b.onClick()})},inputs:{selectorType:"selectorType"},features:[xe]});var d_=function(a,b,c){c_.call(this,a,b);this.uploader=c;this.disableAutoUploadInternal=!1};V(d_,c_);
d_.prototype.ngOnInit=function(){var a=this;this.fileSelected.pipe(qe(this.destroyed),Zd(function(){return!a.disableAutoUpload})).subscribe(function(b){b=k(b.files);for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=void 0;null==(d=a.uploader)||d.upload(c)}})};gg.Object.defineProperties(d_.prototype,{disableAutoUpload:{configurable:!0,enumerable:!0,get:function(){return this.disableAutoUploadInternal},set:function(a){this.disableAutoUploadInternal=Ef(a)}}});
d_.\u0275fac=function(a){return new (a||d_)(D(fd),D(te),D(a_,8))};d_.\u0275dir=Cc({type:d_,selectors:[["","xapUploaderTrigger",""],["","xapScottyUploaderTrigger",""]],inputs:{disableAutoUpload:"disableAutoUpload"},features:[xe]});var e_=function(){this.SelectorType=EUc;this.includeTextLabel=this.disabled=!1;this.onSelect=new tu},r8a=function(a,b){if(b=b.files){b=k(b);for(var c=b.next();!c.done;c=b.next())a.onSelect.emit(c.value)}};e_.\u0275fac=function(a){return new (a||e_)};
e_.\u0275cmp=zc({type:e_,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),R(1,s8a,2,3,"button",1),J(),R(2,t8a,3,3,"ng-template",null,2,of));if(a&2){var c=Se(3);C(1);G("ngIf",!b.includeTextLabel)("ngIfElse",c)}},dependencies:[Tu,yy,jz,XA,
d_],encapsulation:2});var GUc=function(a,b){hqc.call(this,a.size,a.name);var c=this;this.destroyed$=new F.Subject;this.onTransferEventUpdate=function(d){var e=d.target;c.transfer=e;switch(d.type){case "m":case "o":case "r":c.state=1;c.transferredBytes=e.getBytesTransferred()||0;break;case "p":c.handleError(e);break;case "n":c.transferredBytes=e.getBytesTransferred()||0;(d=e.getResponseCode())&&200!=d?c.handleError(e):(d=e.getResponseText())?(c.state=2,c.blobRef=JSON.parse(d).encryptedMedia):c.handleError(e);c.unsubscribe();
break;case "q":c.state=4;c.transferredBytes=e.getBytesTransferred()||0;break;default:c.transferredBytes=e.getBytesTransferred()||0}};b.pipe(qe(this.destroyed$)).subscribe(function(d){c.onTransferEventUpdate(d)})};V(GUc,hqc);GUc.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.")};
GUc.prototype.cancel=function(){var a,b;null==(a=this.transfer)||null==(b=a.cancel)||b.call(a);this.unsubscribe()};GUc.prototype.unsubscribe=function(){this.destroyed$.next();this.destroyed$.complete()};var f_=function(a){this.activeSession=a};
f_.prototype.create=function(a){for(var b=a.name,c=[],d=0,e=0;e<b.length;e++){var g=b.charCodeAt(e);128>g?c[d++]=g:(2048>g?c[d++]=g>>6|192:(55296==(g&64512)&&e+1<b.length&&56320==(b.charCodeAt(e+1)&64512)?(g=65536+((g&1023)<<10)+(b.charCodeAt(++e)&1023),c[d++]=g>>18|240,c[d++]=g>>12&63|128):c[d++]=g>>12|224,c[d++]=g>>6&63|128),c[d++]=g&63|128)}b=Oaa(c);a=BDa(a.name)?a.name:b;return{url:iC(Zbc().setPath("/upload/"),"authuser",this.activeSession.getSessionIdentifier()).toString(),headers:{"X-Bv2-Encoded-Upload-File-Name":b,
"X-Goog-Upload-File-Name":a},withCredentials:!0}};f_.\u0275fac=function(a){return new (a||f_)(w(rp))};f_.\u0275prov=nc({token:f_,factory:f_.\u0275fac,providedIn:"root"});var g_=function(a,b){this.uploader=a;this.uploaderConfigFactory=b};g_.prototype.create=function(){return new a_(this.uploader,this.uploaderConfigFactory)};g_.\u0275fac=function(a){return new (a||g_)(w(zUc),w(f_))};g_.\u0275prov=nc({token:g_,factory:g_.\u0275fac,providedIn:"root"});var x8a=function(a){return{"attachment-error":a}},h_=function(a){kE.call(this);this.scottyUploaderFactory=a;this.uploads=[];this.onUploadCancel=new tu;this.onUploadComplete=new tu;this.uploadStates=iqc};V(h_,kE);h_.\u0275dir=kE.\u0275dir;h_.prototype.ngOnDestroy=function(){kE.prototype.ngOnDestroy.call(this);for(var a=k(this.uploads),b=a.next();!b.done;b=a.next())b.value.cancel()};
h_.prototype.upload=function(a){var b=this,c=this.scottyUploaderFactory.create();c.upload(a);a=new GUc(a,c.transferStatus);c.transferStatus.pipe(qe(this.destroyed$)).subscribe(function(d){"n"===d.type&&b.onUploadComplete.emit()});return a};h_.prototype.cancel=function(a){a.cancel();this.onUploadCancel.emit(a)};h_.\u0275fac=function(a){return new (a||h_)(D(g_))};
h_.\u0275cmp=zc({type:h_,selectors:[["b-attachment-uploader"]],inputs:{uploads:"uploads"},outputs:{onUploadCancel:"onUploadCancel",onUploadComplete:"onUploadComplete"},features:[xe],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&&R(0,z8a,2,1,"div",0);a&2&&G("ngIf",0<b.uploads.length)},dependencies:[Ru,Su,Tu,jz,XA,Nqc],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 HUc=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 IUc=function(a){hqc.call(this,a.size,a.name);this.attachment=a};V(IUc,hqc);
var JUc=function(a,b){a.attachment.encryptedBlobId?(a.state=1,aqc(b,{filename:a.attachment.name,mimeType:a.attachment.mimeType,encryptedBlobId:a.attachment.encryptedBlobId,docId:a.attachment.docId,size:a.attachment.size}).then(function(c){a.attachment.size&&(a.transferredBytes=a.attachment.size);a.blobRef=c.encryptedMedia;a.state=2}).catch(function(c){a.state=3;a.errorMessage=Bk(c)?Ck(c):"Error while uploading."})):(a.state=3,a.errorMessage="Error while uploading.")};var i_=function(a){this.id_=a;this.opts={}};f=i_.prototype;f.setLabel=function(a){this.label_=a||void 0;return this};f.setOptions=function(a){this.opts=a};f.setQuery=function(a){this.opts.query=a;return this};f.setParent=function(a){this.opts.parent=a;return this};f.toArray=function(){var a=Ub(this.opts,function(c){return null!==c});a=Cda(a)?null:a;a=[this.id_,this.label_,a];var b=zaa(a,BUb);return a=a.slice(0,b+1)};
f.toString=function(){var a=this.toArray();return"("+RLb(a,function(b){return JSON.stringify(b)}).join(",")+")"};f.getId=function(){return this.id_};f.getLabel=function(){return this.label_};f.getOptions=function(){return Wb(this.opts)};f.getQuery=function(){return this.opts.query};var j_=function(a){i_.call(this,a||"all")};Cp(j_,i_);var KUc=function(){var a=(new j_("all")).setOwnedByMe(!0);a.opts.drdis=!0;a.opts.includeFolders=!0;a.opts.sortKey=7;a.opts.ff=!0;return a};f=j_.prototype;f.setMode=function(a){this.opts.mode=a;return this};f.setOwnedByMe=function(a){void 0!==a?this.opts.ownedByMe=a:delete this.opts.ownedByMe;return this};f.setStarred=function(a){this.opts.starred=a};f.setLabel=function(a){j_.superClass_.setLabel.call(this,a);return this};
f.setQuery=function(a){j_.superClass_.setQuery.call(this,a);return this};f.setParent=function(a){j_.superClass_.setParent.call(this,a);return this};var LUc=function(){i_.call(this,"image-search")};V(LUc,i_);f=LUc.prototype;f.setType=function(a){this.opts.type=a;return this};f.setSize=function(a){this.opts.imgsz=a;return this};f.setColor=function(a){this.opts.imgcolor=a;return this};f.setLabel=function(a){i_.prototype.setLabel.call(this,a);return this};f.setQuery=function(a){i_.prototype.setQuery.call(this,a);return this};f.setParent=function(a){i_.prototype.setParent.call(this,a);return this};var k_=function(){i_.call(this,"maps")};V(k_,i_);k_.prototype.setMode=function(a){this.opts.mode=a;return this};k_.prototype.setLabel=function(a){i_.prototype.setLabel.call(this,a);return this};k_.prototype.setQuery=function(a){i_.prototype.setQuery.call(this,a);return this};k_.prototype.setParent=function(a){i_.prototype.setParent.call(this,a);return this};var MUc=function(){i_.call(this,"photos")};V(MUc,i_);f=MUc.prototype;f.setMode=function(a){this.opts.mode=a;return this};f.setType=function(a){this.opts.type=a;return this};f.setLabel=function(a){i_.prototype.setLabel.call(this,a);return this};f.setQuery=function(a){i_.prototype.setQuery.call(this,a);return this};f.setParent=function(a){i_.prototype.setParent.call(this,a);return this};f.removeDuplicates=function(){this.opts.rdv=!0;return this};var l_=function(){i_.call(this,"url")};V(l_,i_);l_.prototype.setType=function(a){this.opts.type=a;return this};l_.prototype.setLabel=function(a){i_.prototype.setLabel.call(this,a);return this};l_.prototype.setQuery=function(a){i_.prototype.setQuery.call(this,a);return this};l_.prototype.setParent=function(a){i_.prototype.setParent.call(this,a);return this};var NUc=function(){i_.call(this,"video-search")};V(NUc,i_);NUc.prototype.setLabel=function(a){i_.prototype.setLabel.call(this,a);return this};NUc.prototype.setQuery=function(a){i_.prototype.setQuery.call(this,a);return this};NUc.prototype.setParent=function(a){i_.prototype.setParent.call(this,a);return this};var OUc=function(){i_.call(this,"web")};V(OUc,i_);OUc.prototype.setLabel=function(a){i_.prototype.setLabel.call(this,a);return this};OUc.prototype.setQuery=function(a){i_.prototype.setQuery.call(this,a);return this};OUc.prototype.setParent=function(a){i_.prototype.setParent.call(this,a);return this};var m_=function(){this.root_=void 0;this.items_=[];this.opts={}},PUc=function(a){switch(a){case "image-search":return new LUc;case "maps":return new k_;case "photos":return new MUc;case "url":return new l_;case "video-search":return new NUc;case "web":return new OUc}return new i_(a)};m_.prototype.addView=function(a){this.items_.push("string"===typeof a?PUc(a):a);return this};
var QUc=function(a){return"("+RLb(a.items_,function(b){return b.toString()}).join(",")+")"},RUc=function(a){a=Ub(a.opts,function(b){return null!==b});return(a=Cda(a)?null:a)?JSON.stringify(wda(a,function(b){return b.toString()})):""};m_.prototype.toString=function(){if(this.root_){var a=["{root:",this.root_.toString(),",items:",QUc(this)],b=RUc(this);b&&(a.push(",options:"),a.push(b));a.push("}");return a.join("")}return QUc(this)};
m_.prototype.toObject=function(){var a=RLb(this.items_,function(b){return b instanceof m_?b.toObject():b.toArray()});return this.root_?{root:this.root_.toArray(),items:a,options:this.getOptions()}:a};m_.prototype.getOptions=function(){return Wb(this.opts)};var SUc=function(a){this.basePickerUrl_=a||"https://docs.google.com/picker";this.nav_=new m_};f=SUc.prototype;f.nav_=null;f.domHelper_=null;f.addView=function(a){this.nav_.addView(a);return this};f.getAppId=function(){return this.appId_};f.getBaseUrl=function(){return this.basePickerUrl_};f.getDomHelper=function(){return this.domHelper_};f.setAppId=function(a){this.appId_=a};f.setCallback=function(a){this.callback_=a;return this};var TUc=function(a){SUc.call(this,a)};Cp(TUc,SUc);var n_=function(a){Im.call(this);this.dom_=a||Lm();this.rightToLeft_=UUc;this.id_=null;this.inDocument_=!1;this.element_=null;this.googUiComponentHandler_=void 0;this.childIndex_=this.children_=this.parent_=null};Cp(n_,Im);n_.prototype.idGenerator_=Rn.getInstance();var UUc=!1;f=n_.prototype;f.getId=function(){return this.id_||(this.id_=In(this.idGenerator_))};
f.setId=function(a){if(this.parent_&&this.parent_.childIndex_){Vb(this.parent_.childIndex_,this.id_);var b=this.parent_.childIndex_;if(null!==b&&a in b)throw Error("$`"+a);b[a]=this}this.id_=a};f.getElement=function(){return this.element_};f.getHandler=function(){this.googUiComponentHandler_||(this.googUiComponentHandler_=new Tn(this));return this.googUiComponentHandler_};
f.setParent=function(a){if(this==a)throw Error("ce");if(a&&this.parent_&&this.id_&&tSc(this.parent_,this.id_)&&this.parent_!=a)throw Error("ce");this.parent_=a;n_.superClass_.setParentEventTarget.call(this,a)};f.getParent=function(){return this.parent_};f.setParentEventTarget=function(a){if(this.parent_&&this.parent_!=a)throw Error("de");n_.superClass_.setParentEventTarget.call(this,a)};f.getDomHelper=function(){return this.dom_};f.createDom=function(){this.element_=this.dom_.createElement("DIV")};
f.render=function(a){if(this.inDocument_)throw Error("ee");this.element_||this.createDom();a?a.insertBefore(this.element_,null):this.dom_.document_.body.appendChild(this.element_);this.parent_&&!this.parent_.inDocument_||this.enterDocument()};f.enterDocument=function(){this.inDocument_=!0;VUc(this,function(a){!a.inDocument_&&a.getElement()&&a.enterDocument()})};
f.exitDocument=function(){VUc(this,function(a){a.inDocument_&&a.exitDocument()});this.googUiComponentHandler_&&this.googUiComponentHandler_.removeAll();this.inDocument_=!1};f.disposeInternal=function(){this.inDocument_&&this.exitDocument();this.googUiComponentHandler_&&(this.googUiComponentHandler_.dispose(),delete this.googUiComponentHandler_);VUc(this,function(a){a.dispose()});this.element_&&Fz(this.element_);this.parent_=this.element_=this.childIndex_=this.children_=null;n_.superClass_.disposeInternal.call(this)};
f.addChild=function(){var a=this.children_?this.children_.length:0;if((void 0).inDocument_&&!this.inDocument_)throw Error("ee");if(0>a||a>(this.children_?this.children_.length:0))throw Error("fe");this.childIndex_&&this.children_||(this.childIndex_={},this.children_=[]);if((void 0).getParent()==this){var b=this.childIndex_,c=(void 0).getId();b[c]=void 0;qa(this.children_)}else{b=this.childIndex_;c=(void 0).getId();if(null!==b&&c in b)throw Error("$`"+c);b[c]=void 0}(void 0).setParent(this);Gaa(this.children_,
a,0,void 0);(void 0).inDocument_&&this.inDocument_&&(void 0).getParent()==this?(b=this.getContentElement(),(b.childNodes[a]||null)!=(void 0).getElement()&&((void 0).getElement().parentElement==b&&b.removeChild((void 0).getElement()),a=b.childNodes[a]||null,b.insertBefore((void 0).getElement(),a))):this.inDocument_&&!(void 0).inDocument_&&(void 0).element_&&(void 0).element_.parentNode&&1==(void 0).element_.parentNode.nodeType&&(void 0).enterDocument()};f.getContentElement=function(){return this.element_};
f.isRightToLeft=function(){null==this.rightToLeft_&&(this.rightToLeft_=TS(this.inDocument_?this.element_:this.dom_.document_.body));return this.rightToLeft_};f.hasChildren=function(){return!!this.children_&&0!=this.children_.length};var tSc=function(a,b){return a.childIndex_&&b?Eda(a.childIndex_,b)||null:null},VUc=function(a,b){a.children_&&a.children_.forEach(b,void 0)};
n_.prototype.removeChild=function(a,b){if(a){var c="string"===typeof a?a:a.getId();a=tSc(this,c);c&&a&&(Vb(this.childIndex_,c),qa(this.children_,a),b&&(a.exitDocument(),a.element_&&Fz(a.element_)),a.setParent(null))}if(!a)throw Error("ge");return a};n_.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};Cp(B8a,A8a);var WUc=function(a){A8a.call(this,"visibility");this.visible=a};Cp(WUc,A8a);var XUc=Ul(Vl("//www-onepick-opensocial.googleusercontent.com/gadgets/js/rpc.js?c=1&container=onepick")),YUc=Ul(Vl("//apis.google.com/js/rpc.js")),D8a=null;var ZUc=function(a){Im.call(this);this.element_=a;a=Ep?"focusout":"blur";this.listenKeyIn_=Jm(this.element_,Ep?"focusin":"focus",this,!Ep);this.listenKeyOut_=Jm(this.element_,a,this,!Ep)};Cp(ZUc,Im);ZUc.prototype.handleEvent=function(a){var b=new sz(a.event_);b.type="focusin"==a.type||"focus"==a.type?"focusin":"focusout";this.dispatchEvent(b)};ZUc.prototype.disposeInternal=function(){ZUc.superClass_.disposeInternal.call(this);xz(this.listenKeyIn_);xz(this.listenKeyOut_);delete this.element_};var $Uc=new Map;$Uc.set("application/vnd.google-apps.document","application/vnd.google-gsuite.document-blob");$Uc.set("application/vnd.google-apps.spreadsheet","application/vnd.google-gsuite.spreadsheet-blob");$Uc.set("application/vnd.google-apps.presentation","application/vnd.google-gsuite.presentation-blob");var aVc=new Set;aVc.add("application/vnd.google-apps.kix");aVc.add("application/vnd.google-apps.ritz");aVc.add("application/vnd.google-apps.punch");var kVc=function(a,b,c){var d=c&&mh(c,1);if(c){var e=mh(c,3);e=e&&JSON.parse(e)||{};c={0:mh(c,1),1:c.getLabel(),2:e}}else c={};switch(a[0].getId().getSourceId()){case 13:return bVc(a,b,d,c);case 3:return cVc(a,b,d,c);case 10:return dVc(a,b,d,c);case 12:return eVc(a,b);case 2:return fVc(a,b,d,c);case 5:return gVc(a,b,d,c);case 9:return hVc(a,b,d,c);case 6:return iVc(a,b,d,c);case 1:return qi(a[0],Ns,26)?jVc(a,b,d,c):dVc(a,b,d,c);default:return{}}},iVc=function(a,b,c,d){a=a.map(function(e){return{id:e.getId().getId(),
serviceId:"youtube",name:e.getName(),description:e.getDescription(),type:o_(e),lastEditedUtc:W(e,ug,16).toDate().getTime(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",url:e.getUrl(),embedUrl:mh(e,13),thumbnails:p_(ct(e))}});return{action:b,docs:a,viewToken:d,view:c||"youtube",v2Translated:!0}},fVc=function(a,b,c,d){var e=a.map(function(g){var h={id:g.getId().getId(),serviceId:"docs",mimeType:g.getMimeType(),name:g.getName(),type:o_(g),lastEditedUtc:g.getLastModifiedTimestamp().toDate().getTime(),
url:g.getUrl(),sizeBytes:Wp(g,23),description:g.getDescription(),iconUrl:g.getIconUrl(),thumbnails:p_(ct(g)),isShared:et(g).getShared(),downloadUrl:mh(et(g),10),embedUrl:mh(g,13),copyable:vi(et(g),9),resourceKey:et(g).getResourceKey()};vi(et(g),12)&&(h.uploadState="success");if(et(g).hasVideoMetadata()){g=et(g).getVideoMetadata();var l=g.getDuration().getSeconds()+g.getDuration().getNanos()/1E9;h.duration=l;h.aspectRatio=Xh(g,1)}return h});return{action:b,docs:e,viewToken:d,view:c||"all",extraUserInputs:lVc(a),
v2Translated:!0}},gVc=function(a,b,c,d){a=a.map(function(e){var g=W(W(e,$s,15),Hs,1);um(e,10,Hs,g);return{id:e.getId().getId(),serviceId:"web",mimeType:e.getMimeType(),name:e.getName(),type:o_(e),url:e.getUrl(),description:e.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:p_(ct(e))}});return{action:b,docs:a,viewToken:d,view:c||"image-search",v2Translated:!0}},hVc=function(a,b,c,d){a=a.map(function(e){return{serviceId:"url",name:ct(e)[0].getUrl().split("/").pop(),
type:o_(e),mimeType:e.getMimeType(),url:e.getUrl(),description:e.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:p_(ct(e))}});return{action:b,docs:a,viewToken:d,view:c||"url",v2Translated:!0}},jVc=function(a,b,c,d){a=a.map(function(e){return{id:e.getId().getId(),serviceId:"picasa",name:e.getName(),type:o_(e),description:e.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:p_(ct(e))}});
return{action:b,docs:a,viewToken:d,view:c||"webcam",v2Translated:!0}},dVc=function(a,b,c,d){return{action:b,docs:a.map(mVc),viewToken:d,view:nVc(c||"upload",a),extraUserInputs:lVc(a),v2Translated:!0}},nVc=function(a,b){return b.some(function(c){var d;return 9===(null==(d=W(c,Xs,30))?void 0:d.getAgentId())})?a+"/gmailphotos":a},cVc=function(a,b,c,d){var e=a.map(function(g){var h={id:g.getId().getId(),serviceId:"picasa",mimeType:g.getMimeType(),name:g.getName(),type:o_(g),lastEditedUtc:g.getLastModifiedTimestamp().toDate().getTime(),
url:g.getUrl(),sizeBytes:Wp(g,23),description:g.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:p_(ct(g)),mediaKey:g.getId().getId(),parentId:g.getParentId()},l;if(g=null==(l=W(g,Ss,18))?void 0:W(l,Rs,3))h.latitude=g.getLatitude(),h.longitude=g.getLongitude();return h});return{action:b,docs:e,viewToken:d,view:c||"photos",extraUserInputs:lVc(a),v2Translated:!0}},bVc=function(a,b,c,d){a=a.map(function(e){return{id:e.getId().getId(),serviceId:"et",
name:ct(e)[0].getUrl().split("/").pop(),description:e.getDescription(),type:"et",iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:p_(ct(e),"etjpg")}});return{action:b,docs:a,viewToken:d,view:c||"et",v2Translated:!0}},eVc=function(a,b){a=a.map(function(c){var d=W(c,Os,27).getEmailList()[0];return{id:c.getId().getId(),serviceId:"contacts",mimeType:c.getMimeType(),name:c.getName(),description:c.getDescription(),url:"mailto:"+d,thumbnail:[{url:c.getIconUrl()}],
email:d}});return{action:b,docs:a,view:"contacts",v2Translated:!0}},p_=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}})},lVc=function(a){return{isAttachment:a.some(function(b){return vi(b,31)})}},mVc=function(a){var b={id:a.getId().getId(),serviceId:oVc(a),mimeType:a.getMimeType(),name:a.getName(),type:o_(a),sizeBytes:Wp(a,
23),description:a.getDescription(),iconUrl:"https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png",thumbnails:p_(ct(a)),isNew:!0},c=W(a,Xs,30);if(c){b.dataUrl=mh(c,1)||null;a:{var d=W(a,Xs,30);switch(d.getAgentId()){case 9:d=Fi(d,Vs,2,Ys);d={remoteRefs:d&&mh(d,1)};break a;case 10:case 15:d=Fi(d,Us,4,Ys);var e=ct(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&&Fi(c,Us,4,Ys))&&(b.id=d.getPhotoId());(d=c&&Fi(c,Ws,5,Ys))&&(b.contentId=mh(d,1));(d=c&&Fi(c,Ts,6,Ys))&&(b.contentId=mh(d,1));1===(null==c?void 0:c.getAgentId())&&(b.mediaKey=a.getId().getId());return b},oVc=function(a){var b;switch((null==(b=W(a,Xs,30))?void 0:b.getAgentId())||0){case 1:return"picasa";case 2:case 3:case 4:case 8:case 12:return"photo";case 10:case 15:return"dragonflyphotos";case 11:return"mapspro";case 13:return"books";case 14:return"cultural"}return null},
o_=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 pVc=function(a){this.obj_=a};f=pVc.prototype;f.value=function(){return this.obj_};f.setWidth=function(a){this.obj_.width=a;return this};f.getWidth=function(){return this.obj_.width};f.setHeight=function(a){this.obj_.height=a;return this};f.getHeight=function(){return this.obj_.height};f.setStyle=function(a){this.obj_.style=a;return this};f.getStyle=function(){return this.obj_.style};var qVc=function(a){this.obj_=a||{}};f=qVc.prototype;f.value=function(){return this.obj_};f.setUrl=function(a){this.obj_.url=a;return this};f.getUrl=function(){return this.obj_.url};f.setStyle=function(a){this.obj_.style=a;return this};f.getStyle=function(){return this.obj_.style};f.setId=function(a){this.obj_.id=a;return this};f.getId=function(){return this.obj_.id};f.getContext=function(){return this.obj_.context};
var rVc=function(a){a.obj_.attributes=a.obj_.attributes||{};return new pVc(a.obj_.attributes)},MIc=function(a){return(a=a.obj_.timeout)?a:null};var sVc=function(){qVc.apply(this,arguments)};V(sVc,qVc);var tVc=Ul(Vl("https://apis.google.com/js/api.js")),xVc=function(a,b){var c=!1,d=uVc(a,b).then(function(g){c=!0;return g}),e=T4b(5E3).then(function(){return c?uVc(a,b):vVc(b).then(function(g){return wVc(g,a)})});return F4b([d,e])},uVc=function(a,b){return yVc(b).then(function(c){return wVc(c,a)})},wVc=function(a,b){var c=Jg(b,"gapi.")?b.slice(5):b;return a[c]?z4b(a[c]):new Jz(function(d,e){var g=im(function(){e(Error("he"))},3E4);a.load(b,{callback:function(){jm(g);d(a[c])},onerror:function(h){jm(g);
e(h)}})})},yVc=function(a){return a.gapi&&a.gapi.load?z4b(a.gapi):vVc(a)},vVc=function(a){return vJa(tVc,{document:a.document}).then(function(){return a.gapi})},zVc=function(){};zVc.prototype.load=function(a,b){b=void 0===b?window:b;var c=Date.now();return xVc(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 AVc=function(){ng.call(this);this.gapiLoader_=new zVc;this.origin_=null;this.gapiPickerIframeResolver_=H4b();this.gapiIframesResolver_=H4b();this.gapiIframesResolver_.promise.then(null,function(){});this.gapiPickerIframeResolver_.promise.then(null,function(){});this.hostMessageHandlerInternal_={}};V(AVc,ng);
var BVc=function(a,b){var c=Em("gapi.iframes",b);return c?(a=Date.now(),z4b({library:c,loadStartMs:a,loadEndMs:a})):a.gapiLoader_.load("gapi.iframes",b)},CVc=function(a,b,c,d,e,g){var h=!0;h=void 0===h?!1:h;BVc(a,Ez(b.ownerDocument)).then(function(l){var q=l.library;a.gapiIframesResolver_.resolve(q);l=a.gapiPickerIframeResolver_;var v=l.resolve,y=h;y=void 0===y?!1:y;var B={};B["host-message-handler"]=c;a.hostMessageHandlerInternal_=B;var I=kC(d);I=kC(I);I=fC(eC(new Om,I.scheme_).setDomain(I.getDomain()),
I.port_).toString();a.origin_=I;I=(new sVc).setUrl(d);I.obj_.where=b;I.obj_.allowPost=y;I.obj_.messageHandlers=B;y=Em("makeWhiteListIframesFilter",q)([a.origin_]);I.obj_.messageHandlersFilter=y;null!=e&&I.setId(e);null!=g&&(I.obj_.rpctoken=g);rVc(I).setStyle({display:"block","min-width":"100%",width:"1px"}).setHeight("100%");rVc(I).value().allow="camera 'src' "+a.origin_;q=q.getContext().openChild(I.value());v.call(l,q)},function(l){a.gapiIframesResolver_.reject(l);a.gapiPickerIframeResolver_.reject(l)});
return a.gapiPickerIframeResolver_.promise},DVc=function(a,b){return E4b([a.gapiIframesResolver_.promise,a.gapiPickerIframeResolver_.promise]).then(function(c){var d=k(c);c=d.next().value;return(d=d.next().value)?d.send("picker-message-handler",b,void 0,Em("makeWhiteListIframesFilter",c)([a.origin_])):A4b(Error("ie"))})};AVc.prototype.disposeInternal=function(){EVc(this);ng.prototype.disposeInternal.call(this)};
var EVc=function(a){a.gapiPickerIframeResolver_.promise.then(function(b){b&&(b.unregister("host-message-handler"),delete a.hostMessageHandlerInternal_["host-message-handler"])})};var FVc=function(){this.nextId_=0};FVc.prototype.getUniqueId=function(){return":"+(this.nextId_++).toString(36)};var HVc=function(a,b){switch(a.action){case "select-contacts":a=GVc(a.contacts);break;case "visibility":a=a.visible;a=(new Dt).setCommand(7).setVisible(a);var c={};c["iframe-command"]=a.serialize();a=c;break;default:a=null}return a?DVc(b,a):z4b()},GVc=function(a){if(!a||0==a.length)return null;var b=new Dt;b.setCommand(11);var c=new FVc;a.forEach(function(d){if(d.email){var e=(new bt).setName(d.name?d.name:d.email);d=(new Os).addEmail(d.email);e=Oh(e,Os,27,d).setId((new Ds).setId(c.getUniqueId()).setSourceId(12))}else e=
null;e&&b.addItem(e)});a={};a["iframe-command"]=b.serialize();return a};var q_=function(a,b,c){Im.call(this);this.target=a;this.handle=b||a;this.limits=c||new OS(NaN,NaN,NaN,NaN);this.document_=Az(a);this.eventHandler_=new Tn(this);qz(this,this.eventHandler_);this.deltaY=this.deltaX=this.startY=this.startX=this.screenY=this.screenX=this.clientY=this.clientX=0;this.dragging_=!1;Jm(this.handle,["touchstart","mousedown"],this.startDrag,!1,this);this.useSetCapture_=IVc};Cp(q_,Im);
var IVc=ca.document&&ca.document.documentElement&&!!ca.document.documentElement.setCapture&&!!ca.document.releaseCapture;f=q_.prototype;f.getHandler=function(){return this.eventHandler_};f.disposeInternal=function(){q_.superClass_.disposeInternal.call(this);wz(this.handle,["touchstart","mousedown"],this.startDrag,!1,this);this.eventHandler_.removeAll();this.useSetCapture_&&this.document_.releaseCapture();this.handle=this.target=null};
f.startDrag=function(a){var b="mousedown"==a.type;if(this.dragging_||b&&(0!=a.event_.button||Qn&&a.ctrlKey))this.dispatchEvent("earlycancel");else if(this.dispatchEvent(new r_("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(Ez(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=Dz(Lm(this.document_).document_)}};
f.endDrag=function(a,b){this.eventHandler_.removeAll();this.useSetCapture_&&this.document_.releaseCapture();this.dragging_?(this.dragging_=!1,this.dispatchEvent(new r_("end",this,a.clientX,a.clientY,a,JVc(this,this.deltaX),KVc(this,this.deltaY),b||"touchcancel"==a.type))):this.dispatchEvent("earlycancel")};
f.handleMove_=function(a){var b=a.clientX-this.clientX,c=a.clientY-this.clientY;this.clientX=a.clientX;this.clientY=a.clientY;this.screenX=a.screenX;this.screenY=a.screenY;if(!this.dragging_){var d=this.startX-this.clientX,e=this.startY-this.clientY;if(0<d*d+e*e)if(this.dispatchEvent(new r_("start",this,a.clientX,a.clientY,a)))this.dragging_=!0;else{this.isDisposed()||this.endDrag(a);return}}c=LVc(this,b,c);b=c.x;c=c.y;this.dragging_&&this.dispatchEvent(new r_("beforedrag",this,a.clientX,a.clientY,
a,b,c))&&(MVc(this,a,b,c),a.preventDefault())};var LVc=function(a,b,c){var d=Dz(Lm(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 Vn(JVc(a,a.deltaX),KVc(a,a.deltaY))};q_.prototype.onScroll_=function(a){var b=LVc(this,0,0);a.clientX=this.clientX;a.clientY=this.clientY;MVc(this,a,b.x,b.y)};
var MVc=function(a,b,c,d){a.target.style.left=c+"px";a.target.style.top=d+"px";a.dispatchEvent(new r_("drag",a,b.clientX,b.clientY,b,c,d))},JVc=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))},KVc=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))};q_.prototype.isDragging=function(){return this.dragging_};
var r_=function(a,b,c,d,e,g,h){rz.call(this,a);this.clientX=c;this.clientY=d;this.left=void 0!==g?g:b.deltaX;this.top=void 0!==h?h:b.deltaY};Cp(r_,rz);var s_=function(a){this.map_=new Map;var b=arguments.length;if(1<b){if(b%2)throw Error("aa");for(var c=0;c<b;c+=2)this.set(arguments[c],arguments[c+1])}else a&&this.addAll(a)};f=s_.prototype;f.getCount=function(){return this.map_.size};f.getValues=function(){return Array.from(this.map_.values())};f.getKeys=function(){return Array.from(this.map_.keys())};f.containsKey=function(a){return this.map_.has(a)};f.containsValue=function(a){return this.getValues().some(function(b){return b==a})};
f.equals=function(a,b){var c=this;b=void 0===b?function(d,e){return d===e}:b;return this===a?!0:this.map_.size!=a.getCount()?!1:this.getKeys().every(function(d){return b(c.map_.get(d),a.get(d))})};f.isEmpty=function(){return 0==this.map_.size};f.clear=function(){this.map_.clear()};f.remove=function(a){return this.map_.delete(a)};f.get=function(a,b){return this.map_.has(a)?this.map_.get(a):b};f.set=function(a,b){this.map_.set(a,b);return this};
f.addAll=function(a){if(a instanceof s_){a=k(a.map_);for(var b=a.next();!b.done;b=a.next()){var c=k(b.value);b=c.next().value;c=c.next().value;this.map_.set(b,c)}}else if(a)for(a=k(Object.entries(a)),b=a.next();!b.done;b=a.next())c=k(b.value),b=c.next().value,c=c.next().value,this.map_.set(b,c)};f.forEach=function(a,b){var c=this;b=void 0===b?this:b;this.map_.forEach(function(d,e){return a.call(b,d,e,c)})};f.clone=function(){return new s_(this)};
f.toObject=function(){for(var a={},b=k(this.map_),c=b.next();!c.done;c=b.next()){var d=k(c.value);c=d.next().value;d=d.next().value;a[c]=d}return a};(function(){for(var a=["ms","moz","webkit","o"],b,c=0;b=a[c]&&!ca.requestAnimationFrame;++c)ca.requestAnimationFrame=ca[b+"RequestAnimationFrame"],ca.cancelAnimationFrame=ca[b+"CancelAnimationFrame"]||ca[b+"CancelRequestAnimationFrame"];if(!ca.requestAnimationFrame){var d=0;ca.requestAnimationFrame=function(e){var g=(new Date).getTime(),h=Math.max(0,16-(g-d));d=g+h;return ca.setTimeout(function(){e(g+h)},h)};ca.cancelAnimationFrame||(ca.cancelAnimationFrame=function(e){clearTimeout(e)})}})();
var NVc=[[],[]],OVc=0,PVc=!1,QVc=0,SVc=function(a,b){var c=QVc++,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,NVc[OVc].push(d));PVc||(PVc=!0,window.requestAnimationFrame(RVc))}},RVc=
function(){PVc=!1;var a=NVc[OVc],b=a.length;OVc=(OVc+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 TVc=Ep?Ul(Vl('javascript:""')):Ul(Vl("about:blank"));qg(TVc);var UVc=Ep?Ul(Vl('javascript:""')):Ul(Vl("javascript:undefined"));qg(UVc);var VVc=function(a,b){this.element_=a;this.dom_=b};var u_=function(a,b){n_.call(this,b);this.useIframeMask_=!!a;this.lastFocus_=null;this.resizeBackgroundTask_=SVc({mutate:this.resizeBackground_},this);SVc({mutate:this.updateModalAndBackground_},this)};Cp(u_,n_);f=u_.prototype;f.focusHandler_=null;f.visible_=!1;f.bgEl_=null;f.bgIframeEl_=null;f.tabCatcherElement_=null;f.backwardTabWrapInProgress_=!1;f.getCssClass=function(){return"goog-modalpopup"};f.getBackgroundElement=function(){return this.bgEl_};
f.createDom=function(){u_.superClass_.createDom.call(this);var a=this.getElement();UJc(a,Lg(this.getCssClass()).split(" "));a.tabIndex=0;SS(a,!1);this.useIframeMask_&&!this.bgIframeEl_&&(a=this.getDomHelper().createDom("IFRAME",{frameborder:0,style:"border:0;vertical-align:bottom;"}),a.src=qg(TVc).toString(),this.bgIframeEl_=a,this.bgIframeEl_.className=this.getCssClass()+"-bg",SS(this.bgIframeEl_,!1),fKc(this.bgIframeEl_,0));this.bgEl_||(this.bgEl_=this.getDomHelper().createDom("DIV",this.getCssClass()+
"-bg"),SS(this.bgEl_,!1));this.tabCatcherElement_||(this.tabCatcherElement_=this.getDomHelper().createElement("SPAN"),SS(this.tabCatcherElement_,!1),this.tabCatcherElement_.tabIndex=0,this.tabCatcherElement_.style.position="absolute")};f.resetBackwardTabWrap_=function(){this.backwardTabWrapInProgress_=!1};
f.enterDocument=function(){if(this.bgIframeEl_){var a=this.getElement();a.parentNode&&a.parentNode.insertBefore(this.bgIframeEl_,a)}a=this.getElement();a.parentNode&&a.parentNode.insertBefore(this.bgEl_,a);u_.superClass_.enterDocument.call(this);a=this.getElement();a.parentNode&&a.parentNode.insertBefore(this.tabCatcherElement_,a.nextSibling);this.focusHandler_=new ZUc(this.getDomHelper().document_);this.getHandler().listen(this.focusHandler_,"focusin",this.onFocus);WVc(this,!1)};
f.exitDocument=function(){this.isVisible()&&this.setVisible(!1);mg(this.focusHandler_);u_.superClass_.exitDocument.call(this);Fz(this.bgIframeEl_);Fz(this.bgEl_);Fz(this.tabCatcherElement_)};
f.setVisible=function(a){if(a!=this.visible_)if(this.popupShowTransition_&&this.popupShowTransition_.stop(),this.bgShowTransition_&&this.bgShowTransition_.stop(),this.popupHideTransition_&&this.popupHideTransition_.stop(),this.bgHideTransition_&&this.bgHideTransition_.stop(),this.inDocument_&&WVc(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_);XVc(this,!0);this.focus();this.visible_=!0;if(this.popupShowTransition_&&this.bgShowTransition_)vz(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_)vz(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 WVc=function(a,b){a.modalAriaVisibilityHelper_||(a.modalAriaVisibilityHelper_=new VVc(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_||Uuc(d,"hidden")||($L(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}};
u_.prototype.updateModalAndBackground_=function(){this.resizeBackground_();this.reposition()};var XVc=function(a,b){a.bgIframeEl_&&SS(a.bgIframeEl_,b);a.bgEl_&&SS(a.bgEl_,b);SS(a.getElement(),b);SS(a.tabCatcherElement_,b)};f=u_.prototype;f.onShow=function(){this.dispatchEvent("show")};f.onHide=function(){XVc(this,!1);this.dispatchEvent("hide")};f.isVisible=function(){return this.visible_};f.focus=function(){this.focusElement_()};
f.resizeBackground_=function(){this.bgIframeEl_&&SS(this.bgIframeEl_,!1);this.bgEl_&&SS(this.bgEl_,!1);var a=this.getDomHelper().document_;var b=YVc(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_&&(SS(this.bgIframeEl_,!0),eKc(this.bgIframeEl_,c,a));this.bgEl_&&(SS(this.bgEl_,!0),eKc(this.bgEl_,c,a))};
f.reposition=function(){if("fixed"==vn(this.getElement(),"position"))var a=0,b=0;else b=Dz(this.getDomHelper().document_),a=b.x,b=b.y;var c=Wn(this.getElement());var d=YVc(this);a=Math.max(a+d.width/2-c.width/2,0);b=Math.max(b+d.height/2-c.height/2,0);Xn(this.getElement(),a,b);Xn(this.tabCatcherElement_,a,b)};f.onFocus=function(a){this.backwardTabWrapInProgress_?this.resetBackwardTabWrap_():a.target==this.tabCatcherElement_&&im(this.focusElement_,0,this)};
f.focusElement_=function(){try{Ep&&this.getDomHelper().document_.body.focus(),this.getElement().focus()}catch(a){}};var YVc=function(a){a=a.getDomHelper().document_;return Cz(Ez(a)||window)};u_.prototype.disposeInternal=function(){mg(this.popupShowTransition_);this.popupShowTransition_=null;mg(this.popupHideTransition_);this.popupHideTransition_=null;mg(this.bgShowTransition_);this.bgShowTransition_=null;mg(this.bgHideTransition_);this.bgHideTransition_=null;u_.superClass_.disposeInternal.call(this)};var x_=function(a,b,c){u_.call(this,b,c);this.class_=a||"modal-dialog";this.buttons_=v_(v_(new w_,ZVc,!0),$Vc,!1,!0)};Cp(x_,u_);f=x_.prototype;f.escapeToCancel_=!0;f.hasTitleCloseButton_=!0;f.modal_=!0;f.backgroundElementOpacity_=.5;f.title_="";f.dragger_=null;f.disposeOnHide_=!1;f.titleEl_=null;f.titleTextEl_=null;f.titleTextId_=null;f.titleCloseEl_=null;f.contentEl_=null;f.buttonEl_=null;f.getCssClass=function(){return this.class_};
f.setTitle=function(a){this.title_=a;this.titleTextEl_&&e4b(this.titleTextEl_,a)};f.getTitle=function(){return this.title_};f.getContent=function(){return""};f.getContentElement=function(){this.getElement()||this.render();return this.contentEl_};var aWc=function(a){a.getElement()||a.render();return a.getElement()};x_.prototype.getBackgroundElement=function(){this.getElement()||this.render();return x_.superClass_.getBackgroundElement.call(this)};x_.prototype.handleDrag=function(){};
var bWc=function(a,b){var c=Lg(a.class_+"-title-draggable").split(" ");a.getElement()&&(b?UJc(a.titleEl_,c):WJc(a.titleEl_,c));b&&!a.dragger_?(b=new q_(a.getElement(),a.titleEl_),a.dragger_=b,UJc(a.titleEl_,c),Jm(a.dragger_,"start",a.setDraggerLimits_,!1,a),Jm(a.dragger_,"drag",a.handleDrag,!1,a)):!b&&a.dragger_&&(a.dragger_.dispose(),a.dragger_=null)};f=x_.prototype;
f.createDom=function(){x_.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"));b4b(a,this.titleEl_,this.contentEl_=b.createDom("DIV",{className:this.class_+"-content",id:c}),this.buttonEl_=
b.createDom("DIV",this.class_+"-buttons"));ZL(this.titleTextEl_,"heading");ZL(this.titleCloseEl_,"button");this.titleCloseEl_.tabIndex=0;$L(this.titleCloseEl_,"label","Close");ZL(a,"dialog");$L(a,"labelledby",this.titleTextId_||"");SS(this.titleCloseEl_,this.hasTitleCloseButton_);this.buttons_&&(a=this.buttons_,a.element_=this.buttonEl_,a.render());SS(this.buttonEl_,!!this.buttons_);this.backgroundElementOpacity_=this.backgroundElementOpacity_;this.getElement()&&(a=this.getBackgroundElement())&&fKc(a,
this.backgroundElementOpacity_)};
f.enterDocument=function(){x_.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_);bWc(this,!0);this.getHandler().listen(this.titleCloseEl_,"click",this.onTitleCloseClick_);var a=this.getElement();ZL(a,"dialog");""!==this.titleTextEl_.id&&$L(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()&&WVc(this,!1)}};f.exitDocument=function(){this.isVisible()&&this.setVisible(!1);bWc(this,!1);x_.superClass_.exitDocument.call(this)};f.setVisible=function(a){a!=this.isVisible()&&(this.inDocument_||this.render(),x_.superClass_.setVisible.call(this,a))};f.onShow=function(){x_.superClass_.onShow.call(this);this.dispatchEvent("aftershow")};
f.onHide=function(){x_.superClass_.onHide.call(this);this.dispatchEvent("afterhide");this.disposeOnHide_&&this.dispose()};f.setDraggerLimits_=function(){var a=this.getDomHelper().document_,b=Cz(Ez(a)||window),c=Math.max(a.body.scrollWidth,b.width);a=Math.max(a.body.scrollHeight,b.height);var d=Wn(this.getElement());"fixed"==vn(this.getElement(),"position")?this.dragger_.limits=new OS(0,0,Math.max(0,b.width-d.width),Math.max(0,b.height-d.height)):this.dragger_.limits=new OS(0,0,c-d.width,a-d.height)};
f.onTitleCloseClick_=function(){cWc(this)};var cWc=function(a){if(a.hasTitleCloseButton_){var b=a.buttons_,c=b&&b.cancelButton_;c?(b=b.get(c),a.dispatchEvent(new dWc(c,b))&&a.setVisible(!1)):a.setVisible(!1)}},eWc=function(a){a.hasTitleCloseButton_=!1;a.titleCloseEl_&&SS(a.titleCloseEl_,a.hasTitleCloseButton_)};x_.prototype.setDisposeOnHide=function(a){this.disposeOnHide_=a};x_.prototype.disposeInternal=function(){this.buttonEl_=this.titleCloseEl_=null;x_.superClass_.disposeInternal.call(this)};
x_.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 dWc(a,b))&&this.setVisible(!1)}};
x_.prototype.onKey_=function(a){var b=!1,c=!1,d=this.buttons_,e=a.target;if("keydown"==a.type)if(this.escapeToCancel_&&27==a.keyCode){var g=d&&d.cancelButton_;e="SELECT"==e.tagName&&!e.disabled;g&&!e?(c=!0,b=d.get(g),b=this.dispatchEvent(new dWc(g,b))):e||(b=!0)}else{if(9==a.keyCode&&a.shiftKey&&e==this.getElement()){this.backwardTabWrapInProgress_=!0;try{this.tabCatcherElement_.focus()}catch(y){}im(this.resetBackwardTabWrap_,0,this)}}else if(13==a.keyCode){if("BUTTON"==e.tagName&&!e.disabled)g=e.name;
else if(e==this.titleCloseEl_)cWc(this);else if(d){var h=d.getDefault(),l;if(l=h)a:{l=Bz("BUTTON",d.element_);for(var q=0,v;v=l[q];q++)if(v.name==h||v.id==h){l=v;break a}l=null}e=("TEXTAREA"==e.tagName||"SELECT"==e.tagName||"A"==e.tagName)&&!e.disabled;!l||l.disabled||e||(g=h)}g&&d&&(c=!0,b=this.dispatchEvent(new dWc(g,String(d.get(g)))))}else e!=this.titleCloseEl_||32!=a.keyCode&&" "!=a.key||cWc(this);if(b||c)a.stopPropagation(),a.preventDefault();b&&this.setVisible(!1)};
var dWc=function(a,b){this.type="dialogselect";this.key=a;this.caption=b};Cp(dWc,rz);var w_=function(a){s_.call(this);this.dom_=a||Lm();this.class_="goog-buttonset";this.cancelButton_=this.element_=this.defaultButton_=null};Cp(w_,s_);w_.prototype.clear=function(){s_.prototype.clear.call(this);this.defaultButton_=this.cancelButton_=null};w_.prototype.set=function(a,b,c,d){s_.prototype.set.call(this,a,b);c&&(this.defaultButton_=a);d&&(this.cancelButton_=a);return this};
var v_=function(a,b,c,d){return a.set(b.key,b.caption,c,d)};f=w_.prototype;f.render=function(){if(this.element_){POa(this.element_,op);var a=Lm(this.element_);this.forEach(function(b,c){b=a.createDom("BUTTON",{name:c},b);c==this.defaultButton_&&(b.className=this.class_+"-default");this.element_.appendChild(b)},this)}};f.getElement=function(){return this.element_};f.getDomHelper=function(){return this.dom_};f.setDefault=function(a){this.defaultButton_=a};f.getDefault=function(){return this.defaultButton_};
var ZVc={key:"ok",caption:"OK"},$Vc={key:"cancel",caption:"Cancel"},fWc={key:"yes",caption:"Yes"},gWc={key:"no",caption:"No"},hWc={key:"save",caption:"Save"},iWc={key:"continue",caption:"Continue"};"undefined"!=typeof document&&(v_(new w_,ZVc,!0,!0),v_(v_(new w_,ZVc,!0),$Vc,!1,!0),v_(v_(new w_,fWc,!0),gWc,!1,!0),v_(v_(v_(new w_,fWc),gWc,!0),$Vc,!1,!0),v_(v_(v_(new w_,iWc),hWc),$Vc,!0,!0));var jWc=function(a,b,c){x_.call(this,a,b,c)};Cp(jWc,x_);var kWc=function(a,b){Im.call(this);this.element_=a;a=Gz(this.element_)?this.element_:this.element_?this.element_.body:null;this.isRtl_=!!a&&TS(a);this.listenKey_=Jm(this.element_,Gp?"DOMMouseScroll":"mousewheel",this,b)};Cp(kWc,Im);
kWc.prototype.handleEvent=function(a){var b=0,c=0,d=a.event_;"mousewheel"==d.type?(a=lWc(-d.wheelDelta),void 0!==d.wheelDeltaX?(b=lWc(-d.wheelDeltaX),c=lWc(-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 mWc(a,d,b,c);this.dispatchEvent(b)};
var lWc=function(a){return Hp&&(Qn||YLb)&&0!=a%40?a:a/40};kWc.prototype.disposeInternal=function(){kWc.superClass_.disposeInternal.call(this);xz(this.listenKey_);this.listenKey_=null};var mWc=function(a,b,c,d){sz.call(this,b);this.type="mousewheel";this.detail=a;this.deltaX=c;this.deltaY=d};Cp(mWc,sz);var nWc;var y_=function(a,b,c,d,e,g,h,l,q){l=void 0===l?!1:l;q=void 0===q?!1:q;x_.call(this,g?g+" picker modal-dialog":"picker modal-dialog",!0,c);h6b(a,"protocol");this.iframeManager_=new AVc;this.targetId_=hVb();this.rpcToken_=hVb();this.useGapi_=!q&&!0;a=kC(a);jC(a,"hostId");l||iC(a,"v2","true");this.setUrl(a.toString());this.preferredDialogWidth_=d;this.preferredDialogHeight_=e;void 0!==d||void 0!==e?d=!0:(d=jC(kC(a.toString()),"hostId"),nWc||(nWc=new Set("DocVerse fusiontables geo geowiki gm gmail-gadget gws hotpot jointly presentations pwa sites templates trix trix-copy-sheet webstore".split(" "))),
d=!nWc.has(d));this.autoSizeDialog_=d;this.gadgetsDomHelper_=h||this.getDomHelper();b&&(b="true"==jC(kC(this.url_),"grugl")?YUc:XUc,h=this.gadgetsDomHelper_,C8a(h)||(h=h||Lm(document),d=h.createElement("SCRIPT"),Ira(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):Dp(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()):POa(this.buttonEl_,op),SS(this.buttonEl_,!!this.buttons_))};Cp(y_,jWc);f=y_.prototype;f.url_="";f.iframe_=null;f.iframeLoaded_=!1;f.loadedFired_=!1;f.callback_=function(){};f.enterDocument=function(){y_.superClass_.enterDocument.call(this);var a=this.getBackgroundElement(),b=this.getHandler(),c=new kWc(a);qz(b,c);b.listen(c,"mousewheel",Ap(G8a,void 0,a)).listen(a,"scroll",Ap(G8a,void 0,a))};
f.render=function(a){var b=this;y_.superClass_.render.call(this,a);this.useGapi_?BVc(this.iframeManager_,window).then(function(){return oWc(b)}).then(null,function(c){return void b.handleError_(c)}):pWc(this)};
var oWc=function(a){var b=a.getDomHelper().createDom("div",["picker-dialog-content","picker-frame"]);SS(b,!1);a.getContentElement().appendChild(b);return CVc(a.iframeManager_,b,function(c){var d=vUb(c["iframe-command"]);switch(d.getCommand()){case 1:c=a.callback_;d=W(d,it,2);var e="";switch(d.getStatus()){case 2:e="cancel";break;case 1:e="picked";break;case 3:e="error"}var g=d.getItemList();d=0===g.length?{action:e}:kVc(g,e,d.getInternalOnlyV1ViewInfo());c.call(a,d);a.setVisible(!1);break;case 4:eWc(a),
a.callback_({action:"loaded"})}},a.url_,a.targetId_,a.rpcToken_).then(function(c){a.iframe_=c.getIframeEl();qWc(a);SS(a.iframe_.parentElement,!0);TJc(a.getElement(),"picker-dialog");rWc(a);return c})},pWc=function(a){a.iframe_=a.dom_.createDom("IFRAME",{id:a.targetId_,name:a.targetId_,"class":"picker-frame",frameBorder:"0",allow:"camera"});Hra(a.iframe_,sWc(a));TJc(a.getElement(),"picker-dialog");a.getContentElement().appendChild(a.iframe_);a.getHandler().listen(a.iframe_,"load",function(){return void qWc(a)});
a.iframe_.src=a.url_;rWc(a)},uWc=function(a){tWc(a,Ap(function(b){b.setAuthToken(this.targetId_,this.rpcToken_)},a))},rWc=function(a){var b=jC(kC(a.url_),"title");b&&a.setTitle(b)},sWc=function(a){return 7<=oaa("Internet Explorer")&&Jg(a.url_,"https")?Ul(Vl("https://about:blank")):Ep?Ul(Vl('javascript:""')):Ul(Vl("about:blank"))},qWc=function(a){uWc(a);a.iframeLoaded_=!0;a.iframe_.tabIndex=0;a.isVisible()&&a.focus()};
y_.prototype.handleKeydown_=function(a){27==a.keyCode&&(this.setVisible(!1),this.callback_({action:"cancel"}),a.stopPropagation(),a.preventDefault())};var tWc=function(a,b){var c=a.gadgetsDomHelper_;E8a(function(){b(c.getWindow().gadgets.rpc)},c)};y_.prototype.setUrl=function(a){a=iC(new Om(a),"rpcService",this.targetId_);iC(a,"rpctoken",this.rpcToken_);Rbc(a,"rpctoken="+this.rpcToken_);eC(a,"https");this.url_=a.toString();this.iframe_&&(this.iframe_.src=this.url_)};
y_.prototype.setAppId=function(a){this.appId_=a;this.loadedFired_&&vWc(this)};y_.prototype.setCallback=function(a){this.callback_=a;tWc(this,Ap(function(b){b.register(this.targetId_,Ap(this.handlePickerAction_,this))},this))};
y_.prototype.handlePickerAction_=function(a){var b=a.action;"loaded"==b&&(this.loadedFired_=!0,this.sendCommand(new WUc(this.isVisible())),vWc(this),eWc(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 vWc=function(a){a.appId_&&a.sendCommand(new B8a(a.appId_,window.location.protocol+"//"+window.location.host))};f=y_.prototype;
f.setRelayUrl=function(a){tWc(this,Ap(function(b){b.setRelayUrl(this.targetId_,a)},this))};f.sendCommand=function(a){var b=this;this.useGapi_&&HVc(a,this.iframeManager_).then(null,function(c){return void b.handleError_(c)});tWc(this,Ap(function(c){c.call(this.targetId_,"picker",null,a)},this))};
f.resizePicker_=function(){var a=this.getDomHelper().document_;a=Ez(a)||window;if("true"==jC(kC(this.url_),"ignoreLimits"))a=new yz(this.preferredDialogWidth_,this.preferredDialogHeight_);else if("true"==jC(kC(this.url_),"shadeDialog")){var b=kKc(aWc(this)),c=Cz(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 yz(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=Cz(a),c=.85*c.height);var d=Math.max(480,Math.min(650,c))}else c=Cz(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=Cz(a);b=Math.min(b,Math.max(c.width,320));d=Math.min(d,Math.max(c.height,480));a=new yz(b,d)}eKc(this.getContentElement(),a);this.reposition()};
f.reposition=function(){if("true"==jC(kC(this.url_),"shadeDialog")){var a=Wn(this.getElement()),b=Cz(this.getDomHelper().getWindow());a=Math.floor(b.width/2-a.width/2);if(b=kKc(aWc(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=Dz(this.getDomHelper().document_).y;Xn(this.getElement(),a,b)}else y_.superClass_.reposition.call(this)};
f.setVisible=function(a){if(a!=this.isVisible()&&this.autoSizeDialog_){var b=this.getDomHelper().getWindow();a?(this.resizePicker_(),this.getHandler().listen(b,"resize",this.resizePicker_),this.iframeLoaded_||this.getHandler().listen(b,"keydown",this.handleKeydown_)):(this.getHandler().unlisten(b,"resize",this.resizePicker_),this.iframeLoaded_||this.getHandler().unlisten(b,"keydown",this.handleKeydown_))}y_.superClass_.setVisible.call(this,a);this.sendCommand(new WUc(a))};
f.focus=function(){y_.superClass_.focus.call(this);if(this.iframe_&&this.iframeLoaded_&&this.loadedFired_)try{this.iframe_.focus()}catch(a){}};f.handleError_=function(){this.callback_({action:"error"})};var z_=function(a){SUc.call(this,a);this.urlParamMap_=new Map;this.urlParamMap_.set("protocol","gadgets");(a=window.location.origin)||(a=window.location.protocol+"//"+window.location.host);this.setOrigin(a);this.postProcessors_=[];this.gadgetsDomHelper_=void 0};Cp(z_,TUc);z_.prototype.disposeOnHide_=!1;
z_.prototype.build=function(){this.urlParamMap_.get("parent")||this.setRelayUrl(Rbc(Qbc(kC(window.location.href)),"").setPath("/favicon.ico").toString());this.urlParamMap_.set("ifls",Date.now());if(this.urlParamMap_.get("minimal"))throw Error("je");var a=new y_(wWc(this).toString(),!0,this.getDomHelper(),this.dialogWidth_,this.dialogHeight_,"",this.gadgetsDomHelper_,!1,!1);a.setDisposeOnHide(this.disposeOnHide_);a.setAppId(this.getAppId());a.setCallback(this.callback_);return a};
var xWc=function(a,b){a.urlParamMap_.set(b,"true");return a};f=z_.prototype;f.getHeight=function(){return this.dialogHeight_};f.getLocale=function(){return this.urlParamMap_.get("hl")};f.getProtocol=function(){return this.urlParamMap_.get("protocol")};f.getTitle=function(){return this.urlParamMap_.get("title")};f.getWidth=function(){return this.dialogWidth_};f.setDisposeOnHide=function(a){this.disposeOnHide_=a};f.setGroupId=function(a){this.urlParamMap_.set("groupId",a)};
var yWc=function(a){a.urlParamMap_.set("hostId","buganizer-drive");return a};f=z_.prototype;f.setOrigin=function(a){a&&this.urlParamMap_.set("origin",a);return this};f.setLocale=function(a){this.urlParamMap_.set("hl",a);return this};f.setRelayUrl=function(a){this.urlParamMap_.set("parent",a)};f.setSize=function(a,b){this.dialogWidth_=a;this.dialogHeight_=b;return this};f.setTitle=function(a){this.urlParamMap_.set("title",a);return this};
var wWc=function(a){a.postProcessors_.length&&a.urlParamMap_.set("pp",JSON.stringify(a.postProcessors_));a.urlParamMap_.set("nav",QUc(a.nav_));var b=new Om(a.getBaseUrl());a.urlParamMap_.forEach(function(c,d){iC(b,d,c)});return b};var A_=function(a,b){this.activeSession=a;this.attachmentsApi=b;this.disabled=!1;this.onPickDoc=new tu;this.onCloneBlob=new tu;this.onePickUrl=a.getOnePickUrl();this.onePickSecretToken=a.getOnePickSecretToken()};
A_.prototype.showDialog=function(){var a=this;if(!this.drivePicker){var b=window.location.origin||window.location.protocol+"//"+window.location.host;this.drivePicker=yWc(xWc(xWc(xWc(xWc((new z_(this.onePickUrl)).addView(KUc().setMode("list")),"navHidden"),"multiselectEnabled"),"edbe"),"showAttach").setCallback(function(c){if(c&&"picked"===c.action)for(var d=k(c.docs),e=d.next();!e.done;e=d.next())e=new HUc(e.value),c.extraUserInputs.isAttachment?(e=new IUc(e),JUc(e,a.attachmentsApi),a.onCloneBlob.emit(e)):
a.onPickDoc.emit(e)}).setOrigin(b)).build()}this.drivePicker.setVisible(!0)};A_.\u0275fac=function(a){return new (a||A_)(D(rp),D($pc))};
A_.\u0275cmp=zc({type:A_,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),O("click",function(){return b.showDialog()}),K(2,"mat-icon",2),J()());a&2&&(C(1),G("disabled",
b.disabled))},dependencies:[yy,jz,XA],encapsulation:2});var B_=function(a,b,c){kE.call(this);this.issueDetailsBrain=a;this.userResources=b;this.analytics=c;this.isPlusOneText=!1;this.onSubmitComment=new tu};V(B_,kE);B_.\u0275dir=kE.\u0275dir;B_.prototype.ngOnChanges=function(a){a.isPlusOneText&&this.isPlusOneText&&this.analytics.trackEvent(Yl.EDIT_ISSUE,"view","commentAndVoteBanner")};
B_.prototype.onClick=function(){var a=ol(this.issueDetailsBrain.id$);this.onSubmitComment.emit();null!=a&&(Jmc(this.userResources,a,{voted:!0,starred:null,notificationSubscription:null}).pipe(qe(this.destroyed$)).subscribe(),this.analytics.trackEvent(Yl.EDIT_ISSUE,"click","commentAndVote"))};B_.\u0275fac=function(a){return new (a||B_)(D(xJ),D(iH),D(AH))};
B_.\u0275cmp=zc({type:B_,selectors:[["b-plus-one-comment-callout"]],inputs:{isPlusOneText:"isPlusOneText"},outputs:{onSubmitComment:"onSubmitComment"},features:[xe,Mc],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&&R(0,H8a,7,1,"div",0);a&2&&G("ngIf",b.isPlusOneText)},dependencies:[Tu,yy,jz,XA],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 zWc=["commentBoxContainer"],AWc=[[["","recaptchaContainer",""]],[["","additionalToolbarItems",""]]],BWc=function(a){return{focused:a}},C_=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 tu;this.disabled=this.supportsPreview=!1;this.showToolbar=!0;this.attachmentsDisabled=!1;this.showRestrictionOptions=!0;this.isPlusOneCalloutEnabled=!1;this.onPlusOneTextEntered=new tu;this.onChange=
new tu;this.onFocusEvent=new tu;this.onSubmit=new tu;this.onRestrict=new tu;this.focused=!1;this.commentRebound$=new F.ReplaySubject(1);this.destroyed$=new F.ReplaySubject(1);this.createRestrictedResourcesComponentWhitelist=this.activeSession.getCreateRestrictedSubresourcesComponentWhitelist()};f=C_.prototype;f.ngOnDestroy=function(){var a;null==(a=this.comment)||jqc(a);this.destroyed$.next()};
f.ngOnInit=function(){var a=this;this.appEvents.focusCommentBox.pipe(qe(this.destroyed$)).subscribe(function(b){$Db(a,b)});this.appEvents.scrollToCommentBox.pipe(qe(this.destroyed$)).subscribe(function(){a.scrollIntoView()})};f.ngOnChanges=function(a){a.comment&&this.commentRebound$.next()};f.getRestrictedLabel=function(){var a,b,c=null!=(b=null==(a=this.judgementForNewContent)?void 0:a.getSeverity())?b:1;return Wsa(Tsa(c))};
f.isRestricted=function(){var a,b;return 1!==(null!=(b=null==(a=this.judgementForNewContent)?void 0:a.getSeverity())?b:1)};var $Db=function(a,b){(b=void 0===b?"":b)&&a.analytics.trackEvent("commentBox","takeFocus",b);a.scrollIntoView();var c;null==(c=a.commentDraftComponent)||SKc(c)};f=C_.prototype;f.uploadFile=function(a){a=this.attachmentUploader.upload(a);this.addUpload(a)};f.addUpload=function(a){this.comment&&this.comment.uploads.push(a)};
f.removeUpload=function(a){this.comment&&qa(this.comment.uploads,a)};f.scrollIntoView=function(){var a;null==(a=this.commentBoxContainer)||a.nativeElement.scrollIntoView({behavior:"smooth"})};f.onFocus=function(){this.focused=!0;this.onFocusEvent.emit()};f.onBlur=function(){this.focused=!1};f.onKeydown=function(a){this.hotkeys.isEnabled()&&("Enter"!==a.key||!a.ctrlKey&&!a.metaKey||this.disabled||this.onSubmit.emit(a.shiftKey))};C_.\u0275fac=function(a){return new (a||C_)(D(AH),D(bM),D(rp),D(cG),D(LK))};
C_.\u0275cmp=zc({type:C_,selectors:[["b-comment-box"]],viewQuery:function(a,b){a&1&&(jf(dT,5),jf(zWc,5),jf(h_,5));if(a&2){var c;hf(c=lf())&&(b.commentDraftComponent=c.first);hf(c=lf())&&(b.commentBoxContainer=c.first);hf(c=lf())&&(b.attachmentUploader=c.first)}},inputs:{issueId:"issueId",comment:"comment",supportsPreview:"supportsPreview",componentId:"componentId",placeholder:"placeholder",judgementForNewContent:"judgementForNewContent",audience:"audience",disabled:"disabled",showToolbar:"showToolbar",
idForAriaLabel:"idForAriaLabel",attachmentsDisabled:"attachmentsDisabled",showRestrictionOptions:"showRestrictionOptions",isPlusOneCalloutEnabled:"isPlusOneCalloutEnabled"},outputs:{commentChange:"commentChange",onPlusOneTextEntered:"onPlusOneTextEntered",onChange:"onChange",onFocusEvent:"onFocusEvent",onSubmit:"onSubmit",onRestrict:"onRestrict"},features:[Mc],ngContentSelectors:["[recaptchaContainer]","[additionalToolbarItems]"],decls:9,vars:13,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&&(Ne(AWc),H(0,"div",0,1)(2,"div",2)(3,"b-comment-draft",3),O("contentChange",function(c){if(b.comment){var d=b.comment.value;b.comment.value=c;c!==d&&(b.onChange&&(b.commentChange.emit(b.comment),b.onChange.emit()),b.onPlusOneTextEntered&&b.onPlusOneTextEntered.emit("+1"===c.trim()))}})("focus",function(){return b.onFocus()})("blur",function(){return b.onBlur()})("keydown",function(c){return b.onKeydown(c)})("paste",function(c){if(c&&null!=c.clipboardData){var d=
c.clipboardData;for(var e=!1,g=!1,h=0,l=0;l<d.types.length;l++)"text/plain"===d.types[l]?e=!0:"Files"===d.types[l]&&(g=!0,h=l);g&&d.items&&d.files?(g=d.files[0],h=d.items[h].type.replace(/^.*[/]/,""),e?(d=d.getData("text/plain"),d=d.replace(/^.*[\\\/]/,"")):d=(new Date).toString()+"."+h,d={file:g,filename:d}):d=void 0;d&&(c.preventDefault(),c=new File([d.file],d.filename,{type:d.file.type}),b.uploadFile(c))}}),J(),R(4,I8a,2,1,"ng-container",4),J(),H(5,"b-attachment-uploader",5),O("onUploadCancel",
function(c){b.removeUpload(c);return b.onChange.emit()})("onUploadComplete",function(){return b.onChange.emit()}),J(),Oe(6),R(7,N8a,6,5,"div",6),J(),R(8,O8a,2,4,"div",4));a&2&&(G("ngClass",Ze(11,BWc,b.focused)),C(3),G("content",b.comment.value)("placeholder",b.placeholder)("disabled",b.disabled)("textareaClass",b.disabled?"bv2-disabled":"")("audience",b.audience)("idForAriaLabel",b.idForAriaLabel),C(1),G("ngIf",b.isPlusOneCalloutEnabled),C(1),G("uploads",b.comment.uploads),C(2),G("ngIf",b.showToolbar),
C(1),G("ngIf",b.supportsPreview&&b.comment.formattingMode===b.MARKDOWN))},dependencies:[Ru,Tu,yy,jz,dT,XA,pO,A_,e_,h_,B_,Zu],encapsulation:2});var CWc=["dialog"],D_=function(a,b,c,d){kE.call(this);this.matDialog=a;this.activeSession=b;this.hotkeys=c;this.save=new tu;this.close=new tu;this.externalWarnings=[];this.issueEditBuilder=null;this.FocusableField=DWc;this.enableRecaptcha=iE(this.activeSession,"enableRecaptcha")&&iE(this.activeSession,"enableBulkEditCaptchaUi");this.comment=new oJ;var e;this.comment.formattingMode=Sva(null==(e=UI(d).textDisplayPreferences)?void 0:e.lastPublishMode);this.issueStates=fjc};V(D_,kE);D_.\u0275dir=kE.\u0275dir;
D_.prototype.showDialog=function(a,b,c){var d=this;this.issueEditBuilder=new NTc(this.activeSession.getUserEmail(),a);this.issueEditBuilder.comment=this.comment;b&&P8a(this.issueEditBuilder,b);this.focus=c;this.hotkeys.pause();this.matDialogRef=this.matDialog.open(this.dialog,{minWidth:512,maxWidth:512});Gy(this.matDialogRef).pipe(qe(this.destroyed$)).subscribe(function(e){d.hotkeys.unpause();e&&d.save.emit();d.close.emit()})};D_.\u0275fac=function(a){return new (a||D_)(D(Ly),D(rp),D(bM),D(TI))};
D_.\u0275cmp=zc({type:D_,selectors:[["b-state-modal"]],viewQuery:function(a,b){a&1&&jf(CWc,5);if(a&2){var c;hf(c=lf())&&(b.dialog=c.first)}},inputs:{externalWarnings:"externalWarnings"},outputs:{save:"save",close:"close"},features:[xe],decls:2,vars:0,consts:[["dialog",""],["statusForm","ngForm"],["mat-dialog-title",""],["mat-dialog-content",""],["class","bv2-modal-form",4,"ngIf"],["class","flex-kids-x justify-flex-end",4,"ngIf"],["mat-dialog-actions",""],["type","button","mat-button","",1,"gmat-button",
"medium",3,"mat-dialog-close"],["type","submit","color","primary","mat-flat-button","",1,"gmat-button","medium","confirm",3,"mat-dialog-close","disabled"],[1,"bv2-modal-form"],["type","button","mat-button","",1,"gmat-button","medium","primary","status-select",3,"matMenuTriggerFor"],["name","arrow-dropdown","size","small"],["statusMenu",""],["mat-menu-item","","type","button",3,"disabled","click"],["mat-menu-item","","type","button",3,"disabled","click",4,"ngFor","ngForOf"],[3,"ngSwitch"],[4,"ngSwitchCase"],
["class","bv2-modal-text-field",4,"ngSwitchDefault"],["placeholder","Add a comment (optional)",3,"comment","showToolbar","onSubmit"],[1,"float-clear"],["class","bv2-external-component-modal-warning",4,"ngIf"],[1,"bv2-modal-text-field"],["for","bv2-state-modal-assignee",1,"bv2-top-field-label"],["class","bv2-multiple-user-chip",4,"ngSwitchCase"],[4,"ngSwitchDefault"],["for","bv2-state-modal-verifier",1,"bv2-top-field-label"],["class","bv2-multiple-user-chip",3,"bv2-invalid-multiple-user-chip",4,"ngSwitchCase"],
[1,"bv2-multiple-user-chip"],["title","Clear assignees",3,"click"],["type","text","name","assignee",3,"ngModel","bContactAutocomplete","ngModelChange"],["title","Clear verifiers",3,"click"],["type","text","name","verifier",3,"ngModel","required","bContactAutocomplete","ngModelChange"],["for","bv2-state-modal-issue-id",1,"bv2-top-field-label"],["type","text","name","duplicateOf",3,"ngModel","ngModelChange"],[1,"bv2-external-component-modal-warning"],[4,"ngFor","ngForOf"],[3,"accessLevel"],[1,"flex-kids-x",
"justify-flex-end"],[3,"onUpdate"]],template:function(a){a&1&&R(0,f9a,14,5,"ng-template",null,0,of)},dependencies:[Su,Tu,Uu,Vu,Wu,yy,My,Ny,Oy,Py,HO,Av,Af,tv,uv,Mv,zv,xv,$M,PA,NA,OA,$S,C_,eT],encapsulation:2});var DWc={ASSIGNEE:0,VERIFIER:1,COMMENT:2,DUPE_ID:3,0:"ASSIGNEE",1:"VERIFIER",2:"COMMENT",3:"DUPE_ID"};var E_=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};E_.prototype.ngOnInit=function(){EWc(this,this.issuesToFlag)};
var EWc=function(a,b){0>=b.length?a.permissionsCheckComplete=!0:JF(a.userAccess,"admin","components/"+b[0].componentId).then(function(c){a.issuesChecked++;c||a.protectedIssues.push(b[0]);EWc(a,b.slice(1))},function(c){a.errorHandler.errorHandler(null,c)})};E_.\u0275fac=function(a){return new (a||E_)(D(NI),D(IF),D(ZF),D(Ky))};
E_.\u0275cmp=zc({type:E_,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),S(1,"Flag Issues as Spam"),J(),H(2,"div",1)(3,"div",2)(4,"p"),S(5),H(6,"a",3),S(7,"see here"),J(),S(8,". "),J(),H(9,"p"),S(10," This operation cannot be undone in bulk. "),J()(),H(11,"div",4),R(12,j9a,3,2,"div",5),R(13,l9a,5,2,"div",5),J()(),H(14,"div",6)(15,"button",7),S(16," Close "),J(),H(17,"button",8),S(18," Flag as Spam "),J()());a&2&&(C(5),Te(" 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, "),
C(1),G("href",opc(b.documentationLinks),vd),C(6),G("ngIf",!b.permissionsCheckComplete),C(1),G("ngIf",b.permissionsCheckComplete&&0<b.protectedIssues.length),C(4),G("disabled",!b.permissionsCheckComplete)("mat-dialog-close",!0))},dependencies:[Su,Tu,yy,My,Ny,Oy,Py],encapsulation:2});var F_=function(a,b){this.cdr=a;this.dialogRef=b;this.component=null};F_.prototype.updateComponent=function(a){this.component=a;this.cdr.detectChanges()};F_.prototype.save=function(){this.dialogRef.close(this.component)};F_.prototype.cancel=function(){this.dialogRef.close()};F_.\u0275fac=function(a){return new (a||F_)(D(wH,2),D(Iy))};
F_.\u0275cmp=zc({type:F_,selectors:[["b-bulk-move-dialog"]],features:[Xe([wH])],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),S(1,"Change Component"),J(),H(2,"mat-dialog-content")(3,"p"),S(4,"Choose new component for these issues."),J(),H(5,"p",1),
S(6," Warning: If these issues have custom fields, their values will be lost if you move the issues outside the component subtree that defines those custom fields. "),J(),H(7,"b-team-component-picker",2),O("selectedComponentChange",function(c){return b.updateComponent(null!==c&&void 0!==c?c:null)}),J()(),H(8,"mat-dialog-actions")(9,"button",3),O("click",function(){return b.cancel()}),S(10," Cancel "),J(),H(11,"button",4),O("click",function(){return b.save()}),S(12," Save "),J()());a&2&&(C(7),G("selectedComponent",
b.component)("placeholder","Choose Component")("isRequired",!0),C(4),G("disabled",null==b.component))},dependencies:[yy,Ny,Oy,Py,sV],styles:[".bv2-bulk-move-warning[_ngcontent-%COMP%]{font-weight:bold}"]});var G_=function(){this.renderPanel=!0;this.sloEditCommit=new tu;this.closePicker=new tu};G_.prototype.ngOnChanges=function(a){if(a.sloEditTime){var b;if(a=this.sloEditTime){a=null!=a&&a.getSeconds?a.getSeconds():a.seconds;var c=new sl;c.setTime(1E3*a);a=c}else a=null;this.currentPickerDate=null!=(b=a)?b:void 0}};G_.prototype.setDate=function(a){this.currentPickerDate=a};G_.\u0275fac=function(a){return new (a||G_)};
G_.\u0275cmp=zc({type:G_,selectors:[["snooze-date-time-picker"]],inputs:{sloEditTime:"sloEditTime",sloStatus:"sloStatus",renderPanel:"renderPanel"},outputs:{sloEditCommit:"sloEditCommit",closePicker:"closePicker"},features:[Xe([wH]),Mc],decls:2,vars:2,consts:[[3,"clickOutside"],[3,"renderPanel","date","dateSelectionChange","saveClicked","cancelClicked"]],template:function(a,b){a&1&&(H(0,"div",0),O("clickOutside",function(){b.closePicker.emit()}),H(1,"b-date-time-picker-content",1),O("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()}),J()());a&2&&(C(1),G("renderPanel",b.renderPanel)("date",b.currentPickerDate))},dependencies:[ON,IY],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}\n/*# sourceMappingURL=snooze_date_time_picker.css.map */"],
changeDetection:0});var H_=function(a,b){this.data=a;this.dialogRef=b;this.commitEvent=void 0;this.fieldDisplayName=a.fieldDisplayName};H_.prototype.close=function(){this.dialogRef.close(this.commitEvent)};H_.\u0275fac=function(a){return new (a||H_)(D(Ky),D(Iy))};
H_.\u0275cmp=zc({type:H_,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),S(1),J(),H(2,"snooze-date-time-picker",1),O("sloEditCommit",function(c){b.commitEvent=c})("closePicker",function(){return b.close()}),J());a&2&&(C(1),Te("Edit ",b.fieldDisplayName,""),C(1),G("renderPanel",!1))},dependencies:[G_],encapsulation:2});var I_=function(a,b){this.data=a;this.dialogRef=b;this.fieldDisplayName=this.data.fieldDisplayName;this.effortSpec=this.data.effortSpec;this.numericEstimatedEffort="";this.effortSpecName=this.effortSpec.name;this.currentEnumLabel="";this.enumSpec=this.effortSpec.enumSpec;var c,d;this.enumOptions=null!=(d=null==(c=this.enumSpec)?void 0:c.options)?d:[];this.isEnumSpec=!!this.enumSpec;var e;this.allowedLabels=(null!=(e=this.enumOptions)?e:[]).map(function(g){return g.label})};
I_.prototype.enableSubmit=function(){return this.isEnumSpec&&""!==this.currentEnumLabel||!this.isEnumSpec};I_.prototype.cancel=function(){this.dialogRef.close(void 0)};I_.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)};I_.\u0275fac=function(a){return new (a||I_)(D(Ky),D(Iy))};
I_.\u0275cmp=zc({type:I_,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),S(1),J(),R(2,m9a,5,2,"mat-dialog-content",1),R(3,
n9a,4,4,"div",2),H(4,"mat-dialog-actions")(5,"button",3),O("click",function(){return b.cancel()}),S(6," Cancel "),J(),H(7,"button",4),O("click",function(){return b.save()}),S(8," Save "),J()());a&2&&(C(1),Te("Edit ",b.fieldDisplayName,""),C(1),G("ngIf",!b.isEnumSpec),C(1),G("ngIf",b.isEnumSpec),C(4),G("disabled",!b.enableSubmit()))},dependencies:[Tu,yy,Af,tv,zv,Ny,Oy,Py,Yy,Xy,az,RY],encapsulation:2});var J_=function(a,b){this.data=a;this.dialogRef=b;this.fieldDisplayName=this.removeItems=this.addItems="";this.fieldDisplayName=a.fieldDisplayName};J_.prototype.save=function(){this.dialogRef.close({addItems:this.addItems,removeItems:this.removeItems})};J_.prototype.close=function(){this.dialogRef.close()};J_.\u0275fac=function(a){return new (a||J_)(D(Ky),D(Iy))};
J_.\u0275cmp=zc({type:J_,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),S(1),J(),H(2,"mat-dialog-content")(3,"p"),S(4),J(),H(5,"div",1)(6,"mat-form-field")(7,"mat-label"),S(8),J(),H(9,"input",2),O("ngModelChange",function(c){return b.addItems=c}),J()(),
K(10,"br"),H(11,"mat-form-field")(12,"mat-label"),S(13),J(),H(14,"input",2),O("ngModelChange",function(c){return b.removeItems=c}),J()()()(),H(15,"mat-dialog-actions")(16,"button",3),O("click",function(){return b.close()}),S(17," Cancel "),J(),H(18,"button",4),O("click",function(){return b.save()}),S(19," Save "),J()());a&2&&(C(1),Te("Edit ",b.fieldDisplayName,""),C(3),Te("Enter ",b.fieldDisplayName," to add or remove"),C(4),Te(" ",b.fieldDisplayName," to Add "),C(1),G("ngModel",b.addItems),C(4),
Te(" ",b.fieldDisplayName," to Remove "),C(1),G("ngModel",b.removeItems))},dependencies:[yy,Af,tv,zv,Yy,Xy,az,Ny,Oy,Py],encapsulation:2});var FWc=["hotlistFilterInput"],GWc=["hotlistCreate"],HWc=["hotlistApply"],IWc=["hotlistLoad"],JWc=["menuitem"],K_=function(a,b,c,d,e,g){kE.call(this);this.liveAnnouncer=a;this.butterBar=b;this.userAccess=c;this.analytics=d;this.activeSession=e;this.cdr=g;this.selectedHotlistIds=[[]];this.choices=[];this.checkEditAcl=!0;this.onCreate=new tu;this.onApply=new tu;this.onLoad=new tu;this.hotlistEditAcls={};this.validHotlistIds=new Set;this.pendingChanges=this.canLoad=this.canCreate=!1;this.oldSelectedHotlistMap=
{};this.selectedHotlistMap={};this.shouldShowHotlist={};this.filterText="";this.focusedRowIndex=-1;this.isAnonymous=this.activeSession.isAnonymous()};V(K_,kE);K_.\u0275dir=kE.\u0275dir;K_.prototype.ngAfterViewInit=function(){var a=this,b;null==(b=this.trigger)||b.menuOpened.pipe(qe(this.destroyed$)).subscribe(function(){(0,F.timer)(0).pipe(qe(a.destroyed$)).subscribe(function(){a.focusFilterBox()})});var c;null==(c=this.trigger)||c.menuClosed.pipe(qe(this.destroyed$)).subscribe(function(){KWc(a)})};
K_.prototype.focusFilterBox=function(){this.filterElement.nativeElement.focus()};K_.prototype.ngOnChanges=function(){LWc(this);this.oldSelectedHotlistMap=Object.assign({},this.selectedHotlistMap);this.pendingChanges=this.canCreate=!1;MWc(this)};
var LWc=function(a){var b={};Dda(a.selectedHotlistMap);if(a.choices){a.validHotlistIds.clear();for(var c=k(a.choices),d=c.next();!d.done;d=c.next())d=d.value,b[d.hotlistId]=0,a.validHotlistIds.add(d.hotlistId);if(a.selectedHotlistIds){c=a.selectedHotlistIds.length;d=k(a.selectedHotlistIds);for(var e=d.next();!e.done;e=d.next())if(e=e.value){e=k(e);for(var g=e.next();!g.done;g=e.next())b[g.value]++}d=k(Object.entries(b));for(e=d.next();!e.done;e=d.next())g=k(e.value),e=g.next().value,g=g.next().value,
a.selectedHotlistMap[Number(e)]=g?g===c?!0:null:!1;Jaa(a.choices,function(h,l){var q=b[h.hotlistId],v=b[l.hotlistId];return q>v?-1:q<v?1:Hn(h.name,l.name)})}}};K_.prototype.open=function(){this.trigger.openMenu();this.cdr.detectChanges()};K_.prototype.close=function(){this.trigger.closeMenu()};
K_.prototype.hasAclToEdit=function(a){var b=this;if(zda(this.hotlistEditAcls,a.hotlistId))return this.hotlistEditAcls[a.hotlistId];JF(this.userAccess,"appender","hotlists/"+a.hotlistId).then(function(c){b.hotlistEditAcls[a.hotlistId]=c})};
var o9a=function(a,b){if(!a.checkEditAcl)return!1;a=a.hasAclToEdit(b);return void 0===a?!0:!a},p9a=function(a,b){var c=a.selectedHotlistMap[b.hotlistId];a.selectedHotlistMap[b.hotlistId]=null===c?!0:!c;w9a(a);a.close()},w9a=function(a){a.onApply.emit({oldSelectionMap:a.oldSelectedHotlistMap,newSelectionMap:a.selectedHotlistMap})},MWc=function(a){for(var b=a.filterText,c=!1,d=k(a.choices),e=d.next();!e.done;e=d.next())e=e.value,a.shouldShowHotlist[e.hotlistId]=vaa(e.name,b),e.name===b&&(c=!0);a.canCreate=
!(!b||c);a.canLoad=!/[^0-9]/.test(Lg(b))&&!!b&&!!a.onLoad},KWc=function(a){a.trigger.menuOpen||(LWc(a),a.filterText="",MWc(a),a.pendingChanges=!1,a.focusedRowIndex=-1)},NWc=function(a){var b=a.selectedHotlistIds;return b&&1===b.length?"Hotlists ("+yaa(b[0],function(c){return a.validHotlistIds.has(c)})+")":"Hotlists"};
K_.prototype.createHotlist=function(){var a=this,b=this.filterText;this.canCreate&&(this.filterText="",MWc(this),this.onCreate.emit({name:b,successCallback:function(c){p9a(a,c)},errorCallback:function(){XF(a.butterBar,"Failed to create hotlist "+b)}}))};
K_.prototype.loadHotlist=function(){var a=this,b=this.filterText;if(this.canLoad){this.analytics.trackEvent("hotlistPicker","loadHotlist");WF(this.butterBar,"Loading hotlist "+b.toString());this.filterText="";MWc(this);for(var c=Ig(b),d=k(this.choices),e=d.next();!e.done;e=d.next())if(e=e.value,c===e.hotlistId){p9a(this,e);return}this.onLoad.emit({hotlistId:c,successCallback:function(g){p9a(a,g)},errorCallback:function(){XF(a.butterBar,"Failed to load hotlist "+b)}})}};
var q9a=function(a,b){o9a(a,b)||(a.selectedHotlistMap[b.hotlistId]=!a.selectedHotlistMap[b.hotlistId],a.focusFilterBox(),a.pendingChanges=!Fg(a.oldSelectedHotlistMap,a.selectedHotlistMap))},UWc=function(a,b){b=void 0===b?0:b;var c=OWc(a).filter(function(e,g){return g>a.focusedRowIndex&&a.shouldShowHotlist[Number(e.id.substring(13))]}),d=a.choices.length;c.length?(b=b>=c.length?c[c.length-1]:c[b],a.focusedRowIndex=Aaa(OWc(a),b),PWc(a),QWc(a,b)):a.focusedRowIndex<d&&a.canCreate?RWc(a,d):a.focusedRowIndex<
d+1&&a.canLoad?SWc(a,d):a.focusedRowIndex<d+2&&a.pendingChanges&&TWc(a,d)},OWc=function(a){return a.menuItems.map(function(b){return b.nativeElement})},VWc=function(a,b){b=void 0===b?0:b;if(a.focusedRowIndex===a.choices.length+1&&a.canCreate)RWc(a,a.choices.length);else if(a.focusedRowIndex===a.choices.length+2&&a.canLoad)SWc(a,a.choices.length);else if(a.focusedRowIndex===a.choices.length+2&&a.canCreate)RWc(a,a.choices.length);else{var c=OWc(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=Aaa(OWc(a),b),PWc(a),QWc(a,b)):(a.focusedRowIndex=-1,QWc(a,null))}},QWc=function(a,b){a.filterElement&&aM(a.filterElement.nativeElement,b);a.focusFilterBox()},RWc=function(a,b){a.focusedRowIndex=b;aM(a.filterElement.nativeElement,null);var c;null==(c=a.createElement)||c.focus();a.liveAnnouncer.announce("Create new hotlist "+a.filterText);a.focusFilterBox()},SWc=function(a,b){a.focusedRowIndex=b+1;aM(a.filterElement.nativeElement,null);
var c;null==(c=a.loadElement)||c.focus();a.liveAnnouncer.announce("Load hotlist "+a.filterText);a.focusFilterBox()},TWc=function(a,b){a.focusedRowIndex=b+2;aM(a.filterElement.nativeElement,null);var c;null==(c=a.applyElement)||c.focus();a.liveAnnouncer.announce("Apply");a.focusFilterBox()},PWc=function(a){-1===a.focusedRowIndex||a.focusedRowIndex>=a.choices.length||(a=OWc(a)[a.focusedRowIndex],a.scrollIntoViewIfNeeded?a.scrollIntoViewIfNeeded():a.scrollIntoView({block:"end"}))},r9a=function(a){return null==
a?"mixed":a.toString()},s9a=function(a){return null==a?"indeterminate":a?"checked":"unchecked"};K_.\u0275fac=function(a){return new (a||K_)(D(cx),D(VF),D(IF),D(AH),D(rp),D(wH,2))};
K_.\u0275cmp=zc({type:K_,selectors:[["b-hotlist-picker"]],viewQuery:function(a,b){a&1&&(jf(OA,5),jf(FWc,5),jf(GWc,5),jf(HWc,5),jf(IWc,5),jf(JWc,5));if(a&2){var c;hf(c=lf())&&(b.trigger=c.first);hf(c=lf())&&(b.filterElement=c.first);hf(c=lf())&&(b.createElement=c.first);hf(c=lf())&&(b.applyElement=c.first);hf(c=lf())&&(b.loadElement=c.first);hf(c=lf())&&(b.menuItems=c)}},inputs:{selectedHotlistIds:"selectedHotlistIds",choices:"choices",checkEditAcl:"checkEditAcl"},outputs:{onCreate:"onCreate",onApply:"onApply",
onLoad:"onLoad"},features:[Xe([wH]),xe,Mc],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),S(2),J(),K(3,"b-icon",2),J(),H(4,"mat-menu",null,3)(6,"div",4)(7,"div",5)(8,"div",6)(9,"input",7,8),O("ngModelChange",function(d){return b.filterText=d})("ngModelChange",
function(){return MWc(b)})("mousedown",function(d){return d.stopPropagation()})("blur",function(){return KWc(b)})("click",function(d){return d.stopPropagation()})("keydown",function(d){d.stopImmediatePropagation();"Escape"===d.key?b.close():"ArrowDown"===d.key?(UWc(b),d.preventDefault()):"ArrowUp"===d.key?(VWc(b),d.preventDefault()):"PageUp"===d.key?VWc(b,11):"PageDown"===d.key?UWc(b,11):" "===d.key?-1===b.focusedRowIndex||b.focusedRowIndex>=b.choices.length||(q9a(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(),w9a(b)):0<=b.focusedRowIndex&&b.focusedRowIndex<b.choices.length&&b.hasAclToEdit(b.choices[b.focusedRowIndex])&&p9a(b,b.choices[b.focusedRowIndex]))}),J()()(),K(11,"mat-divider"),R(12,y9a,11,8,"ng-template",9),J()());if(a&2){var c=Se(5);G("matMenuTriggerFor",c)("disabled",b.isAnonymous);C(2);Ve(NWc(b));C(7);G("ngModel",b.filterText)}},
dependencies:[Su,Tu,yy,PA,NA,OA,MA,Af,tv,Nv,zv,ay,XA,TL,$M],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}\n/*# sourceMappingURL=hotlist_picker.css.map */"]});var L_=function(a){this.dialogRef=a;this.reporter="";this.autocompleteActive=!1};L_.prototype.enableSubmit=function(){return""!==this.reporter};L_.prototype.cancel=function(){this.dialogRef.close()};L_.prototype.save=function(){this.dialogRef.close(this.reporter)};L_.\u0275fac=function(a){return new (a||L_)(D(Iy))};
L_.\u0275cmp=zc({type:L_,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),S(1,"Change Reporter"),J(),H(2,"mat-dialog-content")(3,"mat-form-field")(4,"mat-label"),S(5," Reporter "),J(),H(6,"input",1),O("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()}),J()()(),H(7,"mat-dialog-actions")(8,"button",2),O("click",function(){return b.cancel()}),S(9," Cancel "),J(),H(10,"button",3),O("click",function(){return b.save()}),S(11," Save "),J()());a&2&&(C(6),G("bContactAutocomplete","SINGLE")("ngModel",b.reporter),C(4),G("disabled",!b.enableSubmit()))},dependencies:[yy,
Af,tv,zv,Ny,Oy,Py,Yy,Xy,az,$S],encapsulation:2});var WWc=["addCommentDialog"],M_=function(a,b,c,d,e,g,h,l,q,v,y,B,I){kE.call(this);var N=this;this.componentFridge=a;this.cdr=b;this.activeSession=c;this.analytics=d;this.hotkeys=e;this.constants=g;this.componentActions=h;this.issueTypeDialog=l;this.copyIssueIdService=q;this.matDialog=v;this.$log=y;this.issuePicker=B;this.userPreferencesManager=I;this.currentUserEmail=this.activeSession.getUserEmail();this.uniqueComponentIds$=new F.Subject;this.effortSpec$=this.uniqueComponentIds$.pipe(pe(function(Q){return N.componentFridge.watchSet(Q)}),
E(function(Q){return N.getCommonEffortSpec(Q)}),ne({bufferSize:1,refCount:!0}));this.enableBulkEstimatedEffortOption$=this.effortSpec$.pipe(E(function(Q){return void 0!==Q}));this.hotlistIdMatrix=[];this.hotlistChoices=[];this.onSave=new tu;this.onCreateHotlist=new tu;this.onLoadHotlist=new tu;this.externalWarnings=[];this.enableRecaptcha=iE(this.activeSession,"enableRecaptcha")&&iE(this.activeSession,"enableBulkEditCaptchaUi");this.recaptchaResponse="";this.controllerName="baseControls"};V(M_,kE);
var XWc=function(a){var b=new oJ,c;b.formattingMode=Sva(null==(c=UI(a.userPreferencesManager).textDisplayPreferences)?void 0:c.lastPublishMode);return b};M_.prototype.hasSelectedIssues=function(){return 0<this.getSelectedIssues().length};var YWc=function(a){return a.getSelectedIssues().some(function(b){return!b.isRead})},z9a=function(a){return YWc(a)?"Mark as read":"Mark as unread"},yn=function(a){return a.getSelectedIssues().map(function(b){return b.issueId})};
M_.prototype.onSelectionChange=function(){for(var a=this.getSelectedIssues(),b=k(a),c=b.next();!c.done;c=b.next()){var d=void 0;null!=(d=c.value).hotlistId||(d.hotlistId=[])}this.hotlistIdMatrix=a.map(function(e){return e.hotlistId});this.cdr.detectChanges();a=ZWc(a);this.uniqueComponentIds$.next(a)};
var ZWc=function(a){var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next())c=c.value,b.includes(c.componentId)||b.push(c.componentId);return b},$Wc=function(a){if(!Ihc(a.activeSession)){a.externalWarnings=[];var b=new Set(a.getSelectedIssues().map(function(e){return e.componentId})),c={};b=k(b);for(var d=b.next();!d.done;c={$jscomp$loop$prop$id$2342:c.$jscomp$loop$prop$id$2342},d=b.next())c.$jscomp$loop$prop$id$2342=d.value,a.componentActions.get(c.$jscomp$loop$prop$id$2342).then(function(e){if(a.activeSession.isInternalSession()&&
wn(e)||Hhc(a.activeSession)&&xn(e)){var g,h=h9a(null==(g=e.componentPathInfo)?void 0:g.componentPathName,e.componentId);a.externalWarnings.push({path:h,accessLevel:e.accessLimit.accessLevel});a.cdr.detectChanges()}}).catch(function(e){return function(){a.$log.warn("Could not retrieve component "+e.$jscomp$loop$prop$id$2342+".")}}(c))}};f=M_.prototype;
f.getCommonEffortSpec=function(a){a=k(a);for(var b=a.next();!b.done;b=a.next()){b=b.value;if(!b.effortSpec)return;b=b.effortSpec;var c=b.id;if(!d){var d=c;var e=b}else if(d!==c)return}return e};
f.bulkEdit=function(a){switch(a){case "ASSIGNEE":N_(this,null,0);break;case "COMPONENT":aXc(this);break;case "VERIFIER":N_(this,null,1);break;case "REPORTER":bXc(this);break;case "CHANGELIST":cXc(this,"changelists","Changelists",!0);break;case "CUSTOM_FIELDS":dXc(this);break;case "FOUND_IN":cXc(this,"foundInVersion","Found In");break;case "VERIFIED_IN":cXc(this,"verifiedInVersion","Verified In");break;case "TARGETED_TO":cXc(this,"targetedToVersion","Targeted To");break;case "COMMENT":eXc(this);break;
case "SLO_SNOOZE_UNTIL":fXc(this);break;case "ESTIMATED_EFFORT":gXc(this);break;case "CC":cXc(this,"ccs","CCs");break;default:this.$log.error("unsupported bulk edit field: "+a)}};
f.quickBulkEdit=function(a){switch(a.field){case "PRIORITY":(a=a.newValue)&&O_(this,"priority",a);break;case "SEVERITY":(a=a.newValue)&&O_(this,"severity",a);break;case "STATUS":(a=Fwa(this.constants.protoIssueStatusesEnumStrings.get(a.newValue)))&&N_(this,kk[a],"DUPLICATE"===a?3:void 0);break;case "TYPE":(a=this.constants.protoIssueTypesEnumStrings.get(a.newValue))&&O_(this,"type",a);break;case "IS_ARCHIVED":O_(this,"isArchived",""+a.newValue);break;case "IN_PROD":O_(this,"inProd",""+a.newValue);
break;case "CC":O_(this,"ccs",this.currentUserEmail,a.newValue?"ADD":"REMOVE");break;default:this.$log.error("unsupported bulk edit field: "+a.field)}};
f.bulkEditIssueRelation=function(a){switch(a.issueRelation){case "BLOCKED_BY":a.isMarking?P_(this,{actionType:"ADD",fieldName:"blockedByIssueId",title:"Mark all selected issues as blocked by:",edgeType:"blocker"}):P_(this,{actionType:"REMOVE",fieldName:"blockedByIssueId",title:"Unmark all selected issues as blocked by:",edgeType:"un-blocker"});break;case "BLOCKING":a.isMarking?P_(this,{actionType:"ADD",fieldName:"blockingIssueId",title:"Mark all selected issues as blocking:",edgeType:"blocking"}):
P_(this,{actionType:"REMOVE",fieldName:"blockingIssueId",title:"Unmark all selected issues as blocking:",edgeType:"un-blocking"});break;case "PARENT":a.isMarking?P_(this,{actionType:"ADD",fieldName:"parentId",title:"Mark all selected issues as children of:",edgeType:"child"}):P_(this,{actionType:"REMOVE",fieldName:"parentId",title:"Unlink all selected issues from this parent:",edgeType:"un-parent"});break;case "DUPLICATE":N_(this,kk.DUPLICATE,3);break;default:this.$log.error("unsupported issue relation: "+
a.issueRelation)}};f.bulkMarkIssueRead=function(){var a=YWc(this);O_(this,"readState",a?"true":"")};
var O_=function(a,b,c,d){var e={fieldName:b,value:c};void 0!==d&&(e.actionType=d);var g=yn(a),h=[e];"deletionReason"===b&&h.push({fieldName:"isDeleted",value:"true"});d=function(){var l={bulkEditOps:[{issueIds:g,actions:h}]};a.enableRecaptcha&&""!==a.recaptchaResponse&&(l.recaptchaToken=a.recaptchaResponse);a.onSave.emit(l)};"type"!==b||"VULNERABILITY"!==c&&"PRIVACY_ISSUE"!==c?d():("VULNERABILITY"===c&&tpc(a.issueTypeDialog,"VULNERABILITY",d,function(){}),"PRIVACY_ISSUE"===c&&tpc(a.issueTypeDialog,
"PRIVACY_ISSUE",d,function(){}))},N_=function(a,b,c){a.hasSelectedIssues()&&($Wc(a),a.stateModal.showDialog(a.getSelectedIssues(),b,c))},hXc=function(a){var b=a.onSave,c=b.emit,d=yn(a),e=a.stateModal.issueEditBuilder,g=[];e.issueState||P8a(e);e=k(e9a(e));for(var h=e.next();!h.done;h=e.next()){var l=k(h.value);h=l.next().value;l=l.next().value;void 0!==l&&g.push({fieldName:h,value:l})}c.call(b,{bulkEditOps:[{issueIds:d,actions:g}],recaptchaToken:a.stateModal.issueEditBuilder.recaptchaResponse})},bXc=
function(a){a.hasSelectedIssues()&&($Wc(a),Gy(a.matDialog.open(L_,{width:"400px"})).pipe(qe(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();b&&O_(a,"reporter",b)}),a.hotkeys.pause())},cXc=function(a,b,c,d){d=void 0===d?!1:d;a.hasSelectedIssues()&&(Gy(a.matDialog.open(J_,{width:"400px",data:{fieldDisplayName:c}})).pipe(qe(a.destroyed$)).subscribe(function(e){a.hotkeys.unpause();e&&iXc(a,b,e.addItems,e.removeItems,d)}),a.hotkeys.pause())},fXc=function(a){a.hasSelectedIssues()&&(Gy(a.matDialog.open(H_,
{width:"330px",data:{fieldDisplayName:"SLO Snooze Until"}})).pipe(qe(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();if(b&&(b=b.date)){var c=[];c.push({fieldName:"sloSnoozeUntil",value:String(b.seconds)});c.length&&a.onSave.emit({bulkEditOps:[{issueIds:yn(a),actions:c}]})}}),a.hotkeys.pause())},gXc=function(a){var b=ol(a.effortSpec$);a.hasSelectedIssues()&&void 0!==b&&(Gy(a.matDialog.open(I_,{width:"400px",data:{fieldDisplayName:"Estimated Effort",effortSpec:b}})).pipe(qe(a.destroyed$)).subscribe(function(c){a.hotkeys.unpause();
if(c){var d=[];d.push({fieldName:"effortEstimate",value:c.estimate});a.onSave.emit({bulkEditOps:[{issueIds:yn(a),actions:d}]})}}),a.hotkeys.pause())},iXc=function(a,b,c,d,e){e=void 0===e?!1:e;c=mj(c);d=mj(d);var g=[],h=!["foundInVersion","targetedToVersion","verifiedInVersion"].includes(b),l=function(q){return usa(q,h).map(function(v){return v.trim()})};nj(c)||(c=l(c),e&&(c=c.filter(function(q){return!isNaN(q)})),g.push.apply(g,Jc(c.map(function(q){return{fieldName:b,value:q,actionType:"ADD"}}))));
nj(d)||(d=l(d),g.push.apply(g,Jc(d.map(function(q){return{fieldName:b,value:q,actionType:"REMOVE"}}))));g.length&&a.onSave.emit({bulkEditOps:[{issueIds:yn(a),actions:g}]})},aXc=function(a){a.hasSelectedIssues()&&(Gy(a.matDialog.open(F_,{width:"600px",position:{top:"100px"},panelClass:"overflow-visible-dialog-panel"})).pipe(qe(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();b&&(a.onSave.emit({bulkEditOps:[{issueIds:yn(a),actions:[{fieldName:"componentId",value:String(b.componentId)}]}]}),
a.analytics.trackEvent(a.controllerName,"bulkMove"))}),a.hotkeys.pause())},jXc=function(a){a.hasSelectedIssues()&&(Gy(a.matDialog.open(E_,{width:"600px",data:{issuesToFlag:a.getSelectedIssues()}})).pipe(qe(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();b&&(a.analytics.trackEvent(a.controllerName,"bulkFlagAsSpam"),O_(a,"deletionReason","ABUSE"))}),a.hotkeys.pause())},eXc=function(a){a.hasSelectedIssues()&&a.addCommentDialog&&(a.comment||(a.comment=XWc(a)),a.addCommentDialogRef=a.matDialog.open(a.addCommentDialog,
{panelClass:"no-jitter",minWidth:512,maxWidth:512}),Gy(a.addCommentDialogRef).pipe(qe(a.destroyed$)).subscribe(function(b){a.hotkeys.unpause();a.comment&&(b&&lqc(a.comment)&&O_(a,"comment",a.comment.value),a.comment.reset())}),a.hotkeys.pause(),$Wc(a))},G9a=function(a){var b;null==(b=a.addCommentDialogRef)||b.close(!0)},dXc=function(a){a.hasSelectedIssues()&&Gy(a.matDialog.open(SY,{data:a.getSelectedIssues(),width:"500px"})).pipe(qe(a.destroyed$)).subscribe(function(b){b&&(a.onSave.emit({bulkEditOps:b}),
a.analytics.trackEvent(a.controllerName,"bulkCustomField"))})};
M_.prototype.handleHotlistPickerSave=function(a){var b=a.oldSelectionMap,c=[],d=[],e=0;Object.entries(a.newSelectionMap).forEach(function(g){var h=k(g);g=h.next().value;h=h.next().value;h!==b[g]&&(h?c.push(g):d.push(g),e++)});a=[];c.length&&a.push({fieldName:"hotlists",actionType:"ADD",value:c.join(",")});d.length&&a.push({fieldName:"hotlists",actionType:"REMOVE",value:d.join(",")});a.length&&(this.onSave.emit({bulkEditOps:[{issueIds:yn(this),actions:a}]}),this.analytics.trackEvent(this.controllerName,
"applyHotlists","numHotlists",e))};var P_=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:yn(a),actions:[{fieldName:d,value:e,actionType:c}]}]}))});a.hotkeys.pause()};M_.\u0275fac=function(a){return new (a||M_)(D(xF),D(wH),D(rp),D(AH),D(bM),D($I),D(mV),D(PI),D(rZ),D(Ly),D(YF),D(fP),D(TI))};
M_.\u0275dir=Cc({type:M_,viewQuery:function(a,b){a&1&&(jf(WWc,5),jf(K_,5),jf(D_,5));if(a&2){var c;hf(c=lf())&&(b.addCommentDialog=c.first);hf(c=lf())&&(b.hotlistPicker=c.first);hf(c=lf())&&(b.stateModal=c.first)}},inputs:{hotlistChoices:"hotlistChoices"},outputs:{onSave:"onSave",onCreateHotlist:"onCreateHotlist",onLoadHotlist:"onLoadHotlist"},features:[xe]});var Q_=function(){};Q_.\u0275fac=function(a){return new (a||Q_)};Q_.\u0275mod=Bc({type:Q_});Q_.\u0275inj=oc({providers:[{provide:zUc,useFactory:function(){return new wUc}}]});var R_=function(){};R_.\u0275fac=function(a){return new (a||R_)};R_.\u0275mod=Bc({type:R_});R_.\u0275inj=oc({imports:[gv,Q_]});var S_=function(){};S_.\u0275fac=function(a){return new (a||S_)};S_.\u0275mod=Bc({type:S_});S_.\u0275inj=oc({providers:[{provide:yUc,useFactory:f_}],imports:[MF,WB,YA,zC,R_,HJ]});var T_=function(){};T_.\u0275fac=function(a){return new (a||T_)};T_.\u0275mod=Bc({type:T_});T_.\u0275inj=oc({imports:[MF,YA,WB,zC]});var U_=function(){};U_.\u0275fac=function(a){return new (a||U_)};U_.\u0275mod=Bc({type:U_});U_.\u0275inj=oc({imports:[MF,WU,vN,zC,HT,EO,S_,WB,YA,T_]});var V_=function(){};V_.\u0275fac=function(a){return new (a||V_)};V_.\u0275mod=Bc({type:V_});V_.\u0275inj=oc({});var W_=function(){};W_.\u0275fac=function(a){return new (a||W_)};W_.\u0275mod=Bc({type:W_});W_.\u0275inj=oc({imports:[MF,Qy,MO,Qv,WB,vN,QA,aT,U_,V_]});var X_=function(){};X_.\u0275fac=function(a){return new (a||X_)};X_.\u0275mod=Bc({type:X_});X_.\u0275inj=oc({imports:[MF,QA,WB,bz,Qv,dy,zC,mU,pU,vN]});var Y_=function(a,b,c,d,e,g,h,l,q,v,y,B,I){M_.call(this,a,b,c,d,e,g,h,l,q,v,y,B,I);this.panels=[];this.isNonPublicSession=this.activeSession.isNonPublicSession();this.enableBulkEditUi=iE(this.activeSession,"enableBulkEditUi");this.controllerName="dashboardControls";this.onSelectionChange.bind(this);this.getCommonEffortSpec.bind(this)};V(Y_,M_);Y_.\u0275dir=M_.\u0275dir;Y_.prototype.ngOnChanges=function(a){if(a.panels)this.onSelectionChange()};
Y_.prototype.getSelectedIssues=function(){var a=this.panels.flatMap(function(b){return b.selectedIssues});Haa(a,null,function(b){return b.issueId.toString()});return a};Y_.\u0275fac=function(a){return new (a||Y_)(D(xF),D(wH,2),D(rp),D(AH),D(bM),D($I),D(mV),D(PI),D(rZ),D(Ly),D(YF),D(fP),D(TI))};
Y_.\u0275cmp=zc({type:Y_,selectors:[["b-dashboard-controls"]],inputs:{panels:"panels"},features:[Xe([wH]),xe,Mc],decls:7,vars:5,consts:[[3,"readStatePrompt","enableBulkEstimatedEffortOption","onBulkEdit","onQuickBulkEdit","onBulkEditIssueRelation","onBulkMarkIssueRead",4,"ngIf"],[3,"shortLinkPrefix","shouldShowCopyIssueShortLinks","onClickCopyIssueIds","onClickCopyIssueShortLinks","onClickCopyAsIssueSearch",4,"ngIf"],["class","bv2-grid-hotlist-picker",4,"ngIf"],[1,"bv2-appbar-menu",3,"showFlagIssuesAsSpam",
"flagAsSpamClicked"],[3,"externalWarnings","save","close"],["addCommentDialog",""],[3,"readStatePrompt","enableBulkEstimatedEffortOption","onBulkEdit","onQuickBulkEdit","onBulkEditIssueRelation","onBulkMarkIssueRead"],[3,"shortLinkPrefix","shouldShowCopyIssueShortLinks","onClickCopyIssueIds","onClickCopyIssueShortLinks","onClickCopyAsIssueSearch"],[1,"bv2-grid-hotlist-picker"],[3,"selectedHotlistIds","choices","onApply","onCreate","onLoad"],["mat-dialog-title",""],[3,"comment","showToolbar","commentChange",
"onSubmit",4,"ngIf"],["class","bv2-external-component-modal-warning",4,"ngIf"],["class","flex-kids-x justify-flex-end",4,"ngIf"],["mat-button","",1,"gmat-button","medium",3,"mat-dialog-close"],["mat-flat-button","","cdkFocusInitial","",1,"gmat-button","medium","primary",3,"disabled","mat-dialog-close"],[3,"comment","showToolbar","commentChange","onSubmit"],[1,"bv2-external-component-modal-warning"],[4,"ngFor","ngForOf"],[3,"accessLevel"],[1,"flex-kids-x","justify-flex-end"],[3,"onUpdate"]],template:function(a,
b){a&1&&(R(0,A9a,2,4,"b-app-bar-bulk-edit-menus",0),R(1,E9a,1,2,"b-copy-issue-id-button",1),R(2,F9a,2,2,"div",2),H(3,"b-app-bar-more-menu",3),O("flagAsSpamClicked",function(){return jXc(b)}),J(),H(4,"b-state-modal",4),O("save",function(){return hXc(b)})("close",function(){return b.hotkeys.unpause()}),J(),R(5,L9a,11,6,"ng-template",null,5,of));a&2&&(G("ngIf",b.hasSelectedIssues()),C(1),G("ngIf",b.hasSelectedIssues()),C(1),G("ngIf",b.enableBulkEditUi&&b.hasSelectedIssues()),C(1),G("showFlagIssuesAsSpam",
b.isNonPublicSession&&b.hasSelectedIssues()),C(1),G("externalWarnings",b.externalWarnings))},dependencies:[lX,kX,C_,Su,Tu,yy,HO,oZ,K_,My,Ny,Oy,Py,D_,eT,Zu],styles:["[_nghost-%COMP%] { display: flex; align-items: center; }"]});var Z_=function(){};Z_.\u0275fac=function(a){return new (a||Z_)};Z_.\u0275mod=Bc({type:Z_});Z_.\u0275inj=oc({imports:[nX,HT,U_,MF,MO,qZ,X_,vN,WB,Qy,W_,V_]});var kXc=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)},lXc=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)},mXc=function(a,b){this.dirty=!1;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=Ug(c.assigneeUser)||"";this.verifier=Ug(c.verifierUser)||"";this.collaborators=Sg(c.collaboratorsUsers)||[];this.cc=Sg(c.ccUsers)||[];this.title=
c.title||"";this.comment=c.comment||"";this.formattingMode=c.formattingMode?c.formattingMode:"PLAIN";this.hotlistId=c.hotlistId||[];this.inProd=c.inProd||!1;this.issueAccessLimitLevel=c.issueAccessLimitLevel||"LIMIT_NONE";this.customFieldValues=Object.create(null);a=k(c.customField||[]);for(b=a.next();!b.done;b=a.next())b=b.value,this.customFieldValues[b.customFieldId.toString()]=new Og(b);a=k(Object.entries(this.customFields));for(b=a.next();!b.done;b=a.next())c=k(b.value),b=c.next().value,c=c.next().value,
b=Number(b),this.customFieldValues[b]||(this.customFieldValues[b]=null!=c.typedDefaultValue?new Og(c.typedDefaultValue):new Og({customFieldId:b}))},oXc=function(a,b,c){b.name=a.name;b.description=a.description;var d=b.snapshot||{};d.componentId=a.componentId;nXc(a.type)?delete d.type:d.type=a.type;nXc(a.priority)?delete d.priority:d.priority=a.priority;nXc(a.severity)?delete d.severity:d.severity=a.severity;d.assigneeUser=Yg(a.assignee);d.verifierUser=Yg(a.verifier);d.collaboratorsUsers=a.collaborators.map(function(g){return Yg(g)});
d.ccUsers=a.cc.map(function(g){return Yg(g)});d.comment=a.comment;d.formattingMode=a.formattingMode;d.title=a.title;d.hotlistId=a.hotlistId;d.inProd=a.inProd;d.customField=[];c&&(d.issueAccessLimitLevel=a.issueAccessLimitLevel);c=k(Object.keys(a.customFields));for(var e=c.next();!e.done;e=c.next())(e=a.customFieldValues[e.value])&&!e.isEmpty()&&d.customField.push(e);b.snapshot=d};
mXc.prototype.setCustomField=function(a,b){a=String(a);if(this.customFieldValues[a]){var c=this.customFields[a].type;if(!c)return;switch(c){case "UNKNOWN":break;case "TEXT":this.customFieldValues[a].textValue=b;break;case "DATE":this.customFieldValues[a].dateValue=b;break;case "ENUM":this.customFieldValues[a].enumValue=b;break;case "NUMERIC":this.customFieldValues[a].numericValue=b;break;case "REPEATED_TEXT":this.customFieldValues[a].repeatedTextValue={values:b||[]};break;case "REPEATED_DATE":this.customFieldValues[a].repeatedDateValue=
{values:b||[]};break;case "REPEATED_ENUM":this.customFieldValues[a].repeatedEnumValue={values:b||[]};break;case "REPEATED_NUMERIC":this.customFieldValues[a].repeatedNumericValue={values:b||[]};break;default:og(c,"Unexpected custom field type: "+c)}}this.dirty=!0};mXc.prototype.isDirty=function(){return this.dirty};mXc.prototype.setFormattingMode=function(a){this.formattingMode=a;this.dirty=!0};mXc.prototype.onAccessLimitLevelSelected=function(a){this.issueAccessLimitLevel=a;this.dirty=!0};
var nXc=function(a){return nj(a)||"--"===a},p$a=function(a,b){a.collaborators=b.split(",").map(function(c){return c.trim()}).filter(function(c){return!!c});a.dirty=!0},q$a=function(a,b){a.cc=b.split(",").map(function(c){return c.trim()}).filter(function(c){return!!c});a.dirty=!0},pXc={value:"--",displayText:"--"};var qXc=new ez("M/d/yyyy"),a0=function(a){this.dateFormatter=a;this.boundValueChange=new tu;this.textValue="";this.ariaLabelledBy=this.inputId=void 0;this.isRequired=!1};a0.prototype.ngOnInit=function(){if(this.boundValue){if(this.boundValue)if("string"===typeof this.boundValue)var a=osa(this.boundValue);else{var b;a=null!=(b=Eg(this.boundValue))?b:void 0}else a=void 0;this.googDate=a;this.change(this.googDate,!0)}};
a0.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=qXc.format(a);else{var d;a=null!=(d=wsa(qXc.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):""}};a0.\u0275fac=function(a){return new (a||a0)(D(aJ))};
a0.\u0275cmp=zc({type:a0,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),O("valueChange",function(c){return b.change(c)}),J());a&2&&G("required",b.isRequired)("value",b.googDate)("customFormId",
b.inputId)("customAriaLabelledBy",b.ariaLabelledBy)},dependencies:[LY],encapsulation:2});var N9a={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"},rXc={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"},M9a=[N9a,{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"},rXc];var b0=function(){kE.apply(this,arguments);var a=this;this.defaultAccessLimitLevel$=new F.ReplaySubject(1);this.disabled=!0;this.implicitAccessEnabled=!1;this.updatedAccessLimitLevel=new tu;this.selectedDisplay$=new F.BehaviorSubject(null);this.displays=M9a;this.disabledDropdownTooltip="Only users with Issue Admin permission can adjust restriction levels.";this.currentIssueAccessLimitLevelDisplay$=(0,F.combineLatest)([this.selectedDisplay$,this.defaultAccessLimitLevel$]).pipe(E(function(b){b=k(b);
var c=b.next().value;b=b.next().value;if(c)return c;c=k(a.displays);for(var d=c.next();!d.done;d=c.next())if(d=d.value,d.accessLevel===b)return d;return N9a}));this.issueAccessLimitLevelDisplayTitle$=this.currentIssueAccessLimitLevelDisplay$.pipe(E(function(b){return b.title}))};V(b0,kE);b0.\u0275dir=kE.\u0275dir;gg.Object.defineProperties(b0.prototype,{defaultAccessLimitLevel:{configurable:!0,enumerable:!0,set:function(a){this.defaultAccessLimitLevel$.next(a)}}});
b0.\u0275fac=function(){var a;return function(b){return(a||(a=dd(b0)))(b||b0)}}();
b0.\u0275cmp=zc({type:b0,selectors:[["b-issue-access-limits-dropdown"]],inputs:{defaultAccessLimitLevel:"defaultAccessLimitLevel",disabled:"disabled",implicitAccessEnabled:"implicitAccessEnabled"},outputs:{updatedAccessLimitLevel:"updatedAccessLimitLevel"},features:[xe],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),T(2,"async"),H(3,"span",2),K(4,"mat-icon",3),H(5,"span",4),S(6),T(7,"async"),J()(),K(8,"mat-icon",5),J(),R(9,P9a,1,1,"mat-icon",6),H(10,"mat-menu",7,8),R(12,Q9a,7,3,"button",9),J()());if(a&2){var c=Se(11),d;C(1);G("matMenuTriggerFor",
c)("disabled",b.disabled);Ae("aria-label","Access level, "+(null!==(d=null==(d=U(2,6,b.selectedDisplay$))?null:d.title)&&void 0!==d?d:"Default access"));C(5);Te(" ",U(7,8,b.issueAccessLimitLevelDisplayTitle$)," ");C(3);G("ngIf",b.disabled);C(3);G("ngForOf",b.displays)}},dependencies:[Su,Tu,yy,jz,PA,NA,OA,XA,Zu],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 .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-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 sXc=["saveBeforeClosingDialog"],tXc=["deleteDialog"],j$a=function(){return[]},c0=function(a,b,c,d,e,g,h,l,q,v,y,B,I,N,Q){kE.call(this);this.matDialogService=a;this.cdr=b;this.userApi=c;this.templatesApi=d;this.hotlistApi=e;this.constants=g;this.paths=h;this.butterBar=l;this.analytics=q;this.issueTypeDialog=v;this.componentActions=y;this.documentationLinks=B;this.appEvents=I;this.activeSession=N;this.accessPolicyApi=Q;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.enableIssueAccessLimits=iE(this.activeSession,"enableIssueAccessLimits");this.implicitAccessEnabled=!1;this.FieldType=ATc;this.customFieldIds=Object.create(null);this.issueTypeChoices=uXc(this);this.priorityChoices=
vXc(this);this.severityChoices=wXc(this)};V(c0,kE);c0.\u0275dir=kE.\u0275dir;f=c0.prototype;
f.ngOnInit=function(){var a=this,b=function(){a.fetchUserHotlists()};this.fetchUserHotlists();this.enableIssueAccessLimits||(this.enableIssueAccessLimits=this.activeSession.getIssueAccessLimitsComponentAllowlist().has(this.componentId));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(){xXc(a);a.cdr.detectChanges()})};f.updateSelectedHotlists=function(){var a=this,b=this.templateHotlistIds[this.hotlistPickerIndex];this.selectedHotlistIds=b?[b]:[[]];this.selectedHotlists=this.hotlists.filter(function(c){return a.selectedHotlistIds[0].includes(c.hotlistId)});Jaa(this.selectedHotlists,function(c,d){return Hn(c.name,d.name)})};
f.removeHotlist=function(a){qa(this.templateHotlistIds[this.hotlistPickerIndex],a);this.currentTemplate.dirty=!0;this.updateSelectedHotlists()};f.createHotlist=function(a){var b=this,c=a.name,d=a.successCallback;a=a.errorCallback;this.analytics.trackEvent("editTemplate","createHotlist");WF(this.butterBar,"Creating hotlist "+c+"...",0);this.hotlistApi.createHotlist(c).then(function(e){WF(b.butterBar,"Hotlist "+c+" created successfully.");b.addHotlist(e);b.appEvents.hotlistCreated.next();d(e);b.cdr.detectChanges()}).catch(a)};
f.handleHotlistPickerSave=function(a){var b=this,c=a.oldSelectionMap;Tb(a.newSelectionMap,function(d,e){e=Ig(e);if(d!==c[e]){b.currentTemplate.dirty=!0;var g=b.selectedHotlistIds[0].includes(e);d&&!g?(d=b.templateHotlistIds[b.hotlistPickerIndex],pa(d,e)||d.push(e)):!d&&g&&qa(b.templateHotlistIds[b.hotlistPickerIndex],e)}},this);this.updateSelectedHotlists()};
f.loadHotlist=function(a){var b=this,c=a.successCallback,d=a.errorCallback;this.hotlistApi.get(a.hotlistId).then(function(e){b.addHotlist(e);c(e);b.cdr.detectChanges()}).catch(d)};f.fetchUserHotlists=function(){var a=this;this.userApi.getUserHotlists().then(function(b){b=k(b);for(var c=b.next();!c.done;c=b.next())a.addHotlist(c.value);a.cdr.detectChanges()})};f.addHotlist=function(a){var b=this.hotlistMap[a.hotlistId];b&&qa(this.hotlists,b);this.hotlistMap[a.hotlistId]=a;this.hotlists.push(a)};
var uXc=function(a){var b=a.constants.editIssueTypes.map(function(c){return{value:c,displayText:Gwa(c),altText:a.constants.issueTypesShortDescriptions.get(c)}});return[pXc].concat(b)};c0.prototype.getDateValue=function(a){return a};c0.prototype.getListFieldType=function(a){return a};
var m$a=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},b$a=function(a){"VULNERABILITY"===a.currentTemplateRow.issueType||"PRIVACY_ISSUE"===a.currentTemplateRow.issueType?tpc(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)},vXc=function(a){return[pXc].concat(a.constants.priorities.map(function(b){return{value:b,displayText:b}}))},wXc=function(a){return[pXc].concat(a.constants.severities.map(function(b){return{value:b,displayText:b}}))};c0.prototype.setCustomField=function(a,b,c){a.editableTemplate.setCustomField(b,null!==c?c:void 0)};
var s$a=function(a){a.currentTemplate=null;a.currentTemplateRow=null;a.currentIndex=-1;yXc(a)},U9a=function(a,b){var c=a.currentIndex;zXc(a,function(){b.index===c?s$a(a):a.openEditor(b.index)})},AXc=function(a){a.templateHotlistIds.push([]);zXc(a,function(){a.openEditor()})},W9a=function(a,b){return 0<=b.index&&b.index===a.currentIndex},r$a=function(a){if(!a.currentTemplate)return Promise.resolve();if(0>a.currentIndex){var b="creating";var c={componentId:a.componentId,default:!1};var d=function(l){WF(a.butterBar,
l.name?'Template "'+l.name+'" created.':"Template created.");a.analytics.trackEvent("template","create");BXc(a,"create",l.snapshot);a.templates.push(l);a.openEditor(a.templates.length-1)}}else{b="updating";var e=a.currentIndex;c=a.templates[e];d=function(l){WF(a.butterBar,l.name?'Template "'+l.name+'" updated.':"Template updated.");a.analytics.trackEvent("template","update");BXc(a,"update",l.snapshot);a.templates[e]=l;s$a(a)}}a.currentTemplate.hotlistId=a.templateHotlistIds[a.hotlistPickerIndex];
oXc(a.currentTemplate,c,a.enableIssueAccessLimits);WF(a.butterBar,"Saving template...");var g=c.componentId,h=c.templateId;return(h&&"0"!==String(h)?a.templatesApi.update(g,h,c):a.templatesApi.create(g,c)).then(function(l){a.appEvents.templateModified.next(String(a.componentId));d(l);a.cdr.detectChanges()}).catch(function(l){l=Ck(l);XF(a.butterBar,l?"Error "+b+" template: "+l:"There was an error "+b+" the template.",0)})},V9a=function(a,b){Gy(a.matDialogService.open(a.deleteDialog,{data:b})).pipe(qe(a.destroyed$)).subscribe(function(c){c&&
CXc(a,b)})},CXc=function(a,b){var c=b.index;Caa(a.templateHotlistIds,c);b=a.templates[c];0>c||b.default?Promise.resolve():(WF(a.butterBar,"Deleting..."),a.templatesApi.delete(b.componentId,b.templateId).then(function(){a.appEvents.templateModified.next(String(a.componentId));WF(a.butterBar,"Deleted template");a.analytics.trackEvent("template","delete");a.templates.splice(c,1);a.currentIndex===c?s$a(a):yXc(a);a.cdr.detectChanges()}).catch(function(){XF(a.butterBar,"Error while deleting template")}))},
EXc=function(a,b){b?r$a(a).then(function(){DXc(a);a.cdr.detectChanges()}):DXc(a)},X9a=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};
c0.prototype.openEditor=function(a){var b=this;this.currentIndex=void 0===a?-1:a;if(0>this.currentIndex){this.currentTemplate=FXc(this,{componentId:this.componentId,default:!1,name:"New Template"});this.currentTemplate.dirty=!0;this.updateSelectedHotlists();yXc(this);this.cdr.detectChanges();var c;null==(c=document.getElementById("template-name"))||c.focus()}else GXc(this,this.templates[this.currentIndex]).then(function(d){b.currentTemplate=FXc(b,d);b.hotlistPickerIndex=b.currentIndex;b.updateSelectedHotlists();
yXc(b);b.cdr.detectChanges();var e;null==(e=document.getElementById("template-name"))||e.focus()})};
var GXc=function(a,b){return a.templatesApi.get(b.componentId,b.templateId||0)},zXc=function(a,b){a.currentTemplate&&a.currentTemplate.isDirty()?(a.afterSaveCheckFunc=b,HXc(a)):b()},BXc=function(a,b,c){a.enableIssueAccessLimits&&c&&c.issueAccessLimitLevel&&"LIMIT_NONE"!==c.issueAccessLimitLevel&&a.analytics.trackEvent(Yl.ISSUE_ACCESS_LIMITS,b,"template:"+c.issueAccessLimitLevel)},HXc=function(a){Gy(a.matDialogService.open(a.saveBeforeClosingDialog,{data:a.currentTemplateRow})).pipe(qe(a.destroyed$)).subscribe(function(b){void 0!==
b&&EXc(a,b)})},DXc=function(a){var b=a.afterSaveCheckFunc;a.afterSaveCheckFunc=null;b&&b()},FXc=function(a,b){return new mXc(a.customFieldIds,b)};
c0.prototype.loadCustomFields=function(){var a=this;this.customFieldRows=[];this.customFieldIds={};return this.supportCustomFields?this.componentActions.get(this.componentId).then(function(b){b=k(b.componentPathInfo.allCustomField||[]);for(var c=b.next();!c.done;c=b.next()){c=c.value;if(!c.enabledOnIssues)return;a.customFieldIds[c.customFieldId.toString()]=c;a.customFieldRows.push(new lXc(c,"TEXT"===c.type?"1":"2"))}a.cdr.detectChanges()}).catch(function(){XF(a.butterBar,"Unable to load custom fields")}):
Promise.resolve()};c0.prototype.loadTemplates=function(){var a=this;this.templates=[];return this.templatesApi.query(this.componentId).then(function(b){a.templates=b;b=k(a.templates);for(var c=b.next();!c.done;c=b.next())c=c.value,c.snapshot.hotlistId?a.templateHotlistIds.push(c.snapshot.hotlistId):a.templateHotlistIds.push([]);a.cdr.detectChanges()}).catch(function(){XF(a.butterBar,"Unable to load templates")})};
var xXc=function(a){yXc(a);a.defaultIndex=a.templates.findIndex(function(b){return b.default})},yXc=function(a){if(0>a.currentIndex)a.templateRows=a.templates.map(function(e,g){return new kXc(g,e)}),a.currentTemplate&&(a.currentTemplateRow=new kXc(-1,a.currentTemplate),a.templateRows.push(a.currentTemplateRow)),a.hotlistPickerIndex=a.templates.length;else{var b=a.currentIndex,c=[];var d=a.templates.slice(0,b+1);c=c.concat(d.map(function(e,g){return new kXc(g,e)}));a.currentTemplate&&(a.currentTemplateRow=
new kXc(b,a.currentTemplate),c.push(a.currentTemplateRow));d=a.templates.slice(b+1);c=c.concat(d.map(function(e,g){return new kXc(b+g+1,e)}));a.templateRows=c;a.hotlistPickerIndex=a.currentIndex}},IXc=function(a,b,c){return GXc(a,b).then(function(d){c(d);return a.templatesApi.update(d.componentId,d.templateId,d)}).then(function(d){a.appEvents.templateModified.next(String(a.componentId));return d})},T9a=function(a,b){if(a.defaultIndex!==b){a.defaultIndex=b;var c="(no template)";0<=b&&(b=a.templates[b],
c=b.name,nj(mj(c))&&(c="(unnamed template)"),b.default||(b=IXc(a,b,function(d){d.default=!0}),WF(a.butterBar,"Changing default template..."),b.then(function(){WF(a.butterBar,"Changed default template to "+c)},function(d){XF(a.butterBar,"Error while changing default message"+(Bk(d)?": "+Ck(d):"."))}),a.analytics.trackEvent("template","changeDefault")))}};c0.\u0275fac=function(a){return new (a||c0)(D(Ly),D(wH,2),D(hH),D(Zjc),D(ZG),D($I),D(OG),D(VF),D(AH),D(PI),D(mV),D(NI),D(cG),D(rp),D(nG))};
c0.\u0275cmp=zc({type:c0,selectors:[["b-edit-templates"]],viewQuery:function(a,b){a&1&&(jf(sXc,5),jf(tXc,5));if(a&2){var c;hf(c=lf())&&(b.saveBeforeClosingDialog=c.first);hf(c=lf())&&(b.deleteDialog=c.first)}},inputs:{componentId:"componentId",supportCustomFields:"supportCustomFields"},features:[Xe([wH]),xe],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(";"),["class","cell-1",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"],["for","template-issue-access-limits-dropdown"],["id","template-issue-access-limits-dropdown",3,"disabled","defaultAccessLimitLevel","implicitAccessEnabled","updatedAccessLimitLevel"],["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),S(2," A template is a set of default values for new issues created in this component. "),H(3,"a",1),S(4,"Learn more"),J()(),H(5,"table",2)(6,"tr")(7,"th"),S(8,"TEMPLATE"),J(),H(9,"th",3),S(10,"DEFAULT"),J(),K(11,"th",3)(12,"th",3),J(),
R(13,u$a,3,2,"tr",4),J(),H(14,"div",5)(15,"b-button",6),O("onAction",function(){return AXc(b)}),S(16," Create New Template "),J()(),R(17,v$a,7,3,"ng-template",null,7,of),R(19,w$a,9,4,"ng-template",null,8,of),J());a&2&&(C(3),G("href","https://g3doc.corp.google.com/company/teams/buganizer/user-guide/concepts/templates",vd),C(10),G("ngForOf",b.templateRows))},dependencies:[qP,Su,Tu,Uu,Vu,Wu,yy,jz,qO,HZ,Af,Bv,tv,zv,vU,K_,a0,LZ,My,Oy,Py,YM,DZ,$S,XA,$M,PA,NA,OA,b0],styles:[".buttons-row[_ngcontent-%COMP%]   b-button[_ngcontent-%COMP%]{ margin-right: 10px;}"]});var d0=function(){};d0.\u0275fac=function(a){return new (a||d0)};d0.\u0275mod=Bc({type:d0});d0.\u0275inj=oc({imports:[MF,ZY]});var e0=function(){};e0.\u0275fac=function(a){return new (a||e0)};e0.\u0275mod=Bc({type:e0});e0.\u0275inj=oc({imports:[MF,WB,YA,QA,zC,vN]});var f0=function(){};f0.\u0275fac=function(a){return new (a||f0)};f0.\u0275mod=Bc({type:f0});f0.\u0275inj=oc({imports:[HT,MF,EO,IZ,Qv,FU,X_,d0,MZ,WB,Qy,YA,AN,EZ,HJ,aT,DO,By,zC,vN,QA,e0]});var g0=function(a,b,c,d,e){this.appSearchState=b;this.analytics=c;this.domSafe=d;this.currentTracker=e;this.enableEstado=iE(a,"enableEstado")};g0.prototype.openInEstado=function(){this.analytics.trackEvent("listIssues","addOns","Estado");this.domSafe.openInNewTab("http://go/estado/dashboard-lite/buganizer?buganizer-query="+encodeURIComponent(this.appSearchState.currentQuery))};g0.\u0275fac=function(a){return new (a||g0)(w(rp),w(dY),w(AH),w(rK),w(LK))};
g0.\u0275prov=nc({token:g0,factory:g0.\u0275fac,providedIn:"root"});var JXc=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};JXc.\u0275fac=function(a){return new (a||JXc)(D(Ky))};
JXc.\u0275cmp=zc({type:JXc,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),S(1),J(),H(2,"mat-dialog-content")(3,"b-custom-field-picker",1),O("fieldSelected",function(c){return b.selectedCustomField=
c}),J()(),H(4,"mat-dialog-actions")(5,"button",2),S(6," Cancel "),J(),H(7,"button",3),S(8," Add "),J()());a&2&&(C(1),Te("Insert custom field column next to ",b.column.fullLabel,""),C(2),G("filter",b.isLegalColumn),C(4),G("disabled",!b.selectedCustomField)("mat-dialog-close",b.selectedCustomField))},dependencies:[yy,My,Ny,Oy,Py,PZ],encapsulation:2});var x$a="issueId componentPath type status priority severity reporter assignee verifier cc collaborator changelist postmortem blockingIssueId blockedByIssueId createdTime modifiedTime resolvedTime verifiedTime title foundInVersion targetedToVersion verifiedInVersion inProd duplicateOfIssueId voteCount duplicateCount ccCount collaboratorCount lastModifier archived minSlo assignmentSlo responseSlo closureSlo deletionTime team estimate estimateTotalOpen estimateTotalComplete".split(" ");var zn=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)};zn.prototype.toString=function(){return this.isCustomField?"customfield:"+this.name+"["+this.fullLabel+"]":this.name};
var C$a={issueId:{defaultSortDirection:"DESC",label:"ID"},priority:{label:"P",fullLabel:"Priority"},severity:{label:"S",fullLabel:"Severity"},modifiedTime:{defaultSortDirection:"DESC",label:"LAST MODIFIED"},magic:{label:"MAGIC NUMBER"},createdTime:{defaultSortDirection:"DESC",label:"CREATED"},verifiedTime:{defaultSortDirection:"DESC",label:"VERIFIED"},resolvedTime:{defaultSortDirection:"DESC",label:"RESOLVED"},blockedByIssueId:{sortable:!1,label:"BLOCKED BY"},foundInVersion:{label:"FOUND IN"},targetedToVersion:{label:"TARGETED TO"},
verifiedInVersion:{label:"VERIFIED IN"},inProd:{label:"IN PROD"},duplicateOfIssueId:{sortable:!1,label:"DUPLICATE OF"},componentPath:{label:"COMPONENT",moreOptions:[{name:"wrapComponents",menuItem:"Wrap components"},{name:"rtlComponentPath",menuItem:"Prefer right alignment"}]},cc:{sortable:!1},collaborator:{sortable:!1},changelist:{sortable:!1},postmortem:{sortable:!1},blockingIssueId:{sortable:!1,label:"BLOCKING"},title:{moreOptions:[{name:"showHotlists",menuItem:"Show hotlists"},{name:"wrapTitles",
menuItem:"Wrap titles"}]},status:{moreOptions:[{name:"showStatusIcons",menuItem:"Icons only"},{name:"status-plain",menuItem:"Plain text (no colors)"}]},voteCount:{defaultSortDirection:"DESC",label:"VOTES",fullLabel:"Vote Count"},duplicateCount:{defaultSortDirection:"DESC",label:"DUPE COUNT",tooltip:"Duplicate Count"},ccCount:{defaultSortDirection:"DESC",label:"CC COUNT"},collaboratorCount:{defaultSortDirection:"DESC",label:"COLLABORATOR COUNT"},lastModifier:{label:"LAST MODIFIED BY"},minSlo:{defaultSortDirection:"ASC",
label:"NEAREST SLO",fullLabel:"Nearest SLO",parentLabel:"SLO"},assignmentSlo:{label:"ASSIGNMENT SLO",fullLabel:"Assignment SLO",parentLabel:"SLO",sortable:!0},responseSlo:{label:"RESPONSE SLO",fullLabel:"Response SLO",parentLabel:"SLO",sortable:!0},closureSlo:{label:"CLOSURE SLO",fullLabel:"Closure SLO",parentLabel:"SLO",sortable:!0},deletionTime:{label:"DELETION DATE",fullLabel:"Deletion Date",sortable:!0},team:{label:"TEAM",sortable:!0},estimate:{label:"ESTIMATE",fullLabel:"Estimate",parentLabel:"Estimates",
sortable:!0},estimateTotalOpen:{label:"TOTAL DAYS OPEN",fullLabel:"Total days open",parentLabel:"Estimates",sortable:!0,tooltip:"Total estimate of all child issues that are open in number of days"},estimateTotalComplete:{label:"TOTAL DAYS COMPLETE",fullLabel:"Total days complete",parentLabel:"Estimates",sortable:!0,tooltip:"Total estimate of all child issues that are complete (fixed or won\u2019t fix) in number of days"}};var KXc=function(a,b,c){this.target=a;this.eventType=b;this.listener=c;this.target.addEventListener(this.eventType,this.listener)};KXc.prototype.off=function(){this.target.removeEventListener(this.eventType,this.listener)};var LXc=function(){this.bindings=[]};LXc.prototype.off=function(){for(var a=k(this.bindings),b=a.next();!b.done;b=a.next())b.value.off()};
var MXc=function(a){var b=this;this.params=a;this.mask=document.createElement("div");this.element=this.params.nativeElement;this.eventBindings=new LXc;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()}};
MXc.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(){NXc(a,"dragstart",a.onDragTargetDragstart);NXc(a,"dragenter",a.onDragTargetDragenter);NXc(a,"dragend",a.onDragTargetDragend);NXc(a,"selectstart",a.onDragTargetSelectstart);a.eventBindings.bindings.push(new KXc(a.mask,"dragleave",a.onMaskDragLeave));
a.eventBindings.bindings.push(new KXc(a.mask,"dragover",a.onMaskDragover));a.eventBindings.bindings.push(new KXc(a.mask,"drop",a.onMaskDrop))})};var NXc=function(a,b,c){a.eventBindings.bindings.push(new KXc(a.element,b,Bn("th.drag-target",c)))};MXc.prototype.tearDown=function(){this.eventBindings.off()};var OXc=["table"],PXc=["defaultHeaderCellTemplate"],QXc=["defaultViewCellTemplate"],RXc=["dataRows"],H$a=function(a){return{column:a}},K$a=function(a,b,c){return{row:a,column:b,index:c}},h0=function(a,b){var c=this;this.activeSession=a;this.ngZone=b;this.headerCellTemplates={};this.viewCellTemplates={};this.list=[];this.columns=[];this.columnsChange=new tu;this.rowClick=new tu;this.rowLabelRenderer=function(d,e){return"Row "+e};this.sortChange=new tu;this.focusedRowIndexChange=new tu;this.afterViewInit=
new tu;this.enableDragDropHeader=!0;this.readUnreadOptOut=iE(this.activeSession,"readUnreadOptOut");this.onDragDropColumn=function(d,e){var g=[].concat(Jc(c.columns));d=g.splice(d,1)[0];g.splice(e,0,d);c.columns=g;c.columnsChange.emit([].concat(Jc(c.columns)))};this.onTdClickableClick=Bn("td.clickable",function(d,e){if(("mouseup"!==d.type||1===d.button)&&!Btc(e)&&(e=e.closest("tr"))){var g,h=null!=(g=e.dataset.rowId)?g:"";c.rowClick.emit({id:h,isRead:!!e.dataset.isRead,event:d})}})};
h0.prototype.ngOnInit=function(){this.enableDragDropHeader&&SXc(this);this.tableElement.nativeElement.addEventListener("click",this.onTdClickableClick);this.tableElement.nativeElement.addEventListener("mouseup",this.onTdClickableClick)};var SXc=function(a){a.dragDropHeaderLogic=new MXc({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()};
h0.prototype.ngOnChanges=function(a){if(a=a.focusedRowIndex){var b=a.currentValue;null!=b&&b!==a.previousValue&&this.dataRows&&(a=this.dataRows.toArray()[b])&&(fKa(a.nativeElement)||a.nativeElement.scrollIntoView({block:"center"}),this.focus())}};h0.prototype.ngAfterViewInit=function(){this.afterViewInit.emit(this)};
h0.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)};h0.prototype.getViewCellTemplate=function(a){return null!=a?this.viewCellTemplates[a]||this.defaultViewCellTemplate:this.defaultViewCellTemplate};var TXc=function(a){return a.columns.map(function(b){return a.getViewCellTemplate(b.name)})};
h0.prototype.renderRowLabel=function(a,b){return this.rowLabelRenderer(a,b)};h0.prototype.focus=function(){if(null!=this.focusedRowIndex&&null!=this.dataRows){var a=this.dataRows.toArray()[this.focusedRowIndex];a&&a.nativeElement.focus()}};h0.prototype.getColumnIndexForElement=function(a){var b=a.dataset.dragTargetColumnName;return this.columns.findIndex(function(c){return c.name===b})};h0.\u0275fac=function(a){return new (a||h0)(D(rp),D(te))};
h0.\u0275cmp=zc({type:h0,selectors:[["pop-grid"]],viewQuery:function(a,b){a&1&&(jf(OXc,7),jf(PXc,7),jf(QXc,7),jf(RXc,5,fd));if(a&2){var c;hf(c=lf())&&(b.tableElement=c.first);hf(c=lf())&&(b.defaultHeaderCellTemplate=c.first);hf(c=lf())&&(b.defaultViewCellTemplate=c.first);hf(c=lf())&&(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:[Mc],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),O("mousedown",function(c){c.shiftKey&&window.getSelection().removeAllRanges()}),H(2,"colgroup"),R(3,F$a,1,3,"col",2),J(),H(4,"thead")(5,"tr",3),R(6,I$a,2,4,"ng-container",4),J()(),H(7,"tbody"),R(8,N$a,2,1,"ng-container",5),J()(),R(9,O$a,2,1,"ng-template",null,6,of),R(11,P$a,2,2,"ng-template",null,7,of));a&2&&(C(3),G("ngForOf",b.columns),C(3),
G("ngForOf",b.columns),C(2),G("ngIf",TXc(b)))},encapsulation:2});var i0=function(a,b){this.templateRef=a;this.popGrid=b};i0.prototype.ngOnInit=function(){this.forHeaderCell&&(this.popGrid.headerCellTemplates[this.forHeaderCell]=this.templateRef)};i0.\u0275fac=function(a){return new (a||i0)(D(ef),D(h0))};i0.\u0275dir=Cc({type:i0,selectors:[["","forHeaderCell",""]],inputs:{forHeaderCell:"forHeaderCell"}});var j0=function(a,b){this.templateRef=a;this.popGrid=b};
j0.prototype.ngOnInit=function(){this.forViewCell&&(this.popGrid.viewCellTemplates[this.forViewCell]=this.templateRef)};j0.\u0275fac=function(a){return new (a||j0)(D(ef),D(h0))};j0.\u0275dir=Cc({type:j0,selectors:[["","forViewCell",""]],inputs:{forViewCell:"forViewCell"}});var k0=function(a,b){this.templateRef=a;this.popGrid=b};k0.prototype.ngOnInit=function(){this.popGrid.defaultHeaderCellTemplate=this.templateRef};k0.\u0275fac=function(a){return new (a||k0)(D(ef),D(h0))};
k0.\u0275dir=Cc({type:k0,selectors:[["","forHeaderCellDefault",""]]});var l0=function(){this.columnLabel=this.columnName="";this.defaultSortDirection="ASC";this.sortChanged=new tu};l0.prototype.ariaLabel=function(){var a=this.columnLabel+", sortable";return this.isActive()?"ASC"===this.sort.direction?a+", sorted ascending":a+", sorted descending":a};l0.prototype.isActive=function(){return!!this.sort&&this.sort.field===this.columnName};
l0.prototype.activate=function(){var a=this.defaultSortDirection;this.isActive()&&(a="ASC"===this.sort.direction?"DESC":"ASC");this.sortChanged.emit({field:this.columnName,direction:a})};l0.\u0275fac=function(a){return new (a||l0)};
l0.\u0275cmp=zc({type:l0,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),O("click",function(){return b.activate()})("keydown.enter",function(c){b.activate();return c.stopPropagation()})("keydown.space",
function(c){b.activate();return c.stopPropagation()}),K(1,"span",1),S(2),J());a&2&&(Ie("current-sort",b.isActive())("direction-asc",b.isActive()&&"ASC"===b.sort.direction)("direction-desc",b.isActive()&&"DESC"===b.sort.direction),Ae("aria-label",b.ariaLabel()),C(2),Te(" ",b.columnLabel," "))},encapsulation:2});var m0=function(a,b){this.elementRef=a;this.grid=b};m0.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}}};m0.prototype.ngOnDestroy=function(){this.cellParent&&delete this.cellParent.dataset.dragTargetColumnName};
m0.\u0275fac=function(a){return new (a||m0)(D(fd),D(h0,8))};
m0.\u0275cmp=zc({type:m0,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),R(1,Q$a,1,5,"b-sortable-header",1),R(2,S$a,3,3,"div",2),J());a&2&&(C(1),G("ngIf",b.column.sortable),C(1),G("ngIf",!b.column.sortable))},dependencies:[Tu,XA,l0],encapsulation:2});var Z$a=function(a,b){return{columns:a,before:b}},UXc=function(){return{before:!1}},VXc=function(){return{before:!0}},n0=function(a,b,c,d,e,g){kE.call(this);var h=this;this.matDialog=a;this.userPreferencesManager=b;this.butterBar=c;this.analytics=d;this.hotkeys=e;this.activeSession=g;this.selectedColumnsChange=new tu;this.onAddTeamColumn=new tu;this.currentAvailableItems=[];this.isRemovable=!0;this.menuOpen=!1;this.listViewPrefs=eE.listViewPreferences;b.preferences$.pipe(qe(this.destroyed$)).subscribe(function(l){h.listViewPrefs=
l.listViewPreferences||eE.listViewPreferences})};V(n0,kE);n0.\u0275dir=kE.\u0275dir;n0.prototype.ngOnChanges=function(a){a.selectedColumns&&WXc(this)};
var XXc=function(a){a.selectedColumnsChange.emit([].concat(Jc(a.selectedColumns)));WXc(a)},U$a=function(a,b){var c=Object.assign({},a.listViewPrefs),d=V$a(b),e=d.get;d=d.set;d(c,!e(c));a.activeSession.isAnonymous()||WF(a.butterBar,"Saving display preference...",0);a.userPreferencesManager.save({listViewPreferences:c}).pipe(ge(),qe(a.destroyed$)).subscribe(function(){a.analytics.trackEvent("preferences","setListViewPref:"+b,e(c).toString());a.listViewPrefs=c;a.activeSession.isAnonymous()||WF(a.butterBar,
"Display preference saved.",4E3)},function(){a.activeSession.isAnonymous()||XF(a.butterBar,"Display preference could not be saved.")})},bab=function(a,b){a.hotkeys.pause();Gy(a.matDialog.open(JXc,{data:{column:a.column,columns:a.selectedColumns},position:{top:"100px"},panelClass:"overflow-visible-dialog-panel"})).pipe(qe(a.destroyed$)).subscribe({next:function(c){c&&a.add(c,b)},error:function(){a.hotkeys.unpause()},complete:function(){a.hotkeys.unpause()}})},WXc=function(a){for(var b={},c=k(a.selectedColumns),
d=c.next();!d.done;d=c.next())b[d.value.name]=!0;var e=a.availableColumns.filter(function(g){return!zda(b,g.name)});c=[].concat(Jc(new Set(e.filter(function(g){return g.parentLabel}).map(function(g){return g.parentLabel})))).map(function(g){return{label:g,columns:e.filter(function(h){return h.parentLabel===g})}});d=e.filter(function(g){return!g.parentLabel});a.currentAvailableItems=[].concat(Jc(d),Jc(c));a.currentAvailableItems.sort(function(g,h){return Hn(g instanceof zn?g.fullLabel:g.label,h instanceof
zn?h.fullLabel:h.label)});a.isRemovable=YXc(a)};n0.prototype.isIssueGridColumn=function(a){return a instanceof zn};n0.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,XXc(this),!0}return!1};
n0.prototype.add=function(a,b){var c=this;this.menuTrigger.closeMenu();a="customFieldId"in a&&a.customFieldId?new zn({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(Jc(this.selectedColumns));this.selectedColumns.splice(b,0,a);XXc(this);return!0};
var YXc=function(a){return 1<a.selectedColumns.filter(function(b){return!b.isMetadata}).length};n0.\u0275fac=function(a){return new (a||n0)(D(Ly),D(TI),D(VF),D(AH),D(bM),D(rp))};
n0.\u0275cmp=zc({type:n0,selectors:[["b-column-picker"]],viewQuery:function(a,b){a&1&&jf(OA,5);if(a&2){var c;hf(c=lf())&&(b.menuTrigger=c.first)}},inputs:{column:"column",availableColumns:"availableColumns",selectedColumns:"selectedColumns"},outputs:{selectedColumnsChange:"selectedColumnsChange",onAddTeamColumn:"onAddTeamColumn"},features:[xe,Mc],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",4,"ngIf"],["mat-menu-item","",3,"matMenuTriggerFor","matMenuTriggerData",4,"ngIf"],["mat-menu-item",
"",3,"matTooltip","click"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"]],template:function(a,b){a&1&&(H(0,"div",0)(1,"div",1),K(2,"pop-grid-default-th",2),J(),R(3,T$a,2,4,"div",3),H(4,"mat-menu",4,5),R(6,W$a,4,3,"button",6),R(7,X$a,1,0,"mat-divider",7),H(8,"button",8),O("click",function(){return b.remove()}),S(9," Remove column "),J(),H(10,"button",9),S(11," Add column right "),J(),H(12,"button",9),S(13," Add column left "),J()(),H(14,"mat-menu",null,10),R(16,cab,4,1,"ng-template",11),J(),H(17,
"mat-menu",null,12),R(19,eab,1,1,"ng-template",11),J()());if(a&2){var c=Se(15);C(2);G("column",b.column);C(1);G("ngIf",!0);C(3);G("ngForOf",b.column.moreOptions);C(1);G("ngIf",b.column.moreOptions.length);C(1);G("disabled",!b.isRemovable);C(2);G("matMenuTriggerFor",c)("matMenuTriggerData",Ye(9,UXc));C(2);G("matMenuTriggerFor",c)("matMenuTriggerData",Ye(10,VXc))}},dependencies:[Su,Tu,PA,NA,OA,MA,TL,XA,$M,m0],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}  .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%)}\n/*# sourceMappingURL=column_picker.css.map */']});var aYc=function(a){var b=this;this.params=a;this.element=this.params.nativeElement;this.dropzone=document.createElement("div");this.onTdDragStart=Bn("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=Bn("tr",function(c,d){if(b.draggedRow&&b.dragTargetRow!==d&&d.closest("tbody")&&
d!==b.draggedRow){ZXc(b.dragTargetRow);b.dragTargetRow=d;var e;b.draggedIssueIndex=b.params.rowFinder(null!=(e=b.draggedRow.dataset.rowId)?e:void 0);var g;b.dragTargetIndex=b.params.rowFinder(null!=(g=b.dragTargetRow.dataset.rowId)?g:void 0);b.dragTargetRow.classList.add("drag-over");b.dragTargetIndex>b.draggedIssueIndex?b.dragTargetRow.classList.add("below"):b.dragTargetRow.classList.add("above");a:{for(c=b.dragTargetRow.parentElement;c;){if("static"!==window.getComputedStyle(c).position)break a;
c=c.parentElement}c=void 0}c&&(d=c.scrollTop||0,c=b.dragTargetRow.getBoundingClientRect().top-c.getBoundingClientRect().top+d,b.dropzone.style.width=b.dragTargetRow.offsetWidth+"px",b.dropzone.style.height=b.dragTargetRow.offsetHeight+"px",b.dropzone.style.left="0",b.dropzone.style.top=c+"px");b.dragTargetRow.appendChild(b.dropzone);b.dropzone.style.display="block"}});this.onTrDragEnd=Bn("tr",function(){b.draggedRow&&(ZXc(b.draggedRow),ZXc(b.dragTargetRow),b.draggedRow.setAttribute("aria-grabbed",
"false"),b.draggedRow=b.dragTargetRow=void 0)});this.onTrDragLeave=Bn("tr",function(c){c.stopPropagation();c.preventDefault()});this.onDropzoneDragEnter=Bn(".row-dropzone",function(c){c.stopPropagation();c.preventDefault()});this.onDropzoneDragLeave=Bn(".row-dropzone",function(c){ZXc(b.dragTargetRow);$Xc(b);c.stopPropagation();c.preventDefault()});this.onDropzoneDragOver=Bn(".row-dropzone",function(c){c.stopPropagation();c.preventDefault()});this.onDropzoneDrop=Bn(".row-dropzone",function(c){$Xc(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()})};
aYc.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");$Xc(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)})};
aYc.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 ZXc=function(a){a&&(a.classList.remove("drag-over"),a.classList.remove("above"),a.classList.remove("below"),a.classList.remove("dragging"))},$Xc=function(a){a.dropzone.style.display="none"};var o0=function(){};o0.\u0275fac=function(a){return new (a||o0)};o0.\u0275cmp=zc({type:o0,selectors:[["archived-issue-indicator"]],decls:3,vars:0,consts:[["aria-hidden","true","svgIcon","archive_24px"]],template:function(a){a&1&&(H(0,"span"),K(1,"mat-icon",0),S(2,"Archived "),J())},dependencies:[jz],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 p0=function(){};p0.\u0275fac=function(a){return new (a||p0)};p0.\u0275mod=Bc({type:p0});p0.\u0275inj=oc({imports:[MF,YA]});var bYc=[[["",8,"tooltip-content"]],[["",8,"chip-content"]]],q0=function(){this.compactMode=this.labelOnlyMode=!1};q0.prototype.ngOnInit=function(){};q0.\u0275fac=function(a){return new (a||q0)};
q0.\u0275cmp=zc({type:q0,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&&(Ne(bYc),H(0,"span",0)(1,"onedev-hovercard",null,1)(3,"div",2)(4,"div",3),Oe(5),J()()(),H(6,"div",4)(7,"span",5),Oe(8,1),J()()());if(a&2){var c=Se(2),d;C(3);Ae("aria-label",b.hovercardAriaLabel);C(3);G("onedevHovercardTrigger",c)("onedevHovercardActive",!b.labelOnlyMode);C(1);Ie("compact-chip",b.compactMode);G("ngClass",null!==(d=b.labelClass)&&void 0!==d?d:"")}},dependencies:[Ru,QJ,VJ],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 r0=function(a){this.documentationLinks=a;this.documentationLink=qp()};r0.prototype.ngOnChanges=function(){this.retentionState?this.retentionExpireTime=rl(fCa(this.retentionState.scheduledDeletionTime)):this.retentionExpireTime=void 0};r0.\u0275fac=function(a){return new (a||r0)(D(NI))};
r0.\u0275cmp=zc({type:r0,selectors:[["retention-help-text"]],inputs:{retentionState:"retentionState",modifiedTime:"modifiedTime"},features:[Mc],decls:1,vars:1,consts:[[4,"ngIf"],[4,"ngIf","ngIfElse"],["indefinite",""],["target","_blank",3,"href"],[3,"mode","timestamp"]],template:function(a,b){a&1&&R(0,hab,6,3,"ng-container",0);a&2&&G("ngIf",b.retentionState&&b.modifiedTime)},dependencies:[Tu,BK],encapsulation:2});var s0=function(a){this.dateFormatter=a;this.compactMode=!1;this.text=""};s0.prototype.ngOnChanges=function(){var a;null!=(null==(a=this.retentionState)?void 0:a.scheduledDeletionTime)?(a=rl(fCa(this.retentionState.scheduledDeletionTime)),this.text=uNa(a,!this.compactMode)):this.text="Indefinite"};s0.\u0275fac=function(a){return new (a||s0)(D(AK))};
s0.\u0275cmp=zc({type:s0,selectors:[["retention-text"]],inputs:{retentionState:"retentionState",compactMode:"compactMode"},features:[Mc],decls:1,vars:1,template:function(a,b){a&1&&S(0);a&2&&Ve(b.text)},encapsulation:2});var t0=function(){this.showRetentionInfo=this.dangerZone=this.labelOnlyMode=this.compactMode=this.showOnlyInDangerZone=!1};t0.prototype.ngOnChanges=function(){this.retentionState&&this.retentionState.retentionPeriod&&this.retentionState.scheduledDeletionTime?(this.dangerZone=jab(this.retentionState),this.showRetentionInfo=this.showOnlyInDangerZone&&this.dangerZone||!this.showOnlyInDangerZone):this.showRetentionInfo=!1};t0.\u0275fac=function(a){return new (a||t0)(D(NI))};
t0.\u0275cmp=zc({type:t0,selectors:[["b-retention-chip"]],inputs:{showOnlyInDangerZone:"showOnlyInDangerZone",compactMode:"compactMode",labelOnlyMode:"labelOnlyMode",retentionState:"retentionState",modifiedTime:"modifiedTime"},features:[Mc],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&&R(0,iab,5,7,"b-base-chip",0);a&2&&G("ngIf",b.showRetentionInfo)},dependencies:[Tu,q0,s0,r0],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 Qab=function(a,b,c){return{low:a,high:b,p0:c}},xbb=function(a){return{id:a}},ccb=function(a,b){return{"bv2-grid-cell-variable-height":a,"rtl-component-path":b}},cYc=function(){return[]},u0=function(a,b,c,d,e,g,h,l,q,v,y,B,I,N,Q){var Z=this;this.activeSession=a;this.cdr=b;this.elementRef=c;this.teamsService=d;this.ngZone=e;this.userPreferencesManager=g;this.hotlistFridge=h;this.issueFridge=l;this.bLocation=q;this.issuePagination=v;this.paths=y;this.errorHandler=B;this.$log=I;this.domSafe=N;this.currentTracker=
Q;this.STATUS_ICON=djc;this.STATUS_FULL_TEXT=fF;this.STATUS_TERSE=bF;this.lastCheckedIndex=null;this.focusedRowIndexChange=new tu;this.columns=[];this.columnsChange=new tu;this.enableColumnSaving=!1;this.sort=null;this.sortChange=new tu;this.rowClick=new tu;this.init=new tu;this.onRowDragDrop=new tu;this.onNextPage=new tu;this.onPrevPage=new tu;this.selectionCallbacks=[];this.isLoadingTeams=!0;this.isTotalEstimatesEnabled=iE(this.activeSession,"enableAggregationRules");this.destroyed$=new F.ReplaySubject(1);
this.starInProgress={};this.readUnreadOptOut=iE(this.activeSession,"readUnreadOptOut");b=ra(x$a);a.isInternalSession()||(qa(b,"minSlo"),qa(b,"responseSlo"),qa(b,"assignmentSlo"),qa(b,"closureSlo"),qa(b,"deletionTime"),qa(b,"team"),qa(b,"estimate"),qa(b,"estimateTotalOpen"),qa(b,"estimateTotalComplete"));this.availableColumns=b.map(An);this.dragDropLogic=new aYc({ngZone:this.ngZone,nativeElement:this.elementRef.nativeElement,rowFinder:function(Y){return dYc(Z,Y)},onRowDragDrop:function(Y){Z.onRowDragDrop.emit(Y)}})};
f=u0.prototype;f.ngOnInit=function(){var a=this;this.dragDropLogic.setup();this.userPreferencesManager.listViewPreferences$.pipe(qe(this.destroyed$)).subscribe(function(b){a.listViewPrefs=b;a.cdr.detectChanges()});this.init.emit(this)};
f.ngOnChanges=function(a){if(a.searchResults){var b,c=$ra((null==(b=this.searchResults)?void 0:b.issues.map(function(e){return new Set([].concat(Jc(e.hotlistId||[])))}))||[]);this.hotlistFridge.watchSet([].concat(Jc(c)))}if(a.searchResults||a.columns)for(b=k(this.columns),c=b.next();!c.done;c=b.next())"TEAM"===c.value.label&&eYc(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}))||[]);tsa(a,d)||v0(this)}};f.ngOnDestroy=function(){this.dragDropLogic.tearDown();this.destroyed$.next()};f.focus=function(){this.grid.focus()};f.convertIssueStatusStrToTag=function(a){return Zh[a]};f.selectAll=function(){if(this.searchResults){for(var a=k(this.searchResults.issues),b=a.next();!b.done;b=a.next())b.value.selected=!0;this.cdr.detectChanges()}v0(this)};
var fYc=function(a){if(a.searchResults){for(var b=k(a.searchResults.issues),c=b.next();!c.done;c=b.next())c.value.selected=!1;a.cdr.detectChanges()}v0(a)};u0.prototype.hasSelectedIssues=function(){return this.searchResults?this.searchResults.issues.some(function(a){return a.selected}):!1};var oab=function(a){return a.searchResults?a.searchResults.issues.every(function(b){return b.selected}):!1};
u0.prototype.someIssuesSelected=function(){return this.searchResults?this.searchResults.issues.some(function(a){return a.selected}):!1};u0.prototype.getHeaderCheckboxState=function(){if(!this.searchResults)return"unchecked";for(var a=!0,b=!1,c=k(this.searchResults.issues),d=c.next();!d.done;d=c.next())d.value.selected?b=!0:a=!1;return a?"checked":b?"indeterminate":"unchecked"};
u0.prototype.getSelectedIssues=function(){return this.searchResults?this.searchResults.issues.filter(function(a){return a.selected}):[]};var hYc=function(a){if(gYc(a)&&null!=a.focusedRowIndex&&a.searchResults){var b=a.searchResults.issues[a.focusedRowIndex];b&&(b.selected=!b.selected,a.cdr.detectChanges(),v0(a))}};
u0.prototype.toggleAllIssueSelection=function(){if(this.searchResults){for(var a=!this.someIssuesSelected(),b=k(this.searchResults.issues),c=b.next();!c.done;c=b.next())c.value.selected=a;this.cdr.detectChanges();v0(this)}};
var iYc=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()&&WQc(a.issuePagination,a.searchResults.endIndex+1).catch(function(b){a.$log.warn(b)}).finally(function(){a.onNextPage.emit()})},jYc=function(a){null!=a.focusedRowIndex&&0<a.focusedRowIndex?(a.focusedRowIndex--,a.focusedRowIndexChange.emit(a.focusedRowIndex),
a.cdr.detectChanges()):a.searchResults&&a.searchResults.hasPreviousPage()&&WQc(a.issuePagination,a.searchResults.startIndex-1).catch(function(b){a.$log.warn(b)}).finally(function(){a.onPrevPage.emit()})},kYc=function(a,b){b=void 0===b?{}:b;if(gYc(a)&&null!=a.focusedRowIndex&&a.searchResults){var c=a.searchResults.issues[a.focusedRowIndex];c&&(b.openInNewTab?a.domSafe.openInNewTab(a.paths.editIssue(c.issueId)):a.bLocation.url(a.paths.editIssue(c.issueId)))}},lYc=function(a,b){a.selectionCallbacks.push(b);
b()};u0.prototype.onCheckboxClicked=function(a,b,c){if(a.shiftKey&&(a=c.selected,null!==this.lastCheckedIndex&&this.searchResults)){if(b<this.lastCheckedIndex){var d=b+1;var e=this.lastCheckedIndex+1}else d=this.lastCheckedIndex,e=b;d=this.searchResults.issues.slice(d,e);d=k(d);for(e=d.next();!e.done;e=d.next())e.value.selected=!a;v0(this)}c.selected=!c.selected;this.lastCheckedIndex=b;v0(this)};
var v0=function(a){a=k(a.selectionCallbacks);for(var b=a.next();!b.done;b=a.next())b=b.value,b()},mYc=function(a){gYc(a)&&null!=a.focusedRowIndex&&a.searchResults&&a.toggleStar(a.searchResults.issues[a.focusedRowIndex])},nYc=function(a,b){b=void 0===b?!0:b;var c=a.getSelectedIssues();if(0!==c.length){for(var d=k(c),e=d.next();!e.done;e=d.next())e.value.isRead=b;a.cdr.detectChanges();KH(a.issueFridge,c.map(function(g){return g.issueId}),{markRead:b}).then(function(g){for(var h=k(c),l=h.next();!l.done;l=
h.next()){var q=void 0;l.value.lastViewedTime=null!=(q=g)?q:null}}).catch(function(){for(var g=k(c),h=g.next();!h.done;h=g.next())h=h.value,h.isRead=!!h.lastViewedTime&&h.lastViewedTime>=h.majorModifiedTime}).finally(function(){a.cdr.detectChanges()})}};
u0.prototype.toggleStar=function(a){var b=this;a&&!this.starInProgress[a.issueId]&&(a.starred=!a.starred,this.starInProgress[a.issueId]=!0,pnc(this.issueFridge,String(a.issueId),a.starred).pipe(ge(),qe(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()}))};
u0.prototype.issueDescription=function(a){return(a.isClosed?"Closed ":this.readUnreadOptOut||a.isRead?"":"Unread ")+"Issue ID "+a.id+" titled: "+a.title};
var gYc=function(a){return null!=a.searchResults&&null!=a.focusedRowIndex&&0<=a.focusedRowIndex&&a.focusedRowIndex<a.searchResults.issues.length},dYc=function(a,b){return b?a.searchResults?a.searchResults.issues.findIndex(function(c){return c.id===b}):-1:-1},eYc=function(a){if(a.searchResults){for(var b=new Set,c=k(a.searchResults.issues),d=c.next();!d.done;d=c.next())d=String(d.value.teamId),"0"!==d&&b.add(d);0<b.size?(a.isLoadingTeams=!0,Lnc(a.teamsService,[].concat(Jc(b))).pipe(qe(a.destroyed$)).subscribe(function(e){if(a.searchResults)for(var g=
k(a.searchResults.issues),h=g.next();!h.done;h=g.next()){h=h.value;var l=String(h.teamId);"0"!==l&&(l=e.get(l))&&(h.team=l.name)}a.isLoadingTeams=!1;a.cdr.detectChanges()})):a.isLoadingTeams=!1}};f=u0.prototype;f.isIssueGridColumn=function(){return!0};f.isLowPriority=function(a){return 2<=Number(a.priority)};f.isHighPriority=function(a){return 2>Number(a.priority)};f.isP0Priority=function(a){return 0===Number(a.priority)};
f.getComponentPath=function(a){return Hg(a)?a.join(" > "):(a=dp(this.currentTracker,a))&&a.componentPathName?a.componentPathName.join(" > "):""};u0.\u0275fac=function(a){return new (a||u0)(D(rp),D(wH,2),D(fd),D(YH),D(te),D(TI),D(lH),D(IH),D(NG),D(yX),D(OG),D(ZF),D(YF),D(rK),D(LK))};
u0.\u0275cmp=zc({type:u0,selectors:[["b-issues-grid"]],viewQuery:function(a,b){a&1&&jf(h0,7);if(a&2){var c;hf(c=lf())&&(b.grid=c.first)}},inputs:{searchResults:"searchResults",focusedRowIndex:"focusedRowIndex",columns:"columns",enableColumnSaving:"enableColumnSaving",sort:"sort"},outputs:{focusedRowIndexChange:"focusedRowIndexChange",columnsChange:"columnsChange",sortChange:"sortChange",rowClick:"rowClick",init:"init",onRowDragDrop:"onRowDragDrop",onNextPage:"onNextPage",onPrevPage:"onPrevPage"},
features:[Xe([wH]),Mc],decls:49,vars:51,consts:[[1,"keep-focus-ring",3,"list","columns","focusedRowIndex","scrollContainer","sort","rowLabelRenderer","columnsChange","focusedRowIndexChange","sortChange","rowClick"],["class","focus-indicator",4,"forHeaderCell"],["class","drag-handle",4,"forHeaderCell"],["class","selected-box",4,"forHeaderCell"],[4,"forHeaderCell"],[4,"forHeaderCellDefault"],["class","focus-indicator",4,"forViewCell"],["class","drag-handle","draggable","true",4,"forViewCell"],["class",
"selected-box",4,"forViewCell"],["class","star-cell",4,"forViewCell"],[4,"forViewCell"],["data-template","issueId","class","clickable",4,"forViewCell"],["class","clickable title-cell",3,"bv2-grid-cell-variable-height",4,"forViewCell"],["class","priority-cell clickable",4,"forViewCell"],["class","severity-cell clickable",4,"forViewCell"],["data-stable-cell","status","class","clickable",4,"forViewCell"],["data-stable-cell","type","class","clickable",4,"forViewCell"],["class","clickable",4,"forViewCell"],
["class","clickable datetime-cell",4,"forViewCell"],["class","componentPath-cell clickable",3,"ngClass",4,"forViewCell"],["class","clickable first-letter-capitalized",4,"forViewCell"],["issueWithHovercard",""],[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"],["tabindex","-1",1,"row-issue-id",3,"href"],[1,"clickable","title-cell"],[1,"bv2-grid-cell-container"],[3,"accessLevel","compactMode"],[3,
"trackerId","compactMode"],[3,"retentionState","showOnlyInDangerZone","compactMode","modifiedTime"],[1,"bv2-grid-cell-text"],[1,"row-issue-title",3,"href"],["class","bv2-hotlist-chips",4,"ngIf"],[1,"bv2-hotlist-chips"],[3,"id","removable",4,"ngFor","ngForOf"],[3,"id","removable"],[1,"priority-cell","clickable"],[1,"bv2-priority",3,"ngClass"],[1,"severity-cell","clickable"],["data-stable-cell","status",1,"clickable"],[3,"ngSwitch","title"],["class","icon-s",3,"svgIcon",4,"ngSwitchCase"],[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","sloSnoozeUntil",4,"ngIf"],[3,"sloId","sloStatus","sloSnoozeUntil"],[3,"sloStatus","sloSnoozeUntil"],
[3,"sloId","sloStatus","sloSnoozeUntil","onlyShowMetric",4,"ngIf"],[3,"sloId","sloStatus","sloSnoozeUntil","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")(1,"pop-grid",0),O("columnsChange",function(c){b.columns=c;b.columnsChange.emit(c);b.cdr.detectChanges()})("focusedRowIndexChange",function(c){b.focusedRowIndex=c;return b.focusedRowIndexChange.emit(b.focusedRowIndex)})("sortChange",function(c){return b.sortChange.emit(c)})("rowClick",function(c){return b.rowClick.emit(c)}),R(2,lab,2,2,"th",1),R(3,nab,2,2,"th",2),R(4,qab,2,2,"th",3),R(5,sab,2,2,"th",4),R(6,uab,2,2,"th",4),R(7,yab,
2,2,"th",5),R(8,Aab,2,1,"td",6),R(9,Cab,2,1,"td",7),R(10,Eab,2,1,"td",8),R(11,Gab,2,1,"td",9),R(12,Iab,2,1,"td",10),R(13,Kab,2,1,"td",11),R(14,Pab,2,3,"td",12),R(15,Sab,2,1,"td",13),R(16,Vab,2,1,"td",14),R(17,abb,2,1,"td",15),R(18,cbb,2,1,"td",16),R(19,gbb,2,1,"td",17),R(20,kbb,2,1,"td",17),R(21,obb,2,1,"td",17),R(22,qbb,2,1,"td",17),R(23,sbb,2,1,"td",17),R(24,ubb,2,1,"td",17),R(25,Abb,2,1,"td",17),R(26,Fbb,2,1,"td",17),R(27,Jbb,2,1,"td",17),R(28,Lbb,2,1,"td",18),R(29,Nbb,2,1,"td",18),R(30,Pbb,2,
1,"td",18),R(31,Rbb,2,1,"td",18),R(32,Tbb,2,1,"td",17),R(33,Vbb,2,1,"td",17),R(34,Xbb,2,1,"td",17),R(35,Zbb,2,1,"td",17),R(36,acb,2,1,"td",17),R(37,dcb,2,5,"td",19),R(38,gcb,2,1,"td",20),R(39,jcb,2,1,"td",20),R(40,mcb,2,1,"td",20),R(41,pcb,2,1,"td",20),R(42,scb,2,1,"td",17),R(43,wcb,2,1,"td",17),R(44,ycb,2,1,"td",17),R(45,Acb,2,1,"td",17),R(46,Ccb,2,1,"td",17),J()(),R(47,Ecb,5,2,"ng-template",null,21,of));a&2&&(C(1),G("list",(null==b.searchResults?null:b.searchResults.issues)||Ye(50,cYc))("columns",
b.columns)("focusedRowIndex",b.focusedRowIndex)("scrollContainer",".bv2-view")("sort",b.sort)("rowLabelRenderer",b.issueDescription),C(1),G("forHeaderCell","focused"),C(1),G("forHeaderCell","draghandle"),C(1),G("forHeaderCell","selected"),C(1),G("forHeaderCell","starred"),C(1),G("forHeaderCell","position"),C(2),G("forViewCell","focused"),C(1),G("forViewCell","draghandle"),C(1),G("forViewCell","selected"),C(1),G("forViewCell","starred"),C(1),G("forViewCell","position"),C(1),G("forViewCell","issueId"),
C(1),G("forViewCell","title"),C(1),G("forViewCell","priority"),C(1),G("forViewCell","severity"),C(1),G("forViewCell","status"),C(1),G("forViewCell","type"),C(1),G("forViewCell","reporter"),C(1),G("forViewCell","assignee"),C(1),G("forViewCell","verifier"),C(1),G("forViewCell","cc"),C(1),G("forViewCell","changelist"),C(1),G("forViewCell","postmortem"),C(1),G("forViewCell","blockingIssueId"),C(1),G("forViewCell","blockedByIssueId"),C(1),G("forViewCell","duplicateOfIssueId"),C(1),G("forViewCell","createdTime"),
C(1),G("forViewCell","modifiedTime"),C(1),G("forViewCell","resolvedTime"),C(1),G("forViewCell","verifiedTime"),C(1),G("forViewCell","foundInVersion"),C(1),G("forViewCell","targetedToVersion"),C(1),G("forViewCell","verifiedInVersion"),C(1),G("forViewCell","inProd"),C(1),G("forViewCell","archived"),C(1),G("forViewCell","componentPath"),C(1),G("forViewCell","minSlo"),C(1),G("forViewCell","responseSlo"),C(1),G("forViewCell","assignmentSlo"),C(1),G("forViewCell","closureSlo"),C(1),G("forViewCell","deletionTime"),
C(1),G("forViewCell","team"),C(1),G("forViewCell","estimate"),C(1),G("forViewCell","estimateTotalOpen"),C(1),G("forViewCell","estimateTotalComplete"))},dependencies:[o0,Ru,Su,Tu,Yu,Uu,Vu,Wu,jz,ay,h0,m0,i0,j0,k0,UT,WT,BK,XT,qK,wU,t0,OK,HO,yU,QJ,RJ,VJ,SJ,PO,IK,n0,CJ,BJ,FJ,EJ],encapsulation:2,changeDetection:0});
var w0=new zn({name:"focused",sortable:!1,draggable:!1,isMetadata:!0}),oYc=new zn({name:"draghandle",sortable:!1,draggable:!1,isMetadata:!0}),x0=new zn({name:"selected",sortable:!1,draggable:!1,isMetadata:!0}),y0=new zn({name:"starred",sortable:!1,draggable:!1,isMetadata:!0}),pYc=new zn({name:"position",sortable:!0,draggable:!1,fullLabel:"Position",label:"POS",isMetadata:!0});var z0=function(a,b,c){kE.call(this);var d=this;this.snackBar=a;this.issuePicker=b;this.issueApi=c;this.issueAddedToHotlist=new tu;this.onCloseIssuePicker=function(e){e=void 0===e?[]:e;if(0!==e.length&&null!=d.id){var g=e.join(", ");d.snackBar.open(1===e.length?"Adding issue "+g+" to this hotlist":"Adding multiple issues to this hotlist: "+g,void 0,{duration:2500});d.issueApi.issueBulkEdit({bulkEditOps:[{actions:[{fieldName:"hotlists",value:d.id,actionType:"ADD"}],issueIds:e}]}).then(d.didSave,d.gotErr)}};
this.didSave=function(){d.issueAddedToHotlist.emit();d.snackBar.open("Successfully added to hotlist",void 0,{duration:2500})};this.gotErr=function(e){var g,h,l,q,v=null!=(q=null!=(l=null==e?void 0:null==(g=e.error)?void 0:g.message)?l:null==e?void 0:null==(h=e.data)?void 0:h.message)?q:"Error adding issues to the hotlist";d.snackBar.open(v,"close",{panelClass:"error"})}};V(z0,kE);z0.\u0275dir=kE.\u0275dir;z0.\u0275fac=function(a){return new (a||z0)(D(TF),D(fP),D(FE))};
z0.\u0275cmp=zc({type:z0,selectors:[["hotlist-add-issue-btn"]],inputs:{id:["hotlistId","id"]},outputs:{issueAddedToHotlist:"issueAddedToHotlist"},features:[xe],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),O("click",function(){b.issuePicker.open({title:"Add Issues to this Hotlist",allowMultipleIds:!0},b.onCloseIssuePicker)}),S(1," Add Issue(s) "),J())},dependencies:[yy,XA],encapsulation:2});var A0=function(a,b,c,d){kE.call(this);var e=this;this.fridge=a;this.snackBar=b;this.dialog=c;this.events=d;this.id$=new F.ReplaySubject(1);this.hotlist$=this.id$.pipe(pe(function(g){return e.fridge.watchOne(g)}),ne({refCount:!0,bufferSize:1}));this.archived$=this.hotlist$.pipe(E(function(g){return!(null==g||!g.archived)}),fe());this.archiveActionLabel$=this.archived$.pipe(E(function(g){return g?"Unarchive":"Archive"}));this.archiveActionTooltip$=this.archived$.pipe(E(function(g){return g?"Unarchive this hotlist":
"Archive this hotlist, hiding it from most searches"}));this.didSave=function(g){return function(){e.snackBar.open(g?"Hotlist was archived":"Hotlist was unarchived",void 0,{duration:2500});e.events.hotlistChanged.next()}};this.gotErr=function(g){return function(h){var l=g?"archiving":"unarchiving";e.snackBar.open(Ck(h)||"Error "+l+" the hotlist","close",{panelClass:"error"})}};this.hotlist$.pipe(qe(this.destroyed$)).subscribe(function(g){e.latestHotlist=g})};V(A0,kE);A0.\u0275dir=kE.\u0275dir;
A0.prototype.isThinking=function(a){return this.fridge.isThinking(a)};A0.prototype.ngOnChanges=function(a){(a=a.id)&&this.id$.next(a.currentValue)};var rYc=function(a){if(null!=a.latestHotlist){var b=!a.latestHotlist.archived;b?a.dialog.open({title:"Archive Hotlist",content:yl("Do you want to archive this hotlist?"),isDestructive:!0,onConfirm:function(){qYc(a,b)}}):qYc(a,b)}},qYc=function(a,b){a.fridge.save(Object.assign({},a.latestHotlist,{archived:b})).subscribe({next:a.didSave(b),error:a.gotErr(b)})};
A0.\u0275fac=function(a){return new (a||A0)(D(lH),D(TF),D(OI),D(cG))};
A0.\u0275cmp=zc({type:A0,selectors:[["hotlist-archive-btn"]],inputs:{id:["hotlistId","id"]},features:[xe,Mc],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),O("click",function(){return rYc(b)}),T(1,"async"),S(2),T(3,"async"),J());if(a&2){var c;G("disabled",b.isThinking(b.id))("matTooltip",null!==(c=U(1,3,b.archiveActionTooltip$))&&void 0!==c?c:"");C(2);Te(" ",U(3,5,b.archiveActionLabel$)," ")}},dependencies:[yy,
XA,Zu],encapsulation:2});var B0=function(a,b,c,d,e,g,h,l,q,v,y,B,I,N,Q){M_.call(this,a,b,c,d,e,g,h,l,q,v,y,N,Q);this.estadoService=B;this.refreshMonitor=I;this.init=new tu;this.onRefresh=new tu;this.isHotlistAdmin=!1;this.onExportCsv=new tu;this.showHotlistButtons=!1;this.isNonPublicSession=this.activeSession.isNonPublicSession();a=this.estadoService;this.enableEstadoInAppBar=a.enableEstado&&!a.currentTracker.inTracker;this.enableBulkEditUi=iE(this.activeSession,"enableBulkEditUi");this.controllerName="gridControls"};
V(B0,M_);B0.\u0275dir=M_.\u0275dir;f=B0.prototype;f.ngOnInit=function(){this.init.emit(this)};f.ngOnChanges=function(a){var b=this;a.grid&&this.grid&&lYc(this.grid,function(){b.onSelectionChange()})};f.getSelectedIssues=function(){var a,b;return null!=(b=null==(a=this.grid)?void 0:a.getSelectedIssues())?b:[]};f.refresh=function(){this.refreshMonitor.refreshRequest.next();this.onRefresh.emit()};f.openInEstado=function(){this.estadoService.openInEstado()};
var sYc=function(a){return a.hasSelectedIssues()&&a.isNonPublicSession};B0.\u0275fac=function(a){return new (a||B0)(D(xF),D(wH,2),D(rp),D(AH),D(bM),D($I),D(mV),D(PI),D(rZ),D(Ly),D(YF),D(g0),D(GH),D(fP),D(TI))};
B0.\u0275cmp=zc({type:B0,selectors:[["b-grid-controls"]],inputs:{grid:"grid",isHotlistAdmin:"isHotlistAdmin",currentHotlistId:"currentHotlistId",showHotlistButtons:"showHotlistButtons"},outputs:{init:"init",onRefresh:"onRefresh",onExportCsv:"onExportCsv"},features:[Xe([wH]),xe,Mc],decls:11,vars:8,consts:[["size","large","format","icon","tooltip","Refresh","bAriaLabel","Refresh",1,"refresh-button",3,"onAction"],["name","refresh","size","large"],[3,"enableBulkEstimatedEffortOption","readStatePrompt",
"onBulkEdit","onQuickBulkEdit","onBulkEditIssueRelation","onBulkMarkIssueRead",4,"ngIf"],[3,"shortLinkPrefix","shouldShowCopyIssueShortLinks","onClickCopyIssueIds","onClickCopyIssueShortLinks","onClickCopyAsIssueSearch",4,"ngIf"],["class","bv2-grid-hotlist-picker",4,"ngIf"],[4,"ngIf"],["class","compact","tooltip","Reporting","aria-label","Reporting",3,"size","format","onAction",4,"ngIf"],[1,"bv2-appbar-menu",3,"showExportCsv","showFlagIssuesAsSpam","exportCsvClicked","flagAsSpamClicked"],[3,"externalWarnings",
"save","close"],["addCommentDialog",""],[3,"enableBulkEstimatedEffortOption","readStatePrompt","onBulkEdit","onQuickBulkEdit","onBulkEditIssueRelation","onBulkMarkIssueRead"],[3,"shortLinkPrefix","shouldShowCopyIssueShortLinks","onClickCopyIssueIds","onClickCopyIssueShortLinks","onClickCopyAsIssueSearch"],[1,"bv2-grid-hotlist-picker"],[3,"selectedHotlistIds","choices","onApply","onCreate","onLoad"],[3,"hotlistId","issueAddedToHotlist",4,"ngIf"],[3,"hotlistId",4,"ngIf"],[3,"hotlistId","issueAddedToHotlist"],
[3,"hotlistId"],["tooltip","Reporting","aria-label","Reporting",1,"compact",3,"size","format","onAction"],["name","bar-chart","size","large"],["class","bv2-estado-text",4,"ngIf"],[1,"bv2-estado-text"],["mat-dialog-title",""],[3,"comment","showToolbar","commentChange","onSubmit",4,"ngIf"],["class","bv2-external-component-modal-warning",4,"ngIf"],["class","flex-kids-x justify-flex-end",4,"ngIf"],["mat-button","",1,"gmat-button","medium",3,"mat-dialog-close"],["mat-flat-button","","cdkFocusInitial",
"",1,"gmat-button","medium","primary",3,"disabled","mat-dialog-close"],[3,"comment","showToolbar","commentChange","onSubmit"],[1,"bv2-external-component-modal-warning"],[4,"ngFor","ngForOf"],[3,"accessLevel"],[1,"flex-kids-x","justify-flex-end"],[3,"onUpdate"]],template:function(a,b){a&1&&(H(0,"b-button",0),O("onAction",function(){return b.refresh()}),K(1,"b-icon",1),J(),R(2,Fcb,2,4,"b-app-bar-bulk-edit-menus",2),R(3,Gcb,1,2,"b-copy-issue-id-button",3),R(4,Hcb,2,2,"div",4),R(5,Kcb,3,2,"ng-container",
5),R(6,Mcb,3,3,"b-button",6),H(7,"b-app-bar-more-menu",7),O("exportCsvClicked",function(){return b.onExportCsv.emit()})("flagAsSpamClicked",function(){return jXc(b)}),J(),H(8,"b-state-modal",8),O("save",function(){return hXc(b)})("close",function(){return b.hotkeys.unpause()}),J(),R(9,Rcb,11,6,"ng-template",null,9,of));a&2&&(C(2),G("ngIf",b.hasSelectedIssues()),C(1),G("ngIf",b.hasSelectedIssues()),C(1),G("ngIf",b.enableBulkEditUi&&b.hasSelectedIssues()),C(1),G("ngIf",b.showHotlistButtons&&!b.hasSelectedIssues()),
C(1),G("ngIf",b.enableEstadoInAppBar),C(1),G("showExportCsv",b.isNonPublicSession)("showFlagIssuesAsSpam",sYc(b)),C(1),G("externalWarnings",b.externalWarnings))},dependencies:[lX,kX,qP,C_,Su,Tu,yy,HO,oZ,A0,z0,K_,$M,My,Ny,Oy,Py,D_,eT,Zu],styles:["[_nghost-%COMP%] { display: flex; align-items: center; }"]});var tYc=["multiUserInput"],C0=function(a,b,c,d,e,g){kE.call(this);var h=this;this.element=a;this.accessPolicyConverter=b;this.principalTypes=c;this.activeSession=d;this.documentationLinks=e;this.appEvents=g;this.usersChange=new tu(!0);this.includeViewAliases=this.includeAliases=!1;this.maxUserAllowed=-1;this.customValidators={};this.detailedUserValidators={};this.ariaLabel="";this.isValid=new tu;this.typedText="";this.items=[];this.chipifyFn=function(){uYc(h)};this.additionalContactsFn=function(){return vYc(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=""}))};V(C0,kE);C0.\u0275dir=kE.\u0275dir;
C0.prototype.ngOnInit=function(){var a=this;this.validators=Object.assign({},{validateGaia:function(b,c){return wYc(c)},validateInternalAccessLevel:function(b,c){return xYc(a,c)},validateExternalAccessLevel:function(b,c){return yYc(a,c)}},this.customValidators)};C0.prototype.ngOnChanges=function(a){if(a.users||a.containerChips)this.items=zYc(this,this.users),D0(this)};
var D0=function(a){var b=[].concat(Jc(a.items)),c=AYc(b),d=BYc(b);b=a.validate(c,d,b);a.isValid.emit(b);a.users&&Fg(a.users,c)||(a.users=c,b&&a.usersChange.emit(c))};
C0.prototype.validate=function(a,b,c){for(var d=new Set,e=k(Object.entries(this.validators)),g=e.next();!g.done;g=e.next()){var h=k(g.value);g=h.next().value;h=h.next().value;h(a,c)||d.add(g)}a=k(Object.entries(this.detailedUserValidators));for(c=a.next();!c.done;c=a.next())e=k(c.value),c=e.next().value,e=e.next().value,e(b)||d.add(c);this.violations=d;return 0===this.violations.size};
var Ucb=function(a){!a.isWidgetDisabled()&&CYc(a)&&(a.isFocused=!0,a.textInputElement.nativeElement.focus())},Scb=function(a){Cn(a,a.selectedChipIndex)&&(a.items[a.selectedChipIndex].isSelected=!1);a.selectedChipIndex=-1};C0.prototype.isWidgetDisabled=function(){return this.$element.classList.contains("disabled")||!!this.$element.hasAttribute("disabled")};var CYc=function(a){var b,c;return 0>a.maxUserAllowed||(null!=(c=null==(b=a.users)?void 0:b.length)?c:0)<a.maxUserAllowed};
C0.prototype.removeItem=function(a){this.isWidgetDisabled()||!Cn(this,a)||this.items[a].isReadonly||(Scb(this),this.items.splice(a,1),D0(this))};C0.prototype.setAccessLevel=function(a){this.accessLevel=a};
var vYc=function(a){return DYc(a).map(function(b){return{text:Csa(b),id:a.accessPolicyConverter.accessPolicyPrincipalToString({alias:b})}})},DYc=function(a){if(!a.includeAliases||Ihc(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},uYc=function(a){setTimeout(function(){a.typedText&&ha(a.typedText,",")&&Vcb(a,a.typedText.split(",")[0].trim())})},Vcb=function(a,
b){b&&(b=FEc.test(b)?EYc(a,b):FYc(a,b),a.items.push(b));a.typedText="";D0(a)},Cn=function(a,b){return 0<=b&&b<a.items.length},EYc=function(a,b){var c=void 0===c?!1:c;var d=Rsa(b);if(void 0===d.alias)throw Error("Ad`"+b);b=d.alias;d=Csa(b);return new E0("ALIAS",b,d,null,c,a)},GYc=function(a,b){b=Dl(b);var c=new E0("GROUP",b,b,null,!1,a);kJ(a.principalTypes,b,!0).then(function(d){c.detailedUserType=d.detailedUserType;D0(a)});return c},HYc=function(a,b){var c=void 0===c?!1:c;b=Dl(b);var d=new E0("USER",
b,b,null,c,a);kJ(a.principalTypes,b,!0).then(function(e){d.detailedUserType=e.detailedUserType;D0(a)});return d},FYc=function(a,b){var c=void 0===c?!1:c;b=Dl(b);var d=new E0("PRINCIPAL_TYPE_UNSPECIFIED",b,b,null,c,a);kJ(a.principalTypes,b,!0).then(function(e){d.principalType=e.principalType;d.detailedUserType=e.detailedUserType;D0(a)});return d},IYc=function(a,b,c){return new E0("PRINCIPAL_TYPE_UNSPECIFIED","",b,c,!0,a)};C0.prototype.getAccessLevel=function(){return this.accessLevel};
C0.prototype.getAppName=function(){return this.activeSession.getAppName()};C0.prototype.onKeyDown=function(a){8===a.keyCode?Cn(this,this.selectedChipIndex)?(Cn(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?Cn(this,this.selectedChipIndex)&&Cn(this,this.selectedChipIndex)&&this.removeItem(this.selectedChipIndex):Ucb(this)};
var zYc=function(a,b){b=(b||[]).map(function(d){return JYc(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 IYc(a,d.displayText,d.values.map(function(e){return JYc(a,e)}))});return[].concat(Jc(c),Jc(b))}return b},JYc=function(a,b){var c=b.split(":");if(2!==c.length)throw Error("le`"+b);var d=c[0];if("USER"!==d&&"GROUP"!==d&&"ALIAS"!==d)throw Error("le`"+b);return"ALIAS"===d?EYc(a,b):
"USER"===d?HYc(a,c[1]):GYc(a,c[1])},AYc=function(a){return(a||[]).filter(function(b){return"PRINCIPAL_TYPE_UNSPECIFIED"!==b.principalType}).map(function(b){return b.principalType+":"+b.value})},BYc=function(a){return(a||[]).filter(function(b){return"NO_DETAILED_TYPE"!==b.detailedUserType}).map(function(b){return b.detailedUserType+":"+b.value})},wYc=function(a){return!a.some(function(b){return b.isNonGaiaChip()})},xYc=function(a,b){return"INTERNAL"!==a.accessLevel?!0:!b.some(function(c){return c.isInternalAccessViolated()})},
yYc=function(a,b){return"EXTERNAL_PARTNER"!==a.accessLevel?!0:!b.some(function(c){return c.isExternalPartnerAccessViolated()})};C0.\u0275fac=function(a){return new (a||C0)(D(fd),D(NR),D(jJ),D(rp),D(NI),D(cG))};
C0.\u0275cmp=zc({type:C0,selectors:[["b-multi-user-input"]],viewQuery:function(a,b){a&1&&jf(tYc,5);if(a&2){var c;hf(c=lf())&&(b.textInputElement=c.first)}},hostBindings:function(a,b){a&1&&O("keydown",function(c){return b.onKeyDown(c)})},inputs:{users:"users",containerChips:"containerChips",accessLevel:"accessLevel",includeAliases:"includeAliases",idForInputBox:"idForInputBox",includeViewAliases:"includeViewAliases",maxUserAllowed:"maxUserAllowed",customValidators:"customValidators",detailedUserValidators:"detailedUserValidators",
ariaLabel:"ariaLabel"},outputs:{usersChange:"usersChange",isValid:"isValid"},features:[xe,Mc],decls:11,vars:10,consts:[[1,"bv2-multi-user-input",3,"click"],["class","bv2-user-chip",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"],[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),O("click",function(){return Ucb(b)}),H(1,"div"),R(2,
Tcb,2,9,"div",1),R(3,Wcb,2,5,"input",2),J()(),H(4,"div",3),R(5,Xcb,4,1,"span",4),R(6,Ycb,2,0,"span",4),R(7,Zcb,2,0,"span",4),R(8,$cb,2,0,"span",4),R(9,adb,2,0,"span",4),R(10,bdb,2,0,"span",4),J());a&2&&(Ie("focused",b.isFocused),C(2),G("ngForOf",b.items),C(1),G("ngIf",CYc(b)),C(2),G("ngIf",b.violations.has("noRestrictedPlusGroups")),C(1),G("ngIf",b.violations.has("validateGaia")),C(1),G("ngIf",b.violations.has("validateInternalAccessLevel")),C(1),G("ngIf",b.violations.has("validateExternalAccessLevel")),
C(1),G("ngIf",b.violations.has("sloLeadNotUser")),C(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}\n/*# sourceMappingURL=multi_user_input.css.map */"]});
var E0=function(a,b,c,d,e,g){this.principalType=a;this.detailedUserType="NO_DETAILED_TYPE";this.value=b;this.displayText=c;this.nestedChips=d;this.isSelected=!1;this.isReadonly=e;this.parentController=g};f=E0.prototype;
f.getTooltip=function(){if("ALIAS"!==this.principalType)return"";switch(this.value){case "googlers_unrestricted":return"Full time employees and other users with access to view most "+this.parentController.getAppName()+" issues.";case "google_domain":return"All users associated with the google.com domain.";case "public_non_google":return"All logged in users, excluding the google.com domain.";case "public":return"All logged in users.";default:throw Error("me`"+this.value);}};
f.isGroupChip=function(){return"GROUP"===this.principalType};f.isPublicChip=function(){return"ALIAS"===this.principalType&&["public_non_google","public"].includes(this.value)};f.isDomainChip=function(){return"ALIAS"===this.principalType&&["googlers_unrestricted","google_domain"].includes(this.value)};f.isExternalChip=function(){return"EXTERNAL"===this.detailedUserType||"PUBLIC"===this.detailedUserType||this.isPublicChip()};f.isNonGaiaChip=function(){return"NON_GAIA"===this.principalType};
f.isContainerChip=function(){return null!==this.nestedChips};f.isInternalAccessViolated=function(){return"INTERNAL"===this.parentController.getAccessLevel()&&(this.isExternalChip()||this.isPublicChip())};f.isExternalPartnerAccessViolated=function(){return"EXTERNAL_PARTNER"===this.parentController.getAccessLevel()&&this.isPublicChip()};f.isUserChip=function(){return"USER"===this.principalType};var KYc=function(a){return{displayText:"Admins",values:a}},LYc=function(a){return[a]},MYc=function(a){return{displayText:"Appenders",values:a}},NYc=yl("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?"),F0=function(a,b,c,d,e,g,h,l,q){kE.call(this);var v=this;this.hotlistAccessPolicyFridge=a;this.links=b;this.snackBar=
c;this.events=d;this.dialog=g;this.permissions=h;this.userApi=l;this.activeSession=q;this.id$=new F.ReplaySubject(1);this.idSubject$=nl(this.id$.pipe(qe(this.destroyed$)));this.acl$=this.id$.pipe(pe(function(y){return v.hotlistAccessPolicyFridge.watchOne(y)}));this.latestCompactPolicy={};this.admins=[];this.appenders=[];this.readers=[];this.accessControlLink=lpc(this.links);this.validity={};this.isValid=function(){return Object.values(v.validity).every(Boolean)};this.isInvalid=function(){return!v.isValid()};
this.allAppenders=[];this.onPressSave=function(){v.isRevokingAdmin()?v.dialog.open({title:"Change Hotlist Admins",content:NYc,isDestructive:!0,onConfirm:v.doSave}):v.doSave()};this.doSave=function(){var y=v.idSubject$.value;if(null!=y){var B=v.isRevokingAdmin();y={id:y,admins:Ssa(v.admins),appenders:Ssa(v.appenders),editors:null,readers:Ssa(v.readers),implicitAccess:null,restrictedReaders:null,restrictedPlusReaders:null,inheritedAdmins:null,implicitAppenders:null,implicitEditors:null,implicitReaders:null};
v.hotlistAccessPolicyFridge.save(y).subscribe({next:v.didSave(B,y.id),error:v.gotErr})}};this.didSave=function(y,B){return function(){v.snackBar.open("Access control saved",void 0,{duration:2500});v.events.hotlistChanged.next();v.permissions.poke(B);y&&v.doStar()}};this.gotErr=function(y){v.snackBar.open(Ck(y)||"Error saving the hotlist access policy","close",{panelClass:"error"})};this.doStar=function(){var y=v.idSubject$.value;if(y){var B=v.activeSession.getUserEmail();v.userApi.saveFavorite({resourceType:"HOTLIST",
resourceId:y,userLogin:B}).then(function(){v.events.hotlistChanged.next()})}};this.onPressRevert=function(){v.resetEdits()};this.gotAcl=function(y){v.latestPolicy=y;var B,I,N;v.latestCompactPolicy={admins:ih(null==(B=v.latestPolicy)?void 0:B.admins),appenders:ih(null==(I=v.latestPolicy)?void 0:I.appenders),readers:ih(null==(N=v.latestPolicy)?void 0:N.readers)};v.resetEdits()};this.isChanged=function(){var y=v.latestCompactPolicy,B;if(!Fg(null!=(B=y.admins)?B:[],v.admins))return!0;var I;if(!Fg(null!=
(I=y.appenders)?I:[],v.appenders))return!0;var N;return Fg(null!=(N=y.readers)?N:[],v.readers)?!1:!0};this.hasNoChanges=function(){return!v.isChanged()};this.acl$.pipe(qe(this.destroyed$)).subscribe(this.gotAcl);this.subscriptions.add(tP(e,this.isChanged,!1))};V(F0,kE);F0.\u0275dir=kE.\u0275dir;var OYc=function(a){return[].concat(Jc(new Set([].concat(Jc(a.admins),Jc(a.appenders)))))};F0.prototype.ngOnChanges=function(a){(a=a.hotlistId)&&this.id$.next(a.currentValue)};
F0.prototype.resetEdits=function(){var a;this.admins=[].concat(Jc(null!=(a=this.latestCompactPolicy.admins)?a:[]));var b;this.appenders=[].concat(Jc(null!=(b=this.latestCompactPolicy.appenders)?b:[]));var c;this.readers=[].concat(Jc(null!=(c=this.latestCompactPolicy.readers)?c:[]));this.allAppenders=OYc(this)};F0.prototype.isRevokingAdmin=function(){var a=this.admins,b,c=null!=(b=this.latestCompactPolicy.admins)?b:[];b=this.activeSession.getUserEmail();return this.isRevokingDirectAdmin(a,c,b)};
F0.prototype.isRevokingDirectAdmin=function(a,b,c){c=void 0===c?"":c;if(Pwa(a,b))return!1;c="USER:"+c;b=b.includes(c);a=!a.includes(c);return b&&a};F0.\u0275fac=function(a){return new (a||F0)(D(qG),D(NI),D(TF),D(cG),D(sP),D(OI),D(QH),D(hH),D(rp))};
F0.\u0275cmp=zc({type:F0,selectors:[["b-edit-hotlist-acl"]],inputs:{hotlistId:"hotlistId",isReadOnly:"isReadOnly"},features:[xe,Mc],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"),S(2,"Admins"),J(),H(3,"p",1),S(4,"Edit access controls, edit name and description, reorder hotlist, add/remove issues"),J(),H(5,"b-multi-user-input",2),O("usersChange",function(c){b.admins=c;b.allAppenders=OYc(b)})("isValid",
function(c){return b.validity.admins=c}),J(),H(6,"label"),S(7,"View and append"),J(),H(8,"p",1),S(9,"Reorder hotlist, add/remove issues"),J(),H(10,"b-multi-user-input",3),O("usersChange",function(c){b.appenders=c;b.allAppenders=OYc(b)})("isValid",function(c){return b.validity.appenders=c}),J(),H(11,"label"),S(12,"View only"),J(),H(13,"p",1),S(14,"View the hotlist"),J(),H(15,"b-multi-user-input",4),O("usersChange",function(c){b.readers=c})("isValid",function(c){return b.validity.readers=c}),J()(),
H(16,"p"),S(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),S(19,"access control documentation"),J(),S(20," for an explanation of the settings.\n"),J(),R(21,cdb,5,4,"div",6));a&2&&(C(5),Ie("disabled",b.isReadOnly),G("users",b.admins),C(5),Ie("disabled",b.isReadOnly),G("users",b.appenders)("includeAliases",!0)("containerChips",Ze(18,LYc,Ze(16,KYc,b.admins))),C(5),Ie("disabled",b.isReadOnly),G("users",b.readers)("includeAliases",
!0)("includeViewAliases",!0)("containerChips",Ze(22,LYc,Ze(20,MYc,b.allAppenders))),C(3),G("href",b.accessControlLink,vd),C(3),G("ngIf",!b.isReadOnly))},dependencies:[Tu,yy,Av,uv,xv,XA,C0],styles:["[_nghost-%COMP%] {\n      display: block;\n      max-width: 600px;\n      padding: 16px; \n    }\n    label[_ngcontent-%COMP%] {\n      font-weight: bold;\n      line-height: 2em;\n    }"]});var PYc=["hotlistName"],G0=function(a,b,c,d){kE.call(this);var e=this;this.fridge=a;this.snackBar=b;this.events=c;this.isReadOnly=!1;this.id$=new F.ReplaySubject(1);this.hotlist$=this.id$.pipe(pe(function(g){return e.fridge.watchOne(g)}));this.isArchived=!1;this.localEdits={};this.gotHotlist=function(g){e.latestHotlist=g;var h;e.isArchived=null!=(h=null==g?void 0:g.archived)?h:!1;e.resetEdits(g)};this.gotErr=function(g){e.snackBar.open(Ck(g)||"Error saving the hotlist","close",{panelClass:"error"})};
this.didSave=function(){e.snackBar.open("Hotlist saved",void 0,{duration:2500});e.events.hotlistChanged.next()};this.isChanged=function(){var g,h=null!=(g=e.latestHotlist)?g:{};return!Fg(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(qe(this.destroyed$)).subscribe(function(g){e.gotHotlist(g)});this.subscriptions.add(tP(d,
this.isChanged,!1))};V(G0,kE);G0.\u0275dir=kE.\u0275dir;G0.prototype.ngAfterViewInit=function(){var a=this;setTimeout(function(){var b;null==(b=a.hotlistName)||b.nativeElement.focus()})};G0.prototype.ngOnChanges=function(a){(a=a.hotlistId)&&this.id$.next(a.currentValue)};G0.prototype.resetEdits=function(a){var b;this.localEdits=null!=(b=Gg(a))?b:{}};G0.\u0275fac=function(a){return new (a||G0)(D(lH),D(TF),D(cG),D(sP))};
G0.\u0275cmp=zc({type:G0,selectors:[["b-edit-hotlist-basic"]],viewQuery:function(a,b){a&1&&jf(PYc,5);if(a&2){var c;hf(c=lf())&&(b.hotlistName=c.first)}},inputs:{hotlistId:"hotlistId",isReadOnly:"isReadOnly"},features:[xe,Mc],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),S(2,"Name"),J(),H(3,"input",
2,3),O("ngModelChange",function(c){return b.localEdits.name=c}),J(),H(5,"label",4),S(6,"Description"),J(),H(7,"textarea",5),O("ngModelChange",function(c){return b.localEdits.description=c}),S(8,"  "),J(),R(9,ddb,7,7,"div",6),J());a&2&&(C(3),G("disabled",b.isReadOnly||b.isArchived)("ngModel",b.localEdits.name),C(4),G("disabled",b.isReadOnly||b.isArchived)("ngModel",b.localEdits.description),C(2),G("ngIf",!b.isReadOnly))},dependencies:[Tu,yy,Av,Af,tv,uv,Mv,zv,xv,XA,A0,Zu],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)}\n/*# sourceMappingURL=edit_hotlist_basic.css.map */"]});var H0=function(a,b){kE.call(this);var c=this;this.hotlists=a;this.acls=b;this.id$=new F.ReplaySubject(1);this.hotlist$=this.id$.pipe(pe(function(d){return c.hotlists.watchOne(d)}))};V(H0,kE);H0.\u0275dir=kE.\u0275dir;H0.prototype.isThinking=function(a){var b=a?"hotlists/"+a:void 0;return this.hotlists.isThinking(a)||this.acls.isThinking(b)};H0.prototype.ngOnChanges=function(a){(a=a.id)&&this.id$.next(a.currentValue)};H0.\u0275fac=function(a){return new (a||H0)(D(lH),D(qG))};
H0.\u0275cmp=zc({type:H0,selectors:[["b-edit-hotlist-header"]],inputs:{id:["hotlistId","id"]},features:[xe,Mc],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),S(3),J(),R(4,edb,2,1,"ng-container",2),T(5,"async"),J(),R(6,fdb,2,0,"strong",3),T(7,"async"),R(8,gdb,1,0,"b-spinner",2),J());if(a&2){var c;C(3);Te(" Hotlist ",b.id,
": ");C(1);G("ngIf",U(5,4,b.hotlist$));C(2);G("ngIf",null==(c=U(7,6,b.hotlist$))?null:c.archived);C(2);G("ngIf",b.isThinking(b.id))}},dependencies:[Tu,SL,Zu],styles:["[_nghost-%COMP%] {\n      display: block;\n    }"]});var I0=function(a){kE.call(this);this.activeSession=a;this.URLS=jp;this.id$=new F.ReplaySubject(1);this.enableBulkEditUi=iE(this.activeSession,"enableBulkEditUi")};V(I0,kE);I0.\u0275dir=kE.\u0275dir;I0.prototype.ngOnChanges=function(a){(a=a.id)&&this.id$.next(a.currentValue)};I0.prototype.onPressBack=function(){var a;null==(a=window.history)||a.back()};I0.\u0275fac=function(a){return new (a||I0)(D(rp))};
I0.\u0275cmp=zc({type:I0,selectors:[["b-edit-hotlist-toolbar"]],inputs:{id:["hotlistId","id"]},features:[xe,Mc],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),O("onAction",function(){return b.onPressBack()}),K(2,"b-icon",2),J(),H(3,"a",3),S(4," View Issues "),J(),R(5,hdb,2,3,"hotlist-add-issue-btn",4),J());a&2&&(C(3),G("href",b.URLS.HOTLIST_VIEW(b.id),vd),C(2),G("ngIf",b.enableBulkEditUi))},dependencies:[Tu,zy,XA,qP,$M,z0,Zu],styles:[".button-bar[_ngcontent-%COMP%] {\n      display: flex;\n      align-items: center;\n      height: 46px;\n      box-sizing: border-box;\n    }"]});var QYc={403:"You do not have permission to view this Hotlist.",404:"This Hotlist does not exist."},J0=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(E(function(e){return null==e?void 0:e.admin}));this.hotlistErrorMsg$=this.hotlists.error$.pipe(E(function(e){var g;return null!=(g=e.status)?g:-1}),E(function(e){var g;return null!=
(g=QYc[e])?g:"unknown error"}),oe(void 0));this.tabIndex=0};J0.prototype.ngOnInit=function(){this.pageTitle.setTitle("Edit Hotlist "+this.id);window.location.hash.includes("access")&&(this.tabIndex=1)};J0.\u0275fac=function(a){return new (a||J0)(D(qJ),D(SW),D(QH),D(lH))};
J0.\u0275cmp=zc({type:J0,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&&(R(0,jdb,13,14,"ng-container",0),T(1,"async"),R(2,kdb,7,1,"ng-container",0),T(3,"async"));a&2&&(G("ngIf",void 0===U(1,2,b.hotlistErrorMsg$)),C(2),G("ngIf",U(3,
4,b.hotlistErrorMsg$)))},dependencies:[Tu,NM,MM,SM,vO,F0,G0,H0,I0,Zu],encapsulation:2});var K0=function(){};K0.\u0275fac=function(a){return new (a||K0)};K0.\u0275cmp=zc({type:K0,selectors:[["b-error-banner"]],inputs:{error:"error"},decls:1,vars:1,consts:[["messageType","error",4,"ngIf"],["messageType","error"]],template:function(a,b){a&1&&R(0,ldb,3,1,"b-callout",0);a&2&&G("ngIf",b.error)},dependencies:[Tu,rX,sX],encapsulation:2});var L0=function(){};L0.\u0275fac=function(a){return new (a||L0)};L0.\u0275mod=Bc({type:L0});L0.\u0275inj=oc({imports:[MF,CX]});var M0=function(a){this.activeSession=a;this.sessionIsExternal=a.isExternalSession()};M0.prototype.shouldShowLinks=function(){return!this.sessionIsExternal&&!!xl(this.email)};M0.prototype.getName=function(){return void 0===this.email?"":this.email.split("@")[0]};M0.\u0275fac=function(a){return new (a||M0)(D(rp))};
M0.\u0275cmp=zc({type:M0,selectors:[["b-group-email-card"]],inputs:{email:"email"},ngContentSelectors:["*"],decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["content",""],[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&&(Ne(),R(0,rdb,17,5,"ng-container",0),R(1,sdb,1,0,"ng-template",null,1,of));if(a&2){var c=Se(2);G("ngIf",!!xl(b.email))("ngIfElse",c)}},dependencies:[Tu,Yu,jz,QJ,VJ],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}\n/*# sourceMappingURL=group_email_card.css.map */"]});
var N0=function(){};N0.\u0275fac=function(a){return new (a||N0)};N0.\u0275mod=Bc({type:N0});N0.\u0275inj=oc({imports:[MF,YA,cN]});var hma=function(a,b,c,d,e,g){return{"bv2-user-chip-external":a,"bv2-user-chip-non-gaia":b,"bv2-user-chip-not-accessible":c,"bv2-user-chip-container":d,selected:e,readonly:g}},O0=function(a){kE.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 tu;this.chipClear=new tu;this.chipRemove=new tu};V(O0,kE);
O0.\u0275dir=kE.\u0275dir;f=O0.prototype;f.isPublicChip=function(){return"ALIAS"===this.principalType&&["public_non_google","public"].includes(this.value)};f.isNonGaiaChip=function(){return"NON_GAIA"===this.principalType};f.isContainerChip=function(){return null!==this.nestedChips};f.isUserChip=function(){return"USER"===this.principalType};f.isGroupChip=function(){return"GROUP"===this.principalType};f.isDomainChip=function(){return"ALIAS"===this.principalType&&["googlers_unrestricted","google_domain"].includes(this.value)};
f.isExternalChip=function(){return"EXTERNAL"===this.detailedUserType||"PUBLIC"===this.detailedUserType||this.isPublicChip()};f.isExternalPartnerAccessViolated=function(){return"EXTERNAL_PARTNER"===this.accessLevel&&this.isPublicChip()};f.isInternalAccessViolated=function(){return"INTERNAL"===this.accessLevel&&(this.isExternalChip()||this.isPublicChip())};
f.getTooltip=function(){if("ALIAS"!==this.principalType)return"";switch(this.value){case "googlers_unrestricted":return"Full time employees and other users with access to view most "+this.activeSession.getAppName()+" issues.";case "google_domain":return"All users associated with the google.com domain.";case "public_non_google":return"All logged in users, excluding the google.com domain.";case "public":return"All logged in users.";default:throw Error("me`"+this.value);}};
var RYc=function(a){if(a.isGroupChip())return"group";if(a.isDomainChip())return"acl-alias-domain";if(a.isPublicChip())return"public"};O0.\u0275fac=function(a){return new (a||O0)(D(rp))};
O0.\u0275cmp=zc({type:O0,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:[xe],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","-1","class","user-chip-x",3,"matTooltip","click",4,"ngIf"],["class","bv2-user-chip-nested-content-container",4,"ngIf"],[3,"svgIcon"],[3,"email"],["role","button","tabindex","-1",1,"user-chip-x",3,"matTooltip","click"],["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),O("focus",function(){return b.chipSelection.emit()})("blur",function(){return b.chipClear.emit()}),H(1,"span",1),R(2,tdb,1,1,"mat-icon",2),J(),H(3,"div",3),R(4,udb,2,2,"b-person-hovercard",4),R(5,vdb,2,2,"b-group-email-card",4),R(6,wdb,2,1,"div",5),J(),R(7,xdb,2,2,"div",6),R(8,
zdb,7,1,"div",7),J());a&2&&(G("ngClass",ima(b.isExternalChip(),b.isNonGaiaChip(),b.isInternalAccessViolated()||b.isExternalPartnerAccessViolated(),b.isContainerChip(),b.isSelected,b.isReadonly))("matTooltip",b.getTooltip()),C(2),G("ngIf",RYc(b)),C(2),G("ngIf",b.isUserChip()),C(1),G("ngIf",b.isGroupChip()),C(1),G("ngIf",!b.isUserChip()&&!b.isGroupChip()),C(1),G("ngIf",!b.isReadonly&&!b.isWidgetDisabled),C(1),G("ngIf",b.isContainerChip()))},dependencies:[Ru,Su,Tu,jz,XA,qK,M0,O0],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}\n/*# sourceMappingURL=contact_chip.css.map */"]});var P0=function(){};P0.\u0275fac=function(a){return new (a||P0)};P0.\u0275mod=Bc({type:P0});P0.\u0275inj=oc({imports:[MF,Qv,zC,YA,lN,N0,HJ,aT,tZ]});lfa(C0,[Su,Tu,Af,tv,zv,$S,sZ,O0]);var Q0=function(){};Q0.\u0275fac=function(a){return new (a||Q0)};Q0.\u0275mod=Bc({type:Q0});Q0.\u0275inj=oc({providers:[{provide:pvc,useValue:{enabled:!0}}],imports:[MF,Qv,WB,YA,zC,RM,HT,SF,zN,vN,yN,L0,P0,yO]});var R0=function(){};R0.\u0275fac=function(a){return new (a||R0)};R0.\u0275mod=Bc({type:R0});R0.\u0275inj=oc({imports:[nX,HT,U_,MF,MO,qZ,Q0,X_,vN,WB,Qy,zC,W_,V_]});var S0=function(a,b,c,d,e){kE.call(this);this.element=a;this.bLocation=b;this.paths=c;this.hotkeys=d;this.cdr=e;this.focusedIndex=0;this.convertUserToString=Ug;this.hotlists=[];this.registerKeys()};V(S0,kE);S0.\u0275dir=kE.\u0275dir;f=S0.prototype;f.setFocusOnIndex=function(a){this.focusedIndex=a};f.isFocused=function(a){return this.focusedIndex===a};f.selectNext=function(){this.focusedIndex+1>=this.hotlists.length||(this.focusedIndex++,this.scrollToFocusedIndex())};
f.selectPrevious=function(){0>this.focusedIndex-1||(this.focusedIndex--,this.scrollToFocusedIndex())};
f.registerKeys=function(){var a=this,b=cM(this.hotkeys,{title:"Browse Controls",hotkeys:[{keys:["j","DOWN"],displayAs:"j / Down",description:"Move to the next hotlist",onPress:function(){a.selectNext();a.cdr.detectChanges()}},{keys:["k","UP"],displayAs:"k / Up",description:"Move to the previous hotlist",onPress:function(){a.selectPrevious();a.cdr.detectChanges()}},{keys:["ENTER"],displayAs:"Enter",description:"View hotlist detail",onPress:function(){var c=a.hotlists[a.focusedIndex];c&&a.editHotlist(c)}}]});
this.destroyed$.subscribe(b)};f.scrollToFocusedIndex=function(){var a=this.element.nativeElement.parentElement;if(a){var b,c,d=null==(b=this.element.nativeElement.querySelector("table"))?void 0:null==(c=b.rows)?void 0:c[this.focusedIndex];if(d){b=a.getBoundingClientRect();a=b.top;b=b.bottom;c=d.getBoundingClientRect();var e=c.bottom;c.top<a?d.scrollIntoView(!1):e>b&&d.scrollIntoView(!0)}}};f.renderRowLabel=function(a){return this.hotlists[a].name};f.editHotlist=function(a){this.bLocation.path(this.paths.editHotlist(a.hotlistId))};
S0.\u0275fac=function(a){return new (a||S0)(D(fd),D(NG),D(OG),D(bM),D(wH,2))};
S0.\u0275cmp=zc({type:S0,selectors:[["b-hotlist-grid"]],inputs:{hotlists:"hotlists"},features:[Xe([wH]),xe],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),K(3,"th",2),H(4,"th")(5,"div",3)(6,"div",4)(7,"div",5),S(8," Hotlist name "),J()()()(),H(9,"th")(10,"div",3)(11,"div",4)(12,"div",5),S(13," Description "),J()()()(),H(14,"th")(15,
"div",3)(16,"div",4)(17,"div",5),S(18," Admins "),J()()()(),H(19,"th")(20,"div",3)(21,"div",4)(22,"div",5),S(23," ID "),J()()()()()(),H(24,"tbody"),R(25,Cdb,11,9,"tr",6),J()());a&2&&(C(25),G("ngForOf",b.hotlists))},dependencies:[Su,Tu],encapsulation:2});var T0=function(){};T0.\u0275fac=function(a){return new (a||T0)};T0.\u0275mod=Bc({type:T0});T0.\u0275inj=oc({imports:[MF]});var U0=function(a,b){this.bLocation=a;this.butterBar=b},SYc=function(a,b){var c=a.bLocation.search()[b];return null!=c?Array.isArray(c)?(XF(a.butterBar,"Given multiple values for parameter "+b+"; using the first."),c[0]):"boolean"===typeof c?"":c:null};U0.prototype.getCount=function(){var a=SYc(this,"c");return a?Ig(a):null};var TYc=function(a){return(a=SYc(a,"p"))?Ig(a):null};U0.prototype.getQuery=function(){return SYc(this,"q")};
U0.prototype.getDisplayColumns=function(){var a=this.bLocation.search().d;return a?(Array.isArray(a)?a:[a]).map(lj).filter(eh):null};U0.prototype.getSortColumns=function(){var a=this.bLocation.search().s;return a?(Array.isArray(a)?a:[a]).map(Tva).filter(eh):null};
var V0=function(a,b,c){c=void 0===c?!1:c;var d=function(e,g){c?a.bLocation.search(e,g,!0):a.bLocation.search(e,g)};void 0!==b.displayColumns&&d("d",null==b.displayColumns?null:(b.displayColumns||[]).map(function(e){return UYc(e)}));void 0!==b.sortColumns&&d("s",null==b.sortColumns?null:(b.sortColumns||[]).map(function(e){var g="ASCENDING"==e.direction?"asc":"desc";return UYc(e.fieldId)+":"+g}));void 0!==b.page&&d("p",b.page);void 0!==b.resultsPerPage&&d("c",b.resultsPerPage);void 0!==b.query&&d("q",
b.query)},UYc=function(a){return a.isCustomField()?String(a.customFieldId):a.type.toLowerCase()};U0.\u0275fac=function(a){return new (a||U0)(w(NG),w(VF))};U0.\u0275prov=nc({token:U0,factory:U0.\u0275fac,providedIn:"root"});var W0=function(a,b,c){this.urlPreferences=a;this.userPreferencesManager=b;this.customFieldApi=c};W0.prototype.fetch=function(a,b){a=this.getParameters(a,void 0===b?null:b);return{searchPreferences:Ql({page:a.page,query:a.query,resultsPerPage:a.resultsPerPage,sortColumns:a.sortColumns}),displayColumns:a.displayColumns}};
W0.prototype.getParameters=function(a,b){var c=this,d=b?function(){return VYc(b)}:function(){return WYc(c)},e=b?function(){return XYc(b)}:function(){return YYc(c)};d=Promise.resolve(this.urlPreferences.getDisplayColumns()).then(function(l){return X0(l)}).then(null,d).then(function(l){return X0(l)}).then(null,AUb(a.displayColumns)).then(function(l){return ZYc(c,l)});e=Promise.resolve(this.urlPreferences.getSortColumns()).then(function(l){return X0(l)}).then(null,e).then(function(l){return X0(l)}).then(null,
AUb(a.sortColumns));var g=Promise.resolve(this.urlPreferences.getCount()).then(function(l){return X0(l)}).then(null,function(){return $Yc(c)}).then(function(l){return X0(l)}).then(null,AUb(a.resultsPerPage)),h=Promise.resolve(this.urlPreferences.getQuery()).then(function(l){return X0(l)}).then(null,function(){return aZc(b,function(l){return l.query})}).then(null,AUb(a.query));a=TYc(this.urlPreferences)||a.page;return{displayColumns:d,sortColumns:e,resultsPerPage:g,query:h,page:a}};
var X0=function(a){return null==a?Promise.reject(null):a},VYc=function(a){return aZc(a,function(b){return b.displayColumn}).then(function(b){return bZc(b)})},XYc=function(a){return aZc(a,function(b){return b.sortOrder}).then(function(b){return cZc(b)})},YYc=function(a){return(0,F.firstValueFrom)(a.userPreferencesManager.sortColumnsPreferences$).then(function(b){return X0(b)}).then(function(b){return cZc(b)})},WYc=function(a){return(0,F.firstValueFrom)(a.userPreferencesManager.displayColumnsPreferences$).then(function(b){return X0(b)}).then(function(b){return bZc(b)})},
$Yc=function(a){return(0,F.firstValueFrom)(a.userPreferencesManager.preferences$.pipe(E(function(b){var c;return null!=(c=b.resultsPerPage)?c:null}))).then(function(b){return X0(b)})},aZc=function(a,b){return a?a.then(function(c){c=b(c);return null==c?Promise.reject(null):c}):Promise.reject(null)},bZc=function(a){if(!a||!a.length)return null;a=fk(a,function(b){return b.customFieldId||b.customFieldName||b.type});return a.map(function(b){return new kj({customFieldId:b.customFieldId||void 0,customFieldName:b.customFieldName||
void 0,type:"CANONICAL_ISSUE_ID"===b.type?"DUPLICATE_OF_ISSUE_ID":b.type})})},cZc=function(a){return a&&a.length?a.map(function(b){return void 0!==b.column?new oj(new kj(b.column),b.order):new oj(new kj(b.field),b.direction)}).filter(function(b){return"CUSTOM_FIELD"!=b.fieldId.type||null!=b.fieldId.customFieldId}):null},ZYc=function(a,b){function c(){for(var l=k(b),q=l.next();!q.done;q=l.next())if(q=q.value,q.isCustomField()&&!q.customFieldName){var v=d[q.customFieldId];q.customFieldName=v?v:"Custom field "+
q.customFieldId}return b}if(!b)return Promise.resolve([]);for(var d={},e=[],g=k(b),h=g.next();!h.done;h=g.next())h=h.value,h.customFieldId&&h.isCustomField()&&(h.customFieldName?d[h.customFieldId]=h.customFieldName:e.push(a.customFieldApi.get(h.customFieldId).then(function(l){d[l.customFieldId]=l.name})));return Promise.all(e).then(c,c)};W0.\u0275fac=function(a){return new (a||W0)(w(U0),w(TI),w(fG))};W0.\u0275prov=nc({token:W0,factory:W0.\u0275fac,providedIn:"root"});var Y0=function(a,b,c,d,e,g,h,l,q,v,y,B,I,N,Q){kE.call(this);var Z=this;this.cdr=a;this.bLocation=b;this.$log=c;this.butterBar=e;this.analytics=g;this.issuePagination=h;this.gridPreferencesFetcher=l;this.paths=q;this.errorHandler=v;this.domSafe=y;this.timeout=B;this.hotkeys=I;this.appSearchState=Q;this.ANALYTICS_CATEGORY="panel";this.resource=this.searchResults=this.initialSortPreferences=this.initialIssueColumns=this.displayColumns=null;this.isLoading=!1;this.page=1;this.issueColumnsInternal=[];
this.sortPreferences=[];this.last=this.first=this.isDashboardEditable=!1;this.focusedRowIndexInternal=null;this.focusedRowIndexChange=new tu;this.resultsLoaded=new tu;this.selectionChange=new tu;this.isColumnSaveEnabled=!1;this.cachedSort=null;this.currentUserEmail=d.getUserEmail();this.BASE_HOTKEYS=[{keys:["j"],displayAs:"j",description:"Move to the next issue in the current panel",onPress:function(){var Y;null==(Y=Z.issuesGrid)||iYc(Y)}},{keys:["k"],displayAs:"k",description:"Move to the previous issue in the current panel",
onPress:function(){var Y;null==(Y=Z.issuesGrid)||jYc(Y)}},{keys:["x"],displayAs:"x",description:"Select/Deselect the current issue",onPress:function(){var Y;null==(Y=Z.issuesGrid)||hYc(Y)}},{keys:["s"],displayAs:"s",description:"Star/Unstar the current issue",onPress:function(){var Y;null==(Y=Z.issuesGrid)||mYc(Y)}},{keys:[Kl("i")],displayAs:"Shift+i",description:"Mark as read",onPress:function(){var Y;null==(Y=Z.issuesGrid)||nYc(Y,!0)}},{keys:[Kl("u")],displayAs:"Shift+u",description:"Mark as unread",
onPress:function(){var Y;null==(Y=Z.issuesGrid)||nYc(Y,!1)}},{keys:[Ll("*","a")],displayAs:"* then a",description:"Select all issues in the current panel",onPress:function(){var Y;null==(Y=Z.issuesGrid)||Y.selectAll()}},{keys:[Ll("*","n")],displayAs:"* then n",description:"Deselect all issues in the current panel",onPress:function(){var Y;null==(Y=Z.issuesGrid)||fYc(Y)}},{keys:["o","ENTER"],displayAs:"o / Enter",description:"Open the current issue",onPress:function(Y){var ka=N.document.activeElement;
if(1===Y&&"A"===(null==ka?void 0:ka.tagName))if(ka.href)Y=Z.paths.getBaseUrl(),Jg(ka.href,Y)?b.url(ka.href.slice(Y.length)):Z.domSafe.openInNewTab(ka.href);else{var la;null==(la=Z.issuesGrid)||kYc(la)}else{var Da;null==(Da=Z.issuesGrid)||kYc(Da)}}}];this.destroyed$.subscribe(function(){var Y;null==(Y=Z.unregisterHotkeys)||Y.call(Z)})};V(Y0,kE);Y0.prototype.columnsChange=function(a){this.issueColumns=a};Y0.prototype.ngOnInit=function(){this.getIssues();dZc(this)};
var dZc=function(a){var b;null==(b=a.unregisterHotkeys)||b.call(a);a.isFocused?a.unregisterHotkeys=cM(a.hotkeys,{title:"Bookmark Group Dashboard",hotkeys:a.BASE_HOTKEYS}):a.unregisterHotkeys=void 0},Vdb=function(a,b){a.issuesGrid=b;lYc(a.issuesGrid,function(){var c,d={panelId:a.panel.panelId,selectedIssues:null==(c=a.issuesGrid)?void 0:c.getSelectedIssues()};a.selectionChange.emit(d)})};f=Y0.prototype;
f.setSort=function(a,b,c){c=void 0===c?!0:c;var d=lj(a);if(null==d)this.$log.warn("WARNING: Invalid column name: "+a);else{var e=new oj(d,"ASC"==b?"ASCENDING":"DESCENDING");Daa(this.sortPreferences,function(g){return Fg(g.fieldId,e.fieldId)});this.sortPreferences=c?[e].concat(this.sortPreferences.slice(0,2)):[e];this.page=1;this.refreshResults()}};
f.getSort=function(){if(!this.sortPreferences.length)return null;var a=this.sortPreferences[0];a={field:"CUSTOM_FIELD"==a.fieldId.type?String(a.fieldId.customFieldId):nsa(a.fieldId.type),direction:"ASCENDING"==a.direction?"ASC":"DESC"};Fg(a,this.cachedSort)||(this.cachedSort=a);return this.cachedSort};f.initColumns=function(a,b){this.displayColumns=a;this.issueColumnsInternal=[].concat(Jc(b),Jc(A$a(a)));this.initialIssueColumns=Gg(this.issueColumns);this.isColumnSaveEnabled=!0};
f.goToIssue=function(a,b,c){c&&"A"===c.target.tagName||(this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"viewIssue",b?"read":"unread"),a=this.paths.editIssue(a),c&&(c.ctrlKey||c.metaKey||1===c.button)?this.domSafe.openInNewTab(a):this.bLocation.url(a))};f.goToPage=function(a){this.page=a;this.getIssues()};f.refreshResults=function(){zX(this.issuePagination);this.getIssues()};f.exportCsv=function(){rsc(this.domSafe,this.getCsvUrl())};
f.getCsvUrl=function(){this.$log.warn("WARNING: Method getCsvUrl() not implemented.");return""};f.getIssues=function(){var a=this;this.searchResults=null;this.isLoading=!0;var b=this.resource?Promise.resolve(this.resource):this.loadResource();return this.doSearch(b).catch(function(c){a.$log.warn("WARNING: unable to doSearch()",c)}).finally(function(){a.isLoading=!1;a.cdr.detectChanges()})};
f.doSearch=function(a){var b=this,c=this.getGridPreferencesDefaults(),d=this.gridPreferencesFetcher.fetch(c,a.then(function(){return{query:null!=b.resource.query?b.resource.query:null,displayColumn:b.resource.displayColumn,sortOrder:b.resource.sortOrder}}));a=d.searchPreferences.then(function(e){if(!e.query)return Promise.reject(null);e=b.getSearchParams(e);b.searchParams=e;e.trackerIds=b.appSearchState.currentTrackerScope;return TQc(b.issuePagination,e)});a.catch(function(e){"number"===typeof e?
b.goToPage(e):e&&b.errorHandler.errorHandler(null,e)});return Ql({searchResultsPage:a,displayColumns:d.displayColumns}).then(function(e){var g=e.searchResultsPage;b.searchResults=g;b.page=g.params.page;b.sortPreferences=g.params.sortColumns||[];b.initialSortPreferences||(b.initialSortPreferences=Gg(b.sortPreferences));d.displayColumns.then(function(h){b.initColumns(h,b.getMetaColumns(g))});b.resultsLoaded.emit(b.searchResults.issues);b.timeout.schedule(function(){var h=b.issuePagination.focusedIssueIndex_;
-1!=h&&(b.focusedRowIndex=h-g.startIndex)})})};f.getGridPreferencesDefaults=function(){return{page:this.page,displayColumns:eZc,sortColumns:[],query:"",resultsPerPage:25}};
f.save=function(){var a=this,b=this.issueColumns.slice((this.searchResults?this.getMetaColumns(this.searchResults):fZc).length);b=B$a(b).map(function(c){return new kj(c)});this.resource.displayColumn=b;b=this.sortPreferences.map(function(c){return{direction:c.direction,field:c.fieldId}});this.resource.sortOrder=b;WF(this.butterBar,"Saving changes to panel...");this.saveResource().then(function(){a.initialIssueColumns=Gg(a.issueColumns);a.initialSortPreferences=Gg(a.sortPreferences);a.cdr.detectChanges()})};
f.discardChanges=function(){this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"discardChanges");this.issueColumns=[].concat(Jc(this.initialIssueColumns||[]));if(this.initialSortPreferences&&!Fg(this.initialSortPreferences,this.sortPreferences)){Baa(this.sortPreferences);var a=this.initialSortPreferences;Bp(Gaa,this.sortPreferences,void 0,0).apply(null,a);this.refreshResults()}};
f.hasParamChanges=function(){return this.resource&&this.isEditable()?this.initialIssueColumns&&!Fg(this.initialIssueColumns,this.issueColumns)?!0:!!this.initialSortPreferences&&!Fg(this.initialSortPreferences,this.sortPreferences):!1};f.isEditable=function(){var a=this;return!!this.resource&&this.resource.adminUsers.some(function(b){return b.emailAddress===a.currentUserEmail})};f.getMetaColumns=function(){return fZc};
f.getSearchParams=function(a){a=Gg(a);a.resultsPerPage=10;a.page=this.page;this.sortPreferences.length&&(a.sortColumns=this.sortPreferences);a.returnUrl=this.bLocation.url();return a};
gg.Object.defineProperties(Y0.prototype,{issueColumns:{configurable:!0,enumerable:!0,get:function(){return this.issueColumnsInternal},set:function(a){Fg(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&&dZc(this)},
get:function(){return this.focusedRowIndexInternal}},isFocused:{configurable:!0,enumerable:!0,get:function(){return null!==this.focusedRowIndex}}});var fZc=[w0,x0,y0],eZc="priority type title assignee status issueId modifiedTime".split(" ").map(lj);Y0.\u0275fac=function(a){return new (a||Y0)(D(wH),D(NG),D(YF),D(rp),D(VF),D(AH),D(yX),D(W0),D(OG),D(ZF),D(rK),D(EF),D(bM),D(Window),D(dY))};
Y0.\u0275dir=Cc({type:Y0,viewQuery:function(a,b){a&1&&jf(u0,5);if(a&2){var c;hf(c=lf())&&(b.issuesGrid=c.first)}},inputs:{panel:"panel",isDashboardEditable:"isDashboardEditable",first:"first",last:"last",focusedRowIndex:"focusedRowIndex"},outputs:{focusedRowIndexChange:"focusedRowIndexChange",resultsLoaded:"resultsLoaded",selectionChange:"selectionChange"},features:[xe]});var Z0=function(a,b){this.dialog=a;this.appEvents=b;this.last=this.first=!1};Z0.prototype.removePanel=function(){var a=this;this.dialog.open({title:"Remove Item?",content:yl("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)}})};Z0.\u0275fac=function(a){return new (a||Z0)(D(OI),D(cG))};
Z0.\u0275cmp=zc({type:Z0,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),K(2,"mat-icon",1),J(),H(3,"mat-menu",null,2),R(5,Hdb,6,4,"ng-template",3),J()());if(a&2){var b=Se(4);C(1);G("matMenuTriggerFor",b)}},dependencies:[Tu,yy,jz,PA,NA,OA,MA],encapsulation:2});var a1=function(){};a1.\u0275fac=function(a){return new (a||a1)};a1.\u0275mod=Bc({type:a1});a1.\u0275inj=oc({imports:[MF,QA,YA,WB]});var b1=function(){};b1.prototype.getValue=function(){return this.row[this.column.name]||""};b1.prototype.isCustomField=function(){return this.column.isCustomField};
b1.prototype.getCustomFieldValue=function(){var a;if(!(a=this.row.customFieldValueMap[this.column.name])){a=this.row;var b=this.column.name;a.customFieldMap&&b?(b=b.toLowerCase(),a=(b=a.customFieldNameToIdMap[b])?a.customFieldValueMap[String(b)]||null:null):a=null}if(!a)return null;a=new Og(a);Fg(this.customFieldValue,a)||(this.customFieldValue=a);return this.customFieldValue};b1.\u0275fac=function(a){return new (a||b1)};
b1.\u0275cmp=zc({type:b1,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&&(R(0,Idb,2,2,"span",0),R(1,Jdb,1,1,"b-custom-field-value-display",1));a&2&&(G("ngIf",!b.isCustomField()),C(1),G("ngIf",b.isCustomField()))},dependencies:[Tu,RZ],encapsulation:2,changeDetection:0});var c1=function(){};c1.\u0275fac=function(a){return new (a||c1)};c1.\u0275mod=Bc({type:c1});c1.\u0275inj=oc({imports:[MF,zC,SZ]});lfa(h0,[Su,Tu,Yu,m0,b1]);var d1=function(){};d1.\u0275fac=function(a){return new (a||d1)};d1.\u0275mod=Bc({type:d1});d1.\u0275inj=oc({imports:[MF,cN]});var e1=function(){};e1.\u0275fac=function(a){return new (a||e1)};e1.\u0275mod=Bc({type:e1});e1.\u0275inj=oc({imports:[MF,d1,bN]});var f1=function(){};f1.\u0275fac=function(a){return new (a||f1)};f1.\u0275mod=Bc({type:f1});f1.\u0275inj=oc({imports:[p0,MF,QA,mU,zC,WB,Qy,dy,vN,YA,c1,YT,$T,bN,aU,HJ,lN,FU,e1,rN,MO,GU,QZ,cN,VO,qN]});var g1=function(a,b,c){this.hotlistsApi=a;this.butterBar=b;this.appEvents=c};
g1.prototype.repositionIssue=function(a,b,c,d,e,g){var h=this,l=b[0].position,q=l>b[1].position,v=b[c],y=b[d].position;Maa(b,c,d);null==g||g();WF(this.butterBar,"Saving...",0);return this.hotlistsApi.repositionHotlistIssue(a,v.issueId,y).then(function(){for(var B=l,I=k(b),N=I.next();!N.done;N=I.next())N.value.position=B,B+=q?-1:1;null==g||g();WF(h.butterBar,"Saved issue position.",4E3);h.appEvents.hotlistChanged.next({hotlistId:a,origin:e});return h.hotlistsApi.get(a)})};
g1.\u0275fac=function(a){return new (a||g1)(w(ZG),w(VF),w(cG))};g1.\u0275prov=nc({token:g1,factory:g1.\u0275fac,providedIn:"root"});var h1=function(a){this.buttonRef=a;this.toRefocus=!1};h1.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}))};h1.\u0275fac=function(a){return new (a||h1)(D(fd))};
h1.\u0275dir=Cc({type:h1,selectors:[["button","disabled","","focusBack",""]],inputs:{disabled:"disabled"},features:[Mc]});var i1=function(){this.pageChange=new tu;this.resultsPerPageChange=new tu;this.resultsPerPageFixed=!1;this.resultsPerPageOptions=[10,25,50,100,250]};i1.prototype.nextPage=function(){this.searchResults&&this.pageChange.emit({page:this.searchResults.params.page+1})};var gZc=function(a){a.searchResults&&a.pageChange.emit({page:a.searchResults.params.page-1})};
gg.Object.defineProperties(i1.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}})}}});i1.\u0275fac=function(a){return new (a||i1)};
i1.\u0275cmp=zc({type:i1,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),R(1,Kdb,1,1,"b-actions-menu",1),R(2,Ldb,6,3,"span",2),H(3,"button",3),O("click",function(){return gZc(b)})("keydown.enter",function(c){gZc(b);return c.stopPropagation()}),K(4,"mat-icon",4),J(),H(5,"button",5),O("click",function(){return b.nextPage()})("keydown.enter",function(c){b.nextPage();return c.stopPropagation()}),K(6,"mat-icon",6),J()());a&2&&(C(1),G("ngIf",b.searchResults&&0<b.searchResults.issues.length&&
!b.resultsPerPageFixed),C(1),G("ngIf",b.searchResults&&0<b.searchResults.issues.length),C(1),G("disabled",!(null==b.searchResults?0:b.searchResults.hasPreviousPage())),C(2),G("disabled",!(null==b.searchResults?0:b.searchResults.hasNextPage())))},dependencies:[Tu,yy,jz,RK,h1],encapsulation:2});var j1=function(){};j1.\u0275fac=function(a){return new (a||j1)};j1.\u0275mod=Bc({type:j1});j1.\u0275inj=oc({});var k1=function(){};k1.\u0275fac=function(a){return new (a||k1)};k1.\u0275mod=Bc({type:k1});k1.\u0275inj=oc({imports:[MF,WB,YA,mT,j1]});var l1=function(a,b,c,d,e,g,h,l,q,v,y,B,I,N,Q,Z,Y,ka){Y0.call(this,c,e,g,h,l,q,v,y,B,d,I,Q,Z,Y,ka);this.hotlists=a;this.hotlistApi=b;this.appEvents=N;this.resource=null};V(l1,Y0);l1.\u0275dir=Y0.\u0275dir;f=l1.prototype;f.ngOnInit=function(){Y0.prototype.ngOnInit.call(this)};f.setSort=function(a,b){var c=this.getSort();"position"===a||c&&"position"===c.field?Y0.prototype.setSort.call(this,a,b,!1):Y0.prototype.setSort.call(this,a,b)};
f.loadResource=function(){var a=this,b=this.hotlistApi.get(this.hotlistId);b.then(function(c){a.resource=c;a.cdr.detectChanges()}).catch(function(c){a.errorHandler.errorHandler(null,c);a.resource=null});return b};
f.saveResource=function(){var a=this;if(this.resource)return this.hotlistApi.updateMetadata(this.hotlistId,this.resource).then(function(b){a.resource=b;a.appEvents.hotlistChanged.next({hotlistId:b.hotlistId,origin:"hotlist-panel"});WF(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)});XF(this.butterBar,"Hotlist is not set at this time.");
return Promise.resolve()};f.getGridPreferencesDefaults=function(){return Object.assign({},Y0.prototype.getGridPreferencesDefaults.call(this),{query:"hotlistId:"+this.hotlistId})};f.getMetaColumns=function(a){a=a.params.sortColumns||[];return 0==a.length||1==a.length&&"POSITION"==a[0].fieldId.type?hZc:iZc};f.getSearchParams=function(a){a=Y0.prototype.getSearchParams.call(this,a);a.hotlistId=this.hotlistId;return a};
f.repositionIssue=function(a,b){var c=this;this.searchResults&&this.hotlists.repositionIssue(this.hotlistId,this.searchResults.issues,a,b,"hotlist-panel",function(){c.searchResults&&(c.searchResults=c.searchResults.clone())}).then(function(d){c.resource=d;c.analytics.trackEvent(c.ANALYTICS_CATEGORY,"issueDragDrop")})};l1.\u0275fac=function(a){return new (a||l1)(D(g1),D(ZG),D(wH,2),D(ZF),D(NG),D(YF),D(rp),D(VF),D(AH),D(yX),D(W0),D(OG),D(rK),D(cG),D(EF),D(bM),D(jE),D(dY))};
l1.\u0275cmp=zc({type:l1,selectors:[["b-hotlist-panel"]],inputs:{hotlistId:"hotlistId"},features:[Xe([wH]),xe],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),R(3,Mdb,2,0,"div",3),R(4,Ndb,2,0,"div",3),R(5,Qdb,8,5,"div",3),J(),R(6,Rdb,5,0,"div",4),H(7,"b-pagination",5),
O("pageChange",function(c){return b.goToPage(c.page)}),J()(),R(8,Xdb,4,3,"div",3),J());a&2&&(Ae("aria-busy",b.isLoading),C(3),G("ngIf",!b.resource&&!b.isLoading),C(1),G("ngIf",!b.resource&&b.isLoading),C(1),G("ngIf",b.resource),C(1),G("ngIf",b.hasParamChanges()),C(1),G("searchResults",b.searchResults)("resultsPerPageFixed",!0),C(1),G("ngIf",b.resource))},dependencies:[Tu,yy,u0,XA,i1,Z0,SL],encapsulation:2});var iZc=[w0,x0,y0,pYc],hZc=[w0,oYc,x0,y0,pYc],m1=function(){};
m1.\u0275fac=function(a){return new (a||m1)};m1.\u0275mod=Bc({type:m1});m1.\u0275inj=oc({imports:[MF,f1,WB,zC,k1,a1,yN]});var n1=function(a,b,c,d,e,g,h,l,q,v,y,B,I,N,Q,Z){Y0.call(this,b,d,e,g,h,l,q,v,y,c,B,I,N,Q,Z);this.savedSearchApi=a;this.resource=null};V(n1,Y0);n1.\u0275dir=Y0.\u0275dir;n1.prototype.ngOnInit=function(){Y0.prototype.ngOnInit.call(this)};n1.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};n1.prototype.saveResource=function(){return Promise.resolve()};
n1.\u0275fac=function(a){return new (a||n1)(D(iU),D(wH,2),D(ZF),D(NG),D(YF),D(rp),D(VF),D(AH),D(yX),D(W0),D(OG),D(rK),D(EF),D(bM),D(jE),D(dY))};
n1.\u0275cmp=zc({type:n1,selectors:[["b-saved-search-panel"]],inputs:{savedSearchId:"savedSearchId"},features:[Xe([wH]),xe],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),R(3,Ydb,2,0,"div",3),R(4,Zdb,2,0,"div",3),R(5,beb,8,5,"div",4),J(),H(6,"b-pagination",5),O("pageChange",function(c){return b.goToPage(c.page)}),J()(),R(7,geb,4,3,"div",3),J());a&2&&(Ae("aria-busy",b.isLoading),C(3),G("ngIf",!b.resource&&!b.isLoading),C(1),G("ngIf",!b.resource&&b.isLoading),C(1),G("ngIf",b.resource),C(1),G("searchResults",b.searchResults)("resultsPerPageFixed",!0),C(1),G("ngIf",b.resource))},
dependencies:[Tu,u0,XA,i1,Z0,SL],encapsulation:2});var o1=function(){};o1.\u0275fac=function(a){return new (a||o1)};o1.\u0275mod=Bc({type:o1});o1.\u0275inj=oc({imports:[MF,f1,zC,k1,a1,yN]});var p1=function(){this.label="Team"};p1.prototype.ngOnInit=function(){};p1.\u0275fac=function(a){return new (a||p1)};
p1.\u0275cmp=zc({type:p1,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),R(2,heb,3,3,"span",2),J()());a&2&&(Ae("aria-label",b.label),C(2),G("ngForOf",b.teamPath))},dependencies:[Su,IG],encapsulation:2});var q1=function(){};q1.\u0275fac=function(a){return new (a||q1)};q1.\u0275mod=Bc({type:q1});q1.\u0275inj=oc({imports:[MF,MG,pN]});var jZc=["form"],kZc=["numberInput"],lZc=/^\d+\.?\d*$/,mZc={DAYS:0,YEARS:1,0:"DAYS",1:"YEARS"},r1=function(){this.disabled=!1;this.ariaLabel="";this.durationDaysChange=new tu;this.displayUnits=0;this.timeUnitEnum=mZc};
r1.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()})};r1.prototype.ngAfterViewInit=function(){};
r1.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))};r1.prototype.ngOnDestroy=function(){this.formSubscription&&this.formSubscription.unsubscribe()};r1.\u0275fac=function(a){return new (a||r1)};
r1.\u0275cmp=zc({type:r1,selectors:[["b-duration-picker"]],viewQuery:function(a,b){a&1&&(jf(jZc,7),jf(kZc,7));if(a&2){var c;hf(c=lf())&&(b.form=c.first);hf(c=lf())&&(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"),S(5," Custom Duration "),J(),H(6,"input",3,4),O("keydown",function(c){switch(c.key){case "-":case "e":case "E":c.preventDefault()}})("paste",function(c){var d=c.clipboardData.getData("Text");lZc.test(d)||c.preventDefault()}),J()(),H(8,"mat-form-field",2)(9,"mat-select",5)(10,"mat-option",
6),S(11,"days"),J(),H(12,"mat-option",6),S(13,"year(s)"),J()()()()());a&2&&(C(6),G("ngModel",b.displayNumber)("disabled",b.disabled),Ae("aria-label",b.ariaLabel),C(3),G("ngModel",b.displayUnits)("disabled",b.disabled),C(1),G("value",b.timeUnitEnum.DAYS),C(2),G("value",b.timeUnitEnum.YEARS))},dependencies:[Av,Af,Bv,tv,uv,Jv,zv,xv,Yy,Xy,az,CO,Ay],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 s1=function(){};s1.\u0275fac=function(a){return new (a||s1)};s1.\u0275mod=Bc({type:s1});s1.\u0275inj=oc({imports:[MF,Qv,bz,Zy,DO,kV]});var t1=function(a,b,c){this.dialogRef=a;this.data=b;this.documentationLinks=c};t1.prototype.getDisablingFieldsHelpLink=function(){return this.documentationLinks.getDisablingFieldsHelpLink()};t1.prototype.onNoClick=function(){this.dialogRef.close(!1)};t1.\u0275fac=function(a){return new (a||t1)(D(Iy),D(Ky),D(NI))};
t1.\u0275cmp=zc({type:t1,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),S(1),J(),H(2,"div",1)(3,"p"),S(4,
" The "),H(5,"strong"),S(6),J(),S(7," field will change state from "),H(8,"strong"),S(9),J(),S(10," to "),H(11,"strong"),S(12),J(),S(13,". "),J(),R(14,ieb,6,2,"p",2),H(15,"p"),S(16,"Are you sure?"),J()(),H(17,"div",3)(18,"button",4),O("click",function(){return b.onNoClick()}),S(19," Cancel "),J(),H(20,"button",5),S(21," Confirm "),J()());a&2&&(C(1),Te("Field State Change for ",b.data.fieldName,""),C(5),Ve(b.data.fieldName),C(3),Ve(b.data.oldFieldState),C(3),Ve(b.data.newFieldState),C(2),G("ngIf",
b.data.noteText),C(6),G("mat-dialog-close",!0))},dependencies:[Tu,yy,My,Ny,Oy,Py],styles:[".notice[_ngcontent-%COMP%]{font-weight:bold}"]});var nZc=["fieldStateMenuButton"],oZc=function(a){return{"mat-stroked-button":a}},u1=function(a){this.dialog=a;this.fieldName="";this.fieldState=1;this.confirmationDialog=this.enabledOnParent=!0;this.disabled=!1;this.fieldStateChange=new tu;this.FieldStateProto=ysa;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."}};u1.prototype.ngOnInit=function(){this.updateMenuButton()};
u1.prototype.ngOnChanges=function(){this.updateMenuButton()};
var qZc=function(a,b){b!==a.fieldState&&(a.confirmationDialog?pZc(a,b):(a.fieldState=b,a.updateMenuButton(),a.fieldStateChange.emit(b)))},pZc=function(a,b){var c=2===b||1===b&&!a.enabledOnParent,d=1!==a.fieldState&&1===b,e=void 0;2!==a.fieldState&&(1!==a.fieldState||a.enabledOnParent)&&c?e=a.msgs.becomesHiddenWarning:d&&(e=a.msgs.becomesInheritedWarning);Gy(a.dialog.open(t1,{width:"500px",data:{fieldName:a.fieldName,oldFieldState:rZc(a,a.fieldState),newFieldState:rZc(a,b),noteText:e}})).pipe(ge()).subscribe(function(g){g?
(a.fieldState=b,a.updateMenuButton(),a.fieldStateChange.emit(b),a.disabled=!0):a.focus()})};u1.prototype.updateMenuButton=function(){this.defaultLabel="Default ("+(this.enabledOnParent?this.msgs.visibleName:this.msgs.hiddenName)+")";this.menuLabel=rZc(this,this.fieldState)};var rZc=function(a,b){switch(b){case 1:return a.defaultLabel;case 2:return a.msgs.hiddenName;case 3:return a.msgs.visibleName;default:og(b,"Unknown FieldState.")}};u1.prototype.focus=function(){this.disabled=!1;this.fieldStateMenuButton.nativeElement.focus()};
u1.\u0275fac=function(a){return new (a||u1)(D(Ly))};
u1.\u0275cmp=zc({type:u1,selectors:[["b-field-state-menu"]],viewQuery:function(a,b){a&1&&jf(nZc,5,fd);if(a&2){var c;hf(c=lf())&&(b.fieldStateMenuButton=c.first)}},inputs:{fieldName:"fieldName",fieldState:"fieldState",enabledOnParent:"enabledOnParent",confirmationDialog:"confirmationDialog",disabled:"disabled"},outputs:{fieldStateChange:"fieldStateChange"},features:[Mc],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),K(4,"span",3)(5,"b-icon",4),J()()(),H(6,"mat-menu",null,5)(8,"div",6)(9,"div",7)(10,"button",8),O("click",function(){return qZc(b,b.FieldStateProto.INHERIT)}),K(11,"b-icon",9),H(12,"div",10),S(13),J(),H(14,"div",11),S(15),J()()(),K(16,"mat-divider"),H(17,"button",12),O("click",function(){return qZc(b,b.FieldStateProto.DISABLED)}),H(18,"div",13)(19,"div",
14),K(20,"b-icon",9),H(21,"div",10),S(22),J(),H(23,"div",11),S(24),J()()()(),H(25,"button",12),O("click",function(){return qZc(b,b.FieldStateProto.ENABLED)}),H(26,"div",13)(27,"div",14),K(28,"b-icon",9),H(29,"div",10),S(30),J(),H(31,"div",11),S(32),J()()()()()());if(a&2){var c=Se(7);C(1);G("ngClass",Ze(16,oZc,!b.disabled))("disabled",b.disabled)("matMenuTriggerFor",c);C(3);G("innerHTML",b.menuLabel,ud);C(6);Ie("b-menu-item-checked",b.fieldState===b.FieldStateProto.INHERIT);C(3);Te(" ",b.defaultLabel,
" ");C(2);Te(" ",b.msgs.inheritDescription," ");C(2);Ie("b-menu-item-checked",b.fieldState===b.FieldStateProto.DISABLED);C(5);Te(" ",b.msgs.hiddenName," ");C(2);Te(" ",b.msgs.hiddenDescription," ");C(1);Ie("b-menu-item-checked",b.fieldState===b.FieldStateProto.ENABLED);C(5);Te(" ",b.msgs.visibleName," ");C(2);Te(" ",b.msgs.visibleDescription," ")}},dependencies:[Ru,yy,TL,PA,NA,OA,$M],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 v1=function(){};v1.\u0275fac=function(a){return new (a||v1)};v1.\u0275mod=Bc({type:v1});v1.\u0275inj=oc({imports:[MF,WB,Qy,mU,QA,vN,HT]});var w1=function(a,b){this.dialogRef=b;this.issueId=a.issueId;this.issueTitle=a.issueTitle};w1.prototype.close=function(){this.dialogRef.close(!1)};w1.\u0275fac=function(a){return new (a||w1)(D(Ky),D(Iy))};
w1.\u0275cmp=zc({type:w1,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),S(1,"Unsubscribe From Issue"),J(),H(2,"mat-dialog-content")(3,"div",1),S(4," Are you sure you would like to unsubscribe from the following issue? "),
J(),K(5,"br"),H(6,"div",2)(7,"a",3)(8,"span"),S(9),J()(),S(10," - "),H(11,"span"),S(12),J()(),K(13,"br"),H(14,"div",1),S(15," By unsubscribing, you will no longer receive email updates about this issue. "),J()(),H(16,"mat-dialog-actions")(17,"button",4),O("click",function(){return b.close()}),S(18," Cancel "),J(),H(19,"button",5),O("click",function(){b.dialogRef.close(!0)}),S(20," Unsubscribe "),J()());a&2&&(C(7),Pe("href","/issues/",b.issueId,"",vd),C(2),Te("b/",b.issueId,""),C(3),Ve(b.issueTitle))},
dependencies:[yy,Ny,Oy,Py],encapsulation:2});var sZc=function(a,b){return{small:a,medium:b}},tZc=function(a){return{black:a}},x1=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 tu;this.showNotificationSettings=new tu;this.menuLabel="Default";this.menuIcon="notifications_none_24px";this.isAnonymous=this.activeSession.isAnonymous();this.subscriptionInternal="UNKNOWN_SUBSCRIPTION";this.NotificationSubscription=Ucc;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"}]])};x1.prototype.ngOnInit=function(){uZc(this)};x1.prototype.ngOnChanges=function(){this.updateMenuButton()};x1.prototype.updateSubscription=function(a){a!==this.subscriptionInternal&&this.subscriptionChange.emit(a)};x1.prototype.updateMenuButton=function(){var a=this.subscriptions.get(this.subscriptionInternal);a&&(this.menuLabel=a.label,this.menuIcon=a.icon)};
var uZc=function(a){var b,c;Ld(function(d){if(1==d.nextAddress)return"true"!==a.routeParams.unsubscribe||a.subscription&&"UNSUBSCRIBED"===a.subscription?d.return():d.yield((0,F.firstValueFrom)(a.issueFridge.watch(a.issueId)),2);if(3!=d.nextAddress)return(b=d.yieldResult)?d.yield((0,F.firstValueFrom)(Gy(a.matDialogService.open(w1,{width:"400px",data:{issueId:a.issueId,issueTitle:b.snapshot[0].title}}))),3):d.return();if(c=d.yieldResult)a.updateSubscription("UNSUBSCRIBED"),a.analytics.trackEvent(Yl.EDIT_ISSUE,
"unsubscribeUsingDialog");Qd(d)})};gg.Object.defineProperties(x1.prototype,{subscription:{configurable:!0,enumerable:!0,set:function(a){null!=a&&(this.subscriptionInternal=a)},get:function(){return this.subscriptionInternal}}});x1.\u0275fac=function(a){return new (a||x1)(D(rp),D(Ly),D(IH),D(AH),D(qJ))};
x1.\u0275cmp=zc({type:x1,selectors:[["b-notification-menu"]],inputs:{subscription:"subscription",iconOnly:"iconOnly",issueId:"issueId"},outputs:{subscriptionChange:"subscriptionChange",showNotificationSettings:"showNotificationSettings"},features:[Mc],decls:63,vars:31,consts:[["mat-button","",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=x();H(0,"div")(1,"button",0)(2,"div",1);K(3,"b-icon",2);R(4,jeb,3,1,"ng-container",
3);J()()();H(5,"mat-menu",null,4)(7,"div",5)(8,"div",6)(9,"button",7);O("click",function(){return b.updateSubscription(b.NotificationSubscription.UNKNOWN_SUBSCRIPTION)});K(10,"b-icon",8);H(11,"div",9);S(12," Default ");J();H(13,"div",10);S(14," receive emails based on your default settings. ");J()();K(15,"mat-divider",11);H(16,"button",12);O("click",function(h){return b.showNotificationSettings.emit(h)});K(17,"b-icon",13);J()();K(18,"mat-divider");H(19,"div",14)(20,"button",15);O("click",function(){return b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_ALL_UPDATES)});
H(21,"div",16);K(22,"b-icon",8);H(23,"div",9);S(24," All Updates ");J();H(25,"div",10);S(26," receive emails for major and minor updates. ");J()()();H(27,"button",17);O("click",function(){return b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_ALL_UPDATES)})("focus",function(){z(c);var h=Se(29);return A(h.toggle(!0))})("blur",function(){z(c);var h=Se(29);return A(h.toggle(!1))});H(28,"xap-bubble",18,19);K(30,"mat-icon",20);R(31,keb,13,0,"ng-template",null,21,of);J()()();H(33,"div",14)(34,
"button",22);O("click",function(){return b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_MAJOR_UPDATES)});H(35,"div",16);K(36,"b-icon",8);H(37,"div",9);S(38," Major Updates ");J();H(39,"div",10);S(40," receive emails for major updates only. ");J()()();H(41,"button",17);O("click",function(){return b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_MAJOR_UPDATES)})("focus",function(){z(c);var h=Se(43);return A(h.toggle(!0))})("blur",function(){z(c);var h=Se(43);return A(h.toggle(!1))});
H(42,"xap-bubble",18,23);K(44,"mat-icon",20);R(45,leb,15,0,"ng-template",null,24,of);J()()();H(47,"button",25);O("click",function(){return b.updateSubscription(b.NotificationSubscription.SUBSCRIBED_CLOSURE_ONLY)});H(48,"div",14)(49,"div",16);K(50,"b-icon",8);H(51,"div",9);S(52," Closure Only ");J();H(53,"div",10);S(54," only receive emails when the issue is closed. ");J()()()();H(55,"button",25);O("click",function(){return b.updateSubscription(b.NotificationSubscription.UNSUBSCRIBED)});H(56,"div",
14)(57,"div",16);K(58,"b-icon",8);H(59,"div",9);S(60," None ");J();H(61,"div",10);S(62," unsubscribe from further email updates. ");J()()()()()()}if(a&2){var d=Se(6),e=Se(32),g=Se(46);C(1);Ie("icon-only",b.iconOnly);G("ngClass",$e(26,sZc,b.iconOnly,!b.iconOnly))("matMenuTriggerFor",d)("disabled",b.isAnonymous);Ae("aria-label","Notifications Menu, current value is "+b.subscriptions.get(b.subscriptionInternal||"UNKNOWN_SUBSCRIPTION").label);C(2);G("name",b.menuIcon)("ngClass",Ze(29,tZc,"notifications-off"===
b.menuIcon));C(1);G("ngIf",!b.iconOnly);C(5);Ie("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.UNKNOWN_SUBSCRIPTION);C(6);G("vertical",!0);C(5);Ie("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.SUBSCRIBED_ALL_UPDATES);C(7);Ae("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.");
C(1);G("panelTemplate",e)("overlayPositions",b.bubblePosition);C(6);Ie("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.SUBSCRIBED_MAJOR_UPDATES);C(7);Ae("aria-label","This includes emails about New comments, Priority or Severity changes, Assignee changes, Component changes, Issue closure or reopening, and Changes to custom fields marked as major.");C(1);G("panelTemplate",g)("overlayPositions",b.bubblePosition);C(5);Ie("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.SUBSCRIBED_CLOSURE_ONLY);
C(8);Ie("b-menu-item-checked",b.subscriptionInternal===b.NotificationSubscription.UNSUBSCRIBED)}},dependencies:[Ru,Tu,yy,jz,TL,PA,NA,OA,$M,GO],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 y1=function(){};y1.\u0275fac=function(a){return new (a||y1)};y1.\u0275mod=Bc({type:y1});y1.\u0275inj=oc({imports:[MF,WB,mU,QA,vN,HT,LO,YA]});var z1=function(a,b){this.sloApi=a;this.cdr=b;this.isDisabled=!1;this.dropdownChoices=null;this.onSloSelect=new tu;this.internalBoundId=this.selectedSlo=null;this.lastProcessedIndex=-1;this.requestIndex=0},vZc=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()};
z1.prototype.displayFn=function(a){return(null==a?void 0:a.name)||(null==a?void 0:a.sloId)||""};z1.prototype.updateSelectionOnChange=function(a){if(a=a.option.value)this.boundId=a.sloId;this.onSloSelect.emit(a);this.cdr.detectChanges()};
gg.Object.defineProperties(z1.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)}}});z1.\u0275fac=function(a){return new (a||z1)(D(TT),D(wH,2))};
z1.\u0275cmp=zc({type:z1,selectors:[["slo-picker"]],inputs:{isDisabled:["bv2Disabled","isDisabled"],placeholder:["bv2Placeholder","placeholder"],boundId:"boundId"},outputs:{onSloSelect:"onSloSelect"},features:[Xe([wH])],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=x();H(0,"div",0)(1,"input",1,2);O("ngModelChange",function(e){return b.selectedSlo=e})("click",function(){z(c);var e=Se(2);return A(vZc(b,e.value))})("input",function(){z(c);var e=Se(2);return A(vZc(b,e.value))});J();H(3,"mat-autocomplete",3,4);O("optionSelected",function(e){return b.updateSelectionOnChange(e)});R(5,meb,2,2,"mat-option",5);
J()()}if(a&2){var d=Se(4);C(1);G("placeholder",b.placeholder)("ngModel",b.selectedSlo)("disabled",b.isDisabled)("matAutocomplete",d);C(2);G("displayWith",b.displayFn);C(2);G("ngForOf",b.dropdownChoices)}},dependencies:[Su,$O,ZO,Ay,Af,tv,zv],encapsulation:2});var A1=function(){};A1.\u0275fac=function(a){return new (a||A1)};A1.\u0275mod=Bc({type:A1});A1.\u0275inj=oc({imports:[MF,aP,Qv]});var wZc=function(a){return{"empty-list-field-indication":a}},B1=function(a){this.documentationLinks=a;this.EXTERNAL_LINK_REL="noopener noreferrer nofollow ugc";this.issueRetentionDisabled=!1;this.modelChange=new tu;this.validChange=new tu;this.RetentionSelection=$cc};
B1.prototype.ngOnInit=function(){this.initialModel?this.model=this.initialModel:this.model={retentionSelection:"UNSPECIFIED_RETENTION",retentionPeriodDays:null,piiRetentionSelection:"UNSPECIFIED_RETENTION",piiRetentionPeriodDays:null,spiiRetentionPeriodDays:null};Dn(this)};B1.prototype.updateSelectionOnChange=function(a){this.model.retentionSelection=a;this.model.retentionPeriodDays=null;this.modelChange.emit(this.model);Dn(this)};
var Dn=function(a){var b=a.validChange,c=b.emit,d;if(d=veb(a))d=a.hasRetentionSelection(a.model.piiRetentionSelection)&&(a.model.piiRetentionSelection!==a.RetentionSelection.BUGANIZER_DEFAULT||!xZc(a))&&(a.model.piiRetentionSelection!==a.RetentionSelection.CUSTOM_PERIOD||yZc(a));c.call(b,d)};B1.prototype.hasRetentionSelection=function(a){return a&&a!==this.RetentionSelection.UNSPECIFIED_RETENTION};
var veb=function(a){return a.hasRetentionSelection(a.model.retentionSelection)&&(a.model.retentionSelection!==a.RetentionSelection.CUSTOM_PERIOD||!!a.model.retentionPeriodDays&&30<=a.model.retentionPeriodDays&&3650>=a.model.retentionPeriodDays)},oeb=function(a){return a?gCa(a):"[unset period]"},yZc=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},seb=function(a){if(!veb(a)||yZc(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 "+oeb(e):"Restricted+ retention must not exceed Restricted retention."},xZc=function(a){return a.model.retentionSelection===a.RetentionSelection.CUSTOM_PERIOD&&(!a.model.retentionPeriodDays||60>a.model.retentionPeriodDays)},web=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};B1.\u0275fac=function(a){return new (a||B1)(D(NI))};
B1.\u0275cmp=zc({type:B1,selectors:[["b-retention-settings-form"]],inputs:{initialModel:"initialModel",isExternal:"isExternal",issueRetentionDisabled:"issueRetentionDisabled"},outputs:{modelChange:"modelChange",validChange:"validChange"},decls:30,vars:32,consts:[["aria-label","Retention settings form",1,"issue-retention-form",3,"ngClass","disabled","name","ngModel","ngModelChange"],[3,"value"],["aria-label","Custom retention period, must be between 30 days and 10 years",3,"value"],["class","duration-error",
4,"ngIf"],["class","custom-duration",4,"ngIf"],[3,"disabled","value"],["class","warning-box","id","indefinite-retention-warning-box",4,"ngIf"],["aria-label","PII Retention settings form",1,"pii-retention-form",3,"ngClass","disabled","name","ngModel","ngModelChange"],["target","_blank","aria-label","Learn more about restricted access",1,"keep-underline","keep-focus-ring",3,"rel"],[3,"aria-label","disabled","value"],["class","warning-box","id","indefinite-pii-retention-warning-box",4,"ngIf"],[1,"duration-error"],
[1,"custom-duration"],["ariaLabel","Custom duration",3,"disabled","durationDays","durationDaysChange"],[1,"duration-description"],["id","indefinite-retention-warning-box",1,"warning-box"],[1,"b-restricted-retention-duration-label"],["ariaLabel","Restricted retention duration",3,"disabled","durationDays","durationDaysChange"],[1,"warning-box"],["ariaLabel","Restricted+ retention duration",3,"disabled","durationDays","durationDaysChange"],["class","warning-box","id","custom-pii-retention-warning-box",
4,"ngIf"],["id","custom-pii-retention-warning-box",1,"warning-box"],["id","indefinite-pii-retention-warning-box",1,"warning-box"]],template:function(a,b){a&1&&(H(0,"mat-radio-group",0),O("ngModelChange",function(c){return b.updateSelectionOnChange(c)}),H(1,"p")(2,"b"),S(3,"Issue Retention"),J()(),H(4,"mat-radio-button",1),S(5," Buganizer default retention period (for minimal or no PII/SPII): 10 years "),J(),H(6,"mat-radio-button",2),S(7," Custom retention period "),R(8,neb,2,0,"span",3),R(9,peb,4,
3,"div",4),J(),H(10,"mat-radio-button",5),S(11),R(12,qeb,13,0,"div",6),J()(),H(13,"mat-radio-group",7),O("ngModelChange",function(c){b.model.piiRetentionSelection=c;b.model.piiRetentionPeriodDays=null;b.model.spiiRetentionPeriodDays=null;b.modelChange.emit(b.model);Dn(b)}),H(14,"p"),K(15,"br"),H(16,"b"),S(17,"Restricted Comments/Attachments Retention "),J(),H(18,"a",8),S(19,"Learn more "),J()(),H(20,"mat-radio-button",1),S(21," Buganizer default retention period : 60 days "),R(22,reb,2,0,"span",3),
J(),H(23,"mat-radio-button",9),S(24," Custom retention period "),R(25,teb,2,1,"span",3),R(26,xeb,16,7,"div",4),J(),H(27,"mat-radio-button",5),S(28," Match Issue Retention "),R(29,yeb,3,0,"div",10),J()());a&2&&(G("ngClass",Ze(28,wZc,b.model.retentionSelection===b.RetentionSelection.UNSPECIFIED_RETENTION))("disabled",b.issueRetentionDisabled)("name","retentionForm")("ngModel",b.model.retentionSelection),C(4),G("value",b.RetentionSelection.BUGANIZER_DEFAULT),C(2),G("value",b.RetentionSelection.CUSTOM_PERIOD),
C(2),G("ngIf",b.model.retentionSelection===b.RetentionSelection.CUSTOM_PERIOD&&!(b.model.retentionPeriodDays&&30<=b.model.retentionPeriodDays&&3650>=b.model.retentionPeriodDays)),C(1),G("ngIf",b.model.retentionSelection===b.RetentionSelection.CUSTOM_PERIOD),C(1),G("disabled",b.isExternal)("value",b.RetentionSelection.INDEFINITE_RETENTION),C(1),Te(" Indefinite retention period ",b.isExternal?"(Internal components only)":""," "),C(1),G("ngIf",b.model.retentionSelection===b.RetentionSelection.INDEFINITE_RETENTION),
C(1),G("ngClass",Ze(30,wZc,b.model.retentionSelection===b.RetentionSelection.UNSPECIFIED_RETENTION))("disabled",b.issueRetentionDisabled)("name","piiRetentionForm")("ngModel",b.model.piiRetentionSelection),C(5),G("rel",b.EXTERNAL_LINK_REL),Ae("href",b.documentationLinks.getRestrictedAccessHelpLink(),vd),C(2),G("value",b.RetentionSelection.BUGANIZER_DEFAULT),C(2),G("ngIf",b.model.piiRetentionSelection===b.RetentionSelection.BUGANIZER_DEFAULT&&xZc(b)),C(1),G("aria-label","Custom Retention Period,"+
seb(b))("disabled",!veb(b))("value",b.RetentionSelection.CUSTOM_PERIOD),C(2),G("ngIf",b.model.piiRetentionSelection===b.RetentionSelection.CUSTOM_PERIOD&&!yZc(b)),C(1),G("ngIf",b.model.piiRetentionSelection===b.RetentionSelection.CUSTOM_PERIOD),C(1),G("disabled",b.isExternal)("value",b.RetentionSelection.INDEFINITE_RETENTION),C(2),G("ngIf",b.model.piiRetentionSelection===b.RetentionSelection.INDEFINITE_RETENTION&&web(b)))},dependencies:[Ru,Tu,tv,zv,XM,YM,r1],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 C1=function(){};C1.\u0275fac=function(a){return new (a||C1)};C1.\u0275mod=Bc({type:C1});C1.\u0275inj=oc({imports:[MF,Qv,AN,s1]});var zZc=function(){this.type="component";this.includeChildren=!1},AZc=function(){this.type="tracker"},BZc=function(){this.type="team";this.includeChildren=!1},CZc=function(){this.type="hotlist"},DZc=function(){this.type="savedsearch"},EZc=function(){this.type="customfield"};var FZc=function(a,b){this.query=a;this.cursorIdx=b;this.label=null;this.value={val:"",idx:0};this.value.idx=b},GZc="componentid c hotlistid h savedsearchid teamid trackerid".split(" "),HZc=GZc.concat("archived assignee attachment blockedbyid blockingid canonicalid cc cccount collaborator collaboratorcount cl comment commentcount commenter created customfield deleted deletionreason deletiontime duplicatecount effortlabel foundin inprod is lastcommenter lastmodifier mention modified modifier mute p parentid postmortem priority reporter resolved s severity star status t targetedto title type verified verifiedin verifier votecount nearestslo".split(" ")),
IZc="cl deleted deletionreason deletiontime effortlabel nearestslo postmortem teamid".split(" "),JZc="(?:\\s|^)(-?)(customfield\\d+|"+HZc.join("|")+")(:|>|<|>=|<=|=)";var D1=function(a,b,c,d,e,g,h,l,q){kE.call(this);var v=this;this.userApi=a;this.trackerFridge=b;this.currentTracker=c;this.customFieldsApi=d;this.hotlistApi=e;this.savedSearchApi=g;this.componentActions=h;this.teamsService=l;this.activeSession=q;this.query="";this.requestIndex=0;this.producers=[{match:function(y){return KZc(v,y)}},{updateHeader:function(y){return LZc(v,y)}},{updateHeader:function(y){return MZc(v,y)}},{updateHeader:function(y){return NZc(v,y)}},{updateHeader:function(y){return OZc(v,
y)}},{updateHeader:function(y){return PZc(v,y)}},{updateHeader:function(y){return QZc(v,y)}}];this.currentSearchContext=null;this.items=[];this.acHeader=null;this.acRefreshed$=new F.Subject;this.refreshRequest$=new F.Subject;this.refreshRequest$.pipe(de(250),qe(this.destroyed$)).subscribe(function(y){RZc(v,y.currentRequestIndex,y.currentSearchContext)});this.sessionIsInternal=q.isInternalSession();a=new Set(HZc);this.sessionIsInternal||a.delete("mention");if(!this.sessionIsInternal)for(b=k(IZc),c=
b.next();!c.done;c=b.next())a.delete(c.value);this.isTrackerSearchEnabled()||a.delete("trackerid");this.atoms=Object.freeze(a);this.atomsWithoutOp=Object.freeze(new Set(["customfield"]))};V(D1,kE);D1.\u0275dir=kE.\u0275dir;D1.prototype.isTrackerSearchEnabled=function(){return!this.currentTracker.inTracker};
var RZc=function(a,b,c){for(var d=!1,e=!1,g=[],h=k(a.producers),l=h.next();!l.done;l=h.next())l=l.value,l.match&&g.push(l.match(c).then(function(q){d||(d=!0,a.items=[]);b<a.requestIndex||a.items.push.apply(a.items,Jc(q))}).catch(function(q){return q})),l.updateHeader&&g.push(l.updateHeader(c).then(function(q){e||(e=!0,a.acHeader=null);b<a.requestIndex||(a.acHeader=q)}).catch(function(q){return q}));Promise.all(g).finally(function(){d||(a.items=[]);e||(a.acHeader=null);a.acRefreshed$.next()})},KZc=
function(a,b){if(!b.value.val){var c=b.value.idx;if(c<b.query.length&&-1===b.query.charAt(c).search("\\s"))return Promise.reject(null)}if(b.label){if(b.label.customFieldId)return SZc(a,b);switch(b.label.val){case "archived":return Promise.resolve(Fn(TZc,b.value,!0));case "componentid":case "c":return UZc(a,b);case "deleted":return VZc(b);case "deletionreason":return Promise.resolve(Fn(WZc,b.value,!0));case "hotlistid":case "h":return XZc(a,b);case "savedsearchid":return YZc(a,b);case "status":case "is":return Promise.resolve(Fn(ZZc,
b.value,!0));case "trackerid":return $Zc(a,b);case "teamid":return a_c(a,b);case "type":case "t":return a.matchType(b);case "priority":case "p":return Promise.resolve(Fn(b_c,b.value,!0));case "severity":case "s":return Promise.resolve(Fn(c_c,b.value,!0));case "inprod":case "star":case "mute":return VZc(b);default:return Promise.reject(null)}}if(!b.value.val)return Promise.reject(null);c=[];for(var d=Beb(b.value.val),e=k(a.atoms),g=e.next();!g.done;g=e.next())if(g=g.value,d.token!==g&&Jg(g,d.token)){var h=
b.value.idx+(d.negated?1:0);h={type:"atom",startIdx:h,endIdx:h+b.value.val.length,completionValue:g+(a.atomsWithoutOp.has(g)?"":":"),enableShadowPlaceholder:!0};h={trackId:"atom:"+g,name:g,completionCfg:h};"customfield"===g&&(h.name="customfield[id]:[value]");c.push(h)}c.sort(function(l,q){return Hn(l.name,q.name)});return Promise.resolve(c)},SZc=function(a,b){return b.label&&b.label.customFieldId?a.customFieldsApi.get(b.label.customFieldId).then(function(c){if("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 Fn(d,b.value,!1,!1)}):Promise.reject(null)};D1.prototype.matchType=function(a){return Promise.resolve(Fn(d_c,a.value,!0))};
var VZc=function(a){if(!a.label)return Promise.reject(null);var b=a.label.val;return Promise.resolve(Fn([{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))},UZc=function(a,b){var c=b.value.val;return!c||En(c,!0)?Promise.reject(null):a.componentActions.search(c,!1).then(function(d){return a.processResponse(b,
d)})};
D1.prototype.processResponse=function(a,b){var c=a.value.val,d=[],e={};b=k(b);for(var g=b.next();!g.done;e={$jscomp$loop$prop$paths$2344:e.$jscomp$loop$prop$paths$2344,$jscomp$loop$prop$startIdx$2345:e.$jscomp$loop$prop$startIdx$2345,$jscomp$loop$prop$endIdx$2346:e.$jscomp$loop$prop$endIdx$2346},g=b.next()){g=g.value;var h=g.componentId;e.$jscomp$loop$prop$startIdx$2345=a.value.idx;e.$jscomp$loop$prop$endIdx$2346=e.$jscomp$loop$prop$startIdx$2345+c.length;e.$jscomp$loop$prop$paths$2344=dp(this.currentTracker,g.componentPathInfo);
g={componentId:h,name:g.name,description:g.description,trackId:"component:"+h,accessLimit:g.accessLimit,trackerId:g.trackerId,completionCfg:{type:"component",startIdx:e.$jscomp$loop$prop$startIdx$2345,endIdx:e.$jscomp$loop$prop$endIdx$2346,completionValue:""+h,matchingString:c},componentPath:e.$jscomp$loop$prop$paths$2344.componentPathId.map(function(l){return function(q,v){return{trackId:"subcomponent:"+q,id:""+q,name:String(l.$jscomp$loop$prop$paths$2344.componentPathName[v]),completionCfg:{type:"component",
completionValue:String(q),startIdx:l.$jscomp$loop$prop$startIdx$2345,endIdx:l.$jscomp$loop$prop$endIdx$2346}}}}(e))};d.push(g)}return d};
var a_c=function(a,b){var c=b.value.val;if(!a.sessionIsInternal||!c||En(c,!0))return Promise.reject(null);var d=zk();$H(a.teamsService,c).pipe(qe(a.destroyed$)).subscribe(function(e){var g=b.value.idx,h=g+c.length,l=[],q={};e=k(e);for(var v=e.next();!v.done;q={$jscomp$loop$prop$pathNames$2348:q.$jscomp$loop$prop$pathNames$2348},v=e.next())v=v.value,q.$jscomp$loop$prop$pathNames$2348=v.pathNames,v={trackId:"team:"+v.teamId,name:v.name,id:v.teamId,label:"Team "+v.teamId,pathIds:v.pathIds,pathNames:v.pathNames,
description:v.description,completionCfg:{type:"team",startIdx:g,endIdx:h,completionValue:String(v.teamId),matchingString:c},teamPath:v.pathIds.map(function(y){return function(B,I){return{trackId:"team:"+B,id:B,name:y.$jscomp$loop$prop$pathNames$2348[I],completionCfg:{type:"team",completionValue:String(B),startIdx:g,endIdx:h}}}}(q))},l.push(v);d.resolve(l)},function(){d.reject()});return d.promise},LZc=function(a,b){if(!b.label||"componentid"!==b.label.val&&"c"!==b.label.val)return Promise.reject(null);
var c=new zZc;b=b.value.val;return En(b,!0)?(Dp(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)},OZc=function(a,b){if(!a.isTrackerSearchEnabled()||!b.label||"trackerid"!==b.label.val)return Promise.reject(null);var c=new AZc,d=zk();b=b.value.val;En(b)?a.trackerFridge.watchOne(b).pipe(qe(a.destroyed$)).subscribe(function(e){c.tracker=
e;d.resolve(c)}):b&&d.resolve(c);return d.promise},QZc=function(a,b){if(!a.sessionIsInternal||!b.label||"teamid"!==b.label.val)return Promise.reject(null);var c=new BZc,d=zk(),e=b.value.val;En(e,!0)?(Dp(e,"+")&&(e=e.slice(0,e.length-1),c.includeChildren=!0),$H(a.teamsService,e).pipe(qe(a.destroyed$)).subscribe(function(g){0<g.length?(g=g[0],c.team={pathNames:g.pathNames,name:g.name,description:g.description}):c.team={pathNames:[e],name:e,description:""};d.resolve(c)},function(){c.team={pathNames:[e],
name:e,description:""};d.resolve(c)})):d.resolve(c);return d.promise},MZc=function(a,b){if(!b.label||"hotlistid"!==b.label.val&&"h"!==b.label.val)return Promise.reject(null);var c=new CZc;b=b.value.val;return En(b)?a.hotlistApi.get(b).then(function(d){c.hotlist=d;return c}):b?Promise.reject(null):Promise.resolve(c)},NZc=function(a,b){if(!b.label||"savedsearchid"!==b.label.val)return Promise.reject(null);var c=new DZc;b=b.value.val;return En(b)?a.savedSearchApi.get(b).then(function(d){c.savedSearch=
d;return c}):b?Promise.reject(null):Promise.resolve(c)},PZc=function(a,b){if(b.label&&b.label.customFieldId)var c=b.label.customFieldId;else if(Jg(b.value.val,"customfield"))(b=b.value.val.match("^customfield(\\d+)"))&&(c=b[1]),jl("search-usage","customfield");else return Promise.reject(null);var d=new EZc;return c?a.customFieldsApi.get(c).then(function(e){d.customField=e;return d}):Promise.resolve(d)},$Zc=function(a,b){var c=b.value.val;if(!a.isTrackerSearchEnabled()||!c||En(c,!0))return Promise.reject(null);
var d=zk();a.trackerFridge.watchMany({filter:c,pageSize:5}).pipe(qe(a.destroyed$)).subscribe(function(e){var g=b.value.idx,h=g+c.length,l=[];e=k(e.results);for(var q=e.next();!q.done;q=e.next())q=q.value,l.push({trackId:"trackerid:"+q.trackerId,name:q.name,trackerId:q.trackerId,label:"Tracker "+q.trackerId,completionCfg:{type:"tracker",startIdx:g,endIdx:h,completionValue:q.trackerId,matchingString:c}});d.resolve(l)});return d.promise},XZc=function(a,b){return En(b.value.val)?Promise.reject(null):
a.userApi.getUserHotlists().then(function(c){c=c.map(function(d){var e=d.hotlistId;return{hotlistId:e,name:d.name,trackId:"hotlist:"+e,completionCfg:{type:"hotlist",completionValue:""+e}}});return Fn(c,b.value,!1,!0)})},YZc=function(a,b){return En(b.value.val)?Promise.reject(null):a.userApi.getUserSavedSearches().then(function(c){c=c.map(function(d){var e=d.searchId;return{searchId:e,name:d.name,query:d.query,trackId:"savedsearch:"+e,completionCfg:{type:"savedsearch",completionValue:""+e}}});return Fn(c,
b.value,!1,!0)})};D1.\u0275fac=function(a){return new (a||D1)(w(hH),w(gI),w(LK),w(fG),w(ZG),w(iU),w(mV),w(YH),w(rp))};D1.\u0275prov=nc({token:D1,factory:D1.\u0275fac,providedIn:"root"});
var ZZc="accepted assigned closed duplicate fixed infeasible intended_behavior new not_reproducible obsolete open verified".split(" ").map(function(a){return Gn(a,"status","Status","status")}),d_c="bug customer_issue feature_request internal_cleanup process vulnerability privacy_issue project feature milestone epic story task".split(" ").map(function(a){return Gn(a,"bugType","Type","type")}),b_c=["p0","p1","p2","p3","p4"].map(function(a){return Gn(a,"priority","Priority","priority")}),c_c=["s0","s1",
"s2","s3","s4"].map(function(a){return Gn(a,"severity","Severity","severity")}),TZc=["all","true","false"].map(function(a){return Gn(a,"archived","Archived","archived")}),WZc=["abuse","pii","user_request","retention"].map(function(a){return Gn(a,"deletionReason","Deletion Reason","deletionreason")});var E1=function(a){this.cdr=a;this.optionsChange=new tu};E1.prototype.ngOnInit=function(){Ceb(this)};
var Ceb=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},Deb=function(a){a.validator&&(a.errorString=a.validator(),a.cdr.detectChanges())},e_c=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);Deb(a)},f_c=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(", ")};E1.\u0275fac=function(a){return new (a||E1)(D(wH,2))};
E1.\u0275cmp=zc({type:E1,selectors:[["slo-element-property-picker"]],inputs:{selectAllText:"selectAllText",validator:"validator",options:"options"},outputs:{optionsChange:"optionsChange"},features:[Xe([wH])],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),S(4),S(5," \u00a0 "),J(),K(6,"mat-icon",3),J()(),H(7,"mat-menu",null,4)(9,"div",5),O("click",function(d){return e_c(b,d)}),H(10,"mat-checkbox",6),O("change",function(d){b.selectAllValue=d.checked;return e_c(b)}),S(11),J()(),K(12,"mat-divider"),R(13,Eeb,4,3,"div",7),T(14,"keyvalue"),J(),R(15,Feb,2,1,"div",8),J());if(a&2){var c=Se(8);C(1);Ie("ng-invalid",!!b.errorString);G("matMenuTriggerFor",c);C(3);Te(" ",f_c(b)," ");C(5);Ae("aria-checked",b.selectAllValue);C(1);G("checked",
!!b.selectAllValue)("indeterminate",null===b.selectAllValue);C(1);Te(" ",b.selectAllText," ");C(2);G("ngForOf",U(14,10,b.options.propertyValues));C(2);G("ngIf",!!b.errorString)}},dependencies:[Su,Tu,yy,jz,VN,PA,NA,OA,TL,dv],styles:["[_nghost-%COMP%]   .gmat-button[_ngcontent-%COMP%] {padding: 0 10px;}\n[_nghost-%COMP%]   .bv2-property-picker-summary-text[_ngcontent-%COMP%] {text-align: left;}"]});
var g_c=function(a,b){this.displayString=a;this.value=b},h_c=function(a){this.propertyValues=a},i_c=function(a){for(var b=k(Object.keys(a.propertyValues)),c=b.next();!c.done;c=b.next())if(a.propertyValues[c.value].value)return!0;return!1},jfb=function(a){for(var b=k(Object.keys(a.propertyValues)),c=b.next();!c.done;c=b.next())if(!a.propertyValues[c.value].value)return!1;return!0};h_c.prototype.setAll=function(a){for(var b in this.propertyValues)this.propertyValues[b].value=a};var F1=function(){};F1.\u0275fac=function(a){return new (a||F1)};F1.\u0275mod=Bc({type:F1});F1.\u0275inj=oc({imports:[MF,zO,QA,mU,WB,YA]});var j_c=function(a,b){this.name=a;this.secondsPerUnit=b},Neb=new j_c("minute",60),Oeb=new j_c("hour",3600),Peb=new j_c("day",86400),G1=function(){this.errorString=null;this.objectiveDurationChange=new tu;this.objectiveBusinessDaysChange=new tu;this.intervalUnit=Peb};G1.prototype.ngOnInit=function(){k_c(this)};G1.prototype.ngOnChanges=function(a){[a.objectiveBusinessDays,a.objectiveDuration,a.dayType].some(function(b){return b&&!b.isFirstChange()})&&k_c(this)};
var Ieb=function(a,b){b=b.name;1!==Ig(a.intervalString)&&(b+="s");return b},Meb=function(a){return"BUSINESS"===a.dayType},k_c=function(a){!Meb(a)&&l_c(a,Peb)||l_c(a,Oeb)||l_c(a,Neb);if(0!=a.objectiveBusinessDays||""!=a.businessDayString)a.businessDayString=""+a.objectiveBusinessDays},l_c=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):(Meb(a)?[Neb,Oeb]:[Neb,Oeb,Peb]).includes(a.intervalUnit)||
(a.intervalUnit=b),!0):!1},Geb=function(a){a.errorString=a.validator(a.intervalString,a.businessDayString);Keb(a);Leb(a)},Keb=function(a){a.objectiveDuration.seconds=a.intervalUnit.secondsPerUnit*(Ig(a.intervalString)||0);a.objectiveDurationChange.emit(a.objectiveDuration)},Leb=function(a){a.objectiveBusinessDays=Ig(a.businessDayString)||0;a.objectiveBusinessDaysChange.emit(a.objectiveBusinessDays)};G1.\u0275fac=function(a){return new (a||G1)};
G1.\u0275cmp=zc({type:G1,selectors:[["slo-objective-selector"]],inputs:{isDisabled:"isDisabled",validator:"validator",dayType:"dayType",objectiveDuration:"objectiveDuration",objectiveBusinessDays:"objectiveBusinessDays"},outputs:{objectiveDurationChange:"objectiveDurationChange",objectiveBusinessDaysChange:"objectiveBusinessDaysChange"},features:[Mc],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&&(R(0,Qeb,6,6,"span",0),R(1,Ueb,3,2,"span",1));a&2&&(G("ngIf",!b.isDisabled),C(1),G("ngIf",b.isDisabled))},dependencies:[Su,
Tu,Af,tv,zv,CO,Ay],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}\n/*# sourceMappingURL=slo_objective_selector.css.map */']});var H1=function(){this.typeStringToJSPB=new Map([["BUG",1],["FEATURE_REQUEST",2],["CUSTOMER_ISSUE",3],["INTERNAL_CLEANUP",4],["PROCESS",5],["VULNERABILITY",6],["PRIVACY_ISSUE",7],["PROJECT",8],["FEATURE",9],["MILESTONE",10],["EPIC",11],["STORY",12],["TASK",13]]);this.jspbTypeToString=new Map([[1,"BUG"],[2,"FEATURE_REQUEST"],[3,"CUSTOMER_ISSUE"],[4,"INTERNAL_CLEANUP"],[5,"PROCESS"],[6,"VULNERABILITY"],[7,"PRIVACY_ISSUE"],[8,"PROJECT"],[9,"FEATURE"],[10,"MILESTONE"],[11,"EPIC"],[12,"STORY"],[13,"TASK"]]);
this.priorityStringToJSPB=new Map([["P0",1],["P1",2],["P2",3],["P3",4],["P4",5]]);this.jspbPriorityToString=new Map([[1,"P0"],[2,"P1"],[3,"P2"],[4,"P3"],[5,"P4"]]);this.postmortemValuesToCanonical=new Map([["TRUE","ANY"],["FALSE","NONE"],["ANY","ANY"],["NONE","NONE"]]);this.canonicalGroupQueryKeywordToQueryValue=new Map([["ANY","any"],["NONE","none"]])},p_c=function(a,b){var c=new m_c,d=n_c(b,"type",function(g){var h=g.toUpperCase(),l=new o_c;a.typeStringToJSPB.has(h)?l.value=h:l.error='The string "'+
g+'" is not a valid type';return l});if(d.error)return c.error=d.error,c;var e=k(d.values);for(d=e.next();!d.done;d=e.next())c.types.push(a.typeStringToJSPB.get(d.value));d=n_c(b,"priority",function(g){var h=g.toUpperCase(),l=new o_c;a.priorityStringToJSPB.has(h)?l.value=h:l.error='The string "'+g+'" is not a valid priority';return l});if(d.error)return c.error=d.error,c;e=k(d.values);for(d=e.next();!d.done;d=e.next())c.priorities.push(a.priorityStringToJSPB.get(d.value));b=n_c(b,"postmortem",function(g){var h=
g.toUpperCase(),l=new o_c;a.postmortemValuesToCanonical.has(h)?l.value=h:l.error='The string "'+g+'" is not a valid postmortem value';return l});if(b.error)c.error=b.error;else for(b=k(b.values),d=b.next();!d.done;d=b.next())c.postmortemValues.push(a.postmortemValuesToCanonical.get(d.value));return c},n_c=function(a,b,c){var d=new q_c;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};H1.\u0275fac=function(a){return new (a||H1)(w($I),w(rp))};H1.\u0275prov=nc({token:H1,factory:H1.\u0275fac,providedIn:"root"});var m_c=function(){this.types=[];this.priorities=[];this.postmortemValues=[];this.error=""},q_c=function(){this.values=[];this.error=""},o_c=function(){this.error=this.value=""};var I1=function(){};I1.prototype.validate=function(a){for(var b={},c=k(Object.entries(this.validators)),d=c.next();!d.done;d=c.next()){var e=k(d.value);d=e.next().value;e=e.next().value;e(a.value)||(b[d]=!0)}return Object.keys(b).length?b:null};I1.\u0275fac=function(a){return new (a||I1)};I1.\u0275dir=Cc({type:I1,selectors:[["","customValidators",""]],inputs:{validators:["customValidators","validators"]},features:[Xe([{provide:pv,useExisting:I1,multi:!0}])]});var J1=function(a,b,c){this.constants=a;this.sloParseService=b;this.confirmationDialogService=c;this.collection=[];this.boundCollection=[];this.onCollectionUpdate=new tu;this.onValidation=new tu;this.selectedObjectiveBusinessDays=this.selectedObjectiveDuration=null;this.postmortemAllSummaryValue="Either";this.canPerformActionsInternal=!1;this.openRow=null;this.metricChoices=["METRIC_UNSPECIFIED"].concat(HLc);this.dayTypes=["CALENDAR","BUSINESS"];HLc.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},Ffb=function(a,b,c){kfb(a);a=k(a.collection);for(var d=a.next();!d.done;d=a.next())d.value.canEdit=!1;b.startEditing();c&&c.stopPropagation()},Ifb=function(a,b,c){c=Lfb(a,b,c);var d=c.newOffset;
c.valid&&(kfb(a),qa(a.collection,b),qa(a.boundCollection,b.sloElement),a.collection.splice(d,0,b),a.boundCollection.splice(d,0,b.sloElement),r_c(a))},Lfb=function(a,b,c){b=a.collection.indexOf(b)+c;return{valid:0<=b&&b<a.collection.length,newOffset:b}},kfb=function(a){a=k(a.collection);for(var b=a.next();!b.done;b=a.next())b=b.value,b.stopEditing(),b.canEdit=!0},s_c=function(a,b){var c=b.map(function(d){return new K1(d,a)});a.openRow=null;a.collection=c;a.boundCollection=b;a.canPerformActions=!a.openRow},
cfb=function(a){return"METRIC_UNSPECIFIED"===a?" - ":ILc.get(a)},qfb=function(a,b){return 0!==b&&a.constants.protoIssueTypesDisplayNames.has(b)?a.constants.protoIssueTypesDisplayNames.get(b):" - "},vfb=function(a,b){return 0!==b&&a.constants.protoIssuePrioritiesDisplayNames.has(b)?a.constants.protoIssuePrioritiesDisplayNames.get(b):" - "},lfb=function(a,b){kfb(a);qa(a.collection,b);qa(a.boundCollection,b.sloElement);r_c(a)},Xeb=function(a,b){a.confirmationDialogService.open({title:"Are you sure you'd like to clear all the rules?",
content:yl("This won't take effect until you save the changes, but any local changes will be lost."),onConfirm:function(){a.collection=[];a.boundCollection=[];r_c(a)},onDismiss:function(){}});b.stopPropagation()},Veb=function(a,b){var c=new K1({metric:"METRIC_UNSPECIFIED",matcher:"",dayType:"DAY_TYPE_UNSPECIFIED",objective:{seconds:0,nanos:0},businessDays:0},a,!0);Ffb(a,c);a.collection.splice(b,0,c);a.boundCollection.splice(b,0,c.sloElement);r_c(a)};
J1.prototype.onDrop=function(a){Ifb(this,this.collection[a.previousIndex],a.currentIndex-a.previousIndex)};var r_c=function(a){a.onCollectionUpdate.emit(a.boundCollection)};
gg.Object.defineProperties(J1.prototype,{collectionInput:{configurable:!0,enumerable:!0,set:function(a){s_c(this,a)}},canPerformActions:{configurable:!0,enumerable:!0,set:function(a){this.canPerformActionsInternal=a;this.onValidation.emit(a)},get:function(){return this.canPerformActionsInternal}},isDisabled:{configurable:!0,enumerable:!0,set:function(a){this.isDisabledInternal=a;if(this.collection)for(var b=k(this.collection),c=b.next();!c.done;c=b.next())c=c.value,c.canEdit=!a||this.openRow===c},
get:function(){return this.isDisabledInternal}}});J1.\u0275fac=function(a){return new (a||J1)(D($I),D(H1),D(OI))};
J1.\u0275cmp=zc({type:J1,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","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),S(4,"Rules"),J(),H(5,"a",2),K(6,"b-icon",3),J(),R(7,Yeb,6,3,"span",4),J(),H(8,"table",5)(9,"thead")(10,"tr",6)(11,"th",7),S(12,"Order"),J(),H(13,"th",8),S(14,"Type"),J(),H(15,"th",9),S(16,"Priority"),J(),H(17,"th",10),S(18,"Postmortem"),J(),H(19,"th",11),S(20,"Metric"),J(),H(21,"th",12),S(22,"Objective"),J(),H(23,"th",13),S(24," Day Type "),J(),K(25,"th",14),J()(),
R(26,Ofb,2,3,"tbody",15),J(),H(27,"div"),R(28,Pfb,2,0,"div",16),J()()());a&2&&(C(6),G("name","help-outline")("size","small"),C(1),G("ngIf",!b.isDisabled),C(19),G("ngIf",b.collection&&0!=b.collection.length),C(2),G("ngIf",!b.collection||0==b.collection.length))},dependencies:[Su,Tu,I1,$K,YK,tv,Mv,zv,$M,Yy,PA,NA,OA,CO,Ay,XA,E1,G1],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)}\n/*# sourceMappingURL=slo-elements-picker.css.map */']});
var K1=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=i_c(d.priorityPickerValues)?null:"Priority can't be empty";d.priorityPickerValid=null===e;return e};this.validateTypePicker=function(){var e=i_c(d.typePickerValues)?null:"Type can't be empty";d.typePickerValid=
null===e;return e};this.validatePostmortemPicker=function(){var e=i_c(d.postmortemPickerValues)?null:"Postmortem can't be empty";d.postmortemPickerValid=null===e;return e};this.validateObjective=function(e,g){if("BUSINESS"!==d.selectedDayType){if(!e.match(/^\d+$/)||"0"===e)return d.objectiveValid=!1,"Objective must be a positive integer"}else{if(!e.match(/^\d*$/)||!g.match(/^\d*$/))return d.objectiveValid=!1,"Objective must be a positive integer";if(!(""!==e&&"0"!==e||""!==g&&"0"!==g))return d.objectiveValid=
!1,"A business day or time based duration must be specified."}d.objectiveValid=!0;return null};this.matcherText=a.matcher;this.selectedMetric=a.metric;this.selectedDayType=a.dayType||"CALENDAR";this.selectedObjectiveDuration=t_c(a.objective);this.selectedObjectiveBusinessDays=a.businessDays;this.canEdit=!b.isDisabled;this.metricValidators={required:function(e){return u_c(d,e)}};v_c(this);this.typePickerValues=w_c(this.controllerReference.sloParseService.jspbTypeToString.keys(),function(e){return 0===
d.parseResult.types.length||d.parseResult.types.includes(e)},function(e){return qfb(d.controllerReference,e)});this.priorityPickerValues=w_c(this.controllerReference.sloParseService.jspbPriorityToString.keys(),function(e){return 0===d.parseResult.priorities.length||d.parseResult.priorities.includes(e)},function(e){return vfb(d.controllerReference,e)});this.postmortemPickerValues=w_c(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();u_c(this,this.selectedMetric)},t_c=function(a){return a?a:{seconds:86400,nanos:0}};K1.prototype.isValid=function(){return this.priorityPickerValid&&this.typePickerValid&&this.postmortemPickerValid&&this.metricSelectorValid&&this.objectiveValid};
var u_c=function(a,b){b="METRIC_UNSPECIFIED"!==b;return a.metricSelectorValid=b};
K1.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;x_c(this);this.sloElement.metric=this.selectedMetric;this.sloElement.dayType=this.selectedDayType;this.sloElement.objective=this.selectedObjectiveDuration;this.sloElement.businessDays=this.selectedObjectiveBusinessDays;v_c(this)}};
var x_c=function(a){var b=a.getEnumValues(a.typePickerValues),c=a.getEnumValues(a.priorityPickerValues),d=a.getEnumValues(a.postmortemPickerValues);b=y_c(b,function(g){return a.controllerReference.sloParseService.jspbTypeToString.get(Ig(g))});c=y_c(c,function(g){return a.controllerReference.sloParseService.jspbPriorityToString.get(Ig(g))});d=y_c(d,function(g){return a.controllerReference.sloParseService.canonicalGroupQueryKeywordToQueryValue.get(g)});var e=[];b&&e.push("type:"+b);c&&e.push("priority:"+
c);d&&e.push("postmortem:"+d);a.matcherText=e.join(" ");a.sloElement.matcher=a.matcherText};K1.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 y_c=function(a,b){if(0===a.length)return"";if(1===a.length)return b(a[0]);var c=[];a=k(a);for(var d=a.next();!d.done;d=a.next())c.push(b(d.value));return"("+c.join("|")+")"};
K1.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;v_c(this)}};var v_c=function(a){a.parseResult=p_c(a.controllerReference.sloParseService,a.matcherText)},w_c=function(a,b,c){var d={};a=k(a);for(var e=a.next();!e.done;e=a.next()){e=e.value;var g=b(e),h=c(e);d[""+e]=new g_c(h,g)}return new h_c(d)};var L1=function(){};L1.\u0275fac=function(a){return new (a||L1)};L1.\u0275mod=Bc({type:L1});L1.\u0275inj=oc({imports:[MF,Qv,DO]});var M1=function(){};M1.\u0275fac=function(a){return new (a||M1)};M1.\u0275mod=Bc({type:M1});M1.\u0275inj=oc({imports:[MF]});var N1=function(){};N1.\u0275fac=function(a){return new (a||N1)};N1.\u0275mod=Bc({type:N1});N1.\u0275inj=oc({imports:[MF,M1,aL,Qv,vN,Zy,QA,DO,zC,F1,L1]});var O1=function(a,b,c,d,e){kE.call(this);this.element=a;this.cdr=b;this.location=c;this.paths=d;this.hotkeys=e;this.focusedIndex=0;this.slos=[]};V(O1,kE);O1.\u0275dir=kE.\u0275dir;f=O1.prototype;f.setFocusOnIndex=function(a){this.focusedIndex=a};f.isFocused=function(a){return this.focusedIndex===a};f.selectNext=function(){this.focusedIndex+1>=this.slos.length||(this.focusedIndex++,this.scrollToFocusedIndex())};f.selectPrevious=function(){0>this.focusedIndex-1||(this.focusedIndex--,this.scrollToFocusedIndex())};
f.ngOnInit=function(){var a=this,b=cM(this.hotkeys,{title:"Browse Controls",hotkeys:[{keys:["j","DOWN"],displayAs:"j / Down",description:"Move to the next SLO",onPress:function(){a.selectNext();a.cdr.detectChanges()}},{keys:["k","UP"],displayAs:"k / Up",description:"Move to the previous SLO",onPress:function(){a.selectPrevious();a.cdr.detectChanges()}},{keys:["ENTER"],displayAs:"Enter",description:"View SLO detail",onPress:function(){var c=a.slos[a.focusedIndex];c&&a.editSlo(c);a.cdr.detectChanges()}}]});
this.destroyed$.subscribe(b)};f.scrollToFocusedIndex=function(){var a=this.element.nativeElement.parentElement;if(a){var b,c,d=null==(b=this.element.nativeElement.querySelector("table"))?void 0:null==(c=b.rows)?void 0:c[this.focusedIndex];if(d){b=a.getBoundingClientRect();a=b.top;b=b.bottom;c=d.getBoundingClientRect();var e=c.bottom;c.top<a?d.scrollIntoView(!1):e>b&&d.scrollIntoView(!0)}}};f.renderRowLabel=function(a){return this.slos[a].name};f.editSlo=function(a){this.location.path(this.paths.editSlo(a.sloId))};
O1.\u0275fac=function(a){return new (a||O1)(D(fd),D(wH,2),D(NG),D(OG),D(bM))};
O1.\u0275cmp=zc({type:O1,selectors:[["b-slo-grid"]],inputs:{slos:"slos"},features:[Xe([wH]),xe],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),K(3,"th",2),H(4,"th")(5,"div",3)(6,"div",4)(7,"div",5),S(8," SLO name "),J()()()(),H(9,"th")(10,"div",3)(11,"div",4)(12,"div",5),S(13," Description "),J()()()()()(),H(14,"tbody"),R(15,Qfb,7,7,"tr",6),J()());a&2&&(C(15),G("ngForOf",b.slos))},dependencies:[Su],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 P1=function(){};P1.\u0275fac=function(a){return new (a||P1)};P1.\u0275mod=Bc({type:P1});P1.\u0275inj=oc({imports:[MF]});var Q1=function(a,b){this.log=a;this.dateFormatter=b},A_c=function(a,b){var c=i5a(b.addMask.paths),d=i5a(b.removeMask.paths),e={author:b.author||null,timestamp:b.timestamp||null,diffs:[]},g=b.add;b=b.remove;for(var h=k(new Set([].concat(Jc(c),Jc(d)))),l=h.next();!l.done;l=h.next()){var q=l.value;l=JLc.get(q);if("name"===q){var v=pn(d,q,b.name);q=pn(c,q,g.name);e.diffs.push(qn(l,v,q))}else if("description"===q)v=pn(d,q,b.description),q=pn(c,q,g.description),e.diffs.push(qn(l,v,q));else if("parentId"===
q)v=pn(d,q,String(b.parentId)),q=pn(c,q,String(g.parentId)),e.diffs.push(qn(l,v,q));else if("elements"===q){var y=g.elements;v=j5a(d,q,b.elements.map(function(B){return z_c(B)}));q=j5a(c,q,y.map(function(B){return z_c(B)}));e.diffs.push({fieldName:l,diffType:"COLLECTION",diff:{removed:v,added:q}})}else a.log.error("Unsupported diff field.")}return e},z_c=function(a){var b=a.matcher,c=ILc.get(a.metric),d=gfb.get(a.dayType),e=[];0<a.businessDays&&e.push(a.businessDays+" day"+(1<a.businessDays?"s":""));
0<a.objective.seconds&&e.push(ctc(1E3*a.objective.seconds));a=e.join(", ");return'("'+b+'", '+c+") - "+(d+" days - "+a)};Q1.\u0275fac=function(a){return new (a||Q1)(w(YF),w(AK))};Q1.\u0275prov=nc({token:Q1,factory:Q1.\u0275fac,providedIn:"root"});var R1=function(){};R1.\u0275fac=function(a){return new (a||R1)};R1.\u0275mod=Bc({type:R1});R1.\u0275inj=oc({imports:[MF,PN,YY,Rv,DO]});var S1=function(){};S1.\u0275fac=function(a){return new (a||S1)};S1.\u0275mod=Bc({type:S1});S1.\u0275inj=oc({imports:[MF,FY,WB,Qy]});var D_c=function(a,b){this.$log=b;this.templateAttributes={};this.templateCustomFields={};b=k(B_c);for(var c=b.next();!c.done;c=b.next())if(c=c.value,a[c]){var d=a[c],e=void 0;Array.isArray(d)?e=d.map(function(g){return"string"===typeof g?Lg(g):""}):e="string"===typeof d?Lg(d):"";this.templateAttributes[c]=e}b=k(C_c);for(c=b.next();!c.done;c=b.next())c=c.value,a[c]&&(this.templateAttributes[c]=a[c]);if(a=a.customFields)for(a=Array.isArray(a)?a:[a],a=k(a),b=a.next();!b.done;b=a.next())c=b.value.split(":"),
b=c[0],c=c.slice(1).join(":"),nj(c)||(this.templateCustomFields[b]=c)},F_c=function(a){return 0!==Object.keys(a.templateCustomFields||{}).length||E_c.some(function(b){return null!=a.templateAttributes[b]})},K_c=function(a,b,c){null!=c&&(G_c(a,c),H_c(a,b,c),I_c(b,c));c=k(Object.entries(a.templateAttributes));for(var d=c.next();!d.done;d=c.next()){var e=k(d.value);d=e.next().value;e=e.next().value;J_c[d](b,e)}a.templateAttributes={};a.templateCustomFields={}},H_c=function(a,b,c){null==b.customField&&
(b.customField=[]);for(var d={},e=k(b.customField),g=e.next();!g.done;g=e.next())g=g.value,d[g.customFieldId]=g;e={};g=k(Object.entries(a.templateCustomFields));for(var h=g.next();!h.done;e={$jscomp$loop$prop$customFieldId$2350:e.$jscomp$loop$prop$customFieldId$2350},h=g.next()){var l=k(h.value);h=l.next().value;l=l.next().value;e.$jscomp$loop$prop$customFieldId$2350=Ig(h);l={customFieldId:e.$jscomp$loop$prop$customFieldId$2350,value:l};h=a.getCustomFieldValue(l,c);null!=d[e.$jscomp$loop$prop$customFieldId$2350]?
(l=b.customField.findIndex(function(q){return function(v){return v.customFieldId===q.$jscomp$loop$prop$customFieldId$2350}}(e)),b.customField[l]=h):(b.customField.push(h),d[l.customFieldId]=h)}};
D_c.prototype.getCustomFieldValue=function(a,b){var c=new Og(a);if(a.value){b=this.getCustomFieldType(c,b);var d=[];switch(b){case "TEXT":c.textValue=a.value;break;case "DATE":c.dateValue=wsa(a.value)||void 0;break;case "ENUM":c.enumValue=a.value;break;case "NUMERIC":c.numericValue=xsa(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 wsa(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 xsa(e)}).filter(function(e){return null!==e});c.repeatedNumericValue={values:d};break;default:this.$log.warn("Invalid custom field type '"+b+"'.")}}return c};D_c.prototype.getCustomFieldType=function(a,b){var c,d;return null!=(d=null==(c=b[a.customFieldId])?void 0:c.type)?d:""};
var G_c=function(a,b){a.templateCustomFields=Ub(a.templateCustomFields,function(c,d){return!!b[d]})},I_c=function(a,b){if(null!=a.customField){var c={};a=k(a.customField);for(var d=a.next();!d.done;c={$jscomp$loop$prop$allowedValues$2352:c.$jscomp$loop$prop$allowedValues$2352},d=a.next()){d=d.value;var e=b[d.customFieldId];if(e&&e.type&&e.type.includes("ENUM")){c.$jscomp$loop$prop$allowedValues$2352=e.allowedValue||[];var g=e.required&&e.typedDefaultValue;e.type.includes("REPEATED")?(d.repeatedEnumValue=
d.repeatedEnumValue||{values:[]},d.repeatedEnumValue.values=d.repeatedEnumValue.values.filter(function(h){return function(l){return h.$jscomp$loop$prop$allowedValues$2352.includes(l)}}(c)),!d.repeatedEnumValue.values.length&&g&&(d.repeatedEnumValue=e.typedDefaultValue.repeatedEnumValue)):c.$jscomp$loop$prop$allowedValues$2352.includes(d.enumValue)||(d.enumValue=g?e.typedDefaultValue.enumValue:"")}}}},L_c=new $I,M_c=L_c.priorities,N_c=L_c.severities,O_c=L_c.issueTypes,B_c="title type priority severity assignee verifier reporter collaborators cc hotlistIds blockedByIssueIds blockingIssueIds foundIn targetedTo".split(" "),
C_c=["inProd"],E_c="severity foundIn inProd reporter verifier targetedTo blockedByIssueIds blockingIssueIds".split(" "),T1={},J_c=(T1.cc=function(a,b){a.ccUsers=Ufb(b,a.ccUsers||[])},T1.collaborators=function(a,b){a.collaboratorsUsers=Ufb(b,a.collaboratorsUsers||[])},T1.title=function(a,b){"string"===typeof b&&(a.title=b)},T1.assignee=function(a,b){Tfb(b,function(c){a.assigneeUser=c})},T1.reporter=function(a,b){Tfb(b,function(c){a.reporterUser=c})},T1.verifier=function(a,b){Tfb(b,function(c){a.verifierUser=
c})},T1.hotlistIds=function(a,b){if(b=Rfb(b)){a.hotlistId||(a.hotlistId=[]);b=k(b);for(var c=b.next();!c.done;c=b.next())a.hotlistId.push(c.value)}},T1.blockingIssueIds=function(a,b){if(b=Rfb(b))a.blockingIssueId=b.map(String)},T1.blockedByIssueIds=function(a,b){if(b=Rfb(b))a.blockedByIssueId=b.map(String)},T1.foundIn=function(a,b){"string"===typeof b&&(a.foundInVersion=b.split(","))},T1.targetedTo=function(a,b){"string"===typeof b&&(a.targetedToVersion=b.split(","))},T1.inProd=function(a,b){a.inProd=
"true"===b},T1.priority=function(a,b){if(b=Sfb(M_c,b))a.priority=ck(b)},T1.severity=function(a,b){if(b=Sfb(N_c,b))a.severity=Ewa(b)},T1.type=function(a,b){if(b=Sfb(O_c,b))a.type=Dwa(b)},T1);var U1=function(a,b){this.issueRelationshipApi=a;this.issueApi=b};
U1.prototype.bulkEdit=function(a){var b=this,c,d,e,g,h,l,q,v,y,B,I,N,Q;return Ld(function(Z){switch(Z.nextAddress){case 1:c=a.actions[0];d=String(c.value);e=a.issueIds;g=c.actionType;if("ADD"!==g&&"REMOVE"!==g)throw Error("oe");h={};l=[];q=[];v=Swa(e);y=k(v.reverse());B=y.next();case 2:if(B.done){Z.jumpTo(4);break}I=B.value;Md(Z,5);return"ADD"===g?(N=I.map(function(Y){return JE(new IE,Number(Y))}),Z.yield((0,F.firstValueFrom)(Wic(b.issueRelationshipApi,d,N)),8)):Z.yield((0,F.firstValueFrom)(Xic(b.issueRelationshipApi,
d,I)),8);case 8:return Z.yield(b.issueApi.batchGetIssues(I).then(function(Y){return Y.map(function(ka){return h[ka.issueId]=ka})}),11);case 11:xp(Z,3);break;case 5:Q=Pd(Z);if(!Bk(Q))throw Q;q.push(Q);l.push.apply(l,Jc(I));case 3:B=y.next();Z.jumpTo(2);break;case 4:return Z.return({finishedIssues:h,notFinishedIssueIds:l,errors:q})}})};U1.\u0275fac=function(a){return new (a||U1)(w(YE),w(FE))};U1.\u0275prov=nc({token:U1,factory:U1.\u0275fac,providedIn:"root"});var V1=function(a,b){kE.call(this);this.routerEvents=a;this.bLocation=b;this.history=[]};V(V1,kE);V1.\u0275dir=kE.\u0275dir;V1.prototype.install=function(){var a=this;this.subscriptions.add(this.routerEvents.routeChangeSuccess.subscribe(function(){a.history.push(a.bLocation.url());21<a.history.length&&a.history.shift()}))};V1.prototype.ngOnDestroy=function(){this.subscriptions.unsubscribe()};V1.prototype.hasPreviousPage=function(){return 1<this.history.length};
var W1=function(a){if(a.hasPreviousPage()){a.history.pop();var b=a.history.pop();b?a.bLocation.url(b):a.bLocation.url("/")}else a.bLocation.url("/")};V1.\u0275fac=function(a){return new (a||V1)(w(zH),w(NG))};V1.\u0275prov=nc({token:V1,factory:V1.\u0275fac,providedIn:"root"});var X1=function(a,b,c){this.bLocation=a;this.routeParams=b;this.domSafe=c},P_c=function(a,b,c){var d=a.routeParams.redirectUrl;if(d&&d.startsWith("http")){if(c&&Dp(d,"id=")||Dp(d,"bugId="))d+=c;rsc(a.domSafe,d)}else{var e;a.bLocation.replaceUrl(null!=(e=d)?e:b)}};X1.\u0275fac=function(a){return new (a||X1)(w(NG),w(qJ),w(rK))};X1.\u0275prov=nc({token:X1,factory:X1.\u0275fac,providedIn:"root"});var Y1=function(a,b){kE.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||(Umc("appNavStart"),c.mostRecentlyMeasured="")};this.onNavSuccess=function(){c.ignoringNextNav?c.ignoringNextNav=!1:c.validNavigations++}};V(Y1,kE);Y1.\u0275dir=kE.\u0275dir;
Y1.prototype.install=function(){var a=this;WAa()&&(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(Zd(function(b){return"visible"!==b}),ge()).subscribe(function(){a.tabWasHidden=!0})))};
var Q_c=function(a,b){Umc(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)&&WAa())if(null===b)console.warn("window.performance does not support endMark `null`");else try{window.performance.measure(e,c,b)}catch(g){console.warn("route_performance",g)}}};Y1.\u0275fac=function(a){return new (a||Y1)(w(zH),w(Z1))};
Y1.\u0275prov=nc({token:Y1,factory:Y1.\u0275fac,providedIn:"root"});var Z1=function(a){var b=this;this.window=a;this.visibilityState$=(0,F.fromEvent)(this.window.document,"visibilityChange").pipe(oe(void 0),E(function(){return b.currentVisibility}))};gg.Object.defineProperties(Z1.prototype,{currentVisibility:{configurable:!0,enumerable:!0,get:function(){return this.window.document.visibilityState}}});Z1.\u0275fac=function(a){return new (a||Z1)(w(jE))};
Z1.\u0275prov=nc({token:Z1,factory:Z1.\u0275fac,providedIn:"root"});var R_c=RegExp("action/issues/([0-9]+)/"),S_c=new Hc("ETAG_URL_TRANSFORMERS"),a2=function(a){this.transformers=a;this.etagStore={};this.IF_MATCH_METHODS=["POST","PUT","DELETE"]};a2.prototype.intercept=function(a,b){if(this.IF_MATCH_METHODS.includes(a.method)){var c=this.getEtag(a);c&&a.headers&&(a=a.clone({headers:a.headers.set("If-Match",c)}))}if(c=R_c.exec(a.url))this.issueId=c[1];return T_c(this,a,b)};
var T_c=function(a,b,c){return c.handle(b).pipe(re(function(d){if(d instanceof yw){var e=d.headers;e.has("etag")&&a.setEtag(b,e.get("etag"));d=d.body;if(d instanceof CE&&a.issueId)for(d=k(yg(d,$i,1)),e=d.next();!e.done;e=d.next()){e=k(e.value.getAttachmentsList());for(var g=e.next();!g.done;g=e.next())if(g=g.value,g.hasEtag()){var h=a.issueId,l=g.getAttachmentId();h=new ww("GET","action/issues/"+h+"/attachments/"+l);a.setEtag(h,g.getEtag())}}}}))};
a2.prototype.setEtag=function(a,b){null!=b&&(a=U_c(this,a),this.etagStore[a]=b)};a2.prototype.getEtag=function(a){a=U_c(this,a);return this.etagStore[a]};var U_c=function(a,b){b=b.url;var c;a=k(null!=(c=a.transformers)?c:[]);for(c=a.next();!c.done;c=a.next())if(c=c.value,(c=c(b))&&c!==b)return c;return b};a2.\u0275fac=function(a){return new (a||a2)(w(S_c,8))};a2.\u0275prov=nc({token:a2,factory:a2.\u0275fac,providedIn:"root"});var V_c={provide:YZb,useClass:a2,multi:!0};var W_c={provide:S_c,useValue:function(a){return a.replace(/(action\/components\/[0-9]+)\/(move|updateSlo|updateTeam)/,"$1")},multi:!0},X_c={provide:S_c,useValue:function(a){return a.replace(/(action\/hotlists\/[0-9]+)\/archive/,"$1")},multi:!0};var b2=function(a){this.activeSession=a};b2.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)};b2.\u0275fac=function(a){return new (a||b2)(w(rp))};b2.\u0275prov=nc({token:b2,factory:b2.\u0275fac,providedIn:"root"});var Y_c={provide:YZb,useClass:b2,multi:!0};var c2=function(a){this.http=a};V(c2,BC);f=c2.prototype;f.get=function(a){return this.request("get",a)};f.delete=function(a){return this.request("delete",a)};f.post=function(a){return this.request("post",a,a.body)};f.put=function(a){return this.request("put",a,a.body)};f.request=function(a,b,c){var d=b.options;d=void 0===d?{}:d;d={headers:d.headers||{},params:Object.assign({},d.params)};var e;c=null!=(e=null==c?void 0:c.toJSON())?e:null;return this.http.request(a,b.url,Object.assign({},d,{body:c})).pipe(E(Vfb(b.responseConstructor)))};
c2.\u0275fac=function(a){return new (a||c2)(w(zw))};c2.\u0275prov=nc({token:c2,factory:c2.\u0275fac,providedIn:"root"});var d2=function(a){this.jspbExecutor=a};V(d2,CC);d2.prototype.get=function(a){return(0,F.firstValueFrom)(this.jspbExecutor.get(a))};d2.prototype.delete=function(a){return(0,F.firstValueFrom)(this.jspbExecutor.delete(a))};d2.prototype.post=function(a){return(0,F.firstValueFrom)(this.jspbExecutor.post(a))};d2.prototype.put=function(a){return(0,F.firstValueFrom)(this.jspbExecutor.put(a))};
d2.\u0275fac=function(a){return new (a||d2)(w(c2))};d2.\u0275prov=nc({token:d2,factory:d2.\u0275fac,providedIn:"root"});var e2=function(){};e2.\u0275fac=function(a){return new (a||e2)};e2.\u0275mod=Bc({type:e2});e2.\u0275inj=oc({providers:[{provide:nG,useClass:pG},{provide:$pc,useClass:fJ},{provide:gJ,useClass:hJ},{provide:Xjc,useClass:wF},{provide:Yjc,useClass:vF},{provide:Zjc,useClass:DF},{provide:fG,useClass:gG},{provide:mI,useClass:oI},{provide:FE,useClass:HE},{provide:pY,useClass:qY},{provide:hH,useClass:kH},{provide:iH,useClass:jH},{provide:BC,useClass:c2},{provide:CC,useClass:d2}],imports:[MF]});var Z_c=function(a){this.lookupId_=a;this.displayName_="";this.forceDisplayNameOverride_=!1};f=Z_c.prototype;f.getId=function(){return this.lookupId_};f.setDisplayName=function(a){this.displayName_=a;return this};f.getDisplayName=function(){return this.displayName_};f.getForceDisplayNameOverride=function(){return this.forceDisplayNameOverride_};
f.equals=function(a){return a?this===a?!0:this.getId().equals(a.getId())&&this.getDisplayName()===a.getDisplayName()&&this.getForceDisplayNameOverride()===a.getForceDisplayNameOverride():!1};var Po=function(a){r.call(this,a)};V(Po,r);Po.prototype.getEntryPoint=function(){return Fh(this,5,0)};Po.prototype.setEntryPoint=function(a){return n(this,5,a)};Po.prototype.toObject=function(){return f2(this)};var f2=function(a){if(null!=a)return t(a),{autocompleteField:p(m(a,1)),autocompletePerson:p(m(a,2)),suggestionField:p(m(a,3)),suggestionPerson:p(m(a,4)),entryPoint:Fh(a,5,0)}},g2=[Po,1,Nq,2,Nq,3,Nq,4,Nq,5,Nq];Po.prototype.serializeBinary=u(g2);var Ro=function(a){r.call(this,a)};V(Ro,r);Ro.prototype.getEntryPoint=function(){return Fh(this,1,0)};Ro.prototype.setEntryPoint=function(a){return n(this,1,a)};Ro.prototype.toObject=function(){return $_c(this)};var $_c=function(a){if(null!=a)return t(a),{entryPoint:Fh(a,1,0),additionEventSources:f2(W(a,Po,2)),replacementEventSources:f2(W(a,Po,3))}},a0c=[Ro,1,Nq,2,X,g2,3,X,g2];Ro.prototype.serializeBinary=u(a0c);var h2=function(a){r.call(this,a)};V(h2,r);h2.prototype.getQuery=function(){return mh(this,1,"")};h2.prototype.setQuery=function(a){return n(this,1,a)};h2.prototype.clearQuery=function(){Qp(this,1)};h2.prototype.hasQuery=function(){return jj(this,1)};var b0c=function(a,b){n(a,3,b)};h2.prototype.getAffinityVersion=function(){return Ag(this,7)};h2.prototype.setAffinityVersion=function(a){n(this,7,a)};h2.prototype.getAffinityVersionOrUndefined=function(){return cq(this,7)};
var c0c=function(a){var b=FFc();n(a,8,Pa(b))};f=h2.prototype;f.getSources=function(){return W(this,Po,10)};f.getInstanceId=function(){return mh(this,11,"")};f.setInstanceId=function(a){return n(this,11,a)};f.clearInstanceId=function(){Qp(this,11)};f.hasInstanceId=function(){return jj(this,11)};f.getInstanceIdOrUndefined=function(){return eq(this,11)};f.toObject=function(){return d0c(this)};
var d0c=function(a){if(null!=a)return t(a),{query:mh(a,1,""),querySessionId:Wh(a,3,0),selectSessionId:Wh(a,4,0),submitSessionId:Wh(a,5,0),cacheUpdatedTimestamp:Wh(a,6,0),affinityVersion:p(Cb(a,7)),callTimestampMs:Xh(a,8,0),resultTimestampMs:Xh(a,9,0),sources:f2(a.getSources()),instanceId:mh(a,11,""),contextualSources:$_c(W(a,Ro,12))}},e0c=[h2,1,Cq,3,pq,4,pq,5,pq,6,pq,7,wq,8,iq,9,iq,10,X,g2,11,Cq,12,X,a0c];h2.prototype.serializeBinary=u(e0c);var Lo=function(a){r.call(this,a)};V(Lo,r);f=Lo.prototype;f.getPersonLoggingId=function(){return mh(this,1)};f.setPersonLoggingId=function(a){n(this,1,a)};f.getFieldLoggingId=function(){return mh(this,2)};f.setFieldLoggingId=function(a){n(this,2,a)};f.setFieldValue=function(a){return n(this,3,a)};f.clearFieldValue=function(){return Qp(this,3)};f.getName=function(){return mh(this,4)};f.setName=function(a){return n(this,4,a)};f.hasName=function(){return jj(this,4)};
f.getNameOrUndefined=function(){return eq(this,4)};f.getContactId=function(){return mh(this,5)};f.setContactId=function(a){n(this,5,a)};f.getProfileId=function(){return mh(this,6)};f.getProfileId_legacyNullable=function(){return m(this,6)};f.setProfileId=function(a){return n(this,6,a)};f.hasProfileId=function(){return jj(this,6)};f.getFieldType=function(){return Fh(this,7,0)};f.getFieldType_legacyNullable=function(){return m(this,7)};f.setFieldType=function(a){n(this,7,a)};
f.getFieldTypeOrUndefined=function(){return Qo(this,7)};f.getIsPlaceholder=function(){return vi(this,10,!1)};f.setIsPlaceholder=function(a){xi(this,10,a)};f.getGroupId=function(){return mh(this,11)};f.setGroupId=function(a){n(this,11,a)};f.hasGroupId=function(){return jj(this,11)};f.toObject=function(){return f0c(this)};
var f0c=function(a){if(null!=a)return t(a),{personLoggingId:p(m(a,1)),fieldLoggingId:p(m(a,2)),fieldValue:p(m(a,3)),name:p(m(a,4)),contactId:p(m(a,5)),profileId:p(m(a,6)),fieldType:p(m(a,7)),personType:p(m(a,8)),isFlattened:vi(a,9,!0),isPlaceholder:vi(a,10,!1),groupId:p(m(a,11))}},g0c=[Lo,1,Cq,2,Cq,3,Cq,4,Cq,5,Cq,6,Cq,7,Nq,8,Nq,9,zq,10,zq,11,Cq];Lo.prototype.serializeBinary=u(g0c);var Ko=function(a){r.call(this,a)};V(Ko,r);f=Ko.prototype;f.getProvenance=function(){return Fh(this,3,0)};f.setProvenance=function(a){return n(this,3,a)};f.getContext=function(){return Fh(this,5,0)};f.getExistingSelectionsCount=function(){return Ag(this,6,0)};f.setExistingSelectionsCount=function(a){n(this,6,a)};f.toObject=function(){return h0c(this)};
var h0c=function(a){if(null!=a)return t(a),{fieldPosition:Ag(a,1,0),personPosition:Ag(a,2,0),provenance:Fh(a,3,0),valueOriginator:Fh(a,4,0),context:Fh(a,5,0),existingSelectionsCount:Ag(a,6,0)}},i0c=[Ko,1,wq,2,wq,3,Nq,4,Nq,5,Nq,6,wq];Ko.prototype.serializeBinary=u(i0c);var Jo=function(a){r.call(this,a)};V(Jo,r);var go=function(a){return W(a,Ko,2)};Jo.prototype.getSessionState=function(){return W(this,h2,3)};Jo.prototype.setSessionState=function(a){Oh(this,h2,3,a)};Jo.prototype.hasSessionState=function(){return qi(this,h2,3)};Jo.prototype.toObject=function(){return j0c(this)};var j0c=function(a){if(null!=a)return t(a),{info:f0c(W(a,Lo,1)),targetState:h0c(go(a)),sessionState:d0c(a.getSessionState()),isClosed:vi(a,4,!1)}},k0c=[Jo,1,X,g0c,2,X,i0c,3,X,e0c,4,zq];
Jo.prototype.serializeBinary=u(k0c);var zo=function(a){r.call(this,a,1)};V(zo,r);var l0c={},m0c={};zo.prototype.toObject=function(){if(null!=this){t(this);var a={};Nb(this,a,l0c)}else a=void 0;return a};zo.prototype.serializeBinary=u([zo,m0c]);var Ho=function(a){r.call(this,a)};V(Ho,r);f=Ho.prototype;f.getType=function(){return Fh(this,1,0)};f.setType=function(a){return n(this,1,a)};f.hasType=function(){return Vh(this,1)};f.getValue=function(){return mh(this,2,"")};f.setValue=function(a){return n(this,2,a)};f.hasValue=function(){return jj(this,2)};f.toObject=function(){if(null!=this){t(this);var a={type:Fh(this,1,0),value:mh(this,2,"")}}else a=void 0;return a};f.serializeBinary=u([Ho,1,Nq,2,Cq]);var i2=function(a){r.call(this,a)};V(i2,r);i2.repeatedFields_=[1,2];i2.prototype.toObject=function(){return n0c(this)};var n0c=function(a){if(null!=a)return t(a),{enabledList:p(Gj(a,1)),disabledList:p(Gj(a,2))}},o0c=[i2,1,Pq,2,Pq];i2.prototype.serializeBinary=u(o0c);var j2=function(a){r.call(this,a)};V(j2,r);f=j2.prototype;f.getEnableClearcut=function(){return vi(this,1,!1)};f.setEnableClearcut=function(a){return xi(this,1,a)};f.getClientId=function(){return Fh(this,2,0)};f.setClientId=function(a){return n(this,2,a)};f.getSocialApplication=function(){return Fh(this,3,0)};f.getSocialApplicationOrUndefined=function(){return Qo(this,3)};f.getComponentFlow=function(){return Fh(this,4,0)};f.setComponentFlow=function(a){return n(this,4,a)};
f.getInterfaceType=function(){return Fh(this,5,0)};f.setInterfaceType=function(a){return n(this,5,a)};f.toObject=function(){return p0c(this)};var p0c=function(a){if(null!=a)return t(a),{enableClearcut:vi(a,1,!1),clientId:Fh(a,2,0),socialApplication:p(m(a,3)),componentFlow:Fh(a,4,0),interfaceType:Fh(a,5,0),enableVeTracking:vi(a,6,!0)}},q0c=[j2,1,zq,2,Nq,3,Nq,4,Nq,5,Nq,6,zq];j2.prototype.serializeBinary=u(q0c);var k2=function(a){r.call(this,a)};V(k2,r);var vgb=function(){var a=fo.getExperiments();return vi(a,6,!1)};k2.prototype.toObject=function(){return r0c(this)};var r0c=function(a){if(null!=a)return t(a),{enableDisambigForAdditionSuggestions:vi(a,1,!1),enableSyntheticVe:vi(a,2,!1),enableOodTag:vi(a,3,!1),enableLegacyReplacementStyling:vi(a,4,!0),enableRafAutocomplete:vi(a,5,!1),enableIsolatedVe:vi(a,6,!1),enableHide:vi(a,7,!1)}},s0c=[k2,1,zq,2,zq,3,zq,4,zq,5,zq,6,zq,7,zq];
k2.prototype.serializeBinary=u(s0c);var l2=function(a){r.call(this,a)};V(l2,r);f=l2.prototype;f.getApplication=function(){return Fh(this,1,0)};f.setApplication=function(a){return n(this,1,a)};f.getApplicationOrUndefined=function(){return Qo(this,1)};f.getIsEnabled=function(){return vi(this,2,!1)};f.toObject=function(){return t0c(this)};var t0c=function(a){if(null!=a)return t(a),{application:Fh(a,1,0),isEnabled:vi(a,2,!1),overriddenExperiments:r0c(W(a,k2,3))}},u0c=[l2,1,Nq,2,zq,3,X,s0c];l2.prototype.serializeBinary=u(u0c);var v0c=function(a){r.call(this,a)};V(v0c,r);v0c.prototype.toObject=function(){return w0c(this)};var w0c=function(a){if(null!=a)return t(a),{refreshIntervalInMs:p(Cb(a,1))}},x0c=[v0c,1,wq];v0c.prototype.serializeBinary=u(x0c);var y0c=function(a){r.call(this,a)};V(y0c,r);y0c.prototype.toObject=function(){return z0c(this)};var z0c=function(a){if(null!=a)return t(a),{refreshIntervalInMs:p(Cb(a,1))}},A0c=[y0c,1,wq];y0c.prototype.serializeBinary=u(A0c);var B0c=function(a){r.call(this,a)};V(B0c,r);B0c.prototype.toObject=function(){return C0c(this)};var C0c=function(a){if(null!=a)return t(a),{waldo:z0c(W(a,y0c,1)),hubAvailabilityDot:w0c(W(a,v0c,2))}},D0c=[B0c,1,X,A0c,2,X,x0c];B0c.prototype.serializeBinary=u(D0c);var E0c=function(a){r.call(this,a)};V(E0c,r);f=E0c.prototype;f.getClearcut=function(){return W(this,j2,1)};f.setClearcut=function(a){Oh(this,j2,1,a)};f.hasClearcut=function(){return qi(this,j2,1)};f.getExperiments=function(){return W(this,l2,2)};f.setExperiments=function(a){Oh(this,l2,2,a)};f.hasExperiments=function(){return qi(this,l2,2)};
f.toObject=function(){if(null!=this){t(this);var a={clearcut:p0c(this.getClearcut()),experiments:t0c(this.getExperiments()),maxUndoStackSize:Vp(this,3,10),enableTargetedCopyOptions:vi(this,4,!1),enableEmailEditing:vi(this,5,!1),hideGroupResultMemberCount:vi(this,6,!1),enableHideSuggestion:vi(this,7,!1),intelligence:C0c(W(this,B0c,8)),enableResultListItemContextMenu:vi(this,9,!1),featureSet:mh(this,10,"all_features"),features:n0c(W(this,i2,11)),featuresKey:mh(this,12,"")}}else a=void 0;return a};
f.serializeBinary=u([E0c,1,X,q0c,2,X,u0c,3,uNb,4,zq,5,zq,6,zq,7,zq,8,X,D0c,9,zq,10,Cq,11,X,o0c,12,Cq]);var F0c=uda(E0c);var G0c;var H0c=function(){this.actionListeners=new Map};H0c.prototype.subscribe=function(a,b){this.actionListeners.has(a)?this.actionListeners.get(a).push(b):this.actionListeners.set(a,[b])};H0c.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)}};
H0c.prototype.notify=function(a){var b=Fc.apply(1,arguments);if(this.actionListeners.has(a)){var c=this.actionListeners.get(a);c=k(c);for(var d=c.next();!d.done;d=c.next()){d=d.value;try{d.apply(null,b)}catch(e){}}}};var I0c=function(){this.actionEventDispatcher=new H0c};var J0c=function(){var a=Wa(G0c||(G0c=F0c("[[true,49,740,4],[7,true]]")));this.injectorService=new I0c;a.hasClearcut()||a.setClearcut(new j2);a.hasExperiments()||a.setExperiments(new l2);this.internal=a};var agb=function(a){this.root=a;this.length=0};f=agb.prototype;f.getItems=function(){return Array.from(this.root.childNodes)};f.append=function(a){this.root.appendChild(a);++this.length};f.insert=function(a,b){if(0>a||a>this.length)throw new RangeError("qe");if(a===this.length)this.append(b);else{var c=this.getItems();this.root.insertBefore(b,c[a]);++this.length}};f.remove=function(a){if(0>a||a>=this.length)throw new RangeError("qe");var b=this.getItems();this.root.removeChild(b[a]);--this.length};
f.clear=function(){c4b(this.root);this.length=0};f.getRoot=function(){return this.root};var Zfb=function(a){return $n('<ul id="'+bo(a.id)+'" peoplekit-id="'+bo("rymPhb")+'" role="listbox" aria-multiselectable="true" class="'+bo("peoplekitComponentsListImplList")+'"></ul>')};var $fb=Rn.getInstance();var Dgb=function(a){this.isActive=!1;this.multiActivateAnchorIndex=this.spotlightIndex=-1;this.secondaryEventTargets=[];this.list=[].concat(Jc(a));this.activeItems=new Set([]);this.hideContextMenu=function(){}};f=Dgb.prototype;
f.remove=function(a,b){var c=-1;a=k(a);for(var d=a.next();!d.done;d=a.next())d=d.value,c=this.list.indexOf(d),this.list.splice(c,1),this.activeItems.delete(d),b||(c<this.spotlightIndex?--this.spotlightIndex:c===this.spotlightIndex&&this.reset());0<=c&&b&&(this.isActive=!1,this.goToIndex(c,0))};
f.insert=function(a,b,c){this.list.splice.apply(this.list,[a,0].concat(Jc(b)));c?(K0c(this),L0c(this,a,a+b.length-1),this.spotlightIndex=a,this.list[this.spotlightIndex].spotlight()):0<=a&&a<=this.spotlightIndex&&(this.spotlightIndex+=b.length)};f.size=function(){return this.list.length};f.prev=function(a){var b=0===this.spotlightIndex&&1===a;!this.list.length||b?a=!1:(this.isActive?(b=this.spotlightIndex-1,b=0<=b?b:this.list.length+b):b=this.list.length-1,a=this.goToIndex(b,a));return a};
f.next=function(a){var b=this.spotlightIndex===this.list.length-1&&1===a;if(!this.list.length||b)a=!1;else{var c;this.isActive?c=(this.spotlightIndex+1)%this.list.length:c=0;a=this.goToIndex(c,a)}return a};f.goToItem=function(a,b){a=this.list.indexOf(a);return this.goToIndex(a,b)};
f.goToIndex=function(a,b){this.hideContextMenu();if(!this.list.length||void 0===a||0>a)return!1;var c=this.isActive?this.spotlightIndex:-1;this.spotlightIndex=Math.max(Math.min(this.list.length-1,a),0);this.isActive&&this.list[c].unspotlight();this.isActive||(this.multiActivateAnchorIndex=a);this.isActive=!0;switch(b){case 0:K0c(this);M0c(this);break;case 3:M0c(this);break;case 1:a=cgb(this.spotlightIndex,c,this.multiActivateAnchorIndex);b=cgb(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);L0c(this,this.multiActivateAnchorIndex,this.spotlightIndex)}this.list[this.spotlightIndex].spotlight();return!0};f.getSpotlitItem=function(){return this.isActive?this.list[this.spotlightIndex]:void 0};f.getActiveItems=function(){var a=this;return this.list.filter(function(b){return a.activeItems.has(b)})};
f.getItem=function(a){for(var b=k(this.list),c=b.next();!c.done;c=b.next()){c=c.value;var d=c.getRoot();if(d===a||d.contains(a))return c}};f.getIndexOf=function(a){return this.list.indexOf(a)};f.clear=function(){this.reset();this.list.length=0};f.reset=function(){this.hideContextMenu();K0c(this);var a=this.getSpotlitItem();a&&a.unspotlight();this.spotlightIndex=-1;this.isActive=!1};f.setSecondaryEventTargets=function(a){this.secondaryEventTargets=a};
f.onKeyDown=function(a){var b=[this.getSpotlitItem()].concat(Jc(this.secondaryEventTargets));b=k(b);for(var c=b.next();!c.done;c=b.next()){var d=void 0;null==(d=c.value)||d.onKeyDown(a);if(a.hasStoppedPropagationInternal)break}};f.onContextMenu=function(a,b){this.hideContextMenu();var c=a.event;if(c=c.target===c.currentTarget?this.getSpotlitItem():this.getItem(c.target))this.hideContextMenu=c.onContextMenu(a,b)};
var M0c=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},K0c=function(a){for(var b=k(a.activeItems),c=b.next();!c.done;c=b.next())c=c.value,c.deactivate(),c.unspotlight();a.activeItems.clear()},L0c=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 N0c=function(a){this.delegate=a};f=N0c.prototype;f.prev=function(a){a=this.delegate.prev(a);O0c(this);return a};f.next=function(a){a=this.delegate.next(a);O0c(this);return a};f.size=function(){return this.delegate.size()};f.goToItem=function(a,b){a=this.delegate.goToItem(a,b);O0c(this);return a};f.goToIndex=function(a,b){a=this.delegate.goToIndex(a,b);O0c(this);return a};f.getSpotlitItem=function(){return this.delegate.getSpotlitItem()};f.getActiveItems=function(){return this.delegate.getActiveItems()};
f.getItem=function(a){return this.delegate.getItem(a)};f.getIndexOf=function(a){return this.delegate.getIndexOf(a)};f.clear=function(){this.delegate.clear()};f.reset=function(){this.delegate.reset()};f.setSecondaryEventTargets=function(a){this.delegate.setSecondaryEventTargets(a)};f.onKeyDown=function(a){this.delegate.onKeyDown(a)};f.onContextMenu=function(a,b){this.delegate.onContextMenu(a,b)};f.remove=function(a,b){this.delegate.remove(a,b)};f.insert=function(a,b,c){this.delegate.insert(a,b,c)};
var O0c=function(a){if(a=a.delegate.getSpotlitItem())if(a=a.getRoot(),Ep){var b=aKc(a);dKc(a,b)}else a.scrollIntoView({block:"nearest"})};var Zgb=function(a){this.root=a;this.length=0;a=this.root;if(void 0!==a.firstElementChild)a=a.firstElementChild;else for(a=a.firstChild;a&&1!=a.nodeType;)a=a.nextSibling;this.marker=a};f=Zgb.prototype;f.append=function(a){this.root.insertBefore(a,this.marker);++this.length};f.insert=function(a,b){if(0>a||a>this.length)throw new RangeError("qe");a===this.length?this.append(b):(this.root.insertBefore(b,this.root.childNodes[a]),++this.length)};
f.remove=function(a){if(0>a||a>=this.length)throw new RangeError("qe");this.removeItem(this.root.childNodes[a])};f.removeItem=function(a){try{this.root.removeChild(a),--this.length}catch(b){}};f.clear=function(){for(;this.root.firstChild&&this.root.firstChild!==this.marker;)this.root.removeChild(this.root.firstChild);this.length=0};f.getRoot=function(){return this.root};f.getItems=function(){return Array.from(this.root.childNodes)};var P0c=function(a,b,c,d){this.loggingToken=d;(new Z_c(a)).setDisplayName(b).forceDisplayNameOverride_=c};P0c.prototype.getLoggingToken=function(){return this.loggingToken};var m2=function(a){this.delegate_=a};f=m2.prototype;f.getDelegate=function(){return this.delegate_};f.getResultType=function(){return this.delegate_.getResultType()};f.getTargetList=function(){return this.delegate_.getTargetList()};f.getMemberList=function(){return this.delegate_.getMemberList()};f.getTotalMemberCount=function(){return this.delegate_.getTotalMemberCount()};f.getPrimaryTarget=function(){return this.delegate_.getPrimaryTarget()};f.getDisplayName=function(){return this.delegate_.getDisplayName()};
f.getDisplayValue=function(){return this.delegate_.getDisplayValue()};f.getDescription=function(){return this.delegate_.getDescription()};f.getPhotoUrl=function(){return this.delegate_.getPhotoUrl()};f.getMatchInfo=function(){return this.delegate_.getMatchInfo()};f.getExtendedData=function(){return this.delegate_.getExtendedData()};var Jn=function(a){this.delegate_=a};V(Jn,m2);f=Jn.prototype;f.getPrimaryTarget=function(){return this.getTargetList()[0]};f.getDisplayName=function(){var a=this.getPrimaryTarget();return a?(a=a.getName())?a.getDisplayName():"":""};f.getPhotoUrl=function(){var a=this.getPrimaryTarget();return a?(a=a.getPhoto())?a.getUrl():"":""};f.getDisplayValue=function(){var a=this.getPrimaryTarget();return a?a.getDisplayValue():""};
f.getDescription=function(){var a=this.getPrimaryTarget();return a?a.getDescription():""};var Q0c=function(){};Q0c.prototype.getDisplayNameMatches=function(){return[]};Q0c.prototype.getDisplayValueMatches=function(){return[]};Q0c.prototype.getGivenNameMatches=function(){return[]};var R0c=new Q0c;var dgb=function(a,b,c){this.resultType_=a;this.targets_=b;this.memberCount_=c};f=dgb.prototype;f.getResultType=function(){return this.resultType_};f.getTargetList=function(){return this.targets_};f.getMemberList=function(){return[]};f.getTotalMemberCount=function(){return this.memberCount_};f.getPrimaryTarget=function(){throw Error("se");};f.getDisplayName=function(){return""};f.getDisplayValue=function(){return""};f.getDescription=function(){return""};f.getPhotoUrl=function(){return""};
f.getMatchInfo=function(){return R0c};f.getExtendedData=function(){return null};var S0c=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 dkb=function(){this.url_="";this.sourceType_=this.type_=0;this.glyph_=""};f=dkb.prototype;f.getUrl=function(){return this.url_};f.setUrl=function(a){this.url_=a||"";return this};f.getType=function(){return this.type_};f.setType=function(a){this.type_=a;return this};f.getSourceType=function(){return this.sourceType_};f.setSourceType=function(a){this.sourceType_=a||0;return this};f.getGlyph=function(){return this.glyph_};f.setGlyph=function(a){this.glyph_=a||"";return this};
var T0c=(new dkb).setType(1).setUrl("https://lh3.googleusercontent.com/a/default-user"),U0c=new dkb;var n2=function(a){this.id_=a;this.value_=this.id_.getOriginalValue();this.description_="";this.name_=null;this.photo_=ho(this.id_)?U0c:T0c;this.tags_=[];this.sourceIds_=Yjb.includes(this.id_.getType())?[this.id_]:[];8===this.id_.getType()&&this.sourceIds_.push(Vjb(this.id_.getOriginalValue()));this.isMe_=17===this.id_.getType();this.dataSource_=0;this.resultType_=S0c.get(this.id_.getType())||0;this.personLoggingId_=this.fieldLoggingId_="";this.orgState_=0;this.extendedData_=this.originatingField_=
null};f=n2.prototype;f.getId=function(){return this.id_};f.getTargetType=function(){return this.id_.getType()};f.getValue=function(){return this.value_};f.setValue=function(a){this.value_=(a||"").trim();return this};f.getDisplayValue=function(){switch(this.getTargetType()){case 8:var a=this.getOriginatingField();return a&&a.getValue()||"";case 1:case 2:case 6:case 7:return this.getValue();default:return""}};f.getName=function(){return this.name_};f.setName=function(a){this.name_=a;return this};
f.getDescription=function(){return this.description_};f.setDescription=function(a){this.description_=a||"";return this};f.getPhoto=function(){return this.photo_};f.setPhoto=function(a){a&&a.getUrl()&&1!==a.getType()?this.photo_=a:this.photo_=ho(this.id_)?U0c:T0c};f.getTagList=function(){return this.tags_};var fkb=function(a,b){a.tags_=b||[]};f=n2.prototype;f.getSourceIdList=function(){return this.sourceIds_};
f.getProfileId=function(){return this.getSourceIdList().filter(function(a){return 3===a.getType()}).map(function(a){return a.getOriginalValue()}).find(Boolean)||""};f.getContactId=function(){return this.getSourceIdList().filter(function(a){return 4===a.getType()}).map(function(a){return a.getOriginalValue()}).find(Boolean)||""};f.getLoggingToken=function(){return new Jo};f.getIsMe=function(){return this.isMe_};var akb=function(a,b){a.isMe_=b;return a};
n2.prototype.getIsPersonalResult=function(){return 1===this.dataSource_};n2.prototype.getDataSource=function(){return this.dataSource_};n2.prototype.setDataSource=function(a){this.dataSource_=a;return this};n2.prototype.getResultType=function(){return this.resultType_};var bkb=function(a,b){a.resultType_=b};f=n2.prototype;f.getFieldLoggingId=function(){return this.fieldLoggingId_};f.setFieldLoggingId=function(a){this.fieldLoggingId_=a||""};f.getPersonLoggingId=function(){return this.personLoggingId_};
f.setPersonLoggingId=function(a){this.personLoggingId_=a||""};f.getOrgState=function(){return this.orgState_};var ekb=function(a,b){a.orgState_=b};n2.prototype.getOriginatingField=function(){return this.originatingField_};n2.prototype.setOriginatingField=function(a){this.originatingField_=a;return this};var ro=function(a){return new n2(a)};n2.prototype.getExtendedData=function(){return this.extendedData_};n2.prototype.setExtendedData=function(a){this.extendedData_=a};var V0c=function(a){this.internalId=a;this.displayNameOverride="";this.forceDisplayNameOverride=!1;a=ro(this.internalId).setDataSource(3);this.internalResult=new Jn(egb(0,[a]));this.internalSelectionToken=new P0c(this.internalId,this.displayNameOverride,this.forceDisplayNameOverride,null)};f=V0c.prototype;f.id=function(){return this.internalId};f.selectionToken=function(){return this.internalSelectionToken};f.targets=function(){return this.internalResult.getTargetList()};f.result=function(){return this.internalResult};
f.getForceDisplayNameOverride=function(){return this.forceDisplayNameOverride};f.getDisplayNameWithOverrideApplied=function(){return this.displayNameOverride};f.isPlaceholder=function(){return!0};var Bgb=function(a,b){this.root=a;this.options=b};f=Bgb.prototype;f.activate=function(){this.root.classList.add("isActive")};f.deactivate=function(){this.root.classList.remove("isActive")};f.spotlight=function(){};f.unspotlight=function(){};f.getRoot=function(){return this.root};f.getSelection=function(){return new V0c(Xjb(this.options.id))};f.toggleSelection=function(){};f.onKeyDown=function(){};f.onContextMenu=function(){return function(){}};var Agb=function(a){var b=a.keyboardShortcut,c=a.densityClass,d=a.ariaLabel,e=a.id,g=a.iconUrl;a=a.label;Array.isArray(b);b='<div role="menuitem" id="'+bo(e)+'" peoplekit-id="'+bo("UhZROb")+'" class="'+bo("peoplekitComponentsContextmenuitemImplMenuItem")+" "+bo(c)+'"'+(d?' aria-label="'+bo(d)+'"':"")+'><div class="'+bo("peoplekitComponentsContextmenuitemImplRow")+'">'+(g?'<img class="'+bo("peoplekitComponentsContextmenuitemImplIcon")+" "+bo("peoplekitComponentsContextmenuitemImplLeft")+'" src="'+
bo(nJc(g))+'" draggable="false" alt=""/>':"")+'<div class="'+bo("peoplekitComponentsContextmenuitemImplLabel")+" "+bo("peoplekitComponentsContextmenuitemImplCenter")+'">'+co(a)+"</div>"+(0<b.length?'<div class="'+bo("peoplekitComponentsContextmenuitemImplKeyboardShortcut")+" "+bo("peoplekitComponentsContextmenuitemImplRight")+'"><span dir="ltr">'+co(YIc(b).join("+"))+"</span></div>":"")+"</div></div>";return $n(b)};var W0c=function(a){r.call(this,a)};V(W0c,r);W0c.prototype.toObject=function(){return X0c(this)};var X0c=function(a){if(null!=a)return t(a),{}},Y0c=[W0c];W0c.prototype.serializeBinary=u(Y0c);var Z0c=function(a){r.call(this,a)};V(Z0c,r);Z0c.prototype.toObject=function(){return $0c(this)};var $0c=function(a){if(null!=a)return t(a),{exampleBooleanFlag:vi(a,1,!1),exampleIntegerFlag:Ag(a,2,42)}},a1c=[Z0c,1,zq,2,wq];Z0c.prototype.serializeBinary=u(a1c);var b1c=function(a){r.call(this,a)};V(b1c,r);b1c.prototype.toObject=function(){return c1c(this)};var c1c=function(a){if(null!=a)return t(a),{}},d1c=[b1c];b1c.prototype.serializeBinary=u(d1c);var e1c=function(a){r.call(this,a)};V(e1c,r);e1c.prototype.toObject=function(){return f1c(this)};var f1c=function(a){if(null!=a)return t(a),{enableProjectLean:vi(a,1,!1),enableEmailAddressMatching:vi(a,2,!1),enableFilterNonPrimarySignupEmail:vi(a,3,!1),enableSmartaddressCounterfactualLogging:vi(a,4,!1),enableExtensibleLookupcache:vi(a,5,!1)}},g1c=[e1c,1,zq,2,zq,3,zq,4,zq,5,zq];e1c.prototype.serializeBinary=u(g1c);var h1c=function(a){r.call(this,a)};V(h1c,r);h1c.prototype.toObject=function(){return i1c(this)};var i1c=function(a){if(null!=a)return t(a),{enableProjectLean:vi(a,1,!1)}},j1c=[h1c,1,zq];h1c.prototype.serializeBinary=u(j1c);var k1c=function(a){r.call(this,a)};V(k1c,r);k1c.prototype.toObject=function(){return l1c(this)};var l1c=function(a){if(null!=a)return t(a),{enablePopulousV2:vi(a,1,!0)}},m1c=[k1c,1,zq];k1c.prototype.serializeBinary=u(m1c);var n1c=function(a){r.call(this,a)};V(n1c,r);n1c.prototype.toObject=function(){return o1c(this)};var o1c=function(a){if(null!=a)return t(a),{}},p1c=[n1c];n1c.prototype.serializeBinary=u(p1c);var o2=function(a){r.call(this,a)};V(o2,r);o2.prototype.getIsEnabled=function(){return vi(this,1,!1)};o2.prototype.toObject=function(){return q1c(this)};var q1c=function(a){if(null!=a)return t(a),{isEnabled:vi(a,1,!1),answer:Wh(a,2,42)}},r1c=[o2,1,zq,2,pq];o2.prototype.serializeBinary=u(r1c);var Nn=function(a){r.call(this,a)};V(Nn,r);Nn.prototype.getRequestType=function(){return Fh(this,1,0)};Nn.prototype.setRequestType=function(a){return n(this,1,a)};Nn.prototype.toObject=function(){return s1c(this)};
var s1c=function(a){if(null!=a)return t(a),{requestType:p(m(a,1)),testExperimentFlags:q1c(W(a,o2,101)),hovercardExperimentsRoot:X0c(W(a,W0c,102)),peopleIntelligenceExperimentsRoot:c1c(W(a,b1c,103)),populousExperimentsRoot:f1c(W(a,e1c,104)),sendkitExperimentsRoot:l1c(W(a,k1c,105)),integrationExampleFeature:$0c(W(a,Z0c,106)),peoplekitExperimentsRoot:r0c(W(a,k2,107)),populousLeanExperimentFlags:i1c(W(a,h1c,108)),sharekitExperimentsRoot:o1c(W(a,n1c,109))}},t1c=[Nn,1,Nq,101,X,r1c,102,X,Y0c,103,X,d1c,104,
X,g1c,105,X,m1c,106,X,a1c,107,X,s0c,108,X,j1c,109,X,p1c];Nn.prototype.serializeBinary=u(t1c);var u1c=function(){var a=new Nn,b=new k2;this.experimentFlags_=Oh(a,k2,107,b)};u1c.prototype.getExperimentFlags=function(){return this.experimentFlags_};u1c.prototype.getExperimentIds=function(){return[]};var gjb=function(a,b){this.cache=b;this.overriddenExperiments=W(a,k2,3)||new k2};gjb.prototype.getExperiments=function(){var a,b=(null==(a=this.cache.getExperimentFlags())?void 0:W(a,k2,107))||new k2;a=this.overriddenExperiments;if(pj(a,3)){var c=vi(a,3,!1);xi(b,3,c)}pj(a,4)&&(a=vi(a,4,!0),xi(b,4,a));return b};gjb.prototype.getExperimentIds=function(){return this.cache.getExperimentIds()};var v1c=function(a){r.call(this,a)};V(v1c,r);f=v1c.prototype;f.getCacheStaleSec=function(){return Ag(this,4,14400)};f.getCacheExpiredSec=function(){return Ag(this,5,1209600)};f.getRpcTimeoutSec=function(){return Ag(this,7,60)};f.getApiKey=function(){return mh(this,8,"")};f.setApiKey=function(a){return n(this,8,a)};f.getEnableClearcut=function(){return vi(this,13,!0)};f.setEnableClearcut=function(a){return xi(this,13,a)};
f.toObject=function(){if(null!=this){t(this);var a={minimumCacheRefreshSec:Ag(this,3,1800),cacheStaleSec:Ag(this,4,14400),cacheExpiredSec:Ag(this,5,1209600),rpcTimeoutSec:Ag(this,7,60),apiKey:mh(this,8,""),apiRoot:p(m(this,10)),cacheRefreshRateSec:Ag(this,11,14400),maxRefreshCount:Ag(this,12,18),enableClearcut:vi(this,13,!0)}}else a=void 0;return a};f.serializeBinary=u([v1c,3,wq,4,wq,5,wq,7,wq,8,Cq,10,Cq,11,wq,12,wq,13,zq]);var djb=uda(v1c);var cjb;var w1c=function(){};w1c.prototype.getExperimentFlags=function(){return new Nn};w1c.prototype.getExperimentIds=function(){return[]};var oo=function(){};oo.prototype.prefetch=function(){};oo.prototype.loadExperiments=function(){return new w1c};var p2=function(a){r.call(this,a)};V(p2,r);p2.prototype.getVersion=function(){return Wh(this,1)};p2.prototype.setVersion=function(a){return n(this,1,a)};p2.prototype.getVersionOrUndefined=function(){return dq(this,1)};p2.prototype.toObject=function(){return x1c(this)};var x1c=function(a){if(null!=a)return t(a),{version:p(m(a,1))}},y1c=[p2,1,pq];p2.prototype.serializeBinary=u(y1c);var q2=function(a){r.call(this,a)};V(q2,r);f=q2.prototype;f.getApplication=function(){return Fh(this,1,0)};f.setApplication=function(a){return n(this,1,a)};f.getApplicationOrUndefined=function(){return Qo(this,1)};f.getVersion=function(){return Wh(this,2)};f.setVersion=function(a){return n(this,2,a)};f.getVersionOrUndefined=function(){return dq(this,2)};f.toObject=function(){return z1c(this)};var z1c=function(a){if(null!=a)return t(a),{application:p(m(a,1)),version:p(m(a,2))}},A1c=[q2,1,Nq,2,pq];
q2.prototype.serializeBinary=u(A1c);var B1c=function(a){r.call(this,a)};V(B1c,r);f=B1c.prototype;f.getRequestType=function(){return Fh(this,1,0)};f.setRequestType=function(a){return n(this,1,a)};f.getProfileId=function(){return mh(this,2)};f.getProfileId_legacyNullable=function(){return m(this,2)};f.setProfileId=function(a){return n(this,2,a)};f.hasProfileId=function(){return jj(this,2)};f.getCaller=function(){return W(this,p2,3)};f.setCaller=function(a){return Oh(this,p2,3,a)};f.getInstanceId=function(){return mh(this,4)};
f.setInstanceId=function(a){return n(this,4,a)};f.clearInstanceId=function(){Qp(this,4)};f.hasInstanceId=function(){return jj(this,4)};f.getInstanceIdOrUndefined=function(){return eq(this,4)};f.getClient=function(){return W(this,q2,5)};f.setClient=function(a){return Oh(this,q2,5,a)};f.hasClient=function(){return qi(this,q2,5)};
f.toObject=function(){if(null!=this){t(this);var a={requestType:Fh(this,1,0),profileId:p(m(this,2)),caller:x1c(this.getCaller()),instanceId:p(m(this,4)),client:z1c(this.getClient())}}else a=void 0;return a};f.serializeBinary=u([B1c,1,Nq,2,Cq,3,X,y1c,4,Cq,5,X,A1c]);var Kn=function(a){r.call(this,a)};V(Kn,r);f=Kn.prototype;f.getErrorType=function(){return Fh(this,2,1)};f.setErrorType=function(a){return n(this,2,a)};f.getErrorMessage=function(){return mh(this,3)};f.setErrorMessage=function(a){n(this,3,a)};f.toObject=function(){return C1c(this)};var C1c=function(a){if(null!=a)return t(a),{errorType:Fh(a,2,1),errorMessage:p(m(a,3))}},D1c=[Kn,2,Nq,3,Cq];Kn.prototype.serializeBinary=u(D1c);var Mn=function(a){r.call(this,a)};V(Mn,r);f=Mn.prototype;f.getExperimentFlags=function(){return W(this,Nn,1)};f.setExperimentFlags=function(a){return Oh(this,Nn,1,a)};f.hasExperimentFlags=function(){return qi(this,Nn,1)};f.getError=function(){return W(this,Kn,2)};f.setError=function(a){Oh(this,Kn,2,a)};f.hasError=function(){return qi(this,Kn,2)};f.getSource=function(){return Fh(this,3,0)};f.setSource=function(a){return n(this,3,a)};f.hasSource=function(){return Vh(this,3)};
f.getSourceOrUndefined=function(){return Qo(this,3)};f.getInstanceId=function(){return mh(this,4)};f.setInstanceId=function(a){return n(this,4,a)};f.clearInstanceId=function(){Qp(this,4)};f.hasInstanceId=function(){return jj(this,4)};f.getInstanceIdOrUndefined=function(){return eq(this,4)};f.getExperimentIdsList=function(){return xg(this,5)};f.setExperimentIdsList=function(a){return bb(this,5,a,Sa)};f.getExperimentIds=function(){return Xp(this,5)};
f.setExperimentIds=function(a){fb(this,5,a,void 0,xg)};Mn.repeatedFields_=[5];Mn.prototype.toObject=function(){if(null!=this){t(this);var a={experimentFlags:s1c(this.getExperimentFlags()),error:C1c(this.getError()),source:p(m(this,3)),instanceId:p(m(this,4)),experimentIdsList:p(xg(this,5))}}else a=void 0;return a};Mn.prototype.serializeBinary=u([Mn,1,X,t1c,2,X,D1c,3,Nq,4,Cq,5,xq]);var E1c=function(a,b){this.client_=a;this.runtime_=b;ggb();this.apiKey_=a.getApiKey();this.apiRoot_=mh(this.client_,10)||vOa("peoplestackwebexperiments-pa",this.runtime_.getPeopleApiEnv())};E1c.prototype.getClient=function(){return this.client_};E1c.prototype.getApiKey=function(){return this.apiKey_};var r2=function(a){r.call(this,a)};V(r2,r);f=r2.prototype;f.getExperimentFlags=function(){return W(this,Nn,1)};f.setExperimentFlags=function(a){return Oh(this,Nn,1,a)};f.hasExperimentFlags=function(){return qi(this,Nn,1)};f.getObfuscatedGaiaId=function(){return m(this,2)};f.getObfuscatedGaiaId_legacyNullable=function(){return m(this,2)};f.setObfuscatedGaiaId=function(a){n(this,2,a)};f.getExperimentIdsList=function(){return xg(this,3)};f.setExperimentIdsList=function(a){return bb(this,3,a,Sa)};
f.getExperimentIds=function(){return Xp(this,3)};f.setExperimentIds=function(a){fb(this,3,a,void 0,xg)};var F1c=Sb(r2);r2.repeatedFields_=[3];r2.prototype.toObject=function(){if(null!=this){t(this);var a={experimentFlags:s1c(this.getExperimentFlags()),obfuscatedGaiaId:p(m(this,2)),experimentIdsList:p(xg(this,3))}}else a=void 0;return a};r2.prototype.serializeBinary=u([r2,1,X,t1c,2,Cq,3,xq]);var G1c=function(a){var b=void 0;b=void 0===b?Date.now:b;this.clientConfig_=a;this.now_=b},H1c=function(a,b,c){a=a.now_()-1E3*c;return b>a};G1c.prototype.getCacheState=function(a){var b=Ag(this.clientConfig_.getClient(),3,1800);if(H1c(this,a,b))return 1;b=this.clientConfig_.getClient().getCacheStaleSec();if(H1c(this,a,b))return 2;b=this.clientConfig_.getClient().getCacheExpiredSec();return H1c(this,a,b)?3:4};var Ln=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};V(Ln,Error);var I1c=function(a,b){b=void 0===b?null:b;var c=igb(a);a=a.getProfileId()||b;return c&&a?JSON.stringify([c,a]):null},J1c=new Ln(6);var K1c=function(){};var s2=function(){};Cp(s2,K1c);s2.prototype.getCount=function(){for(var a=0,b=k(this),c=b.next();!c.done;c=b.next())a++;return a};s2.prototype[Symbol.iterator]=function(){return lmc(this.__iterator__(!0)).toEs6()};s2.prototype.clear=function(){var a=Array.from(this);a=k(a);for(var b=a.next();!b.done;b=a.next())this.remove(b.value)};var L1c=function(a){this.storage_=a};Cp(L1c,s2);f=L1c.prototype;f.set=function(a,b){try{this.storage_.setItem(a,b)}catch(c){if(0==this.storage_.length)throw"Storage mechanism: Storage disabled";throw"Storage mechanism: Quota exceeded";}};f.get=function(a){a=this.storage_.getItem(a);if("string"!==typeof a&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a};f.remove=function(a){this.storage_.removeItem(a)};f.getCount=function(){return this.storage_.length};
f.__iterator__=function(a){var b=0,c=this.storage_,d=new PG;d.next=function(){if(b>=c.length)return kmc;var e=c.key(b++);if(a)return{value:e,done:!1};e=c.getItem(e);if("string"!==typeof e)throw"Storage mechanism: Invalid value was encountered";return{value:e,done:!1}};return d};f.clear=function(){this.storage_.clear()};f.key=function(a){return this.storage_.key(a)};var lgb=function(){var a=null;try{a=window.localStorage||null}catch(b){}this.storage_=a};Cp(lgb,L1c);var t2=function(a,b){this.mechanism_=a;this.prefix_=b+"::"};Cp(t2,s2);t2.prototype.set=function(a,b){this.mechanism_.set(this.prefix_+a,b)};t2.prototype.get=function(a){return this.mechanism_.get(this.prefix_+a)};t2.prototype.remove=function(a){this.mechanism_.remove(this.prefix_+a)};
t2.prototype.__iterator__=function(a){var b=this.mechanism_[Symbol.iterator](),c=this,d=new PG;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 pgb=function(a,b){var c=void 0,d=void 0;b=void 0===b?new lgb:b;c=void 0===c?P5b:c;d=void 0===d?M5b:d;this.clientConfig_=a;this.transformer_=new G1c(this.clientConfig_);this.localStorage_=b;this.serializeJson_=c;this.isValidJson_=d;this.prefix_="PeopleStackExperiments";this.storage_=new t2(this.localStorage_,this.prefix_)};
pgb.prototype.set=function(a,b){var c=I1c(a,b.getObfuscatedGaiaId_legacyNullable());if(!c)throw J1c;a={keyPath:c,experiments:b.serialize(),lastUpdated:Date.now(),instanceId:a.getInstanceId()};this.storage_.set(c,this.serializeJson_(a));return c};
pgb.prototype.get=function(a){a=I1c(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:F1c(a.experiments),lastUpdated:new Date(a.lastUpdated),state:b.getCacheState(a.lastUpdated),instanceId:a.instanceId}}else a=null;return a};pgb.prototype.delete=function(a){this.storage_.remove(a);return!0};
pgb.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 qgb=function(a){var b=void 0;b=void 0===b?new Map:b;this.clientConfig_=a;this.transformer_=new G1c(this.clientConfig_);this.cache_=b};qgb.prototype.set=function(a,b){var c=I1c(a,b.getObfuscatedGaiaId_legacyNullable());if(!c)throw J1c;a={keyPath:c,experiments:b,lastUpdated:new Date,state:1,instanceId:a.getInstanceId()};this.cache_.set(c,a);return c};
qgb.prototype.get=function(a){a=I1c(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};qgb.prototype.delete=function(a){this.cache_.delete(a);return!0};qgb.prototype.clean=function(){var a=this;this.cache_.forEach(function(b,c){4===a.transformer_.getCacheState(b.lastUpdated.getTime())&&a.cache_.delete(c)})};var M1c=function(){};f=M1c.prototype;f.start=function(){};f.stop=function(){};f.count=function(){};f.latency=function(){};f.error=function(){};f.status=function(){};f.logError=function(){};var u2=function(a){r.call(this,a)};V(u2,r);f=u2.prototype;f.getCaller=function(){return W(this,p2,1)};f.setCaller=function(a){return Oh(this,p2,1,a)};f.getClient=function(){return W(this,q2,2)};f.setClient=function(a){return Oh(this,q2,2,a)};f.hasClient=function(){return qi(this,q2,2)};f.toObject=function(){return N1c(this)};var N1c=function(a){if(null!=a)return t(a),{caller:x1c(a.getCaller()),client:z1c(a.getClient())}},O1c=[u2,1,X,y1c,2,X,A1c];u2.prototype.serializeBinary=u(O1c);var P1c=function(a){r.call(this,a)};V(P1c,r);f=P1c.prototype;f.getRequestType=function(){return Fh(this,1,0)};f.setRequestType=function(a){return n(this,1,a)};f.setProperties=function(a){return Oh(this,u2,3,a)};f.getInstanceId=function(){return mh(this,4)};f.setInstanceId=function(a){return n(this,4,a)};f.clearInstanceId=function(){Qp(this,4)};f.hasInstanceId=function(){return jj(this,4)};f.getInstanceIdOrUndefined=function(){return eq(this,4)};
f.toObject=function(){if(null!=this){t(this);var a={requestType:p(m(this,1)),properties:N1c(W(this,u2,3)),instanceId:p(m(this,4))}}else a=void 0;return a};f.serializeBinary=u([P1c,1,Nq,3,X,O1c,4,Cq]);var Q1c=new YB("/peoplestackwebexperiments.PeopleStackExperimentsService/GetExperimentFlags",P1c,r2,function(a){return a.serialize()},F1c);var R1c=function(a){this.client_=new pC({format:"jspb"});this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};R1c.prototype.getExperimentFlags=function(a,b){return qC(this.client_,this.hostname_+"/$rpc/peoplestackwebexperiments.PeopleStackExperimentsService/GetExperimentFlags",a,b||{},Q1c)};var S1c=function(a,b){this.clientRequest_=a;this.rpcClient_=b;this.metric_=new M1c};S1c.prototype.getMetric=function(){return this.metric_};S1c.prototype.send=function(a){var b=this,c;return Ld(function(d){var e=(new u2).setCaller(b.clientRequest_.getCaller()).setClient(b.clientRequest_.getClient());c=(new P1c).setRequestType(b.clientRequest_.getRequestType()).setInstanceId(b.clientRequest_.getInstanceIdOrUndefined()).setProperties(e);return d.return(b.rpcClient_.getExperimentFlags(c,a))})};
S1c.prototype.close=function(){};S1c.prototype.processResponse=function(a){return a};var T1c=function(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b;a.reject=c})};var U1c=function(a,b){this.config_=a;this.request_=b;this.resolver_=new T1c;this.rpcPromise_=null;this.state_=0};f=U1c.prototype;f.resultPromise=function(){return this.resolver_.promise};f.isPending=function(){return 1===this.state_};f.cancel=function(){switch(this.state_){case 1:this.rpcPromise_.cancel();break;case 0:this.state_=2,this.rpcPromise_=A4b(new Kz),this.resolver_.reject(1)}};
f.send=function(){var a=this;if(0!==this.state_)return this.resultPromise();var b=uOa(this.config_.apiKey);this.config_.customAuthHeaders&&(b=Object.assign({},b,this.config_.customAuthHeaders));this.state_=1;b=this.request_.send(b);this.rpcPromise_=K4b(D4b([b,T4b(1E3*this.config_.timeoutSec,"TIMEOUT")]),function(){a.state_=2}).then(function(c){return a.onResponse_(c)},function(c){return a.onError_(c)});return this.resultPromise()};
f.onResponse_=function(a){if(a&&"TIMEOUT"!==a){try{var b=this.request_.processResponse(a)}catch(c){this.onError_(c,2);return}this.resolver_.resolve(b);this.request_.close(0)}else this.onError_(a)};
f.onError_=function(a,b){b=void 0===b?0:b;if("TIMEOUT"===a)var c=4;else a instanceof Kz?c=1:a&&"object"===typeof a?(c=a.code||2,2===c&&(c=Em("result.error.code",a)||a.status,c=Number(c),c=bHc.has(c)?bHc.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 V1c=Symbol("te"),W1c=function(){};W1c.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[V1c]=d)}return c})};var X1c=function(a){this.request_=a;this.metric_=this.request_.getMetric();this.metric_.start("total");this.metric_.start("blocked");this.contentLength_=0};X1c.prototype.getMetric=function(){return this.metric_};X1c.prototype.send=function(a){this.metric_.stop("blocked");this.metric_.count();this.metric_.start("network");return this.request_.send(a)};
X1c.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[V1c]||0}};X1c.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 Y1c=function(a){this.config_=a;this.pendingRpcs_=new Set},$1c=function(a,b){b=new X1c(b);b=new U1c(a.config_,b);a.pendingRpcs_.add(b);Z1c(a,b);return b.resultPromise()},Z1c=function(a,b){Ld(function(c){if(1==c.nextAddress)return Md(c,2,3),c.yield(b.send(),3);if(2!=c.nextAddress)return Nd(c),a.pendingRpcs_.delete(b),Od(c,0);Pd(c);return c.jumpTo(3)})};var ngb=function(a){this.clientConfig_=a;this.inflightRequests_=new Map;a={apiKey:this.clientConfig_.getApiKey(),timeoutSec:this.clientConfig_.getClient().getRpcTimeoutSec()};this.dispatcher_=new Y1c(a);this.rpcClient_=new R1c(this.clientConfig_.apiRoot_)},b2c=function(a,b){var c,d,e,g;return Ld(function(h){switch(h.nextAddress){case 1:var l=a2c(b);if(c=a.inflightRequests_.get(l)||null)return h.return(c);d=new S1c(b,a.rpcClient_);Md(h,2,3);e=$1c(a.dispatcher_,d);l=a2c(b);a.inflightRequests_.set(l,
e);return h.yield(e,5);case 5:return g=h.yieldResult,h.return(g);case 3:Nd(h);l=a2c(b);a.inflightRequests_.delete(l);Od(h,0);break;case 2:throw Pd(h),Error("ue");}})},a2c=function(a){a=igb(a);if(!a)throw J1c;return a};var c2c=function(a){r.call(this,a)};V(c2c,r);f=c2c.prototype;f.getInstanceId=function(){return mh(this,1)};f.setInstanceId=function(a){return n(this,1,a)};f.clearInstanceId=function(){Qp(this,1)};f.hasInstanceId=function(){return jj(this,1)};f.getInstanceIdOrUndefined=function(){return eq(this,1)};f.getRequestId=function(){return mh(this,2)};f.getRequestType=function(){return Fh(this,4,0)};f.setRequestType=function(a){return n(this,4,a)};f.getSourceType=function(){return Fh(this,6,0)};
f.setSourceType=function(a){return n(this,6,a)};f.getClient=function(){return Fh(this,7,0)};f.setClient=function(a){return n(this,7,a)};f.hasClient=function(){return Vh(this,7)};f.getErrorType=function(){return Fh(this,8,0)};f.setErrorType=function(a){return n(this,8,a)};
f.toObject=function(){if(null!=this){t(this);var a={instanceId:p(m(this,1)),requestId:p(m(this,2)),durationUsec:p(m(this,3)),requestType:p(m(this,4)),requestOrigin:p(m(this,5)),sourceType:p(m(this,6)),client:p(m(this,7)),errorType:p(m(this,8))}}else a=void 0;return a};f.serializeBinary=u([c2c,1,Cq,2,Cq,3,pq,4,Nq,5,Nq,6,Nq,7,Nq,8,Nq]);var ogb=function(a){var b=a.getClient();a=a.runtime_.getPeopleApiEnv();this.logContext_=No(new Oo,"PeopleExperiments").setEnvironment(a).setLogSource(1250).setVersion("1.0.1").setBaselineCl(536574007).setEnableClearcut(b.getEnableClearcut())};f=ogb.prototype;f.getLogContext=function(){return this.logContext_};f.createCountMetric=function(){throw Error("bb");};f.createStatusMetric=function(){throw Error("bb");};f.createErrorMetric=function(){throw Error("bb");};
f.createLatencyMetric=function(a,b){a=b.source();b=Math.round(1E3*b.duration());n(a,3,b);return a};var d2c=function(a,b){this.metrics_=a;this.state_=new jS(b);this.label_="total";this.source=b};d2c.prototype.start=function(){this.metrics_.start(this.state_,this.label_)};d2c.prototype.stop=function(){this.metrics_.stop(this.state_,this.label_);this.metrics_.latency(this.state_)};var rgb=function(a,b){this.worker_=a;this.metrics_=po(b)},e2c=function(a,b){var c=new c2c,d=ggb();c=n(c,2,d).setRequestType(a.getRequestType());return n(c,5,b).setClient(a.getClient().getApplicationOrUndefined())};
rgb.prototype.updateExperimentsCache=function(a,b){b=void 0===b?2:b;var c=this,d,e,g,h;return Ld(function(l){if(1==l.nextAddress)return d=e2c(a,b),e=new d2c(c.metrics_,d),e.start(),l.yield(c.worker_.updateExperimentsCache(a,b),2);g=l.yieldResult;d.setSourceType(g.getSourceOrUndefined());d.setInstanceId(g.getInstanceIdOrUndefined());(h=g.getError())&&d.setErrorType(h.getErrorType());e.stop();return l.return(g)})};
rgb.prototype.getCachedExperiments=function(a,b){b=void 0===b?0:b;var c=e2c(a,b),d=new d2c(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 f2c=function(a){this.timer=a;this.count=0},tgb=function(a,b){this.clientConfig_=a;this.worker_=b;this.refreshers_=new Map;this.refreshRateMs_=1E3*Ag(this.clientConfig_.getClient(),11,14400);this.eventHandler_=new Tn(this)};tgb.prototype.updateExperimentsCache=function(a,b){try{return g2c(this,a),this.worker_.updateExperimentsCache(a,b)}catch(c){return Promise.resolve(kgb(c))}};tgb.prototype.getCachedExperiments=function(a,b){try{return g2c(this,a),this.worker_.getCachedExperiments(a,b)}catch(c){return kgb(c)}};
var g2c=function(a,b){var c=igb(b);if(!c)throw new Ln(6);if(a.refreshers_.has(c))a.refreshers_.get(c).count=0;else{var d=new Lz(a.refreshRateMs_);a.eventHandler_.listen(d,"tick",function(){if(a.worker_){b.clearInstanceId();a.worker_.updateExperimentsCache(b,1);var e=a.refreshers_.get(c);e.count++;var g=Ag(a.clientConfig_.getClient(),12,18);e.count>=g&&(e.timer.stop(),a.refreshers_.delete(c))}});d.start();a.refreshers_.set(c,new f2c(d))}a.refreshers_.get(c)};var h2c=function(){},sgb=function(a,b){this.cache_=a;this.loader_=b};
sgb.prototype.updateExperimentsCache=function(a,b){var c=this,d,e,g,h;return Ld(function(l){if(1==l.nextAddress){e=d=null;try{d=i2c(c,a)}catch(B){e=B}if(d&&3!==d.state)return l.return(c.getCachedExperiments(a,b));Md(l,3);return l.yield(j2c(c,a),5)}if(3!=l.nextAddress){g=l.yieldResult;var q=l.return,v=e;v=void 0===v?null:v;var y=(new Mn).setExperimentFlags(g.getExperimentFlags()).setExperimentIdsList(g.getExperimentIdsList()).setSource(1).setInstanceId(a.getInstanceIdOrUndefined());v&&y.setError(jgb(v));
return q.call(l,y)}h=Pd(l);return l.return(kgb(h))})};sgb.prototype.getCachedExperiments=function(a){try{var b=i2c(this,a);if(b){var c=(new Mn).setExperimentFlags(b.experiments.getExperimentFlags()).setExperimentIdsList(b.experiments.getExperimentIdsList()).setInstanceId(b.instanceId).setSource(2);1!==b.state&&j2c(this,a).catch(h2c);return c}j2c(this,a).catch(h2c);return kgb()}catch(d){return kgb(d)}};
var i2c=function(a,b){try{var c=a.cache_.get(b);return c&&c.experiments.hasExperimentFlags()?c:null}catch(d){if(d instanceof Ln)throw d;throw new Ln(3);}},j2c=function(a,b){var c,d;return Ld(function(e){if(1==e.nextAddress)return Md(e,2),b.hasInstanceId()||b.setInstanceId(ggb()),e.yield(b2c(a.loader_,b),4);if(2!=e.nextAddress)return c=e.yieldResult,a.cache_.set(b,c),e.return(c);d=Pd(e);if(d instanceof Ln)throw d;throw new Ln(2);})};var mgb;var k2c=function(a){this.clientConfig_=a;this.worker_=ugb(this.clientConfig_)};k2c.prototype.getCachedExperiments=function(a){return this.worker_.getCachedExperiments(a,0)};var fjb=function(){this.peopleApiEnv_=4};fjb.prototype.getPeopleApiEnv=function(){return this.peopleApiEnv_};fjb.prototype.setPeopleApiEnv=function(a){this.peopleApiEnv_=a;return this};var l2c=function(a,b){this.client_=a;this.request_=b;this.response_=null};l2c.prototype.getExperimentFlags=function(){this.response_||(this.response_=this.client_.getCachedExperiments(this.request_));return this.response_.getExperimentFlags()};l2c.prototype.getExperimentIds=function(){this.response_||(this.response_=this.client_.getCachedExperiments(this.request_));return this.response_.getExperimentIdsList()};var ejb=function(a,b){this.clientConfig_=a;this.requestType_=b;this.version_=536574007};ejb.prototype.prefetch=function(a){var b=new E1c(this.clientConfig_,new fjb);a=m2c(this,a,"");ugb(b).updateExperimentsCache(a,2)};ejb.prototype.loadExperiments=function(a,b,c){var d=new E1c(this.clientConfig_,b),e=m2c(this,a,c);ugb(d).updateExperimentsCache(e,2);b=new k2c(new E1c(this.clientConfig_,b));a=m2c(this,a,c);return new l2c(b,a)};
var m2c=function(a,b,c){var d=(new p2).setVersion(a.version_);b=(new q2).setApplication(b);return(new B1c).setProfileId(c).setRequestType(a.requestType_).setCaller(d).setClient(b)};var fo=new gjb(new l2,new u1c);var wgb=Rn.getInstance();var n2c=["pk-select","pk-deselect","pk-click","pk-input"],o2c=new Map([["pk-select",3],["pk-deselect",3],["pk-click",3],["pk-input",15]]);var xgb=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 Egb=function(a,b){this.ariaParent=a;this.delegate=b};f=Egb.prototype;f.update=function(){var a=this.getSpotlitItem();a?(a=a.getRoot(),aM(this.ariaParent,a)):aM(this.ariaParent,null)};f.prev=function(a){a=this.delegate.prev(a);this.update();return a};f.next=function(a){a=this.delegate.next(a);this.update();return a};f.size=function(){return this.delegate.size()};f.goToItem=function(a,b){a=this.delegate.goToItem(a,b);this.update();return a};
f.goToIndex=function(a,b){a=this.delegate.goToIndex(a,b);this.update();return a};f.getSpotlitItem=function(){return this.delegate.getSpotlitItem()};f.getActiveItems=function(){return this.delegate.getActiveItems()};f.getItem=function(a){return this.delegate.getItem(a)};f.getIndexOf=function(a){return this.delegate.getIndexOf(a)};f.clear=function(){this.delegate.clear();this.update()};f.reset=function(){this.delegate.reset();this.update()};f.setSecondaryEventTargets=function(a){this.delegate.setSecondaryEventTargets(a)};
f.onKeyDown=function(a){this.delegate.onKeyDown(a)};f.onContextMenu=function(a,b){var c=this;this.delegate.onContextMenu(a,function(){c.update();b()})};f.remove=function(a,b){this.delegate.remove(a,b);this.update()};f.insert=function(a,b,c){this.delegate.insert(a,b,c);this.update()};var v2=function(a){this.event=a;this.hasStoppedPropagationInternal=!1};v2.prototype.stopPropagation=function(){this.event.stopPropagation();this.hasStoppedPropagationInternal=!0};v2.prototype.preventDefault=function(){this.event.preventDefault()};var Igb=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=Un(this)};f=Igb.prototype;
f.attach=function(a,b){var c=this;this.detach();this.navigatable=b;this.input=a;this.eventHandler.listen(this.input,"keydown",function(d){return c.onKeyDown(new v2(d))});this.eventHandler.listen(this.input,"contextmenu",function(d){return c.onContextMenu(new v2(d))});this.eventHandler.listen(this.input,"blur",function(){return c.onBlur()})};f.detach=function(){this.eventHandler.removeAll();this.navigatable=this.input=null};
f.onKeyDown=function(a){if(this.navigatable&&(this.navigatable.onKeyDown(a),!a.hasStoppedPropagationInternal))switch(a.event.keyCode){case 40:this.navigatable.next(0)||this.navigatePastEndCallback();a.stopPropagation();a.preventDefault();break;case 38:this.navigatable.prev(0)||this.navigatePastBeginCallback();a.stopPropagation();a.preventDefault();break;case 36:if(!this.options.shouldReactToHomeEnd)break;this.navigatable.goToIndex(0,0);a.stopPropagation();a.preventDefault();break;case 35:this.options.shouldReactToHomeEnd&&
(this.navigatable.goToIndex(this.navigatable.size()-1,0),a.stopPropagation(),a.preventDefault())}};f.onClick=function(a,b){if(!this.navigatable)return!1;this.navigatable.goToItem(a,0);b.stopPropagation();return!0};f.onContextMenu=function(a){if(this.navigatable)this.navigatable.onContextMenu(a,function(){})};f.reset=function(){this.navigatable&&this.navigatable.reset()};f.onBlur=function(){this.reset()};var p2c=Object.freeze(new Vn(NaN,NaN)),q2c=Object.freeze(new OS(NaN,NaN,NaN,NaN)),Yn=function(a,b,c){this.root=a;this.requestHide=b;this.options=c;this.lastPosition=p2c;this.lastBounds=q2c;this.anchorUpdateTimer=new Lz(15);this.eventHandler=Un(this);this.attach()};Yn.prototype.attach=function(){var a=this;this.eventHandler.listen(this.anchorUpdateTimer,"tick",function(){return r2c(a)})};Yn.prototype.isShown=function(){return"none"!=this.root.style.display};
Yn.prototype.dispose=function(){this.hide();this.eventHandler.removeAll()};Yn.prototype.show=function(a){this.anchor=a;this.lastPosition=p2c;this.lastBounds=q2c;SS(this.root,!0);r2c(this);this.anchorUpdateTimer.start()};
var r2c=function(a){var b;if((b=a.anchor)&&!(b=!a.lastPosition.equals(RS(a.anchor)))){b=a.lastBounds;var c=Lgb(a.root);b=!(b==c||b&&c&&b.left==c.left&&b.width==c.width&&b.top==c.top&&b.height==c.height)}if(b)if(c=a.anchor,b=Lgb(c),(c=Mgb(c))&&b.intersection(Ngb(c))){c=a.anchor;b=a.root;var d=a.options,e=d.anchorCorner||9,g=d.popupCorner||8;d=void 0===d.moveAboveAnchorIfOffscreen?!0:d.moveAboveAnchorIfOffscreen;Xn(b,"","");b.style.height=QS("",!0);var h=Sgb(c,e,b,g,d);c=Sgb(c,e^1,b,g^1,d);h.height>=
c.height||!d?Vgb(b,h):Vgb(b,c);a.lastPosition=RS(a.anchor);a.lastBounds=Lgb(a.root)}else a.requestHide()};Yn.prototype.hide=function(){this.root.style.cssText="";SS(this.root,!1);this.anchorUpdateTimer.stop();this.lastPosition=p2c;this.lastBounds=q2c};var s2c=new sz;s2c.altKey=!0;s2c.keyCode=39;(new sz).keyCode=13;var t2c=function(){ng.call(this)};V(t2c,ng);t2c.prototype.init=function(){};new t2c;var u2c=!Ep&&!kaa(),v2c=function(a,b){if(/-[a-z]/.test(b))return null;if(u2c&&a.dataset){if(laa()&&!(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 Zn=function(a,b,c,d,e){var g=this;this.root=a;this.anchor=b;this.container=d;this.appearanceConfig=e;this.popup=Wgb(this.root,function(){g.hide()},{});this.navigatable=Fgb(c);this.navigationEventHandler=Jgb({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=Un(this);this.eventHandler.listen(this.root,"mouseover",
function(h){h.stopPropagation()});this.eventHandler.listen(this.root,"mouseout",function(h){h.stopPropagation()});this.eventHandler.listen(this.root,"mouseenter",function(h){h.stopPropagation()});this.hide()};
Zn.prototype.append=function(a){var b=this;this.contextMenuItemOptions.set(a.id,a);var c=Cgb(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(Xgb(e))}d.stopPropagation();w2c(b,a);b.hide()});this.navigatable.insert(this.navigatable.size(),[c],!1)};
Zn.prototype.show=function(){for(var a=k(this.beforeShowCallbacks.values()),b=a.next();!b.done;b=a.next())b=b.value,b();this.popup.show(this.anchor);this.navigationEventHandler.attach(this.root,this.navigatable);this.navigatable.next(0)};Zn.prototype.hide=function(){this.popup.hide();this.navigatable.reset();this.navigationEventHandler.detach();for(var a=k(this.afterHideCallbacks.values()),b=a.next();!b.done;b=a.next())b=b.value,b()};
Zn.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(Xgb(c));b=b.getSelection().id().getValue();b=this.contextMenuItemOptions.get(b);w2c(this,b);this.hide();a.stopPropagation()}}};
var x2c=function(a,b){a.itemSelectedCallbacks.add(b)},y2c=function(a,b){a.afterHideCallbacks.add(b)},w2c=function(a,b){a=k(a.itemSelectedCallbacks.values());for(var c=a.next();!c.done;c=a.next())c=c.value,c(b)};Zn.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 Ygb=function(){return $n('<div peoplekit-id="'+bo("xl07Ob")+'" class="'+bo("peoplekitComponentsContextmenuImplMenu")+'" role="menu"></div>')};var bhb=function(a){var b=this;this.root=a;this.internalIsDisabled=!1;this.eventHandler=Un(this);this.eventHandler.listen(this.root,"click",function(c){var d;null==(d=b.onClick)||d.call(b,c)})};f=bhb.prototype;f.getRoot=function(){return this.root};f.enable=function(){this.root.classList.remove("isDisabled");this.root.setAttribute("aria-disabled","false");this.internalIsDisabled=!1};
f.disable=function(){this.root.classList.add("isDisabled");this.root.setAttribute("aria-disabled","true");this.internalIsDisabled=!0};f.isDisabled=function(){return this.internalIsDisabled};f.dispose=function(){this.eventHandler.removeAll();this.onClick=void 0};var ahb=function(a){a=a.label;return $n('<button class="'+bo("peoplekitComponentsButtonLabelLabelButton")+'">'+co(a)+"</button>")};var xhb=function(a,b,c){var d=this;this.root=a;this.actionListeners=[];this.eventHandler=Un(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=Sn(this.root,"Sx9Kwc");this.startFocusableElement=Sn(this.root,"tYwGbe");this.endFocusableElement=Sn(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.dialog.focus()};f=xhb.prototype;f.subscribeToAction=function(a){this.actionListeners.push(a)};
f.dispatchAction=function(a){var b=this.actionButtons.get(a);if(b&&!b.isDisabled()){for(var c=k(this.actionListeners),d=c.next();!d.done;d=c.next())d=d.value,d(a);a=b.getRoot();a.dispatchEvent(Xgb(a))}};f.getRoot=function(){return this.root};f.onDialogClick=function(a){a.stopPropagation()};f.onDialogKeyDown=function(a){27===a.keyCode&&(this.dispatchAction(0),a.stopPropagation())};f.onStartFocusableElementFocus=function(){var a=Ggb(this.dialog);1<a.length&&a[a.length-2].focus()};
f.onEndFocusableElementFocus=function(){var a=Ggb(this.dialog);1<a.length&&a[1].focus()};f.onScrimClick=function(){this.dispatchAction(0)};f.onButtonClick=function(a){this.dispatchAction(a)};f.dispose=function(){this.eventHandler.removeAll();this.root.parentNode&&this.root.parentNode.removeChild(this.root);this.actionListeners.length=0;for(var a=k(this.actionButtons.values()),b=a.next();!b.done;b=a.next())b.value.dispose();this.actionButtons.clear()};var whb=function(a){var b=a.content;a=a.header;return $n('<div peoplekit-id="'+bo("GGAcbc")+'" class="'+bo("peoplekitComponentsDialogImplScrim")+'" role="dialog" aria-modal="true"><div peoplekit-id="'+bo("Sx9Kwc")+'" class="'+bo("peoplekitComponentsDialogImplDialog")+'" tabindex="-1" role="dialog"><div peoplekit-id="'+bo("tYwGbe")+'" tabindex="0" role="application"></div>'+(a?'<div class="'+bo("peoplekitComponentsDialogImplHeader")+'">'+co(a)+"</div>":"")+'<div class="'+bo("peoplekitComponentsDialogImplContent")+
'">'+co(b)+'</div><div class="'+bo("peoplekitComponentsDialogImplActions")+'">'+$n(z2c("IbE0S"))+$n('<div class="'+bo("peoplekitComponentsDialogImplActionDivider")+'"></div>')+$n(z2c("McfNlf"))+'</div><div peoplekit-id="'+bo("dYgZK")+'" tabindex="0" role="application"></div></div></div>')},z2c=function(a){return $n('<div peoplekit-id="'+bo(a)+'"></div>')};var ghb=function(a,b){var c=this;this.root=a;this.closeButton=b;this.actionListeners=[];this.eventHandler=Un(this);this.dialog=Sn(this.root,"Sx9Kwc");this.startFocusableElement=Sn(this.root,"tYwGbe");this.endFocusableElement=Sn(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.dialog.focus()};f=ghb.prototype;f.subscribeToAction=function(a){this.actionListeners.push(a)};f.dispatchAction=function(a){if(!this.closeButton.isDisabled()&&2===a)for(var b=k(this.actionListeners),c=b.next();!c.done;c=b.next())c=c.value,c(a)};f.getRoot=function(){return this.root};
f.dispose=function(){this.root.parentNode&&this.root.parentNode.removeChild(this.root);this.eventHandler.removeAll();this.actionListeners.length=0;this.closeButton.dispose()};f.onDialogClick=function(a){a.stopPropagation()};f.onDialogKeyDown=function(a){if(27===a.keyCode||13===a.keyCode)this.dispatchAction(2),a.stopPropagation()};f.onStartFocusableElementFocus=function(){var a=Ggb(this.dialog);1<a.length&&a[a.length-2].focus()};
f.onEndFocusableElementFocus=function(){var a=Ggb(this.dialog);1<a.length&&a[1].focus()};f.onScrimClick=function(){this.dispatchAction(2)};var fhb=function(a){var b=a.content;a=a.header;return $n('<div peoplekit-id="'+bo("GGAcbc")+'" class="'+bo("peoplekitComponentsDialogInfoScrim")+'" role="dialog" aria-modal="true"><div peoplekit-id="'+bo("Sx9Kwc")+'" class="'+bo("peoplekitComponentsDialogInfoDialog")+'" tabindex="-1" role="dialog"><div peoplekit-id="'+bo("tYwGbe")+'" tabindex="0" role="application"></div>'+(a?'<div class="'+bo("peoplekitComponentsDialogInfoHeader")+'">'+co(a)+"</div>":"")+'<div class="'+bo("peoplekitComponentsDialogInfoContent")+
'"><div class="'+bo("peoplekitComponentsDialogInfoDescription")+'">'+co(b)+'</div></div><div class="'+bo("peoplekitComponentsDialogInfoActions")+'">'+$n('<div peoplekit-id="'+bo("TvD9Pc")+'"></div>')+'</div><div peoplekit-id="'+bo("dYgZK")+'" tabindex="0" role="application"></div></div></div>')},ihb=function(a){a=a.header;return $n('<div class="'+bo("peoplekitComponentsDialogInfoTextHeader")+'">'+co(a)+"</div>")};var dhb=new Map([[0,"peoplekitThemeLight"],[1,"peoplekitThemeDark"]]);var A2c=RegExp("^((http(s)?):)?\\/\\/((((lh[3-6](-tt|-d[a-g,z]|-testonly)?\\.((ggpht)|(googleusercontent)|(google)|(sandbox\\.google)))|(lh7\\-(eu|us)\\.googleusercontent)|((photos|testonly|work)\\.fife\\.usercontent\\.google)|([\\w\\-]+\\.fife\\.usercontent\\.google)|(([1-4]\\.bp\\.blogspot)|(bp[0-3]\\.blogger))|(ccp-lh\\.googleusercontent)|((((cp|ci|gp)[3-6])|(ap[1-2]))\\.(ggpht|googleusercontent))|(gm[1-4]\\.ggpht)|(play-(ti-)?lh\\.googleusercontent)|(gz0\\.googleusercontent)|(((yt[3-4])|(sp[1-3]))\\.(ggpht|googleusercontent)))\\.com)|(dp[3-6]\\.googleusercontent\\.cn)|(lh[3-6]\\.(googleadsserving\\.cn|xn--9kr7l\\.com))|(photos\\-image\\-(dev|qa)(-auth|-cookie)?\\.corp\\.google\\.com)|(photos\\-image\\-dev\\-dl\\-(auth|eu|us)\\.corp\\.google\\.com)|((dev|dev2|dev3|qa|qa2|qa3|qa-red|qa-blue|canary)[-.]lighthouse\\.sandbox\\.google\\.com\\/image)|(image\\-(dev|qa)\\-lighthouse(-auth)?\\.sandbox\\.google\\.com(\\/image)?))\\/",
"i"),B2c=/^(https?:)?\/\/sp[1-4]\.((ggpht)|(googleusercontent))\.com\//i,C2c=/^(https?:)?\/\/(qa(-red|-blue)?|dev2?|image-dev)(-|\.)lighthouse(-auth)?\.sandbox\.google\.com\//i,D2c=/^(https?:)?\/\/lighthouse-(qa(-red|-blue)?|dev2)\.corp\.google\.com\//i;var E2c=/\/\/lh[3-6]\./,F2c=function(a,b,c,d){var e;(e=!a)||(e=String(a),e=!(A2c.test(e)||B2c.test(e)||C2c.test(e)||D2c.test(e)));if(e)return String(a||"");a=String(a);void 0===d&&(d=1);b=Math.ceil((b||0)*d);c=Math.ceil((c||0)*d);d=b==c;a=a.replace(E2c,"//lh3.");return(new nK(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 nhb=function(a){var b=a.imageUrls,c=a.backupUrl,d=a.size,e=a.preloadSize,g=a.pixelRatio;Array.isArray(b);a=$n;var h='<div class="'+bo("peoplekitComponentsAvatarImplAvatarContainer")+'" style="width: '+bo(KS(d))+"px; height: "+bo(KS(d))+'px"><div peoplekit-id="'+bo("YLEF4c")+'" class="'+bo("peoplekitComponentsAvatarImplAvatar")+'" style="width: '+bo(KS(d))+"px; height: "+bo(KS(d))+'px">';Array.isArray(b);1==b.length?(Array.isArray(b),b=$n('<div class="'+bo("peoplekitComponentsAvatarImplContainer")+
'">'+w2(b[0],c,d,e,g)+"</div>")):2==b.length?(Array.isArray(b),b=$n('<div class="'+bo("peoplekitComponentsAvatarImplContainer")+'"><div class="'+bo("peoplekitComponentsAvatarImplColumn")+'">'+w2(b[0],c,d,e,g)+"</div>"+x2()+'<div class="'+bo("peoplekitComponentsAvatarImplColumn")+'">'+w2(b[1],c,d,e,g)+"</div></div>")):3==b.length?(Array.isArray(b),b=$n('<div class="'+bo("peoplekitComponentsAvatarImplContainer")+'"><div class="'+bo("peoplekitComponentsAvatarImplColumn")+'">'+w2(b[0],c,d,e,g)+"</div>"+
x2()+'<div class="'+bo("peoplekitComponentsAvatarImplColumn")+'"><div class="'+bo("peoplekitComponentsAvatarImplRow")+'">'+w2(b[1],c,Math.round(.5*d),e,g)+"</div>"+x2()+'<div class="'+bo("peoplekitComponentsAvatarImplRow")+'">'+w2(b[2],c,Math.round(.5*d),e,g)+"</div></div></div>")):(Array.isArray(b),b=$n('<div class="'+bo("peoplekitComponentsAvatarImplContainer")+'"><div class="'+bo("peoplekitComponentsAvatarImplColumn")+'"><div class="'+bo("peoplekitComponentsAvatarImplRow")+'">'+w2(b[0],c,Math.round(.5*
d),e,g)+"</div>"+x2()+'<div class="'+bo("peoplekitComponentsAvatarImplRow")+'">'+w2(b[2],c,Math.round(.5*d),e,g)+"</div></div>"+x2()+'<div class="'+bo("peoplekitComponentsAvatarImplColumn")+'"><div class="'+bo("peoplekitComponentsAvatarImplRow")+'">'+w2(b[1],c,Math.round(.5*d),e,g)+"</div>"+x2()+'<div class="'+bo("peoplekitComponentsAvatarImplRow")+'">'+w2(b[3],c,Math.round(.5*d),e,g)+"</div></div></div>"));b=$n(b);return a(h+b+'</div><div peoplekit-id="'+bo("Btuy5e")+'" class="'+bo("peoplekitComponentsAvatarImplAvatarBadge")+
'">'+$n('<img class="'+bo("peoplekitComponentsAvatarImplBadgeIconImage")+'" peoplekit-id="'+bo("m6fZne")+'" draggable="false" alt="">')+"</div></div>")},w2=function(a,b,c,d,e){var g=lJc(F2c(a,c,c,e));g=ZIc(g);a=lJc(F2c(a,d,d,e));a=ZIc(a);b=lJc(F2c(b,c,c,e));b=ZIc(b);g='<div peoplekit-id="'+bo("IHgMKc")+'" class="'+bo("peoplekitComponentsAvatarImplImageRoot")+'"><img peoplekit-id="'+bo("HiaYvf")+'" class="'+bo("peoplekitComponentsAvatarImplImage")+'" style="width: '+bo(KS(c))+"px; height: "+bo(KS(c))+
'px;" data-preload-src="'+bo(a)+'" data-src="'+bo(g)+'" data-backup-src="'+bo(b)+'" draggable="false" alt="">';c=$n('<svg xmlns="http://www.w3.org/2000/svg" height="'+bo(c)+'px" viewBox="0 0 24 24" width="'+bo(c)+'px" class="'+bo("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 $n(g+c+"</div>")},x2=function(){return $n('<div class="'+bo("peoplekitComponentsAvatarImplDivider")+'"></div>')};var G2c=new Map([[0,"light_theme"],[1,"dark_theme"]]);var H2c=new Map([[1,"badge_active"],[2,"badge_inactive"],[3,"badge_idle"],[4,"badge_do_not_disturb"],[5,"badge_video"]]),I2c=new Map([[1,"Active."],[2,"Inactive."],[3,"Idle."],[4,"Do Not Disturb."],[5,"In Video Call."]]),phb=function(a,b){this.appearance=b;this.root=a;J2c(this)};f=phb.prototype;
f.setBadge=function(a){var b=Sn(this.root,"Btuy5e");if(0===a.badgeType)b.classList.remove("visible");else{var c=H2c.get(a.badgeType)||"";if(c){var d=this.appearance.getTheme();c="https://www.gstatic.com/people/peoplekit/icons/"+(G2c.get(d)||"light_theme")+"/"+c+".svg"}else c="";a=I2c.get(a.badgeType)||"";d=Sn(b,"m6fZne");c&&(d.src=c);d.alt=a;b.classList.add("visible")}};f.getAllIds=function(){return[]};f.updateWaldo=function(){};f.updateHubAvailabilityDot=function(){};
f.getSupportedIntelligenceFeatures=function(){return[]};f.initializeIntelligence=function(){};
var J2c=function(a){var b={};a=k(Array.from(a.root.querySelectorAll('[peoplekit-id="IHgMKc"]')));for(var c=a.next();!c.done;b={$jscomp$loop$prop$img$2357:b.$jscomp$loop$prop$img$2357,$jscomp$loop$prop$src$2355:b.$jscomp$loop$prop$src$2355,$jscomp$loop$prop$imageRoot$2359:b.$jscomp$loop$prop$imageRoot$2359,$jscomp$loop$prop$backupSrc$2358:b.$jscomp$loop$prop$backupSrc$2358},c=a.next())b.$jscomp$loop$prop$imageRoot$2359=c.value,b.$jscomp$loop$prop$img$2357=Sn(b.$jscomp$loop$prop$imageRoot$2359,"HiaYvf"),
c=v2c(b.$jscomp$loop$prop$img$2357,"preloadSrc"),b.$jscomp$loop$prop$src$2355=v2c(b.$jscomp$loop$prop$img$2357,"src"),b.$jscomp$loop$prop$backupSrc$2358=v2c(b.$jscomp$loop$prop$img$2357,"backupSrc"),mhb(b.$jscomp$loop$prop$src$2355)?b.$jscomp$loop$prop$img$2357.src=b.$jscomp$loop$prop$src$2355:mhb(c)?(b.$jscomp$loop$prop$img$2357.src=c,im(function(d){return function(){d.$jscomp$loop$prop$img$2357.src=d.$jscomp$loop$prop$src$2355}}(b),0)):(b.$jscomp$loop$prop$imageRoot$2359.classList.add("isLoading"),
b.$jscomp$loop$prop$img$2357.onload=function(d){return function(){d.$jscomp$loop$prop$imageRoot$2359.classList.remove("isLoading")}}(b),b.$jscomp$loop$prop$img$2357.onerror=function(d){return function(){d.$jscomp$loop$prop$img$2357.getAttribute("src")===d.$jscomp$loop$prop$backupSrc$2358?(d.$jscomp$loop$prop$img$2357.onerror=null,d.$jscomp$loop$prop$imageRoot$2359.classList.remove("isLoading"),d.$jscomp$loop$prop$imageRoot$2359.classList.add("isNotLoaded")):d.$jscomp$loop$prop$img$2357.src=d.$jscomp$loop$prop$backupSrc$2358}}(b),
b.$jscomp$loop$prop$img$2357.src=b.$jscomp$loop$prop$src$2355)};var ao=function(){this.theme=this.density=0};ao.prototype.getDensity=function(){return this.density};ao.prototype.setDensity=function(a){this.density=a};ao.prototype.getTheme=function(){return this.theme};ao.prototype.setTheme=function(a){this.theme=a};var yhb=function(a){this.dialog=a};yhb.prototype.subscribeToAction=function(a){this.dialog.subscribeToAction(a)};yhb.prototype.dispatchAction=function(a){this.dialog.dispatchAction(a)};yhb.prototype.getRoot=function(){return this.dialog.getRoot()};yhb.prototype.dispose=function(){this.dialog.dispose()};var y2=function(a){this.delegate=a};f=y2.prototype;f.getAllIds=function(){return this.delegate.getAllIds()};f.toggleSelection=function(){this.delegate.toggleSelection()};f.activate=function(){this.delegate.activate()};f.deactivate=function(){this.delegate.deactivate()};f.spotlight=function(){this.delegate.spotlight()};f.unspotlight=function(){this.delegate.unspotlight()};f.getRoot=function(){return this.delegate.getRoot()};f.getSelection=function(){return this.delegate.getSelection()};
f.onKeyDown=function(a){this.delegate.onKeyDown(a)};f.onContextMenu=function(a,b){return this.delegate.onContextMenu(a,b)};f.updateWaldo=function(a,b){this.delegate.updateWaldo(a,b)};f.updateHubAvailabilityDot=function(a,b){this.delegate.updateHubAvailabilityDot(a,b)};f.getSupportedIntelligenceFeatures=function(){return this.delegate.getSupportedIntelligenceFeatures()};f.initializeIntelligence=function(){this.delegate.initializeIntelligence()};f.addTag=function(a){this.delegate.addTag(a)};
f.setMetaIcon=function(a){this.delegate.setMetaIcon(a)};f.dispose=function(){this.delegate.dispose()};var $hb=function(a,b,c,d){this.delegate=a;var e=this;this.appearanceConfig=b;this.clientConfig=c;this.result=d;this.groupMembers=this.result.getMemberList();this.dispatcher=this.clientConfig.injectorService.actionEventDispatcher;this.contextMenuContainer=Sn(a.getRoot(),"QL45qe");this.eventHandler=Un(this);this.eventHandler.listen(document,"click",function(g){e.contextMenuContainer.contains(g.target)||K2c(e)});this.eventHandler.listen(document,"keydown",function(g){if(e.contextMenu)e.contextMenu.onKeyDown(new v2(g))})};
V($hb,y2);$hb.prototype.onKeyDown=function(a){if(this.contextMenu)this.contextMenu.onKeyDown(a);else y2.prototype.onKeyDown.call(this,a)};
$hb.prototype.onContextMenu=function(a,b){var c=this;a.stopPropagation();a.preventDefault();this.activate();this.contextMenu&&K2c(this);this.contextMenu=$gb(this.contextMenuContainer,this.getRoot(),this.getRoot(),this.appearanceConfig);a=this.appearanceConfig.getTheme();this.contextMenu.append(ygb(a));x2c(this.contextMenu,function(d){switch(d.id){case "ENOWEf":2>c.groupMembers.length?L2c(c):M2c(c);break;default:throw Error("we`"+d.id);}K2c(c)});y2c(this.contextMenu,function(){K2c(c);b()});this.contextMenu.show();
return function(){K2c(c)}};$hb.prototype.dispose=function(){this.eventHandler.removeAll();y2.prototype.dispose.call(this)};
var L2c=function(a){N2c(a);a.dispatcher.notify(8);a.hideConfirmationDialog=zhb(a.getRoot().ownerDocument.body,a.getSelection(),a.appearanceConfig,0);a.hideConfirmationDialog.subscribeToAction(function(b){1===b&&(b=a.getAllIds(),1===a.groupMembers.length&&(b=[a.groupMembers[0].getPrimaryTarget().getId()]),a.dispatcher.notify(1,b));N2c(a)})},N2c=function(a){var b;null==(b=a.hideConfirmationDialog)||b.dispose();a.hideConfirmationDialog=void 0;a.dispatcher.notify(9,a.getRoot())},M2c=function(a){O2c(a);
a.dispatcher.notify(8);a.hideGroupErrorDialog=khb(a.getRoot().ownerDocument.body,a.appearanceConfig);a.hideGroupErrorDialog.subscribeToAction(function(){O2c(a)})},O2c=function(a){var b;null==(b=a.hideGroupErrorDialog)||b.dispose();a.hideGroupErrorDialog=void 0;a.dispatcher.notify(9,a.getRoot())},K2c=function(a){var b;null==(b=a.contextMenu)||b.dispose();a.contextMenu=void 0;a.dispatcher.notify(7,a.getRoot())};var Ghb=function(a){a=a.memberCount;return(new Osc("{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)},Fhb=function(a){a=a.memberNames;Array.isArray(a);return YIc(a).join(", ")};var Ehb=Rn.getInstance();var Ihb=Rn.getInstance();var z2=function(a){r.call(this,a)};V(z2,r);z2.prototype.getOccupiedUntil=function(){return W(this,ug,2)};z2.prototype.getNextAvailable=function(){return W(this,ug,3)};z2.prototype.getCommittedUntil=function(){return W(this,ug,4)};z2.prototype.toObject=function(){return P2c(this)};var P2c=function(a){if(null!=a)return t(a),{eventSummary:mh(a,1),occupiedUntil:pr(a.getOccupiedUntil()),nextAvailable:pr(a.getNextAvailable()),committedUntil:pr(a.getCommittedUntil())}},Q2c=[z2,1,Eq,2,X,qr,3,X,qr,4,X,qr];
z2.prototype.serializeBinary=u(Q2c);var A2=function(a){r.call(this,a)};V(A2,r);A2.prototype.getOccupiedUntil=function(){return W(this,ug,1)};A2.prototype.getCommittedUntil=function(){return W(this,ug,3)};A2.prototype.getNextAvailable=function(){return W(this,ug,2)};A2.prototype.toObject=function(){return R2c(this)};var R2c=function(a){if(null!=a)return t(a),{occupiedUntil:pr(a.getOccupiedUntil()),committedUntil:pr(a.getCommittedUntil()),nextAvailable:pr(a.getNextAvailable())}},S2c=[A2,1,X,qr,3,X,qr,2,X,qr];
A2.prototype.serializeBinary=u(S2c);var B2=function(a){r.call(this,a)};V(B2,r);B2.prototype.getOccupiedUntil=function(){return W(this,ug,3)};B2.prototype.getCommittedUntil=function(){return W(this,ug,5)};B2.prototype.getNextAvailable=function(){return W(this,ug,4)};B2.prototype.toObject=function(){return T2c(this)};
var T2c=function(a){if(null!=a)return t(a),{eventSummary:mh(a,1),inMeetingsUntil:pr(W(a,ug,2)),occupiedUntil:pr(a.getOccupiedUntil()),committedUntil:pr(a.getCommittedUntil()),nextAvailable:pr(a.getNextAvailable())}},U2c=[B2,1,Eq,2,X,qr,3,X,qr,5,X,qr,4,X,qr];B2.prototype.serializeBinary=u(U2c);var V2c=function(a){r.call(this,a)};V(V2c,r);V2c.prototype.toObject=function(){return W2c(this)};var W2c=function(a){if(null!=a)return t(a),{}},X2c=[V2c];V2c.prototype.serializeBinary=u(X2c);var C2=function(a){r.call(this,a)};V(C2,r);C2.prototype.getComeBackTime=function(){return W(this,ug,1)};C2.prototype.getCommittedUntil=function(){return W(this,ug,3)};C2.prototype.toObject=function(){return Y2c(this)};var Y2c=function(a){if(null!=a)return t(a),{comeBackTime:pr(a.getComeBackTime()),eventSummary:mh(a,2),committedUntil:pr(a.getCommittedUntil())}},Z2c=[C2,1,X,qr,2,Eq,3,X,qr];C2.prototype.serializeBinary=u(Z2c);var D2=function(a){r.call(this,a)};V(D2,r);D2.prototype.getComeBackTime=function(){return W(this,ug,2)};D2.prototype.toObject=function(){return $2c(this)};var $2c=function(a){if(null!=a)return t(a),{comeBackTime:pr(a.getComeBackTime())}},a3c=[D2,2,X,qr];D2.prototype.serializeBinary=u(a3c);var E2=function(a){r.call(this,a)};V(E2,r);E2.prototype.hasOutsideWorkingHours=function(){return Di(this,D2,3,F2)};E2.prototype.hasOutOfOffice=function(){return Di(this,C2,4,F2)};var F2=[2,3,4,5,6,7];E2.prototype.toObject=function(){return b3c(this)};
var b3c=function(a){if(null!=a)return t(a),{inactive:W2c(Fi(a,V2c,2,F2)),doNotDisturb:R2c(Fi(a,A2,7,F2)),outsideWorkingHours:$2c(Fi(a,D2,3,F2)),outOfOffice:Y2c(Fi(a,C2,4,F2)),inMeeting:T2c(Fi(a,B2,5,F2)),calendarBusy:P2c(Fi(a,z2,6,F2))}},c3c=[E2,2,Jq,X2c,F2,7,Jq,S2c,F2,3,Jq,a3c,F2,4,Jq,Z2c,F2,5,Jq,U2c,F2,6,Jq,Q2c,F2];E2.prototype.serializeBinary=u(c3c);var G2=function(a){r.call(this,a)};V(G2,r);G2.prototype.getTimeZone=function(){return mh(this,1)};G2.prototype.setTimeZone=function(a){return mb(this,1,a)};G2.prototype.toObject=function(){return d3c(this)};var d3c=function(a){if(null!=a)return t(a),{timeZone:mh(a,1)}},e3c=[G2,1,Eq];G2.prototype.serializeBinary=u(e3c);var f3c=function(a){r.call(this,a)};V(f3c,r);f3c.prototype.toObject=function(){return g3c(this)};var g3c=function(a){if(null!=a)return t(a),{nextCommitmentTime:pr(W(a,ug,1)),nextCommitmentStatus:b3c(W(a,E2,2))}},h3c=[f3c,1,X,qr,2,X,c3c];f3c.prototype.serializeBinary=u(h3c);var H2=function(a){r.call(this,a)};V(H2,r);f=H2.prototype;f.getStartTime=function(){return W(this,ug,1)};f.setStartTime=function(a){Oh(this,ug,1,a)};f.getEndTime=function(){return W(this,ug,2)};f.setEndTime=function(a){Oh(this,ug,2,a)};f.toObject=function(){return i3c(this)};var i3c=function(a){if(null!=a)return t(a),{startTime:pr(a.getStartTime()),endTime:pr(a.getEndTime())}},j3c=[H2,1,X,qr,2,X,qr];H2.prototype.serializeBinary=u(j3c);var I2=function(a){r.call(this,a)};V(I2,r);I2.prototype.getTimeRange=function(){return W(this,H2,1)};I2.prototype.toObject=function(){return k3c(this)};var k3c=function(a){if(null!=a)return t(a),{timeRange:i3c(a.getTimeRange())}},l3c=[I2,1,X,j3c];I2.prototype.serializeBinary=u(l3c);var J2=function(a){r.call(this,a)};V(J2,r);J2.prototype.getLatitude=function(){return Xh(this,1)};J2.prototype.getLongitude=function(){return Xh(this,2)};J2.prototype.toObject=function(){return m3c(this)};var m3c=function(a){if(null!=a)return t(a),{latitude:Xh(a,1),longitude:Xh(a,2)}},n3c=[J2,1,jq,2,jq];J2.prototype.serializeBinary=u(n3c);var K2=function(a){r.call(this,a)};V(K2,r);K2.prototype.getLocation=function(){return mh(this,2)};K2.prototype.getLabel=function(){return mh(this,4)};K2.prototype.setLabel=function(a){return mb(this,4,a)};K2.prototype.toObject=function(){return o3c(this)};var o3c=function(a){if(null!=a)return t(a),{location:mh(a,2),geoCoordinates:m3c(W(a,J2,3)),label:mh(a,4)}},p3c=[K2,2,Eq,3,X,n3c,4,Eq];K2.prototype.serializeBinary=u(p3c);var q3c=function(a){r.call(this,a)};V(q3c,r);q3c.prototype.toObject=function(){return r3c(this)};var r3c=function(a){if(null!=a)return t(a),{}},s3c=[q3c];q3c.prototype.serializeBinary=u(s3c);var L2=function(a){r.call(this,a)};V(L2,r);L2.prototype.getLabel=function(){return mh(this,4)};L2.prototype.setLabel=function(a){return mb(this,4,a)};L2.prototype.toObject=function(){return t3c(this)};var t3c=function(a){if(null!=a)return t(a),{experimentalBuildingId:mh(a,1),experimentalDeskId:mh(a,2),experimentalFloorId:mh(a,3),label:mh(a,4)}},u3c=[L2,1,Eq,2,Eq,3,Eq,4,Eq];L2.prototype.serializeBinary=u(u3c);var v3c=function(a){r.call(this,a)};V(v3c,r);var M2=[1,2,3];v3c.prototype.toObject=function(){return w3c(this)};var w3c=function(a){if(null!=a)return t(a),{homeLocation:r3c(Fi(a,q3c,1,M2)),customLocation:o3c(Fi(a,K2,2,M2)),officeLocation:t3c(Fi(a,L2,3,M2))}},x3c=[v3c,1,Jq,s3c,M2,2,Jq,p3c,M2,3,Jq,u3c,M2];v3c.prototype.serializeBinary=u(x3c);var N2=function(a){r.call(this,a)};V(N2,r);N2.prototype.getLocation=function(){return W(this,v3c,2)};N2.prototype.toObject=function(){return y3c(this)};var y3c=function(a){if(null!=a)return t(a),{location:w3c(a.getLocation())}},z3c=[N2,2,X,x3c];N2.prototype.serializeBinary=u(z3c);var A3c=function(a){r.call(this,a)};V(A3c,r);A3c.prototype.toObject=function(){return B3c(this)};var B3c=function(a){if(null!=a)return t(a),{workingElsewhere:y3c(W(a,N2,1)),upcomingOoo:k3c(W(a,I2,2)),localTime:d3c(W(a,G2,3)),upcomingCommitmentContext:g3c(W(a,f3c,4))}},C3c=[A3c,1,X,z3c,2,X,l3c,3,X,e3c,4,X,h3c];A3c.prototype.serializeBinary=u(C3c);var D3c=function(a){r.call(this,a)};V(D3c,r);f=D3c.prototype;f.getTimeRange=function(){return W(this,H2,1)};f.getStatus=function(){return W(this,E2,2)};f.setStatus=function(a){return Oh(this,E2,2,a)};f.hasStatus=function(){return qi(this,E2,2)};f.toObject=function(){return E3c(this)};var E3c=function(a){if(null!=a)return t(a),{timeRange:i3c(a.getTimeRange()),status:b3c(a.getStatus()),contexts:B3c(W(a,A3c,3))}},F3c=[D3c,1,X,j3c,2,X,c3c,3,X,C3c];D3c.prototype.serializeBinary=u(F3c);var O2=function(a){r.call(this,a)};V(O2,r);O2.prototype.getDayOfWeek=function(){return Ag(this,1)};O2.prototype.toObject=function(){return G3c(this)};var G3c=function(a){if(null!=a)return t(a),{dayOfWeek:Ag(a,1),periodStartMinutes:Ag(a,2),periodEndMinutes:Ag(a,3)}},H3c=[O2,1,yq,2,yq,3,yq];O2.prototype.serializeBinary=u(H3c);var P2=function(a){r.call(this,a)};V(P2,r);P2.repeatedFields_=[1];P2.prototype.toObject=function(){return I3c(this)};var I3c=function(a){if(null!=a)return t(a),{availableTimeList:Mb(yg(a,O2,1),G3c)}},J3c=[P2,1,Iq,H3c];P2.prototype.serializeBinary=u(J3c);var Q2=function(a){r.call(this,a)};V(Q2,r);Q2.repeatedFields_=[1];Q2.prototype.toObject=function(){return K3c(this)};var K3c=function(a){if(null!=a)return t(a),{availabilitiesList:Mb(yg(a,D3c,1),E3c),workingHours:I3c(W(a,P2,3)),nextPollTime:pr(W(a,ug,2))}},L3c=[Q2,1,Iq,F3c,3,X,J3c,2,X,qr];Q2.prototype.serializeBinary=u(L3c);var M3c=new ez(WY.WEEKDAY_MONTH_DAY_MEDIUM),N3c=new ez(7);new ez(WY.WEEKDAY_MONTH_DAY_MEDIUM);var O3c=new Map([[0,2],[1,1],[2,3],[3,4],[4,2],[5,5]]);var P3c=function(a){var b=a.iconUrl,c=a.altText,d=a.persistentText;a=a.styleClass;return $n('<div class="'+bo("peoplekitComponentsTagTag")+" "+(a?bo(a):"")+'" peoplekit-id="'+bo("mQXP")+'">'+(b?'<img class="'+bo("peoplekitComponentsTagIcon")+'" src="'+bo(nJc(b))+'" alt="'+bo(c)+'"><div'+(d?"":' class="'+bo("peoplekitComponentsTagUnrollingAltText")+'"')+'><div class="'+bo("peoplekitComponentsTagText")+'">'+co(c)+"</div></div>":'<div class="'+bo("peoplekitComponentsTagText")+'">'+co(c)+"</div>")+"</div>")};var Khb=function(a,b,c,d,e,g){var h=this;this.root=a;this.avatar=e;this.features=g;this.isIntelligenceInitialized=this.isOutOfOffice=!1;Q3c(this,{tags:d});Xfb(a,b.getPrimaryTarget());c.getResultDecorationConfigRequestCallback()(b,function(l){Q3c(h,l)})};f=Khb.prototype;f.getAllIds=function(){return[]};f.toggleSelection=function(){};f.activate=function(){this.root.classList.add("isActive")};f.deactivate=function(){this.root.classList.remove("isActive")};f.spotlight=function(){};f.unspotlight=function(){};
f.getRoot=function(){return this.root};f.getSelection=function(){throw Error("ye");};f.onKeyDown=function(){};f.onContextMenu=function(){return function(){}};
f.updateWaldo=function(a){if(this.getSupportedIntelligenceFeatures().includes(1)){var b=Sn(this.root,"Z306Oe");if(this.isOutOfOffice=4===a.getCurrentStatus()){if(4!==a.getCurrentStatus())throw Error("xe");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 "+N3c.format(c):"Out of office - back on "+M3c.format(c);e4b(b,String(c));this.root.classList.add("isOutOfOffice")}else e4b(b,
""),this.root.classList.remove("isOutOfOffice")}};f.updateHubAvailabilityDot=function(a){this.getSupportedIntelligenceFeatures().includes(2)&&this.avatar.setBadge({badgeType:O3c.get(a.getType()||0)||2})};f.getSupportedIntelligenceFeatures=function(){return this.features};f.addTag=function(a){var b=Sn(this.root,"x00ATb");a:switch(a.style||0){case 1:var c="isWarning";break a;default:c=""}a=Mm(P3c,Object.assign({},a,{styleClass:c}));b.appendChild(a)};
f.setMetaIcon=function(a){var b=Array.from(this.root.querySelectorAll('[peoplekit-id="SC3Htd"]'))[0];b&&(b.src=a.iconUrl,b.alt=a.altText)};var Q3c=function(a,b){for(var c=k(b.tags||[]),d=c.next();!d.done;d=c.next())a.addTag(d.value);b.metaIcon&&a.setMetaIcon(b.metaIcon)};Khb.prototype.initializeIntelligence=function(){this.isIntelligenceInitialized||(this.getSupportedIntelligenceFeatures().includes(2)&&this.avatar.setBadge({badgeType:2}),this.isIntelligenceInitialized=!0)};Khb.prototype.dispose=function(){};var iib=function(a,b,c,d,e){this.delegate=Lhb(a,b,c,d,e,[2]);this.root=a;this.root.setAttribute("aria-selected","true");this.id=b.getPrimaryTarget().getId();this.selection=new V0c(xo)};V(iib,y2);iib.prototype.getAllIds=function(){return[this.id]};iib.prototype.getSelection=function(){return this.selection};var R3c=function(a,b,c,d,e,g,h,l){d=void 0===d?"":d;e=void 0===e?!1:e;return $n('<div role="option" class="'+bo("peoplekitComponentsResultlistitemResultListItem")+" "+bo(d)+'" id="'+bo(a)+'" peoplekit-id="'+bo(a)+'" aria-disabled="'+bo(e)+'" aria-selected="false"><div class="'+bo("peoplekitComponentsResultlistitemResultListItemRow")+'"><div class="'+bo("peoplekitComponentsResultlistitemLeft")+'" data-hovercard-id="'+bo(b)+'" data-name="'+bo(eo(c))+'">'+co(g)+'</div><div class="'+bo("peoplekitComponentsResultlistitemCenter")+
'">'+co(h)+'</div><div class="'+bo("peoplekitComponentsResultlistitemRight")+'" peoplekit-id="'+bo("QChpEe")+'">'+co(l)+'</div></div><div peoplekit-id="'+bo("Z306Oe")+'" class="'+bo("peoplekitComponentsResultlistitemOutOfOffice")+'"></div><div peoplekit-id="'+bo("QL45qe")+'"></div></div>')},S3c=function(a,b,c,d){return $n('<div class="'+bo("peoplekitComponentsResultlistitemLabelContainer")+'"><div class="'+bo("peoplekitComponentsResultlistitemLabel")+" "+bo("peoplekitComponentsResultlistitemLabelRow")+
'"><div class="'+bo("peoplekitComponentsResultlistitemLabelText")+'" data-hovercard-id="'+bo(b)+'" data-name="'+bo(eo(a))+'" translate="no">'+co(eo(a))+'</div><div peoplekit-id="'+bo("x00ATb")+'" class="'+bo("peoplekitComponentsResultlistitemTags")+'"></div></div>'+(c?'<div class="'+bo("peoplekitComponentsResultlistitemSublabel")+" "+bo("peoplekitComponentsResultlistitemLabelRow")+'"><div class="'+bo("peoplekitComponentsResultlistitemSublabelText")+'" data-hovercard-id="'+bo(b)+'" data-name="'+bo(eo(a))+
'"'+(d?"":' translate="no"')+">"+co(eo(c))+"</div></div>":"")+"</div>")},T3c=function(a){return $n('<div class="'+bo("peoplekitComponentsResultlistitemAvatar")+'"><div class="'+bo("peoplekitComponentsResultlistitemAvatarContainer")+'" peoplekit-id="'+bo("d6MZcd")+'"></div>'+(a?co(a):"")+"</div>")},U3c=function(){var a=$n,b='<div class="'+bo("peoplekitComponentsResultlistitemAvatarSelectionOverlay")+'"><div class="'+bo("peoplekitComponentsResultlistitemWhiteCheck")+'">';var c=$n('<svg viewBox="0 0 24 24" class="'+
(bo("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(T3c(IS(b+c+"</div></div>")))},V3c=function(){return $n('<img class="'+bo("peoplekitComponentsResultlistitemMetaIcon")+'" peoplekit-id="'+bo("SC3Htd")+'" alt="" src=""/>')};var hib=function(a){var b=a.hovercardId,c=a.label,d=a.sublabel,e=a.disableReason,g=a.allowSublabelTranslation;return $n(R3c(a.id,b,c,"isDisabled "+a.densityClass,!0,IS(""+T3c()),IS(""+S3c(c,b,d,g)),IS('<div class="'+bo("peoplekitComponentsResultlistitemDisabledDisableReasonContainer")+'">'+co(e)+"</div>")))};var dib=function(a){this.delegate=a;var b=this;this.eventHandler=Un(this);this.eventHandler.listen(this.getRoot(),"click",function(c){b.onClick(c)})};V(dib,y2);dib.prototype.onClick=function(){this.toggleSelection()};var Mhb=function(a,b){this.internalResult=a;this.displayNameOverride=b;this.forceDisplayNameOverride=!1;a=this.internalResult.getTargetList()[0];if(!a)throw new RangeError("ze");this.target=a;a=this.target.getLoggingToken();b=this.target.getId();this.internalSelectionToken=new P0c(b,this.displayNameOverride,this.forceDisplayNameOverride,a)};f=Mhb.prototype;f.id=function(){return this.target.getId()};f.selectionToken=function(){return this.internalSelectionToken};f.targets=function(){return[this.target]};
f.result=function(){return this.internalResult};f.getForceDisplayNameOverride=function(){return this.forceDisplayNameOverride};f.getDisplayNameWithOverrideApplied=function(){return this.forceDisplayNameOverride?this.displayNameOverride:this.displayNameOverride||this.internalResult.getDisplayName()};f.isPlaceholder=function(){return!1};var W3c=function(a,b,c,d,e,g){this.delegate=Lhb(a,b,d,e,g,[]);this.root=a;this.result=b;this.selectionsState=c;this.id=b.getPrimaryTarget().getId();this.selection=new V0c(xo)};V(W3c,y2);W3c.prototype.getAllIds=function(){return[this.id]};W3c.prototype.toggleSelection=function(){for(var a=k(this.result.getMemberList()),b=a.next();!b.done;b=a.next())b=Nhb(b.value),this.selectionsState.select(b);this.root.dispatchEvent(Hgb("pk-select",this.root))};W3c.prototype.getSelection=function(){return this.selection};var X3c=function(a){var b=a.hovercardId,c=a.label,d=a.sublabel,e=a.allowSublabelTranslation;return $n(R3c(a.id,b,c,a.densityClass,void 0,IS(""+T3c()),IS(""+S3c(c,b,d,e)),IS(""+V3c())))};var eib=function(a,b){this.delegate=a;var c=this;this.selectionsState=b;this.id=a.getAllIds()[0];b.get(this.id)&&Y3c(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){Y3c(c,d)};Z3c(this.selectionsState,this.onDeselectionCallback);$3c(this.selectionsState,this.onSelectionCallback)};V(eib,y2);
eib.prototype.toggleSelection=function(){if(this.selectionsState.get(this.id)){var a=this.getRoot();a=Hgb("pk-deselect",a)}else a=this.getRoot(),a=Hgb("pk-select",a);this.getRoot().dispatchEvent(a);this.selectionsState.toggle(this.getSelection(),1)};var Y3c=function(a,b){b.id().equals(a.id)&&(a.getRoot().classList.add("isSelected"),a.getRoot().setAttribute("aria-selected","true"))};eib.prototype.dispose=function(){this.selectionsState.deselectionCallbacks.remove(this.onDeselectionCallback);this.selectionsState.selectionCallbacks.remove(this.onSelectionCallback)};var cib=function(a,b,c,d,e,g){this.delegate=Lhb(a,b,d,e,g,[2]);this.selectionsState=c;this.id=b.getPrimaryTarget().getId();this.selection=this.selectionsState.get(this.id)||Nhb(b,b.getDisplayName())};V(cib,y2);cib.prototype.getAllIds=function(){return[this.id]};cib.prototype.getSelection=function(){return this.selection};var bib=function(a){var b=a.hovercardId,c=a.label,d=a.sublabel,e=a.allowSublabelTranslation;return $n(R3c(a.id,b,c,a.densityClass,void 0,IS(""+U3c()),IS(""+S3c(c,b,d,e)),IS(""+V3c())))};var a4c=function(a,b,c,d,e,g){this.delegate=Lhb(a,b,d,e,g,[]);this.selectionsState=c;this.id=b.getPrimaryTarget().getId();this.selection=this.selectionsState.get(this.id)||Nhb(b)};V(a4c,y2);a4c.prototype.getAllIds=function(){return[this.id]};a4c.prototype.getSelection=function(){return this.selection};var b4c=function(a){var b=a.hovercardId,c=a.label,d=a.sublabel,e=a.allowSublabelTranslation;return $n(R3c(a.id,b,c,a.densityClass,void 0,IS(""+U3c()),IS(""+S3c(c,b,d,e)),IS(""+V3c())))};var Thb=function(a,b,c,d,e,g){var h=this;this.root=a;this.enabledIcon=b;this.disabledIcon=c;this.tooltip=d;this.disableNavigationFocus=e;this.internalIsDisabled=!1;this.eventHandler=Un(this);this.onClick=g;this.eventHandler.listen(this.root,"click",function(l){var q;null==(q=h.onClick)||q.call(h,l)});this.disableNavigationFocus?this.root.tabIndex=-1:(this.eventHandler.listen(this.root,"focus",function(){h.activate()}),this.eventHandler.listen(this.root,"blur",function(){h.deactivate()}))};f=Thb.prototype;
f.getRoot=function(){return this.root};f.enable=function(){this.root.disabled=!1;var a=this.root.querySelector("img");a&&(a.src=this.enabledIcon);this.internalIsDisabled=!1};f.disable=function(){this.root.disabled=!0;var a=this.root.querySelector("img");a&&this.disabledIcon&&(a.src=this.disabledIcon);this.internalIsDisabled=!0};f.isDisabled=function(){return this.internalIsDisabled};
f.dispose=function(){this.eventHandler.removeAll();this.onClick=void 0;if(this.tooltip){var a=this.tooltip;a.anchor&&(c4c(a),a.eventHandler.removeAll(),a.isDisplayedInternal=!1,a.anchor=void 0,a.showTimeout=void 0,a.hideTimeout=void 0)}};f.activate=function(){this.root.classList.add("isFocused");this.tooltip&&d4c(this.tooltip)};f.deactivate=function(){this.root.classList.remove("isFocused");this.tooltip&&c4c(this.tooltip)};f.isActive=function(){return this.root.classList.contains("isFocused")};var e4c=0;var Phb=function(a){var b=a.icon,c=a.ariaLabel,d="";c=(a=a.tooltipLabel?"tt-c"+e4c++:"")?' data-tooltip-id="'+bo(a)+'" aria-labelledby="'+bo(a)+'"':c?' aria-label="'+bo(c)+'"':"";d+='<button class="'+bo("peoplekitComponentsButtonIconIconButton")+'"'+c+">"+$n('<span><img src="'+bo(nJc(b))+'" draggable="false" aria-hidden="true" alt="" class="'+bo("peoplekitComponentsButtonIconAdaptableIcon")+'"/></span>')+"</button>";return $n(d)};var f4c=["mouseover","focusin","touchstart"],g4c=["mouseleave","blur","touchend","click"],Rhb=function(a,b,c){var d=this;this.tooltip=a;this.showDelay=void 0===b?500:b;this.hideDelay=void 0===c?300:c;this.isDisplayedInternal=!1;this.eventHandler=Un(this);this.tooltipService=Wgb(this.tooltip,function(){c4c(d)},{anchorCorner:3,popupCorner:2})},Shb=function(a,b){if(a.anchor)throw Error("Ae");a.anchor=b;for(var c=k(f4c),d=c.next();!d.done;d=c.next())a.eventHandler.listen(b,d.value,function(){h4c(a)});
i4c(a)},d4c=function(a){if(!a.anchor)throw Error("Be");a.isDisplayedInternal||(a.tooltipService.show(a.anchor),window.clearTimeout(a.showTimeout),a.showTimeout=void 0,a.isDisplayedInternal=!0)},c4c=function(a){a.isDisplayedInternal&&(a.tooltipService.hide(),window.clearTimeout(a.hideTimeout),a.hideTimeout=void 0,a.isDisplayedInternal=!1)};Rhb.prototype.getRoot=function(){return this.tooltip};
var h4c=function(a){void 0===a.showTimeout&&(window.clearTimeout(a.hideTimeout),a.hideTimeout=void 0,a.showTimeout=window.setTimeout(function(){d4c(a)},a.showDelay))},j4c=function(a){void 0===a.hideTimeout&&(window.clearTimeout(a.showTimeout),a.showTimeout=void 0,a.hideTimeout=window.setTimeout(function(){c4c(a)},a.hideDelay))},i4c=function(a){if(a.anchor){for(var b=k(g4c),c=b.next();!c.done;c=b.next())a.eventHandler.listen(a.anchor,c.value,function(){j4c(a)});a.eventHandler.listen(window,"touchmove",
function(){j4c(a)});a.eventHandler.listen(window,"focus",function(d){d.target!==a.anchor&&j4c(a)});a.eventHandler.listen(window,"blur",function(d){d.target===window&&c4c(a)})}};var Qhb=function(a){var b=a.label,c=a.ariaLabel,d=a.classes,e=a.attributes,g=$n;a='<div id="'+bo(a.id)+'" peoplekit-id="'+bo("suEOdc")+'" class="'+bo("peoplekitComponentsTooltipImplTooltip")+(d?" "+bo(d):"")+'" style="display: none;" aria-hidden="true"'+(c?' aria-label="'+bo(c)+'"':"");e?(GS(e,SIc)?e=e.getContent():(e=String(e),e=tJc.test(e)?e:"zSoyz"),GS(e,SIc)&&(e=e.getContent()),e=(e&&!e.startsWith(" ")?" ":"")+e):e="";return g(a+e+">"+co(b)+"</div>")};var Vhb=function(a,b,c){this.delegate=a;for(var d=this,e=Sn(a.getRoot(),"QChpEe");e.firstChild;)e.removeChild(e.firstChild);this.secondaryActionButton=Uhb(e,Object.assign({},{density:b.getDensity()},c));this.buttonRoot=this.secondaryActionButton.getRoot();this.buttonRoot.style.display="none";this.buttonRoot.id=a.getRoot().id+"-2ab";Pn(this.buttonRoot,163534,["impression","pk-click"]);this.secondaryActionButton.onClick=function(g){var h;null==(h=c.onClick)||h.call(c,g);d.buttonRoot.dispatchEvent(Xgb(d.buttonRoot))};
this.eventHandler=Un(this);this.eventHandler.listen(a.getRoot(),"mouseover",this.displaySecondaryActionButton);this.eventHandler.listen(a.getRoot(),"mouseleave",this.hideSecondaryActionButton)};V(Vhb,y2);f=Vhb.prototype;f.activate=function(){this.getRoot().classList.add("isActive");this.displaySecondaryActionButton()};f.deactivate=function(){this.getRoot().classList.remove("isActive");this.secondaryActionButton.deactivate();this.hideSecondaryActionButton()};
f.onKeyDown=function(a){var b=13===a.event.keyCode;if(b&&a.event.platformModifierKey||b&&this.secondaryActionButton.isActive())this.buttonRoot.click(),a.stopPropagation(),a.preventDefault()};f.dispose=function(){this.eventHandler.removeAll();this.secondaryActionButton.dispose();y2.prototype.dispose.call(this)};f.displaySecondaryActionButton=function(){this.buttonRoot.style.display=""};
f.hideSecondaryActionButton=function(){this.getRoot().classList.contains("isActive")||(this.buttonRoot.style.display="none")};var k4c={LIGHT_THEME:"https://www.gstatic.com/people/peoplekit/icons/light_theme/visibility_off_grey700.svg",DARK_THEME:"https://www.gstatic.com/people/peoplekit/icons/dark_theme/visibility_off_grey200.svg"},Yhb=function(a,b,c,d){var e={icon:0===b.getTheme()?k4c.LIGHT_THEME:k4c.DARK_THEME,tooltipLabel:"Unhide Suggestion",ariaLabel:"Unhide Suggestion Button",onClick:function(h){g.onButtonClick(h)}};y2.call(this,Whb(a,b,e,d));var g=this;this.appearanceConfig=b;this.clientConfig=c;this.dispatcher=this.clientConfig.injectorService.actionEventDispatcher};
V(Yhb,y2);Yhb.prototype.onButtonClick=function(a){l4c(this);a.stopPropagation()};var l4c=function(a){a.unhideConfirmationDialog&&m4c(a);a.dispatcher.notify(8);a.unhideConfirmationDialog=zhb(a.getRoot().ownerDocument.body,a.getSelection(),a.appearanceConfig,1);a.unhideConfirmationDialog.subscribeToAction(function(b){1===b&&a.dispatcher.notify(4,a.getAllIds());m4c(a)})},m4c=function(a){var b;null==(b=a.unhideConfirmationDialog)||b.dispose();a.unhideConfirmationDialog=void 0;a.dispatcher.notify(9,a.getRoot())};var R2=function(a){r.call(this,a)};V(R2,r);f=R2.prototype;f.getIdCase=function(){return rh(this,S2)};f.getProfileId=function(){return aq(this,1,S2)};f.setProfileId=function(a){return mm(this,1,S2,a)};f.hasProfileId=function(){return null!=Am(this,1,S2)};f.getEmail=function(){return aq(this,2,S2)};f.setEmail=function(a){return mm(this,2,S2,a)};f.hasEmail=function(){return null!=Am(this,2,S2)};f.getPhone=function(){return aq(this,3,S2)};f.setPhone=function(a){return mm(this,3,S2,a)};
f.hasPhone=function(){return null!=Am(this,3,S2)};var S2=[1,2,3];R2.prototype.toObject=function(){return n4c(this)};var n4c=function(a){if(null!=a)return t(a),{profileId:p(Am(a,1,S2)),email:p(Am(a,2,S2)),phone:p(Am(a,3,S2))}},o4c=[R2,1,Fq,S2,2,Fq,S2,3,Fq,S2];R2.prototype.serializeBinary=u(o4c);var T2=function(a){r.call(this,a)};V(T2,r);T2.prototype.getHideType=function(){return m(this,1)};T2.prototype.getHiddenKeysList=function(){return yg(this,R2,3)};T2.repeatedFields_=[3];T2.prototype.toObject=function(){return p4c(this)};var p4c=function(a){if(null!=a)return t(a),{hideType:p(m(a,1)),hiddenKeysList:Mb(a.getHiddenKeysList(),n4c),familyStatus:p(m(a,2)),birthdayStatus:p(m(a,4))}},q4c=[T2,1,Nq,3,Iq,o4c,2,Nq,4,Nq];T2.prototype.serializeBinary=u(q4c);var vkb=Lb(417869137,{peopleStackPersonData:0},T2,p4c);m0c[417869137]=gq(Hq,q4c);l0c[417869137]=vkb;var Xhb=function(){};Xhb.prototype.filterResult=function(a){var b,c;return 1===(null==(b=a.getExtendedData())?void 0:null==(c=b.getExtension(vkb))?void 0:c.getHideType())?a:null};Xhb.prototype.reset=function(){};var kib=new Map([[1,fib()],[4,fib()],[5,jib(1)],[6,jib(2)],[2,function(a){var b=a.result;var c=a.selectionsState;var d=a.resultConfig,e=a.appearanceConfig,g=a.resultCustomization,h=Jhb(b,d,g,a.isRightToLeft,vi(a.clientConfig.internal,6,!1),Bhb(e.getDensity())),l=Mm(b4c,h);Pn(l,25285,["impression","pk-select","pk-deselect"],[Ohb(b.getPrimaryTarget().getLoggingToken())]);var q=Sn(l,"d6MZcd"),v=Ahb(e.getDensity()),y;g=null!=(y=g.backupAvatarUrl)?y:"";e=qhb(q,h.photos,v,v,e,g);b=new a4c(l,b,c,d,h.tags,
e);c=new dib(new eib(b,c));return aib(Zhb(c,a),a)}],[3,function(a){var b=a.result;var c=a.selectionsState,d=a.resultConfig,e=a.appearanceConfig,g=a.resultCustomization,h=Jhb(b,d,g,a.isRightToLeft,vi(a.clientConfig.internal,6,!1),Bhb(e.getDensity())),l=Mm(X3c,h);Pn(l,25285,["impression","pk-select","pk-deselect"],[Ohb(b.getPrimaryTarget().getLoggingToken())]);var q=Sn(l,"d6MZcd"),v=Ahb(e.getDensity()),y;g=null!=(y=g.backupAvatarUrl)?y:"";e=qhb(q,h.photos,v,v,e,g);b=new dib(new W3c(l,b,c,d,h.tags,e));
return Zhb(b,a)}]]);var Dib=function(a,b,c,d,e,g,h){this.list=a;this.resultConfig=b;this.appearanceConfig=c;this.clientConfig=d;this.selectionsState=e;this.interactions=h;this.results=[];this.intelligentCollection=g.create();this.navigatable=new N0c(new Dgb(this.results))};f=Dib.prototype;f.register=function(a){this.results.push(a);this.navigatable.insert(this.navigatable.size(),[a],!1);this.intelligentCollection.append([a])};
f.append=function(a,b){a=k(a);for(var c=a.next();!c.done;c=a.next())c=lib(c.value,b,this.selectionsState,this.resultConfig,this.appearanceConfig,this.clientConfig,TS(this.list.getRoot()),this.interactions),this.list.append(c.getRoot()),this.register(c)};f.clear=function(){this.list.clear();this.navigatable.clear();this.intelligentCollection.clear();for(var a=k(this.results),b=a.next();!b.done;b=a.next())b.value.dispose();this.results.length=0};f.reset=function(){this.navigatable.reset()};
f.getNavigatable=function(){return this.navigatable};f.getResultListItems=function(){return this.results};var U2=function(a){this.delegate=a};f=U2.prototype;f.getHeader=function(){return this.delegate.getHeader()};f.getActionItems=function(){return this.delegate.getActionItems()};f.dispose=function(){this.delegate.dispose()};f.getRoot=function(){return this.delegate.getRoot()};f.activate=function(){this.delegate.activate()};f.deactivate=function(){this.delegate.deactivate()};f.spotlight=function(){this.delegate.spotlight()};f.unspotlight=function(){this.delegate.unspotlight()};f.getSelection=function(){return this.delegate.getSelection()};
f.toggleSelection=function(){this.delegate.toggleSelection()};f.onKeyDown=function(a){this.delegate.onKeyDown(a)};f.onContextMenu=function(a,b){return this.delegate.onContextMenu(a,b)};var r4c=function(){return $n('<div class="'+bo("peoplekitComponentsGroupingHeaderCollapsibleChevronContainer")+'" peoplekit-id="'+bo("wgPSWd")+'"><svg class="'+bo("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>')};var uib=function(a,b,c){this.delegate=a;var d=this;this.isCollapsed=b;this.interactionListener=c;this.chevron=Mm(r4c);this.eventHandler=Un(this);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);
Sn(this.getRoot(),"QChpEe").appendChild(this.chevron);b||this.chevron.classList.toggle("rotate")};V(uib,U2);uib.prototype.getActionItems=function(){return this.groupingHeaderActionItems};uib.prototype.dispose=function(){this.eventHandler.removeAll();U2.prototype.dispose.call(this)};uib.prototype.toggleView=function(){this.isCollapsed=!this.isCollapsed;this.chevron.classList.toggle("rotate");this.interactionListener(this.isCollapsed)};var oib=function(a,b){var c=this;this.root=a;this.triggeringElement=b;this.onUnfocusListeners=[];this.popup=Wgb(this.root,function(){c.hide()},{anchorCorner:13});this.eventHandler=Un(this);this.learnMoreLink=Sn(this.root,"lh87ke")};f=oib.prototype;
f.show=function(){var a=this;this.popup.show(this.triggeringElement);this.eventHandler.listen(document.body,"click",function(b){a.root.contains(b.target)||a.triggeringElement.contains(b.target)||a.hide()});this.eventHandler.listen(document.body,"keydown",function(b){27===b.keyCode&&a.hide()})};f.hide=function(){this.popup.hide();this.eventHandler.removeAll();this.hasFocus()&&this.unfocus()};f.focus=function(){this.learnMoreLink.classList.add("isFocused")};
f.unfocus=function(){this.learnMoreLink.classList.remove("isFocused");for(var a=k(this.onUnfocusListeners),b=a.next();!b.done;b=a.next())b=b.value,b()};f.isShown=function(){return this.popup.isShown()};f.hasFocus=function(){return this.learnMoreLink.classList.contains("isFocused")};f.getRoot=function(){return this.root};f.dispose=function(){this.hide();this.popup.dispose();this.onUnfocusListeners.length=0};
f.onKeyDown=function(a){switch(a.event.keyCode){case 13:this.hasFocus()&&(this.learnMoreLink.click(),a.stopPropagation(),a.preventDefault())}};var nib=function(a){var b=a.learnMoreMessage,c=a.learnMoreUrl;a=a.learnMoreLinkText;var d=$n;b='<div peoplekit-id="'+bo("jH8nwc")+'" class="'+bo("peoplekitComponentsLearnMoreCardImplLearnMoreCard")+'" style="display: none;"><p class="'+bo("peoplekitComponentsLearnMoreCardImplLearnMoreContent")+'"><span class="'+bo("peoplekitComponentsLearnMoreCardImplLearnMoreMessage")+'">'+co(b)+'</span> <a peoplekit-id="'+bo("lh87ke")+'" class="'+bo("peoplekitComponentsLearnMoreCardImplLearnMoreLink")+'" target="_blank" href=';
c=lJc(c);c=GS(c,ES)?String($Ic(c.getContent())).replace(sJc,HS):String(c).replace(rJc,HS);return d(b+c+">"+co(a)+"</a></p></div>")};var pib=function(a,b){var c=this;this.root=a;this.learnMoreCard=b;this.learnMoreIcon=Sn(this.root,"DN7cSe");this.eventHandler=Un(this);this.eventHandler.listen(this.learnMoreIcon,"click",function(){c.learnMoreCard.isShown()?c.learnMoreCard.hide():c.learnMoreCard.show()})};f=pib.prototype;f.activate=function(){this.learnMoreIcon.classList.add("isActive")};f.deactivate=function(){this.learnMoreIcon.classList.remove("isActive")};f.isActive=function(){return this.learnMoreIcon.classList.contains("isActive")};
f.getRoot=function(){return this.root};f.dispose=function(){this.eventHandler.removeAll();this.learnMoreCard.dispose()};f.onKeyDown=function(a){if(this.learnMoreCard.isShown())this.learnMoreCard.onKeyDown(a);if(!a.hasStoppedPropagationInternal)switch(a.event.keyCode){case 13:this.learnMoreIcon.click();a.stopPropagation();a.preventDefault();break;case 9:this.learnMoreCard.isShown()&&(this.learnMoreCard.hasFocus()?this.learnMoreCard.unfocus():this.learnMoreCard.focus(),a.stopPropagation(),a.preventDefault())}};var mib=function(a){var b=a.iconSize;a=a.padding;var c=b+2*a;c='<div peoplekit-id="'+bo("As5ZC")+'" style="height:'+bo(KS(c))+"px; width:"+bo(KS(c))+'px"><div peoplekit-id="'+bo("DN7cSe")+'" class="'+bo("peoplekitComponentsLearnMoreIconImplLearnMoreIcon")+'" style="height:'+bo(KS(c))+"px; width:"+bo(KS(c))+'px">';b=$n('<svg class="'+bo("peoplekitComponentsLearnMoreIconImplInfoIcon")+'" style="padding: '+bo(KS(a))+'px" xmlns="http://www.w3.org/2000/svg" height="'+bo(b)+'px" viewBox="0 0 24 24" width="'+
bo(b)+'px"><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>');b=c+b+'</div><div peoplekit-id="'+bo("lLe7uf")+'"></div></div>';return $n(b)};var s4c=function(a,b,c){this.delegate=a;var d=this,e=Sn(this.getRoot(),"xiK4Cd");this.learnMoreIcon=qib(e,b,c);this.groupingHeaderActionItems=a.getActionItems().slice();this.groupingHeaderActionItems.push({focus:function(){d.learnMoreIcon.activate()},unfocus:function(){d.learnMoreIcon.deactivate();d.learnMoreIcon.learnMoreCard.hide()},onKeyDown:function(g){d.learnMoreIcon.onKeyDown(g)}})};V(s4c,U2);s4c.prototype.getActionItems=function(){return this.groupingHeaderActionItems};
s4c.prototype.dispose=function(){this.learnMoreIcon.dispose();U2.prototype.dispose.call(this)};var sib=function(a,b){this.root=a;this.header=b};f=sib.prototype;f.getHeader=function(){return this.header};f.getActionItems=function(){return[]};f.dispose=function(){};f.getRoot=function(){return this.root};f.activate=function(){};f.deactivate=function(){};f.spotlight=function(){};f.unspotlight=function(){};f.getSelection=function(){throw Error("ye");};f.toggleSelection=function(){};f.onKeyDown=function(){};f.onContextMenu=function(){return function(){}};var rib=function(a){var b=$n;var c=a.id;a=a.header;c=$n('<div class="'+bo("peoplekitComponentsGroupingHeaderGroupingHeader")+'" id="'+bo(c)+'" peoplekit-id="'+bo("XLuqBd")+'"><div class="'+bo("peoplekitComponentsGroupingHeaderGroupingHeaderRow")+'"><div class="'+bo("peoplekitComponentsGroupingHeaderHeader")+'">'+co(a)+'</div><div class="'+bo("peoplekitComponentsGroupingHeaderAction")+'"><div class="'+bo("peoplekitComponentsGroupingHeaderActionRow")+'"><div class="'+bo("peoplekitComponentsGroupingHeaderLeft")+
'" peoplekit-id="'+bo("xiK4Cd")+'"></div><div class="'+bo("peoplekitComponentsGroupingHeaderRight")+'" peoplekit-id="'+bo("QChpEe")+'"></div></div></div></div></div>');return b(c)};var t4c=function(a){this.delegate=a};V(t4c,U2);t4c.prototype.spotlight=function(){var a=this.getActionItems();a.length&&(this.activeActionItemIndex=0,a[this.activeActionItemIndex].focus())};t4c.prototype.unspotlight=function(){void 0!==this.activeActionItemIndex&&(this.getActionItems()[this.activeActionItemIndex].unfocus(),this.activeActionItemIndex=void 0)};
t4c.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 V2=function(a){this.delegate=a};f=V2.prototype;f.append=function(a){this.delegate.append(a)};f.isInteractive=function(){return this.delegate.isInteractive()};f.getGroupName=function(){return this.delegate.getGroupName()};f.getHeader=function(){return this.delegate.getHeader()};f.getItems=function(){return this.delegate.getItems()};f.getRoot=function(){return this.delegate.getRoot()};f.dispose=function(){this.delegate.dispose()};var jo=function(a,b){this.delegate=a;var c=this;this.listContainer=Sn(this.getRoot(),"tjneg");a=a.getHeader();if(!a)throw Error("De");this.collapsibleHeader=vib(a,b.isInitiallyCollapsed,function(d){c.interactionListener(d)});b.isInitiallyCollapsed&&this.listContainer.classList.add("collapsed")};V(jo,V2);jo.prototype.isInteractive=function(){return!0};jo.prototype.getHeader=function(){return this.collapsibleHeader};jo.prototype.dispose=function(){this.collapsibleHeader.dispose();V2.prototype.dispose.call(this)};
jo.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 zib=function(a,b){this.delegate=a;a=a.getHeader();if(!a)throw Error("Ee");this.infoHeader=new s4c(a,{iconSize:16,padding:5},{learnMoreMessage:b.learnMoreMessage,learnMoreUrl:b.learnMoreUrl,learnMoreLinkText:b.learnMoreLinkText})};V(zib,V2);zib.prototype.isInteractive=function(){return!0};zib.prototype.getHeader=function(){return this.infoHeader};zib.prototype.dispose=function(){this.infoHeader.dispose();V2.prototype.dispose.call(this)};var wib=function(a,b){this.delegate=a;this.groupName=b;this.header=tib(b);Sn(a.getRoot(),"Bm3u4d").appendChild(this.header.getRoot())};V(wib,V2);wib.prototype.getGroupName=function(){return this.groupName};wib.prototype.getHeader=function(){return this.header};wib.prototype.dispose=function(){this.header.dispose();V2.prototype.dispose.call(this)};var u4c=function(a){this.root=a;this.items=[];this.list=bgb(Sn(a,"tjneg"))};f=u4c.prototype;f.append=function(a){this.items.push(a);this.list.append(a.getRoot())};f.isInteractive=function(){return!1};f.getGroupName=function(){return""};f.getHeader=function(){};f.getItems=function(){return this.items};f.getRoot=function(){return this.root};f.dispose=function(){for(var a=k(this.items),b=a.next();!b.done;b=a.next())b.value.dispose();this.list.clear();this.items=[]};var W2=function(a,b,c){this.delegate=a;var d=this;this.resultListGroupConfig=b;this.navigatable=c;this.listContainer=Sn(this.getRoot(),"tjneg");var e,g;this.isInitiallyCollapsed=null!=(g=null==(e=this.resultListGroupConfig.collapsibleGroupConfig)?void 0:e.isInitiallyCollapsed)?g:!1;(this.header=a.getHeader())&&this.header.getActionItems().length&&(this.header=new t4c(this.header),this.navigatable.insert(this.navigatable.size(),[this.header],!1));this.mutationObserver=new MutationObserver(function(h){d.onMutation(h)});
this.mutationObserver.observe(this.listContainer,{attributes:!0})};V(W2,V2);W2.prototype.append=function(a){this.isInitiallyCollapsed||this.navigatable.insert(this.navigatable.size(),[a],!1);V2.prototype.append.call(this,a)};W2.prototype.getHeader=function(){return this.header};W2.prototype.dispose=function(){this.mutationObserver.disconnect();V2.prototype.dispose.call(this)};
W2.prototype.onMutation=function(a){if(this.header){a=k(a);for(var b=a.next();!b.done;b=a.next())b=b.value,"attributes"===b.type&&"class"===b.attributeName&&(b.target.classList.contains("collapsed")?this.navigatable.remove(this.getItems(),!1):(b=this.navigatable.getIndexOf(this.header),this.navigatable.insert(b+1,this.getItems(),!1)))}};var v4c=function(a){return $n('<div id="'+bo(a.id)+'" peoplekit-id="'+bo("E9WxSb")+'"><div peoplekit-id="'+bo("Bm3u4d")+'"></div><div class="'+bo("peoplekitComponentsResultListGroupListContainer")+'" peoplekit-id="'+bo("tjneg")+'"></div></div>')};var sjb=function(a,b,c,d,e,g,h){this.list=a;this.resultConfig=b;this.appearanceConfig=c;this.clientConfig=d;this.selectionsState=e;this.interactions=g;this.grouping=h;this.groups=new Map;this.navigatable=new N0c(new Dgb([]))};f=sjb.prototype;
f.append=function(a,b){a=k(a);for(var c=a.next();!c.done;c=a.next()){var d=c.value;c=this.grouping.getGroupId(d);var e=this.groups.get(c);d=lib(d,b,this.selectionsState,this.resultConfig,this.appearanceConfig,this.clientConfig,TS(this.list.getRoot()),this.interactions);if(c&&!e){e=this.grouping;var g=this.navigatable,h=[xib,Aib,Bib],l=In(Rn.getInstance()),q=Mm(v4c,{id:l});l=yib();q=new u4c(q);h=k(h);for(var v=h.next();!v.done;v=h.next())v=v.value,q=v(q,e,c);e=new W2(q,l,g);this.groups.set(c,e);this.list.append(e.getRoot())}e.append(d)}};
f.clear=function(){this.list.clear();this.navigatable.clear();for(var a=k(this.groups.values()),b=a.next();!b.done;b=a.next())b.value.dispose();this.groups.clear()};f.reset=function(a){this.navigatable.reset();this.grouping.reset(a)};f.getNavigatable=function(){return this.navigatable};f.getResultListItems=function(){for(var a=[],b=k(this.groups.values()),c=b.next();!c.done;c=b.next())a.push.apply(a,Jc(c.value.getItems()));return a};var Fib=function(a,b,c){this.delegate=a;this.list=b;this.grouping=c;this.renderedGroups=new Set};f=Fib.prototype;f.append=function(a,b){a=k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=this.grouping.getGroupId(c);if(d&&!this.renderedGroups.has(d)){var e=this.grouping.getGroupName(d);if(e&&(e=tib(e),this.list.append(e.getRoot()),e.getActionItems().length)){var g=this.getNavigatable();g.insert(g.size(),[e],!1)}this.renderedGroups.add(d)}this.delegate.append([c],b)}};
f.clear=function(){this.renderedGroups.clear();this.delegate.clear()};f.reset=function(a){this.grouping.reset(a);this.renderedGroups.clear();this.delegate.reset(a)};f.getNavigatable=function(){return this.delegate.getNavigatable()};f.getResultListItems=function(){return this.delegate.getResultListItems()};var Gib=function(a,b){this.delegate=a;this.interactions=b};f=Gib.prototype;f.append=function(a,b){a=k(a);for(var c=a.next();!c.done;c=a.next())c=c.value,this.delegate.append([c],b),this.interactions.display(c)};f.clear=function(){this.delegate.clear()};f.reset=function(a){this.delegate.reset(a)};f.getNavigatable=function(){return this.delegate.getNavigatable()};f.getResultListItems=function(){return this.delegate.getResultListItems()};var Cib=function(a){a=a.header;return $n('<div peoplekit-id="'+bo("aittld")+'">'+(0<a.length?'<div class="'+bo("peoplekitUiResultlistHeader")+'">'+co(a)+"</div>":"")+'<div peoplekit-id="'+bo("tjneg")+'"></div></div>')};var qjb=function(a){this.label=a};qjb.prototype.getGroupId=function(a){return a.getTargetList().some(function(b){return 2!==b.getDataSource()})?"non_directory":"directory"};qjb.prototype.getGroupName=function(a){switch(a){case "directory":return this.label;case "non_directory":return"";default:return a}};var yib=function(){throw Error("Fe");};qjb.prototype.reset=function(){};var rjb=function(a){this.label=a};rjb.prototype.getGroupId=function(a){return 7!==a.getResultType()?"suggestions":"non_suggestions"};rjb.prototype.getGroupName=function(a){switch(a){case "suggestions":return this.label;case "non_suggestions":return"";default:return a}};rjb.prototype.reset=function(){};var w4c=function(a){this.delegate=a};f=w4c.prototype;f.search=function(a,b,c,d){this.delegate.search(a,b,c,d)};f.attach=function(){this.delegate.attach()};f.detach=function(){this.delegate.detach()};f.isShown=function(){return this.delegate.isShown()};f.onKeyDown=function(a){this.delegate.onKeyDown(a)};f.dispose=function(){this.delegate.dispose()};f.getNavigatable=function(){return this.delegate.getNavigatable()};f.getRoot=function(){return this.delegate.getRoot()};var zjb=function(a,b,c,d,e,g){this.delegate=a;var h=this;this.peopleStore=b;this.clientConfig=d;this.autocompleteConfig=e;this.navigationInput=g;this.navigatable=this.getNavigatable();this.previouslyActiveElement=null;this.hideListener=function(l){return x4c(h,l)};this.unhideListener=function(l){return y4c(h,l)};this.onContextMenuDisposedListener=function(l){if(h.navigationInput!==document.activeElement){var q;null==(q=h.navigatable.getItem(l))||q.deactivate();h.navigatable.reset()}};this.saveActiveElement=
function(){h.previouslyActiveElement=document.activeElement};this.onDialogDisposedListener=function(l){h.navigationInput===h.previouslyActiveElement&&(l=h.navigatable.getItem(l))&&h.navigatable.goToItem(l,0);var q;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)};V(zjb,w4c);zjb.prototype.search=function(a,b,c,d){this.currentSearchState={query:a,anchor:b,showSuggestions:c,listener:d};w4c.prototype.search.call(this,a,b,c,d)};
zjb.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);w4c.prototype.dispose.call(this)};
var x4c=function(a,b){return Ld(function(c){switch(c.nextAddress){case 1:return Md(c,2),c.yield(a.hide.hideResults(b),4);case 4:return c.yield(a.refreshResults(),5);case 5:xp(c,0);break;case 2:Pd(c),z4c(a),Qd(c)}})},y4c=function(a,b){return Ld(function(c){switch(c.nextAddress){case 1:return Md(c,2),c.yield(a.hide.unhideResults(b),4);case 4:return c.yield(a.refreshResults(),5);case 5:xp(c,0);break;case 2:Pd(c),A4c(a),Qd(c)}})};
zjb.prototype.refreshResults=function(){var a=this;return Ld(function(b){if(1==b.nextAddress)return a.getRoot().classList.add("isLoading"),a.peopleStore.flushCache(2),b.yield(a.peopleStore.warmUpCache(),2);a.currentSearchState?w4c.prototype.search.call(a,a.currentSearchState.query,a.currentSearchState.anchor,a.currentSearchState.showSuggestions,a.currentSearchState.listener):a.getRoot().classList.remove("isLoading");Qd(b)})};
var z4c=function(a){a.hideErrorDialog=jhb(a.getRoot(),a.autocompleteConfig);a.hideErrorDialog.subscribeToAction(function(){var b;null==(b=a.hideErrorDialog)||b.dispose()})},A4c=function(a){a.unhideErrorDialog=lhb(a.getRoot(),a.autocompleteConfig);a.unhideErrorDialog.subscribeToAction(function(){var b;null==(b=a.unhideErrorDialog)||b.dispose()})};var B4c=function(a,b){Egb.call(this,a,b)};V(B4c,Egb);B4c.prototype.onKeyDown=function(a){if(9===a.event.keyCode){var b=this.getSpotlitItem();if(b){b=b.getRoot();var c=b.querySelector('[id="'+(b.id+'-2ab"]'));if(c){var d=this.ariaParent;var e=Uuc(d,"activedescendant");d=Az(d).getElementById(e);aM(this.ariaParent,d===c?b:c)}}}Egb.prototype.onKeyDown.call(this,a)};var yjb=function(a,b,c,d,e,g,h,l){this.root=a;this.navigationInput=b;this.resultList=c;this.session=d;this.health=e;this.config=g;this.noResultsMessage=h;this.clientConfig=l;this.attached=!1;this.resultsLoadingCompleteListeners=[];this.navigatable=new B4c(this.navigationInput,this.resultList.getNavigatable());this.navigatable.setSecondaryEventTargets([this]);this.navigationEventHandler=Jgb({getPrevKeyCode:function(){return 38},getNextKeyCode:function(){return 40}},{shouldReactToHomeEnd:!1});this.eventHandler=
Un(this);Wfb(this.root,0)};f=yjb.prototype;f.search=function(a,b,c,d){var e=this;this.resultList.reset(a);this.resultList.clear();this.root.classList.remove("noResults");this.root.classList.add("isLoading");Wfb(this.root,1);if(a){var g=C4c(this.health);g.start();this.session.search(a,function(l){e.update(l,d,g,!0)})}else if(c){var h=C4c(this.health);h.start();this.session.suggest(function(l){e.update(l,d,h,!1)})}};
f.attach=function(){var a=this;this.attached||(this.attached=!0,this.navigationEventHandler.attach(this.navigationInput,this.navigatable),this.eventHandler.listen(this.root,"mousedown",function(b){b.preventDefault();b.stopPropagation()}),vi(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 v2(b),function(){}))}))};
f.detach=function(){this.attached=!1;this.navigatable.reset();this.navigationEventHandler.detach();this.eventHandler.removeAll();this.session.cancel();Wfb(this.root,0)};f.isShown=function(){return!0};f.dispose=function(){this.detach();this.root.parentNode&&this.root.parentNode.removeChild(this.root)};
f.update=function(a,b,c,d){var e=a.getResults();a=a.getMetadata();this.root.classList.remove("isLoading");var g=a.getQuery();this.resultList.append(e,{query:g});e=this.resultList.getResultListItems();this.attach();var h=!1;0<e.length?(h=!0,this.root.classList.remove("noResults")):a.getIsLastCallback()&&(h=this.noResultsMessage.update({query:g}),this.root.classList.add("noResults"));b({count:e.length,hasContent:h});(d||this.config.getAutoActivateFirstSuggestion())&&0<e.length&&!this.navigatable.getSpotlitItem()&&
this.navigatable.goToItem(e[0],0);if(a.getIsLastCallback())for(Wfb(this.root,0===a.getCode()?2:3,a.getCode()),b={query:g,resultCount:e.length},d=k(this.resultsLoadingCompleteListeners),a=d.next();!a.done;a=d.next())a=a.value,a(b);else Wfb(this.root,4);c.stop()};f.onKeyDown=function(a){var b=13===a.event.keyCode;if(9===a.event.keyCode&&!a.event.shiftKey||b)if(b=this.navigatable.getActiveItems(),b.length){b=k(b);for(var c=b.next();!c.done;c=b.next())c.value.toggleSelection();a.preventDefault();a.stopPropagation()}};
f.getNavigatable=function(){return this.navigatable};f.getRoot=function(){return this.root};var pjb=function(){var a=$n,b='<div class="'+bo("peoplekitComponentsAutocompleteInlineContainer")+'" peoplekit-id="'+bo("yDHfq")+'"><div class="'+bo("peoplekitComponentsAutocompleteInlineListContainer")+'">';var c=IS('<div peoplekit-id="'+bo("tjneg")+'"></div>');c=$n('<div tabindex="-1" class="'+bo("peoplekitComponentsScrollboxScrollbar")+'" peoplekit-id="'+bo("I8ejUe")+'">'+co(c)+"</div>");b=b+c+'</div><div class="'+bo("peoplekitComponentsAutocompleteInlineCircularProgress")+'">';c='<div class="'+
bo("peoplekitComponentsCircularprogressCircularProgress")+(" "+bo("isActive"))+'" data-loadingmessage="'+bo("Loading...")+'" data-active="true"><div class="'+bo("peoplekitComponentsCircularprogressMessageContainer")+'" aria-live="polite" jsname="'+bo("vyyg5")+'">'+co("Loading...")+'</div><div class="'+bo("peoplekitComponentsCircularprogressCircularProgressContainer")+'"><div class="'+bo("peoplekitComponentsCircularprogressCircularProgressLayer")+" "+bo("peoplekitComponentsCircularprogressColorOne")+
" "+bo("exportColorOne")+'"><div class="'+bo("peoplekitComponentsCircularprogressCircleClipper")+" "+bo("peoplekitComponentsCircularprogressLeft")+'"><div class="'+bo("peoplekitComponentsCircularprogressCircle")+" "+bo("exportCircle")+'"></div></div><div class="'+bo("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+bo("peoplekitComponentsCircularprogressCircle")+" "+bo("exportCircle")+'"></div></div><div class="'+bo("peoplekitComponentsCircularprogressCircleClipper")+" "+bo("peoplekitComponentsCircularprogressRight")+
'"><div class="'+bo("peoplekitComponentsCircularprogressCircle")+" "+bo("exportCircle")+'"></div></div></div><div class="'+bo("peoplekitComponentsCircularprogressCircularProgressLayer")+" "+bo("peoplekitComponentsCircularprogressColorTwo")+" "+bo("exportColorTwo")+'"><div class="'+bo("peoplekitComponentsCircularprogressCircleClipper")+" "+bo("peoplekitComponentsCircularprogressLeft")+'"><div class="'+bo("peoplekitComponentsCircularprogressCircle")+" "+bo("exportCircle")+'"></div></div><div class="'+
bo("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+bo("peoplekitComponentsCircularprogressCircle")+" "+bo("exportCircle")+'"></div></div><div class="'+bo("peoplekitComponentsCircularprogressCircleClipper")+" "+bo("peoplekitComponentsCircularprogressRight")+'"><div class="'+bo("peoplekitComponentsCircularprogressCircle")+" "+bo("exportCircle")+'"></div></div></div><div class="'+bo("peoplekitComponentsCircularprogressCircularProgressLayer")+" "+bo("peoplekitComponentsCircularprogressColorThree")+
" "+bo("exportColorThree")+'"><div class="'+bo("peoplekitComponentsCircularprogressCircleClipper")+" "+bo("peoplekitComponentsCircularprogressLeft")+'"><div class="'+bo("peoplekitComponentsCircularprogressCircle")+" "+bo("exportCircle")+'"></div></div><div class="'+bo("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+bo("peoplekitComponentsCircularprogressCircle")+" "+bo("exportCircle")+'"></div></div><div class="'+bo("peoplekitComponentsCircularprogressCircleClipper")+" "+bo("peoplekitComponentsCircularprogressRight")+
'"><div class="'+bo("peoplekitComponentsCircularprogressCircle")+" "+bo("exportCircle")+'"></div></div></div><div class="'+bo("peoplekitComponentsCircularprogressCircularProgressLayer")+" "+bo("peoplekitComponentsCircularprogressColorFour")+" "+bo("exportColorFour")+'"><div class="'+bo("peoplekitComponentsCircularprogressCircleClipper")+" "+bo("peoplekitComponentsCircularprogressLeft")+'"><div class="'+bo("peoplekitComponentsCircularprogressCircle")+" "+bo("exportCircle")+'"></div></div><div class="'+
bo("peoplekitComponentsCircularprogressGapPatch")+'"><div class="'+bo("peoplekitComponentsCircularprogressCircle")+" "+bo("exportCircle")+'"></div></div><div class="'+bo("peoplekitComponentsCircularprogressCircleClipper")+" "+bo("peoplekitComponentsCircularprogressRight")+'"><div class="'+bo("peoplekitComponentsCircularprogressCircle")+" "+bo("exportCircle")+'"></div></div></div></div></div>';c=$n(c);return a(b+c+"</div></div>")},tjb=function(){return $n('<div class="'+bo("peoplekitComponentsAutocompleteInlineNoResultsContainer")+
'"></div>')};var vjb=function(a){a=a||{};var b=a.primaryMessage,c=a.contextMessage,d=a.learnMoreUrl,e=a.urlText;a=a.jsname;a='<div class="'+bo("peoplekitComponentsNoResultsMessageNoResultsMessage")+'"'+(a?' jsname="'+bo(a)+'"':"")+'><p class="'+bo("peoplekitComponentsNoResultsMessageHeader")+'">';a=b?a+co(b):a+"No results";a+="</p>";if((c instanceof FS?c.getContent():c)||(d instanceof FS?d.getContent():d))a+='<p class="'+bo("peoplekitComponentsNoResultsMessageExplanation")+'">'+(c?co(c)+(d?" ":""):""),d&&(a+=
'<a jsname="'+bo("viORvd")+'" class="'+bo("peoplekitComponentsNoResultsMessageLearnMoreLink")+'" target="_blank" href="'+bo(lJc(d))+'">',a=e?a+co(e):a+"Learn more",a+="</a>"),a+="</p>";return $n(a+"</div>")};var ujb=function(a,b){this.parent=a;this.config=b};ujb.prototype.update=function(a){this.root&&this.root.remove();a=this.config.display(a);if(!a)return!1;this.root=Mm(vjb,a);this.parent.appendChild(this.root);return!0};var xjb=function(){};xjb.prototype.update=function(){return!1};var wjb=function(){};wjb.prototype.update=function(){return!0};var Ajb=function(a,b,c,d,e){var g=this;this.root=a;this.navigationInput=b;this.inlineAutocomplete=c;this.selectionsState=d;this.config=e;this.lastShowTime=0;this.popup=Wgb(this.root,function(){g.hide()},{moveAboveAnchorIfOffscreen:this.config.getMoveAutocompleteAboveAnchorIfOffscreen()});this.inlineAutocomplete.getNavigatable().setSecondaryEventTargets([this.inlineAutocomplete,this]);this.eventHandler=Un(this);this.onSelectionCallback=function(){g.onSelect()};this.onSelectionAttemptedCallback=function(){g.hide()};
this.attach()};f=Ajb.prototype;f.search=function(a,b,c,d){var e=this;this.hide();this.inlineAutocomplete.search(a,b,c,function(g){e.anchor=b;e.update(g);d(g)})};f.attach=function(){var a=this;$3c(this.selectionsState,this.onSelectionCallback);this.selectionsState.selectionAttemptedCallbacks.add(this.onSelectionAttemptedCallback,2);this.eventHandler.listen(this.root,"mouseover",function(b){100>Date.now()-a.lastShowTime&&(b.preventDefault(),b.stopPropagation())})};f.onSelect=function(){this.hide()};
f.onKeyDown=function(a){this.isShown()&&27===a.event.keyCode&&(this.hide(),a.preventDefault(),a.stopPropagation())};f.detach=function(){this.hide()};f.isShown=function(){return this.popup.isShown()};f.dispose=function(){this.detach();this.selectionsState.selectionCallbacks.remove(this.onSelectionCallback);this.selectionsState.selectionAttemptedCallbacks.remove(this.onSelectionAttemptedCallback);this.eventHandler.removeAll();this.inlineAutocomplete.dispose();this.root.parentNode&&this.root.parentNode.removeChild(this.root)};
f.getNavigatable=function(){return this.inlineAutocomplete.getNavigatable()};f.getRoot=function(){return this.root};f.update=function(a){a.hasContent&&this.show()};
f.show=function(){this.navigationInput.setAttribute("aria-expanded","true");this.lastShowTime=Date.now();var a=this.navigationInput.clientWidth;a:{var b=this.config.getDensity();switch(b){case 0:b=300;break a;case 1:b=300;break a;case 2:b=240;break a;default:throw Error("re`"+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("re`"+c);}}this.root.style.width=QS(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("re`"+a);}this.root.style.maxHeight=this.config.getAutocompleteMaxResultsBeforeScroll()*a+"px";this.root.style.minHeight=a+"px";this.popup.show(this.anchor)};f.hide=function(){this.popup.hide();this.navigationInput.setAttribute("aria-expanded","false");this.inlineAutocomplete.detach()};var ojb=function(){return $n('<div class="'+bo("peoplekitComponentsAutocompletePopupContainer")+'" peoplekit-id="'+bo("noeiCf")+'" style="display: none;"></div>')};var D4c=function(){this.batches=new Map};D4c.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 Iib=function(a,b){this.service=a;this.resolveComponents=b};
Iib.prototype.update=function(a){var b=this;a=k([].concat(Jc(a.batches.values())));for(var c=a.next();!c.done;c=a.next()){var d=c.value;if(d.features.length){c=this.service.for(d.ids);d=k(d.features);for(var e=d.next();!e.done;e=d.next())switch(e.value){case 1:c=c.withWaldo(function(g){E4c(b,g.values,function(h,l,q){q.updateWaldo(l,h)})});break;case 2:c=c.withHubAvailabilityDot(function(g){E4c(b,g.values,function(h,l,q){q.updateHubAvailabilityDot(l,h)})})}c.execute()}}};
var E4c=function(a,b,c){b=k(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;for(var e=d.getLookupId(),g=k(a.resolveComponents(e)),h=g.next();!h.done;h=g.next())c(e,d,h.value)}};var F4c=new Set([1,3,20]),G4c=function(a){var b=this;this.idToComponent=new Map;this.updater=Jib(a,function(c){return b.resolveComponents(c)})};f=G4c.prototype;
f.append=function(a){var b=a.filter(function(g){return g.getAllIds().some(function(h){return F4c.has(h.getType())})});a=[];b=k(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;c.initializeIntelligence();for(var d=k(c.getAllIds()),e=d.next();!e.done;e=d.next())e=e.value,a.push(e),e=String(e),this.idToComponent.has(e)||this.idToComponent.set(e,[]),this.idToComponent.get(e).push(c)}this.refresh(a)};
f.remove=function(a){var b={};a=k(a);for(var c=a.next();!c.done;b={$jscomp$loop$prop$component$2361:b.$jscomp$loop$prop$component$2361},c=a.next()){b.$jscomp$loop$prop$component$2361=c.value;c=k(b.$jscomp$loop$prop$component$2361.getAllIds());for(var d=c.next();!d.done;d=c.next()){d=String(d.value);var e=this.idToComponent.get(d);e&&this.idToComponent.set(d,e.filter(function(g){return function(h){return h!==g.$jscomp$loop$prop$component$2361}}(b)))}}};
f.resolveComponents=function(a){return this.idToComponent.get(String(a))||[]};f.refresh=function(a){var b=new D4c;a=k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=this.resolveComponents(c);d=k(d);for(var e=d.next();!e.done;e=d.next())b.add(c,e.value.getSupportedIntelligenceFeatures())}this.updater.update(b)};f.clear=function(){this.idToComponent.clear()};var H4c=function(){};H4c.prototype.append=function(){};H4c.prototype.remove=function(){};H4c.prototype.refresh=function(){};H4c.prototype.clear=function(){};var njb=function(a){this.peopleIntelligence=a};njb.prototype.create=function(){return this.peopleIntelligence?new G4c(this.peopleIntelligence):new H4c};var I4c=function(){this.label="";this.type=0};f=I4c.prototype;f.getAutocompleteGroupingType=function(){return this.type};f.setAutocompleteGroupingType=function(a){this.type=a};f.getAutocompleteGroupingLabel=function(){return this.label};f.setAutocompleteGroupingLabel=function(a){this.label=a};f.getAutocompleteCustomGrouping=function(){return this.customGrouping};var J4c=function(){this.decorationConfigRequest=function(){};this.resultCustomizationCallback=function(){return{}}};J4c.prototype.getAllowResultDeselection=function(){return!1};J4c.prototype.getWarnForExternalSelections=function(){return!1};J4c.prototype.getResultDecorationConfigRequestCallback=function(){return this.decorationConfigRequest};J4c.prototype.getResultCustomizationCallback=function(){return this.resultCustomizationCallback};var K4c=function(a){this.header="";this.showSuggestions=!1;this.autoActivateFirstSuggestion=!0;this.maxResultsBeforeScroll=7;this.moveAutocompleteAboveAnchorIfOffscreen=!0;this.entryPoint=0;this.noResultsMessage=null;this.environmentConfig=a;this.grouping=new I4c;this.result=new J4c;this.appearance=new ao};f=K4c.prototype;f.getEnvironmentConfig=function(){return this.environmentConfig};f.getAutocompleteHeader=function(){return this.header};f.setAutocompleteHeader=function(a){this.header=a};
f.getShowSuggestions=function(){return this.showSuggestions};f.setShowSuggestions=function(a){this.showSuggestions=a};f.getAutocompleteMaxResultsBeforeScroll=function(){return this.maxResultsBeforeScroll};f.setAutocompleteMaxResultsBeforeScroll=function(a){this.maxResultsBeforeScroll=Math.max(Math.min(20,a),3)};f.getMoveAutocompleteAboveAnchorIfOffscreen=function(){return this.moveAutocompleteAboveAnchorIfOffscreen};
f.setMoveAutocompleteAboveAnchorIfOffscreen=function(a){this.moveAutocompleteAboveAnchorIfOffscreen=a};f.getAutoActivateFirstSuggestion=function(){return this.autoActivateFirstSuggestion};f.setAutoActivateFirstSuggestion=function(a){this.autoActivateFirstSuggestion=a};f.setEntryPoint=function(a){this.entryPoint=a};f.getEntryPoint=function(){return this.entryPoint};f.getNoResultsMessage=function(){return this.noResultsMessage};f.setNoResultsMessage=function(a){this.noResultsMessage=a};
f.getAutocompleteGroupingType=function(){return this.grouping.getAutocompleteGroupingType()};f.setAutocompleteGroupingType=function(a){this.grouping.setAutocompleteGroupingType(a)};f.getAutocompleteGroupingLabel=function(){return this.grouping.getAutocompleteGroupingLabel()};f.setAutocompleteGroupingLabel=function(a){this.grouping.setAutocompleteGroupingLabel(a)};f.getAutocompleteCustomGrouping=function(){return this.grouping.getAutocompleteCustomGrouping()};f.getAllowResultDeselection=function(){return this.result.getAllowResultDeselection()};
f.getWarnForExternalSelections=function(){return this.result.getWarnForExternalSelections()};f.getResultDecorationConfigRequestCallback=function(){return this.result.getResultDecorationConfigRequestCallback()};f.getResultCustomizationCallback=function(){return this.result.getResultCustomizationCallback()};f.getDensity=function(){return this.appearance.getDensity()};f.setDensity=function(a){this.appearance.setDensity(a)};f.getTheme=function(){return this.appearance.getTheme()};f.setTheme=function(a){this.appearance.setTheme(a)};var L4c=function(a){this.environmentConfig=a;this.autocomplete=new K4c(a)};f=L4c.prototype;f.getEnvironmentConfig=function(){return this.environmentConfig};f.getAutocompleteHeader=function(){return this.autocomplete.getAutocompleteHeader()};f.setAutocompleteHeader=function(a){this.autocomplete.setAutocompleteHeader(a)};f.getShowSuggestions=function(){return this.autocomplete.getShowSuggestions()};f.setShowSuggestions=function(a){this.autocomplete.setShowSuggestions(a)};
f.getAutocompleteMaxResultsBeforeScroll=function(){return this.autocomplete.getAutocompleteMaxResultsBeforeScroll()};f.setAutocompleteMaxResultsBeforeScroll=function(a){this.autocomplete.setAutocompleteMaxResultsBeforeScroll(a)};f.getMoveAutocompleteAboveAnchorIfOffscreen=function(){return this.autocomplete.getMoveAutocompleteAboveAnchorIfOffscreen()};f.setMoveAutocompleteAboveAnchorIfOffscreen=function(a){this.autocomplete.setMoveAutocompleteAboveAnchorIfOffscreen(a)};
f.getAutoActivateFirstSuggestion=function(){return this.autocomplete.getAutoActivateFirstSuggestion()};f.setAutoActivateFirstSuggestion=function(a){this.autocomplete.setAutoActivateFirstSuggestion(a)};f.setEntryPoint=function(a){this.autocomplete.setEntryPoint(a)};f.getEntryPoint=function(){return this.autocomplete.getEntryPoint()};f.getNoResultsMessage=function(){return this.autocomplete.getNoResultsMessage()};f.setNoResultsMessage=function(a){this.autocomplete.setNoResultsMessage(a)};
f.getAutocompleteGroupingType=function(){return this.autocomplete.getAutocompleteGroupingType()};f.setAutocompleteGroupingType=function(a){this.autocomplete.setAutocompleteGroupingType(a)};f.getAutocompleteGroupingLabel=function(){return this.autocomplete.getAutocompleteGroupingLabel()};f.setAutocompleteGroupingLabel=function(a){this.autocomplete.setAutocompleteGroupingLabel(a)};f.getAutocompleteCustomGrouping=function(){return this.autocomplete.getAutocompleteCustomGrouping()};
f.getAllowResultDeselection=function(){return this.autocomplete.getAllowResultDeselection()};f.getWarnForExternalSelections=function(){return this.autocomplete.getWarnForExternalSelections()};f.getResultDecorationConfigRequestCallback=function(){return this.autocomplete.getResultDecorationConfigRequestCallback()};f.getResultCustomizationCallback=function(){return this.autocomplete.getResultCustomizationCallback()};f.getDensity=function(){return this.autocomplete.getDensity()};f.setDensity=function(a){this.autocomplete.setDensity(a)};
f.getTheme=function(){return this.autocomplete.getTheme()};f.setTheme=function(a){this.autocomplete.setTheme(a)};var M4c=Object.freeze(new Map([[5,1]]));var N4c=function(){this.entryPoint_=0};N4c.prototype.getPeoplekitEntryPoint=function(){return this.entryPoint_};N4c.prototype.setPeoplekitEntryPoint=function(a){this.entryPoint_=a;return this};N4c.prototype.serialize=function(){return[this.entryPoint_].toString()};var O4c=Object.freeze(new N4c);var P4c=function(){this.originator_=0};P4c.prototype.setOriginator=function(a){this.originator_=a;return this};P4c.prototype.getOriginator=function(){return this.originator_};var jjb=function(a,b,c){var d=this;this.reporter=a.getReporter((new N4c).setPeoplekitEntryPoint(c));$3c(b,function(e,g,h){d.select(e,h)},0);Z3c(b,function(e,g,h){d.deselect(e,h)},0);Q4c(b,function(e,g,h,l){d.replace(e,l)})};f=jjb.prototype;f.display=function(a){this.reporter.reportDisplay(Kib(a.getTargetList()))};f.select=function(a,b){if(!a.isPlaceholder())switch(b){case 1:case 12:case 5:this.reporter.reportSelect(ko([a]),(new P4c).setOriginator(M4c.get(b)||0));break;case 6:this.reporter.reportExternalSelect(ko([a]))}};
f.deselect=function(a,b){if(!a.isPlaceholder())switch(b){case 7:case 8:case 1:this.reporter.reportDeselect(ko([a]))}};f.dismiss=function(a){this.reporter.reportDismiss(ko(a))};f.save=function(a){this.reporter.reportSave(ko(a))};f.send=function(a){this.reporter.reportSend(ko(a))};f.replace=function(a,b){switch(b){case 5:case 6:this.select(a,b)}};var R4c=function(){this.isBatchingInternal=!1;this.timerId=this.lastBatchTime=0};R4c.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=im(function(){b.isBatchingInternal=!1;a()},100<d?0:100)}};R4c.prototype.cancel=function(){jm(this.timerId);this.isBatchingInternal=!1};var Hjb=function(a,b,c,d,e,g){var h=this;this.root=a;this.autocomplete=b;this.selectionsState=c;this.interactions=d;this.tracker=e;this.config=g;this.selectionChangedListeners=[];this.selectionChangedAutoBatcher=new R4c;$3c(this.selectionsState,function(){S4c(h)})};f=Hjb.prototype;f.search=function(a,b){this.selectionsState.clear();var c=!1;this.autocomplete.search(a,b,this.config.getShowSuggestions(),function(d){0<d.count&&!c&&(c=!0)})};f.isShown=function(){return this.autocomplete.isShown()};
f.report=function(a,b){b=void 0===b?[]:b;b=b.length?b:this.selectionsState.asArray();var c=this.interactions;switch(a){case 1:c.reporter.reportProceed(ko(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(ko(b))}};f.cancel=function(){this.autocomplete.detach()};
f.dispose=function(){this.tracker.stop();this.selectionChangedListeners.length=0;this.selectionsState.clear();this.root.parentNode&&this.root.parentNode.removeChild(this.root);this.autocomplete.dispose()};var T4c=function(a,b){a.selectionChangedListeners.push(b)},S4c=function(a){a.selectionChangedAutoBatcher.call(function(){for(var b=a.selectionsState.asArray(),c=k(a.selectionChangedListeners),d=c.next();!d.done;d=c.next())d=d.value,d(b)})};var hjb=function(){return $n('<div peoplekit-id="'+bo("nVhUhf")+'"></div>')};var X2=function(a){r.call(this,a)};V(X2,r);X2.prototype.getVersion=function(){return Fh(this,1,1)};X2.prototype.setVersion=function(a){return n(this,1,a)};X2.prototype.getVersionOrUndefined=function(){return Qo(this,1)};X2.prototype.toObject=function(){return U4c(this)};var U4c=function(a){if(null!=a)return t(a),{version:Fh(a,1,1)}},V4c=[X2,1,Nq];X2.prototype.serializeBinary=u(V4c);var Y2=function(a){r.call(this,a)};V(Y2,r);f=Y2.prototype;f.getClientId=function(){return Fh(this,1,0)};f.setClientId=function(a){return n(this,1,a)};f.getEntryPoint=function(){return Fh(this,5,0)};f.setEntryPoint=function(a){return n(this,5,a)};f.getSocialClient=function(){return W(this,WR,2)};f.setSocialClient=function(a){return Oh(this,WR,2,a)};f.setVersionName=function(a){return n(this,3,a)};f.getBaselineCl=function(){return Wh(this,4)};f.setBaselineCl=function(a){return n(this,4,a)};
f.hasBaselineCl=function(){return Aj(this,4)};f.getBaselineClOrUndefined=function(){return dq(this,4)};f.getComponentFlow=function(){return Fh(this,7,0)};f.setComponentFlow=function(a){return n(this,7,a)};f.toObject=function(){return W4c(this)};
var W4c=function(a){if(null!=a)return t(a),{clientId:p(m(a,1)),entryPoint:p(m(a,5)),socialClient:UEc(a.getSocialClient()),versionName:p(m(a,3)),baselineCl:p(m(a,4)),componentFlow:p(m(a,7)),androidClientInfo:U4c(W(a,X2,6))}},X4c=[Y2,1,Nq,5,Nq,2,X,VEc,3,Cq,4,pq,7,Nq,6,X,V4c];Y2.prototype.serializeBinary=u(X4c);var Y4c=function(a){r.call(this,a)};V(Y4c,r);Y4c.prototype.toObject=function(){return Z4c(this)};var Z4c=function(a){if(null!=a)return t(a),{imageType:p(m(a,1)),imageDataCached:p(m(a,2))}},$4c=[Y4c,1,Nq,2,Nq];Y4c.prototype.serializeBinary=u($4c);var Z2=function(a){r.call(this,a)};V(Z2,r);Z2.prototype.toObject=function(){return a5c(this)};var a5c=function(a){if(null!=a)return t(a),{avatarMetadata:Z4c(W(a,Y4c,1))}},b5c=[Z2,1,X,$4c];Z2.prototype.serializeBinary=u(b5c);var c5c=function(a){r.call(this,a)};V(c5c,r);f=c5c.prototype;f.getLabel=function(){return Fh(this,1,0)};f.setLabel=function(a){return n(this,1,a)};f.hasLabel=function(){return Vh(this,1)};f.getCause=function(){return Fh(this,2,0)};f.toObject=function(){return d5c(this)};var d5c=function(a){if(null!=a)return t(a),{label:p(m(a,1)),cause:p(m(a,2))}},e5c=[c5c,1,Nq,2,Nq];c5c.prototype.serializeBinary=u(e5c);var a3=function(a){r.call(this,a)};V(a3,r);f=a3.prototype;f.getLabel=function(){return Fh(this,1,0)};f.setLabel=function(a){return n(this,1,a)};f.hasLabel=function(){return Vh(this,1)};f.getValue=function(){return Wh(this,2,1)};f.setValue=function(a){return n(this,2,a)};f.hasValue=function(){return Aj(this,2)};f.toObject=function(){return f5c(this)};var f5c=function(a){if(null!=a)return t(a),{label:p(m(a,1)),value:Wh(a,2,1)}},g5c=[a3,1,Nq,2,pq];a3.prototype.serializeBinary=u(g5c);var h5c=function(a){r.call(this,a)};V(h5c,r);f=h5c.prototype;f.setLatencyUsec=function(a){n(this,2,a)};f.getQueryLength=function(){return Ag(this,3)};f.setQueryLength=function(a){return n(this,3,a)};f.hasQueryLength=function(){return qj(this,3)};f.toObject=function(){return i5c(this)};
var i5c=function(a){if(null!=a)return t(a),{resultCount:p(Cb(a,1)),latencyUsec:p(m(a,2)),queryLength:p(Cb(a,3)),isContactsPermissionsGranted:p(Db(a,4)),isShowDeviceContactsDisplayed:p(Db(a,5)),memoryAllocatedDelta:p(m(a,6)),inAppResultCount:p(Cb(a,7))}},j5c=[h5c,1,wq,2,pq,3,wq,4,zq,5,zq,6,pq,7,wq];h5c.prototype.serializeBinary=u(j5c);var b3=function(a){r.call(this,a)};V(b3,r);f=b3.prototype;f.getLabel=function(){return mh(this,1)};f.setLabel=function(a){return n(this,1,a)};f.hasLabel=function(){return jj(this,1)};f.getCause=function(){return mh(this,2)};f.toObject=function(){return k5c(this)};var k5c=function(a){if(null!=a)return t(a),{label:p(m(a,1)),cause:p(m(a,2))}},l5c=[b3,1,Cq,2,Cq];b3.prototype.serializeBinary=u(l5c);var c3=function(a){r.call(this,a)};V(c3,r);f=c3.prototype;f.getLabel=function(){return Fh(this,1,0)};f.setLabel=function(a){return n(this,1,a)};f.hasLabel=function(){return Vh(this,1)};f.setLatencyUsec=function(a){n(this,2,a)};f.getCacheStatus=function(){return Fh(this,3,0)};f.setCacheStatus=function(a){return n(this,3,a)};f.toObject=function(){return m5c(this)};var m5c=function(a){if(null!=a)return t(a),{label:p(m(a,1)),latencyUsec:p(m(a,2)),cacheStatus:p(m(a,3))}},n5c=[c3,1,Nq,2,pq,3,Nq];
c3.prototype.serializeBinary=u(n5c);var d3=function(a){r.call(this,a)};V(d3,r);d3.prototype.getInterfaceType=function(){return Fh(this,1,0)};d3.prototype.setInterfaceType=function(a){return n(this,1,a)};d3.prototype.toObject=function(){return o5c(this)};var o5c=function(a){if(null!=a)return t(a),{interfaceType:p(m(a,1)),dataSourceType:p(m(a,2)),entryIndex:p(Cb(a,3))}},p5c=[d3,1,Nq,2,Nq,3,wq];d3.prototype.serializeBinary=u(p5c);var q5c=function(a){r.call(this,a)};V(q5c,r);q5c.prototype.toObject=function(){return r5c(this)};var r5c=function(a){if(null!=a)return t(a),{suggestionsLoaded:p(Db(a,1)),closeType:p(m(a,2))}},s5c=[q5c,1,zq,2,Nq];q5c.prototype.serializeBinary=u(s5c);var t5c=function(a){r.call(this,a)};V(t5c,r);f=t5c.prototype;f.getEventType=function(){return Fh(this,1,0)};f.getEventType_legacyNullable=function(){return m(this,1)};f.setEventType=function(a){return n(this,1,a)};f.setLatencyUsec=function(a){n(this,2,a)};f.toObject=function(){return u5c(this)};
var u5c=function(a){if(null!=a)return t(a),{eventType:p(m(a,1)),latencyUsec:p(m(a,2)),entityCount:p(Cb(a,3)),memoryAllocatedDelta:p(m(a,4)),animationFps:p(Cb(a,5)),timeToActionMillis:p(m(a,6)),completionMetadata:r5c(W(a,q5c,7))}},v5c=[t5c,1,Nq,2,pq,3,wq,4,pq,5,wq,6,pq,7,X,s5c];t5c.prototype.serializeBinary=u(v5c);var e3=function(a){r.call(this,a)};V(e3,r);f=e3.prototype;f.getCount=function(){return W(this,a3,3)};f.setCount=function(a){return Oh(this,a3,3,a)};f.getLatency=function(){return W(this,c3,4)};f.setLatency=function(a){return Oh(this,c3,4,a)};f.getError=function(){return W(this,b3,5)};f.setError=function(a){Oh(this,b3,5,a)};f.hasError=function(){return qi(this,b3,5)};f.toObject=function(){return w5c(this)};
var w5c=function(a){if(null!=a)return t(a),{entryType:p(m(a,1)),sharedDimension:o5c(W(a,d3,2)),count:f5c(a.getCount()),latency:m5c(a.getLatency()),peoplekitError:d5c(W(a,c5c,8)),error:k5c(a.getError()),dataDisplay:i5c(W(a,h5c,6)),userEvent:u5c(W(a,t5c,7))}},x5c=[e3,1,Nq,2,X,p5c,3,X,g5c,4,X,n5c,8,X,e5c,5,X,l5c,6,X,j5c,7,X,v5c];e3.prototype.serializeBinary=u(x5c);var f3=function(a){r.call(this,a)};V(f3,r);f3.prototype.setElementIndex=function(a){n(this,2,a)};f3.prototype.setCardinalDirection=function(a){n(this,7,a)};f3.repeatedFields_=[3];f3.prototype.toObject=function(){return y5c(this)};var y5c=function(a){if(null!=a)return t(a),{elementId:p(Cb(a,1)),elementIndex:p(Cb(a,2)),pathToRootElementIdList:p(xg(a,3)),userAction:p(m(a,4)),cardinalDirection:p(m(a,7))}},z5c=[f3,1,wq,2,wq,3,xq,4,Nq,7,Nq];f3.prototype.serializeBinary=u(z5c);var A5c=function(a){r.call(this,a)};V(A5c,r);A5c.prototype.toObject=function(){return B5c(this)};var B5c=function(a){if(null!=a)return t(a),{ancestryVisualElement:y5c(W(a,f3,1)),intentClassName:p(m(a,2)),firstInFlow:p(Db(a,3)),userInterfaceStyle:Fh(a,4,0)}},C5c=[A5c,1,X,z5c,2,Cq,3,zq,4,Nq];A5c.prototype.serializeBinary=u(C5c);var D5c=function(a){r.call(this,a)};V(D5c,r);f=D5c.prototype;f.getClientInterface=function(){return W(this,Y2,3)};f.setClientInterface=function(a){return Oh(this,Y2,3,a)};f.getMetadata=function(){return W(this,Z2,4)};f.setMetadata=function(a){Oh(this,Z2,4,a)};f.toObject=function(){if(null!=this){t(this);var a={visualElementEntry:B5c(W(this,A5c,1)),metricsDataEntry:w5c(W(this,e3,2)),clientInterface:W4c(this.getClientInterface()),metadata:a5c(this.getMetadata())}}else a=void 0;return a};
f.serializeBinary=u([D5c,1,X,C5c,2,X,x5c,3,X,X4c,4,X,b5c]);var kjb=function(a){this.logContext=ylb(No(new Oo,"PeopleKit").setLogSource(624).setApplication(a.getSocialApplicationOrUndefined()).setEnvironment(0).setVersion("1.0").setBaselineCl(536574007).setEnableClearcut(a.getEnableClearcut()),fo.getExperimentIds());this.clientId=a.getClientId();this.componentFlow=a.getComponentFlow()};f=kjb.prototype;f.getLogContext=function(){return this.logContext};f.createCountMetric=function(){throw Error("bb");};f.createStatusMetric=function(){throw Error("bb");};
f.createLatencyMetric=function(a,b){b=b.source();a=(new D5c).setClientInterface((new Y2).setClientId(this.clientId).setSocialClient(a.getSocialClient()).setVersionName(this.getLogContext().getVersionOrUndefined()).setBaselineCl(this.getLogContext().getBaselineClOrUndefined()).setComponentFlow(this.componentFlow));return Oh(a,e3,2,b)};f.createErrorMetric=function(){throw Error("bb");};var E5c=function(a,b){this.count=0;this.metrics=a;this.label="total";a=new e3;a=n(a,1,4);var c=new d3;b=n(c,2,2).setInterfaceType(b);this.dataEntry=Oh(a,d3,2,b).setLatency((new c3).setLabel(8));this.state=new jS(this.dataEntry)};E5c.prototype.start=function(){this.count=0;this.metrics.start(this.state,this.label)};
E5c.prototype.stop=function(a){a=void 0===a?function(){}:a;this.metrics.stop(this.state,this.label);var b=this.state.durationUsec(this.label),c;null==(c=this.dataEntry.getLatency())||c.setLatencyUsec(b);a(b);var d;null!=(d=W(this.dataEntry,d3,2))&&n(d,3,this.count);this.metrics.latency(this.state);++this.count};var mjb=function(a,b){this.metrics=a;this.userInterfaceType=b};var ljb=function(a){this.trackers=a},C4c=function(a){a=a.trackers;return new E5c(a.metrics,a.userInterfaceType)};var g3=function(){this.itemsByPriority=[]};g3.prototype.add=function(a,b){this.itemsByPriority[b]||(this.itemsByPriority[b]=new Set);this.itemsByPriority[b].add(a)};g3.prototype.remove=function(a){for(var b=k(this.itemsByPriority),c=b.next();!c.done;c=b.next())(c=c.value)&&c.delete(a)};g3.prototype.asArray=function(){return this.itemsByPriority.flatMap(function(a){return[].concat(Jc(a))})};var ijb=function(){this.selectionCallbacks=new g3;this.deselectionCallbacks=new g3;this.selectionReplacedCallbacks=new g3;this.selectionAttemptedCallbacks=new g3;this.selectionsState=[]};
ijb.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 Lib(a,b,c,this.selectionAttemptedCallbacks.asArray()),!1;0<=b?(this.selectionsState.splice(b,0,a),Lib(a,b,c,this.selectionCallbacks.asArray())):(this.selectionsState.push(a),Lib(a,this.selectionsState.length-1,c,this.selectionCallbacks.asArray()));return!0};
ijb.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),Lib(a,d,b,this.deselectionCallbacks.asArray()))};ijb.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 $3c=function(a,b,c){a.selectionCallbacks.add(b,void 0===c?2:c)},Z3c=function(a,b,c){a.deselectionCallbacks.add(b,void 0===c?2:c)},Q4c=function(a,b){a.selectionReplacedCallbacks.add(b,0)};f=ijb.prototype;f.get=function(a){var b=String(a);return this.selectionsState.find(function(c){return b===String(c.id())})};f.at=function(a){return this.selectionsState[a]};
f.replace=function(a,b,c){c=void 0===c?0:c;var d=String(a),e=this.selectionsState.findIndex(function(g){return d===String(g.id())});if(0>e||!a.equals(b.id())&&this.get(b.id()))return!1;this.selectionsState[e]=b;Mib(b,e,a,c,this.selectionReplacedCallbacks.asArray());return!0};f.pop=function(a){a=void 0===a?0:a;var b=this.selectionsState.pop();if(b)return Lib(b,this.selectionsState.length,a,this.deselectionCallbacks.asArray()),b};
f.indexOf=function(a){var b=String(a);return this.selectionsState.findIndex(function(c){return b===String(c.id())})};f.asArray=function(){return this.selectionsState.slice()};f.size=function(){return this.selectionsState.length};f.clear=function(){for(;0<this.selectionsState.length;)this.deselect(this.selectionsState[0])};var Gjb=function(){};Gjb.prototype.start=function(){};Gjb.prototype.stop=function(){};var F5c=function(a){this.userAction=a;this.interactionContext=this.cardinalDirection=void 0};var Djb=function(a){this.visualElementRoot=a;this.syntheticVisualElements=new Map;a=On(this.visualElementRoot);this.syntheticRoot=Nib(a);this.syntheticVisualElements.set(a.id,this.syntheticRoot)};
Djb.prototype.insert=function(a){a=k(a);for(var b=a.next();!b.done;b=a.next()){b=b.value;var c=On(b);if(c&&!this.syntheticVisualElements.has(c.id)){c=this.visualElementRoot;var d=[];if(c.contains(b)){for(;b&&b!==c;)b.hasAttribute("pk-log")&&d.push(b),b=b.parentElement;b&&b.hasAttribute("pk-log")&&d.push(b)}b=d;b.reverse();for(c=1;c<b.length;c++){var e=On(b[c]);this.syntheticVisualElements.has(e.id)||(d=Nib(e),this.syntheticVisualElements.set(e.id,d),e=On(b[c-1]),this.syntheticVisualElements.get(e.id).appendChild(d))}}}};
Djb.prototype.remove=function(a){a=k(a);for(var b=a.next();!b.done;b=a.next())if(b=On(b.value)){var c=this.syntheticVisualElements.get(b.id);this.syntheticVisualElements.delete(b.id);c&&c.parentElement&&c.parentElement.removeChild(c)}};Djb.prototype.getRoot=function(){return this.syntheticRoot};Djb.prototype.getElement=function(a){return this.syntheticVisualElements.get(a)};var Cjb=function(a,b){this.syntheticTree=a;this.tracker=b;this.delayedImpression=new XJc(this.impress,15,this)};Cjb.prototype.impress=function(){var a=this.tracker,b=this.syntheticTree.getRoot();var c=void 0===c?!1:c;b=G5c(a.traverser_,b);H5c(a,b,new OS(0,0,0,0));c&&I5c(a,b,new OS(0,0,0,0))};Cjb.prototype.dispose=function(){this.delayedImpression.dispose()};var Ejb=function(a,b){this.root=a;this.visualElementHandler=b;this.eventHandler=Un(this)};
Ejb.prototype.observe=function(){var a=this;this.mutationObserver||(this.mutationObserver=new MutationObserver(function(b){a.onMutation(b)}),this.mutationObserver.observe(this.root,{childList:!0,subtree:!0}),this.eventHandler.listen(this.root,n2c,function(b){b.stopPropagation();var c=a.visualElementHandler,d=b.type;if(b=On(b.target))b=c.syntheticTree.getElement(b.id),d=o2c.get(d),b&&d&&(c=c.tracker,d=new F5c(d),(b=h3(c.visualElementProvider_,b))&&b.impressionEventID&&J5c(c,b,d))}))};
Ejb.prototype.dispose=function(){var a;null==(a=this.mutationObserver)||a.disconnect();this.eventHandler.removeAll();this.visualElementHandler.dispose()};Ejb.prototype.onMutation=function(a){a=k(a);for(var b=a.next();!b.done;b=a.next())if(b=b.value,"childList"===b.type){var c=Oib(b.removedNodes);c.length&&this.visualElementHandler.syntheticTree.remove(c);b=Oib(b.addedNodes);b.length&&(c=this.visualElementHandler,c.syntheticTree.insert(b),c.delayedImpression.start())}};var Fjb=function(a){this.visualElementObserver=a};Fjb.prototype.start=function(){this.visualElementObserver.observe()};Fjb.prototype.stop=function(){this.visualElementObserver.dispose()};for(var K5c={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"}},Pib=Tib(K5c),L5c=new Map,M5c=k(Object.keys(K5c)),N5c=M5c.next();!N5c.done;N5c=M5c.next()){var O5c=N5c.value;L5c.set(K5c[O5c].xid,K5c[O5c].string)}
var Rib=Tib({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 i3=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_=[]},j3=function(a,b){return b?a.tracks_.has(a.maybeXidEventLabel_(b)):0!=a.tracks_.size};f=i3.prototype;f.setIndex=function(a){this.index_=a};f.getIndex=function(){return this.index_};f.setComponentID=function(a){this.componentID_=a};f.getComponentID=function(){return this.componentID_};
f.isMutable=function(){return this.mutable_};f.setAttribute=function(a){this.attribute_=a;return this};f.getAttribute=function(){return this.attribute_};var P5c=function(a,b){for(var c=0;c<a.metadataHandlers_.length;++c)a.metadataHandlers_[c](b)};i3.prototype.maybeXidEventLabel_=function(a){return this.xidTagComponents_?Qib(a):a};i3.prototype.maybeXidPartLabel_=function(a){return this.xidTagComponents_?Sib(a):a};var Q5c=function(a){i3.call(this,a)};V(Q5c,i3);var k3=function(a){r.call(this,a)};V(k3,r);k3.prototype.toObject=function(){return R5c(this)};var R5c=function(a){if(null!=a)return t(a),{timeUsec:p(m(a,1)),serverIp:p(Ra(m(a,2))),processId:p(Ra(m(a,3)))}},S5c=[k3,1,pq,2,qNb,3,qNb];k3.prototype.serializeBinary=u(S5c);var T5c=Lb(4156379,{messageSetExtension:0},k3,R5c);gr[4156379]=gq(hq,S5c);fr[4156379]=T5c;var l3=function(a){r.call(this,a)};V(l3,r);l3.prototype.getBase=function(){return W(this,k3,1)};l3.prototype.setBase=function(a){return Oh(this,k3,1,a)};l3.prototype.hasBase=function(){return qi(this,k3,1)};l3.prototype.toObject=function(){return m3(this)};var m3=function(a){if(null!=a)return t(a),{base:R5c(a.getBase()),clientCounter:p(m(a,2))}},n3=[l3,1,X,S5c,2,pq];l3.prototype.serializeBinary=u(n3);var o3=function(a){r.call(this,a)};V(o3,r);o3.prototype.getBase=function(){return Xp(this,1)};o3.prototype.setBase=function(a){return fb(this,1,a,void 0,xg)};o3.prototype.getOffset=function(){return Ag(this,2,0)};o3.prototype.setOffset=function(a){n(this,2,a)};o3.repeatedFields_=[1];o3.prototype.toObject=function(){return U5c(this)};var U5c=function(a){if(null!=a)return t(a),{baseList:p(xg(a,1)),offset:Ag(a,2,0)}},V5c=[o3,1,xq,2,wq];o3.prototype.serializeBinary=u(V5c);var p3=function(a){r.call(this,a)};V(p3,r);p3.prototype.setVeIndex=function(a){n(this,1,a)};var W5c=function(a,b){n(a,2,b)};p3.prototype.setElementIndex=function(a){n(this,5,a)};p3.prototype.getResultIndex=function(){return Ag(this,6,-1)};p3.prototype.setResultIndex=function(a){n(this,6,a)};p3.prototype.toObject=function(){return X5c(this)};
var X5c=function(a){if(null!=a)return t(a),{veIndex:Ag(a,1,-1),nonArchivalVeIndex:Ag(a,11,-1),veOffsetIdentifier:U5c(W(a,o3,15)),veType:p(Cb(a,2)),odelaySeLinker:p(Cb(a,8)),elementIndex:Ag(a,5,-1),resultIndex:Ag(a,6,-1),pageStart:p(Cb(a,7)),resultGroupElementIndex:Ag(a,9,-1),doNotLogUrl:vi(a,10,!1),resultFprint:p(m(a,12)),veEventId:m3(W(a,l3,13)),youtubeVeCounter:Ag(a,14,-1)}},q3=[p3,1,wq,11,wq,15,X,V5c,2,wq,8,wq,5,wq,6,wq,7,wq,9,wq,10,zq,12,nNb,13,X,n3,14,wq];p3.prototype.serializeBinary=u(q3);var Y5c=Lb(15872052,{messageSetExtension:0},p3,X5c);gr[15872052]=gq(hq,q3);fr[15872052]=Y5c;var Z5c=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};Z5c.prototype.getTag=function(){return this.veTag_};Z5c.prototype.getElement=function(){return this.el_};var a6c=function(a){var b=$5c++;a.traversalOrder_=b};Z5c.prototype.setParent=function(a){this.parent_=a};Z5c.prototype.getParent=function(){return this.parent_};
var b6c=function(a){if(a.impressionEventID){var b=new p3;b.setVeIndex(a.traversalOrder_);W5c(b,a.getTag().visualElementID_);Oh(b,l3,13,a.impressionEventID);a=b.serializeBinary();return"0"+Oaa(a,4)}};var Xib=function(a){r.call(this,a)};V(Xib,r);f=Xib.prototype;f.getClientId=function(){return Fh(this,1,0)};f.setClientId=function(a){return n(this,1,a)};f.getEntryPoint=function(){return Fh(this,2,0)};f.setEntryPoint=function(a){return n(this,2,a)};f.getApplication=function(){return Fh(this,3,0)};f.setApplication=function(a){return n(this,3,a)};f.getApplicationOrUndefined=function(){return Qo(this,3)};f.setVersionName=function(a){return n(this,4,a)};f.getBaselineCl=function(){return Wh(this,5)};
f.setBaselineCl=function(a){return n(this,5,a)};f.hasBaselineCl=function(){return Aj(this,5)};f.getBaselineClOrUndefined=function(){return dq(this,5)};f.getMetadata=function(){return W(this,Z2,6)};f.setMetadata=function(a){Oh(this,Z2,6,a)};f.toObject=function(){if(null!=this){t(this);var a={clientId:p(m(this,1)),entryPoint:p(m(this,2)),application:p(m(this,3)),versionName:p(m(this,4)),baselineCl:p(m(this,5)),metadata:a5c(this.getMetadata())}}else a=void 0;return a};
f.serializeBinary=u([Xib,1,Nq,2,Nq,3,Nq,4,Cq,5,pq,6,X,b5c]);var Zib=function(a){this.context_=a};Zib.prototype.createNewTag=function(a){return new Q5c(a)};Zib.prototype.addEventMetadata=function(a){K7b(a,this.context_.serialize())};var c6c=function(){this.client_info=this.global_metadata=this.ve_metadata=void 0;this.testCodes=[]};var d6c=function(){};d6c.prototype.impressionEvent=function(){return[]};d6c.prototype.interactionEvent=function(){return[]};d6c.prototype.visibilityEvent=function(){return[]};var g6c=function(){if(!e6c){var a=e6c=new k3,b=1E3*Date.now();n(a,1,b);n(e6c,2,0);n(e6c,3,0)}a=(new l3).setBase(e6c);b=++f6c;return n(a,2,b)},f6c=0,e6c=void 0;var r3=function(a){r.call(this,a,1)};V(r3,r);var h6c={},i6c={};r3.prototype.toObject=function(){return j6c(this)};var j6c=function(a){if(null!=a){t(a);var b={};Nb(a,b,h6c);return b}},k6c=[r3,i6c];r3.prototype.serializeBinary=u(k6c);var s3=function(a){r.call(this,a)};V(s3,r);s3.prototype.toObject=function(){return l6c(this)};var l6c=function(a){if(null!=a)return t(a),{rootEventId:m3(W(a,l3,1))}},m6c=[s3,1,X,n3];s3.prototype.serializeBinary=u(m6c);var t3=function(a){r.call(this,a)};V(t3,r);t3.prototype.getEvent=function(){return Fi(this,k3,1,u3)};t3.prototype.setVed=function(a){return mm(this,5,v3,a)};var u3=[1,3,4],v3=[2,5];t3.prototype.toObject=function(){return n6c(this)};var n6c=function(a){if(null!=a)return t(a),{event:R5c(a.getEvent()),clientEvent:m3(Fi(a,l3,3,u3)),ei:p(Am(a,4,u3)),rootVe:X5c(Fi(a,p3,2,v3)),ved:p(Am(a,5,v3))}},o6c=[t3,1,Jq,S5c,u3,3,Jq,n3,u3,4,Fq,u3,2,Jq,q3,v3,5,Fq,v3];t3.prototype.serializeBinary=u(o6c);var w3=function(a){r.call(this,a,7)};V(w3,r);f=w3.prototype;f.getTarget=function(){return W(this,t3,1)};f.setTarget=function(a){return Oh(this,t3,1,a)};f.getType=function(){return Fh(this,2,0)};f.setType=function(a){return n(this,2,a)};f.hasType=function(){return Vh(this,2)};var p6c={},q6c={};w3.prototype.toObject=function(){return r6c(this)};
var r6c=function(a){if(null!=a){t(a);var b={target:n6c(a.getTarget()),type:Fh(a,2,0),cloneTree:n6c(W(a,t3,3)),sourceTree:n6c(W(a,t3,5)),graftTimeUsec:p(m(a,4)),dedupe:vi(a,6,!1)};Nb(a,b,p6c);return b}},s6c=[w3,q6c,1,X,o6c,2,Nq,3,X,o6c,5,X,o6c,4,pq,6,zq];w3.prototype.serializeBinary=u(s6c);var x3=function(a){r.call(this,a)};V(x3,r);x3.repeatedFields_=[1];x3.prototype.toObject=function(){return t6c(this)};var t6c=function(a){if(null!=a)return t(a),{graftList:Mb(yg(a,w3,1),r6c)}},u6c=[x3,1,Iq,s6c];x3.prototype.serializeBinary=u(u6c);var y3=function(a){r.call(this,a)};V(y3,r);y3.prototype.getOffset=function(){return Ag(this,2,0)};y3.prototype.setOffset=function(a){n(this,2,a)};y3.repeatedFields_=[1];y3.prototype.toObject=function(){return v6c(this)};var v6c=function(a){if(null!=a)return t(a),{identifierBaseList:p(xg(a,1)),offset:Ag(a,2,0)}},w6c=[y3,1,xq,2,wq];y3.prototype.serializeBinary=u(w6c);var z3=function(a){r.call(this,a)};V(z3,r);z3.prototype.getEventId=function(){return Fi(this,k3,1,x6c)};z3.prototype.setEventId=function(a){sm(this,1,x6c,a)};var x6c=[1,2],y6c=[3,6];z3.prototype.toObject=function(){return z6c(this)};var z6c=function(a){if(null!=a){t(a);var b=R5c(a.getEventId()),c=m3(Fi(a,l3,2,x6c));var d=Ag(a,ym(a,y6c,3),-1);return{eventId:b,clientEventId:c,featureIndex:d,featureOffsetIdentifier:v6c(Fi(a,y3,6,y6c))}}},A6c=[z3,1,Jq,S5c,x6c,2,Jq,n3,x6c,3,mNb,y6c,6,Jq,w6c,y6c];
z3.prototype.serializeBinary=u(A6c);var B6c=function(a){r.call(this,a)};V(B6c,r);B6c.prototype.toObject=function(){return C6c(this)};var C6c=function(a){if(null!=a)return t(a),{reference:n6c(W(a,t3,1))}},D6c=[B6c,1,X,o6c];B6c.prototype.serializeBinary=u(D6c);var A3=function(a){r.call(this,a,233)};V(A3,r);A3.prototype.setUiType=function(a){return n(this,1,a)};A3.prototype.setElementIndex=function(a){n(this,3,a)};var E6c=function(a,b){bb(a,4,b,Sa)};A3.prototype.getResultIndex=function(){return Cb(this,7)};A3.prototype.setResultIndex=function(a){n(this,7,a)};A3.prototype.setVisible=function(a){return n(this,6,a)};var F6c={},G6c={};A3.repeatedFields_=[4];A3.prototype.toObject=function(){return H6c(this)};
var H6c=function(a){if(null!=a){t(a);var b={uiType:p(Cb(a,1)),elementIndex:Ag(a,3,-1),containsElementsList:p(xg(a,4)),targetUrl:p(m(a,5)),resultIndex:p(Cb(a,7)),featureTreeRef:z6c(W(a,z3,11)),visible:Fh(a,6,0),language:p(m(a,17)),adImpressionIndex:Ag(a,149,-1),dataElement:C6c(W(a,B6c,232))};Nb(a,b,F6c);return b}},I6c=[A3,G6c,1,wq,3,wq,4,xq,5,Cq,7,wq,11,X,A6c,6,Nq,17,Cq,149,wq,232,X,D6c];A3.prototype.serializeBinary=u(I6c);var B3=function(a){r.call(this,a,17)};V(B3,r);f=B3.prototype;f.setVed=function(a){return n(this,11,a)};f.setUiType=function(a){return n(this,1,a)};f.setVeIndex=function(a){n(this,2,a)};f.setCardinalDirection=function(a){n(this,4,a)};f.getResultIndex=function(){return Ag(this,7,-1)};f.setResultIndex=function(a){n(this,7,a)};f.setElementIndex=function(a){n(this,8,a)};var J6c=function(a,b){Th(a,14,b)},K6c={};B3.repeatedFields_=[14];B3.prototype.toObject=function(){return L6c(this)};
var L6c=function(a){if(null!=a){t(a);var b={clickTrackingCgi:X5c(W(a,p3,16)),ved:p(m(a,11)),uiType:Ag(a,1,-1),veIndex:Ag(a,2,-1),primaryUserAction:p(Cb(a,3)),cardinalDirection:p(Cb(a,4)),toggleState:p(Cb(a,5)),interactionContext:Ag(a,6,-1),resultIndex:Ag(a,7,-1),elementIndex:Ag(a,8,-1),imageUrl:p(m(a,9)),imageReferrerUrl:p(m(a,10)),thumbnailId:p(m(a,12)),referrerId:p(m(a,13)),ancestryList:Mb(yg(a,A3,14),H6c),clientInteractionMetadata:j6c(W(a,r3,15))};Nb(a,b,K6c);return b}},M6c=[B3,{},16,X,q3,11,Cq,
1,wq,2,wq,3,wq,4,wq,5,wq,6,wq,7,wq,8,wq,9,Cq,10,Cq,12,Cq,13,Cq,14,Iq,I6c,15,X,k6c];B3.prototype.serializeBinary=u(M6c);var C3=function(a){r.call(this,a)};V(C3,r);C3.prototype.getEventId=function(){return W(this,l3,1)};C3.prototype.setEventId=function(a){Oh(this,l3,1,a)};C3.repeatedFields_=[2];
C3.prototype.toObject=function(){if(null!=this){t(this);var a={eventId:m3(this.getEventId()),visualElementsList:Mb(yg(this,A3,2),H6c),parentEventId:m3(W(this,l3,3)),ephemeralParentEventId:p(m(this,6)),snapshotParentEventId:m3(W(this,l3,8)),requestContext:L6c(W(this,B3,4)),graftType:p(m(this,5)),grafts:t6c(W(this,x3,7)),coreEventMetadata:l6c(W(this,s3,9))}}else a=void 0;return a};C3.prototype.serializeBinary=u([C3,1,X,n3,2,Iq,I6c,3,X,n3,6,Cq,8,X,n3,4,X,M6c,5,Nq,7,X,u6c,9,X,m6c]);var N6c=function(){};N6c.prototype.createNewTag=function(a){return new i3(a)};N6c.prototype.addEventMetadata=function(){};var D3=function(a){r.call(this,a)};V(D3,r);var O6c=function(a,b){Th(a,1,b)};D3.prototype.addPath=function(a,b){return um(this,1,A3,a,b)};D3.prototype.setPath=function(a,b){return Np(this,1,A3,a,b)};D3.repeatedFields_=[1];D3.prototype.toObject=function(){return P6c(this)};var P6c=function(a){if(null!=a)return t(a),{pathList:Mb(yg(a,A3,1),H6c)}},Q6c=[D3,1,Iq,I6c];D3.prototype.serializeBinary=u(Q6c);var R6c=Lb(100,{coreGraftMetadata:0},D3,P6c);q6c[100]=gq(Hq,Q6c);p6c[100]=R6c;var E3=function(a){r.call(this,a)};V(E3,r);var S6c=function(a){var b=Date.now().toString();n(a,1,b)};E3.prototype.toObject=function(){return T6c(this)};var T6c=function(a){if(null!=a)return t(a),{clientWallClockTimestamp:p(m(a,1))}},U6c=[E3,1,mq];E3.prototype.serializeBinary=u(U6c);var F3=function(a){r.call(this,a)};V(F3,r);F3.prototype.getTimestamp=function(){return W(this,E3,1)};F3.prototype.setTimestamp=function(a){return Oh(this,E3,1,a)};F3.prototype.hasTimestamp=function(){return qi(this,E3,1)};F3.prototype.toObject=function(){return V6c(this)};var V6c=function(a){if(null!=a)return t(a),{timestamp:T6c(a.getTimestamp())}},W6c=[F3,1,X,U6c];F3.prototype.serializeBinary=u(W6c);var X6c=Lb(126,{coreInteractionMetadata:0},F3,V6c);i6c[126]=gq(Hq,W6c);h6c[126]=X6c;var Y6c=Lb(618,{coreVeMetadata:0},F3,V6c);G6c[618]=gq(Hq,W6c);F6c[618]=Y6c;var G3=function(a){r.call(this,a)};V(G3,r);G3.prototype.toObject=function(){return Z6c(this)};var Z6c=function(a){if(null!=a)return t(a),{isTracked:p(Db(a,1))}},$6c=[G3,1,zq];G3.prototype.serializeBinary=u($6c);var a7c=Lb(273,{attentionData:0},G3,Z6c);G6c[273]=gq(Hq,$6c);F6c[273]=a7c;var lo=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};V(lo,d6c);lo.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=b7c(this,c,b);b=this.enableBatching_?c7c(this,d,b):d7c(this,d,b);return a.concat(b)};
lo.prototype.interactionEvent=function(a,b){var c=new tA,d=new C3,e=g6c();d.setEventId(e);e=new B3;a.serverVed_?e.setVed(a.serverVed_):e.setUiType(a.getTag().visualElementID_).setVeIndex(a.traversalOrder_);J6c(n(e,3,b.userAction),this.getAncestry_(a));b.cardinalDirection&&e.setCardinalDirection(b.cardinalDirection);b.interactionContext&&n(e,6,b.interactionContext);a.getTag();this.setTimestamp(e);b=new s3;Oh(b,l3,1,a.impressionEventID);Oh(d,l3,3,a.impressionEventID);Oh(d,B3,4,e);Oh(d,s3,9,b);JSON.stringify(null,
null,1);L7b(c,d.serialize());return[c]};
lo.prototype.visibilityEvent=function(a,b){for(var c=[],d=new Map,e=0;e<a.length;++e){var g=a[e],h=g.getElement(),l=g.rootImpressionEventID,q=d.get(l);q=q?q:[];var v=new D3;this.enableAncestryLoggingForGrafts_&&O6c(v,this.getAncestry_(g));if(g.neverShown||j3(g.getTag(),"vis"))if(h=this.isVisible_(h,b),g.hidden&&h){h=new w3;h.setType(1);var y=e7c(g);h.setTarget(y);y=h;var B=Date.now();n(y,4,B);this.enableAncestryLoggingForGrafts_&&Ao(h,R6c,v);q.push(h);g.hidden=!1;g.neverShown=!1}else g.hidden||h||
(h=new w3,h.setType(2),y=e7c(g),h.setTarget(y),y=h,B=Date.now(),n(y,4,B),this.enableAncestryLoggingForGrafts_&&Ao(h,R6c,v),q.push(h),g.hidden=!0);d.set(l,q)}a=k(d.keys());for(b=a.next();!b.done;b=a.next())b=b.value,g=d.get(b),g.length&&(e=new x3,Th(e,1,g),g=new C3,l=g6c(),q=new s3,Oh(q,l3,1,b),g.setEventId(l),Oh(g,l3,3,b),Oh(g,x3,7,e),Oh(g,s3,9,q),b=new tA,JSON.stringify(null,null,1),L7b(b,g.serialize()),c.push(b));return c};
lo.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=ZJc(b,new OS(a.left,a.top,a.width,a.height)))&&10<=b.width&&10<=b.height?!0:!1};
var b7c=function(a,b,c){for(var d=[],e={},g=b.length-1;0<=g;e={$jscomp$loop$prop$impressionEventID$2363:e.$jscomp$loop$prop$impressionEventID$2363,$jscomp$loop$prop$clientVeProto$2364:e.$jscomp$loop$prop$clientVeProto$2364,$jscomp$loop$prop$testCodes$2365:e.$jscomp$loop$prop$testCodes$2365},g--){e.$jscomp$loop$prop$clientVeProto$2364=new C3;e.$jscomp$loop$prop$testCodes$2365=[];e.$jscomp$loop$prop$impressionEventID$2363=g6c();e.$jscomp$loop$prop$clientVeProto$2364.setEventId(e.$jscomp$loop$prop$impressionEventID$2363);
var h=new s3;Oh(h,l3,1,e.$jscomp$loop$prop$impressionEventID$2363);Oh(e.$jscomp$loop$prop$clientVeProto$2364,s3,9,h);if(h=h6b(window.location.href,"ved"))h=(new B3).setVed(h),Oh(e.$jscomp$loop$prop$clientVeProto$2364,B3,4,h);b[g].forEach(function(l){return function(q,v){v.impressionEventID=l.$jscomp$loop$prop$impressionEventID$2363;v.rootImpressionEventID=l.$jscomp$loop$prop$impressionEventID$2363;var y=this.getVisualElementLiteProto_(v);q.length&&E6c(y,q);q=v.getElement();this.isVisible_(q,c)?(v.neverShown=
!1,v.hidden=!1):y.setVisible(1);this.enableAttentionLogging_&&j3(v.getTag(),"hover")&&void 0!==v.traversalOrder_&&(q.setAttribute("data-hveid",Number(v.traversalOrder_)),0===yg(l.$jscomp$loop$prop$clientVeProto$2364,A3,2).length&&b6c(v)&&(q.setAttribute("decode-data-ved","1"),q.setAttribute("data-ved",b6c(v)+"")));this.setTimestamp(y);um(l.$jscomp$loop$prop$clientVeProto$2364,2,A3,y);l.$jscomp$loop$prop$testCodes$2365=l.$jscomp$loop$prop$testCodes$2365.concat(v.getTag().testCodes_)}}(e),a);h=new tA;
JSON.stringify(null,null,1);L7b(h,e.$jscomp$loop$prop$clientVeProto$2364.serialize());bb(h,20,e.$jscomp$loop$prop$testCodes$2365,Sa);d.push(h)}return d},c7c=function(a,b,c){for(var d=[],e=new Map,g=b.length-1;0<=g;g--){var h=b[g],l=h.keys().next().value.rootImpressionEventID,q=e.get(l)||[];q.push(h);e.set(l,q)}e.forEach(function(v,y){var B=0,I=[],N=new C3,Q=[],Z=g6c();N.setEventId(Z);Oh(N,l3,3,y);var Y=new s3;Oh(Y,l3,1,y);Oh(N,s3,9,Y);for(Y=0;Y<v.length;Y++)for(var ka=v[Y],la=ka.keys(),Da=la.next().value,
za=ka.get(Da),Oa={},Va=0;Va<za.length;Oa={$jscomp$loop$prop$startingOffset$2367:Oa.$jscomp$loop$prop$startingOffset$2367,$jscomp$loop$prop$cloneTreeRootIndex$2368:Oa.$jscomp$loop$prop$cloneTreeRootIndex$2368},++Va){var Ya=Da;Oa.$jscomp$loop$prop$cloneTreeRootIndex$2368=0;Oa.$jscomp$loop$prop$startingOffset$2367=za[Va];var Xb=ka.size;Va!=za.length-1&&(Xb=za[Va+1]);for(var Bb=Oa.$jscomp$loop$prop$startingOffset$2367;Bb<Xb;++Bb){var db=la.next().value;Bb==Oa.$jscomp$loop$prop$startingOffset$2367&&(Ya=
db,Oa.$jscomp$loop$prop$cloneTreeRootIndex$2368=B);db.impressionEventID=Z;db.rootImpressionEventID=y;db.traversalOrder_=B;var wa=ka.get(db),Na=this.getVisualElementLiteProto_(db);wa.length&&E6c(Na,wa.map(function(Qa){return function(nb){return nb-Qa.$jscomp$loop$prop$startingOffset$2367+Qa.$jscomp$loop$prop$cloneTreeRootIndex$2368}}(Oa)));wa=db.getElement();this.isVisible_(wa,c)?(db.neverShown=!1,db.hidden=!1):Na.setVisible(1);this.setTimestamp(Na);um(N,2,A3,Na);Q=Q.concat(db.getTag().testCodes_);
B++}Xb=new w3;Xb.setType(3);Bb=e7c(Da);Xb.setTarget(Bb);Bb=new t3;db=new p3;Na=new D3;db.setVeIndex(Ya.traversalOrder_);W5c(db,Ya.getTag().visualElementID_);sm(Bb,2,v3,db);Oh(Xb,t3,3,Bb);this.enableAncestryLoggingForGrafts_&&(O6c(Na,this.getAncestry_(Ya)),Ao(Xb,R6c,Na));I.push(Xb)}I.length&&(v=new x3,Th(v,1,I),Oh(N,x3,7,v));I=new tA;JSON.stringify(null,null,1);L7b(I,N.serialize());bb(I,20,Q,Sa);d.push(I)},a);return d},d7c=function(a,b,c){for(var d=[],e=b.length-1;0<=e;e--)for(var g=b[e],h=g.keys(),
l=h.next().value,q=g.get(l),v={},y=0;y<q.length;v={$jscomp$loop$prop$startingOffset$2370:v.$jscomp$loop$prop$startingOffset$2370},++y){v.$jscomp$loop$prop$startingOffset$2370=q[y];var B=g.size;y!=q.length-1&&(B=q[y+1]);var I=new C3,N=[],Q=g6c(),Z=new s3;Oh(Z,l3,1,l.impressionEventID);I.setEventId(Q);Oh(I,l3,3,l.impressionEventID);n(I,5,3);Oh(I,s3,9,Z);Z=new B3;l.serverVed_?Z.setVed(l.serverVed_):Z.setUiType(l.getTag().visualElementID_).setVeIndex(l.traversalOrder_);J6c(Z,a.getAncestry_(l));Oh(I,B3,
4,Z);for(Z=v.$jscomp$loop$prop$startingOffset$2370;Z<B;++Z){var Y=h.next().value;Y.impressionEventID=Q;Y.rootImpressionEventID=l.rootImpressionEventID;void 0!=Y.traversalOrder_&&(Y.traversalOrder_-=v.$jscomp$loop$prop$startingOffset$2370);var ka=g.get(Y),la=a.getVisualElementLiteProto_(Y);ka.length&&E6c(la,ka.map(function(Da){return function(za){return za-Da.$jscomp$loop$prop$startingOffset$2370}}(v)));ka=Y.getElement();a.isVisible_(ka,c)?(Y.neverShown=!1,Y.hidden=!1):la.setVisible(1);a.enableAttentionLogging_&&
j3(Y.getTag(),"hover")&&void 0!==Y.traversalOrder_&&(ka.setAttribute("data-hveid",Number(Y.traversalOrder_)),0===yg(I,A3,2).length&&b6c(Y)&&(ka.setAttribute("decode-data-ved","1"),ka.setAttribute("data-ved",b6c(Y)+"")));a.setTimestamp(la);um(I,2,A3,la);N=N.concat(Y.getTag().testCodes_)}B=new tA;JSON.stringify(null,null,1);L7b(B,I.serialize());bb(B,20,N,Sa);d.push(B)}return d};
lo.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};lo.prototype.getVisualElementLiteProto_=function(a){var b=(new A3).setUiType(a.getTag().visualElementID_);null!=a.getTag().getIndex()&&b.setElementIndex(a.getTag().getIndex());P5c(a.getTag(),b);this.enableAttentionLogging_&&j3(a.getTag(),"hover")&&(a=new G3,xi(a,1,!0),Ao(b,a7c,a));return b};
var e7c=function(a){var b=new t3;if(a.serverVed_)b.setVed(a.serverVed_);else{var c=new p3;sm(b,3,u3,a.impressionEventID);c.setVeIndex(a.traversalOrder_);W5c(c,a.getTag().visualElementID_);sm(b,2,v3,c)}return b};lo.prototype.setTimestamp=function(a){if(a instanceof B3&&(!W(a,r3,15)||!W(a,r3,15).getExtension(X6c))){var b=new F3,c=new E3,d=W(a,r3,15);d||(d=new r3);S6c(c);b.setTimestamp(c);Ao(d,X6c,b);Oh(a,r3,15,d)}a instanceof A3&&(b=new F3,c=new E3,S6c(c),b.setTimestamp(c),Ao(a,Y6c,b))};var f7c=1;(function(){for(var a=["ms","moz","webkit","o"],b=0;b<a.length&&!window.requestAnimationFrame;++b)window.requestAnimationFrame=window[a[b]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[a[b]+"CancelAnimationFrame"]||window[a[b]+"CancelRequestAnimationFrame"];if(!window.requestAnimationFrame){var c=0;window.requestAnimationFrame=function(d){var e=(new Date).getTime(),g=Math.max(0,16-(e-c));c=e+g;return window.setTimeout(function(){d(e+g)},g)};window.cancelAnimationFrame||(window.cancelAnimationFrame=
function(d){clearTimeout(d)})}})();var g7c=function(){},h7c=[[],[]],i7c=0,j7c=!1,k7c=null,l7c=0,m7c=0,n7c=0,o7c=0,p7c=0,q7c=function(a){this.mutate_=this.measure_=void 0;this.runInCurrentFrameIfPossible_=!1;this.context_=a;this.state_ctor_=g7c};q7c.prototype.measure=function(a){this.measure_=a;return this};q7c.prototype.mutate=function(a){this.mutate_=a;return this};q7c.prototype.runInCurrentFrameIfPossible=function(){this.runInCurrentFrameIfPossible_=!0;return this};
q7c.prototype.build=function(){return r7c({measure:this.measure_,mutate:this.mutate_,stateCtor:this.state_ctor_,runInCurrentFrameIfPossible:this.runInCurrentFrameIfPossible_},this.context_)};
var r7c=function(a,b){var c=p7c++,d=Math.max(a.measure?a.measure.length:0,a.mutate?a.mutate.length:0),e={id:c,measureFn:a.measure,mutateFn:a.mutate,context:b,args:[]},g=e;return function(){var h=0!==g.phase;h&&(g=Object.assign({phase:0},e));b||(g.context=this);g.args=Array.prototype.slice.call(arguments);d>arguments.length&&g.args.push(new a.stateCtor);h&&(h=i7c,!a.runInCurrentFrameIfPossible||0==o7c||a.measure&&1!=o7c||(h=(h+1)%2),h7c[h].push(g));return s7c()}},t7c=function(a,b){j7c=!1;var c={};
o7c=1;for(var d=0;d<a.length;++d){var e=a[d];e.args[e.args.length-1]&&(e.args[e.args.length-1].now=b);if(e.measureFn){e.phase=1;try{e.measureFn.apply(e.context,e.args)}catch(g){c[d]=!0,caa(g)}}}o7c=2;for(d=0;d<a.length;++d)if(e=a[d],e.args[e.args.length-1]&&(e.args[e.args.length-1].now=b),!c[d]&&e.mutateFn){e.phase=2;try{e.mutateFn.apply(e.context,e.args)}catch(g){caa(g)}}0<l7c&&1<b&&(a=b-l7c,500>a&&(f7c++,100<a&&m7c++,n7c<a&&(n7c=a)));l7c=j7c&&1<b?b:0},s7c=function(){j7c||(j7c=!0,k7c=new Promise(function(a){window.requestAnimationFrame(function(b){var c=
h7c[i7c];i7c=(i7c+1)%2;try{t7c(c,b)}finally{o7c=0,c.length=0}a()})}));return k7c};var u7c=function(a,b){this.tagPopulator_=a;this.expectXidTagComponents_=b||!1;this.componentID_=void 0},h3=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||nj(d)||d!=c.getTag().getAttribute()));if(d)return c;d=b.getAttribute("jslog");if(!d)return null;d=v7c(a,d);if(!d||(d.getComponentID()||a.componentID_)&&
d.getComponentID()!=a.componentID_)return null;a=new Z5c(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(EMb.length){var g=EMb.pop();g.setOptions();g.decoder_.init(c,void 0,void 0,void 0);var h=g}else h=new vb(c);try{var l=Aca(q3).ctor;var q=Dca(q3)(new l,h);break b}finally{h.free()}q=void 0}var v=q;e=W(v,l3,13)}catch(y){e=
null}}e&&(a.impressionEventID=e,a.rootImpressionEventID=e)}return b.LSWHIf=a},v7c=function(a,b){if(nj(b))return null;var c=b.split(";"),d=Number(c[0].trim());if(isNaN(d))return null;d=a.tagPopulator_.createNewTag(d);for(var e=1;e<c.length;e++){var g=c[e].trim();if(!nj(g)){var h=iVb(g);if(2>h.length)return null;g=h[0].trim();h=h[1].trim();if(nj(g)||nj(h))return null;switch(g){case a.maybeXidPartLabel_("track"):g=h.split(",");for(h=0;h<g.length;++h){var l=g[h].trim();if(a.expectXidTagComponents_){if(!d.xidTagComponents_)throw Error("Ie");
if(!L5c.has(l))throw Error("Je`"+l);d.tracks_.add(l)}else d.tracks_.add(d.maybeXidEventLabel_(l))}break;case a.maybeXidPartLabel_("index"):d.setIndex(Number(h));break;case a.maybeXidPartLabel_("tc"):g=h.split(",");g=g.map(Number);g=g.filter(Number.isInteger);d.testCodes_=g;break;case "cid":d.setComponentID(h);break;case a.maybeXidPartLabel_("mutable"):"true"==h?d.mutable_=!0:"rci"==h&&(d.mutable_=!0,d.retain_cached_impression_=!0)}}}return d.setAttribute(b)};
u7c.prototype.maybeXidPartLabel_=function(a){return this.expectXidTagComponents_?Sib(a):a};u7c.prototype.setComponentID=function(a){this.componentID_=a};u7c.prototype.getComponentID=function(){return this.componentID_};var w7c=function(a,b){this.visualElementProvider_=a;this.traverseShadowDom_=void 0===b?!1:b},G5c=function(a,b){return x7c(a,b).filter(function(c){return null!=h3(this.visualElementProvider_,c)},a)},y7c=function(a,b){var c=a.visualElementProvider_;a=[];for(var d=void 0,e={},g=0;g<b.length;e={$jscomp$loop$prop$parent$2372:e.$jscomp$loop$prop$parent$2372},++g){var h=h3(c,b[g]);void 0==h.traversalOrder_&&void 0==h.serverVed_&&(e.$jscomp$loop$prop$parent$2372=void 0,Wib(b[g],function(l){return function(q){q=
h3(c,q);return null!=q?(l.$jscomp$loop$prop$parent$2372=q,!0):!1}}(e),!1),e.$jscomp$loop$prop$parent$2372?d&&d.has(e.$jscomp$loop$prop$parent$2372)||(d=new Map,a.unshift(d),d.set(e.$jscomp$loop$prop$parent$2372,[]),$5c=1):(d=new Map,a.unshift(d),$5c=0),a6c(h),h.setParent(e.$jscomp$loop$prop$parent$2372),d.set(h,[]),e.$jscomp$loop$prop$parent$2372&&d.get(e.$jscomp$loop$prop$parent$2372).push(h.traversalOrder_))}return a},z7c=function(a,b){var c=a.visualElementProvider_;return b.map(function(d){return h3(c,
d)})},x7c=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},$5c=0;var A7c=function(a,b){rz.call(this,"visibilitychange");this.hidden=a;this.visibilityState=b};V(A7c,rz);var B7c=function(a){Im.call(this);this.domHelper_=a||Lm();if(this.eventType_=this.getBrowserEventType_())this.eventKey_=Jm(this.domHelper_.document_,this.eventType_,Ap(this.handleChange_,this))};Cp(B7c,Im);f=B7c.prototype;f.getBrowserEventType_=m8a(function(){var a=!!this.getHiddenPropertyName_(),b="hidden"!=this.getHiddenPropertyName_();if(a){var c;b?c=(((Hp?"Webkit":Gp?"Moz":Ep?"ms":null)||"")+"visibilitychange").toLowerCase():c="visibilitychange";a=c}else a=null;return a});
f.getHiddenPropertyName_=m8a(function(){return YJc("hidden",this.domHelper_.document_)});f.getVisibilityStatePropertyName_=m8a(function(){return YJc("visibilityState",this.domHelper_.document_)});f.isHidden=function(){return!!this.domHelper_.document_[this.getHiddenPropertyName_()]};f.handleChange_=function(){var a=this.getHiddenPropertyName_()?this.domHelper_.document_[this.getVisibilityStatePropertyName_()]:null;a=new A7c(this.isHidden(),a);this.dispatchEvent(a)};
f.disposeInternal=function(){xz(this.eventKey_);B7c.superClass_.disposeInternal.call(this)};var H3=function(a,b,c,d,e,g,h){var l=this,q=void 0===d?{}:d,v=void 0===q.backgroundJobDeferrer?void 0:q.backgroundJobDeferrer;d=void 0===q.expectXidTagComponents?!1:q.expectXidTagComponents;q=void 0===q.traverseShadowDom?!1:q.traverseShadowDom;Tn.call(this);this.eventBuilder_=a;this.expectXidTagComponents_=d;this.metadataHandler_=b||new N6c;this.visualElementProvider_=new u7c(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 B7c;this.logImpressionsTask_=(new q7c(this)).measure(v?function(){return v().then(l.handleImpressions_.bind(l))}:this.handleImpressions_).runInCurrentFrameIfPossible().build();this.logImpressionsThrottle_=new UCc(this.logImpressionsTask_,500,this);this.traverser_=h||new w7c(this.visualElementProvider_,q);this.listeners_=[];this.impressionListeners_=
[];this.eventBuilder_ instanceof d6c&&(this.eventHandler_=this.eventBuilder_);this.zwiebackId_=e;this.windowProvider_=g};Cp(H3,Tn);H3.prototype.setComponentID=function(a){this.visualElementProvider_.setComponentID(a)};H3.prototype.logImpressions=function(){this.domHelper_&&this.logImpressionsThrottle_.fire()};
var D7c=function(a,b,c,d){var e=C7c(d),g=a.getIndex(c);var h=new f3;h=n(h,4,b);var l=c.getTag().visualElementID_;h=n(h,1,l);e=bb(h,3,e,Sa);null!=g&&e.setElementIndex(g);g=new c6c;g.ve_metadata=a.getMetadata(c,d);g.global_metadata=a.invariantData_;g.client_info=a.appInfo_;c=K7b(new tA,e.serialize());c=bb(c,20,g.testCodes,Sa);a.transport_&&CA(a.transport_,c);if(null!=b)for(b=new F5c(b),c=0;c<a.listeners_.length;c++)a.listeners_[c](b)};
H3.prototype.log=function(a){this.transport_&&CA(this.transport_,a)};var E7c=function(a){for(var b=0;b<a.impressionListeners_.length;b++)a.impressionListeners_[b]()};H3.prototype.getIndex=function(a){return a.getTag().getIndex()};var C7c=function(a){return a.map(function(b){return b.getTag().visualElementID_})};H3.prototype.getMetadata=function(a,b){var c=new A3;P5c(a.getTag(),c);for(a=0;a<b.length;++a)P5c(b[a].getTag(),c);return c};
var F7c=function(a,b,c){var d,e=a.visualElementProvider_,g=a.eventToTracksLabelMap_[b];Wib(c,function(h){if(!Gz(h))return!1;h=h3(e,h);var l;if(l=null!=h)if(l=h.getTag(),this.expectXidTagComponents_){if(!l.xidTagComponents_)throw Error("Ie");if(!L5c.has(g))throw Error("Je`"+g);l=l.tracks_.has(g)}else l=j3(l,g);return l?(d=h,!0):!1}.bind(a),!0);return d};
H3.prototype.getAncestry_=function(a){var b=[],c=this.visualElementProvider_;Wib(a,function(d){if(!Gz(d))return!1;d=h3(c,d);null!=d&&b.push(d);return!1},!1);return b};
H3.prototype.handleImpressions_=function(){if(!this.pageVisibilityMonitor_.isHidden()&&this.root_){var a=!!(window.performance&&window.performance.mark&&window.performance.measure&&window.performance.clearMeasures&&window.performance.clearMarks);a&&(window.performance.clearMeasures("ZVwBtb"),window.performance.clearMarks("KtiTlc"),window.performance.mark("KtiTlc"));var b=G5c(this.traverser_,this.root_);if(this.eventHandler_){var c=this.windowProvider_?this.domHelper_.getViewportSize(this.windowProvider_()):
this.domHelper_.getViewportSize();c=new OS(0,0,c.width,c.height);H5c(this,b,c);I5c(this,b,c);E7c(this)}else{c=[];var d=this.windowProvider_?this.domHelper_.getViewportSize(this.windowProvider_()):this.domHelper_.getViewportSize();d=new OS(0,0,d.width,d.height);for(var e=0;e<b.length;e++){var g=b[e];this.isVisible_(g,d)&&(g=h3(this.visualElementProvider_,g))&&j3(g.getTag(),"impression")&&c.push(g)}for(b=0;b<c.length;b++)d=c[b],d.loggedImpression_||(e=this.getAncestry_(d.getElement()),D7c(this,void 0,
d,e),E7c(this),d.loggedImpression_=!0)}a&&window.performance.measure("ZVwBtb","KtiTlc")}};H3.prototype.isVisible_=function(a,b){if(a.hasAttribute("ve-visible"))return"true"==a.getAttribute("ve-visible");a=a.getBoundingClientRect();return(b=ZJc(b,new OS(a.left,a.top,a.width,a.height)))&&10<=b.width&&10<=b.height?!0:!1};H3.prototype.maybeXidEventLabel_=function(a){return this.expectXidTagComponents_?Qib(a):a};
var H5c=function(a,b,c){b=y7c(a.traverser_,b);if(b.length)for(c=a.eventHandler_.impressionEvent(b,c),b=0;b<c.length;++b)a.metadataHandler_.addEventMetadata(c[b]),n(c[b],28,a.zwiebackId_),a.transport_&&CA(a.transport_,c[b])},I5c=function(a,b,c){b=z7c(a.traverser_,b);c=a.eventHandler_.visibilityEvent(b,c);if(c.length)for(b=0;b<c.length;++b)a.metadataHandler_.addEventMetadata(c[b]),a.zwiebackId_&&n(c[b],28,a.zwiebackId_),a.transport_&&CA(a.transport_,c[b])},J5c=function(a,b,c){b=a.eventHandler_.interactionEvent(b,
c);for(c=0;c<b.length;++c)a.metadataHandler_.addEventMetadata(b[c]),a.zwiebackId_&&n(b[c],28,a.zwiebackId_),a.transport_&&CA(a.transport_,b[c])};var Yib=function(a,b,c,d,e,g,h,l,q,v,y,B){e=void 0===e?!1:e;q=void 0===q?!1:q;b=l?l:new WGc(b,c,d,void 0,void 0,void 0,g);H3.call(this,a,h||null,b,{expectXidTagComponents:e,backgroundJobDeferrer:g,traverseShadowDom:q},v,y,B);this.clearcut_=b;this.clearcut_.setClientSideLogOnlyForDevelopment(!1);a=this.clearcut_;a.useSendBeaconForFinalFlush=a.isSendBeaconSupported;this.clearcut_.useGetRequestForFinalFlush=!0};Cp(Yib,H3);Yib.prototype.setClearcutClientInfo=function(a){this.clearcut_.setClearcutClientInfo(a)};
Yib.prototype.setBuildLabel=function(a){this.clearcut_.setBuildLabel(a)};Yib.prototype.setClientSideLogOnlyForDevelopment=function(a){this.clearcut_.setClientSideLogOnlyForDevelopment(a)};var G7c=function(a){this.tracker=a};var H7c=function(a,b){this.root=a;this.handler=b;this.eventHandler=Un(this)};H7c.prototype.observe=function(){var a=this;this.observer||(this.observer=new MutationObserver(function(b){a.onMutation(b)}),this.observer.observe(this.root,{childList:!0,subtree:!0}),this.eventHandler.listen(this.root,n2c,function(b){var c=a.handler.tracker,d=b.type,e=c.eventToActionMap_[d];if(e&&(d=F7c(c,d,b.target)))if(c.eventHandler_)J5c(c,d,new F5c(e));else{var g=c.getAncestry_(d.getElement());D7c(c,e,d,g)}b.stopPropagation()}))};
H7c.prototype.dispose=function(){var a;null==(a=this.observer)||a.disconnect();this.eventHandler.removeAll()};H7c.prototype.onMutation=function(a){a=k(a);for(var b=a.next();!b.done;b=a.next())if(b=b.value,"childList"===b.type){b=k(b.addedNodes);for(var c=b.next();!c.done;c=b.next())c=c.value,c instanceof Element&&(c.querySelectorAll("[jsLog]").length||c.getAttribute("jsLog"))&&this.handler.tracker.logImpressions()}};var Bjb=function(a,b){this.root=a;this.tracker=b;this.observer=new H7c(this.root,new G7c(this.tracker))};
Bjb.prototype.start=function(){this.tracker.setComponentID("peopleweb");var a=this.tracker,b=this.root;a.domHelper_=new zz;a.root_=b||a.domHelper_.document_.body;b=a.domHelper_.document_;"interactive"!=b.readyState&&"complete"!=b.readyState||a.logImpressions();a.listenOnce(b,"load",a.logImpressions,!1);a.listenOnce(b,"DOMContentLoaded",a.logImpressions,!1);a.listen(a.pageVisibilityMonitor_,"visibilitychange",a.logImpressions,!1);a.listen(b,"scroll",a.logImpressions,!0);a=k(o2c);for(b=a.next();!b.done;b=
a.next()){var c=k(b.value);b=c.next().value;c=c.next().value;var d=this.tracker;d.eventToActionMap_[b]=c;d.eventToTracksLabelMap_[b]=d.maybeXidEventLabel_(b)}this.observer.observe()};Bjb.prototype.stop=function(){this.observer.dispose()};var no=function(){this.filter_=null;this.boostIds_=[];this.primingTimeoutMillis_=1E3;this.searchFormat_=this.suggestFormat_=this.queryScope_=0;this.slots_=[];this.entryPoint_=0};f=no.prototype;f.getFilter=function(){return this.filter_};f.setFilter=function(a){this.filter_=a;return this};f.setQueryScope=function(a){this.queryScope_=a;return this};f.getQueryScope=function(){return this.queryScope_};f.getEntryPoint=function(){return this.entryPoint_};f.setEntryPoint=function(a){this.entryPoint_=a;return this};
f.getSuggestFormat=function(){return this.suggestFormat_};f.getSearchFormat=function(){return this.searchFormat_};f.clone=function(){var a=new no;a.filter_=this.filter_;a.boostIds_=this.boostIds_;a.primingTimeoutMillis_=this.primingTimeoutMillis_;a.queryScope_=this.queryScope_;a.slots_=this.slots_;a.entryPoint_=this.entryPoint_;a.suggestFormat_=this.suggestFormat_;a.searchFormat_=this.searchFormat_;return a};var Uo=function(a){r.call(this,a)};V(Uo,r);var I3=function(a,b){return xi(a,1,b)};f=Uo.prototype;f.getProvenance=function(){return Fh(this,2,0)};f.setProvenance=function(a){return n(this,2,a)};f.getCode=function(){return Fh(this,3,0)};f.setCode=function(a){return n(this,3,a)};f.toObject=function(){return I7c(this)};var I7c=function(a){if(null!=a)return t(a),{isLateLoaded:p(Db(a,1)),provenance:p(m(a,2)),code:p(m(a,3))}},J7c=[Uo,1,zq,2,Nq,3,Nq];Uo.prototype.serializeBinary=u(J7c);var J3=function(a){r.call(this,a)};V(J3,r);J3.prototype.getSource=function(){return W(this,Uo,1)};J3.prototype.setSource=function(a){return Oh(this,Uo,1,a)};J3.prototype.hasSource=function(){return qi(this,Uo,1)};var K3=function(a,b){return n(a,2,b)},L3=function(a,b){return n(a,3,b)};J3.prototype.toObject=function(){return K7c(this)};var K7c=function(a){if(null!=a)return t(a),{source:I7c(a.getSource()),statusAtQuery:p(m(a,2)),statusAtResult:p(m(a,3))}},L7c=[J3,1,X,J7c,2,Nq,3,Nq];
J3.prototype.serializeBinary=u(L7c);var M7c=function(){this.filter_=null};M7c.prototype.getFilter=function(){return this.filter_};M7c.prototype.setFilter=function(a){this.filter_=a;return this};var N7c=function(a){r.call(this,a)};V(N7c,r);f=N7c.prototype;f.getEnd=function(){return Ag(this,2,0)};f.setEnd=function(a){return n(this,2,a)};f.getTotalItems=function(){return Ag(this,3,0)};f.setTotalItems=function(a){return n(this,3,a)};f.getCode=function(){return Fh(this,4,2)};f.setCode=function(a){return n(this,4,a)};f.getCacheState=function(){return W(this,J3,5)};f.setCacheState=function(a){return Oh(this,J3,5,a)};f.hasCacheState=function(){return qi(this,J3,5)};
f.toObject=function(){if(null!=this){t(this);var a={begin:Ag(this,1,0),end:Ag(this,2,0),totalItems:Ag(this,3,0),code:Fh(this,4,2),cacheState:K7c(this.getCacheState())}}else a=void 0;return a};f.serializeBinary=u([N7c,1,wq,2,wq,3,wq,4,Nq,5,X,L7c]);var O7c=function(a,b){this.results_=a;this.metadata_=b};O7c.prototype.getResults=function(){return this.results_};O7c.prototype.getMetadata=function(){return this.metadata_};var P7c=function(){this.filter_=null;this.originator_=this.queryScope_=0;this.useOriginalDisplayValue_=!1};f=P7c.prototype;f.getFilter=function(){return this.filter_};f.setFilter=function(a){this.filter_=a;return this};f.getQueryScope=function(){return this.queryScope_};f.setQueryScope=function(a){this.queryScope_=a;return this};f.getOriginator=function(){return this.originator_};f.setOriginator=function(a){this.originator_=a;return this};
f.clone=function(){var a=(new P7c).setFilter(this.getFilter()).setOriginator(this.getOriginator()).setQueryScope(this.getQueryScope());a.useOriginalDisplayValue_=this.useOriginalDisplayValue_;return a};var Q7c=function(){this.isLastCallback_=this.isFirstCallback_=!1;this.notFoundIdList_=[];this.code_=2;this.cacheState_=new J3};f=Q7c.prototype;f.getIsFirstCallback=function(){return this.isFirstCallback_};f.getIsLastCallback=function(){return this.isLastCallback_};f.getCode=function(){return this.code_};f.getCacheState=function(){return this.cacheState_};f.setIsFirstCallback=function(a){this.isFirstCallback_=a;return this};f.setIsLastCallback=function(a){this.isLastCallback_=a;return this};
f.setCallbackNumber=function(){return this};f.setCode=function(a){this.code_=a;return this};f.setCacheState=function(a){this.cacheState_=a;return this};var R7c=function(a,b){this.results_=a;this.metadata_=b};R7c.prototype.getResults=function(){return this.results_};R7c.prototype.getMetadata=function(){return this.metadata_};var M3=function(a){r.call(this,a)};V(M3,r);f=M3.prototype;f.getQuery=function(){return mh(this,1,"")};f.setQuery=function(a){return n(this,1,a)};f.clearQuery=function(){Qp(this,1)};f.hasQuery=function(){return jj(this,1)};f.getIsFirstCallback=function(){return vi(this,2,!1)};f.setIsFirstCallback=function(a){return xi(this,2,a)};f.getIsLastCallback=function(){return vi(this,3,!1)};f.setIsLastCallback=function(a){return xi(this,3,a)};f.setCallbackNumber=function(a){return n(this,4,a)};
f.getNextPageToken=function(){return mh(this,5,"")};f.getCode=function(){return Fh(this,6,2)};f.setCode=function(a){return n(this,6,a)};f.getCacheState=function(){return W(this,J3,7)};f.setCacheState=function(a){return Oh(this,J3,7,a)};f.hasCacheState=function(){return qi(this,J3,7)};
f.toObject=function(){if(null!=this){t(this);var a={query:mh(this,1,""),isFirstCallback:vi(this,2,!1),isLastCallback:vi(this,3,!1),callbackNumber:Ag(this,4,-1),nextPageToken:mh(this,5,""),code:Fh(this,6,2),cacheState:K7c(this.getCacheState())}}else a=void 0;return a};f.serializeBinary=u([M3,1,Cq,2,zq,3,zq,4,wq,5,Cq,6,Nq,7,X,L7c]);var N3=function(a,b){this.results_=a;this.metadata_=b};N3.prototype.getResults=function(){return this.results_};N3.prototype.getMetadata=function(){return this.metadata_};var S7c={create:function(a,b,c,d,e){e=void 0===e?new no:e;return bjb(a,b,c,d,new J0c,{sessionOptions:e})},createWith:function(a,b,c,d,e){e=void 0===e?{}:e;return bjb(a,b,c,d,new J0c,e)},createConfig:function(a){a=void 0===a?new SGc(UGc.apiEnv,new TGc(UGc.userProfileId)):a;return new L4c(a)}};var Mo=function(a){r.call(this,a)};V(Mo,r);f=Mo.prototype;f.getTimestamp=function(){return Wh(this,1)};f.setTimestamp=function(a){return n(this,1,a)};f.hasTimestamp=function(){return Aj(this,1)};f.getAffinityVersion=function(){return Ag(this,2)};f.setAffinityVersion=function(a){n(this,2,a)};f.getAffinityVersionOrUndefined=function(){return cq(this,2)};f.getTotalItems=function(){return Ag(this,3)};f.setTotalItems=function(a){return n(this,3,a)};f.getNextPageToken=function(){return mh(this,4)};
f.getCode=function(){return Fh(this,6,0)};f.setCode=function(a){return n(this,6,a)};f.toObject=function(){if(null!=this){t(this);var a={timestamp:p(m(this,1)),affinityVersion:p(Cb(this,2)),totalItems:p(Cb(this,3)),nextPageToken:p(m(this,4)),skipIndexing:p(Db(this,5)),code:p(m(this,6))}}else a=void 0;return a};f.serializeBinary=u([Mo,1,pq,2,wq,3,wq,4,Cq,5,zq,6,Nq]);var T7c=function(){this.bits_=[]};f=T7c.prototype;f.and=function(a){for(var b=new T7c,c=k(this),d=c.next();!d.done;d=c.next())d=d.value,a.bits_[d]&&(b.bits_[d]=!0);return b};f.or=function(a){for(var b=new T7c,c=k(this),d=c.next();!d.done;d=c.next())b.bits_[d.value]=!0;a=k(a);for(d=a.next();!d.done;d=a.next())b.bits_[d.value]=!0;return b};f.get=function(a){return!!this.bits_[a]};f.set=function(a){this.bits_[a]=!0};f.setAll=function(a){var b=a;for(a+=NaN;b<a;b++)this.bits_[b]=!0};
f.clear=function(a){this.bits_[a]=!1};T7c.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 Kjb=RegExp("[\\s,;\u055d\u060c\u1363\u1802\u1808\u2e41\u3001\uff0c\u061b\u1364\uff1b\uff64\u104a]+","g"),Mjb=/^[<"']|[>"']$/g,Ijb=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"),U7c=/[^a-z0-9]+/gi,Ljb=String.prototype.normalize?function(a){return a.normalize("NFKC")}:function(a){return a};var V7c=function(a,b){this.key=a;this.terms=Njb(b)};var O3=function(a,b,c){b=void 0===b?"":b;c=void 0===c?new T7c:c;this.items_=a;this.prefix_=b;this.matchIndices_=c;this.childNodes_={};this.isExpanded_="\u2026"===b};O3.prototype.cloneNode=function(a){for(var b=[],c=k(this.items_),d=c.next();!d.done&&(d=d.value,!a.loadOrSkip(d.key)||(b.push(d),!a.isDone()));d=c.next());return new O3(b)};
O3.prototype.getMatches=function(a){for(var b=[],c=k(this.prefix_?this.matchIndices_:Pjb(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};
O3.prototype.search=function(a){var b=this;return a.length?a.map(function(c){for(var d=b,e=0;e<c.length;e++){var g=c.charAt(e),h=d;if(!h.isExpanded_){for(var l=k(h.prefix_?h.matchIndices_:Pjb(h.items_.length)),q=l.next();!q.done;q=l.next()){var v=h;q=q.value;for(var y=v.prefix_+"\ufdc7",B=k(v.items_[q].terms),I=B.next();!I.done;I=B.next())I=I.value,I.length<=v.prefix_.length||I<v.prefix_||I>y||(I=I.charAt(v.prefix_.length),v.childNodes_[I]||(v.childNodes_[I]=new O3(v.items_,v.prefix_+I)),v.childNodes_[I].matchIndices_.set(q))}h.isExpanded_=
!0}d=d.childNodes_[g]||P3;if(d===P3)break}return d}).reduce(function(c,d){return c.and(d)}):this};var W7c=function(a){a.isExpanded_=!1;for(var b=k(Object.keys(a.childNodes_)),c=b.next();!c.done;c=b.next())c=a.childNodes_[c.value],c.isExpanded_&&W7c(c)};O3.prototype.and=function(a){a=this.matchIndices_.and(a.matchIndices_);return new O3(this.items_,"\u2026",a)};O3.prototype.or=function(a){a=this.matchIndices_.or(a.matchIndices_);return new O3(this.items_,"\u2026",a)};var P3=new O3([]);
P3.isExpanded_=!0;var X7c=function(a,b,c){this.expiry_=a;this.value_=b;this.stale_=c};X7c.prototype.getExpiry=function(){return this.expiry_};X7c.prototype.getValue=function(){return this.value_};X7c.prototype.isExpired=function(){return this.expiry_<Date.now()};X7c.prototype.isStale=function(){return this.stale_<Date.now()};var Y7c=function(a){this.shouldEvictItem_=a;this.items_=new Map};f=Y7c.prototype;f.size=function(){return this.items_.size};f.clear=function(){this.items_.clear()};f.has=function(a){return this.items_.has(a)};f.get=function(a){var b=this.items_.get(a);this.items_.has(a)&&(this.items_.delete(a),this.items_.set(a,b));return b};
f.set=function(a,b){this.items_.has(a)&&this.items_.delete(a);this.items_.set(a,b);b=k(this.items_.entries().next().value);a=b.next().value;b=b.next().value;this.shouldEvictItem_(a,b)&&this.items_.delete(a);return this};f.delete=function(a){return this.items_.delete(a)};f.compact=function(){for(var a=0,b=k(this.items_),c=b.next();!c.done;c=b.next()){var d=k(c.value);c=d.next().value;d=d.next().value;this.shouldEvictItem_(c,d)&&(this.items_.delete(c),a++)}return a};
var Z7c=function(){var a=new Y7c(function(){return 1E3<a.size()});return a};var $7c=function(a,b){var c=this;this.capacity_=a;this.itemFactory_=b;this.delegate_=new Y7c(function(d,e){return e.isExpired()||c.delegate_.size()>c.capacity_})};f=$7c.prototype;f.get=function(a){var b=this.delegate_.get(a);if(b)if(b.isExpired())this.delegate_.delete(a);else return b.getValue()};f.set=function(a,b){b=this.itemFactory_(b);this.delegate_.set(a,b);return this};f.has=function(a){return!!this.get(a)};f.size=function(){return this.delegate_.size()};f.clear=function(){this.delegate_.clear()};
f.delete=function(a){return this.delegate_.delete(a)};f.compact=function(){return this.delegate_.compact()};var Q3=function(a,b){return new $7c(a,function(c){var d=Date.now()+b;return new X7c(d,c,d)})};var R3=function(a){r.call(this,a)};V(R3,r);f=R3.prototype;f.getCacheSize=function(){return Ag(this,3,500)};f.setCacheSize=function(a){n(this,3,a)};f.hasCacheSize=function(){return qj(this,3)};f.getCacheStaleSec=function(){return Xh(this,4,86400)};f.getCacheExpiredSec=function(){return Xh(this,5,1209600)};f.getRpcTimeoutSec=function(){return Xh(this,12,60)};f.getSuggestFormat=function(){return Fh(this,15,1)};f.getSearchFormat=function(){return Fh(this,16,1)};R3.repeatedFields_=[24,25];
R3.prototype.toObject=function(){return a8c(this)};
var a8c=function(a){if(null!=a)return t(a),{suggestMaxResults:Ag(a,1,10),searchMaxResults:Ag(a,2,10),cacheSize:Ag(a,3,500),cacheStaleSec:Xh(a,4,86400),cacheExpiredSec:Xh(a,5,1209600),lruCacheCapacity:Ag(a,6,500),lruCacheExpiredSec:Ag(a,7,43200),autocompleteIndexCapacity:Ag(a,8,250),autocompleteIndexExpiredSec:Xh(a,9,3600),notFoundCapacity:Ag(a,10,500),notFoundExpiredSec:Xh(a,11,600),rpcTimeoutSec:Xh(a,12,60),serverWarmupThrottleSec:Xh(a,13,60),cacheFlushThrottleSec:Xh(a,14,300),suggestFormat:Fh(a,
15,1),searchFormat:Fh(a,16,1),lookupFormat:Fh(a,17,1),listFormat:Fh(a,18,1),coalescedSortOrder:Fh(a,19,1),preferSource:Fh(a,20,1),enableEmailPlaceholders:vi(a,21,!1),allowEmptyTargets:vi(a,22,!1),singleIant:vi(a,23,!1),iantApplicationList:p(Gj(a,24)),idTypesList:p(Gj(a,25)),smartAddressIndexCapacity:Ag(a,26,10),smartAddressIndexExpiredSec:Xh(a,27,600),supportSmtpAddresses:vi(a,28,!1),contextualSuggestMaxAdditionResults:Ag(a,29,3),enableBoosting:vi(a,30,!1),boostIndexCapacity:Ag(a,31,5),boostIndexExpiredSec:Xh(a,
32,3600),enableInterleavedGroups:vi(a,33,!1),enableSlotReservations:vi(a,34,!1)}},b8c=[R3,1,wq,2,wq,3,wq,4,iq,5,iq,6,wq,7,wq,8,wq,9,iq,10,wq,11,iq,12,iq,13,iq,14,iq,15,Nq,16,Nq,17,Nq,18,Nq,19,Nq,20,Nq,21,zq,22,zq,23,zq,24,Oq,25,Oq,26,wq,27,iq,28,zq,29,wq,30,zq,31,wq,32,iq,33,zq,34,zq];R3.prototype.serializeBinary=u(b8c);var Rjb=new Set([10,11]);var c8c=function(a){this.interleaveGroups_=vi(a,33,!1)},d8c=function(a,b,c){return b.filter(function(d){return 8!==d.provenance}).sort(function(d,e){a:{var g=a.interleaveGroups_;switch(c){case 2:d=Sjb(d,e,g,!0);break a;default:d=Tjb(d,e,g)}}return d}).map(function(d){return String(d.id)})};var e8c=function(a,b,c,d,e){this.adapter_=a;this.targetFactory_=b;this.trieFactory_=c;this.storage_=d;this.ranker_=new c8c(e);this.indexes_=Q3(Ag(e,8,250),1E3*Xh(e,9,3600));this.maxResults_=Ag(e,2,10)};f=e8c.prototype;f.getCacheType=function(){return 3};f.flush=function(){this.indexes_.clear()};
f.fetch=function(a){var b=this,c,d;return Ld(function(e){switch(e.nextAddress){case 1:c=I3(new Uo,!0).setProvenance(7).setCode(0);if(b.canSkipFetch_(a))return e.return(I3(c,!1));Md(e,2);return e.yield(b.adapter_.search(a.getPrefix(),b.maxResults_),4);case 4:d=e.yieldResult;xp(e,3);break;case 2:return Pd(e),e.return(c.setCode(13));case 3:try{return b.index(a,d,new Mo),e.return(c)}catch(g){return e.return(c.setCode(13))}}})};
f.canSkipFetch_=function(a){return a.isSuggestQuery()?!0:3===a.queryScope()?!1:this.indexes_.has(a.getPrefix())?!0:!1};f.index=function(a,b){for(var c=d8c(this.ranker_,b,1),d=k(b),e=d.next();!e.done;e=d.next())this.targetFactory_.processItem(e.value);d=3===a.queryScope();this.storage_.storeItems(1,b,d);b=f8c(this.trieFactory_,c);this.indexes_.set(a.getPrefix(),b)};f.search=function(a){return a.isSuggestQuery()||!this.indexes_.has(a.getPrefix())?[]:this.indexes_.get(a.getPrefix()).search([]).getMatches(a.getCollector())};var g8c=function(a,b,c){this.adapter_=a;this.targetFactory_=b;this.indexer_=c};g8c.prototype.getStageType=function(){return 2};g8c.prototype.index_=function(a,b){for(var c=k(a),d=c.next();!d.done;d=c.next())this.targetFactory_.processItem(d.value);this.indexer_.storeItems(a,b)};
g8c.prototype.lookup=function(a){var b=this,c,d,e,g,h,l,q,v,y;return Ld(function(B){switch(B.nextAddress){case 1:return c=new Map,d=I3(new Uo,!0).setProvenance(7).setCode(0),e=3===a.queryScope(),g=h8c(a),Md(B,2),B.yield(b.adapter_.lookup(g),4);case 4:h=B.yieldResult;xp(B,3);break;case 2:return Pd(B),d.setCode(13),a.notify(c,[],d),B.return();case 3:b.index_(h,e);l=k(g);for(q=l.next();!q.done;q=l.next())v=q.value,(y=b.indexer_.load(v,a.getFormat(),a.getResultFilter(),!1,a.getOptions().useOriginalDisplayValue_))&&
c.set(v,y);a.notify(c,[],d);Qd(B)}})};var i8c=function(a,b){this.metrics_=a;this.state_=new jS(b);this.source=b;this.label_="total"};i8c.prototype.call=function(){this.metrics_.count(this.state_);this.metrics_.start(this.state_,this.label_)};i8c.prototype.result=function(a){this.metrics_.stop(this.state_,this.label_);this.metrics_.status(this.state_,a)};var j8c=function(a,b){this.metrics_=a;this.state_=new jS(b);this.source=b};j8c.prototype.increment=function(a){this.metrics_.count(this.state_,void 0===a?1:a)};var k8c=function(a,b){this.metrics_=a;this.state_=new jS(b);this.source=b};k8c.prototype.report=function(){this.metrics_.error(this.state_)};var Do=function(a){r.call(this,a)};V(Do,r);Do.prototype.toObject=function(){return l8c(this)};var l8c=function(a){if(null!=a)return t(a),{phoneItemCount:p(Cb(a,1)),emailItemCount:p(Cb(a,2)),gaiaItemCount:p(Cb(a,3)),notFoundPhoneItemCount:p(Cb(a,4)),notFoundEmailItemCount:p(Cb(a,5)),notFoundGaiaItemCount:p(Cb(a,6)),outOfDateSelfItemCount:p(Cb(a,7))}},m8c=[Do,1,wq,2,wq,3,wq,4,wq,5,wq,6,wq,7,wq];Do.prototype.serializeBinary=u(m8c);var Co=function(a){r.call(this,a)};V(Co,r);Co.prototype.getEventType=function(){return Fh(this,1,0)};Co.prototype.setEventType=function(a){return n(this,1,a)};var Eo=function(a,b){return n(a,2,b)},zkb=function(a,b){return n(a,3,b)};f=Co.prototype;f.getErrorType=function(){return Fh(this,6,0)};f.setErrorType=function(a){return n(this,6,a)};f.getIdType=function(){return Fh(this,8,0)};f.setIdType=function(a){n(this,8,a)};f.getResultIndex=function(){return Ag(this,9,0)};
f.setResultIndex=function(a){n(this,9,a)};f.getToken=function(){return mh(this,10,"")};f.setToken=function(a){return n(this,10,a)};f.getCacheState=function(){return W(this,J3,11)};f.setCacheState=function(a){return Oh(this,J3,11,a)};f.hasCacheState=function(){return qi(this,J3,11)};f.getQueryLength=function(){return Ag(this,14)};f.setQueryLength=function(a){return n(this,14,a)};f.hasQueryLength=function(){return qj(this,14)};f.getItemCount=function(){return Ag(this,15)};
f.setItemCount=function(a){return n(this,15,a)};f.hasItemCount=function(){return qj(this,15)};f.getLookupInfo=function(){return W(this,Do,16)};f.setLookupInfo=function(a){return Oh(this,Do,16,a)};f.hasLookupInfo=function(){return qi(this,Do,16)};f.getQueryScope=function(){return Fh(this,17,0)};f.setQueryScope=function(a){return n(this,17,a)};f.hasQueryScope=function(){return Vh(this,17)};
f.toObject=function(){if(null!=this){t(this);var a={eventType:Fh(this,1,0),apiLabel:Fh(this,2,0),rpcLabel:Fh(this,3,0),countType:Fh(this,4,0),latencyType:Fh(this,5,0),errorType:Fh(this,6,0),errorCause:Fh(this,7,0),idType:Fh(this,8,0),resultIndex:Ag(this,9,0),token:mh(this,10,""),cacheState:K7c(this.getCacheState()),contentLength:Ag(this,12,0),errorHint:Fh(this,13,0),queryLength:p(Cb(this,14)),itemCount:p(Cb(this,15)),lookupInfo:l8c(this.getLookupInfo()),queryScope:p(m(this,17))}}else a=void 0;return a};
f.serializeBinary=u([Co,1,Nq,2,Nq,3,Nq,4,Nq,5,Nq,6,Nq,7,Nq,8,Nq,9,wq,10,Cq,11,X,L7c,12,wq,13,Nq,14,wq,15,wq,16,X,m8c,17,Nq]);var n8c=function(a,b){this.delegate_=a;this.trackers_=b};n8c.prototype.search=function(a){var b=this,c,d;return Ld(function(e){switch(e.nextAddress){case 1:return c=b.trackers_.latency(66),c.start(),Md(e,2,3),e.yield(b.delegate_.search(a),5);case 5:return e.return(e.yieldResult);case 3:Nd(e);c.stop();Od(e,0);break;case 2:throw d=Pd(e),b.trackers_.error(36,11).report(),d;}})};
n8c.prototype.lookup=function(a){var b=this,c,d;return Ld(function(e){switch(e.nextAddress){case 1:return c=b.trackers_.latency(67),c.start(),Md(e,2,3),e.yield(b.delegate_.lookup(a),5);case 5:return e.return(e.yieldResult);case 3:Nd(e);c.stop();Od(e,0);break;case 2:throw d=Pd(e),b.trackers_.error(37,11).report(),d;}})};var o8c=function(a,b){this.delegate_=a;this.trackers_=b};o8c.prototype.getPosition=function(){try{return this.delegate_.getPosition()}catch(a){throw this.trackers_.error(38,11).report(),a;}};
o8c.prototype.warmUpCache=function(){var a=this,b,c;return Ld(function(d){switch(d.nextAddress){case 1:return b=a.trackers_.latency(65),b.start(),Md(d,2,3),d.yield(a.delegate_.warmUpCache(),5);case 5:return d.return(d.yieldResult);case 3:Nd(d);b.stop();Od(d,0);break;case 2:throw c=Pd(d),a.trackers_.error(35,11).report(),c;}})};o8c.prototype.needsWarmUp=function(){try{return this.delegate_.needsWarmUp()}catch(a){throw this.trackers_.error(38,11).report(),a;}};var p8c=function(a,b,c,d,e){this.adapter_=a;this.targetFactory_=b;this.trieFactory_=c;this.storage_=d;this.ranker_=new c8c(e);this.index_=P3};f=p8c.prototype;f.getCacheType=function(){switch(this.adapter_.getPosition()){case 1:return 2;case 2:return 3;default:return 0}};f.flush=function(){this.index_=P3};
f.fetch=function(a){var b=this,c,d;return Ld(function(e){switch(e.nextAddress){case 1:c=I3(new Uo,!0).setProvenance(7).setCode(0);if(b.index_!=P3&&!b.adapter_.needsWarmUp())return e.return(I3(c,!1));Md(e,2);return e.yield(b.adapter_.warmUpCache(),4);case 4:d=e.yieldResult;xp(e,3);break;case 2:return Pd(e),e.return(c.setCode(13));case 3:try{return b.index(a,d,new Mo),e.return(c)}catch(g){return e.return(c.setCode(13))}}})};
f.index=function(a,b){a=d8c(this.ranker_,b,1);for(var c=k(b),d=c.next();!d.done;d=c.next())this.targetFactory_.processItem(d.value);this.storage_.storeItems(1,b);this.index_=f8c(this.trieFactory_,a)};f.search=function(a){var b=this;this.adapter_.needsWarmUp()&&Promise.resolve().then(function(){return b.fetch(a)});return this.index_.search(a.getTerms()).getMatches(a.getCollector())};var q8c=function(a,b,c){this.indexLatency_=a;this.searchLatency_=b;this.errorType_=c};q8c.prototype.getErrorType=function(){return this.errorType_};var S3=function(a,b,c){this.delegate_=a;this.trackers_=b;this.indexingLabel_=c.indexLatency_;this.searchLabel_=c.searchLatency_;this.errorLabel_=c.getErrorType()};f=S3.prototype;f.getCacheType=function(){return this.delegate_.getCacheType()};f.flush=function(){try{this.delegate_.flush()}catch(a){throw this.trackers_.error(this.errorLabel_,15).report(),a;}};f.fetch=function(a){try{return this.delegate_.fetch(a)}catch(b){throw this.trackers_.error(this.errorLabel_,14).report(),b;}};
f.index=function(a,b,c){var d=this.trackers_.latency(this.indexingLabel_);d.start();try{this.delegate_.index(a,b,c)}catch(e){throw this.trackers_.error(this.errorLabel_,10).report(),e;}finally{d.stop()}};f.search=function(a){var b=this.trackers_.latency(this.searchLabel_);b.start();try{return this.delegate_.search(a)}catch(c){throw this.trackers_.error(this.errorLabel_,13).report(),c;}finally{b.stop()}};var r8c=function(){},s8c=function(a){var b=[];a=k(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;for(var d=void 0,e=[],g=k(c.getTargetList()),h=g.next();!h.done;h=g.next())h=Zjb(c,h.value,7),e.push(String(h.id)),h.coalescedKeys=e,d||(d=h),b.push(h);d&&ho(d.id)&&(e=void 0,d.totalMemberCount=null!=(e=c.getTotalMemberCountOrUndefined())?e:void 0,d.memberKeys=c.getMemberList().map(function(l){for(var q=k(l.getTargetList()).next();!q.done;)return l=Zjb(l,q.value,8),b.push(l),String(l.id)}))}return b},
t8c=function(a){a=a.getResultList();return s8c(a)};var u8c=function(a){r.call(this,a)};V(u8c,r);f=u8c.prototype;f.setMaxResults=function(a){return n(this,1,a)};f.getQuery=function(){return mh(this,2,"")};f.setQuery=function(a){return n(this,2,a)};f.clearQuery=function(){Qp(this,2)};f.hasQuery=function(){return jj(this,2)};f.toObject=function(){if(null!=this){t(this);var a={maxResults:Ag(this,1,0),query:mh(this,2,"")}}else a=void 0;return a};f.serializeBinary=u([u8c,1,wq,2,Cq]);var v8c=function(a,b){this.provider_=a;this.itemFactory_=b};v8c.prototype.search=function(a,b){var c=this,d;return Ld(function(e){if(1==e.nextAddress)return 1>b?e.return([]):e.yield(c.provider_.search((new u8c).setQuery(a).setMaxResults(b)),2);d=e.yieldResult;return e.return(t8c(d))})};v8c.prototype.lookup=function(a){var b=this,c;return Ld(function(d){if(1==d.nextAddress)return a.length?d.yield(b.provider_.lookup(a),2):d.return([]);c=d.yieldResult;return d.return(t8c(c))})};var w8c=function(a,b){this.provider_=a;this.itemFactory_=b};w8c.prototype.getPosition=function(){return this.provider_.getPosition()};w8c.prototype.needsWarmUp=function(){return this.provider_.needsWarmUp()};w8c.prototype.warmUpCache=function(){var a=this,b;return Ld(function(c){if(1==c.nextAddress)return c.yield(a.provider_.warmUpCache(),2);b=c.yieldResult;return c.return(t8c(b))})};var x8c=new q8c(68,69,38);var y8c=function(){};y8c.prototype.processItem=function(){};var z8c=new y8c;var ckb=function(){this.familyName_=this.givenName_=this.displayName_="";this.sourceType_=0};f=ckb.prototype;f.getDisplayName=function(){return this.displayName_};f.setDisplayName=function(a){this.displayName_=a||"";return this};f.getGivenName=function(){return this.givenName_};f.setGivenName=function(a){this.givenName_=a||"";return this};f.getFamilyName=function(){return this.familyName_};f.setFamilyName=function(a){this.familyName_=a||"";return this};f.getSourceType=function(){return this.sourceType_};
f.setSourceType=function(a){this.sourceType_=a||0;return this};var A8c=function(){this.iconUrl_=this.altText_=""},gkb=function(a){var b=new A8c;b.altText_=a||"";return b};A8c.prototype.getIconUrl=function(){return this.iconUrl_};A8c.prototype.setIconUrl=function(a){this.iconUrl_=a||"";return this};var B8c=function(a){this.delegate_=a};B8c.prototype.processItem=function(a){a.target=hkb(a);this.delegate_.processItem(a);a.resultData&&delete a.resultData;a.targetData&&delete a.targetData};var C8c=function(){};
C8c.prototype.configure=function(a){var b=a.clientConfig,c=a.trackers,d=a.storage,e=a.indexer,g=a.trieFactory,h=a.prefixCaches;a=a.lookupStages;var l=b.runtimeConfig_.customDataConfig_;if(l){b=b.getClient();var q=new r8c;var v=void 0===v?z8c:v;v=new B8c(v);for(var y=[],B=k(l.staticDataProviders_.reverse()),I=B.next();!I.done;I=B.next()){var N=I=I.value;N=new o8c(N,c);N=new p8c(new w8c(N,q),v,g,d,b);N=new S3(N,c,x8c);switch(I.getPosition()){case 1:y.push(N);break;case 2:h.push(N);break;default:throw Error("Ke");
}}y.length&&h.splice.apply(h,[0,0].concat(Jc(y)));l=k(l.dynamicDataProviders_);for(y=l.next();!y.done;y=l.next())B=y=y.value,B=new n8c(B,c),B=new e8c(new v8c(B,q),v,g,d,b),B=new S3(B,c,x8c),h.push(B),y=new n8c(y,c),a.push(new g8c(new v8c(y,q),v,e))}};var T3=function(a){r.call(this,a)};V(T3,r);f=T3.prototype;f.getEnableClearcut=function(){return vi(this,1,!1)};f.setEnableClearcut=function(a){return xi(this,1,a)};f.getSocialApplication=function(){return Fh(this,2,0)};f.getSocialApplicationOrUndefined=function(){return Qo(this,2)};f.setEventSources=function(a){Np(this,5,Po,a)};T3.repeatedFields_=[5,6];T3.prototype.toObject=function(){return D8c(this)};
var D8c=function(a){if(null!=a)return t(a),{enableClearcut:vi(a,1,!1),socialApplication:Fh(a,2,0),affinityLogSource:Fh(a,3,41),metricLogSource:Fh(a,4,574),eventSourcesList:Mb(yg(a,Po,5),f2),contextualEventSourcesList:Mb(yg(a,Ro,6),$_c)}},E8c=[T3,1,zq,2,Nq,3,Nq,4,Nq,5,Iq,g2,6,Iq,a0c];T3.prototype.serializeBinary=u(E8c);var U3=function(a){r.call(this,a)};V(U3,r);f=U3.prototype;f.getApplication=function(){return Fh(this,1,0)};f.setApplication=function(a){return n(this,1,a)};f.getApplicationOrUndefined=function(){return Qo(this,1)};f.getIsEnabled=function(){return vi(this,2,!1)};f.toObject=function(){return F8c(this)};var F8c=function(a){if(null!=a)return t(a),{application:Fh(a,1,0),isEnabled:vi(a,2,!1)}},G8c=[U3,1,Nq,2,zq];U3.prototype.serializeBinary=u(G8c);var V3=function(a){r.call(this,a)};V(V3,r);V3.prototype.getApiKey=function(){return mh(this,1,"")};V3.prototype.setApiKey=function(a){return n(this,1,a)};V3.prototype.toObject=function(){return H8c(this)};var H8c=function(a){if(null!=a)return t(a),{apiKey:mh(a,1,""),apiKeyTest:mh(a,2,"")}},I8c=[V3,1,Cq,2,Cq];V3.prototype.serializeBinary=u(I8c);var W3=function(a){r.call(this,a)};V(W3,r);W3.repeatedFields_=[1];W3.prototype.toObject=function(){return J8c(this)};var J8c=function(a){if(null!=a)return t(a),{papiExtensionList:p(Gj(a,1))}},K8c=[W3,1,Oq];W3.prototype.serializeBinary=u(K8c);var X3=function(a){r.call(this,a)};V(X3,r);f=X3.prototype;f.getClientId=function(){return mh(this,1,"CLIENT_UNSPECIFIED")};f.setClientId=function(a){return n(this,1,a)};f.getAffinityType=function(){return mh(this,4,"AFFINITY_TYPE_UNKNOWN")};f.setAffinityType=function(a){return n(this,4,a)};f.getContainerType=function(){return $Mb(this,7)};X3.repeatedFields_=[7,8];X3.prototype.toObject=function(){return L8c(this)};
var L8c=function(a){if(null!=a)return t(a),{clientId:mh(a,1,"CLIENT_UNSPECIFIED"),clientName:mh(a,2,"CLIENT_UNSPECIFIED"),clientVersion:mh(a,3,""),affinityType:mh(a,4,"AFFINITY_TYPE_UNKNOWN"),affinityTypeEnum:Fh(a,5,0),mergedPersonModel:Fh(a,6,1),containerTypeList:p(Gj(a,7)),fieldMaskList:p(Cg(a,8)),listRankedTargetsPapiExtensions:J8c(W(a,W3,9)),listPeopleByKnownIdPapiExtensions:J8c(W(a,W3,10)),listContactPeoplePapiExtensions:J8c(W(a,W3,11)),getPeoplePapiExtensions:J8c(W(a,W3,12)),identityAcl:vi(a,
13,!1),offlineStoreDelayMillis:Ag(a,14,5E3),enablePrivateNames:vi(a,15,!1),dasherAdminDisabled:vi(a,16,!1),enableSmimeCertificate:vi(a,17,!1)}},M8c=[X3,1,Cq,2,Cq,3,Cq,4,Cq,5,Nq,6,Nq,7,Oq,8,Dq,9,X,K8c,10,X,K8c,11,X,K8c,12,X,K8c,13,zq,14,wq,15,zq,16,zq,17,zq];X3.prototype.serializeBinary=u(M8c);var N8c=function(a){r.call(this,a)};V(N8c,r);f=N8c.prototype;f.getClient=function(){return W(this,R3,1)};f.setClient=function(a){return Oh(this,R3,1,a)};f.hasClient=function(){return qi(this,R3,1)};f.getGapi=function(){return W(this,V3,2)};f.getPeopleApi=function(){return W(this,X3,3)};f.getClearcut=function(){return W(this,T3,4)};f.setClearcut=function(a){Oh(this,T3,4,a)};f.hasClearcut=function(){return qi(this,T3,4)};f.getExperiments=function(){return W(this,U3,5)};
f.setExperiments=function(a){Oh(this,U3,5,a)};f.hasExperiments=function(){return qi(this,U3,5)};f.toObject=function(){if(null!=this){t(this);var a={client:a8c(this.getClient()),gapi:H8c(this.getGapi()),peopleApi:L8c(this.getPeopleApi()),clearcut:D8c(this.getClearcut()),experiments:F8c(this.getExperiments())}}else a=void 0;return a};f.serializeBinary=u([N8c,1,X,b8c,2,X,I8c,3,X,M8c,4,X,E8c,5,X,G8c]);var O8c=uda(N8c);var P8c;var Q8c=function(a){r.call(this,a,1)};V(Q8c,r);var R8c={},S8c={};Q8c.prototype.toObject=function(){if(null!=this){t(this);var a={};Nb(this,a,R8c)}else a=void 0;return a};Q8c.prototype.serializeBinary=u([Q8c,S8c]);var T8c=function(){this.dynamicDataProviders_=[];this.staticDataProviders_=[]};var Y3=function(a){r.call(this,a)};V(Y3,r);f=Y3.prototype;f.getExperimentIdsList=function(){return xg(this,1)};f.setExperimentIdsList=function(a){return bb(this,1,a,Sa)};f.getExperimentIds=function(){return Xp(this,1)};f.setExperimentIds=function(a){fb(this,1,a,void 0,xg)};f.getProfileId=function(){return mh(this,2)};f.getProfileId_legacyNullable=function(){return m(this,2)};f.setProfileId=function(a){return n(this,2,a)};f.hasProfileId=function(){return jj(this,2)};Y3.repeatedFields_=[1];
Y3.prototype.toObject=function(){if(null!=this){t(this);var a={experimentIdsList:p(xg(this,1)),profileId:p(m(this,2))}}else a=void 0;return a};Y3.prototype.serializeBinary=u([Y3,1,xq,2,Cq]);var U8c=function(){},V8c=function(){return!1},W8c=function(){this.experiments_=(new Y3).setProfileId(UGc.userProfileId);this.peopleApiEnv_=UGc.apiEnv;this.userEmail_=UGc.userEmail;this.delegatorId_="";this.onAuthError_=U8c;this.offlineStorage_=null;this.apiKey_=this.clearcutUrl_="";this.isOffline_=V8c;this.customDataConfig_=null;this.isOrgStateEnabled_=!1};f=W8c.prototype;f.getUserEmail=function(){return this.userEmail_};f.getDelegatorId=function(){return this.delegatorId_};f.getPeopleApiEnv=function(){return this.peopleApiEnv_};
f.setPeopleApiEnv=function(a){this.peopleApiEnv_=a;return this};f.getExperiments=function(){return this.experiments_};f.getAuthErrorHandler=function(){return this.onAuthError_};f.setClearcutUrl=function(a){this.clearcutUrl_=a};f.getClearcutUrl=function(){return this.clearcutUrl_};f.setAuthErrorHandler=function(a){this.onAuthError_=a||U8c};f.getApiKey=function(){return this.apiKey_};f.setApiKey=function(a){this.apiKey_=a;return this};var Z3=function(a,b){this.delegate_=a;this.runtimeConfig_=b||new W8c;a=this.getPeopleApi();Gj(a,7).length||Oj(a,7,[2,8,1,7,10,11]);Cg(a,8).length||uh(a,8,["person.name","person.photo","person.email","person.phone","person.metadata"]);b=k(Cg(a,8));for(var c=b.next();!c.done;c=b.next())switch(c=c.value,c){case "person.name":case "person.email":case "person.phone":eb(a,8,c+".metadata.verified")}};Z3.prototype.getClient=function(){this.delegate_.hasClient()||this.delegate_.setClient(new R3);return this.delegate_.getClient()};
Z3.prototype.getGapi=function(){if(!qi(this.delegate_,V3,2)){var a=this.delegate_,b=new V3;Oh(a,V3,2,b)}return this.delegate_.getGapi()};Z3.prototype.getPeopleApi=function(){if(!qi(this.delegate_,X3,3)){var a=this.delegate_,b=new X3;Oh(a,X3,3,b)}return this.delegate_.getPeopleApi()};Z3.prototype.getClearcut=function(){this.delegate_.hasClearcut()||this.delegate_.setClearcut(new T3);return this.delegate_.getClearcut()};
var X8c=function(a){a.delegate_.hasExperiments()||a.delegate_.setExperiments(new U3);return a.delegate_.getExperiments()};Z3.prototype.getAuthErrorHandler=function(){return this.runtimeConfig_.getAuthErrorHandler()};var Y8c=function(a){a=a.getClient();return Ag(a,6,500)?Math.min(Math.round(Ag(a,6,500)/4),500):500};var Z8c;var zlb=null;var $8c=function(a,b){this.isOrgStateEnabled_=a.runtimeConfig_.isOrgStateEnabled_;this.delegate_=b};$8c.prototype.processItem=function(a){this.delegate_.processItem(a);a=a.target;this.isOrgStateEnabled_||(a.orgState_=0)};var a4=function(a){r.call(this,a)};V(a4,r);a4.prototype.getDescription=function(){return m(this,6)};a4.prototype.setDescription=function(a){return n(this,6,a)};a4.prototype.hasDescription=function(){return jj(this,6)};a4.prototype.toObject=function(){return a9c(this)};
var a9c=function(a){if(null!=a)return t(a),{entityType:p(m(a,4)),presence:p(m(a,1)),memberCount:p(m(a,2)),avatarUrl:p(m(a,3)),developerName:p(m(a,5)),description:p(m(a,6)),dndState:p(m(a,7)),organizationInfo:XRb(W(a,VRb,8)),segmentedMembershipCounts:aSb(W(a,Bs,9)),isMembershipVisibleToCaller:p(Db(a,10))}},b9c=[a4,4,Nq,1,Nq,2,pq,3,Cq,5,Cq,6,Cq,7,Nq,8,X,YRb,9,X,bSb,10,zq];a4.prototype.serializeBinary=u(b9c);var b4=function(a){r.call(this,a)};V(b4,r);b4.prototype.toObject=function(){return c9c(this)};var c9c=function(a){if(null!=a)return t(a),{actorId:p(m(a,1)),subtitle:p(m(a,2))}},d9c=[b4,1,Cq,2,Cq];b4.prototype.serializeBinary=u(d9c);var yo=function(a){r.call(this,a,5)};V(yo,r);f=yo.prototype;f.getDynamiteExtendedData=function(){return W(this,a4,1)};f.getIsPlaceholder=function(){return vi(this,2)};f.setIsPlaceholder=function(a){xi(this,2,a)};f.getPaisaExtendedData=function(){return W(this,b4,3)};f.getContactId=function(){return Wh(this,4)};f.setContactId=function(a){n(this,4,a)};var e9c={};yo.prototype.toObject=function(){return f9c(this)};
var f9c=function(a){if(null!=a){t(a);var b={dynamiteExtendedData:a9c(a.getDynamiteExtendedData()),isPlaceholder:p(Db(a,2)),paisaExtendedData:c9c(a.getPaisaExtendedData()),contactId:p(m(a,4))};Nb(a,b,e9c);return b}},g9c=[yo,{},1,X,b9c,2,zq,3,X,d9c,4,pq];yo.prototype.serializeBinary=u(g9c);var ukb=Lb(417869898,{clientSpecificData:0},yo,f9c);m0c[417869898]=gq(Hq,g9c);l0c[417869898]=ukb;var h9c=function(a){r.call(this,a)};V(h9c,r);h9c.prototype.toObject=function(){return i9c(this)};var i9c=function(a){if(null!=a)return t(a),{nationalNumber:p(m(a,1)),internationalNumber:p(m(a,2)),countryCode:p(Cb(a,3)),regionCode:p(m(a,4)),isValid:p(Db(a,5)),validationResult:p(m(a,6))}},j9c=[h9c,1,Cq,2,Cq,3,wq,4,Cq,5,zq,6,Nq];h9c.prototype.serializeBinary=u(j9c);var k9c=function(a){r.call(this,a)};V(k9c,r);k9c.prototype.toObject=function(){return l9c(this)};var l9c=function(a){if(null!=a)return t(a),{e164:p(m(a,1)),i18nData:i9c(W(a,h9c,2))}},m9c=[k9c,1,Cq,2,X,j9c];k9c.prototype.serializeBinary=u(m9c);var c4=function(a){r.call(this,a)};V(c4,r);c4.prototype.getCode=function(){return mh(this,1)};c4.prototype.setCode=function(a){return n(this,1,a)};c4.prototype.toObject=function(){return n9c(this)};var n9c=function(a){if(null!=a)return t(a),{code:p(m(a,1)),countryCode:p(m(a,2))}},o9c=[c4,1,Cq,2,Cq];c4.prototype.serializeBinary=u(o9c);var p9c=function(a){r.call(this,a)};V(p9c,r);f=p9c.prototype;f.getPhoneNumber=function(){return W(this,k9c,1)};f.getType=function(){return mh(this,3)};f.setType=function(a){return n(this,3,a)};f.hasType=function(){return jj(this,3)};f.toObject=function(){return q9c(this)};var q9c=function(a){if(null!=a)return t(a),{phoneNumber:l9c(a.getPhoneNumber()),shortCode:n9c(W(a,c4,2)),type:p(m(a,3)),formattedType:p(m(a,4))}},r9c=[p9c,1,X,m9c,2,X,o9c,3,Cq,4,Cq];p9c.prototype.serializeBinary=u(r9c);var s9c=function(a){r.call(this,a)};V(s9c,r);s9c.prototype.toObject=function(){return t9c(this)};var t9c=function(a){if(null!=a)return t(a),{structuredPhone:q9c(W(a,p9c,1))}},u9c=[s9c,1,X,r9c];s9c.prototype.serializeBinary=u(u9c);var Bo=function(a){r.call(this,a)};V(Bo,r);Bo.prototype.toObject=function(){return v9c(this)};var v9c=function(a){if(null!=a)return t(a),{grammaticalGender:p(m(a,1)),phoneExtendedData:t9c(W(a,s9c,2))}},w9c=[Bo,1,Nq,2,X,u9c];Bo.prototype.serializeBinary=u(w9c);var xkb=Lb(417866180,{peopleStackFieldData:0},Bo,v9c);m0c[417866180]=gq(Hq,w9c);l0c[417866180]=xkb;var x9c=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},skb=function(a){if(!a)return 0;a=Array.from(a).map(x9c);a.sort();for(var b=1,c=0,d=a.length;c<d;c++)b=(b<<5)-b+a[c];return b};var ikb=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 d4=function(a){r.call(this,a)};V(d4,r);f=d4.prototype;f.getLoggingId=function(){return Fb(this,1)};f.setLoggingId=function(a){n(this,1,Ka(a,!1,!1))};f.getValue=function(){return yb(this,2)};f.getValue_legacyNullable=function(){return yb(this,2)};f.setValue=function(a){return n(this,2,Pa(a))};f.hasValue=function(){return null!=yb(this,2)};f.toObject=function(){return y9c(this)};var y9c=function(a){if(null!=a)return t(a),{loggingId:Qb(a.getLoggingId()),value:p(yb(a,2))}},z9c=[d4,1,Kq,2,iq];
d4.prototype.serializeBinary=u(z9c);var e4=function(a){r.call(this,a)};V(e4,r);f=e4.prototype;f.getValue=function(){return m(this,1)};f.getValue_legacyNullable=function(){return m(this,1)};f.setValue=function(a){return n(this,1,a)};f.hasValue=function(){return jj(this,1)};f.getGivenName=function(){return m(this,2)};f.setGivenName=function(a){return n(this,2,a)};f.hasGivenName=function(){return jj(this,2)};f.getFamilyName=function(){return m(this,3)};f.setFamilyName=function(a){return n(this,3,a)};
f.hasFamilyName=function(){return jj(this,3)};f.getSourceType=function(){return m(this,4)};f.setSourceType=function(a){return n(this,4,a)};f.toObject=function(){return A9c(this)};var A9c=function(a){if(null!=a)return t(a),{value:p(m(a,1)),givenName:p(m(a,2)),familyName:p(m(a,3)),sourceType:p(m(a,4))}},B9c=[e4,1,Cq,2,Cq,3,Cq,4,Nq];e4.prototype.serializeBinary=u(B9c);var f4=function(a){r.call(this,a)};V(f4,r);f=f4.prototype;f.getUrl=function(){return m(this,1)};f.setUrl=function(a){return n(this,1,a)};f.hasUrl=function(){return jj(this,1)};f.getType=function(){return m(this,2)};f.setType=function(a){return n(this,2,a)};f.hasType=function(){return Vh(this,2)};f.getGlyph=function(){return m(this,3)};f.setGlyph=function(a){return n(this,3,a)};f.toObject=function(){return C9c(this)};
var C9c=function(a){if(null!=a)return t(a),{url:p(m(a,1)),type:p(m(a,2)),glyph:p(m(a,3))}},D9c=[f4,1,Cq,2,Nq,3,Cq];f4.prototype.serializeBinary=u(D9c);var g4=function(a){r.call(this,a)};V(g4,r);f=g4.prototype;f.getPhoto=function(){return W(this,f4,1)};f.setPhoto=function(a){Oh(this,f4,1,a)};f.hasPhoto=function(){return qi(this,f4,1)};f.getName=function(){return W(this,e4,2)};f.setName=function(a){return Oh(this,e4,2,a)};f.hasName=function(){return qi(this,e4,2)};f.getAffinity=function(){return W(this,d4,3)};f.hasAffinity=function(){return qi(this,d4,3)};f.getPrimary=function(){return Db(this,4)};f.toObject=function(){return E9c(this)};
var E9c=function(a){if(null!=a)return t(a),{photo:C9c(a.getPhoto()),name:A9c(a.getName()),affinity:y9c(a.getAffinity()),primary:p(Db(a,4))}},F9c=[g4,1,X,D9c,2,X,B9c,3,X,z9c,4,zq];g4.prototype.serializeBinary=u(F9c);var h4=function(a){r.call(this,a)};V(h4,r);h4.prototype.getStatus=function(){return m(this,2)};h4.prototype.setStatus=function(a){return n(this,2,a)};h4.prototype.hasStatus=function(){return Vh(this,2)};h4.prototype.toObject=function(){return G9c(this)};var G9c=function(a){if(null!=a)return t(a),{expirationTimestampSeconds:p(m(a,1)),status:p(m(a,2)),configurationName:p(m(a,3))}},H9c=[h4,1,pq,2,Nq,3,Cq];h4.prototype.serializeBinary=u(H9c);var i4=function(a){r.call(this,a)};V(i4,r);i4.prototype.getSmtpServerSupportsTls=function(){Db(this,1)};i4.prototype.toObject=function(){return I9c(this)};var I9c=function(a){if(null!=a)return t(a),{smtpServerSupportsTls:p(Db(a,1)),usesConfusingCharacters:p(Db(a,2))}},J9c=[i4,1,zq,2,zq];i4.prototype.serializeBinary=u(J9c);var Go=function(a){r.call(this,a)};V(Go,r);Go.prototype.getState=function(){return m(this,2)};Go.prototype.toObject=function(){return K9c(this)};var K9c=function(a){if(null!=a)return t(a),{contextType:p(m(a,1)),state:p(m(a,2))}},L9c=[Go,1,Nq,2,Nq];Go.prototype.serializeBinary=u(L9c);var j4=function(a){r.call(this,a)};V(j4,r);j4.prototype.getApplication=function(){return Fh(this,1,0)};j4.prototype.setApplication=function(a){return n(this,1,a)};j4.prototype.getApplicationOrUndefined=function(){return Qo(this,1)};j4.repeatedFields_=[2];j4.prototype.toObject=function(){return M9c(this)};var M9c=function(a){if(null!=a)return t(a),{application:Fh(a,1,0),stateStatusList:Mb(yg(a,Go,2),K9c)}},N9c=[j4,1,Nq,2,Iq,L9c];j4.prototype.serializeBinary=u(N9c);var k4=function(a){r.call(this,a)};V(k4,r);f=k4.prototype;f.getValue=function(){return m(this,1)};f.getValue_legacyNullable=function(){return m(this,1)};f.setValue=function(a){return n(this,1,a)};f.hasValue=function(){return jj(this,1)};f.getInternalExternal=function(){return W(this,j4,4)};f.hasInternalExternal=function(){return qi(this,j4,4)};k4.repeatedFields_=[2];k4.prototype.toObject=function(){return O9c(this)};
var O9c=function(a){if(null!=a)return t(a),{value:p(m(a,1)),certificatesList:Mb(yg(a,h4,2),G9c),securityInfo:I9c(W(a,i4,3)),internalExternal:M9c(a.getInternalExternal())}},P9c=[k4,1,Cq,2,Iq,H9c,3,X,J9c,4,X,N9c];k4.prototype.serializeBinary=u(P9c);var to=function(a){r.call(this,a)};V(to,r);f=to.prototype;f.getProfileId=function(){return m(this,1)};f.getProfileId_legacyNullable=function(){return m(this,1)};f.setProfileId=function(a){return n(this,1,a)};f.hasProfileId=function(){return jj(this,1)};f.getEmail=function(){return Am(this,2,wo)};f.getEmail_legacyNullable=function(){return Am(this,2,wo)};f.setEmail=function(a){return mm(this,2,wo,a)};f.hasEmail=function(){return null!=Am(this,2,wo)};f.getPhone=function(){return Am(this,3,wo)};
f.getPhone_legacyNullable=function(){return Am(this,3,wo)};f.setPhone=function(a){return mm(this,3,wo,a)};f.hasPhone=function(){return null!=Am(this,3,wo)};var wo=[2,3];to.prototype.toObject=function(){return Q9c(this)};var Q9c=function(a){if(null!=a)return t(a),{profileId:p(m(a,1)),email:p(Am(a,2,wo)),phone:p(Am(a,3,wo)),clientData:p(m(a,4))}},R9c=[to,1,Cq,2,Fq,wo,3,Fq,wo,4,Cq];to.prototype.serializeBinary=u(R9c);var l4=function(a){r.call(this,a)};V(l4,r);l4.prototype.getDisplayValue=function(){return m(this,1)};l4.prototype.getOriginalValue=function(){return m(this,3)};l4.prototype.toObject=function(){return S9c(this)};var S9c=function(a){if(null!=a)return t(a),{displayValue:p(m(a,1)),canonicalValue:p(m(a,2)),originalValue:p(m(a,3))}},T9c=[l4,1,Cq,2,Cq,3,Cq];l4.prototype.serializeBinary=u(T9c);var U9c=function(a){r.call(this,a)};V(U9c,r);U9c.prototype.toObject=function(){return V9c(this)};var V9c=function(a){if(null!=a)return t(a),{directUserMemberCount:p(m(a,1)),directGroupMemberCount:p(m(a,2))}},W9c=[U9c,1,pq,2,pq];U9c.prototype.serializeBinary=u(W9c);var m4=function(a){r.call(this,a)};V(m4,r);f=m4.prototype;f.getIdCase=function(){return rh(this,n4)};f.getProfileId=function(){return Am(this,1,n4)};f.getProfileId_legacyNullable=function(){return Am(this,1,n4)};f.setProfileId=function(a){return mm(this,1,n4,a)};f.hasProfileId=function(){return null!=Am(this,1,n4)};f.getContactId=function(){return Am(this,2,n4)};f.setContactId=function(a){mm(this,2,n4,a)};var n4=[1,2];m4.prototype.toObject=function(){return X9c(this)};
var X9c=function(a){if(null!=a)return t(a),{profileId:p(Am(a,1,n4)),contactId:p(Am(a,2,n4))}},Y9c=[m4,1,Fq,n4,2,Fq,n4];m4.prototype.serializeBinary=u(Y9c);var o4=function(a){r.call(this,a)};V(o4,r);f=o4.prototype;f.getValueCase=function(){return rh(this,uo)};f.getDisplayInfo=function(){return W(this,g4,1)};f.hasDisplayInfo=function(){return qi(this,g4,1)};f.getEmail=function(){return Fi(this,k4,2,uo)};f.setEmail=function(a){return sm(this,2,uo,a)};f.hasEmail=function(){return Di(this,k4,2,uo)};f.getPhone=function(){return Fi(this,l4,3,uo)};f.setPhone=function(a){return sm(this,3,uo,a)};f.hasPhone=function(){return Di(this,l4,3,uo)};
f.getSourceIdsList=function(){return yg(this,m4,5)};f.getIsSelf=function(){return Db(this,6)};f.getTypeLabel=function(){return m(this,10)};o4.repeatedFields_=[5];var uo=[2,3,4];o4.prototype.toObject=function(){return Z9c(this)};
var Z9c=function(a){if(null!=a)return t(a),{displayInfo:E9c(a.getDisplayInfo()),email:O9c(a.getEmail()),phone:S9c(a.getPhone()),inAppTarget:Q9c(Fi(a,to,4,uo)),sourceIdsList:Mb(a.getSourceIdsList(),X9c),isSelf:p(Db(a,6)),isGoogleGroup:p(Db(a,7)),isPersonal:p(Db(a,8)),peopleStackFieldExtendedData:v9c(W(a,Bo,9)),typeLabel:p(m(a,10)),isBlocked:p(Db(a,11)),rosterDetails:V9c(W(a,U9c,12))}},$9c=[o4,1,X,F9c,2,Jq,P9c,uo,3,Jq,T9c,uo,4,Jq,R9c,uo,5,Iq,Y9c,6,zq,7,zq,8,zq,9,X,w9c,10,Cq,11,zq,12,X,W9c];
o4.prototype.serializeBinary=u($9c);var p4=function(a){r.call(this,a)};V(p4,r);f=p4.prototype;f.getDisplayInfo=function(){return W(this,g4,1)};f.hasDisplayInfo=function(){return qi(this,g4,1)};f.getMembersList=function(){return yg(this,o4,2)};f.setMembersList=function(a){Th(this,2,a)};f.getLabelId=function(){return m(this,3)};p4.repeatedFields_=[2];p4.prototype.toObject=function(){return a$c(this)};
var a$c=function(a){if(null!=a)return t(a),{displayInfo:E9c(a.getDisplayInfo()),membersList:Mb(a.getMembersList(),Z9c),labelId:p(m(a,3))}},b$c=[p4,1,X,F9c,2,Iq,$9c,3,Cq];p4.prototype.serializeBinary=u(b$c);var q4=function(a){r.call(this,a)};V(q4,r);q4.prototype.getHideType=function(){return m(this,1)};q4.prototype.getHiddenKeysList=function(){return yg(this,R2,3)};q4.repeatedFields_=[3];q4.prototype.toObject=function(){return c$c(this)};var c$c=function(a){if(null!=a)return t(a),{hideType:p(m(a,1)),hiddenKeysList:Mb(a.getHiddenKeysList(),n4c),familyStatus:p(m(a,2))}},d$c=[q4,1,Nq,3,Iq,o4c,2,Nq];q4.prototype.serializeBinary=u(d$c);var r4=function(a){r.call(this,a)};V(r4,r);r4.prototype.getAffinity=function(){return W(this,d4,2)};r4.prototype.hasAffinity=function(){return qi(this,d4,2)};r4.prototype.getPeopleStackExtendedData=function(){return W(this,q4,4)};r4.prototype.getPeopleStackPersonExtendedData=function(){return W(this,T2,5)};r4.repeatedFields_=[1];r4.prototype.toObject=function(){return e$c(this)};
var e$c=function(a){if(null!=a)return t(a),{affinity:y9c(a.getAffinity()),contactMethodsList:Mb(yg(a,o4,1),Z9c),clientSpecificData:f9c(W(a,yo,3)),peopleStackExtendedData:c$c(a.getPeopleStackExtendedData()),peopleStackPersonExtendedData:p4c(a.getPeopleStackPersonExtendedData())}},f$c=[r4,2,X,z9c,1,Iq,$9c,3,X,g9c,4,X,d$c,5,X,q4c];r4.prototype.serializeBinary=u(f$c);var s4=function(a){r.call(this,a)};V(s4,r);s4.prototype.getOwnersList=function(){return yg(this,r4,2)};s4.repeatedFields_=[2];s4.prototype.toObject=function(){return g$c(this)};var g$c=function(a){if(null!=a)return t(a),{creator:e$c(W(a,r4,1)),ownersList:Mb(a.getOwnersList(),e$c)}},h$c=[s4,1,X,f$c,2,Iq,f$c];s4.prototype.serializeBinary=u(h$c);var Io=function(a){r.call(this,a)};V(Io,r);Io.prototype.getIdCase=function(){return rh(this,Okb)};var Okb=[1];Io.prototype.toObject=function(){return i$c(this)};var i$c=function(a){if(null!=a)return t(a),{rosterEmail:p(Am(a,1,Okb))}},j$c=[Io,1,Fq,Okb];Io.prototype.serializeBinary=u(j$c);var k$c=function(a){r.call(this,a)};V(k$c,r);k$c.prototype.toObject=function(){return l$c(this)};var l$c=function(a){if(null!=a)return t(a),{endtimeUtc:pr(W(a,ug,1))}},m$c=[k$c,1,X,qr];k$c.prototype.serializeBinary=u(m$c);var t4=function(a){r.call(this,a)};V(t4,r);f=t4.prototype;f.getDisplayInfo=function(){return W(this,g4,1)};f.hasDisplayInfo=function(){return qi(this,g4,1)};f.getMembersList=function(){return yg(this,r4,2)};f.setMembersList=function(a){Th(this,2,a)};f.getGroupId=function(){return m(this,4)};f.setGroupId=function(a){n(this,4,a)};f.hasGroupId=function(){return jj(this,4)};t4.repeatedFields_=[2,6];t4.prototype.toObject=function(){return n$c(this)};
var n$c=function(a){if(null!=a)return t(a),{displayInfo:E9c(a.getDisplayInfo()),membersList:Mb(a.getMembersList(),e$c),fullGroupSize:p(Cb(a,3)),groupId:p(m(a,4)),groupType:p(m(a,5)),groupAlternateIdList:Mb(yg(a,Io,6),i$c),groupEndtime:l$c(W(a,k$c,7)),groupAdministration:g$c(W(a,s4,8))}},o$c=[t4,1,X,F9c,2,Iq,f$c,3,wq,4,Cq,5,Cq,6,Iq,j$c,7,X,m$c,8,X,h$c];t4.prototype.serializeBinary=u(o$c);var u4=function(a){r.call(this,a)};V(u4,r);u4.prototype.getPerson=function(){return Fi(this,r4,1,v4)};u4.prototype.getGroup=function(){return Fi(this,t4,2,v4)};u4.prototype.setGroup=function(a){sm(this,2,v4,a)};var v4=[1,2,3];u4.prototype.toObject=function(){return p$c(this)};var p$c=function(a){if(null!=a)return t(a),{person:e$c(a.getPerson()),group:n$c(a.getGroup()),contactLabel:a$c(Fi(a,p4,3,v4))}},q$c=[u4,1,Jq,f$c,v4,2,Jq,o$c,v4,3,Jq,b$c,v4];u4.prototype.serializeBinary=u(q$c);var Fo=function(a){r.call(this,a)};V(Fo,r);f=Fo.prototype;f.getIdCase=function(){return rh(this,w4)};f.getEmail=function(){return Am(this,1,w4)};f.getEmail_legacyNullable=function(){return Am(this,1,w4)};f.setEmail=function(a){return mm(this,1,w4,a)};f.hasEmail=function(){return null!=Am(this,1,w4)};f.getPhone=function(){return Am(this,2,w4)};f.getPhone_legacyNullable=function(){return Am(this,2,w4)};f.setPhone=function(a){return mm(this,2,w4,a)};f.hasPhone=function(){return null!=Am(this,2,w4)};
f.getProfileId=function(){return Am(this,3,w4)};f.getProfileId_legacyNullable=function(){return Am(this,3,w4)};f.setProfileId=function(a){return mm(this,3,w4,a)};f.hasProfileId=function(){return null!=Am(this,3,w4)};var w4=[1,2,3];Fo.prototype.toObject=function(){return r$c(this)};var r$c=function(a){if(null!=a)return t(a),{email:p(Am(a,1,w4)),phone:p(Am(a,2,w4)),profileId:p(Am(a,3,w4))}},s$c=[Fo,1,Fq,w4,2,Fq,w4,3,Fq,w4];Fo.prototype.serializeBinary=u(s$c);var t$c=function(a){r.call(this,a)};V(t$c,r);t$c.prototype.toObject=function(){return u$c(this)};var u$c=function(a){if(null!=a)return t(a),{featureType:Fh(a,1,0),weight:Xh(a,2,0),exponent:Xh(a,3,1)}},v$c=[t$c,1,Nq,2,iq,3,iq];t$c.prototype.serializeBinary=u(v$c);var x4=function(a){r.call(this,a)};V(x4,r);f=x4.prototype;f.getAffinityVersion=function(){return Cb(this,1)};f.setAffinityVersion=function(a){n(this,1,a)};f.getAffinityVersionOrUndefined=function(){return cq(this,1)};f.getAffinityType=function(){return m(this,4)};f.setAffinityType=function(a){return n(this,4,a)};x4.repeatedFields_=[3];x4.prototype.toObject=function(){return w$c(this)};
var w$c=function(a){if(null!=a)return t(a),{affinityVersion:p(Cb(a,1)),affinityThreshold:p(yb(a,2)),featureList:Mb(yg(a,t$c,3),u$c),affinityType:p(m(a,4))}},x$c=[x4,1,wq,2,iq,3,Iq,v$c,4,Cq];x4.prototype.serializeBinary=u(x$c);var y4=function(a){r.call(this,a)};V(y4,r);var y$c=Sb(y4);y4.repeatedFields_=[1];y4.prototype.toObject=function(){return z$c(this)};var z$c=function(a){if(null!=a)return t(a),{resultsList:Mb(yg(a,u4,1),p$c),affinityResponseContext:w$c(W(a,x4,2))}},A$c=[y4,1,Iq,q$c,2,X,x$c];y4.prototype.serializeBinary=u(A$c);var z4=function(a){r.call(this,a)};V(z4,r);z4.prototype.getId=function(){return W(this,Fo,1)};z4.prototype.setId=function(a){return Oh(this,Fo,1,a)};var A4=[2,3];z4.prototype.toObject=function(){return B$c(this)};var B$c=function(a){if(null!=a)return t(a),{id:r$c(a.getId()),autocompletion:p$c(Fi(a,u4,2,A4)),failureType:p(Up(a,ym(a,A4,3)))}},C$c=[z4,1,X,s$c,2,Jq,q$c,A4,3,Rq,A4];z4.prototype.serializeBinary=u(C$c);var B4=function(a){r.call(this,a)};V(B4,r);var D$c=Sb(B4);B4.repeatedFields_=[1];B4.prototype.toObject=function(){if(null!=this){t(this);var a={matchesList:Mb(yg(this,z4,1),B$c)}}else a=void 0;return a};B4.prototype.serializeBinary=u([B4,1,Iq,C$c]);var E$c=function(a){this.leanResponseProcessorConfig_=a},F$c=function(a,b,c,d){d=void 0===d?!1:d;for(var e=[],g=wkb(b),h=[],l=k(yg(b,o4,1)),q=l.next();!q.done;q=l.next()){q=q.value;var v=mkb(q);if(v.equals(xo)){if(!a.leanResponseProcessorConfig_.allowEmptyTargets&&!d)continue;var y=tkb(q);if(!y)continue;v=Xjb(y)}h.push(String(v));var B=y=void 0;v={id:v,containerIds:nkb(q),coalescedKeys:h,isMe:!!q.getIsSelf(),dataSource:okb(b,q),provenance:c,isPrimary:rkb(null!=(y=q.getDisplayInfo())?y:null),itemAffinity:qkb(b),
fieldAffinity:pkb(null!=(B=q.getDisplayInfo())?B:null),contactMethod:q,person:b};g&&(v.resultExtendedData=g);if(q=ykb(q))v.targetExtendedData=q;e.push(v)}e.length&&e.every(function(I){return!I.isPrimary})&&(e[0].isPrimary=!0);return e},G$c=function(a,b,c){var d=Ujb(jkb(m(b,5)),b.getGroupId()||""),e=b.getMembersList().map(function(q){return F$c(a,q,8,!0)}),g=e.filter(function(q){return q&&q.length}).map(function(q){return String(q[0].id)}),h,l;d=[{id:d,containerIds:[d],memberKeys:g,totalMemberCount:null!=
(h=cq(b,3))?h:void 0,provenance:c,isPrimary:!0,itemAffinity:pkb(null!=(l=b.getDisplayInfo())?l:null),fieldAffinity:-Infinity,group:b}];b=k(e);for(c=b.next();!c.done;c=b.next())d.push.apply(d,Jc(c.value));return d},H$c=function(a,b){var c=OGc(a.getLabelId()||""),d=a.getMembersList().map(function(h){if(h.hasEmail()&&h.getEmail().getValue()){var l,q;var v={id:so(h.getEmail().getValue()),containerIds:nkb(h),contactMethod:h,provenance:8,isMe:!1,dataSource:1,isPrimary:rkb(null!=(l=h.getDisplayInfo())?l:
null),itemAffinity:-Infinity,fieldAffinity:pkb(null!=(q=h.getDisplayInfo())?q:null)};if(h=ykb(h))v.targetExtendedData=h}else v=null;return v}).filter(Boolean),e=d.map(function(h){return String(h.id)}),g;return[{id:c,containerIds:[c],memberKeys:e,totalMemberCount:d.length,provenance:b,dataSource:1,isPrimary:!0,itemAffinity:pkb(null!=(g=a.getDisplayInfo())?g:null),fieldAffinity:-Infinity,isMe:!1,contactLabel:a}].concat(Jc(d))},I$c=function(a,b,c){switch(rh(b,v4)){case 1:return F$c(a,b.getPerson(),c);
case 2:return G$c(a,b.getGroup(),c);case 3:return H$c(Fi(b,p4,3,v4),c);default:return[]}},J$c=function(a,b,c){return yg(b,u4,1).flatMap(function(d){return I$c(a,d,c)})};var Bkb=new Map([[0,1],[1,2],[2,3],[3,4]]);var C4=function(a){r.call(this,a)};V(C4,r);f=C4.prototype;f.getLabel=function(){return m(this,1)};f.setLabel=function(a){return n(this,1,a)};f.hasLabel=function(){return Vh(this,1)};f.getItemCount=function(){return Cb(this,2)};f.setItemCount=function(a){return n(this,2,a)};f.hasItemCount=function(){return qj(this,2)};f.getLookupInfo=function(){return W(this,Do,3)};f.setLookupInfo=function(a){return Oh(this,Do,3,a)};f.hasLookupInfo=function(){return qi(this,Do,3)};
f.getQueryLength=function(){return Cb(this,4)};f.setQueryLength=function(a){return n(this,4,a)};f.hasQueryLength=function(){return qj(this,4)};f.getQueryScope=function(){return Fh(this,5,0)};f.setQueryScope=function(a){return n(this,5,a)};f.hasQueryScope=function(){return Vh(this,5)};f.toObject=function(){return K$c(this)};
var K$c=function(a){if(null!=a)return t(a),{label:p(m(a,1)),itemCount:p(Cb(a,2)),lookupInfo:l8c(a.getLookupInfo()),queryLength:p(Cb(a,4)),queryScope:Fh(a,5,0)}},L$c=[C4,1,Nq,2,wq,3,X,m8c,4,wq,5,Nq];C4.prototype.serializeBinary=u(L$c);var M$c=function(a){r.call(this,a)};V(M$c,r);M$c.prototype.toObject=function(){return N$c(this)};var N$c=function(a){if(null!=a)return t(a),{cpuPeakUsageFraction:p(yb(a,1)),cpuAverageUsageFraction:p(yb(a,2)),memoryPeakUsageBytes:p(m(a,3)),memoryAverageUsageBytes:p(m(a,4))}},O$c=[M$c,1,lq,2,lq,3,pq,4,pq];M$c.prototype.serializeBinary=u(O$c);var D4=function(a){r.call(this,a)};V(D4,r);f=D4.prototype;f.getLabel=function(){return m(this,1)};f.setLabel=function(a){return n(this,1,a)};f.hasLabel=function(){return Vh(this,1)};f.getStatus=function(){return m(this,2)};f.setStatus=function(a){return n(this,2,a)};f.hasStatus=function(){return Vh(this,2)};f.setLatencyUsec=function(a){n(this,3,a)};f.getResultIndex=function(){return Cb(this,4)};f.setResultIndex=function(a){n(this,4,a)};f.getDataSource=function(){return m(this,7)};
f.setDataSource=function(a){return n(this,7,a)};f.hasDataSource=function(){return Vh(this,7)};f.getItemCount=function(){return Cb(this,8)};f.setItemCount=function(a){return n(this,8,a)};f.hasItemCount=function(){return qj(this,8)};f.getLookupInfo=function(){return W(this,Do,10)};f.setLookupInfo=function(a){return Oh(this,Do,10,a)};f.hasLookupInfo=function(){return qi(this,Do,10)};f.setStatusCode=function(a){n(this,11,a)};f.getQueryLength=function(){return Cb(this,13)};
f.setQueryLength=function(a){return n(this,13,a)};f.hasQueryLength=function(){return qj(this,13)};f.getQueryScope=function(){return Fh(this,14,0)};f.setQueryScope=function(a){return n(this,14,a)};f.hasQueryScope=function(){return Vh(this,14)};f.toObject=function(){return P$c(this)};
var P$c=function(a){if(null!=a)return t(a),{label:p(m(a,1)),status:p(m(a,2)),latencyUsec:p(m(a,3)),resultIndex:p(Cb(a,4)),cacheStatusAtQuery:p(m(a,5)),cacheStatusAtResult:p(m(a,6)),dataSource:p(m(a,7)),itemCount:p(Cb(a,8)),duplicatesRejectedCount:p(Cb(a,12)),resources:N$c(W(a,M$c,9)),lookupInfo:l8c(a.getLookupInfo()),statusCode:Fh(a,11,2),queryLength:p(Cb(a,13)),queryScope:Fh(a,14,0)}},Q$c=[D4,1,Nq,2,Nq,3,pq,4,wq,5,Nq,6,Nq,7,Nq,8,wq,12,wq,9,X,O$c,10,X,m8c,11,Nq,13,wq,14,Nq];
D4.prototype.serializeBinary=u(Q$c);var E4=function(a){r.call(this,a)};V(E4,r);E4.prototype.toObject=function(){return R$c(this)};var R$c=function(a){if(null!=a)return t(a),{topnCacheItemCount:p(Cb(a,1)),iosDeviceCacheItemCount:p(Cb(a,2))}},S$c=[E4,1,wq,2,wq];E4.prototype.serializeBinary=u(S$c);var F4=function(a){r.call(this,a)};V(F4,r);f=F4.prototype;f.getDataSource=function(){return m(this,3)};f.setDataSource=function(a){return n(this,3,a)};f.hasDataSource=function(){return Vh(this,3)};f.getType=function(){return m(this,4)};f.setType=function(a){return n(this,4,a)};f.hasType=function(){return Vh(this,4)};f.getValue=function(){return Wh(this,2,1)};f.setValue=function(a){return n(this,2,a)};f.hasValue=function(){return Aj(this,2)};f.getLabel=function(){return m(this,1)};
f.setLabel=function(a){return n(this,1,a)};f.hasLabel=function(){return jj(this,1)};f.toObject=function(){return T$c(this)};var T$c=function(a){if(null!=a)return t(a),{dataSource:p(m(a,3)),type:p(m(a,4)),value:Wh(a,2,1),label:p(m(a,1))}},U$c=[F4,3,Nq,4,Nq,2,pq,1,Cq];F4.prototype.serializeBinary=u(U$c);var V$c=function(a){r.call(this,a)};V(V$c,r);V$c.prototype.toObject=function(){return W$c(this)};var W$c=function(a){if(null!=a)return t(a),{numberOfContacts:p(m(a,1))}},X$c=[V$c,1,pq];V$c.prototype.serializeBinary=u(X$c);var G4=function(a){r.call(this,a)};V(G4,r);G4.prototype.toObject=function(){return Y$c(this)};var Y$c=function(a){if(null!=a)return t(a),{sqliteStatus:p(Cb(a,1))}},Z$c=[G4,1,wq];G4.prototype.serializeBinary=u(Z$c);var H4=function(a){r.call(this,a)};V(H4,r);H4.prototype.getSqliteErrorInfo=function(){return Fi(this,G4,2,$$c)};var $$c=[2];H4.prototype.toObject=function(){return aad(this)};var aad=function(a){if(null!=a)return t(a),{errorLocation:p(m(a,1)),sqliteErrorInfo:Y$c(a.getSqliteErrorInfo())}},bad=[H4,1,Nq,2,Jq,Z$c,$$c];H4.prototype.serializeBinary=u(bad);var I4=function(a){r.call(this,a)};V(I4,r);I4.prototype.getSqliteErrorInfo=function(){return Fi(this,G4,2,cad)};var cad=[2];I4.prototype.toObject=function(){return dad(this)};var dad=function(a){if(null!=a)return t(a),{errorLocation:p(m(a,1)),sqliteErrorInfo:Y$c(a.getSqliteErrorInfo())}},ead=[I4,1,Nq,2,Jq,Z$c,cad];I4.prototype.serializeBinary=u(ead);var fad=function(a){r.call(this,a)};V(fad,r);fad.prototype.toObject=function(){return gad(this)};var gad=function(a){if(null!=a)return t(a),{errorLocation:p(m(a,1))}},had=[fad,1,Nq];fad.prototype.serializeBinary=u(had);var J4=function(a){r.call(this,a)};V(J4,r);f=J4.prototype;f.setStatusCode=function(a){n(this,5,a)};f.getLabel=function(){return m(this,1)};f.setLabel=function(a){return n(this,1,a)};f.hasLabel=function(){return jj(this,1)};f.getCause=function(){return m(this,2)};f.getType=function(){return m(this,3)};f.setType=function(a){return n(this,3,a)};f.hasType=function(){return Vh(this,3)};var K4=[6,7,8];J4.prototype.toObject=function(){return iad(this)};
var iad=function(a){if(null!=a)return t(a),{statusCode:Fh(a,5,2),iosErrorInfo:dad(Fi(a,I4,6,K4)),androidErrorInfo:aad(Fi(a,H4,7,K4)),webErrorInfo:gad(Fi(a,fad,8,K4)),label:p(m(a,1)),cause:p(m(a,2)),type:p(m(a,3)),causeType:p(m(a,4))}},jad=[J4,5,Nq,6,Jq,ead,K4,7,Jq,bad,K4,8,Jq,had,K4,1,Cq,2,Cq,3,Nq,4,Nq];J4.prototype.serializeBinary=u(jad);var L4=function(a){r.call(this,a)};V(L4,r);f=L4.prototype;f.getType=function(){return m(this,3)};f.setType=function(a){return n(this,3,a)};f.hasType=function(){return Vh(this,3)};f.setLatencyUsec=function(a){n(this,2,a)};f.getLabel=function(){return m(this,1)};f.setLabel=function(a){return n(this,1,a)};f.hasLabel=function(){return jj(this,1)};f.toObject=function(){return kad(this)};
var kad=function(a){if(null!=a)return t(a),{type:p(m(a,3)),latencyUsec:p(m(a,2)),label:p(m(a,1))}},lad=[L4,3,Nq,2,pq,1,Cq];L4.prototype.serializeBinary=u(lad);var M4=function(a){r.call(this,a)};V(M4,r);M4.prototype.getLabel=function(){return m(this,1)};M4.prototype.setLabel=function(a){return n(this,1,a)};M4.prototype.hasLabel=function(){return Vh(this,1)};M4.prototype.toObject=function(){return mad(this)};var mad=function(a){if(null!=a)return t(a),{label:p(m(a,1)),memoryUsedBytes:p(m(a,2)),memoryAverageUsedBytes:p(m(a,3))}},nad=[M4,1,Nq,2,pq,3,pq];M4.prototype.serializeBinary=u(nad);var N4=function(a){r.call(this,a)};V(N4,r);N4.prototype.getLabel=function(){return m(this,1)};N4.prototype.setLabel=function(a){return n(this,1,a)};N4.prototype.hasLabel=function(){return Vh(this,1)};N4.prototype.toObject=function(){return oad(this)};var oad=function(a){if(null!=a)return t(a),{label:p(m(a,1)),requestProtoBytes:p(m(a,2)),requestBytes:p(m(a,3)),networkState:p(m(a,4))}},pad=[N4,1,Nq,2,pq,3,pq,4,Nq];N4.prototype.serializeBinary=u(pad);var O4=function(a){r.call(this,a)};V(O4,r);f=O4.prototype;f.getLabel=function(){return m(this,1)};f.setLabel=function(a){return n(this,1,a)};f.hasLabel=function(){return Vh(this,1)};f.getStatus=function(){return m(this,2)};f.setStatus=function(a){return n(this,2,a)};f.hasStatus=function(){return Vh(this,2)};f.setLatencyUsec=function(a){n(this,3,a)};f.getErrorCode=function(){return m(this,4)};f.hasErrorCode=function(){return Aj(this,4)};f.setStatusCode=function(a){n(this,7,a)};
f.setBlockedUsec=function(a){return n(this,8,a)};f.toObject=function(){return qad(this)};var qad=function(a){if(null!=a)return t(a),{label:p(m(a,1)),status:p(m(a,2)),latencyUsec:p(m(a,3)),errorCode:p(m(a,4)),responseProtoBytes:p(m(a,5)),responseBytes:p(m(a,6)),statusCode:Fh(a,7,2),blockedUsec:p(m(a,8)),processingUsec:p(m(a,9)),networkState:p(m(a,10))}},rad=[O4,1,Nq,2,Nq,3,pq,4,pq,5,pq,6,pq,7,Nq,8,pq,9,pq,10,Nq];O4.prototype.serializeBinary=u(rad);var P4=function(a){r.call(this,a)};V(P4,r);f=P4.prototype;f.getClientInterface=function(){return W(this,YR,1)};f.setClientInterface=function(a){return Oh(this,YR,1,a)};f.getEventType=function(){return m(this,3)};f.getEventType_legacyNullable=function(){return m(this,3)};f.setEventType=function(a){return n(this,3,a)};f.getCacheStatus=function(){return W(this,E4,12)};f.setCacheStatus=function(a){return Oh(this,E4,12,a)};f.getCount=function(){return W(this,F4,4)};
f.setCount=function(a){return Oh(this,F4,4,a)};f.getLatency=function(){return W(this,L4,5)};f.setLatency=function(a){return Oh(this,L4,5,a)};f.getError=function(){return W(this,J4,6)};f.setError=function(a){Oh(this,J4,6,a)};f.hasError=function(){return qi(this,J4,6)};f.getRpcRequest=function(){return W(this,N4,7)};f.setRpcRequest=function(a){return Oh(this,N4,7,a)};f.getRpcResponse=function(){return W(this,O4,8)};f.setRpcResponse=function(a){return Oh(this,O4,8,a)};
f.getApiCall=function(){return W(this,C4,9)};f.setApiCall=function(a){return Oh(this,C4,9,a)};f.getApiResult=function(){return W(this,D4,10)};f.setApiResult=function(a){return Oh(this,D4,10,a)};
f.toObject=function(){if(null!=this){t(this);var a={clientInterface:WEc(this.getClientInterface()),autocompleteSessions:NFc(W(this,lS,2)),eventType:p(m(this,3)),cacheStatus:R$c(this.getCacheStatus()),deviceInfo:W$c(W(this,V$c,13)),count:T$c(this.getCount()),latency:kad(this.getLatency()),error:iad(this.getError()),rpcRequest:oad(this.getRpcRequest()),rpcResponse:qad(this.getRpcResponse()),apiCall:K$c(this.getApiCall()),apiResult:P$c(this.getApiResult()),memory:mad(W(this,M4,11))}}else a=void 0;return a};
f.serializeBinary=u([P4,1,X,XEc,2,X,OFc,3,Nq,12,X,S$c,13,X,X$c,4,X,U$c,5,X,lad,6,X,jad,7,X,pad,8,X,rad,9,X,L$c,10,X,Q$c,11,X,nad]);var sad=function(a){r.call(this,a)};V(sad,r);sad.prototype.toObject=function(){return tad(this)};var tad=function(a){if(null!=a)return t(a),{isDirectClientInteraction:p(Db(a,1))}},uad=[sad,1,zq];sad.prototype.serializeBinary=u(uad);var vad=function(a){r.call(this,a)};V(vad,r);vad.prototype.toObject=function(){return wad(this)};var wad=function(a){if(null!=a)return t(a),{isDeviceDataKnown:p(Db(a,1)),deviceScore:p(yb(a,2))}},xad=[vad,1,zq,2,iq];vad.prototype.serializeBinary=u(xad);var yad=function(a){r.call(this,a)};V(yad,r);yad.prototype.toObject=function(){return zad(this)};var zad=function(a){if(null!=a)return t(a),{cloudDeviceDataInfo:wad(W(a,vad,1)),clientInteractionInfo:tad(W(a,sad,2)),cloudScore:p(yb(a,3))}},Aad=[yad,1,X,xad,2,X,uad,3,iq];yad.prototype.serializeBinary=u(Aad);var Q4=function(a){r.call(this,a)};V(Q4,r);f=Q4.prototype;f.getAffinityType=function(){return m(this,1)};f.setAffinityType=function(a){return n(this,1,a)};f.getValue=function(){return yb(this,2)};f.getValue_legacyNullable=function(){return yb(this,2)};f.setValue=function(a){return n(this,2,Pa(a))};f.hasValue=function(){return null!=yb(this,2)};f.getLoggingId=function(){return m(this,3)};f.setLoggingId=function(a){n(this,3,a)};f.getContainerType=function(){return m(this,4)};f.toObject=function(){return Bad(this)};
var Bad=function(a){if(null!=a)return t(a),{affinityType:p(m(a,1)),value:p(yb(a,2)),loggingId:p(m(a,3)),containerType:p(m(a,4)),containerId:p(m(a,5)),affinityMetadata:zad(W(a,yad,7))}},Cad=[Q4,1,Nq,2,iq,3,Cq,4,Nq,5,Cq,7,X,Aad];Q4.prototype.serializeBinary=u(Cad);var R4=function(a){r.call(this,a)};V(R4,r);R4.prototype.setDevice=function(a){return n(this,1,a)};R4.prototype.toObject=function(){return Dad(this)};var Dad=function(a){if(null!=a)return t(a),{device:p(m(a,1))}},Ead=[R4,1,Nq];R4.prototype.serializeBinary=u(Ead);var Fad=function(a){r.call(this,a)};V(Fad,r);f=Fad.prototype;f.getAffinityType=function(){return m(this,1)};f.setAffinityType=function(a){return n(this,1,a)};f.getQuery=function(){return m(this,2)};f.setQuery=function(a){return n(this,2,a)};f.clearQuery=function(){Qp(this,2)};f.hasQuery=function(){return jj(this,2)};f.getClientInformation=function(){return W(this,R4,3)};f.setClientInformation=function(a){Oh(this,R4,3,a)};f.setMaxResults=function(a){return n(this,4,a)};
f.toObject=function(){if(null!=this){t(this);var a={affinityType:p(m(this,1)),query:p(m(this,2)),clientInformation:Dad(this.getClientInformation()),maxResults:p(Cb(this,4))}}else a=void 0;return a};f.serializeBinary=u([Fad,1,Nq,2,Cq,3,X,Ead,4,wq]);var Gad=new YB("/peoplestack.PeopleStackAutocompleteService/Autocomplete",Fad,y4,function(a){return a.serialize()},y$c);var Had=function(a){r.call(this,a)};V(Had,r);f=Had.prototype;f.getAffinityType=function(){return m(this,1)};f.setAffinityType=function(a){return n(this,1,a)};f.getClientInformation=function(){return W(this,R4,2)};f.setClientInformation=function(a){Oh(this,R4,2,a)};f.getName=function(){return m(this,3)};f.setName=function(a){return n(this,3,a)};f.hasName=function(){return jj(this,3)};f.getNameOrUndefined=function(){return eq(this,3)};
f.toObject=function(){if(null!=this){t(this);var a={affinityType:p(m(this,1)),clientInformation:Dad(this.getClientInformation()),name:p(m(this,3)),product:p(m(this,4)),ttl:Es(W(this,wg,5))}}else a=void 0;return a};f.serializeBinary=u([Had,1,Nq,2,X,Ead,3,Cq,4,Nq,5,X,Fs]);var S4=function(a){r.call(this,a)};V(S4,r);S4.prototype.getGroup=function(){return W(this,t4,1)};S4.prototype.setGroup=function(a){Oh(this,t4,1,a)};var Iad=Sb(S4);S4.prototype.toObject=function(){if(null!=this){t(this);var a={group:n$c(this.getGroup()),tokenSecret:p(m(this,2))}}else a=void 0;return a};S4.prototype.serializeBinary=u([S4,1,X,o$c,2,Cq]);var Jad=new YB("/peoplestack.PeopleStackAutocompleteService/CreateGroup",Had,S4,function(a){return a.serialize()},Iad);var T4=function(a){r.call(this,a)};V(T4,r);f=T4.prototype;f.getAffinityType=function(){return m(this,1)};f.setAffinityType=function(a){return n(this,1,a)};f.getClientInformation=function(){return W(this,R4,2)};f.setClientInformation=function(a){Oh(this,R4,2,a)};f.getIdsList=function(){return yg(this,Fo,3)};f.setIdsList=function(a){Th(this,3,a)};f.setIds=function(a){return Np(this,3,Fo,a)};T4.repeatedFields_=[3];
T4.prototype.toObject=function(){if(null!=this){t(this);var a={affinityType:p(m(this,1)),clientInformation:Dad(this.getClientInformation()),idsList:Mb(this.getIdsList(),r$c)}}else a=void 0;return a};T4.prototype.serializeBinary=u([T4,1,Nq,2,X,Ead,3,Iq,s$c]);var Kad=new YB("/peoplestack.PeopleStackAutocompleteService/Lookup",T4,B4,function(a){return a.serialize()},D$c);var Lad=function(a){r.call(this,a)};V(Lad,r);f=Lad.prototype;f.getAffinityType=function(){return m(this,1)};f.setAffinityType=function(a){return n(this,1,a)};f.getClientInformation=function(){return W(this,R4,2)};f.setClientInformation=function(a){Oh(this,R4,2,a)};f.toObject=function(){if(null!=this){t(this);var a={affinityType:p(m(this,1)),clientInformation:Dad(this.getClientInformation())}}else a=void 0;return a};f.serializeBinary=u([Lad,1,Nq,2,X,Ead]);var U4=function(a){r.call(this,a)};V(U4,r);var Mad=Sb(U4);U4.prototype.toObject=function(){if(null!=this){t(this);var a={}}else a=void 0;return a};U4.prototype.serializeBinary=u([U4]);var Nad=new YB("/peoplestack.PeopleStackAutocompleteService/Warmup",Lad,U4,function(a){return a.serialize()},Mad);var Oad=function(a){var b={unaryInterceptors:[new W1c]};b=b||{};b.format="jspb";this.client_=new pC(b);this.hostname_=void 0==a?a:a.replace(/\/+$/,"")};Oad.prototype.autocomplete=function(a,b){return qC(this.client_,this.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/Autocomplete",a,b||{},Gad)};Oad.prototype.lookup=function(a,b){return qC(this.client_,this.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/Lookup",a,b||{},Kad)};
Oad.prototype.createGroup=function(a,b){return qC(this.client_,this.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/CreateGroup",a,b||{},Jad)};var V4=function(a,b,c,d,e){this.leanResponseProcessor_=a;this.grpcClient_=b;e?a=Akb(e):(a=new Co,zkb(a.setEventType(4),4));this.sourceInfo_=a;this.provenance_=e?2:1;this.trackers_=d;this.query_=e;this.affinity_=Fh(c.getPeopleApi(),5,0);this.searchMaxResults_=Ag(c.getClient(),2,10);this.cacheSize_=c.getClient().getCacheSize()};V4.prototype.getMetric=function(){return new Pad(this.trackers_.metrics_,this.sourceInfo_)};
V4.prototype.send=function(a){var b=new Fad;b.setAffinityType(this.affinity_).setQuery(this.query_).setClientInformation((new R4).setDevice(1));this.query_.length?b.setMaxResults(this.searchMaxResults_):b.setMaxResults(this.cacheSize_);return this.grpcClient_.autocomplete(b,a)};V4.prototype.processResponse=function(a){var b=J$c(this.leanResponseProcessor_,a,this.provenance_),c=new Mo;qi(a,x4,2)&&c.setAffinityVersion(W(a,x4,2).getAffinityVersion());return{data:b,metadata:c}};V4.prototype.close=function(){};var Qad=function(a,b,c,d,e,g){this.leanResponseProcessor_=a;this.grpcClient_=b;a=new Co;zkb(a.setEventType(4),7).setIdType(e);this.sourceInfo_=a;this.provenance_=3;this.keys_=g;this.type_=e;this.trackers_=d;this.affinity_=Fh(c.getPeopleApi(),5,0)};Qad.prototype.getMetric=function(){return new Pad(this.trackers_.metrics_,this.sourceInfo_)};
Qad.prototype.send=function(a){var b=this,c=new T4;c.setAffinityType(this.affinity_).setClientInformation((new R4).setDevice(1));c.setIdsList(this.keys_.map(function(d){return Hkb(b.type_,d)}).filter(function(d){return!!d}));return this.grpcClient_.lookup(c,a)};
Qad.prototype.processResponse=function(a){var b=this.leanResponseProcessor_,c=this.provenance_,d=new Map;a=k(yg(a,z4,1));for(var e=a.next();!e.done;e=a.next())if(e=e.value,Di(e,u4,2,A4)){var g=I$c(b,Fi(e,u4,2,A4),c);switch(e.getId().getIdCase()){case 1:d.set(e.getId().getEmail_legacyNullable(),g);break;case 2:d.set(e.getId().getPhone_legacyNullable(),g);break;case 3:d.set(e.getId().getProfileId_legacyNullable(),g)}}return{data:d,metadata:new Mo}};Qad.prototype.close=function(){};var W4=function(a){r.call(this,a)};V(W4,r);W4.prototype.toObject=function(){return Rad(this)};var Rad=function(a){if(null!=a)return t(a),{leanAutocomplete:z$c(W(a,y4,1))}},Sad=[W4,1,X,A$c];W4.prototype.serializeBinary=u(Sad);var Tad=Lb(342338249,{leanOfflineData:0},W4,Rad);S8c[342338249]=gq(Hq,Sad);R8c[342338249]=Tad;var Uad=function(){};Uad.prototype.write=function(a,b){var c=new W4;b=Oh(c,y4,1,b);Ao(a,Tad,b)};Uad.prototype.read=function(a){return(a=a.getExtension(Tad))?W(a,y4,1):null};var Vad=function(a,b,c){this.grpcClient_=a;this.sourceInfo_=Akb("");this.trackers_=c;this.affinity_=Fh(b.getPeopleApi(),5,0)};Vad.prototype.getMetric=function(){return new Pad(this.trackers_.metrics_,this.sourceInfo_)};Vad.prototype.send=function(a){var b=new Lad;b.setAffinityType(this.affinity_).setClientInformation((new R4).setDevice(1));var c=this.grpcClient_;return qC(c.client_,c.hostname_+"/$rpc/peoplestack.PeopleStackAutocompleteService/Warmup",b,a||{},Nad)};
Vad.prototype.processResponse=function(){return{data:[],metadata:new Mo}};Vad.prototype.close=function(){};var Wad=new rbc;var X4=function(a,b,c){this.delegate_=a;this.runtimeConfig_=b;this.offlineResponse_=c};X4.prototype.send=function(a){var b=this;return Ld(function(c){return b.runtimeConfig_.isOffline_()?c.return(Wad):c.return(b.delegate_.send(a))})};X4.prototype.getMetric=function(){return this.delegate_.getMetric()};X4.prototype.processResponse=function(a){return a===Wad?this.offlineResponse_:this.delegate_.processResponse(a)};X4.prototype.close=function(a){this.delegate_.close(a)};
var Xad={data:[],metadata:xi(new Mo,5,!0).setCode(14)},Yad={data:new Map,metadata:xi(new Mo,5,!0).setCode(14)};xi(new Mo,5,!0).setCode(14);xi(new Mo,5,!0).setCode(14);var Y4=function(a){r.call(this,a)};V(Y4,r);f=Y4.prototype;f.getTimestamp=function(){return Wh(this,1)};f.setTimestamp=function(a){return n(this,1,a)};f.hasTimestamp=function(){return Aj(this,1)};f.getOwner=function(){return mh(this,2)};f.setOwner=function(a){return n(this,2,a)};f.toObject=function(){return Zad(this)};var Zad=function(a){if(null!=a)return t(a),{timestamp:p(m(a,1)),owner:p(m(a,2))}},$ad=[Y4,1,pq,2,Cq];Y4.prototype.serializeBinary=u($ad);var abd=Lb(342656659,{metadata:0},Y4,Zad);S8c[342656659]=gq(Hq,$ad);R8c[342656659]=abd;var Z4=function(a,b,c,d,e){this.delegate_=a;this.offlineStorage_=b;this.offlineDataTransformer_=c;this.owner_=d;this.storageTaskDelayMillis_=e;this.offlineMetadata_=null};Z4.prototype.store_=function(a,b){var c=new Q8c;Ao(c,abd,(new Y4).setTimestamp(b).setOwner(String(this.owner_)));this.offlineDataTransformer_.write(c,a);this.offlineStorage_.store(c)};
var bbd=function(a){var b,c;return Ld(function(d){if(1==d.nextAddress)return Md(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(abd);c=a.offlineMetadata_?QGc(a.offlineMetadata_.getOwner()):xo;return a.owner_.equals(c)?d.return(a.offlineDataTransformer_.read(b)):d.return(null)}Pd(d);return d.return(null)})};
Z4.prototype.send=function(a){var b=this,c,d,e,g,h;return Ld(function(l){switch(l.nextAddress){case 1:return Md(l,2),l.yield(b.delegate_.send(a),4);case 4:c=l.yieldResult;d=Date.now();if(c!==Wad){l.jumpTo(5);break}return l.yield(bbd(b),6);case 6:return e=l.yieldResult,l.return(e||Wad);case 5:return setTimeout(function(){b.store_(c,d)},b.storageTaskDelayMillis_),l.return(c);case 2:return g=Pd(l),l.yield(bbd(b),7);case 7:return(h=l.yieldResult)?l.return(h):l.return(Promise.reject(g))}})};
Z4.prototype.getMetric=function(){return this.delegate_.getMetric()};Z4.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};Z4.prototype.close=function(a){this.delegate_.close(a)};var cbd=function(a,b){this.config_=a;this.trackers_=b;b=this.config_;b={apiKey:b.runtimeConfig_.getApiKey()||(7===b.runtimeConfig_.getPeopleApiEnv()?mh(b.getGapi(),2,""):b.getGapi().getApiKey()),timeoutSec:a.getClient().getRpcTimeoutSec(),authErrorHandler:a.runtimeConfig_.getAuthErrorHandler(),customAuthHeaders:a.runtimeConfig_.customAuthHeaders_};this.dispatcher_=new Y1c(b);b=vOa("peoplestack-pa",a.runtimeConfig_.getPeopleApiEnv());this.grpcPeopleStackClient_=new Oad(b);this.offlineDataTransformer_=
new Uad;a=vi(a.getClient(),22,!1);this.leanResponseProcessor_=new E$c({allowEmptyTargets:a})};f=cbd.prototype;
f.loadRankedItems=function(){var a=new V4(this.leanResponseProcessor_,this.grpcPeopleStackClient_,this.config_,this.trackers_,"");a=new X4(a,this.config_.runtimeConfig_,Xad);var b=this.config_,c=this.offlineDataTransformer_,d=b.runtimeConfig_.offlineStorage_;if(d){var e=b.runtimeConfig_.getUserEmail();e&&(e=so(e),b=Ag(b.getPeopleApi(),14,5E3),a=new Z4(a,d,c,e,b))}return $1c(this.dispatcher_,a)};
f.warmUpServer=function(){var a=new Vad(this.grpcPeopleStackClient_,this.config_,this.trackers_);a=new X4(a,this.config_.runtimeConfig_,Xad);return $1c(this.dispatcher_,a)};f.loadAutocompleteItems=function(a){a=a.getPrefix();a=new V4(this.leanResponseProcessor_,this.grpcPeopleStackClient_,this.config_,this.trackers_,a);a=new X4(a,this.config_.runtimeConfig_,Xad);return $1c(this.dispatcher_,a)};
f.loadLookupItems=function(a,b){a=new Qad(this.leanResponseProcessor_,this.grpcPeopleStackClient_,this.config_,this.trackers_,a,b);a=new X4(a,this.config_.runtimeConfig_,Yad);return $1c(this.dispatcher_,a)};f.loadContactItems=function(){};var Ikb=new Map([[1,1],[2,2]]);var Lkb=new Map([[3,3],[1,2],[2,1]]),dbd=new Map([[2,1],[4,2],[3,3],[1,4]]),ebd=function(a){this.delegate_=a};
ebd.prototype.processItem=function(a){if(a.person||a.contactMethod){switch(a.contactMethod.getValueCase()){case 2:var b=a.contactMethod.getEmail();var c=b.getValue()||"";c=ro(a.id).setValue(c);if(yg(b,h4,2).length||qi(b,i4,3)){var d=1;if(yg(b,h4,2).length){var e=yg(b,h4,2)[0];m(e,1);d=dbd.get(e.getStatus())||d}qi(b,i4,3)&&W(b,i4,3).getSmtpServerSupportsTls();4===(void 0===d?1:d)&&Date.now()}b.hasInternalExternal()&&(b=Jkb(b.getInternalExternal()),c.orgState_=b);Db(a.contactMethod,7)&&(c.resultType_=
2);b=c;break;case 3:b=a.contactMethod.getPhone();b=b.getOriginalValue()||b.getDisplayValue()||m(b,2)||"";b=ro(a.id).setValue(b);break;case 4:b=Fi(a.contactMethod,to,4,uo);b=Nkb(a,b);break;default:b=ro(a.id||xo)}b.setDataSource(a.dataSource||0);a.containerIds&&(b.sourceIds_=a.containerIds||[]);akb(b,!!a.isMe);a.person&&a.person.hasAffinity()&&b.setPersonLoggingId(Kkb(sda(Fb(a.person.getAffinity(),1))||""));a.contactMethod.hasDisplayInfo()&&Mkb(b,a.contactMethod.getDisplayInfo());jj(a.contactMethod,
10)&&fkb(b,[gkb(a.contactMethod.getTypeLabel())]);a.targetExtendedData&&b.setExtendedData(a.targetExtendedData);a.target=b}else a.group?Pkb(a,a.group.getDisplayInfo()):a.contactLabel&&Pkb(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 Pad=function(a,b){this.metrics_=a;this.state_=new jS(b)};f=Pad.prototype;f.start=function(a){this.metrics_.start(this.state_,a)};f.stop=function(a){this.metrics_.stop(this.state_,a)};f.count=function(){this.metrics_.count(this.state_)};f.latency=function(){this.metrics_.latency(this.state_)};f.error=function(){this.metrics_.error(this.state_)};
f.status=function(a,b,c){b=void 0===b?0:b;c=void 0===c?0:c;if(b){var d=this.state_.source();n(d,13,b)}c&&(b=this.state_.source(),n(b,12,c));this.metrics_.status(this.state_,a)};f.logError=function(a,b){this.metrics_.logError(a,b)};var fbd=function(a){this.metrics_=a};fbd.prototype.error=function(a,b){var c=this.metrics_,d=new Co;a=d.setEventType(3).setErrorType(a);n(a,7,b);return new k8c(c,d)};fbd.prototype.latency=function(a){var b=this.metrics_,c=new Co,d=c.setEventType(2);n(d,5,a);return new d2c(b,c)};fbd.prototype.count=function(a){var b=this.metrics_,c=new Co,d=c.setEventType(1);n(d,4,a);return new j8c(b,c)};fbd.prototype.api=function(a){return new i8c(this.metrics_,a)};var gbd=function(a,b){this.ranker_=new c8c(a.getClient());this.loader_=new cbd(a,b);b=z8c;b=void 0===b?z8c:b;this.targetFactory_=new $8c(a,new ebd(b))};var hbd=function(a){r.call(this,a)};V(hbd,r);hbd.prototype.toObject=function(){return ibd(this)};var ibd=function(a){if(null!=a)return t(a),{availabilities:K3c(W(a,Q2,1))}},jbd=[hbd,1,X,L3c];hbd.prototype.serializeBinary=u(jbd);var kbd=function(a){r.call(this,a)};V(kbd,r);kbd.prototype.toObject=function(){return lbd(this)};var lbd=function(a){if(null!=a)return t(a),{nicknameOption:p(m(a,1))}},mbd=[kbd,1,Nq];kbd.prototype.serializeBinary=u(mbd);var nbd=function(a){r.call(this,a)};V(nbd,r);nbd.prototype.toObject=function(){return obd(this)};var obd=function(a){if(null!=a)return t(a),{redDiff:p(yb(a,1)),greenDiff:p(yb(a,2)),blueDiff:p(yb(a,3))}},pbd=[nbd,1,lq,2,lq,3,lq];nbd.prototype.serializeBinary=u(pbd);var qbd=function(a){r.call(this,a)};V(qbd,r);qbd.prototype.toObject=function(){return rbd(this)};var rbd=function(a){if(null!=a)return t(a),{diffData:obd(W(a,nbd,1)),lowResUrl:p(m(a,2)),highResUrl:p(m(a,3)),monogramUrl:p(m(a,7)),privateLowResAcl:p(Db(a,4)),lowResData:Qb(Fb(a,5)),inconsistentPhoto:p(Db(a,6))}},sbd=[qbd,1,X,pbd,2,Cq,3,Cq,7,Cq,4,zq,5,Kq,6,zq];qbd.prototype.serializeBinary=u(sbd);var a5=function(a){r.call(this,a)};V(a5,r);a5.repeatedFields_=[1];a5.prototype.toObject=function(){return tbd(this)};var tbd=function(a){if(null!=a)return t(a),{lockedFieldList:p(Cg(a,1))}},ubd=[a5,1,Dq];a5.prototype.serializeBinary=u(ubd);var vbd=function(a){r.call(this,a)};V(vbd,r);vbd.prototype.toObject=function(){return wbd(this)};var wbd=function(a){if(null!=a)return t(a),{quotaEnforcementStatus:p(m(a,5)),nameLastModified:p(m(a,1)),nameChangesRemaining:p(Cb(a,2)),computedNameChangesRemaining:p(Cb(a,6)),nicknameLastModified:p(m(a,3)),nicknameChangesRemaining:p(Cb(a,4)),computedNicknameChangesRemaining:p(Cb(a,7))}},xbd=[vbd,5,Nq,1,pq,2,wq,6,wq,3,pq,4,wq,7,wq];vbd.prototype.serializeBinary=u(xbd);var ybd=function(a){r.call(this,a)};V(ybd,r);ybd.prototype.toObject=function(){return zbd(this)};var zbd=function(a){if(null!=a)return t(a),{profileNameModificationHistory:wbd(W(a,vbd,1)),nameDisplayOptions:lbd(W(a,kbd,2)),profileEditability:tbd(W(a,a5,3)),photosCompareData:rbd(W(a,qbd,4))}},Abd=[ybd,1,X,xbd,2,X,mbd,3,X,ubd,4,X,sbd];ybd.prototype.serializeBinary=u(Abd);var b5=function(a){r.call(this,a)};V(b5,r);b5.prototype.getSourceType=function(){return m(this,1)};b5.prototype.setSourceType=function(a){return n(this,1,a)};b5.prototype.toObject=function(){return Bbd(this)};var Bbd=function(a){if(null!=a)return t(a),{sourceType:p(m(a,1))}},Cbd=[b5,1,Nq];b5.prototype.serializeBinary=u(Cbd);var Dbd=function(a){r.call(this,a)};V(Dbd,r);Dbd.prototype.toObject=function(){return Ebd(this)};var Ebd=function(a){if(null!=a)return t(a),{callerIdSource:Bbd(W(a,b5,1))}},Fbd=[Dbd,1,X,Cbd];Dbd.prototype.serializeBinary=u(Fbd);var c5=function(a){r.call(this,a)};V(c5,r);c5.prototype.toObject=function(){return Gbd(this)};var Gbd=function(a){if(null!=a)return t(a),{failureType:p(m(a,1))}},Hbd=[c5,1,Nq];c5.prototype.serializeBinary=u(Hbd);var d5=function(a){r.call(this,a)};V(d5,r);d5.prototype.getFailure=function(){return W(this,c5,3)};d5.prototype.toObject=function(){return Ibd(this)};var Ibd=function(a){if(null!=a)return t(a),{maskedNumber:p(m(a,1)),internationalNumber:p(m(a,2)),failure:Gbd(a.getFailure())}},Jbd=[d5,1,Cq,2,Cq,3,X,Hbd];d5.prototype.serializeBinary=u(Jbd);var Kbd=function(a){r.call(this,a)};V(Kbd,r);Kbd.prototype.toObject=function(){return Lbd(this)};var Lbd=function(a){if(null!=a)return t(a),{contentRestriction:p(m(a,1)),isEnterpriseUser:p(Db(a,2))}},Mbd=[Kbd,1,Nq,2,zq];Kbd.prototype.serializeBinary=u(Mbd);var Nbd=function(a){r.call(this,a)};V(Nbd,r);Nbd.prototype.toObject=function(){return Obd(this)};var Obd=function(a){if(null!=a)return t(a),{isPinned:p(Db(a,1)),isFavorite:p(Db(a,2)),isDismissed:p(Db(a,3)),hadPastHangoutState:p(m(a,5)),invitationStatus:p(m(a,6)),userType:p(m(a,7)),isBot:p(Db(a,8))}},Pbd=[Nbd,1,zq,2,zq,3,zq,5,Nq,6,Nq,7,Nq,8,zq];Nbd.prototype.serializeBinary=u(Pbd);var e5=function(a){r.call(this,a)};V(e5,r);e5.prototype.getFailure=function(){return W(this,c5,6)};e5.repeatedFields_=[4];e5.prototype.toObject=function(){return Qbd(this)};var Qbd=function(a){if(null!=a)return t(a),{profilePhotoUrl:p(m(a,1)),userCaption:p(m(a,2)),numContributions:p(m(a,3)),topicExpertiseList:p(Cg(a,4)),tagline:p(m(a,5)),failure:Gbd(a.getFailure()),followeeCount:p(m(a,7)),followerCount:p(Cb(a,8))}},Rbd=[e5,1,Cq,2,Cq,3,pq,4,Dq,5,Cq,6,X,Hbd,7,pq,8,wq];e5.prototype.serializeBinary=u(Rbd);var Sbd=function(a){r.call(this,a)};V(Sbd,r);Sbd.prototype.toObject=function(){return Tbd(this)};var Tbd=function(a){if(null!=a)return t(a),{achievementName:p(m(a,1)),achievementUnlockedIconUrl:p(m(a,2)),rarityPercentage:p(yb(a,3))}},Ubd=[Sbd,1,Cq,2,Cq,3,lq];Sbd.prototype.serializeBinary=u(Ubd);var f5=function(a){r.call(this,a)};V(f5,r);f5.prototype.getFailure=function(){return W(this,c5,8)};f5.repeatedFields_=[5];f5.prototype.toObject=function(){return Vbd(this)};var Vbd=function(a){if(null!=a)return t(a),{gamerTag:p(m(a,1)),avatarImageUrl:p(m(a,2)),totalUnlockedAchievements:p(m(a,3)),playerLevel:p(Cb(a,4)),achievementsList:Mb(yg(a,Sbd,5),Tbd),profileVisibility:p(m(a,6)),totalFriendsCount:p(m(a,7)),failure:Gbd(a.getFailure())}},Wbd=[f5,1,Cq,2,Cq,3,pq,4,wq,5,Iq,Ubd,6,Nq,7,pq,8,X,Hbd];
f5.prototype.serializeBinary=u(Wbd);var Xbd=function(a){r.call(this,a)};V(Xbd,r);Xbd.prototype.toObject=function(){return Ybd(this)};var Ybd=function(a){if(null!=a)return t(a),{isIncomplete:p(Db(a,1))}},Zbd=[Xbd,1,zq];Xbd.prototype.serializeBinary=u(Zbd);var $bd=function(a){r.call(this,a)};V($bd,r);f=$bd.prototype;f.getDescription=function(){return m(this,3)};f.setDescription=function(a){return n(this,3,a)};f.hasDescription=function(){return jj(this,3)};f.getTitle=function(){return m(this,9)};f.setTitle=function(a){return n(this,9,a)};f.toObject=function(){return acd(this)};
var acd=function(a){if(null!=a)return t(a),{channelId:p(m(a,1)),subscriberCount:p(m(a,2)),description:p(m(a,3)),videoCount:p(m(a,4)),playlistCount:p(m(a,5)),commentCount:p(m(a,6)),profileUrl:p(m(a,7)),usesYoutubeNames:p(Db(a,8)),title:p(m(a,9)),profilePictureUrl:p(m(a,10))}},bcd=[$bd,1,Cq,2,pq,3,Cq,4,pq,5,pq,6,mq,7,Cq,8,zq,9,Cq,10,Cq];$bd.prototype.serializeBinary=u(bcd);var g5=function(a){r.call(this,a)};V(g5,r);g5.prototype.getFailure=function(){return W(this,c5,5)};g5.repeatedFields_=[4];g5.prototype.toObject=function(){return ccd(this)};var ccd=function(a){if(null!=a)return t(a),{channelDataList:Mb(yg(a,$bd,4),acd),failure:Gbd(a.getFailure())}},dcd=[g5,4,Iq,bcd,5,X,Hbd];g5.prototype.serializeBinary=u(dcd);var h5=function(a){r.call(this,a)};V(h5,r);f=h5.prototype;f.getDynamiteExtendedData=function(){return W(this,a4,5)};f.getIsPlaceholder=function(){return Db(this,6)};f.setIsPlaceholder=function(a){xi(this,6,a)};f.getPaisaExtendedData=function(){return W(this,b4,11)};f.getPeopleStackExtendedData=function(){return W(this,q4,16)};f.getPeopleStackPersonExtendedData=function(){return W(this,T2,18)};h5.repeatedFields_=[1];h5.prototype.toObject=function(){return ecd(this)};
var ecd=function(a){if(null!=a)return t(a),{domainNameList:p(Cg(a,1)),hangoutsExtendedData:Obd(W(a,Nbd,2)),aboutMeExtendedData:zbd(W(a,ybd,3)),tlsIsPlaceholder:p(Db(a,4)),dynamiteExtendedData:a9c(a.getDynamiteExtendedData()),isPlaceholder:p(Db(a,6)),contactsExtendedData:Ybd(W(a,Xbd,7)),gplusExtendedData:Lbd(W(a,Kbd,8)),callerIdExtendedData:Ebd(W(a,Dbd,9)),appsWaldoExtendedData:ibd(W(a,hbd,10)),paisaExtendedData:c9c(a.getPaisaExtendedData()),playGamesExtendedData:Vbd(W(a,f5,12)),mapsExtendedData:Qbd(W(a,
e5,13)),youtubeExtendedData:ccd(W(a,g5,15)),peopleStackExtendedData:c$c(a.getPeopleStackExtendedData()),peopleStackPersonExtendedData:p4c(a.getPeopleStackPersonExtendedData()),gpayExtendedData:Ibd(W(a,d5,17))}},fcd=[h5,1,Dq,2,X,Pbd,3,X,Abd,4,zq,5,X,b9c,6,zq,7,X,Zbd,8,X,Mbd,9,X,Fbd,10,X,jbd,11,X,d9c,12,X,Wbd,13,X,Rbd,15,X,dcd,16,X,d$c,18,X,q4c,17,X,Jbd];h5.prototype.serializeBinary=u(fcd);var i5=function(a){r.call(this,a)};V(i5,r);i5.prototype.getContainerType=function(){return m(this,2)};i5.prototype.toObject=function(){return gcd(this)};var gcd=function(a){if(null!=a)return t(a),{containerId:p(m(a,1)),containerType:p(m(a,2)),materialized:p(Db(a,3))}},hcd=[i5,1,Cq,2,Nq,3,zq];i5.prototype.serializeBinary=u(hcd);var j5=function(a){r.call(this,a)};V(j5,r);j5.prototype.getDisplayName=function(){return m(this,3)};j5.prototype.setDisplayName=function(a){return n(this,3,a)};j5.prototype.toObject=function(){return icd(this)};var icd=function(a){if(null!=a)return t(a),{circleId:p(m(a,1)),circleSet:p(m(a,2)),displayName:p(m(a,3))}},jcd=[j5,1,Cq,2,Nq,3,Cq];j5.prototype.serializeBinary=u(jcd);var k5=function(a){r.call(this,a)};V(k5,r);k5.prototype.getDisplayName=function(){return m(this,2)};k5.prototype.setDisplayName=function(a){return n(this,2,a)};k5.prototype.toObject=function(){return kcd(this)};var kcd=function(a){if(null!=a)return t(a),{contactGroupId:p(m(a,1)),displayName:p(m(a,2))}},lcd=[k5,1,Cq,2,Cq];k5.prototype.serializeBinary=u(lcd);var l5=function(a){r.call(this,a)};V(l5,r);l5.prototype.getCircle=function(){return W(this,j5,1)};l5.prototype.toObject=function(){return mcd(this)};var mcd=function(a){if(null!=a)return t(a),{circle:icd(a.getCircle()),contactGroup:kcd(W(a,k5,2))}},ncd=[l5,1,X,jcd,2,X,lcd];l5.prototype.serializeBinary=u(ncd);var m5=function(a){r.call(this,a)};V(m5,r);m5.prototype.getDisplayName=function(){return m(this,2)};m5.prototype.setDisplayName=function(a){return n(this,2,a)};m5.prototype.getPhotoUrl=function(){return m(this,3)};m5.prototype.toObject=function(){return ocd(this)};var ocd=function(a){if(null!=a)return t(a),{personId:p(m(a,1)),displayName:p(m(a,2)),photoUrl:p(m(a,3))}},pcd=[m5,1,Cq,2,Cq,3,Cq];m5.prototype.serializeBinary=u(pcd);var n5=function(a){r.call(this,a)};V(n5,r);n5.prototype.getPerson=function(){return W(this,m5,2)};n5.prototype.getMembership=function(){return W(this,l5,4)};n5.prototype.toObject=function(){return qcd(this)};var qcd=function(a){if(null!=a)return t(a),{allUsers:p(Db(a,1)),person:ocd(a.getPerson()),domainUsers:p(Db(a,3)),membership:mcd(a.getMembership())}},rcd=[n5,1,zq,2,X,pcd,3,zq,4,X,ncd];n5.prototype.serializeBinary=u(rcd);var o5=function(a){r.call(this,a)};V(o5,r);o5.prototype.getScope=function(){return W(this,n5,2)};o5.prototype.toObject=function(){return scd(this)};var scd=function(a){if(null!=a)return t(a),{role:p(m(a,1)),scope:qcd(a.getScope())}},tcd=[o5,1,Nq,2,X,rcd];o5.prototype.serializeBinary=u(tcd);var p5=function(a){r.call(this,a)};V(p5,r);p5.repeatedFields_=[1,2,3];p5.prototype.toObject=function(){return ucd(this)};var ucd=function(a){if(null!=a)return t(a),{aclEntryList:Mb(yg(a,o5,1),scd),predefinedAclEntryList:p(Gj(a,2)),authorizedViewersList:p(Gj(a,3))}},vcd=[p5,1,Iq,tcd,2,Oq,3,Oq];p5.prototype.serializeBinary=u(vcd);var q5=function(a){r.call(this,a)};V(q5,r);q5.prototype.getContainerType=function(){return m(this,15)};q5.prototype.getPrimary=function(){return Db(this,3)};q5.prototype.getVisibility=function(){return Fh(this,6,1)};q5.prototype.getAffinityList=function(){return yg(this,Q4,10)};q5.repeatedFields_=[13,10];q5.prototype.toObject=function(){return r5(this)};
var r5=function(a){if(null!=a)return t(a),{writeable:vi(a,1,!1),containerType:p(m(a,15)),containerId:p(m(a,8)),encodedContainerId:p(m(a,9)),primary:p(Db(a,3)),edgeKeyInfoList:Mb(yg(a,i5,13),gcd),visibility:Fh(a,6,1),verified:vi(a,7,!1),affinityList:Mb(a.getAffinityList(),Bad),fieldAcl:ucd(W(a,p5,11)),containerPrimary:p(Db(a,12))}},s5=[q5,1,zq,15,Nq,8,mq,9,Cq,3,zq,13,Iq,hcd,6,Nq,7,zq,10,Iq,Cad,11,X,vcd,12,zq];q5.prototype.serializeBinary=u(s5);var t5=function(a){r.call(this,a)};V(t5,r);t5.prototype.getMetadata=function(){return W(this,q5,6)};t5.prototype.setMetadata=function(a){Oh(this,q5,6,a)};t5.prototype.toObject=function(){return wcd(this)};var wcd=function(a){if(null!=a)return t(a),{metadata:r5(a.getMetadata()),imageUrl:p(m(a,1)),imageId:p(m(a,2)),imageHeight:p(Cb(a,3)),imageWidth:p(Cb(a,4)),isDefault:p(Db(a,5)),isAnimated:p(Db(a,7))}},xcd=[t5,6,X,s5,1,Cq,2,Cq,3,wq,4,wq,5,zq,7,zq];t5.prototype.serializeBinary=u(xcd);var u5=function(a){r.call(this,a)};V(u5,r);f=u5.prototype;f.getSmtpServerSupportsTls=function(){Db(this,1)};f.getInternalExternal=function(){return W(this,j4,3)};f.hasInternalExternal=function(){return qi(this,j4,3)};f.getIsPlaceholder=function(){return Db(this,4)};f.setIsPlaceholder=function(a){xi(this,4,a)};f.toObject=function(){return ycd(this)};
var ycd=function(a){if(null!=a)return t(a),{smtpServerSupportsTls:p(Db(a,1)),usesConfusingCharacters:p(Db(a,2)),internalExternal:M9c(a.getInternalExternal()),isPlaceholder:p(Db(a,4))}},zcd=[u5,1,zq,2,zq,3,X,N9c,4,zq];u5.prototype.serializeBinary=u(zcd);var v5=function(a){r.call(this,a)};V(v5,r);v5.prototype.setStatusCode=function(a){n(this,2,a)};v5.prototype.toObject=function(){return Acd(this)};var Acd=function(a){if(null!=a)return t(a),{notAfterSec:p(m(a,1)),statusCode:p(m(a,2))}},Bcd=[v5,1,mq,2,Nq];v5.prototype.serializeBinary=u(Bcd);var Ccd=function(a){r.call(this,a)};V(Ccd,r);f=Ccd.prototype;f.getMetadata=function(){return W(this,q5,1)};f.setMetadata=function(a){Oh(this,q5,1,a)};f.getStatus=function(){return W(this,v5,2)};f.setStatus=function(a){return Oh(this,v5,2,a)};f.hasStatus=function(){return qi(this,v5,2)};f.toObject=function(){return Dcd(this)};var Dcd=function(a){if(null!=a)return t(a),{metadata:r5(a.getMetadata()),status:Acd(a.getStatus()),configurationName:p(m(a,3))}},Ecd=[Ccd,1,X,s5,2,X,Bcd,3,Cq];
Ccd.prototype.serializeBinary=u(Ecd);var w5=function(a){r.call(this,a)};V(w5,r);w5.prototype.getType=function(){return m(this,1)};w5.prototype.setType=function(a){return n(this,1,a)};w5.prototype.hasType=function(){return Vh(this,1)};w5.prototype.toObject=function(){return Fcd(this)};var Fcd=function(a){if(null!=a)return t(a),{type:p(m(a,1)),contactGroupId:p(m(a,2))}},Gcd=[w5,1,Nq,2,Cq];w5.prototype.serializeBinary=u(Gcd);var x5=function(a){r.call(this,a)};V(x5,r);x5.prototype.getPrimary=function(){return Db(this,1)};x5.prototype.toObject=function(){return Hcd(this)};var Hcd=function(a){if(null!=a)return t(a),{primary:p(Db(a,1))}},Icd=[x5,1,zq];x5.prototype.serializeBinary=u(Icd);var y5=function(a){r.call(this,a)};V(y5,r);f=y5.prototype;f.getMetadata=function(){return W(this,q5,1)};f.setMetadata=function(a){Oh(this,q5,1,a)};f.getValue=function(){return m(this,2)};f.getValue_legacyNullable=function(){return m(this,2)};f.setValue=function(a){return n(this,2,a)};f.hasValue=function(){return jj(this,2)};f.getType=function(){return m(this,3)};f.setType=function(a){return n(this,3,a)};f.hasType=function(){return jj(this,3)};f.getDisplayName=function(){return m(this,6)};
f.setDisplayName=function(a){return n(this,6,a)};f.getExtendedData=function(){return W(this,u5,8)};f.setExtendedData=function(a){Oh(this,u5,8,a)};f.hasExtendedData=function(){return qi(this,u5,8)};y5.repeatedFields_=[5,7];y5.prototype.toObject=function(){return Jcd(this)};
var Jcd=function(a){if(null!=a)return t(a),{metadata:r5(a.getMetadata()),value:p(m(a,2)),type:p(m(a,3)),formattedType:p(m(a,4)),displayName:p(m(a,6)),contactGroupPreferenceList:Mb(yg(a,w5,5),Fcd),certificateList:Mb(yg(a,Ccd,7),Dcd),extendedData:ycd(a.getExtendedData()),classification:p(m(a,9)),signupEmailMetadata:Hcd(W(a,x5,10))}},Kcd=[y5,1,X,s5,2,Cq,3,Cq,4,Cq,6,Cq,5,Iq,Gcd,7,Iq,Ecd,8,X,zcd,9,Nq,10,X,Icd];y5.prototype.serializeBinary=u(Kcd);var Lcd=function(a){r.call(this,a)};V(Lcd,r);f=Lcd.prototype;f.getMetadata=function(){return W(this,q5,1)};f.setMetadata=function(a){Oh(this,q5,1,a)};f.getType=function(){return m(this,2)};f.setType=function(a){return n(this,2,a)};f.hasType=function(){return jj(this,2)};f.toObject=function(){return Mcd(this)};
var Mcd=function(a){if(null!=a)return t(a),{metadata:r5(a.getMetadata()),type:p(m(a,2)),formattedType:p(m(a,3)),customType:p(m(a,4)),addressMeAs:p(m(a,5))}},Ncd=[Lcd,1,X,s5,2,Cq,3,Cq,4,Cq,5,Cq];Lcd.prototype.serializeBinary=u(Ncd);var Ocd=function(a){r.call(this,a)};V(Ocd,r);Ocd.prototype.toObject=function(){return Pcd(this)};var Pcd=function(a){if(null!=a)return t(a),{byteValue:Qb(Fb(a,1)),app:p(m(a,2))}},Qcd=[Ocd,1,Kq,2,Nq];Ocd.prototype.serializeBinary=u(Qcd);var z5=function(a){r.call(this,a)};V(z5,r);f=z5.prototype;f.getFieldType=function(){return m(this,1)};f.getFieldType_legacyNullable=function(){return m(this,1)};f.setFieldType=function(a){n(this,1,a)};f.getFieldTypeOrUndefined=function(){return Qo(this,1)};f.getValue=function(){return m(this,3)};f.getValue_legacyNullable=function(){return m(this,3)};f.setValue=function(a){return n(this,3,a)};f.hasValue=function(){return jj(this,3)};f.toObject=function(){return Rcd(this)};
var Rcd=function(a){if(null!=a)return t(a),{fieldType:p(m(a,1)),fieldIndex:p(Cb(a,2)),value:p(m(a,3))}},Scd=[z5,1,Nq,2,wq,3,Cq];z5.prototype.serializeBinary=u(Scd);var A5=function(a){r.call(this,a)};V(A5,r);f=A5.prototype;f.getMetadata=function(){return W(this,q5,1)};f.setMetadata=function(a){Oh(this,q5,1,a)};f.getType=function(){return m(this,3)};f.setType=function(a){return n(this,3,a)};f.hasType=function(){return Vh(this,3)};f.getValue=function(){return m(this,4)};f.getValue_legacyNullable=function(){return m(this,4)};f.setValue=function(a){return n(this,4,a)};f.hasValue=function(){return jj(this,4)};
f.setOriginatingField=function(a){return Np(this,5,z5,a)};A5.repeatedFields_=[2,5,6];A5.prototype.toObject=function(){return Tcd(this)};var Tcd=function(a){if(null!=a)return t(a),{metadata:r5(a.getMetadata()),appList:p(Gj(a,2)),type:p(m(a,3)),value:p(m(a,4)),originatingFieldList:Mb(yg(a,z5,5),Rcd),clientDataList:Mb(yg(a,Ocd,6),Pcd)}},Ucd=[A5,1,X,s5,2,Oq,3,Nq,4,Cq,5,Iq,Scd,6,Iq,Qcd];A5.prototype.serializeBinary=u(Ucd);var Vcd=function(a){r.call(this,a)};V(Vcd,r);f=Vcd.prototype;f.getSource=function(){return Fh(this,1,0)};f.setSource=function(a){return n(this,1,a)};f.hasSource=function(){return Vh(this,1)};f.getSourceOrUndefined=function(){return Qo(this,1)};f.toObject=function(){return Wcd(this)};var Wcd=function(a){if(null!=a)return t(a),{source:p(m(a,1))}},Xcd=[Vcd,1,Nq];Vcd.prototype.serializeBinary=u(Xcd);var B5=function(a){r.call(this,a)};V(B5,r);f=B5.prototype;f.getMetadata=function(){return W(this,q5,1)};f.setMetadata=function(a){Oh(this,q5,1,a)};f.getDisplayName=function(){return m(this,2)};f.setDisplayName=function(a){return n(this,2,a)};f.getGivenName=function(){return m(this,4)};f.setGivenName=function(a){return n(this,4,a)};f.hasGivenName=function(){return jj(this,4)};f.getFamilyName=function(){return m(this,5)};f.setFamilyName=function(a){return n(this,5,a)};
f.hasFamilyName=function(){return jj(this,5)};f.toObject=function(){return Ycd(this)};
var Ycd=function(a){if(null!=a)return t(a),{metadata:r5(a.getMetadata()),displayName:p(m(a,2)),displayNameSource:Wcd(W(a,Vcd,20)),displayNameLastFirst:p(m(a,13)),unstructuredName:p(m(a,16)),givenName:p(m(a,4)),familyName:p(m(a,5)),middleName:p(m(a,6)),honorificPrefix:p(m(a,7)),honorificSuffix:p(m(a,8)),yomiFullName:p(m(a,14)),yomiGivenName:p(m(a,9)),yomiFamilyName:p(m(a,10)),yomiMiddleName:p(m(a,15)),yomiHonorificPrefix:p(m(a,11)),yomiHonorificSuffix:p(m(a,12)),formattedName:p(m(a,3))}},Zcd=[B5,1,
X,s5,2,Cq,20,X,Xcd,13,Cq,16,Cq,4,Cq,5,Cq,6,Cq,7,Cq,8,Cq,14,Cq,9,Cq,10,Cq,15,Cq,11,Cq,12,Cq,3,Cq];B5.prototype.serializeBinary=u(Zcd);var C5=function(a){r.call(this,a)};V(C5,r);C5.prototype.getDisplayName=function(){return m(this,1)};C5.prototype.setDisplayName=function(a){return n(this,1,a)};C5.prototype.getContainerType=function(){return m(this,3)};C5.prototype.toObject=function(){return $cd(this)};var $cd=function(a){if(null!=a)return t(a),{displayName:p(m(a,1)),displayNameLastFirst:p(m(a,2)),containerType:p(m(a,3))}},add=[C5,1,Cq,2,Cq,3,Nq];C5.prototype.serializeBinary=u(add);var bdd=function(a){r.call(this,a)};V(bdd,r);f=bdd.prototype;f.getContainerType=function(){return m(this,6)};f.getId=function(){return m(this,2)};f.setId=function(a){return n(this,2,a)};f.getDeleted=function(){return Db(this,3)};f.setDeleted=function(a){xi(this,3,a)};f.toObject=function(){return cdd(this)};var cdd=function(a){if(null!=a)return t(a),{containerType:p(m(a,6)),id:p(m(a,2)),deleted:p(Db(a,3)),sourceEtag:p(m(a,5))}},ddd=[bdd,6,Nq,2,Cq,3,zq,5,Cq];bdd.prototype.serializeBinary=u(ddd);var D5=function(a){r.call(this,a)};V(D5,r);D5.prototype.getSourceIdsList=function(){return yg(this,bdd,3)};D5.repeatedFields_=[1,2,3];D5.prototype.toObject=function(){return edd(this)};var edd=function(a){if(null!=a)return t(a),{previousPersonIdList:p(Cg(a,1)),originalLookupTokenList:p(Cg(a,2)),sourceIdsList:Mb(a.getSourceIdsList(),cdd)}},fdd=[D5,1,Dq,2,Dq,3,Iq,ddd];D5.prototype.serializeBinary=u(fdd);var E5=function(a){r.call(this,a)};V(E5,r);f=E5.prototype;f.getDeleted=function(){return Db(this,1)};f.setDeleted=function(a){xi(this,1,a)};f.getContactId=function(){return Yp(this,6)};f.setContactId=function(a){$p(this,6,a)};f.getAffinityList=function(){return yg(this,Q4,17)};E5.repeatedFields_=[6,17,8,13];E5.prototype.toObject=function(){return gdd(this)};
var gdd=function(a){if(null!=a)return t(a),{deleted:p(Db(a,1)),contactIdList:p(Bg(a,6)),affinityList:Mb(a.getAffinityList(),Bad),bestDisplayName:$cd(W(a,C5,24)),identityInfo:edd(W(a,D5,22)),circleIdList:p(Cg(a,8)),ownerId:p(m(a,4)),ownerUserTypeList:p(Gj(a,13)),objectType:Fh(a,5,0),inViewerDomain:p(Db(a,12))}},hdd=[E5,1,zq,6,nq,17,Iq,Cad,24,X,add,22,X,fdd,8,Dq,4,Cq,13,Oq,5,Nq,12,zq];E5.prototype.serializeBinary=u(hdd);var F5=function(a){r.call(this,a)};V(F5,r);f=F5.prototype;f.getMetadata=function(){return W(this,q5,1)};f.setMetadata=function(a){Oh(this,q5,1,a)};f.getValue=function(){return m(this,2)};f.getValue_legacyNullable=function(){return m(this,2)};f.setValue=function(a){return n(this,2,a)};f.hasValue=function(){return jj(this,2)};f.getType=function(){return m(this,3)};f.setType=function(a){return n(this,3,a)};f.hasType=function(){return jj(this,3)};f.setUri=function(a){return n(this,7,a)};f.toObject=function(){return idd(this)};
var idd=function(a){if(null!=a)return t(a),{metadata:r5(a.getMetadata()),value:p(m(a,2)),type:p(m(a,3)),formattedType:p(m(a,5)),canonicalizedForm:p(m(a,4)),uri:p(m(a,7))}},jdd=[F5,1,X,s5,2,Cq,3,Cq,5,Cq,4,Cq,7,Cq];F5.prototype.serializeBinary=u(jdd);var G5=function(a){r.call(this,a)};V(G5,r);f=G5.prototype;f.getMetadata=function(){return W(this,q5,1)};f.setMetadata=function(a){Oh(this,q5,1,a)};f.getUrl=function(){return m(this,2)};f.setUrl=function(a){return n(this,2,a)};f.hasUrl=function(){return jj(this,2)};f.toObject=function(){return kdd(this)};var kdd=function(a){if(null!=a)return t(a),{metadata:r5(a.getMetadata()),url:p(m(a,2)),isDefault:p(Db(a,3)),isMonogram:p(Db(a,7)),monogramBackground:p(m(a,8))}},ldd=[G5,1,X,s5,2,Cq,3,zq,7,zq,8,Cq];
G5.prototype.serializeBinary=u(ldd);var H5=function(a){r.call(this,a)};V(H5,r);H5.prototype.getMetadata=function(){return W(this,q5,1)};H5.prototype.setMetadata=function(a){Oh(this,q5,1,a)};H5.repeatedFields_=[22];H5.prototype.toObject=function(){return mdd(this)};var mdd=function(a){if(null!=a)return t(a),{metadata:r5(a.getMetadata()),unjoinedEmailCertificatesList:Mb(yg(a,y5,22),Jcd)}},ndd=[H5,1,X,s5,22,Iq,Kcd];H5.prototype.serializeBinary=u(ndd);var odd=function(a){r.call(this,a)};V(odd,r);odd.prototype.toObject=function(){return pdd(this)};var pdd=function(a){if(null!=a)return t(a),{personId:p(m(a,1)),memberType:p(m(a,2))}},qdd=[odd,1,Cq,2,Nq];odd.prototype.serializeBinary=u(qdd);var rdd=function(a){r.call(this,a)};V(rdd,r);rdd.prototype.toObject=function(){return sdd(this)};var sdd=function(a){if(null!=a)return t(a),{directUserCount:p(m(a,1)),directGroupCount:p(m(a,2))}},tdd=[rdd,1,pq,2,pq];rdd.prototype.serializeBinary=u(tdd);var I5=function(a){r.call(this,a)};V(I5,r);I5.prototype.getMetadata=function(){return W(this,q5,1)};I5.prototype.setMetadata=function(a){Oh(this,q5,1,a)};I5.repeatedFields_=[3];I5.prototype.toObject=function(){return udd(this)};var udd=function(a){if(null!=a)return t(a),{metadata:r5(a.getMetadata()),rosterMemberCount:sdd(W(a,rdd,2)),abridgedRosterMembershipsList:Mb(yg(a,odd,3),pdd)}},vdd=[I5,1,X,s5,2,X,tdd,3,Iq,qdd];I5.prototype.serializeBinary=u(vdd);var wdd=function(a){r.call(this,a)};V(wdd,r);f=wdd.prototype;f.getName=function(){return m(this,1)};f.setName=function(a){return n(this,1,a)};f.hasName=function(){return jj(this,1)};f.getNameOrUndefined=function(){return eq(this,1)};f.toObject=function(){return xdd(this)};var xdd=function(a){if(null!=a)return t(a),{name:p(m(a,1)),interactionRank:p(m(a,2)),lastName:p(m(a,4)),nameRaw:p(m(a,5)),lastNameRaw:p(m(a,6))}},ydd=[wdd,1,Cq,2,Cq,4,Cq,5,Cq,6,Cq];wdd.prototype.serializeBinary=u(ydd);var J5=function(a){r.call(this,a)};V(J5,r);f=J5.prototype;f.getMetadata=function(){return W(this,E5,2)};f.setMetadata=function(a){Oh(this,E5,2,a)};f.setName=function(a){return Np(this,3,B5,a)};f.setPhoto=function(a){Np(this,4,G5,a)};f.getEmailList=function(){return yg(this,y5,10)};f.addEmail=function(a){return um(this,10,y5,a)};f.setEmail=function(a){return Np(this,10,y5,a)};f.setPhone=function(a){return Np(this,12,F5,a)};f.getExtendedData=function(){return W(this,h5,38)};
f.setExtendedData=function(a){Oh(this,h5,38,a)};f.hasExtendedData=function(){return qi(this,h5,38)};J5.repeatedFields_=[48,3,4,10,12,9,46,133,31];J5.prototype.toObject=function(){return zdd(this)};
var zdd=function(a){if(null!=a)return t(a),{personId:p(m(a,1)),metadata:gdd(a.getMetadata()),readOnlyProfileInfoList:Mb(yg(a,H5,48),mdd),fingerprint:p(m(a,26)),nameList:Mb(yg(a,B5,3),Ycd),photoList:Mb(yg(a,G5,4),kdd),emailList:Mb(a.getEmailList(),Jcd),phoneList:Mb(yg(a,F5,12),idd),genderList:Mb(yg(a,Lcd,9),Mcd),inAppNotificationTargetList:Mb(yg(a,A5,46),Tcd),rosterDetailsList:Mb(yg(a,I5,133),udd),sortKeys:xdd(W(a,wdd,25)),extendedData:ecd(a.getExtendedData()),coverPhotoList:Mb(yg(a,t5,31),wcd)}},
Add=[J5,1,Cq,2,X,hdd,48,Iq,ndd,26,Cq,3,Iq,Zcd,4,Iq,ldd,10,Iq,Kcd,12,Iq,jdd,9,Iq,Ncd,46,Iq,Ucd,133,Iq,vdd,25,X,ydd,38,X,fcd,31,Iq,xcd];J5.prototype.serializeBinary=u(Add);var Bdd=Lb(173194452,{messageSetExtension:0},J5,zdd);gr[173194452]=gq(hq,Add);fr[173194452]=Bdd;var Cdd=function(){this.cacheConfigurators_=[];this.grpcClient_=null};var Qkb=function(a){this.delegate_=a};V(Qkb,m2);var Ddd=function(a){this.keys_=new Set(a)};Ddd.prototype.loadOrSkip=function(a){return this.keys_.delete(a)?a:null};Ddd.prototype.isDone=function(){return!this.keys_.size};var Edd=function(a){this.keys_=a;this.foundKeys_=new Set;this.delegate_=new Ddd(a)};Edd.prototype.loadOrSkip=function(a){return this.delegate_.loadOrSkip(a)?(this.foundKeys_.add(a),!0):!1};Edd.prototype.isDone=function(){return this.delegate_.isDone()};var Fdd=function(a){return a.keys_.filter(function(b){return!a.foundKeys_.has(b)})};var Gdd=new Uo,Hdd=function(a,b,c){this.itemResolver_=a;this.trieFactory_=b;this.indexes_=Q3(Ag(c,31,5),1E3*Xh(c,32,3600))};f=Hdd.prototype;f.getCacheType=function(){return 2};f.flush=function(){this.indexes_.clear()};
f.fetch=function(a){var b=this,c,d,e,g;return Ld(function(h){if(1==h.nextAddress){c=a.getBoostKey();if(!c.cacheKey||b.indexes_.get(c.cacheKey))return h.return(Gdd);d=c.ids.map(function(l){if(NGc.includes(QGc(l).getType()))return l;var q=K5(b.itemResolver_,l);return q?String(q.id):l});e=new Edd(d);return h.yield(Idd(b.trieFactory_,e,a.getFormat(),c.primingTimeoutMillis),2)}g=h.yieldResult;b.indexes_.set(c.cacheKey,g);return h.return(Gdd)})};
f.search=function(a){var b=a.getBoostKey();if(!b.cacheKey)return[];this.indexes_.has(b.cacheKey)||this.fetch(a);return(this.indexes_.get(b.cacheKey)||P3).search(a.getTerms()).getMatches(a.getCollector()).map(Rkb)};f.index=function(){};var Jdd=new q8c(60,61,34);var Kdd=function(){};Kdd.prototype.configure=function(a){var b=a.storage,c=a.trackers,d=a.trieFactory,e=a.prefixCaches;a=a.clientConfig.getClient();vi(a,30,!1)&&(b=new Hdd(b,d,a),c=new S3(b,c,Jdd),e.unshift(c))};var Ldd=function(){return Date.now()},Mdd=function(a,b,c){this.staleMillis_=1E3*a;this.expiredMillis_=1E3*b;this.nowFn_=c;this.timestamp_=0};f=Mdd.prototype;f.isStale=function(){return this.timestamp_+this.staleMillis_<=this.nowFn_()};f.isExpired=function(){return this.timestamp_+this.expiredMillis_<=this.nowFn_()};f.getStatus=function(){return this.isExpired()?1:this.isStale()?3:2};f.getTimestamp=function(){return this.timestamp_};f.setTimestamp=function(a){this.timestamp_=a};
f.markAsFresh=function(){this.timestamp_=this.nowFn_()};f.markAsStale=function(){var a=this.nowFn_()-this.staleMillis_;a<this.timestamp_&&(this.timestamp_=a)};var Tkb=new Map([[1,1],[2,2],[3,3],[8,6],[6,7],[7,5],[4,4],[9,9]]),Skb=new Map([[1,7],[2,5]]);var Ndd=function(a,b){this.delegate_=a;this.extendedData_=b};V(Ndd,m2);Ndd.prototype.getExtendedData=function(){return this.extendedData_};var Odd=function(a,b,c){this.group_=a;this.members_=b;this.totalMemberCount_=gib(this.group_.getId())?this.members_.length:c;this.resultType_=S0c.get(this.group_.getTargetType())||0};f=Odd.prototype;f.getResultType=function(){return this.resultType_};f.getTargetList=function(){return[this.group_]};f.getMemberList=function(){return this.members_};f.getTotalMemberCount=function(){return this.totalMemberCount_};f.getPrimaryTarget=function(){throw Error("se");};f.getDisplayName=function(){return""};
f.getDisplayValue=function(){return""};f.getDescription=function(){return""};f.getPhotoUrl=function(){return""};f.getMatchInfo=function(){return R0c};f.getExtendedData=function(){return null};var Pdd=function(a){this.delegate_=a};f=Pdd.prototype;f.getDelegate=function(){return this.delegate_};f.getId=function(){return this.delegate_.getId()};f.getTargetType=function(){return this.delegate_.getTargetType()};f.getValue=function(){return this.delegate_.getValue()};f.getDisplayValue=function(){return this.delegate_.getDisplayValue()};f.getDescription=function(){return this.delegate_.getDescription()};f.getName=function(){return this.delegate_.getName()};f.getPhoto=function(){return this.delegate_.getPhoto()};
f.getTagList=function(){return this.delegate_.getTagList()};f.getSourceIdList=function(){return this.delegate_.getSourceIdList()};f.getProfileId=function(){return this.delegate_.getProfileId()};f.getContactId=function(){return this.delegate_.getContactId()};f.getLoggingToken=function(){return this.delegate_.getLoggingToken()};f.getIsMe=function(){return this.delegate_.getIsMe()};f.getIsPersonalResult=function(){return this.delegate_.getIsPersonalResult()};f.getOrgState=function(){return this.delegate_.getOrgState()};
f.getDataSource=function(){return this.delegate_.getDataSource()};f.getOriginatingField=function(){return this.delegate_.getOriginatingField()};f.getExtendedData=function(){return this.delegate_.getExtendedData()};var Vkb=function(a,b){this.delegate_=a;this.loggingToken_=b};V(Vkb,Pdd);Vkb.prototype.getLoggingToken=function(){return this.loggingToken_};var Qdd=function(a){this.itemResolver_=a};Qdd.prototype.create=function(a,b){var c=this,d=QGc(a);a=K5(this.itemResolver_,a);if(!a)return null;if(ho(d))return d=(a.memberKeys||[]).map(function(h){return c.create(h,b)}).filter(Boolean),this.createGroup(a,d,b);var e,g=2===b&&1<(null==(e=a.coalescedKeys)?void 0:e.length)?a.coalescedKeys.map(function(h){return K5(c.itemResolver_,h)}).filter(Boolean):[a];return Rdd(g,d,b)};
var Rdd=function(a,b,c){var d=[],e=0,g=null,h=null;a=k(a);for(var l=a.next();!l.done;l=a.next()){l=l.value;var q=l.target,v=q.getId().equals(b);if(!e||v)e=q.getResultType();q=Wkb(q,l.provenance,c);v?(h=void 0,g=null!=(h=l.totalMemberCount)?h:null,d.unshift(q),h=l.resultExtendedData):d.push(q)}b=egb(e,d,g);return h?new Ndd(b,h):b};
Qdd.prototype.createGroup=function(a,b,c){c=Wkb(a.target,a.provenance,c);var d,e=null!=(d=a.totalMemberCount)?d:null;b=new Jn(new Odd(c,null!=b?b:[],null!=e?e:null));return(a=a.resultExtendedData)?new Ndd(b,a):b};var Xkb=[1,2,3,4,5,6,9,7,8],Sdd=function(a,b){this.targetFactory_=a;this.resultFactory_=new Qdd(this);a=b.getCacheStaleSec();var c=b.getCacheExpiredSec();var d=void 0===d?Ldd:d;this.expiry_=new Mdd(a,c,d);this.affinityVersion_=0;this.ttlStorage_=new Map;this.lruStorage_=Q3(Ag(b,6,500),1E3*Ag(b,7,43200));this.idTypes_=new Set(Gj(b,25))};Sdd.prototype.load=function(a,b){var c;return null!=(c=this.resultFactory_.create(a,b))?c:null};
var K5=function(a,b){return a.ttlStorage_.get(b)||a.lruStorage_.get(b)||null};f=Sdd.prototype;f.getExpiry=function(){return this.expiry_};f.getAffinityVersion=function(){return this.affinityVersion_};f.markAsFresh=function(a){this.affinityVersion_=a.getAffinityVersion();a.hasTimestamp()?this.expiry_.setTimestamp(a.getTimestamp()):this.expiry_.markAsFresh();this.lruStorage_.compact()};f.markAsStale=function(){this.expiry_.markAsStale()};
f.flush=function(){this.ttlStorage_.clear();this.lruStorage_.clear();this.affinityVersion_=0;this.expiry_.timestamp_=0};f.storeItems=function(a,b,c,d){c=void 0===c?!1:c;if(d=void 0===d?"":d){var e=b.findIndex(function(h){return String(h.id)===d});if(0<e){var g=b[e];b.splice(e,1);b.unshift(g)}}c&&b.reverse();b=k(b);for(e=b.next();!e.done;e=b.next())this.store_(a,e.value,c,d)};
f.store_=function(a,b,c,d){if(!this.idTypes_.size||!NGc.includes(b.id.getType())||this.idTypes_.has(b.id.getType())){var e=!1,g=String(b.id),h=(b.containerIds||[]).map(String),l=Tdd(this,a,g);Udd(this,a,g,b,c)&&(l(g,b),e=!0);h=k(h);for(var q=h.next();!q.done;q=h.next())q=q.value,Udd(this,a,q,b,c)&&(l(q,b),e=!0);b.isMe&&(h=String(PGc),Udd(this,a,h,b,c)&&(l(h,b),e=!0));d&&g!==d&&Udd(this,a,d,b,c)&&(l(d,b),e=!0);e&&!b.target&&this.targetFactory_.processItem(b)}};
var Udd=function(a,b,c,d,e){var g=K5(a,c);if(!g)return!0;1===b&&a.lruStorage_.has(c)&&(b=a.lruStorage_.get(c),a.ttlStorage_.set(c,b),a.lruStorage_.delete(c));return e&&(g.id.equals(d.id)||String(g.id)!==c)?!0:g.id.equals(d.id)?Zkb(d)&&!Zkb(g)||Vdd(a,g)<Vdd(a,d)||Ykb(d)<Ykb(g)||18===d.id.getType()&&18===g.id.getType()?!0:!1:String(d.id)===c},Vdd=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},Tdd=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 Wdd=function(a){this.qos=a};Wdd.prototype.getIndex=function(){return String(this.qos)};var Xdd=new Wdd(1),Ydd=new Wdd(2);var Zdd=function(a,b){this.loader_=a;this.storage_=b;this.contacts_=[];this.totalItems_=0;this.pendingRequest_=null;this.requestId_=0;this.nextPageToken_="";this.isCompleted_=!1},aed=function(a){if(a.isCompleted_)return Promise.resolve(I3(new Uo,!1).setProvenance(5).setCode(0));a.pendingRequest_||(a.pendingRequest_=(new Promise(function(b,c){$dd(a,a.requestId_,function(d){a.isCompleted_=!0;b(d)},function(d){c(d)})})).finally(function(){a.pendingRequest_=null}));return a.pendingRequest_};
Zdd.prototype.flush=function(){this.requestId_++;this.contacts_=[];this.totalItems_=0;this.nextPageToken_="";this.pendingRequest_=null;this.isCompleted_=!1};
var $dd=function(a,b,c,d){a.loader_.loadContactItems(a.nextPageToken_,Ydd).then(function(e){if(b!==a.requestId_)d(I3(new Uo,!0).setProvenance(5).setCode(1));else{var g=e.metadata;a.totalItems_=g.getTotalItems();a.nextPageToken_=g.getNextPageToken();Array.prototype.push.apply(a.contacts_,e.ids);a.storage_.storeItems(1,e.data);a.nextPageToken_?$dd(a,b,c,d):(a.totalItems_=a.contacts_.length,c(I3(new Uo,!0).setProvenance(5).setCode(0)))}},function(e){e=isFinite(e)?e:13;d(I3(new Uo,!0).setProvenance(5).setCode(e))})};
Zdd.prototype.list=function(a,b,c,d,e){var g=this,h=e.getFilter();h&&h.reset("");var l=function(){return{results:g.contacts_.slice(a,b).map(function(q){return g.storage_.load(String(q),c)}).filter(function(q){return q&&(!h||h.filterResult(q))}),begin:a,end:b,totalItems:g.totalItems_}};this.contacts_.length>=b?d(l(),I3(new Uo,!1).setProvenance(5).setCode(0)):aed(this).then(function(q){d(l(),q)},function(q){q instanceof Uo||(q=(new Uo).setCode(13));d({results:[],begin:a,end:b,totalItems:0},q)})};var blb=function(a,b){this.delegate_=a;this.displayValue_=b};V(blb,Pdd);blb.prototype.getDisplayValue=function(){return this.displayValue_};var $kb=function(a,b){this.delegate_=a;this.targets_=b};V($kb,m2);$kb.prototype.getTargetList=function(){return this.targets_};var bed=function(a,b,c,d){this.format=b;this.listener=c;this.options=d;this.callbackNumber=0;this.hasErrorCode=!1;this.remainingIds=new Map(a.map(function(e){return[String(e),e]}))};f=bed.prototype;f.isCancelled=function(){return!1};f.getFormat=function(){return this.format};f.getOptions=function(){return this.options};f.queryScope=function(){return this.options.getQueryScope()};f.getResultFilter=function(){return this.options.getFilter()};f.isDone=function(){return 0===this.remainingIds.size};
var h8c=function(a){return Array.from(a.remainingIds.values())};bed.prototype.hasError=function(){return this.hasErrorCode};
bed.prototype.notify=function(a,b,c){if(a.size||b.length||this.isDone()||dlb(c.getCode())){a=clb(a,this.options);for(var d=k(a.keys()),e=d.next();!e.done;e=d.next())this.remainingIds.delete(String(e.value));d=k(b);for(e=d.next();!e.done;e=d.next())this.remainingIds.delete(String(e.value));dlb(c.getCode())&&(this.hasErrorCode=!0);e=(new Q7c).setCallbackNumber(this.callbackNumber).setIsFirstCallback(0===this.callbackNumber).setIsLastCallback(this.isDone()).setCode(c.getCode());e.notFoundIdList_=b;b=
new R7c(a,e);this.callbackNumber++;this.listener(b,c)}};var ced=function(a,b){this.stages=a;this.indexer=b};ced.prototype.flush=function(){this.indexer.flush()};
ced.prototype.lookup=function(a,b,c,d){var e=this,g,h,l,q,v,y;return Ld(function(B){switch(B.nextAddress){case 1:null==(g=d.getFilter())||g.reset(""),h=new bed(a,b,c,d),l=new Set,1!==h.queryScope()&&2!==h.queryScope()||l.add(2),3===h.queryScope()&&l.add(1),q=k(e.stages),v=q.next();case 2:if(v.done){B.jumpTo(4);break}y=v.value;if(h.isDone()||h.isCancelled()){B.jumpTo(4);break}if(l.has(y.getStageType())){B.jumpTo(3);break}return B.yield(y.lookup(h),3);case 3:v=q.next();B.jumpTo(2);break;case 4:if(!h.isDone()){if(0===
h.queryScope()&&!h.hasError()){var I=e.indexer,N=h8c(h);N=k(N);for(var Q=N.next();!Q.done;Q=N.next())Q=String(Q.value),I.notFoundIds.set(Q,Q)}h.notify(new Map,h8c(h),I3((new Uo).setProvenance(10),!1).setCode(0))}e.indexer.compact();return B.return()}})};var ded=function(a,b){this.delegate_=a;this.name_=b};V(ded,Pdd);ded.prototype.getName=function(){return this.name_};var eed=function(){};eed.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 Jn(new $kb(a,c))};eed.prototype.reset=function(){};var elb=function(a){this.types_=a};V(elb,eed);elb.prototype.shouldRemove=function(a){return!this.types_.includes(a.getTargetType())};elb.prototype.reset=function(){};var glb=function(a){this.sourceIds_=a.filter(function(b){return Yjb.includes(b.getType())}).map(String);this.targetIds_=a.filter(function(b){return NGc.includes(b.getType())}).map(String)};V(glb,eed);glb.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 ilb=function(a){this.filters_=a};ilb.prototype.filterResult=function(a){for(var b=k(this.filters_),c=b.next();!c.done;c=b.next())if(a=c.value.filterResult(a),!a)return null;return a};ilb.prototype.reset=function(a){for(var b=k(this.filters_),c=b.next();!c.done;c=b.next())c.value.reset(a)};var fed=jlb();var ged=function(){};ged.prototype.createFromQuery=function(a){var b=a.getPrefix();if(0!==a.getCollector().resultCount()||!a.isEmailAddress())return null;b=ro(so(b)).setValue(b).setDataSource(3);b=egb(b.getResultType(),[b],null);return(a=a.getResultFilter())?a.filterResult(b):b};ged.prototype.createFromLookupId=function(a){if(1!==a.getType()||!GGc(a.getValue()))return null;a=ro(a).setValue(a.getOriginalValue()).setDataSource(3);return egb(a.getResultType(),[a],null)};var hed=function(){};hed.prototype.createFromQuery=function(){return null};hed.prototype.createFromLookupId=function(){return null};var ied=new hed;var jed=function(a,b){this.storage=a;a=b.getClient();this.placeholderFactory=vi(a,21,!1)?new ged:ied;this.notFoundIds=Q3(Ag(a,10,500),1E3*Xh(a,11,600))};f=jed.prototype;f.compact=function(){this.notFoundIds.compact()};f.flush=function(){this.notFoundIds.clear()};f.store=function(a,b,c,d){if(!vi(c,5))for(xi(c,5,!0),b=k(b),c=b.next();!c.done;c=b.next()){var e=k(c.value);c=e.next().value;e=e.next().value;c=String(Ujb(a,String(c)));this.storeItems(e,d,c)}};
f.storeItems=function(a,b,c){this.storage.storeItems(2,a,b,c)};f.load=function(a,b,c,d,e){b=this.storage.load(String(a),b);e&&b&&(b=hlb(a).filterResult(b));d&&!b&&(b=this.placeholderFactory.createFromLookupId(a));return b?c?c.filterResult(b):b:null};var ked={ids:[],cacheKey:"",primingTimeoutMillis:0};var led=function(){};led.prototype.loadOrSkip=function(){return null};led.prototype.resultCount=function(){return 0};led.prototype.isDone=function(){return!0};var med=new led;var ned=function(){this.prefix_="";this.terms_=[];this.format_=0;this.collector_=med;this.boostKey_=ked;this.listener_=function(){}};f=ned.prototype;f.getPrefix=function(){return this.prefix_};f.getTerms=function(){return this.terms_};f.getFormat=function(){return this.format_};f.getCollector=function(){return this.collector_};f.getBoostKey=function(){return this.boostKey_};f.getListener=function(){return this.listener_};f.isDone=function(){return!0};f.isCancelled=function(){return!0};
f.isSuggestQuery=function(){return!0};f.isEmailAddress=function(){return!1};f.queryScope=function(){return 0};f.getResultFilter=function(){return null};var oed=new ned;var ped=function(){this.fetchDone_=Promise.resolve((new Uo).setCode(0))};f=ped.prototype;f.getCacheType=function(){return 0};f.flush=function(){};f.fetch=function(){return this.fetchDone_};f.index=function(){};f.search=function(){return[]};var qed=new ped;var red=function(a){a=Array.from(new Set(a));this.primary_=a.find(function(b){return 1===b.getCacheType()})||qed;this.prefetched_=a.filter(function(b){return 2===b.getCacheType()||1===b.getCacheType()});this.lazyLoaded_=a.filter(function(b){return 3===b.getCacheType()})};
red.prototype.prefetch=function(a){var b=this,c,d,e,g,h;return Ld(function(l){if(1==l.nextAddress)return l.yield(b.primary_.fetch(a),2);if(3!=l.nextAddress){c=l.yieldResult;if(0!==c.getCode())return l.return(c);d=k(b.lazyLoaded_);for(e=d.next();!e.done;e=d.next())g=e.value,g.flush();h=b.prefetched_.filter(function(q){return q!==b.primary_}).map(function(q){q.flush();return q.fetch(a)});return h.length?l.yield(Promise.all(h),3):l.jumpTo(3)}return l.return(c)})};
red.prototype.warmUpSession=function(a){var b=this;if(1===a.queryScope())return Promise.resolve([(new Uo).setProvenance(2).setCode(1)]);var c=this.prefetched_.filter(function(d){return d!==b.primary_});2!==a.queryScope()&&c.push.apply(c,Jc(this.lazyLoaded_));return Promise.all(c.map(function(d){return d.fetch(a)}))};
var sed=function(a){var b=[a.primary_].concat(Jc(a.prefetched_.filter(function(d){return d!==a.primary_})),Jc(a.lazyLoaded_)).reverse();b=k(b);for(var c=b.next();!c.done;c=b.next())c.value.flush()},ted=function(a,b){var c=[];a=k(a.prefetched_);for(var d=a.next();!d.done;d=a.next()){d=d.value;if(b.isDone()||b.isCancelled())break;c.push.apply(c,Jc(d.search(b)))}return c},ved=function(a,b,c){var d,e,g,h;return Ld(function(l){if(1==l.nextAddress){if(2===b.queryScope())return l.return();d=a.lazyLoaded_[a.lazyLoaded_.length-
1];e=k(a.lazyLoaded_);g=e.next()}if(3!=l.nextAddress){if(g.done)return l.jumpTo(0);h=g.value;return b.isDone()||b.isCancelled()?l.return():l.yield(ued(h,b,c,d===h),3)}g=e.next();return l.jumpTo(2)})},ued=function(a,b,c,d){var e,g;return Ld(function(h){if(1==h.nextAddress)return 1===b.queryScope()?(e=I3((new Uo).setProvenance(6).setCode(0),!1),h.jumpTo(2)):h.yield(a.fetch(b),3);2!=h.nextAddress&&(e=h.yieldResult);if(b.isCancelled())return h.return();g=a.search(b);c(g,e,d);Qd(h)})};var wed=function(a,b,c,d,e,g){this.clientInfo_=a.getClient();this.trackers_=b;this.storage_=g;this.lookupCache_=d;this.listCache_=e;this.prefixSearch_=c;this.sessionWarming_=this.cacheWarming_=null};f=wed.prototype;f.getLastUpdatedTimestamp=function(){return this.storage_.getExpiry().getTimestamp()};f.getAffinityVersion=function(){return this.storage_.getAffinityVersion()};
f.warmUpCache=function(){L5(this,oed);return this.cacheWarming_&&this.storage_.getExpiry().isExpired()?this.cacheWarming_:Promise.resolve(L3(K3((new J3).setSource(I3(new Uo,!1).setProvenance(1).setCode(0)),M5(this)),M5(this)))};f.flushCache=function(a){switch(a){case 2:return xed(this),Promise.resolve(new J3);case 1:return this.storage_.markAsStale(),Promise.resolve(new J3);default:return this.warmUpCache()}};
f.warmUpSession=function(a){var b=this,c,d,e,g,h;return Ld(function(l){switch(l.nextAddress){case 1:c=K3(new J3,M5(b));L5(b,a);if(!b.cacheWarming_){l.jumpTo(2);break}return l.yield(b.cacheWarming_,2);case 2:return Md(l,4,5),b.sessionWarming_||(b.sessionWarming_=b.prefixSearch_.warmUpSession(a)),l.yield(b.sessionWarming_,7);case 7:return d=l.yieldResult,e=d.find(function(q){return 2===q.getProvenance()})||(new Uo).setProvenance(2).setCode(0),l.return(L3(c.setSource(e),M5(b)));case 5:Nd(l);b.sessionWarming_=
null;Od(l,0);break;case 4:return g=Pd(l),h=g instanceof Uo?g:(new Uo).setProvenance(2).setCode(13),l.return(Promise.reject(L3(c.setSource(h),M5(b))))}})};
f.search=function(a){var b=this,c,d,e,g,h;return Ld(function(l){switch(l.nextAddress){case 1:yed(b);Md(l,2);d=M5(b);L5(b,a);if(!a.isSuggestQuery()){l.jumpTo(4);break}if(!b.cacheWarming_){l.jumpTo(5);break}e=b.storage_.getExpiry().isExpired();if(!e){l.jumpTo(5);break}return l.yield(b.cacheWarming_,7);case 7:c=l.yieldResult;case 5:if(!b.sessionWarming_){l.jumpTo(4);break}return l.yield(b.sessionWarming_,4);case 4:return c||(c=L3(K3((new J3).setSource(I3(new Uo,!1).setProvenance(1).setCode(0)),d),M5(b)),
L5(b,a)),l.yield(zed(b,a,c),10);case 10:xp(l,0);break;case 2:g=Pd(l);if(a.isCancelled())return l.return();g instanceof J3?c=g:(h=g instanceof Uo?g:(new Uo).setCode(13),L3(c.setSource(h),M5(b)));a.getListener()(new N3([],(new M3).setQuery(a.getPrefix()).setIsLastCallback(!0).setCacheState(c).setCode(c.getSource().getCode())));Qd(l)}})};
var zed=function(a,b,c){var d,e,g,h;return Ld(function(l){if(1==l.nextAddress){if(b.isCancelled())return l.return();d=ted(a.prefixSearch_,b);e=(new M3).setIsLastCallback(b.isSuggestQuery()).setQuery(b.getPrefix()).setCode(c.getSource().getCode()).setCacheState(c);b.getListener()(new N3(d,e));if(e.getIsLastCallback())return l.return();g=!1;return l.yield(ved(a.prefixSearch_,b,function(q,v,y){v=(new M3).setIsLastCallback(y).setQuery(b.getPrefix()).setCode(v.getCode()).setCacheState(L3(K3((new J3).setSource(v),
Qo(c,2)),M5(a)));b.getListener()(new N3(q,v));v.getIsLastCallback()&&(g=!0)}),2)}g||b.isCancelled()||(h=(new M3).setIsLastCallback(!0).setQuery(b.getPrefix()).setCode(0).setCacheState(L3(K3((new J3).setSource((new Uo).setProvenance(10).setCode(0)),Qo(c,2)),M5(a))),b.getListener()(new N3([],h)));Qd(l)})};
wed.prototype.lookup=function(a,b,c){var d=this;yed(this);L5(this,oed);var e=K3(new J3,M5(this));this.lookupCache_.lookup(a,Fh(this.clientInfo_,17,1),function(g,h){e.setSource(h);L3(e,M5(d));g.getMetadata().setCacheState(e);b(g)},c)};
wed.prototype.list=function(a,b,c,d){var e=this;L5(this,oed);var g=K3(new J3,M5(this));this.listCache_.list(a,b,Fh(this.clientInfo_,18,1),function(h,l){var q=h.results;var v=new N7c;v=n(v,1,h.begin);c(new O7c(q,v.setEnd(h.end).setTotalItems(h.totalItems).setCode(l.getCode()).setCacheState(L3(g.setSource(l),M5(e)))))},d)};
var L5=function(a,b){if(a.storage_.getExpiry().isStale()&&(a.storage_.getExpiry().isExpired()&&a.storage_.getExpiry().getTimestamp()&&xed(a),!a.cacheWarming_)){var c=M5(a);a.cacheWarming_=new Promise(function(d,e){var g,h,l,q;return Ld(function(v){switch(v.nextAddress){case 1:return g=K3(new J3,c),Md(v,2,3),v.yield(a.prefixSearch_.prefetch(b),5);case 5:h=v.yieldResult,L3(g,M5(a)).setSource(h),d(g);case 3:Nd(v);a.cacheWarming_=null;Od(v,0);break;case 2:l=Pd(v),q=l instanceof Uo?l:(new Uo).setCode(13),
L3(g,M5(a)).setSource(q),e(g),v.jumpTo(3)}})})}},M5=function(a){return a.storage_.getExpiry().getStatus()},xed=function(a){sed(a.prefixSearch_);a.lookupCache_.flush();a.listCache_.flush();a.storage_.flush()},yed=function(a){var b=1===M5(a)?1:2;a.trackers_.count(b).increment()};var Aed=function(a){this.itemResolver_=a},Bed=function(a,b,c){c=void 0===c?[]:c;var d=b.target,e=d.getName();e&&(c.push(e.getDisplayName()),c.push(e.getGivenName()),c.push(e.getFamilyName()));if(e=d.getDisplayValue())switch(d.getTargetType()){case 2:case 7:var g=c.push,h=g.apply,l=e.split(U7c).filter(Boolean),q=l.length-1;if(0<q){var v=l.join("-"),y=l.join(".");l.push(v);for(l.push(y);0<q;q--)l[q-1]+=l[q]}l.push(e);l.push(e.replace(Kjb,""));"+"===e[0]&&l.push("+"+l[0]);h.call(g,c,Jc(l));break;default:c.push(e)}if(!c.length&&
b.memberKeys&&b.memberKeys.length&&10!==d.getTargetType())for(b=k(b.memberKeys),d=b.next();!d.done;d=b.next())(d=K5(a.itemResolver_,d.value))&&Bed(a,d,c);return c};var Ced=new P7c,Ded=function(a,b,c){this.itemResolver_=a;this.lookupCache_=b;this.trackers_=c;this.indexer_=new Aed(a);this.trieRoots_=new Map},Idd=function(a,b,c,d){var e=(a.trieRoots_.get(c)||P3).cloneNode(b);if(b.isDone())return a.trackers_.count(120).increment(),Promise.resolve(e);var g=a.trackers_.latency(95);g.start();var h=new Promise(function(l){var q=Fdd(b).map(QGc);a.lookupCache_.lookup(q,c,function(v){var y=Array.from(v.getResults().keys(),String);y=Eed(a,y);Array.prototype.push.apply(e.items_,
y);W7c(e);v.getMetadata().getIsLastCallback()&&(g.stop(),l(e))},Ced)});return llb(h,e,d)},f8c=function(a,b){a=Eed(a,b);return new O3(a)},Eed=function(a,b){var c=[];b=k(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;var e=K5(a.itemResolver_,d);e&&(e=Bed(a.indexer_,e),c.push(new V7c(d,e)))}return c};var Fed=function(){this.queryId_=0};Fed.prototype.getQueryId=function(){return this.queryId_};var Ged=function(a){this.delegate=a};f=Ged.prototype;f.getLastUpdatedTimestamp=function(){return this.delegate.getLastUpdatedTimestamp()};f.getAffinityVersion=function(){return this.delegate.getAffinityVersion()};f.warmUpCache=function(){return this.delegate.warmUpCache()};f.flushCache=function(a){return this.delegate.flushCache(a)};f.warmUpSession=function(a){var b=this;return Ld(function(c){return c.return(b.delegate.warmUpSession(a))})};f.search=function(a){var b=this;return Ld(function(c){return c.return(b.delegate.search(a))})};
f.lookup=function(a,b,c){this.delegate.lookup(a,b,c)};f.list=function(a,b,c,d){this.delegate.list(a,b,c,d)};var Hed=function(){this.delegate=fed};Hed.prototype.filterResult=function(a){return this.delegate.filterResult(a)};Hed.prototype.reset=function(a){this.delegate.reset(a)};var Ied=function(a,b){a.delegate=null!=b?b:fed};var Jed=function(a){this.delegate=a};f=Jed.prototype;f.getPrefix=function(){return this.delegate.getPrefix()};f.getTerms=function(){return this.delegate.getTerms()};f.getFormat=function(){return this.delegate.getFormat()};f.getCollector=function(){return this.delegate.getCollector()};f.getBoostKey=function(){return this.delegate.getBoostKey()};f.getListener=function(){return this.delegate.getListener()};f.isDone=function(){return this.delegate.isDone()};f.isCancelled=function(){return this.delegate.isCancelled()};
f.isSuggestQuery=function(){return this.delegate.isSuggestQuery()};f.isEmailAddress=function(){return this.delegate.isEmailAddress()};f.queryScope=function(){return this.delegate.queryScope()};f.getResultFilter=function(){return this.delegate.getResultFilter()};var Ked=function(a,b){this.delegate_=a;this.limit_=b;this.count_=0};Ked.prototype.loadOrSkip=function(a){a=this.delegate_.loadOrSkip(a);if(!a)return null;this.count_++;return a};Ked.prototype.resultCount=function(){return this.count_};Ked.prototype.isDone=function(){return this.count_>=this.limit_||this.delegate_.isDone()};var Led=function(a,b,c,d){this.delegate=a;var e=this;this.isLastSlot=d;d=a.getCollector();0<c.limit&&(d=new Ked(d,c.limit));this.collector=d;this.listener=function(h){var l=h.getMetadata();l.getIsLastCallback()&&l.setIsLastCallback(e.isLastSlot);e.delegate.getListener()(h)};d=[];c.filter&&(d.push(c.filter),c.filter.reset(a.getPrefix()));b&&d.push(b);this.resultFilter=d.length?jlb.apply(null,Jc(d)):null;var g;this.scope=null!=(g=c.scope)?g:a.queryScope()};V(Led,Jed);f=Led.prototype;
f.getCollector=function(){return this.collector};f.getListener=function(){return this.listener};f.isDone=function(){return this.collector.isDone()};f.getResultFilter=function(){return this.resultFilter};f.queryScope=function(){return this.scope};var Med=function(a,b,c,d){this.delegate=a;this.slots=b;this.filterInterceptor=c;this.originalFilter=d};V(Med,Ged);
Med.prototype.search=function(a){var b=this,c,d,e,g,h,l;return Ld(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(v){return!c.has(v.visibility)}),e=d.map(function(v,y){return new Led(a,b.originalFilter,v,y===d.length-1)}),g=k(e),h=g.next();case 2:if(h.done){q.jumpTo(4);break}l=h.value;if(a.isCancelled()||a.isDone()){q.jumpTo(4);break}Ied(b.filterInterceptor,l.getResultFilter());return q.yield(b.delegate.search(l),
3);case 3:h=g.next();q.jumpTo(2);break;case 4:return q.return()}})};var Ned=function(a,b,c){this.delegate=a;var d=this;this.query_=b;this.terms_=Njb([b]);this.id_=so(b);this.listener_=function(e){var g=e.getResults().map(function(h){if(d.id_.equals(h.getPrimaryTarget().getId())&&h.getDisplayName()!==c){var l=(new ckb).setDisplayName(c),q=h.getPrimaryTarget();h=alb(h,new ded(q,l))}return h});e=new N3(g,e.getMetadata());a.getListener()(e)}};V(Ned,Jed);Ned.prototype.getPrefix=function(){return this.query_};Ned.prototype.getTerms=function(){return this.terms_};
Ned.prototype.getListener=function(){return this.listener_};var Oed=function(a,b,c){this.cache_=a;this.queryFactory_=b;this.querySession_=new Fed;this.clientInfo_=c};f=Oed.prototype;f.warmUpSession=function(a){a=Ped(this.queryFactory_,"",this.querySession_,a,function(){});return this.cache_.warmUpSession(a)};f.suggest=function(a,b){a=Ped(this.queryFactory_,"",this.querySession_,b,a);this.cache_.search(a)};
f.search=function(a,b,c){a=Ped(this.queryFactory_,a,this.querySession_,c,b);vi(this.clientInfo_,28,!1)&&(b=a.getPrefix(),b.includes("<")&&(c=EGc(b),c.isValid()||(c=EGc(b+">")),a=c.isValid()&&c.getName()?new Ned(a,c.getAddress(),c.getName()):a));this.cache_.search(a)};f.cancel=function(){++this.querySession_.queryId_};f.getLastUpdatedTimestamp=function(){return this.cache_.getLastUpdatedTimestamp()};f.getAffinityVersion=function(){return this.cache_.getAffinityVersion()};
f.getReporter=function(){throw Error("bb");};f.getSessionState=function(){throw Error("bb");};f.getHide=function(){throw Error("bb");};var Qed=function(a,b,c){var d=this;this.cache_=a;this.queryFactory_=b;this.clientInfo_=c;this.getSessionCache_=vi(c,34,!1)?function(e){var g=d.cache_,h=e.slots_;if(h.length){var l=e.getFilter(),q=new Hed;e.setFilter(q);e=new Med(g,h,q,l)}else e=g;return e}:function(){return d.cache_}};f=Qed.prototype;f.warmUpCache=function(){return this.cache_.warmUpCache()};f.flushCache=function(a){this.cache_.flushCache(a)};f.lookup=function(a,b,c){this.cache_.lookup(a,b,c)};
f.list=function(a,b,c,d){this.cache_.list(a,b,c,d)};f.beginSession=function(a){a=this.getSessionCache_(a);return new Oed(a,this.queryFactory_,this.clientInfo_)};var Red=function(a,b,c,d,e,g,h){this.delegate_=a;this.prefix_=b;this.terms_=c;this.collector_=d;this.boostKey_=e;this.filter_=h;this.listener_=mlb(this,g);this.isEmailAddress_=null};f=Red.prototype;f.getPrefix=function(){return this.prefix_};f.getTerms=function(){return this.terms_};f.getFormat=function(){return this.delegate_.getFormat()};f.getCollector=function(){return this.collector_};f.getBoostKey=function(){return this.boostKey_};f.getListener=function(){return this.listener_};f.isDone=function(){return this.collector_.isDone()};
f.isCancelled=function(){return this.delegate_.isCancelled()};f.isSuggestQuery=function(){return!this.prefix_};f.isEmailAddress=function(){null===this.isEmailAddress_&&(this.isEmailAddress_=GGc(this.prefix_));return this.isEmailAddress_};f.queryScope=function(){return this.delegate_.queryScope()};f.getResultFilter=function(){return this.filter_};var Sed=function(a,b,c){this.format_=a;this.querySession_=b;this.queryScope_=c;this.id_=++this.querySession_.queryId_};Sed.prototype.getFormat=function(){return this.format_};Sed.prototype.isCancelled=function(){return this.querySession_.getQueryId()!==this.id_};Sed.prototype.queryScope=function(){return this.queryScope_};var N5=function(){this.foundKeys_=new Set};V(N5,eed);N5.prototype.shouldRemove=function(a){return this.foundKeys_.has(String(a.getId()))};N5.prototype.has=function(a){return this.foundKeys_.has(a)};N5.prototype.add=function(a){this.foundKeys_.add(a)};N5.prototype.reset=function(){this.foundKeys_.clear()};var Ted=function(a){this.delegate_=a;this.filter_=new N5};Ted.prototype.loadOrSkip=function(a){if(this.filter_.has(a))return null;a=this.delegate_.loadOrSkip(a);if(!a)return null;a=this.filter_.filterResult(a);if(!a)return null;for(var b=k(a.getTargetList()),c=b.next();!c.done;c=b.next())this.filter_.add(String(c.value.getId()));return a};Ted.prototype.resultCount=function(){return this.delegate_.resultCount()};Ted.prototype.isDone=function(){return this.delegate_.isDone()};var Ued=function(a,b,c){this.delegate_=a;this.filter_=b;this.filter_.reset(c)};Ued.prototype.loadOrSkip=function(a){a=this.delegate_.loadOrSkip(a);return a?(a=this.filter_.filterResult(a))&&a.getTargetList().length?a:null:null};Ued.prototype.resultCount=function(){return this.delegate_.resultCount()};Ued.prototype.isDone=function(){return this.delegate_.isDone()};var Ved=function(a,b){this.storage_=a;this.format_=b};Ved.prototype.loadOrSkip=function(a){return this.storage_.load(a,this.format_)||null};Ved.prototype.resultCount=function(){return 0};Ved.prototype.isDone=function(){return!1};var Wed=[198,230,306,307,338,339],Xed=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)"+zl(b),"g")})},nlb=function(a,b){var c=[];if(!b||!a.matchers_.length)return c;var d=qo(Ljb(b)).replace(Mjb,"").toUpperCase().toLowerCase(),e=d.indexOf("@");a=k(a.matchers_);for(var g=a.next();!g.done;g=a.next()){g=g.value;g.lastIndex=
0;for(var h=g.exec(d);h;h=g.exec(d)){h=h.index;if(0<=e&&h>e)break;c.push([h,g.lastIndex])}}c.sort(function(l,q){return l[0]-q[0]});for(e=c.length-1;0<e;e--)a=c[e-1],g=c[e],a[1]>=g[0]&&(a[1]=g[1],c.splice(e,1));if(c.length&&d.length!==b.length){d=[];e=[];for(a=0;a<b.length;a++)g=b.codePointAt(a),65535<g||768<=g&&879>=g?(d.push(a),a++):Wed.includes(g)&&e.push(a);b=k(c);for(a=b.next();!a.done;a=b.next()){a=a.value;g=k(d);for(h=g.next();!h.done;h=g.next())h=h.value,h<a[0]&&a[0]++,h<a[1]&&a[1]++;g=k(e);
for(h=g.next();!h.done;h=g.next())h=h.value,h<a[0]&&a[0]--,h<a[1]&&a[1]--}}return c};var olb=function(a,b){this.start_=a;this.end_=b};olb.prototype.getStart=function(){return this.start_};olb.prototype.getEnd=function(){return this.end_};var plb=function(a,b,c){this.displayNameMatches_=a;this.displayValueMatches_=b;this.givenNameMatches_=c};plb.prototype.getDisplayNameMatches=function(){return this.displayNameMatches_};plb.prototype.getDisplayValueMatches=function(){return this.displayValueMatches_};plb.prototype.getGivenNameMatches=function(){return this.givenNameMatches_};var Yed=function(a,b){this.delegate_=a;this.matcher_=b;this.memberList_=a.getMemberList().map(function(c){return new Yed(c,b)});this.matchInfo_=null};V(Yed,m2);Yed.prototype.getMemberList=function(){return this.memberList_};Yed.prototype.getMatchInfo=function(){if(!this.matchInfo_){var a,b=(null==(a=this.getDelegate().getPrimaryTarget().getName())?void 0:a.getGivenName())||"";this.matchInfo_=qlb(this.matcher_,this.getDelegate().getDisplayName(),this.getDelegate().getDisplayValue(),b)}return this.matchInfo_};var Zed=function(a,b){this.delegate_=a;this.matcher_=new Xed(b)};Zed.prototype.loadOrSkip=function(a){return(a=this.delegate_.loadOrSkip(a))?new Yed(a,this.matcher_):null};Zed.prototype.resultCount=function(){return this.delegate_.resultCount()};Zed.prototype.isDone=function(){return this.delegate_.isDone()};var $ed=/\s+/g,afd=function(a,b){this.clientInfo_=a;this.storage_=b},Ped=function(a,b,c,d,e){var g=Njb([b]);b=(b||"").replace($ed," ").trim();var h=!g.length;var l=a.clientInfo_;l=h?d.getSuggestFormat()||l.getSuggestFormat():d.getSearchFormat()||l.getSearchFormat();h=h?Ag(a.clientInfo_,1,10):Ag(a.clientInfo_,2,10);var q=d.boostIds_;var v=d.primingTimeoutMillis_;if(q.length){q=q.map(String);var y=skb(q)+":"+q.length;v={ids:q,cacheKey:y,primingTimeoutMillis:v}}else v=ked;q=d.getFilter();a=new Ved(a.storage_,
l);q&&(a=new Ued(a,q,b));a=new Ted(a);a=new Ked(a,h);a=g.length?new Zed(a,g):a;d=d.getQueryScope();c=new Sed(l,c,d);return new Red(c,b,g,a,v,e,q)};var bfd=function(a){this.fetcher=a};bfd.prototype.getStageType=function(){return 2};bfd.prototype.lookup=function(a){var b=this,c,d,e,g,h,l,q,v,y;return Ld(function(B){switch(B.nextAddress){case 1:c=slb(h8c(a)),d=k(c),e=d.next();case 2:if(e.done){B.jumpTo(4);break}g=e.value;h=k(g);l=h.next().value;q=h.next().value;v=l;y=q;if(!v){B.jumpTo(3);break}return B.yield(b.fetcher.fetch(y,v,a.getFormat(),function(I,N){a.notify(I,[],N)},a.getOptions()),3);case 3:e=d.next();B.jumpTo(2);break;case 4:return B.return()}})};var cfd=function(a,b){this.delegate=a;this.maxLookupChunkSize=Y8c(b)};cfd.prototype.fetch=function(a,b,c,d,e){var g=this,h,l,q;return Ld(function(v){switch(v.nextAddress){case 1:var y=g.maxLookupChunkSize;if(a.length)if(a.length<=y)y=[a];else{for(var B=[],I=0;I<a.length;I+=y){var N=a.slice(I,I+y);N.length&&B.push(N)}y=B}else y=[];h=k(y);l=h.next();case 2:if(l.done){v.jumpTo(4);break}q=l.value;return v.yield(g.delegate.fetch(q,b,c,d,e),3);case 3:l=h.next();v.jumpTo(2);break;case 4:return v.return()}})};var dfd=function(a,b,c){this.trackers=a;this.loader=b;this.indexer=c};
dfd.prototype.fetch=function(a,b,c,d,e){var g=this,h,l,q,v,y,B,I,N,Q,Z,Y;return Ld(function(ka){switch(ka.nextAddress){case 1:return h=3===b?4:3,l=I3((new Uo).setProvenance(h),!0).setCode(0),Md(ka,2),ka.yield(g.loader.loadLookupItems(b,a.map(function(la){return la.getOriginalValue()}),Ydd),4);case 4:q=ka.yieldResult;q.metadata.getCode()&&l.setCode(q.metadata.getCode());v=3===e.getQueryScope();try{g.indexer.store(b,q.data,q.metadata,v)}catch(la){g.trackers.error(21,10).report(),l.setCode(13)}xp(ka,
3);break;case 2:y=Pd(ka),B=Number(y),l.setCode(isFinite(B)&&B?B:13);case 3:I=new Map;N=k(a);for(Q=N.next();!Q.done;Q=N.next())Z=Q.value,(Y=g.indexer.load(Z,c,e.getFilter(),!0,e.useOriginalDisplayValue_))&&I.set(Z,Y);d(I,l);return ka.return()}})};var efd=function(a){this.indexer=a};efd.prototype.getStageType=function(){return 1};efd.prototype.lookup=function(a){var b=this,c,d,e,g,h,l;return Ld(function(q){c=new Map;d=[];e=k(h8c(a));for(g=e.next();!g.done;g=e.next())if(h=g.value,l=b.indexer.load(h,a.getFormat(),a.getResultFilter(),!1,a.getOptions().useOriginalDisplayValue_))c.set(h,l);else{var v=b.indexer;(RGc(h)?v.notFoundIds.get(String(h)):1)&&d.push(h)}a.notify(c,d,I3((new Uo).setProvenance(6),!1).setCode(0));return q.return()})};var ffd=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"),gfd=function(a,b,c,d,e){this.loader_=a;this.ranker_=b;this.trieFactory_=c;this.storage_=d;this.placeholderFactory_=vi(e,21,!1)?new ged:ied;this.indexes_=Q3(Ag(e,8,250),1E3*Xh(e,9,3600));this.notFound_=Q3(Ag(e,10,500),1E3*Xh(e,11,600))};f=gfd.prototype;f.getCacheType=function(){return 3};
f.flush=function(){this.indexes_.clear();this.notFound_.clear()};
f.fetch=function(a){var b=this,c,d,e;return Ld(function(g){switch(g.nextAddress){case 1:c=I3(new Uo,!0).setProvenance(2).setCode(0);if(a.isSuggestQuery())return b.loader_.warmUpServer(Xdd).catch(function(){}),g.return(c);if(b.canSkipFetch_(a))return g.return(I3(c,!1));Md(g,2);return g.yield(b.loader_.loadAutocompleteItems(a,Ydd),4);case 4:d=g.yieldResult;xp(g,3);break;case 2:return e=Pd(g),g.return(c.setCode(isFinite(e)?e:13));case 3:try{b.index(a,d.data,d.metadata)}catch(h){return g.return(c.setCode(13))}return g.return(c)}})};
f.search=function(a){return a.isSuggestQuery()?[]:this.indexes_.has(a.getPrefix())?this.indexes_.get(a.getPrefix()).search([]).getMatches(a.getCollector()):(a=this.placeholderFactory_.createFromQuery(a))?[a]:[]};f.index=function(a,b,c){if(!vi(c,5))if(xi(c,5,!0),b.length){c=d8c(this.ranker_,b,1);var d=3===a.queryScope();this.storage_.storeItems(1,b,d);b=f8c(this.trieFactory_,c);this.indexes_.set(a.getPrefix(),b)}else this.notFound_.set(a.getPrefix(),a.getPrefix())};
f.canSkipFetch_=function(a){if(3===a.queryScope())return!1;var b=a.getPrefix();if(this.indexes_.has(b)||this.notFound_.has(b))return!0;if(a.isEmailAddress())return!1;for(a=b.length-1;0<a;a--){var c=b.substr(0,a);if(c.match(ffd))break;if(this.notFound_.has(c))return!0}return!1};var hfd=function(a,b,c,d,e){this.loader_=a;this.ranker_=b;this.trieFactory_=c;this.storage_=d;this.coalescedSortOrder_=e;this.indexes_=new Map;this.trieFactory_.trieRoots_=this.indexes_};f=hfd.prototype;f.getCacheType=function(){return 1};f.flush=function(){this.indexes_.clear()};
f.fetch=function(a){var b=this,c,d,e,g;return Ld(function(h){switch(h.nextAddress){case 1:return c=I3(new Uo,!0).setProvenance(1).setCode(0),d=b.storage_.getExpiry().isExpired()?Ydd:Xdd,Md(h,2),h.yield(b.loader_.loadRankedItems(d),4);case 4:e=h.yieldResult;xp(h,3);break;case 2:return g=Pd(h),h.return(c.setCode(isFinite(g)?g:13));case 3:try{b.index(a,e.data,e.metadata)}catch(l){c.setCode(13)}return h.return(c)}})};
f.search=function(a){return a.isSuggestQuery()||a.getTerms().length?(this.indexes_.get(a.getFormat())||P3).search(a.getTerms()).getMatches(a.getCollector()):[]};f.index=function(a,b,c){if(!vi(c,5)){xi(c,5,!0);a=1!==this.coalescedSortOrder_?d8c(this.ranker_,b,this.coalescedSortOrder_):null;var d=d8c(this.ranker_,b,1);this.storage_.flush();this.storage_.storeItems(1,b);this.storage_.markAsFresh(c);b=f8c(this.trieFactory_,d);c=a?f8c(this.trieFactory_,a):b;this.indexes_.set(1,b);this.indexes_.set(2,c)}};var ifd=new q8c(27,32,33),jfd=new q8c(24,23,20);var kfd=function(){};kfd.prototype.configure=function(a){var b=a.trackers,c=a.storage,d=a.indexer,e=a.loader,g=a.trieFactory,h=a.prefixCaches,l=a.lookupStages,q=a.loaderFactory.ranker_,v=a.clientConfig.getClient();if(0<v.getCacheSize()){var y=Fh(v,19,1);y=new hfd(e,q,g,c,y);y=new S3(y,b,jfd);h.push(y);l.push(new efd(d))}0<Ag(v,2,10)&&(c=new gfd(e,q,g,c,v),b=new S3(c,b,ifd),h.push(b));h=new dfd(a.trackers,a.loader,a.indexer);h=new cfd(h,a.clientConfig);l.push(new bfd(h))};var lfd=function(a){this.delegate=a};f=lfd.prototype;f.warmUpSession=function(a){return this.delegate.warmUpSession(a)};f.suggest=function(a,b){this.delegate.suggest(a,b)};f.search=function(a,b,c){this.delegate.search(a,b,c)};f.cancel=function(){this.delegate.cancel()};f.getLastUpdatedTimestamp=function(){return this.delegate.getLastUpdatedTimestamp()};f.getAffinityVersion=function(){return this.delegate.getAffinityVersion()};f.getReporter=function(a){return this.delegate.getReporter(a)};
f.getSessionState=function(){return this.delegate.getSessionState()};f.getHide=function(){return this.delegate.getHide()};var mfd=function(a){this.delegate=a};f=mfd.prototype;f.warmUpCache=function(){return this.delegate.warmUpCache()};f.flushCache=function(a){this.delegate.flushCache(a)};f.lookup=function(a,b,c){this.delegate.lookup(a,b,c)};f.list=function(a,b,c,d){this.delegate.list(a,b,c,d)};f.beginSession=function(a){return this.delegate.beginSession(a)};var nfd=function(a,b,c){this.idType_=a;this.id_=b;this.options_=c};nfd.prototype.getId=function(){return this.id_};nfd.prototype.getIndex=function(){return this.getId()+":"+this.idType_+":"+this.options_.getIndex()};var ofd=function(a,b,c){this.idType_=a;this.ids_=b;this.options_=c};f=ofd.prototype;f.getIds=function(){return this.ids_};f.getIdType=function(){return this.idType_};f.getOptions=function(){return this.options_};
f.getKeys=function(){var a=this;return this.getIds().map(function(b){return new nfd(a.getIdType(),b,a.getOptions())})};f.setIds=function(a){this.ids_=a;return this};f.setIdType=function(a){this.idType_=a};f.setOptions=function(a){this.options_=a};f.clone=function(){var a=this.getIdType(),b=this.getIds(),c=this.getOptions();return new ofd(a,b,c)};var pfd=function(a,b){this.ids_=new Set(b.getIds());this.parameters_=b.clone();this.loader_=a;this.resolver_=new T1c;this.isSent_=!1};pfd.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)}};pfd.prototype.promise=function(){return this.resolver_.promise};
pfd.prototype.merge=function(a,b){var c;(c=this.isSent_)||(c=this.parameters_,c=!(a.getIdType()===c.getIdType()&&a.getOptions()===c.getOptions()));if(c||a.getIds().length+this.ids_.size>b)return!1;a=k(a.getIds());for(b=a.next();!b.done;b=a.next())this.ids_.add(b.value);return!0};var qfd=function(a,b,c){this.delegate_=a;this.batchedRequest_=null;this.tracker_=b;this.maxRequestSize_=Y8c(c);this.lastRequestCreationTime_=0};
qfd.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 pfd(this.delegate_,a);a=Date.now();var d=a-this.lastRequestCreationTime_;this.lastRequestCreationTime_=a;im(function(){c===b.batchedRequest_&&(c.send(),b.batchedRequest_=null)},30<d?0:30)}return this.batchedRequest_.promise()};var rfd=function(a,b){this.delegate_=a;this.inflightRequests_=Z7c();this.tracker_=b};
rfd.prototype.load=function(a){for(var b=this,c=new Set,d=[],e=k(a.getKeys()),g=e.next();!g.done;g=e.next()){g=g.value;var h=g.getIndex();this.inflightRequests_.has(h)?c.add(this.inflightRequests_.get(h)):d.push(g.getId())}d.length===a.getKeys().length?this.tracker_.count(93).increment():d.length?this.tracker_.count(92).increment():this.tracker_.count(91).increment();if(d.length){var l=a.clone().setIds(d);var q=new pfd(this.delegate_,l);q.send();c.add(q);a=k(l.getKeys());for(g=a.next();!g.done;g=
a.next())this.inflightRequests_.set(g.value.getIndex(),q);q.promise().catch(function(){}).finally(function(){for(var v=k(l.getKeys()),y=v.next();!y.done;y=v.next())b.inflightRequests_.delete(y.value.getIndex())})}c=Array.from(c);return Promise.all(c.map(function(v){return v.promise()})).then(function(v){return q?q.promise().then(function(y){return tlb(v,y.metadata)}):tlb(v)})};var sfd=function(a){this.peopleLoader_=a};sfd.prototype.load=function(a){return this.peopleLoader_.loadLookupItems(a.getIdType(),a.getIds(),a.getOptions())};var tfd=function(a,b,c){this.peopleLoader_=a;this.gatedLoaders_=new Map;this.tracker_=b;this.clientConfig_=c};tfd.prototype.load=function(a){if(!this.gatedLoaders_.has(a.getIdType())){var b=new sfd(this.peopleLoader_);b=new qfd(b,this.tracker_,this.clientConfig_);b=new rfd(b,this.tracker_);this.gatedLoaders_.set(a.getIdType(),b)}return this.gatedLoaders_.get(a.getIdType()).load(a)};var ufd=function(a,b,c){this.delegate_=a;this.trackers_=b;this.searchRequests_=new Map;this.lookupLoader_=new tfd(this.delegate_,this.trackers_,c)},vfd=function(a,b,c,d){var e,g;return Ld(function(h){if(1==h.nextAddress){e=b+":"+c;if(a.searchRequests_.has(e))return a.trackers_.count(b).increment(),h.return(a.searchRequests_.get(e));g=d();a.searchRequests_.set(e,g);h.catchAddress_=0;h.finallyAddress_=2;return h.yield(g,4)}if(2!=h.nextAddress)return h.return(h.yieldResult);Nd(h);a.searchRequests_.delete(e);
return Od(h,0)})};f=ufd.prototype;f.loadRankedItems=function(a){var b=this;return vfd(this,81,"",function(){return b.delegate_.loadRankedItems(a)})};f.warmUpServer=function(a){var b=this;return vfd(this,82,"",function(){return b.delegate_.warmUpServer(a)})};f.loadAutocompleteItems=function(a,b){var c=this;return vfd(this,82,a.getPrefix(),function(){return c.delegate_.loadAutocompleteItems(a,b)})};f.loadLookupItems=function(a,b,c){return this.lookupLoader_.load(new ofd(a,b,c))};
f.loadContactItems=function(a,b){return this.delegate_.loadContactItems(a,b)};var wfd=function(){return Date.now()},xfd=function(a,b,c){this.delegate_=a;this.nowFn_=c;this.cacheFlushRateMillis_=1E3*Xh(b.getClient(),14,300);this.serverWarmupRateMillis_=1E3*Xh(b.getClient(),13,60);this.lastServerWarmup_=this.lastCacheFlush_=0};f=xfd.prototype;f.loadRankedItems=function(a){var b=a.qos;var c=this.nowFn_();1===b&&this.lastCacheFlush_+this.cacheFlushRateMillis_>c?b=!0:(this.lastCacheFlush_=c,b=!1);return b?Promise.reject(1):this.delegate_.loadRankedItems(a)};
f.warmUpServer=function(a){var b=a.qos;var c=this.nowFn_();1===b&&this.lastServerWarmup_+this.serverWarmupRateMillis_>c?b=!0:(this.lastServerWarmup_=c,b=!1);return b?Promise.reject(1):this.delegate_.warmUpServer(a)};f.loadAutocompleteItems=function(a,b){return this.delegate_.loadAutocompleteItems(a,b)};f.loadLookupItems=function(a,b,c){return this.delegate_.loadLookupItems(a,b,c)};f.loadContactItems=function(a,b){return this.delegate_.loadContactItems(a,b)};var yfd=function(a,b,c){this.delegate_=a;this.listener_=b;this.options_=c;this.delegate_.warmUpSession(c)};f=yfd.prototype;f.suggest=function(a){a=void 0===a?this.listener_:a;this.delegate_.suggest(a,this.options_)};f.search=function(a,b){b=void 0===b?this.listener_:b;this.delegate_.search(a,b,this.options_);return this};f.cancel=function(){this.delegate_.cancel();return this};f.getReporter=function(a){a=void 0===a?O4c:a;return this.delegate_.getReporter(a)};f.getHide=function(){return this.delegate_.getHide()};var zfd=function(a,b){this.delegate_=a;this.members_=b;this.totalMemberCount_=gib(a.getPrimaryTarget().getId())?b.length:a.getTotalMemberCount()};V(zfd,m2);zfd.prototype.getMemberList=function(){return this.members_};zfd.prototype.getTotalMemberCount=function(){return this.totalMemberCount_};var Afd=function(a){this.filter_=a};Afd.prototype.filterResult=function(a){var b=this;if(!gib(a.getPrimaryTarget().getId()))return a;var c=a.getMemberList().map(function(d){return b.filter_.filterResult(d)}).filter(Boolean);return 0===c.length?null:a.getMemberList().every(function(d,e){return d===c[e]})?a:new Jn(new zfd(a,c))};Afd.prototype.reset=function(a){this.filter_.reset(a)};var ulb=function(a){this.filter_=jlb(a,new Afd(a))};ulb.prototype.filterResult=function(a){return this.filter_.filterResult(a)};
ulb.prototype.reset=function(a){this.filter_.reset(a)};var Bfd=function(a){this.delegate_=a};f=Bfd.prototype;f.warmUpCache=function(){return this.delegate_.warmUpCache().then(function(){return Promise.resolve()},function(a){var b=2;a instanceof J3&&(a=a.getSource())&&(b=a.getCode());return Promise.reject(b)})};f.flushCache=function(a){this.delegate_.flushCache(a)};f.lookup=function(a,b,c){c=void 0===c?new P7c:c;c.setFilter(vlb(c.getFilter()));this.delegate_.lookup(a,b,c);return this};
f.list=function(a,b,c,d){d=void 0===d?new M7c:d;d.setFilter(vlb(d.getFilter()));this.delegate_.list(a,b,c,d);return this};f.beginSession=function(a,b){b=void 0===b?new no:b;b=b.clone();b.setFilter(vlb(b.getFilter()));var c=this.delegate_.beginSession(b);return new yfd(c,a,b)};var Cfd=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]]),Dfd=new Map([[2,13],[3,6]]),Efd=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 wlb=new Map([[1,1],[2,3],[3,5]]),Ffd=new Map([[1,2],[2,4],[3,5],[4,8],[6,15],[7,19],[10,20]]),Gfd=new Map([[1,2],[2,9],[3,6],[4,6],[6,15],[7,19],[10,20]]),Hfd=function(a,b){this.logContext_=Alb(a,b)};f=Hfd.prototype;f.getLogContext=function(){return this.logContext_};
f.createCountMetric=function(a,b,c){var d=b.source(),e=new P4;switch(d.getEventType()){case 1:d=e.setCount;b=Fh(b.source(),4,0);var g=new F4;g.setType(b);g.setValue(c);d.call(e,g);e.setEventType(1);break;case 4:case 5:c=e.setRpcRequest;b=Fh(b.source(),3,0);d=new N4;d.setLabel(b);c.call(e,d);e.setEventType(4);break;case 6:case 7:c=e.setApiCall;b=b.source();d=Fh(b,2,0);g=new C4;b.hasItemCount()&&g.setItemCount(b.getItemCount());b.hasQueryLength()&&g.setQueryLength(b.getQueryLength());b.hasLookupInfo()&&
g.setLookupInfo(b.getLookupInfo());b.hasQueryScope()&&g.setQueryScope(b.getQueryScope());g.setLabel(d);c.call(e,g);e.setEventType(6);break;default:return null}e.setClientInterface(a);return e};
f.createStatusMetric=function(a,b,c){var d=b.source(),e=new P4;switch(d.getEventType()){case 4:case 5:d=e.setRpcResponse;var g=b.source(),h=Fh(g,3,0);var l=Fh(g,13,0)||0;l=Dfd.get(l)||Cfd.get(c)||0;var q=b.durationUsec("blocked"),v=b.durationUsec("network"),y=b.durationUsec("processed");b=new O4;b.setLabel(h);b.setStatus(l);b.setBlockedUsec(q);b.setLatencyUsec(v);n(b,9,y);b.setStatusCode(c);Ag(g,12,0)&&(c=Ag(g,12,0),n(b,6,c));d.call(e,b);e.setEventType(5);break;case 6:case 7:d=e.setApiResult;h=b.source();
l=Fh(h,2,0);g=new D4;g.setLabel(l);g.setStatusCode(c);h.hasItemCount()&&g.setItemCount(h.getItemCount());h.hasQueryLength()&&g.setQueryLength(h.getQueryLength());h.hasLookupInfo()&&g.setLookupInfo(h.getLookupInfo());h.hasQueryScope()&&g.setQueryScope(h.getQueryScope());0===c&&(b=b.durationUsec("total"),g.setLatencyUsec(b));c=Efd.get(c)||0;g.setStatus(c);c=h.getResultIndex();g.setResultIndex(c);if(b=h.getCacheState())c=xlb(m(b,2)),n(g,5,c),c=xlb(m(b,3)),n(g,6,c),c=g.setDataSource,h=b.getSource(),b=
!vi(h,1),h=h.getProvenance(),b=(b?Gfd.get(h):Ffd.get(h))||0,c.call(g,b);d.call(e,g);e.setEventType(7);break;default:return null}e.setClientInterface(a);return e};
f.createLatencyMetric=function(a,b){var c=b.source();if(2!==c.getEventType())return null;var d=new P4;d.setClientInterface(a);a=d.setLatency;var e=Fh(b.source(),5,0);if(37===e||38===e||40===e){e=Fh(b.source(),5,0);var g=b.durationUsec("LATENCY_A");b=b.durationUsec("LATENCY_B");b=null!=g&&null!=b?g-b:NaN;g=new L4;g.setType(e);isFinite(b)&&g.setLatencyUsec(b);e=g}else b=b.durationUsec("total"),g=new L4,g.setType(e),g.setLatencyUsec(b),e=g;a.call(d,e);d.setEventType(c.getEventType());return d};
f.createErrorMetric=function(a,b){var c=b.source();if(3!==c.getEventType())return null;var d=new P4;d.setClientInterface(a);a=d.setError;var e=b.source();b=e.getErrorType();e=Fh(e,7,0);var g=new J4;g.setType(b);n(g,4,e);a.call(d,g);d.setEventType(c.getEventType());return d};var Ifd=function(a,b){this.delegate_=a;this.trackers_=b};f=Ifd.prototype;f.reportDisplay=function(a){this.delegate_.reportDisplay(a)};f.reportSelect=function(a,b){b=void 0===b?new P4c:b;this.delegate_.reportSelect(a,b)};f.reportExternalSelect=function(a){this.delegate_.reportExternalSelect(a)};f.reportDeselect=function(a){this.delegate_.reportDeselect(a)};f.reportProceed=function(a){this.delegate_.reportProceed(a)};f.reportDismiss=function(){this.delegate_.reportDismiss();Jfd(this)};
f.reportSave=function(a){this.delegate_.reportSave(a);Jfd(this)};f.reportSecondaryAction=function(a){this.delegate_.reportSecondaryAction(a);Jfd(this)};f.reportSend=function(a){this.delegate_.reportSend(a);Jfd(this)};var Jfd=function(a){a=a.trackers_;var b=a.api,c=new Co;Eo(c.setEventType(6),3);b.call(a,c).call()};var Kfd=function(a,b){this.delegate_=this.delegate=a;this.trackers_=b};V(Kfd,lfd);
Kfd.prototype.suggest=function(a,b){var c=this;try{var d=!1,e=!1,g=this.trackers_.api(Gkb(b.getQueryScope()));g.call();this.delegate_.suggest(function(h){var l=h.getMetadata(),q=l.getCacheState();g.source.setCacheState(q);g.source.setItemCount(h.getResults().length);g.result(q.getSource().getCode());l.getIsFirstCallback()&&(d&&0===l.getCode()&&c.trackers_.error(22,19).report(),d=!0);l.getIsLastCallback()&&(e&&0===l.getCode()&&c.trackers_.error(22,20).report(),e=!0);l=c.trackers_.latency(90);l.start();
try{a(h)}catch(v){throw c.trackers_.error(22,11).report(),v;}finally{l.stop()}},b)}catch(h){throw this.trackers_.error(22,1).report(),h;}};
Kfd.prototype.search=function(a,b,c){var d=this;try{var e=!1,g=!1,h=this.trackers_.api(Fkb(a,c.getQueryScope()));h.call();this.delegate_.search(a,function(l){var q=l.getMetadata(),v=q.getCacheState();h.source.setCacheState(v);h.source.setItemCount(l.getResults().length);h.result(v.getSource().getCode());q.getIsFirstCallback()&&(e&&0===q.getCode()&&d.trackers_.error(23,19).report(),e=!0);q.getIsLastCallback()&&(g&&0===q.getCode()&&d.trackers_.error(23,20).report(),g=!0);q=d.trackers_.latency(91);q.start();
try{b(l)}catch(y){throw d.trackers_.error(23,11).report(),y;}finally{q.stop()}},c)}catch(l){throw this.trackers_.error(23,1).report(),l;}};Kfd.prototype.getReporter=function(a){a=this.delegate_.getReporter(a);return new Ifd(a,this.trackers_)};var Lfd=function(a,b){this.delegate_=this.delegate=a;a=this.trackers_=b;b=a.api;var c=new Co;Eo(c.setEventType(6),1);b.call(a,c).call()};V(Lfd,mfd);f=Lfd.prototype;
f.warmUpCache=function(){var a=this,b=this.trackers_.api(Ekb());b.call();return this.delegate_.warmUpCache().then(function(c){b.source.setCacheState(c);b.result(c.getSource().getCode());return c},function(c){c instanceof J3?(b.source.setCacheState(c),b.result(c.getSource().getCode())):(a.trackers_.error(17,1).report(),c=(new J3).setSource((new Uo).setCode(2)));return Promise.reject(c)})};
f.flushCache=function(a){var b=this.trackers_,c=b.api;switch(a){case 2:var d=12;break;case 1:d=4;break;default:d=10}var e=new Co;Eo(e.setEventType(6),d);b=c.call(b,e);b.call();try{this.delegate_.flushCache(a),b.result(0)}catch(g){throw this.trackers_.error(17,1).report(),g;}};
f.lookup=function(a,b,c){var d=this;try{var e=!1,g=!1,h=this.trackers_.api(Ckb(a,c.getQueryScope()));h.call();this.delegate_.lookup(a,function(l){var q=l.getMetadata(),v=q.getCacheState();h.source.setCacheState(v);h.source.setItemCount(l.getResults().size);for(var y=0,B=0,I=0,N=k(l.getResults().keys()),Q=N.next();!Q.done;Q=N.next()){var Z=Q.value;KGc.includes(Z.getType())?y++:LGc.includes(Z.getType())?B++:MGc.includes(Z.getType())&&I++}var Y=0;N=Z=0;var ka=k(q.notFoundIdList_);for(Q=ka.next();!Q.done;Q=
ka.next())Q=Q.value,KGc.includes(Q.getType())?Y++:LGc.includes(Q.getType())?Z++:MGc.includes(Q.getType())&&N++;Q=h.source.getLookupInfo();y=n(Q,2,y);B=n(y,1,B);I=n(B,3,I);I=n(I,5,Y);I=n(I,4,Z);n(I,6,N);h.result(v.getSource().getCode());q.getIsFirstCallback()&&(e&&0===q.getCode()&&d.trackers_.error(8,19).report(),e=!0);q.getIsLastCallback()&&(g&&0===q.getCode()&&d.trackers_.error(8,20).report(),g=!0);q=d.trackers_.latency(89);q.start();try{b(l)}catch(la){throw d.trackers_.error(8,11).report(),la;}finally{q.stop()}},
c)}catch(l){throw this.trackers_.error(8,1).report(),l;}};f.list=function(a,b,c,d){var e=this;try{var g=this.trackers_.api(Dkb());g.call();this.delegate_.list(a,b,function(h){var l=h.getMetadata().getCacheState();g.source.setCacheState(l);g.result(l.getSource().getCode());try{c(h)}catch(q){throw e.trackers_.error(27,11).report(),q;}},d)}catch(h){throw this.trackers_.error(27,1).report(),h;}};
f.beginSession=function(a){var b=this.trackers_,c=b.api,d=new Co;Eo(d.setEventType(6),2);c.call(b,d).call();a=this.delegate_.beginSession(a);return new Kfd(a,this.trackers_)};var Mfd=function(a,b){this.clearcut_=a;this.logEventFactory_=b};Mfd.prototype.report=function(a){var b=ZGc(this.clearcut_);a=this.logEventFactory_.eventsFactory_.create(b,a);a=k(a);for(b=a.next();!b.done;b=a.next())$Gc(this.clearcut_,b.value)};var Nfd=function(a){this.clearcut_=a};Nfd.prototype.report=function(a){this.clearcut_.report(a);return this};var Ofd=function(a){this.writer_=a},Qfd=function(a,b,c){var d=new tS,e=a.writer_,g=d.getMetadata()||new sS;d.setMetadata(g);var h=go(b)||new Ko;a=W(b,Lo,1)||new Lo;e.metadataStateWriter_.write(g,h,(vi(a,9,!0)?Ag(h,2,0):Ag(h,1,0))||0,Pfd(b));e.contactInfoWriter_.write(d,a,c,h.getProvenance()||0);b=W(d,qS,4)||new qS;Oh(d,qS,4,b);W(d,qS,4).setType(a.getFieldTypeOrUndefined());d.setLoggingId(eq(a,2));return d};var Rfd=function(){};
Rfd.prototype.create=function(a,b,c){var d=new lS;d.setQueryId(Wh(b,3,0));d.setSelectionId(Wh(b,4,0));var e=Wh(b,5,0);n(d,3,e);d.setInstanceId(b.getInstanceId());d.setAffinityVersion(b.getAffinityVersionOrUndefined());e=new mS;Oh(e,lS,3,d);7!==c&&b.hasQuery()&&(d=b.getQuery(),2===c&&e.setQuery(d),e.setQueryLength(d.length));var g=new nS;d=AOa(Xh(b,9,0)-Xh(b,8,0));n(g,2,d);d=new uS;Oh(d,mS,1,e);Oh(d,nS,6,g);e=new kS;if(g=Wh(b,6,0)){n(e,3,1E3*g);var h=1E3*(Date.now()-g);n(e,2,h)}xi(e,1,!!g);Oh(d,kS,
3,e);d.setAffinityVersion(b.getAffinityVersionOrUndefined());b=new vS;b.setEventType(c);b.setMetadata(d);b.setClientInterface(a.clone());return b};var Sfd=function(){};Sfd.prototype.extractPersonEventSource=function(a){return Up(Blb(a),4)};Sfd.prototype.extractFieldEventSource=function(a){return Up(Blb(a),3)};var Tfd=function(){};Tfd.prototype.extractPersonEventSource=function(a){var b=a.getSources()||new Po;return(a.getQuery()||"").length?m(b,2):m(b,4)};Tfd.prototype.extractFieldEventSource=function(a){var b=a.getSources()||new Po;return(a.getQuery()||"").length?m(b,1):m(b,3)};var Ufd=function(){};Ufd.prototype.extractPersonEventSource=function(a){return Up(Clb(a),4)};Ufd.prototype.extractFieldEventSource=function(a){return Up(Clb(a),3)};var Vfd=function(a,b,c){this.defaultTokenGroups_=a;this.additionTokenGroups_=b;this.replacementTokenGroups_=c};var Wfd=new Map([[1,11],[2,12],[0,0]]),Xfd=function(){};Xfd.prototype.write=function(a,b,c){var d=new oS;n(d,1,c);c=new pS;c.setPosition(d);c.setExistingSelectionsCount(b.getExistingSelectionsCount());Oh(a,pS,8,c);b=[Wfd.get(b.getContext())];Oj(a,3,b)};var Yfd=new Map([[1,5],[2,4],[3,6],[7,13]]),Zfd=function(){};Zfd.prototype.write=function(a,b,c,d){var e=new oS;n(e,1,c);a.setPosition(e);c=Yfd.get(b.getProvenance())||0;d||1===Fh(b,4,0)?c=3:2===Fh(b,4,0)&&(c=10);Oj(a,3,[c])};var $fd=new Set([9,1,2]),agd=function(){};
agd.prototype.write=function(a,b,c,d){if(8===c||10===c||9===c||2===c&&$fd.has(d))c=new qS,1!==b.getFieldType_legacyNullable()&&7!==b.getFieldType_legacyNullable()||c.setEmail(eq(b,3)),2!==b.getFieldType_legacyNullable()&&5!==b.getFieldType_legacyNullable()||c.setPhone(eq(b,3)),b.hasProfileId()&&c.setObfuscatedGaiaId(b.getProfileId()),b.hasGroupId()&&c.setGroupId(b.getGroupId()),Oh(a,qS,4,c),c=new rS,c.setName(b.getNameOrUndefined()),b=a.getMetadata()||new sS,Oh(b,rS,2,c),a.setMetadata(b)};var bgd=function(a){var b=new agd;this.metadataStateWriter_=a;this.contactInfoWriter_=b},Pfd=function(a){var b;return(null==(b=W(a,Lo,1))?0:b.getIsPlaceholder())?!0:!1};var So=function(a){r.call(this,a)};V(So,r);f=So.prototype;f.getEventType=function(){return Fh(this,1,0)};f.getEventType_legacyNullable=function(){return m(this,1)};f.setEventType=function(a){return n(this,1,a)};f.getSessionState=function(){return W(this,h2,2)};f.setSessionState=function(a){Oh(this,h2,2,a)};f.hasSessionState=function(){return qi(this,h2,2)};f.setEventSources=function(a){Oh(this,Po,4,a)};So.repeatedFields_=[3];
So.prototype.toObject=function(){if(null!=this){t(this);var a={eventType:p(m(this,1)),sessionState:d0c(this.getSessionState()),tokensList:Mb(yg(this,Jo,3),j0c),eventSources:f2(W(this,Po,4))}}else a=void 0;return a};So.prototype.serializeBinary=u([So,1,Nq,2,X,e0c,3,Iq,k0c,4,X,g2]);var cgd=new Set([8]),dgd=function(){this.defaultEntityFactory_=new Ofd(new bgd(new Zfd));this.contextualEntityFactory_=new Ofd(new bgd(new Xfd));this.extensionFactory_=new Rfd;this.defaultEventSourceExtractor_=new Tfd;this.additionEventSourceExtractor_=new Sfd;this.replacementEventSourceExtractor_=new Ufd};
dgd.prototype.create=function(a,b){var c=b.getSessionState()||new h2,d=b.getEventType_legacyNullable();b=yg(b,Jo,3);var e=Dlb(b,Flb);var g=e.get(0);b=e.get(1);e=e.get(2);g=g?[].concat(Jc(Dlb(g,Elb).values())):[];b=b?[].concat(Jc(Dlb(b,Elb).values())):[];e=e?[].concat(Jc(Dlb(e,Elb).values())):[];g=new Vfd(g,b,e);b=[];var h=k(g.defaultTokenGroups_);for(e=h.next();!e.done;e=h.next())b.push.apply(b,Jc(egd(this,a,d,e.value,c,this.defaultEventSourceExtractor_,this.defaultEntityFactory_)));h=k(g.additionTokenGroups_);
for(e=h.next();!e.done;e=h.next())b.push.apply(b,Jc(egd(this,a,d,e.value,c,this.additionEventSourceExtractor_,this.contextualEntityFactory_)));g=k(g.replacementTokenGroups_);for(e=g.next();!e.done;e=g.next())b.push.apply(b,Jc(egd(this,a,d,e.value,c,this.replacementEventSourceExtractor_,this.contextualEntityFactory_)));return b};
var egd=function(a,b,c,d,e,g,h){var l=[];e=d[0].getSessionState()||e;var q=d.map(function(y){var B=new tS,I=h.writer_,N=B.getMetadata()||new sS;B.setMetadata(N);var Q=go(y)||new Ko,Z=W(y,Lo,1)||new Lo;I.metadataStateWriter_.write(N,Q,Ag(Q,2,0)||0,Pfd(y));I.contactInfoWriter_.write(B,Z,c,Q.getProvenance()||0);B.setLoggingId(eq(Z,1));y=W(B,qS,4)||new qS;Oh(B,qS,4,y);y.setType(Qo(Z,8));return B});l.push(fgd(a,b,c,g.extractPersonEventSource(e),q,e));q=[];d=k(d);for(var v=d.next();!v.done;v=d.next())v=
v.value,qi(v,Lo,1)&&cgd.has(W(v,Lo,1).getFieldType_legacyNullable())||q.push(Qfd(h,v,c));q.length&&l.push(fgd(a,b,c,g.extractFieldEventSource(e),q,e));return l},fgd=function(a,b,c,d,e,g){a=a.extensionFactory_.create(b,g,c);a.getClientInterface().setEventSource(d);Th(a,2,e);return a};var ggd=function(a,b){this.logContext_=ylb(No(new Oo,"PeopleStore.BigBug").setLogSource(Fh(a.getClearcut(),3,41)).setApplication(a.getClearcut().getSocialApplication()).setEnvironment(a.runtimeConfig_.getPeopleApiEnv()).setVersion("1004").setBaselineCl(536574007).setEnableClearcut(a.getClearcut().getEnableClearcut()),[].concat(Jc(a.runtimeConfig_.getExperiments().getExperimentIdsList()),Jc(zlb?zlb.getExperimentIds():[]))).setPeoplekitEntryPoint(b.getPeoplekitEntryPoint()).setClientAgent(2);this.eventsFactory_=
new dgd};ggd.prototype.getLogContext=function(){return this.logContext_};var hgd=function(a){this.clientConfig_=a;this.reportingCache_=new Map};hgd.prototype.create=function(a){var b=a.serialize();this.reportingCache_.has(a.serialize())||(a=new ggd(this.clientConfig_,a),a=new Nfd(new Mfd(YGc(a),a)),this.reportingCache_.set(b,a));return this.reportingCache_.get(b)};var igd=function(a,b){this.reporting_=a;this.sharedSessionState_=b};f=igd.prototype;f.reportDisplay=function(a){O5(this,To(a,1))};f.reportSelect=function(a,b){b=void 0===b?new P4c:b;if(0!==b.getOriginator())for(var c=k(a),d=c.next();!d.done;d=c.next()){d=d.value;if(!qi(d,Ko,2)){var e=new Ko;Oh(d,Ko,2,e)}d=go(d);n(d,4,b.getOriginator())}b=Wh(this.sharedSessionState_,4,0)+1;n(this.sharedSessionState_,4,b);O5(this,To(a,2,this.sharedSessionState_))};
f.reportExternalSelect=function(a){for(var b=k(a),c=b.next();!c.done;c=b.next()){c=c.value;if(!qi(c,Ko,2)){var d=new Ko;Oh(c,Ko,2,d)}c=go(c);n(c,4,2)}b=Wh(this.sharedSessionState_,4,0)+1;n(this.sharedSessionState_,4,b);O5(this,To(a,15,this.sharedSessionState_))};f.reportDeselect=function(a){O5(this,To(a,17,this.sharedSessionState_))};f.reportProceed=function(a){O5(this,To(a,10,this.sharedSessionState_))};
f.reportDismiss=function(){var a=this.sharedSessionState_,b=new So;a=a.clone();b.setSessionState(a);b.setEventType(7);b.setEventSources(a.getSources());O5(this,[b])};f.reportSave=function(a){O5(this,To(a,9,this.sharedSessionState_))};f.reportSecondaryAction=function(a){O5(this,To(a,19,this.sharedSessionState_))};f.reportSend=function(a){O5(this,To(a,8,this.sharedSessionState_,!0))};var O5=function(a,b){b=k(b);for(var c=b.next();!c.done;c=b.next())a.reporting_.report(c.value)};var P5=function(a,b,c){this.delegate_=this.delegate=a;this.sharedSessionState_=c;n(this.sharedSessionState_,5,Math.floor(9007199254740991*Math.random()));this.reportingFactory_=b};V(P5,lfd);P5.prototype.suggest=function(a,b){var c=this;b0c(this.sharedSessionState_,Wh(this.sharedSessionState_,3,0)+1);var d=this.sharedSessionState_.clone();d.setQuery("");c0c(d);var e=0;this.delegate_.suggest(function(g){e=jgd(c,g.getResults(),Hlb(g),d,e);a(g)},b)};
P5.prototype.search=function(a,b,c){var d=this;b0c(this.sharedSessionState_,Wh(this.sharedSessionState_,3,0)+1);var e=this.sharedSessionState_.clone();e.setQuery(a);c0c(e);var g=0;this.delegate_.search(a,function(h){g=jgd(d,h.getResults(),Hlb(h),e,g);b(h)},c)};P5.prototype.getReporter=function(a){return new igd(this.reportingFactory_.create(a),this.sharedSessionState_)};P5.prototype.getSessionState=function(){return this.sharedSessionState_};
var jgd=function(a,b,c,d,e){var g=FFc();n(d,9,Pa(g));g=a.delegate_.getLastUpdatedTimestamp();n(d,6,g);d.setAffinityVersion(a.delegate_.getAffinityVersion());a=k(b);for(g=a.next();!g.done;g=a.next()){b=0;g=k(g.value.getTargetList());for(var h=g.next();!h.done;h=g.next()){h=h.value.getLoggingToken();var l=go(h)||new Ko;7!==l.getProvenance()&&l.setProvenance(c.getProvenance());n(l,2,e);n(l,1,b);Oh(h,Ko,2,l);h.setSessionState(d);b++}e++}return e};var kgd=function(a,b,c){this.delegate_=this.delegate=a;this.reportingFactory_=b;this.instanceId_=ggb();this.clearcutConfig_=c};V(kgd,mfd);
kgd.prototype.lookup=function(a,b,c){this.delegate_.lookup(a,function(d){var e=Array.from(d.getResults().values()),g,h=d.getMetadata();h.getCacheState()&&(h=h.getCacheState(),h.hasSource()&&(g=h.getSource()));g=g||new Uo;h=c.getOriginator();e=k(e);for(var l=e.next();!l.done;l=e.next()){l=k(l.value.getTargetList());for(var q=l.next();!q.done;q=l.next()){q=q.value.getLoggingToken();var v=go(q)||new Ko;7!==v.getProvenance()&&v.setProvenance(g.getProvenance());n(v,4,h);Oh(q,Ko,2,v)}}b(d)},c)};
kgd.prototype.beginSession=function(a){var b=new h2,c=lgd(this,a);Oh(b,Po,10,c);c=mgd(this,a);Oh(b,Ro,12,c);b.setInstanceId(this.instanceId_);a=this.delegate_.beginSession(a);return new P5(a,this.reportingFactory_,b)};
var lgd=function(a,b){a=yg(a.clearcutConfig_,Po,5);return a.find(function(c){return c.getEntryPoint()===b.getEntryPoint()})||a.find(function(c){return 0===c.getEntryPoint()})||new Po},mgd=function(a,b){a=yg(a.clearcutConfig_,Ro,6);return a.find(function(c){return c.getEntryPoint()===b.getEntryPoint()})||a.find(function(c){return 0===c.getEntryPoint()})||new Ro};var ngd={create:function(a){var b=Wa(P8c||(P8c=O8c('[[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 Z3(b,a);a.runtimeConfig_.getExperiments().getProfileId()?X8c(a).getIsEnabled()?(b=Wa(Z8c||(Z8c=djb('[null,null,null,null,null,null,null,"AIzaSyABqJ85_R2irnKzMtGBL0iHuyFBi6Efk1w"]'))),
b=new ejb(b,1)):b=new oo:b=new oo;var c=a.runtimeConfig_.getExperiments().getProfileId_legacyNullable(),d=a.runtimeConfig_;zlb=b.loadExperiments(X8c(a).getApplication(),(new fjb).setPeopleApiEnv(d.getPeopleApiEnv()),c);b=new Cdd;b.cacheConfigurators_.push(new C8c);c=b;c=void 0===c?new Cdd:c;b=a.getClearcut();b=new Hfd(b,a.runtimeConfig_);b=po(b);b=new fbd(b);d=new gbd(a,b);var e=c;c=a.getClient();c=new Sdd(d.targetFactory_,c);var g=void 0===g?wfd:g;g=new xfd(d.loader_,a,g);g=new ufd(g,b,a);var h=
[new kfd,new Kdd].concat(Jc(e.cacheConfigurators_)),l=[],q=[],v=new jed(c,a);e=new ced(q,v);d={clientConfig:a,trackers:b,storage:c,indexer:v,loader:g,loaderFactory:d,trieFactory:new Ded(c,e,b),prefixCaches:l,lookupStages:q};h=k(h);for(q=h.next();!q.done;q=h.next())q.value.configure(d);d=new red(l);g=new wed(a,b,d,e,new Zdd(g,c),c);d=a.getClient();c=new afd(d,c);d=a.getClient();g=new Qed(g,c,d);c=new hgd(a);a=a.getClearcut();g=new kgd(g,c,a);g=new Lfd(g,b);return new Bfd(g)}};var Q5=function(a,b){var c=this;this.fridge=a;this.userAccess=b;this.currentComponentId="";this.providedComponentId$=new F.ReplaySubject(1);this.accessCheckIsThinking$=new F.BehaviorSubject(!0);this.component$=this.providedComponentId$.pipe(pe(function(d){return c.fridge.watchOne(d)}));this.userIsComponentReader$=this.providedComponentId$.pipe(pe(function(d){d!==c.currentComponentId&&(c.accessCheckIsThinking$.next(!0),c.currentComponentId=d);return JF(c.userAccess,"reader","components/"+d).then(function(e){return e},
function(){return!1}).finally(function(){c.accessCheckIsThinking$.next(!1)})}));this.isReady$=(0,F.combineLatest)([this.fridge.thinking$,this.accessCheckIsThinking$]).pipe(E(function(d){var e=k(d);d=e.next().value;e=e.next().value;return!d&&!e}),oe(!1));this.manageComponentLink=""};Q5.prototype.ngOnInit=function(){this.currentComponentId=this.componentId};Q5.prototype.ngOnChanges=function(){this.providedComponentId$.next(this.componentId);this.manageComponentLink="/components/"+this.componentId};
Q5.\u0275fac=function(a){return new (a||Q5)(D(xF),D(IF))};
Q5.\u0275cmp=zc({type:Q5,selectors:[["b-async-component"]],inputs:{componentId:"componentId"},features:[Mc],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),T(1,"async"),R(2,Ilb,3,4,"a",1),T(3,"async"),R(4,Jlb,2,1,"ng-template",null,2,of),J());if(a&2){var c=Se(5);G("isReady",U(1,3,b.isReady$));C(2);G("ngIf",U(3,5,b.userIsComponentReader$))("ngIfElse",c)}},dependencies:[Tu,CK,Zu],
encapsulation:2});var R5=function(a){this.documentationLinks=a;this.showIssueMetadataContainer=!1;this.manageComponentLink=""};
gg.Object.defineProperties(R5.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=rl(a.modifiedTime),a.teamId&&0!==a.teamId&&(this.issueTeamId=String(a.teamId)),a=a.issueState)this.issueType=cjc[a.type],this.issueStatus=dk[a.status],this.issuePriority=a.priority,this.issueSeverity=ajc[a.severity],this.issueComponentId=String(a.componentId),this.accessLimitLevel=
O9a(a.accessLimitLevel)}}});R5.\u0275fac=function(a){return new (a||R5)(D(NI))};
R5.\u0275cmp=zc({type:R5,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),S(2," Access is denied to this issue "),J(),R(3,Mlb,40,13,
"ol",2),J());a&2&&(C(3),G("ngIf",b.showIssueMetadataContainer))},dependencies:[Tu,Q5,vI,IK,bv],styles:[".b-access-denied[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}ol[_ngcontent-%COMP%]{box-sizing:border-box;max-width:400px;min-width:300px;padding-right:8px;word-break:break-word}li[_ngcontent-%COMP%]{display:flex;flex-direction:row;margin-bottom:16px;line-height:21px}li[_ngcontent-%COMP%]:last-of-type{margin-bottom:0}label[_ngcontent-%COMP%]{min-width:120px;font-weight:bold;color:#5f6368;color:var(--text-muted);margin-right:8px;font-size:.8125rem}"],
changeDetection:0});var S5=function(){};S5.\u0275fac=function(a){return new (a||S5)};S5.\u0275mod=Bc({type:S5});S5.\u0275inj=oc({imports:[MF,uN]});var T5=function(){};T5.\u0275fac=function(a){return new (a||T5)};T5.\u0275mod=Bc({type:T5});T5.\u0275inj=oc({imports:[MF,S5,mN,qN]});var ogd=Symbol("Le"),U5=function(a){this.ruleConfigService=a};U5.prototype.build=function(a){if(a.customField)var b="DATE"===a.customField.type?new V5(a,W5(this.ruleConfigService)):"ENUM"===a.customField.type?new pgd(a,W5(this.ruleConfigService)):"NUMERIC"===a.customField.type?new X5(a,W5(this.ruleConfigService)):new Y5(a,W5(this.ruleConfigService));else b=a.label.field,b=W5(this.ruleConfigService)[b],b=new (b&&b.ruleCtor||Z5)(a,W5(this.ruleConfigService));b[ogd](a);return b};
var lnb=function(a,b,c){return a.build({label:{field:b,customFieldId:c&&c.customFieldId||void 0},operator:"EQ",negated:!1,type:"",customField:c})};U5.\u0275fac=function(a){return new (a||U5)(w($5))};U5.\u0275prov=nc({token:U5,factory:U5.\u0275fac,providedIn:"root"});
var qgd=["OR","AND","NAND"],rgd=["OR","NAND"],sgd="LT GT LE GE RANGE NRANGE DURATION NDURATION OR".split(" "),tgd=["AND","OR","NAND"],ugd=["OR","LT","GT","LE","GE"],Z5=function(a,b){this.ruleConfigLookup=b;this.values=[];this.type="";this.isPendingCustomField=!1;this.label=a.label};Z5.prototype[ogd]=function(a){this.initType(a);this.initValues(a)};
Z5.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]};Z5.prototype.initValues=function(a){this.values=(a.values||[]).map(function(b){return{value:b.simpleValues[0].value}})};
var vgd=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}};
Z5.prototype.toString=function(){var a=vgd(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=wgd(this);return(a.negated?"-":"")+d+(d?c[a.operator]:"")+b};var wgd=function(a){var b=a.label.field,c=a.ruleConfigLookup[b];return c&&(c=c.queryLabel,null!=c)?c:nsa(b).toLowerCase()+(a.label.customFieldId||"")};Z5.prototype.valuesToStrings=function(){return this.values.map(function(a){return a.value}).filter(function(a){return a})};
Z5.prototype.getWidgetType=function(){return"default"};Z5.prototype.isValid=function(){return this.getLegalTypes().includes(this.type)};Z5.prototype.getLegalTypes=function(){return qgd};var xgd=[],a6=function(a,b){Z5.call(this,a,b);this.enumValues={}};V(a6,Z5);f=a6.prototype;f.getLegalTypes=function(){return rgd};f.getWidgetType=function(){return"enum"};
f.initValues=function(a){this.enumValues={};for(var b=k(this.getOptions()),c=b.next();!c.done;c=b.next())this.enumValues[c.value.id]=!1;a=k(a.values||[]);for(b=a.next();!b.done;b=a.next())this.enumValues[Nlb(b.value.simpleValues[0].value)]=!0};f.valuesToStrings=function(){return Object.keys(Ub(this.enumValues,function(a){return a}))};f.getOptions=function(){return xgd};var ygd=Laa().map(function(a){return{id:"p"+a,label:"P"+a}}),zgd=function(a,b){a6.call(this,a,b)};V(zgd,a6);
zgd.prototype.getOptions=function(){return ygd};var Agd=Laa().map(function(a){return{id:"s"+a,label:"S"+a}}),Bgd=function(a,b){a6.call(this,a,b)};V(Bgd,a6);Bgd.prototype.getOptions=function(){return Agd};
var Cgd=[{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"}],Dgd=function(a,b){a6.call(this,a,b)};V(Dgd,a6);Dgd.prototype.getOptions=function(){return Cgd};
var Egd=[{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"}],Fgd=function(a,b){a6.call(this,a,b)};V(Fgd,a6);Fgd.prototype.getOptions=function(){return Egd};
var Ggd=[{id:"abuse"},{id:"pii"},{id:"user_request",label:"user request"},{id:"retention"}],Hgd=function(a,b){a6.call(this,a,b)};V(Hgd,a6);Hgd.prototype.getOptions=function(){return Ggd};var pgd=function(a,b){a6.call(this,a,b);this.allowedValues=[]};V(pgd,a6);pgd.prototype[ogd]=function(a){this.allowedValues=a.customField.allowedValue.map(function(b){return{label:b,id:Nlb(b)}});a6.prototype[ogd].call(this,a)};
pgd.prototype.valuesToStrings=function(){return Object.keys(Ub(this.enumValues,function(a){return a})).map(function(a){return'"'+a+'"'})};pgd.prototype.getOptions=function(){return this.allowedValues};var cp=function(a,b){Z5.call(this,a,b);this.csv=""};V(cp,Z5);cp.prototype.getWidgetType=function(){return"csv"};cp.prototype.initValues=function(a){this.csv=(a.values||[]).map(function(b){return b.simpleValues[0].value}).join(",")};cp.prototype.valuesToStrings=function(){return this.csv.split(",").map(function(a){return a.trim()}).filter(function(a){return a})};
var b6=function(a,b){cp.call(this,a,b)};V(b6,cp);b6.prototype.getWidgetType=function(){return"id"};b6.prototype.valuesToStrings=function(){return cp.prototype.valuesToStrings.call(this).map(function(a){return"none"===a.toLowerCase()?"none":"any"===a.toLowerCase()?"any":String(Ig(a))})};var Igd=function(a,b){cp.call(this,a,b)};V(Igd,b6);Igd.prototype.getLegalTypes=function(){return rgd};var c6=function(a,b){cp.call(this,a,b)};V(c6,cp);c6.prototype.getWidgetType=function(){return"user"};
var d6=function(a,b){cp.call(this,a,b)};V(d6,c6);d6.prototype.getLegalTypes=function(){return rgd};var V5=function(a,b){Z5.call(this,a,b);this.dateTo=this.dateFrom=this.duration=""};V(V5,Z5);var Rmb=function(a){return a&&"string"===typeof a?a:""};V5.prototype.initType=function(a){Z5.prototype.initType.call(this,a);var b=a.values&&a.values[0];b&&("RANGE"===b.type?this.type=a.negated?"NRANGE":"RANGE":Dp(b.simpleValues[0].value,"d")&&(this.type=a.negated?"NDURATION":"DURATION"))};
V5.prototype.getWidgetType=function(){return"date"};V5.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=Jgd(b),"RANGE"===this.type||"NRANGE"===this.type)this.dateTo=Jgd(a.values[0].simpleValues[1].value)}};
V5.prototype.valuesToStrings=function(){if("DURATION"===this.type||"NDURATION"===this.type){var a=Ig(this.duration);return!a||isNaN(a)?[]:[a+"d"]}if("RANGE"===this.type||"NRANGE"===this.type){a=this.dateFrom&&Kgd(this.dateFrom)||(new Dg).toIsoString(!0);var b=this.dateTo&&Kgd(this.dateTo)||(new Dg).toIsoString(!0);return[a+".."+b]}return[this.dateFrom&&Kgd(this.dateFrom)||(new Dg).toIsoString(!0)]};
var Lgd=function(a){var b=String(a.getMonth()+1),c=String(a.getDate());return b+"/"+c+"/"+String(a.getFullYear())},Jgd=function(a){var b=new sl(2E3);a=Lg(a);var c=-1==a.indexOf("T")?" ":"T";a=a.split(c);var d=a[0].match(T2b);if(d){var e=Number(d[2]),g=Number(d[3]),h=Number(d[4]);c=Number(d[5]);var l=Number(d[6])||1;b.setFullYear(Number(d[1]));h?(b.setDate(1),b.setMonth(0),b.add(new dz("d",h-1))):c?(b.setMonth(0),b.setDate(1),d=b.getDay()||7,b.add(new dz("d",(4>=d?1-d:8-d)+(Number(l)+7*(Number(c)-
1))-1))):(e&&(b.setDate(1),b.setMonth(e-1)),g&&b.setDate(g));c=!0}else c=!1;if(c&&!(c=2>a.length)){c=a[1];a=c.match(V2b);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(U2b)){if(a){a=b.getYear();c=b.getMonth();l=b.getDate();d=Number(h[1]);e=Number(h[2])||0;g=Number(h[3])||0;var v=h[4]?1E3*Number(h[4]):0;(h=0<=a&&100>a)&&(a+=400);a=Date.UTC(a,c,l,d,e,g,v);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 Lgd(c?b:null)},Kgd=function(a){a=a.split("/").map(Number);return(new Dg(a[2],a[0]-1,a[1])).toIsoString(!0)};V5.prototype.getLegalTypes=function(){return sgd};var e6=function(a,b){Z5.call(this,a,b)};V(e6,Z5);e6.prototype.getWidgetType=function(){return"bool"};
e6.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"};e6.prototype.toString=function(){return wgd(this)+":"+("OR"===this.type)};e6.prototype.getLegalTypes=function(){return rgd};var f6=function(a,b){Z5.call(this,a,b)};V(f6,Z5);f6.prototype.getWidgetType=function(){return"boolwithall"};
f6.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")};f6.prototype.toString=function(){var a=wgd(this)+":";switch(this.type){case "OR":return a+"true";case "NAND":return a+"false";default:return a+"all"}};
f6.prototype.getLegalTypes=function(){return tgd};var Y5=function(a,b){Z5.call(this,a,b)};V(Y5,Z5);Y5.prototype.getWidgetType=function(){return"text"};Y5.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}})};Y5.prototype.valuesToStrings=function(){return this.values.map(function(a){return-1<a.value.indexOf(" ")?'"'+a.value+'"':a.value})};
var Mgd=function(a,b){Z5.call(this,a,b)};V(Mgd,Z5);Mgd.prototype.getWidgetType=function(){return"component"};Mgd.prototype.initValues=function(a){a.values&&(this.values=a.values.map(function(b){b=b.simpleValues[0].value;var c={value:b,includeSubs:!1};Dp(b,"+")&&(b=b.slice(0,b.length-1),c.value=b,c.includeSubs=!0);return c}))};Mgd.prototype.valuesToStrings=function(){return this.values.map(function(a){return a.value+(a.includeSubs?"+":"")}).filter(function(a){return a})};
var Ngd=function(a,b){Z5.call(this,a,b)};V(Ngd,Z5);Ngd.prototype.initValues=function(a){a.values&&(this.values=a.values.map(function(b){b=b.simpleValues[0].value;var c={value:b,includeSubs:!1};Dp(b,"+")&&(b=b.slice(0,b.length-1),c.value=b,c.includeSubs=!0);return c}))};Ngd.prototype.valuesToStrings=function(){return this.values.map(function(a){return a.value+(a.includeSubs?"+":"")}).filter(function(a){return a})};var Ogd=function(a,b){Z5.call(this,a,b)};V(Ogd,Z5);Ogd.prototype.getWidgetType=function(){return"tracker"};
var Pgd=function(a,b){Z5.call(this,a,b)};V(Pgd,Ngd);Pgd.prototype.getWidgetType=function(){return"team"};var Qgd=function(a,b){Z5.call(this,a,b)};V(Qgd,Z5);Qgd.prototype.getWidgetType=function(){return"hotlist"};var Rgd=function(a,b){Z5.call(this,a,b)};V(Rgd,Z5);Rgd.prototype.getWidgetType=function(){return"savedsearch"};var X5=function(a,b){cp.call(this,a,b)};V(X5,cp);X5.prototype.getWidgetType=function(){return"number"};X5.prototype.getLegalTypes=function(){return ugd};
var Sgd=function(a,b){V5.call(this,a,b)};V(Sgd,V5);Sgd.prototype.initType=function(a){V5.prototype.initType.call(this,a);a.negated&&(this.type="ERR")};
var g6={},Tgd=(g6.ATTACHMENT={ruleCtor:Y5,name:"Attachment name"},g6.COMMENT={ruleCtor:Y5},g6.TITLE={ruleCtor:Y5},g6.ASSIGNEE={ruleCtor:d6},g6.MODIFIER={ruleCtor:c6},g6.REPORTER={ruleCtor:d6},g6.VERIFIER={ruleCtor:d6},g6.CC={ruleCtor:c6},g6.COMPONENT_ID={ruleCtor:Mgd,name:"Component"},g6.TRACKER_ID={ruleCtor:Ogd,name:"Tracker"},g6.TYPE={ruleCtor:Dgd},g6.STATUS={ruleCtor:Fgd},g6.PRIORITY={ruleCtor:zgd},g6.SEVERITY={ruleCtor:Bgd},g6.BLOCKED_BY_ID={ruleCtor:b6},g6.BLOCKING_ID={ruleCtor:b6},g6.PARENT_ID=
{ruleCtor:b6},g6.CANONICAL_ID={ruleCtor:Igd},g6.ID={ruleCtor:Igd},g6.FOUND_IN={ruleCtor:cp},g6.TARGETED_TO={ruleCtor:cp},g6.VERIFIED_IN={ruleCtor:cp},g6.CL={ruleCtor:cp,name:"Changelists"},g6.MODIFIED={ruleCtor:V5},g6.RESOLVED={ruleCtor:Sgd},g6.CREATED={ruleCtor:V5},g6.VERIFIED={ruleCtor:Sgd},g6.DELETION_TIME={ruleCtor:V5,name:"Deletion time"},g6.SAVED_SEARCH_ID={ruleCtor:Rgd,name:"Saved search"},g6.HOTLIST_ID={ruleCtor:Qgd,name:"Hotlist"},g6.STAR={ruleCtor:e6,name:"Starred"},g6.MUTE={ruleCtor:e6,
name:"Muted"},g6.IN_PROD={ruleCtor:e6,name:"In production"},g6.CC_COUNT={ruleCtor:X5},g6.DUPLICATE_COUNT={ruleCtor:X5},g6.VOTE_COUNT={ruleCtor:X5},g6.COMMENT_COUNT={ruleCtor:X5},g6.LAST_MODIFIER={ruleCtor:d6,name:"Last Modified By"},g6.COMMENTER={ruleCtor:c6},g6.LAST_COMMENTER={ruleCtor:d6},g6.ARCHIVED={ruleCtor:f6},g6.IS_DELETED={ruleCtor:e6,name:"Deleted",queryLabel:"deleted"},g6.DELETION_REASON={ruleCtor:Hgd,name:"Deletion reason"},g6._TEXT_={ruleCtor:Y5,queryLabel:"",name:"All fields"},g6),Ugd=
Object.assign({},Tgd,{EFFORT_LABEL:{ruleCtor:cp},MENTION:{ruleCtor:c6},MIN_SLO_TARGET:{ruleCtor:V5,name:"Nearest SLO",queryLabel:"nearestslo"},POSTMORTEM:{ruleCtor:cp,name:"Postmortems"},TEAM_ID:{ruleCtor:Pgd,name:"Team"}}),$5=function(a){this.activeSession=a},W5=function(a){return a.activeSession.isExternalSession()?Tgd:Ugd};$5.\u0275fac=function(a){return new (a||$5)(w(rp))};$5.\u0275prov=nc({token:$5,factory:$5.\u0275fac,providedIn:"root"});var h6=function(a){r.call(this,a)};V(h6,r);f=h6.prototype;f.getField=function(){return Fh(this,1,0)};f.setField=function(a){n(this,1,a)};f.getCustomFieldId=function(){return lh(this,2)};f.setCustomFieldId=function(a){return n(this,2,a)};f.hasCustomFieldId=function(){return kh(this,2)};f.toObject=function(){return Vgd(this)};var Vgd=function(a){if(null!=a)return t(a),{field:p(m(a,1)),customFieldId:p(m(a,2))}},Wgd=[h6,1,Nq,2,mq];h6.prototype.serializeBinary=u(Wgd);var Vo=function(a){r.call(this,a)};V(Vo,r);f=Vo.prototype;f.getType=function(){return Fh(this,1,0)};f.setType=function(a){return n(this,1,a)};f.hasType=function(){return Vh(this,1)};f.getValue=function(){return mh(this,2)};f.setValue=function(a){return n(this,2,a)};f.hasValue=function(){return jj(this,2)};f.toObject=function(){return Xgd(this)};var Xgd=function(a){if(null!=a)return t(a),{type:p(m(a,1)),value:p(m(a,2))}},Ygd=[Vo,1,Nq,2,Cq];Vo.prototype.serializeBinary=u(Ygd);var i6=function(a){r.call(this,a)};V(i6,r);f=i6.prototype;f.getType=function(){return Fh(this,1,0)};f.setType=function(a){return n(this,1,a)};f.hasType=function(){return Vh(this,1)};f.getValuesList=function(){return yg(this,i6,2)};f.setValuesList=function(a){Th(this,2,a)};f.setValues=function(a,b){Np(this,2,i6,a,b)};i6.repeatedFields_=[2,3];i6.prototype.toObject=function(){return Zgd(this)};
var Zgd=function(a){if(null!=a)return t(a),{type:p(m(a,1)),valuesList:Mb(a.getValuesList(),Zgd),simpleValuesList:Mb(yg(a,Vo,3),Xgd)}},$gd=[i6,1,Nq,2,Iq,function(){return $gd},3,Iq,Ygd];i6.prototype.serializeBinary=u($gd);var Zo=function(a){r.call(this,a)};V(Zo,r);f=Zo.prototype;f.getType=function(){return Fh(this,1,0)};f.setType=function(a){return n(this,1,a)};f.hasType=function(){return Vh(this,1)};f.getValuesList=function(){return yg(this,i6,2)};f.setValuesList=function(a){Th(this,2,a)};f.setValues=function(a,b){Np(this,2,i6,a,b)};f.getLabel=function(){return W(this,h6,4)};f.setLabel=function(a){return Oh(this,h6,4,a)};f.hasLabel=function(){return qi(this,h6,4)};Zo.repeatedFields_=[2];Zo.prototype.toObject=function(){return ahd(this)};
var ahd=function(a){if(null!=a)return t(a),{type:p(m(a,1)),valuesList:Mb(a.getValuesList(),Zgd),negated:p(Db(a,3)),label:Vgd(a.getLabel()),operator:p(m(a,5))}},bhd=[Zo,1,Nq,2,Iq,$gd,3,zq,4,X,Wgd,5,Nq];Zo.prototype.serializeBinary=u(bhd);var Yo=function(a){r.call(this,a,0,Yo.messageId)};V(Yo,r);Yo.prototype.getType=function(){return Fh(this,1,0)};Yo.prototype.setType=function(a){return n(this,1,a)};Yo.prototype.hasType=function(){return Vh(this,1)};Yo.repeatedFields_=[2];Yo.prototype.toObject=function(){return chd(this)};var chd=function(a){if(null!=a)return t(a),{type:p(m(a,1)),expressionsList:Mb(yg(a,Zo,2),ahd)}},dhd=[Yo,1,Nq,2,Iq,bhd];Yo.prototype.serializeBinary=u(dhd);Yo.messageId="b.QueryBuilderResponse";var Wo=function(a){r.call(this,a,0,Wo.messageId)};V(Wo,r);Wo.prototype.toObject=function(){return ehd(this)};var ehd=function(a){if(null!=a)return t(a),{syntaxError:p(m(a,1))}},fhd=[Wo,1,Cq];Wo.prototype.serializeBinary=u(fhd);Wo.messageId="b.SyntaxErrorResponse";var j6=function(a){r.call(this,a,0,j6.messageId)};V(j6,r);j6.prototype.getKindCase=function(){return rh(this,Xo)};var Xo=[1,2];j6.prototype.toObject=function(){if(null!=this){t(this);var a={queryBuilderResponse:chd(Fi(this,Yo,1,Xo)),syntaxErrorResponse:ehd(Fi(this,Wo,2,Xo))}}else a=void 0;return a};j6.prototype.serializeBinary=u([j6,1,Jq,dhd,Xo,2,Jq,fhd,Xo]);j6.messageId="b.QueryBuilderResponseOrError";var k6=function(a){this.executor=a},ghd=function(a,b){b=Dk(b);return a.executor.get({url:"action/issue_query_parse/"+b,responseConstructor:j6}).then(Ylb).then(function(c){var d;null!=(d=c.syntaxErrorResponse)?c=d:(c=c.queryBuilderResponse,c={type:c.type,expressions:c.expressions.map(Olb)});return c})};k6.\u0275fac=function(a){return new (a||k6)(w(CC))};k6.\u0275prov=nc({token:k6,factory:k6.\u0275fac,providedIn:"root"});var l6=function(a){var b=this;this.teamsService=a;this.placeholder="Choose Team";this.panelWidth="574px";this.disabled=!1;this.onTeamSelect=new tu;this.onEmptyQuery=new tu;this.searchQuery$=new F.Subject;this.teamSuggestions$=this.searchQuery$.pipe(de(300),fe(),pe(function(c){return $H(b.teamsService,c)}),E(function(c){return c.map(function(d){return new $lb(d.pathIds,d.pathNames,d.description)})}))};l6.prototype.updateSelectionOnChange=function(a){this.onTeamSelect.emit(a.option.value)};
l6.prototype.search=function(a){a||this.onEmptyQuery.emit();this.searchQuery$.next(a)};l6.prototype.displayFn=function(a){return a?a.name:""};l6.prototype.ngAfterViewInit=function(){};l6.\u0275fac=function(a){return new (a||l6)(D(YH))};
l6.\u0275cmp=zc({type:l6,selectors:[["b-team-picker"]],viewQuery:function(a,b){a&1&&jf(ZO,7);if(a&2){var c;hf(c=lf())&&(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=x();H(0,"div",0)(1,"input",1,2);O("click",function(){z(c);var e=Se(2);return A(b.search(e.value))})("input",
function(){z(c);var e=Se(2);return A(b.search(e.value))});J();H(3,"mat-autocomplete",3,4);O("optionSelected",function(e){return b.updateSelectionOnChange(e)});R(5,cmb,6,8,"mat-option",5);T(6,"async");J()()}if(a&2){var d=Se(4);C(1);Qe("placeholder",b.placeholder);G("ngModel",b.teamSelected)("disabled",b.disabled)("matAutocomplete",d);Ae("aria-disabled",b.disabled);C(2);G("panelWidth",b.panelWidth)("displayWith",b.displayFn);C(2);G("ngForOf",U(6,8,b.teamSuggestions$))}},dependencies:[Su,Tu,$O,ZO,Ay,
XA,Af,tv,zv,Zu,fv],styles:["input[type=text][_ngcontent-%COMP%]{width:100%}.team-search-result[_ngcontent-%COMP%]{line-height:16px;border:1px solid;border-color:#dadce0;border-color:var(--divider);.path-names-separator-color:#202124;.path-names-separator-color:var(--text);.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 $lb=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 hhd(a.slice(0,e+1),b.slice(0,e+1))})},hhd=function(a,b){this.pathIds=a;this.pathNames=b;this.name=0<b.length?b[b.length-1]:"";this.pathNameText=b.join(" > ")};var m6=function(a){var b=this;this.trackerFridge=a;this.placeholder="Choose Tracker";this.disabled=!1;this.onTrackerSelect=new tu;this.searchQuery$=new F.Subject;this.trackerSuggestions$=this.searchQuery$.pipe(de(300),fe(),pe(function(c){return b.trackerFridge.watchMany({filter:c,pageSize:5})}),E(function(c){return c.results}));this.displayFn=function(c){return c?c.name:""}};m6.prototype.ngAfterViewInit=function(){};m6.prototype.updateSelectionOnChange=function(a){this.onTrackerSelect.emit(a.option.value)};
m6.prototype.search=function(a){this.searchQuery$.next(a)};m6.\u0275fac=function(a){return new (a||m6)(D(gI))};
m6.\u0275cmp=zc({type:m6,selectors:[["b-tracker-picker"]],viewQuery:function(a,b){a&1&&jf(ZO,7);if(a&2){var c;hf(c=lf())&&(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=x();H(0,"input",0,1);O("click",function(){z(c);var e=Se(1);return A(b.search(e.value))})("input",function(){z(c);var e=Se(1);return A(b.search(e.value))});J();H(2,"mat-autocomplete",2,3);O("optionSelected",function(e){return b.updateSelectionOnChange(e)});R(4,dmb,3,2,"mat-option",4);T(5,"async");
J()}if(a&2){var d=Se(3);G("placeholder",b.placeholder)("ngModel",b.selectedTracker)("disabled",b.disabled)("matAutocomplete",d);Ae("aria-disabled",b.disabled);C(2);G("displayWith",b.displayFn);C(2);G("ngForOf",U(5,7,b.trackerSuggestions$))}},dependencies:[Su,$O,ZO,Ay,Af,tv,zv,Zu],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 n6=function(a,b,c,d,e,g,h,l,q,v,y,B,I,N,Q,Z){kE.call(this);this.analytics=a;this.userApi=b;this.customFieldsApi=c;this.savedSearchApi=d;this.hotlistApi=e;this.trackerFridge=g;this.issueSearchResources=h;this.activeSession=l;this.elementRef=q;this.errorHandler=v;this.componentActions=y;this.teamsService=B;this.searchRuleConfigService=I;this.searchRuleFactory=N;this.cdr=Q;this.currentTracker=Z;this.isTrackerSearchEnabled=!1;this.availableLabels=[];this.expressions=[];this.components={};this.trackers=
{};this.teams={};this.hotlists={};this.savedSearches={};this.customFields={};this.userHotlists=[];this.userSavedSearches=[];this.trackerUnderEdit=this.teamUnderEdit=this.componentUnderEdit=this.chipUnderEdit=null;this.trackByIndex=function(Y){return Y};this.sessionIsInternal=this.activeSession.isInternalSession();this.typeLabels=ihd;this.globalTypeLabels=jhd;this.state="INIT"};V(n6,kE);n6.\u0275dir=kE.\u0275dir;
var khd=function(a){var b=[];Tb(W5(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,rDa(d)]))},a);b.sort(function(c,d){return Iaa(c[1],d[1])});b.push(["SAVED_SEARCH_ID","Saved search"]);b.push(["CUSTOM_FIELD","Custom field"]);return b};n6.prototype.schedule=function(a){this.subscriptions.add(F.asyncScheduler.schedule(a))};n6.prototype.ngOnInit=function(){this.cdr.detectChanges()};
n6.prototype.ngOnChanges=function(a){a.isTrackerSearchEnabled&&(this.availableLabels=khd(this))};
var nhd=function(a,b){a.reset();b?lhd(a,b):(a.expressions=mhd.map(function(c){return lnb(a.searchRuleFactory,c)}),a.state="SUCCESS");a.userApi.getUserSavedSearches().then(function(c){a.userSavedSearches=c;c=k(a.userSavedSearches);for(var d=c.next();!d.done;d=c.next())d=d.value,a.savedSearches[d.searchId]=d;a.cdr.detectChanges()});a.userApi.getUserHotlists().then(function(c){a.userHotlists=c;c=k(a.userHotlists);for(var d=c.next();!d.done;d=c.next())d=d.value,a.hotlists[d.hotlistId]=d;a.cdr.detectChanges()});
a.cdr.detectChanges()},lhd=function(a,b){ghd(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 ohd(a,d)});return Promise.all(c).then(function(d){if(d.every(function(g){return!!g})){a.state="SUCCESS";d=k(d);for(var e=d.next();!e.done;e=d.next())a.expressions.push(e.value)}else a.state="NOT_REPRESENTABLE",
a.analytics.trackEvent("adv-search","adv-search-not-rep-error");a.cdr.detectChanges()})}).catch(function(c){a.state="SERVER_ERROR";a.errorHandler.errorHandler(null,c);a.cdr.detectChanges()})},ohd=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?phd(a,b.label.customFieldId).then(function(c){b.customField=
c;return qhd(a,b)}):Promise.resolve(qhd(a,b))},phd=function(a,b){return a.customFields[b]?Promise.resolve(a.customFields[b]):a.customFieldsApi.get(b).then(function(c){return a.customFields[b]=c})},qhd=function(a,b){b="ERR"===b.type?null:a.searchRuleFactory.build(b);if(!b||b&&!b.isValid())return null;rhd(a,b);return b},rhd=function(a,b){switch(b.label.field){case "COMPONENT_ID":var c=k(b.values);for(b=c.next();!b.done;b=c.next())b=Mg(b.value.value),a.components[b]||a.fetchComponent(b);break;case "TRACKER_ID":if(a.isTrackerSearchEnabled)for(c=
k(b.values),b=c.next();!b.done;b=c.next())b=b.value.value,a.trackers[b]||shd(a,b);break;case "TEAM_ID":if(a.sessionIsInternal)for(c=k(b.values),b=c.next();!b.done;b=c.next())b=b.value.value,a.teams[b]||thd(a,b);break;case "SAVED_SEARCH_ID":c=k(b.values);for(b=c.next();!b.done;b=c.next())b=b.value,a.savedSearches[b.value]||a.savedSearchApi.get(b.value).then(function(d){a.savedSearches[d.searchId]=d});break;case "HOTLIST_ID":for(c=k(b.values),b=c.next();!b.done;b=c.next())b=b.value,a.hotlists[b.value]||
a.hotlistApi.get(b.value).then(function(d){a.hotlists[d.hotlistId]=d})}};n6.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 shd=function(a,b){a.trackerFridge.watch(b).pipe(qe(a.destroyed$)).subscribe(function(c){c&&(a.trackers[b]=c)})},thd=function(a,b){$H(a.teamsService,b).pipe(ce(function(){return(0,F.of)([])}),qe(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:""}})},uhd=function(a){var b="AND"===a.expressionType?" ":" | ";return QLb(a.expressions.map(function(c){return c.label?
c.toString():""}),BUb).join(b)};n6.prototype.getState=function(){return this.state};n6.prototype.reset=function(){this.expressionType="AND";this.expressions=[];this.state="INIT"};
var onb=function(a,b){var c=a.expressions[b],d=c.label;"CUSTOM_FIELD"===d.field?c.isPendingCustomField=!0:(a.expressions[b]=lnb(a.searchRuleFactory,d.field),mnb(a,a.expressions[b]));a.cdr.detectChanges()},mnb=function(a,b){var c=b.getWidgetType();"component"===c||"savedsearch"===c||"hotlist"===c||"text"===c||"team"===c||"tracker"===c?ap(a,b):"date"===c&&(b.dateFrom||(b.dateFrom=Lgd(new Dg)),b.dateTo||(b.dateTo=Lgd(new Dg)))};n6.prototype.removeExpression=function(a){qa(this.expressions,a);this.cdr.detectChanges()};
var ap=function(a,b){var c={value:""};b.values.push(c);"COMPONENT_ID"===b.label.field?tmb(a,c):"TRACKER_ID"===b.label.field?Bmb(a,c):"TEAM_ID"===b.label.field?Imb(a,c):bp(a,c);a.cdr.detectChanges()},$o=function(a,b,c){qa(b.values,c);b.values.length||a.removeExpression(b);a.cdr.detectChanges()},bp=function(a,b){a.chipUnderEdit=b;a.cdr.detectChanges()},tmb=function(a,b){bp(a,b);a.componentUnderEdit=b.value?Gg(a.components[b.value]):null;a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-component-picker input").focus()})},
Bmb=function(a,b){bp(a,b);a.trackerUnderEdit=b.value?Gg(a.trackers[b.value]):null;a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-tracker-picker input").focus()})},Imb=function(a,b){bp(a,b);a.teamUnderEdit=b.value?Gg(a.teams[b.value]):null;a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-team-picker input").focus()})},vmb=function(a){a.chipUnderEdit=null;a.cdr.detectChanges()},Kmb=function(a,b){a.analytics.trackEvent(Yl.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;vmb(a);a.schedule(function(){a.elementRef.nativeElement.querySelector(".bv2-search-team-picker input").focus()})};n6.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]};
n6.prototype.getCustomFieldName=function(a){return(a=a.label.customFieldId)?this.customFields[a].name||a:""};n6.prototype.getComponentPath=function(a){if(!a)return"";var b=dp(this.currentTracker,a.componentPathInfo);return b&&b.componentPathName?b.componentPathName.join(" > "):a.name};
var jhd={AND:"Match all (AND)",OR:"Match any (OR)"},ihd={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"}},mhd=["COMPONENT_ID","ASSIGNEE","STATUS","_TEXT_"];n6.\u0275fac=function(a){return new (a||n6)(D(AH),D(hH),D(fG),D(iU),D(ZG),D(gI),D(k6),D(rp),D(fd),D(ZF),D(mV),D(YH),D($5),D(U5),D(wH,2),D(LK))};
n6.\u0275cmp=zc({type:n6,selectors:[["b-advanced-search"]],inputs:{isTrackerSearchEnabled:"isTrackerSearchEnabled"},features:[Xe([wH]),xe,Mc],decls:1,vars:1,consts:[["class","bv2-adv-search",4,"ngIf"],[1,"bv2-adv-search"],[1,"bv2-adv-search-title"],["appearance","outline",4,"ngIf"],["class","bv2-adv-search-rule",4,"ngFor","ngForOf","ngForTrackBy"],[1,"bv2-adv-search-rule","bv2-adv-search-rule-new"],["mat-stroked-button","","type","button",1,"bv2-adv-search-rule-type","bv2-adv-search-rule-jfk-select",
3,"matMenuTriggerFor"],[1,"mat-select-panel"],["newExpressionMenu","matMenu"],["mat-menu-item","","type","button",3,"click",4,"ngFor","ngForOf"],["appearance","outline"],[1,"bv2-adv-search-join-type",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"bv2-adv-search-rule"],[1,"bv2-adv-search-rule-title"],[1,"bv2-adv-search-rule-type","bv2-adv-search-rule-jfk-select",3,"ngModel","ngModelChange","selectionChange"],["aria-label","Delete search rule",1,"bv2-remove-icon","keep-focus-ring",
"bv2-adv-search-rule-delete-btn",3,"click"],["class","bv2-adv-search-rule-content",4,"ngIf"],["class","bv2-adv-search-custom-field-label",4,"ngIf"],["class","bv2-adv-search-custom-field-selection",4,"ngIf"],[1,"bv2-adv-search-rule-op","bv2-adv-search-rule-jfk-select",3,"ngModel","ngModelChange"],[1,"bv2-adv-search-rule-content"],["class","bv2-adv-search-enum-rule",4,"ngIf"],[4,"ngIf"],["class","bv2-adv-search-chip-container",4,"ngIf"],[1,"bv2-adv-search-enum-rule"],["class","bv2-adv-search-enum-item",
4,"ngFor","ngForOf"],[1,"bv2-adv-search-enum-item"],[3,"checked","change"],["type","text","aria-label","Add one or more user names, separated by comma","placeholder","One or more user names, comma-separated",3,"ngModel","bContactAutocomplete","ngModelChange"],["type","text","aria-label","Add one or more values, separated by comma","placeholder","One or more values, comma-separated",3,"ngModel","ngModelChange"],["type","text","placeholder","One or more IDs, comma-separated - e.g., 1,2,3",3,"ngModel",
"ngModelChange"],["type","text","aria-label","Add the condition",3,"ngModel","ngModelChange"],[1,"bv2-adv-search-chip-container"],["class","bv2-adv-search-chip bv2-adv-search-chip-text",4,"ngFor","ngForOf"],["mat-stroked-button","","class","bv2-adv-search-chip-add-btn",3,"click",4,"ngIf"],[1,"bv2-adv-search-chip","bv2-adv-search-chip-text"],[1,"bv2-adv-search-chip-content"],["aria-label","Remove the condition",1,"bv2-adv-search-chip-delete-btn","bv2-remove-icon",3,"click"],["mat-stroked-button","",
1,"bv2-adv-search-chip-add-btn",3,"click"],[4,"ngFor","ngForOf"],["class","bv2-adv-search-chip bv2-adv-search-component-chip",4,"ngIf"],[1,"bv2-adv-search-chip","bv2-adv-search-component-chip"],["class","bv2-adv-search-chip-content bv2-adv-search-chip-content-btn",3,"title","click",4,"ngIf"],["class","bv2-adv-search-chip-content",4,"ngIf"],["role","switch","aria-label","Include subcomponents",1,"unstyled-button",3,"title","click"],[3,"svgIcon"],["aria-label","Remove the value",1,"bv2-adv-search-chip-delete-btn",
"bv2-remove-icon",3,"click"],[1,"bv2-adv-search-chip-content","bv2-adv-search-chip-content-btn",3,"title","click"],[1,"bv2-adv-search-chip-content-text"],[1,"bv2-search-component-picker",3,"selectedComponent","placeholder","isRequired","selectedComponentChange"],["class","bv2-adv-search-chip bv2-adv-search-tracker-chip",4,"ngIf"],[1,"bv2-adv-search-chip","bv2-adv-search-tracker-chip"],[1,"bv2-search-tracker-picker",3,"selectedTracker","onTrackerSelect"],["class","bv2-adv-search-chip bv2-adv-search-team-chip",
4,"ngIf"],[1,"bv2-adv-search-chip","bv2-adv-search-team-chip"],["role","switch","aria-label","Include subteams",1,"unstyled-button",3,"title","click"],[1,"bv2-search-team-picker",3,"teamSelected","onTeamSelect"],[3,"boundValue","isRequired","boundValueChange"],["type","text","maxlength","3",1,"bv2-duration-field",3,"ngModel","ngModelChange"],["class","bv2-adv-search-chip bv2-adv-search-bookmark-item-chip",4,"ngIf"],[1,"bv2-adv-search-chip","bv2-adv-search-bookmark-item-chip"],["appearance","outline",
"class","bv2-adv-search-bookmark-item-form-field",4,"ngIf"],["appearance","outline",1,"bv2-adv-search-bookmark-item-form-field"],["placeholder","Select hotlist",1,"bv2-adv-search-chip-content","bv2-adv-search-chip-content-selectable",3,"ngModel","ngModelChange","selectionChange"],["placeholder","Select search",1,"bv2-adv-search-chip-content","bv2-adv-search-chip-content-selectable",3,"ngModel","ngModelChange","selectionChange"],[1,"bv2-adv-search-custom-field-label"],[1,"bv2-adv-search-custom-field-selection"],
[3,"fieldSelected"],["mat-menu-item","","type","button",3,"click"]],template:function(a,b){a&1&&R(0,rnb,11,6,"div",0);a&2&&G("ngIf","SUCCESS"===b.getState())},dependencies:[Su,Tu,yy,jz,$S,PZ,Af,tv,Nv,zv,a0,Yy,PA,NA,OA,CO,Ay,VN,l6,m6,sV,dv,Mqc],styles:['[_nghost-%COMP%]     .mat-form-field-infix{width:unset;min-width:105px;border:0}[_nghost-%COMP%]     .mat-select-value{max-width:unset;color:#5f6368;color:var(--muted);font-family:"Google Sans",Roboto,Arial,sans-serif;font-size:.875rem;font-weight:500;letter-spacing:0.0107142857em;font-variant-ligatures:none}[_nghost-%COMP%]     mat-select .mat-select-arrow-wrapper{transform:unset}[_nghost-%COMP%]     .mat-form-field-appearance-outline .mat-form-field-wrapper{margin:0;padding:0}[_nghost-%COMP%]     .bv2-custom-field-picker{width:unset}.mat-form-field[_ngcontent-%COMP%]{margin-right:5px;text-align:center}.bv2-adv-search-rule-type[_ngcontent-%COMP%]{min-width:105px}.bv2-adv-search-title[_ngcontent-%COMP%]{font-weight:bold;padding-left:8px;margin-right:5px;display:inline-block;min-width:254px}.bv2-adv-search-bookmark-item-chip[_ngcontent-%COMP%]{align-items:baseline}.bv2-adv-search-bookmark-item-form-field[_ngcontent-%COMP%]{text-align:left;width:100%}']});var o6=function(){};o6.\u0275fac=function(a){return new (a||o6)};o6.\u0275mod=Bc({type:o6});o6.\u0275inj=oc({imports:[MF,aP,zO,zC,Qv]});var p6=function(){};p6.\u0275fac=function(a){return new (a||p6)};p6.\u0275mod=Bc({type:p6});p6.\u0275inj=oc({imports:[MF,aP,zO,zC,Qv]});var q6=function(){};q6.\u0275fac=function(a){return new (a||q6)};q6.\u0275mod=Bc({type:q6});q6.\u0275inj=oc({imports:[MF,aT,QZ,Qv,d0,WB,Zy,YA,bz,QA,DO,zO,HJ,o6,p6,hX]});var r6=function(a){r.call(this,a)};V(r6,r);f=r6.prototype;f.getExperimentId=function(){return Ag(this,1)};f.getState=function(){return Fh(this,2,0)};f.getTitle=function(){return mh(this,4)};f.setTitle=function(a){return n(this,4,a)};f.getDescription=function(){return mh(this,5)};f.setDescription=function(a){return n(this,5,a)};f.hasDescription=function(){return jj(this,5)};f.toObject=function(){return vhd(this)};
var vhd=function(a){if(null!=a)return t(a),{experimentId:p(Cb(a,1)),state:p(m(a,2)),userGroup:p(m(a,3)),title:p(m(a,4)),description:p(m(a,5)),learnMoreLink:p(m(a,6))}},whd=[r6,1,wq,2,Nq,3,Nq,4,Cq,5,Cq,6,Cq];r6.prototype.serializeBinary=u(whd);var s6=function(a){r.call(this,a,0,s6.messageId)};V(s6,r);s6.repeatedFields_=[1];s6.prototype.toObject=function(){if(null!=this){t(this);var a={featuresList:Mb(yg(this,r6,1),vhd)}}else a=void 0;return a};s6.prototype.serializeBinary=u([s6,1,Iq,whd]);s6.messageId="b.ListBeapFeaturesResponse";var t6=function(a){this.executor=a};t6.prototype.fetch=function(){return this.executor.get({url:"action/experiments",responseConstructor:s6}).pipe(E(function(a){var b;return(null!=(b=yg(a,r6,1))?b:[]).map(unb)}))};t6.\u0275fac=function(a){return new (a||t6)(w(BC))};t6.\u0275prov=nc({token:t6,factory:t6.\u0275fac,providedIn:"root"});var u6=function(a){oF.call(this,{freshUntil:Infinity,ancientAfter:Infinity});this.beapApi=a;this.recordType="beapFeature";this.idForRecord=function(b){return""+b.experimentId}};V(u6,oF);u6.prototype.fetchAll=function(){return this.beapApi.fetch().pipe(E(function(a){return{results:a}}))};u6.\u0275fac=function(a){return new (a||u6)(w(t6))};u6.\u0275prov=nc({token:u6,factory:u6.\u0275fac,providedIn:"root"});var v6=function(a){this.beapFridge=a};v6.prototype.getFeature=function(a){return xhd(this,"ALL").pipe(E(function(b){return b.find(function(c){return c.experimentId===a})}))};var xhd=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(E(function(e){return e.results.filter(function(g){return c?!0:g.userGroup===d})}))};v6.prototype.refresh=function(){this.beapFridge.pokeMany({})};
v6.\u0275fac=function(a){return new (a||v6)(w(u6))};v6.\u0275prov=nc({token:v6,factory:v6.\u0275fac,providedIn:"root"});var w6=function(){};w6.\u0275fac=function(a){return new (a||w6)};
w6.\u0275cmp=zc({type:w6,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&&(L(0,0),R(1,vnb,1,0,"div",1),R(2,wnb,1,0,"div",2),M());a&2&&(G("ngSwitch",b.featureStage),C(1),G("ngSwitchCase","TEAM_FOOD"),C(1),G("ngSwitchCase","EARLY_ACCESS"))},dependencies:[Uu,Vu],styles:[".badged[_ngcontent-%COMP%]::after{margin-left:0}"]});var x6=function(a){var b=this;this.beapService=a;this.experimentId$=new F.ReplaySubject(1);this.featureState$=this.experimentId$.pipe(pe(function(c){return b.beapService.getFeature(c)}));this.featureStage$=this.featureState$.pipe(E(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"}))};x6.prototype.ngOnChanges=function(){this.experimentId$.next(this.experimentId)};x6.prototype.ngOnInit=function(){};
x6.\u0275fac=function(a){return new (a||x6)(D(v6))};x6.\u0275cmp=zc({type:x6,selectors:[["b-app-beap-state-indicator"]],inputs:{experimentId:"experimentId"},features:[Mc],decls:2,vars:3,consts:[[3,"featureStage"]],template:function(a,b){a&1&&(K(0,"b-feature-stage-label",0),T(1,"async"));if(a&2){var c;G("featureStage",null!==(c=U(1,1,b.featureStage$))&&void 0!==c?c:void 0)}},dependencies:[w6,Zu],encapsulation:2});var y6=function(){};y6.\u0275fac=function(a){return new (a||y6)};y6.\u0275mod=Bc({type:y6});y6.\u0275inj=oc({imports:[MF]});var z6=function(){};z6.\u0275fac=function(a){return new (a||z6)};z6.\u0275mod=Bc({type:z6});z6.\u0275inj=oc({imports:[MF,y6]});var A6=function(a){this.domSafe=a;this.buttonLabel="";this.alertMode=this.menuMode=!1},xnb=function(a){Wl(a.domSafe,"https://g3doc.corp.google.com/company/teams/buganizer/release-notes/b3-releasenotes.md")};A6.\u0275fac=function(a){return new (a||A6)(D(rK))};
A6.\u0275cmp=zc({type:A6,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&&(R(0,ynb,3,3,"button",0),R(1,znb,2,1,"button",1));a&2&&(G("ngIf",!b.menuMode),C(1),G("ngIf",b.menuMode))},dependencies:[Tu,yy,jz,NA,XA],styles:["[_nghost-%COMP%] { display: flex; }"]});var B6=function(a,b,c){kE.call(this);this.session=a;this.appsEvents=b;this.prefsManager=c;this.density="COMFORTABLE";this.enableWhatsNewDialog=iE(a,"enableWhatsNewDialog");this.enableBeap=iE(a,"enableBeap")};V(B6,kE);B6.\u0275dir=kE.\u0275dir;f=B6.prototype;f.ngOnInit=function(){var a=this;this.prefsManager.preferences$.pipe(qe(this.destroyed$)).subscribe(function(b){if(null==b?0:b.themePreferences)a.density=b.themePreferences.density})};f.setDensity=function(a){this.appsEvents.topBarEvents.setDensity.next(a)};
f.browseComponents=function(a){this.appsEvents.topBarEvents.browseComponents.next({newTab:a.ctrlKey||a.metaKey})};f.manageHotlists=function(a){this.appsEvents.topBarEvents.manageHotlists.next({newTab:a.ctrlKey||a.metaKey})};f.manageSlos=function(a){this.appsEvents.topBarEvents.manageSlos.next({newTab:a.ctrlKey||a.metaKey})};f.showSettings=function(a){this.appsEvents.topBarEvents.openSettings.next({newTab:a.ctrlKey||a.metaKey})};B6.\u0275fac=function(a){return new (a||B6)(D(rp),D(cG),D(TI))};
B6.\u0275cmp=zc({type:B6,selectors:[["b-app-settings-menu"]],features:[xe],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),K(1,"mat-icon",1),J(),H(2,"mat-menu",null,2)(4,"div",3),S(5,"Display Density"),J(),H(6,"button",4),O("click",function(){return b.setDensity("COMFORTABLE")}),H(7,"span",5),K(8,"mat-icon",6),J(),S(9," Comfortable "),J(),H(10,"button",7),O("click",function(){return b.setDensity("COZY")}),H(11,"span",5),K(12,"mat-icon",6),J(),S(13," Cozy "),J(),H(14,"button",8),O("click",function(){return b.setDensity("COMPACT")}),H(15,"span",5),K(16,"mat-icon",6),J(),S(17," Compact "),J(),K(18,"mat-divider"),
H(19,"button",9),O("click",function(d){return b.browseComponents(d)}),S(20,"Browse components"),J(),H(21,"button",9),O("click",function(d){return b.manageHotlists(d)}),S(22,"Manage hotlists"),J(),R(23,Anb,2,0,"button",10),H(24,"button",9),O("click",function(d){return b.showSettings(d)}),S(25,"Settings"),J(),R(26,Bnb,3,0,"a",11),R(27,Cnb,3,1,"ng-container",12),J());if(a&2){var c=Se(3);G("disabled",b.session.isAnonymous())("matMenuTriggerFor",c);C(6);Ie("b-menu-item-checked","COMFORTABLE"===b.density);
Ae("aria-checked","COMFORTABLE"===b.density);C(4);Ie("b-menu-item-checked","COZY"===b.density);Ae("aria-checked","COZY"===b.density);C(4);Ie("b-menu-item-checked","COMPACT"===b.density);Ae("aria-checked","COMPACT"===b.density);C(12);G("ngIf",b.enableBeap);C(1);G("ngIf",b.enableWhatsNewDialog)}},dependencies:[Tu,yy,jz,PA,NA,OA,TL,XA,A6,CQ,w6],encapsulation:2,changeDetection:0});var C6=function(a){this.theme=a;this.isDark=!1;this.iconName="brightness-4"};C6.prototype.ngOnInit=function(){this.theme.loadLocalDarkmode();yhd(this)};var yhd=function(a){a.isDark=a.theme.clientDarkmodeSubject.getValue();a.iconName=a.isDark?"brightness-high":"brightness-4"};C6.\u0275fac=function(a){return new (a||C6)(D(vQ))};
C6.\u0275cmp=zc({type:C6,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),O("click",function(){var c=b.theme;c.setLocalDarkmode(!c.clientDarkmodeSubject.getValue());c.clientStreamzService&&c.clientStreamzService.logUsageMetric("toggleDarkmode",!c.clientDarkmodeSubject.getValue());QAc(c,!c.clientDarkmodeSubject.getValue());
yhd(b)}),K(1,"mat-icon",1),J());a&2&&(C(1),G("svgIcon",b.iconName))},dependencies:[yy,jz,XA],encapsulation:2});var zhd=function(a,b,c,d){this.session=a;this.userFeedback=b;this.domSafe=c;this.docLinks=d;this.enableWhatsNewDialog=iE(a,"enableWhatsNewDialog");this.majorReleaseNotesUpdated=iE(a,"majorReleaseNotesUpdated")};zhd.\u0275fac=function(a){return new (a||zhd)(D(rp),D(wQ),D(rK),D(NI))};
zhd.\u0275cmp=zc({type:zhd,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&&(K(0,"theme-change-btn"),R(1,Dnb,1,1,"b-whats-new-button",0),R(2,Enb,2,0,"button",1),H(3,"button",2),O("click",function(){var c=b.domSafe,d=c.openInNewTab;var e=b.docLinks;e=e.session.isInternalSession()?"https://g3doc.corp.google.com/company/teams/buganizer/user-guide":e.baseDocumentationUrl;d.call(c,e)}),K(4,"mat-icon",3),J(),K(5,"b-app-settings-menu"));a&2&&(C(1),G("ngIf",b.enableWhatsNewDialog))},
dependencies:[Tu,yy,jz,XA,A6,CQ,C6,B6],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)}\n/*# sourceMappingURL=app_actions.css.map */"],changeDetection:0});var Ahd=function(a,b){this.currentTracker=a;this.appSearchState=b;this.isTrackerExpanded=!1};Ahd.\u0275fac=function(a){return new (a||Ahd)(D(LK),D(dY))};
Ahd.\u0275cmp=zc({type:Ahd,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),O("menuOpened",function(){return b.isTrackerExpanded=!0})("menuClosed",function(){return b.isTrackerExpanded=!1}),K(1,"mat-icon",1),J(),H(2,"mat-menu",2,3)(4,"span",4),S(5,"Select a tracker"),J(),R(6,Fnb,4,4,"button",5),J());if(a&2){var c=Se(3);G("matMenuTriggerFor",c);Ae("aria-label",b.isTrackerExpanded?"Expanded tracker menu":"Collapsed tracker menu");C(6);G("ngForOf",
b.associatedTrackers)}},dependencies:[Su,yy,jz,PA,NA,OA,XA],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}\n/*# sourceMappingURL=tracker_switcher.css.map */"],
changeDetection:0});var Hnb=function(a){return[a]},Inb=function(){return[]},D6=function(a){this.activeSession=a;this.clickMenu=new tu;this.showMenu=!1;this.clickLogo=new tu;this.chips=[]};D6.prototype.ngOnInit=function(){this.showMenu=!this.activeSession.isAnonymous()&&this.clickMenu.observed};D6.\u0275fac=function(a){return new (a||D6)(D(rp))};
D6.\u0275cmp=zc({type:D6,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&&(Ne(),R(0,Gnb,2,0,"button",0),H(1,"a",1),O("click",function(){return b.clickLogo.emit()}),K(2,"img",2)(3,"img",3),H(4,"h1"),S(5),J()(),Oe(6),R(7,Jnb,2,5,"output",4));a&2&&(G("ngIf",b.showMenu),C(1),Ae("href",b.href?b.href:void 0,vd),C(1),G("src",b.imgSrc,vd),C(1),G("src",b.imgSrcDark||b.imgSrc,vd),C(2),Ve(b.name),C(2),G("ngForOf",b.chips))},dependencies:[Ru,Su,Tu,yy,jz],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}\n/*# sourceMappingURL=app_logo.css.map */'],
changeDetection:0});var Bhd=function(){return[]},E6=function(a){this.events=a;this.environmentType="QA";this.frontendAccessMode="INTERNAL";this.href="/";this.chips=[];this.name="Buganizer"};E6.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"})};
E6.prototype.ngOnChanges=function(a){if(a.tracker||a.frontendAccessMode)this.name=this.getAppName()};E6.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:og(this.frontendAccessMode,"unknown frontend access mode.")}};
gg.Object.defineProperties(E6.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"}}});E6.\u0275fac=function(a){return new (a||E6)(D(cG))};
E6.\u0275cmp=zc({type:E6,selectors:[["b-app-logo"]],inputs:{environmentType:"environmentType",frontendAccessMode:"frontendAccessMode",tracker:"tracker",associatedTrackers:"associatedTrackers",href:"href"},features:[Mc],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),O("clickMenu",function(){return b.events.onClickAppMenuIcon.next()}),R(1,Knb,1,1,"tracker-switcher",
1),J());if(a&2){var c;G("name",b.name)("href",b.href)("chips",b.chips)("imgSrc",b.imgSrc)("imgSrcDark",b.imgSrcDark);C(1);G("ngIf",0<(null!==(c=b.associatedTrackers)&&void 0!==c?c:Ye(6,Bhd)).length)}},dependencies:[Tu,D6,Ahd],encapsulation:2,changeDetection:0});var F6=function(){this.isActive=!1;this.optionClicked=new tu};F6.prototype.ngOnInit=function(){};F6.prototype.onClick=function(){this.optionClicked.emit(this.index)};F6.\u0275fac=function(a){return new (a||F6)};
F6.\u0275cmp=zc({type:F6,selectors:[["b-app-search-auto-complete-option"]],hostVars:2,hostBindings:function(a,b){a&1&&O("click",function(){return b.onClick()});a&2&&Ie("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&&(Ne(),H(0,"div",0),Oe(1),J())},styles:["[_nghost-%COMP%]{cursor:pointer;display:flex;position:relative}.active[_nghost-%COMP%]{background-color:rgba(0,0,0,.12);background-color:var(--focus-bg)}[_nghost-%COMP%]:hover:not(.active){background-color:rgba(0,0,0,.04);background-color:var(--hover-bg)}.content[_ngcontent-%COMP%]{flex-grow:1;overflow:hidden;padding:8px 16px 8px 36px;text-overflow:ellipsis}.mat-ripple[_ngcontent-%COMP%]{pointer-events:none;position:absolute;height:100%;width:100%}\n/*# sourceMappingURL=app_search_auto_complete_option.css.map */"],
changeDetection:0});var G6=function(a,b,c){this.ref=a;this.hostElement=b;this.currentTracker=c;this.items=[];this.header=null;this.itemSelected=new tu;this.activeItemChanged=new tu;this.SPECIAL_ITEM_TYPES="issue hotlist savedsearch atom component team tracker".split(" ")};G6.prototype.ngOnChanges=function(a){a.items&&(0<this.items.length?(this.activeItemIndex=0,this.activeItemChanged.emit(this.items[0])):this.clearActiveItem(),this.ref.markForCheck())};G6.prototype.ngAfterViewInit=function(){};
var kob=function(a){var b=P(3);sob(a);b.itemSelected.emit(a)};G6.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(),Chd(this))};
G6.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(),Chd(this))};var Dhd=function(a){null!=a.activeItemIndex&&a.itemSelected.emit(a.items[a.activeItemIndex])};G6.prototype.clearActiveItem=function(){this.activeItemIndex=void 0;this.activeItemChanged.emit(void 0)};
var Ehd=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}},Chd=function(a){var b=a.itemElements.find(function(c,d){return d===a.activeItemIndex});b&&dKc(b.nativeElement,a.hostElement.nativeElement)},sob=function(a){jl(Yl.SEARCH,"autocomplete-select",a.completionCfg.type||"unknown_type",isNaN(Number(a.id))?1:Number(a.id))};G6.\u0275fac=function(a){return new (a||G6)(D(wH,2),D(fd),D(LK))};
G6.\u0275cmp=zc({type:G6,selectors:[["b-app-search-auto-complete-list"]],viewQuery:function(a,b){a&1&&jf(F6,5,fd);if(a&2){var c;hf(c=lf())&&(b.itemElements=c)}},inputs:{items:"items",header:"header"},outputs:{itemSelected:"itemSelected",activeItemChanged:"activeItemChanged"},features:[Xe([wH]),Mc],decls:3,vars:2,consts:[["class","header gmat-caption",4,"ngIf"],"role;listbox;aria-label;Search autocomplete list;id;b-search-box-autocomplete".split(";"),["role","option",3,"index","isActive","optionClicked",
4,"ngFor","ngForOf"],[1,"header","gmat-caption"],[4,"ngIf"],[4,"ngIf","ngIfElse"],["noHotlistSelected",""],["noSavedSearchSelected",""],["noComponentSelected",""],[1,"margin-s-right"],[3,"accessLevel"],[3,"trackerId"],["noTrackerSelected",""],["noTeamSelected",""],["noSelectedCustomField",""],["role","option",3,"index","isActive","optionClicked"],[1,"monospaced","item-description"],[1,"item-description"],[4,"ngFor","ngForOf"],["role","button",3,"title","click"]],template:function(a,b){a&1&&(R(0,eob,
7,6,"div",0),H(1,"div",1),R(2,tob,9,11,"b-app-search-auto-complete-option",2),J());a&2&&(G("ngIf",b.header&&b.header.type),C(2),G("ngForOf",b.items))},dependencies:[Su,Tu,HO,OK,F6,$u],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;max-height:inherit;overflow-y:auto}.header[_ngcontent-%COMP%]{padding:4px 16px 4px 36px}.item-description[_ngcontent-%COMP%]{display:block;margin-top:5px}span[role=button][_ngcontent-%COMP%]{cursor:pointer}span[role=button][_ngcontent-%COMP%]:hover{text-decoration:underline}\n/*# sourceMappingURL=app_search_auto_complete_list.css.map */"],
changeDetection:0});var Fhd=["box"],Ghd=["initialFocus"],Hhd=["finalFocus"],H6=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 tu;this.onAdvancedSearchClose=new tu;this.onAdvancedSearchSubmit=new tu;this.onSaveSearch=new tu;this.dropdownStatus="closed";this.searchName="";this.searchHelpLink=this.documentationLinks.baseDocumentationUrl+"/guides/search-editor";
this.destroyed$=new F.Subject;this.currentQuery$=this.appSearchState.queryState$.pipe(E(function(d){return d.query}));this.autoCompleteItemSelected$=new F.Subject;this.isAnonymous=this.activeSession.isAnonymous()};
H6.prototype.ngOnInit=function(){var a=this;this.autoCompleteItemSelected$.pipe(se(this.currentQuery$),qe(this.destroyed$)).subscribe(function(b){b=k(b);var c=b.next().value;b=b.next().value;c=c.completionCfg;var d=b.slice(0,c.startIdx);b=b.slice(c.endIdx);a.appSearchState.queryState$.next({query:d+c.completionValue+b,cursorPosition:null!=c.cursorIdx?c.cursorIdx:null==c.startIdx?c.completionValue.length:c.startIdx+c.completionValue.length,setViaInteraction:!1});a.inputBox.nativeElement.focus()})};
H6.prototype.ngAfterViewInit=function(){var a=this;this.appSearchState.queryState$.pipe(Zd(function(b){return!b.setViaInteraction}),qe(this.destroyed$)).subscribe(function(b){var c=b.cursorPosition;a.inputBox.nativeElement.value=b.query;null!=c&&(b=a.inputBox.nativeElement,AJc(b)&&(b.selectionStart=c,b.selectionEnd=c))})};H6.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete()};
var Ihd=function(a){a.appSearchState.searchTriggered$.next("keyboard")},Jhd=function(a,b){a.dropdownStatus="auto_complete";a.acList.clearActiveItem();a.appSearchState.queryState$.next({query:b,cursorPosition:a.getCursorPosition(),setViaInteraction:!0})};
H6.prototype.handleKeydown=function(a){switch(a.key){case "Escape":if(!I6(this))return;Khd(this);break;case "ArrowUp":if(!I6(this))return;this.acList.setPreviousItemActive();break;case "ArrowDown":if(!I6(this))return;this.acList.setNextItemActive();break;case "Tab":case "ArrowRight":if(!I6(this)){Jhd(this,this.inputBox.nativeElement.value);return}Dhd(this.acList);break;case "ArrowLeft":Jhd(this,this.inputBox.nativeElement.value);return;case "Enter":I6(this)?null!=this.acList.activeItemIndex?Dhd(this.acList):
Ihd(this):Ihd(this);break;default:return}a.preventDefault();a.stopPropagation()};H6.prototype.submitAdvancedSearch=function(){this.onAdvancedSearchSubmit.emit();Lhd(this)};H6.prototype.getCursorPosition=function(){var a=BJc(this.inputBox.nativeElement,!0)[0];if(a===BJc(this.inputBox.nativeElement,!1)[1])return a};
var Khd=function(a){"auto_complete"===a.dropdownStatus&&(a.dropdownStatus="closed")},Lhd=function(a){"advanced_search"===a.dropdownStatus&&(a.dropdownStatus="closed",a.onAdvancedSearchClose.emit())},I6=function(a){return"auto_complete"===a.dropdownStatus&&0<a.autoCompleteItems.length},Mhd=function(a){return"auto_complete"===a.dropdownStatus&&null!=a.autoCompleteHeader},Nhd=function(a){return"advanced_search"===a.dropdownStatus};
H6.prototype.saveSearch=function(){this.searchName&&(this.onSaveSearch.emit(this.searchName),this.searchName="",Lhd(this))};var Ohd=function(a,b){b.shiftKey&&"Tab"===b.key&&a.advancedSearchFinalFocus&&setTimeout(function(){return a.advancedSearchFinalFocus.nativeElement.focus()})},uob=function(a){a.advancedSearchInitialFocus&&setTimeout(function(){return a.advancedSearchInitialFocus.nativeElement.focus()})};H6.\u0275fac=function(a){return new (a||H6)(D(NI),D(dY),D(rp))};
H6.\u0275cmp=zc({type:H6,selectors:[["b-app-search-box"]],viewQuery:function(a,b){a&1&&(jf(G6,7),jf(Fhd,5),jf(Ghd,7,fd),jf(Hhd,7));if(a&2){var c;hf(c=lf())&&(b.acList=c.first);hf(c=lf())&&(b.inputBox=c.first);hf(c=lf())&&(b.advancedSearchInitialFocus=c.first);hf(c=lf())&&(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",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=x();Ne();H(0,"div",0);O("clickOutside",function(){Khd(b)});H(1,"div",1)(2,"button",2);O("click",function(){return Ihd(b)});K(3,"mat-icon",3);J();H(4,"textarea",4,5);O("keydown",function(d){return b.handleKeydown(d)})("input",
function(){z(c);var d=Se(5);return A(Jhd(b,d.value))})("click",function(){z(c);var d=Se(5);return A(Jhd(b,d.value))})("focus",function(){b.dropdownStatus="auto_complete"});J();H(6,"button",6);O("click",function(){b.dropdownStatus="advanced_search";b.onAdvancedSearchOpen.emit()});K(7,"mat-icon",7);J()();H(8,"aside",8)(9,"b-app-search-auto-complete-list",9);O("itemSelected",function(d){return b.autoCompleteItemSelected$.next(d)});J();H(10,"div",10)(11,"div",11)(12,"button",12,13);O("keydown",function(d){return Ohd(b,
d)})("click",function(){return Lhd(b)});K(14,"mat-icon",14);J()();H(15,"div",15);Oe(16);J();H(17,"div",16)(18,"button",17);O("click",function(){return b.submitAdvancedSearch()});S(19," Search ");J();H(20,"a",18);S(21,"Search help ");K(22,"mat-icon",19);J();R(23,vob,5,2,"div",20);J()()()()}a&2&&(Ie("dropdown-opened",I6(b)||Mhd(b)||Nhd(b)),C(1),Ie("hidden",Nhd(b)),C(3),G("placeholder",b.placeholder),Ae("aria-activedescendant",Ehd(b.acList))("aria-expanded",I6(b)||Mhd(b)),C(4),Ie("advanced-search-open",
Nhd(b)),C(1),Ie("hidden",!(I6(b)||Mhd(b))),G("items",b.autoCompleteItems)("header",b.autoCompleteHeader),C(1),Ie("hidden",!Nhd(b)),C(2),G("disabled",b.isSearchDisabled),C(6),G("disabled",b.isSearchDisabled),C(2),Ae("href",b.searchHelpLink,vd),C(3),G("ngIf",!b.isAnonymous))},dependencies:[Tu,yy,jz,xx,XA,Af,tv,zv,ON,Sy,G6],styles:['[_nghost-%COMP%]{display:flex;align-items:center;flex-grow:1;position:relative;min-width:320px;height:40px}.search-form-container[_ngcontent-%COMP%]{position:absolute;display:flex;flex-direction:column;justify-content:center;align-items:center;background-color:#f1f3f4;background-color:var(--main-search-bg);border-radius:8px;max-width:800px;min-width:320px;overflow:hidden;top:0;transition:all .1s ease-in-out;transition-property:box-shadow,height,max-height,overflow;width:100%}.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}\n/*# sourceMappingURL=app_search_box.css.map */'],
changeDetection:0});var Phd=function(a){this.currentTracker=a;this.logoEnvironmentType="QA";this.logoFrontendAccessMode="INTERNAL";this.isSearchDisabled=!1;this.searchBoxPlaceholder="";this.searchBoxAutoCompleteItems=[];this.searchBoxAutoCompleteHeader=null;this.searchBoxOnAdvancedSearchOpen=new tu;this.searchBoxOnAdvancedSearchClose=new tu;this.searchBoxOnAdvancedSearchSubmit=new tu;this.searchBoxOnSaveSearch=new tu};Phd.\u0275fac=function(a){return new (a||Phd)(D(LK))};
Phd.\u0275cmp=zc({type:Phd,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:6,vars:12,consts:[[3,"environmentType","frontendAccessMode","tracker","associatedTrackers"],[3,"placeholder","autoCompleteItems","autoCompleteHeader","isSearchDisabled","onAdvancedSearchOpen","onAdvancedSearchClose","onAdvancedSearchSubmit","onSaveSearch"]],template:function(a,b){a&1&&(Ne(),K(0,"b-app-logo",0),T(1,"async"),T(2,"async"),H(3,"b-app-search-box",1),O("onAdvancedSearchOpen",function(){return b.searchBoxOnAdvancedSearchOpen.emit()})("onAdvancedSearchClose",
function(){return b.searchBoxOnAdvancedSearchClose.emit()})("onAdvancedSearchSubmit",function(){return b.searchBoxOnAdvancedSearchSubmit.emit()})("onSaveSearch",function(c){return b.searchBoxOnSaveSearch.emit(c)}),Oe(4),J(),K(5,"b-app-actions"));a&2&&(G("environmentType",b.logoEnvironmentType)("frontendAccessMode",b.logoFrontendAccessMode)("tracker",U(1,8,b.currentTracker.tracker$))("associatedTrackers",U(2,10,b.currentTracker.associatedTrackers$)),C(3),G("placeholder",b.searchBoxPlaceholder)("autoCompleteItems",
b.searchBoxAutoCompleteItems)("autoCompleteHeader",b.searchBoxAutoCompleteHeader)("isSearchDisabled",b.isSearchDisabled))},dependencies:[E6,zhd,H6,Zu],styles:["[_nghost-%COMP%]{display:flex;align-items:center}b-app-search-box[_ngcontent-%COMP%]{display:flex;flex-grow:1;justify-content:center}\n/*# sourceMappingURL=app_top_bar.css.map */"],changeDetection:0});var J6=function(){};J6.\u0275fac=function(a){return new (a||J6)};J6.\u0275mod=Bc({type:J6});J6.\u0275inj=oc({imports:[MF,Qy,WB,xN]});var K6=function(){};K6.\u0275fac=function(a){return new (a||K6)};K6.\u0275mod=Bc({type:K6});K6.\u0275inj=oc({imports:[MF,WB,YA,QA,zC]});var L6=function(){};L6.\u0275fac=function(a){return new (a||L6)};L6.\u0275mod=Bc({type:L6});L6.\u0275inj=oc({imports:[MF,YA,WB,QA,zC]});var M6=function(){};M6.\u0275fac=function(a){return new (a||M6)};M6.\u0275mod=Bc({type:M6});M6.\u0275inj=oc({imports:[MF,WB,YA,zC]});var N6=function(){};N6.\u0275fac=function(a){return new (a||N6)};N6.\u0275mod=Bc({type:N6});N6.\u0275inj=oc({providers:[vQ]});var O6=function(){};O6.\u0275fac=function(a){return new (a||O6)};O6.\u0275mod=Bc({type:O6});O6.\u0275inj=oc({imports:[MF,WB,YA,zC,N6]});var P6=function(){};P6.\u0275fac=function(a){return new (a||P6)};P6.\u0275mod=Bc({type:P6});P6.\u0275inj=oc({imports:[MF,QA,WB,mU,zC,YA,Ex,Qv,PN,L6,EY,M6,MO,Ty,y6,O6,J6,K6,rN]});var Q6=function(){};Q6.\u0275fac=function(a){return new (a||Q6)};Q6.\u0275mod=Bc({type:Q6});Q6.\u0275inj=oc({imports:[MF,WB,Qy]});var R6=function(){};R6.\u0275fac=function(a){return new (a||R6)};R6.\u0275mod=Bc({type:R6});R6.\u0275inj=oc({imports:[MF,Qv,WB,bz,Zy,Qy,hX]});var S6=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 tu;this.selectedChange=new tu;this.cardTitleChange=new tu;this.onSaveButtonClicked=new tu;this.onCancelButtonClicked=
new tu;this.isInheritedChange=new tu;this.isExpanded=!1};S6.prototype.expand=function(){this.isExpanded=!0};S6.prototype.collapse=function(){this.isExpanded=!1};S6.prototype.onSave=function(){this.collapse();this.onSaveButtonClicked.emit()};S6.prototype.onCancel=function(){this.collapse();this.onCancelButtonClicked.emit()};S6.\u0275fac=function(a){return new (a||S6)};
S6.\u0275cmp=zc({type:S6,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&&(Ne(),H(0,"div",0)(1,"div",1)(2,"mat-checkbox",2),O("change",function(d){b.selected=d.checked;b.expand();b.selectedChange.emit(b.selected)}),J(),R(3,wob,3,3,"ng-container",3),H(4,"button",4),O("click",function(){b.isExpanded?b.collapse():b.expand()}),R(5,xob,1,0,"mat-icon",5),R(6,yob,1,0,"mat-icon",6),J(),R(7,Dob,3,7,"ng-template",null,
7,of),J(),R(9,Eob,2,0,"div",8),R(10,Job,9,6,"div",9),J());if(a&2){var c=Se(8);Ae("aria-expanded",b.isExpanded);C(2);Ie("expanded-checkbox",b.isExpanded);G("disabled",b.disabled)("checked",b.selected)("aria-label",b.cardTitle);C(1);G("ngIf",!b.isExpanded)("ngIfElse",c);C(1);G("ngClass",b.isExpanded?"collapse-toggle":"expand-toggle");Ae("aria-label",b.isExpanded?"Collapse editor":"Expand editor");C(1);G("ngIf",b.isExpanded);C(1);G("ngIf",!b.isExpanded);C(3);G("ngIf",b.isExpanded);C(1);G("ngIf",b.isExpanded)}},
dependencies:[Ru,Su,Tu,yy,jz,Af,tv,Mv,Nv,zv,VN,eU,Yy,Xy,CO,BO,Ay,TL,az,XA],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 T6=function(){};T6.\u0275fac=function(a){return new (a||T6)};T6.\u0275mod=Bc({type:T6});T6.\u0275inj=oc({imports:[MF,Qv,zO,WB,MU,YA,DO,mU,bz,zC]});var U6=function(a){r.call(this,a,0,U6.messageId)};V(U6,r);U6.prototype.getFieldIdList=function(){return yg(this,qh,1)};U6.prototype.setFieldIdList=function(a){return Th(this,1,a)};U6.prototype.setFieldId=function(a){Np(this,1,qh,a)};U6.repeatedFields_=[1];U6.prototype.toObject=function(){if(null!=this){t(this);var a={fieldIdList:Mb(this.getFieldIdList(),edc)}}else a=void 0;return a};U6.prototype.serializeBinary=u([U6,1,Iq,fdc]);U6.messageId="b.ReorderFieldsRequest";var V6=function(a){r.call(this,a,0,V6.messageId)};V(V6,r);V6.prototype.getFieldIdList=function(){return yg(this,qh,1)};V6.prototype.setFieldIdList=function(a){return Th(this,1,a)};V6.prototype.setFieldId=function(a){Np(this,1,qh,a)};V6.repeatedFields_=[1];V6.prototype.toObject=function(){if(null!=this){t(this);var a={fieldIdList:Mb(this.getFieldIdList(),edc)}}else a=void 0;return a};V6.prototype.serializeBinary=u([V6,1,Iq,fdc]);V6.messageId="b.ReorderFieldsResponse";var W6=function(a){this.executor=a};W6.prototype.updateCustomFieldState=function(a,b,c){var d=new qh;d.setCustomFieldId(b);var e=new LC;e.setFieldId(d);e.setStateOnIssues(c);return this.executor.post({url:"action/components/"+a+"/field_configs/custom_field_id/"+b,body:e,responseConstructor:LC})};W6.prototype.reorder=function(a,b){b=(new U6).setFieldIdList(b);return this.executor.post({url:"action/components/"+a+"/reorder",body:b,responseConstructor:V6})};W6.\u0275fac=function(a){return new (a||W6)(w(BC))};
W6.\u0275prov=nc({token:W6,factory:W6.\u0275fac,providedIn:"root"});var Qhd=["SILENT","MINOR","MAJOR"];var Rhd=["fieldStateMenu"],Nob=function(a){return{type:a}},X6=function(a,b,c,d,e,g,h,l,q,v,y){kE.call(this);var B=this;this.customFieldsApi=a;this.checkBeforeExit=b;this.butterBar=c;this.analytics=d;this.routeParams=e;this.componentActions=g;this.fieldConfigService=h;this.documentationLinks=l;this.paths=q;this.confirmationDialog=v;this.appEvents=y;this.FieldType=ATc;this.ListFieldType=ITc;this.getSingleEditFieldType=Q6a;this.getListFieldType=J7a;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=Qhd;Object.keys(ysa).slice(0).filter(function(I){return"UNSPECIFIED"!==I});this.componentId=Ig(this.routeParams.componentId);this.subscriptions.add(tP(b,function(){return B.hasUnsavedChanges()},!0))};V(X6,kE);X6.\u0275dir=kE.\u0275dir;
X6.prototype.ngOnInit=function(){this.loadCustomFields()};X6.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};
X6.prototype.editField=function(a){window.scrollTo({top:0,behavior:"smooth"});if(!this.hasUnsavedChanges()||Fyc())this.editableField=Gg(this.customFields[a]),this.originalEditableFieldValue=Gg(this.editableField),this.serverError=null,this.setType(this.editableField.type),Rob(this,this.editableField.allowedValue)};
var cpb=function(a,b){var c=a.customFields[b];a.confirmationDialog.open({title:"Deleting field: "+c.name,content:yl("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)}})};
X6.prototype.doDelete=function(a){var b=this;WF(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");WF(b.butterBar,"Deleted field: "+a.name,2E3);b.loadCustomFields()})};
X6.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=Ck(e);a.isLoading=!1};["REPEATED_ENUM","ENUM"].includes(this.editableField.type)?this.editableField.allowedValue=this.allowedValues.map(function(e){return e.value}):this.editableField.allowedValue=null;if(this.editableField.customFieldId){var d="update";this.customFieldsApi.update(this.componentId,
this.editableField.customFieldId,this.editableField).then(b).catch(c)}else d="create",this.editableField.componentId=this.componentId,this.customFieldsApi.create(this.componentId,this.editableField).then(b).catch(c)};
X6.prototype.updateCustomFieldState=function(a,b,c){var d=this;return new Promise(function(e,g){d.fieldConfigService.updateCustomFieldState(d.componentId,a.customFieldId,b).pipe(qe(d.destroyed$)).subscribe(function(){a:{switch(b){case 1:var h="Inherit ("+(d.fieldsEnabledOnParentComponent.get(a.customFieldId)?"Enabled":"Disabled")+")";break a;case 2:h="Disabled";break a;case 3:h="Enabled";break a}h=void 0}d.analytics.trackEvent("customField","updateFieldConfig",h);d.componentActions.getUncached(d.componentId).then(function(){return d.loadCustomFields(!0)}).then(function(){setTimeout(function(){var l,
q;null==(l=d.fieldStateMenus)||null==(q=l.get(c))||q.focus()})}).then(function(){return e(void 0)})},function(h){d.serverError=Ck(h);d.isLoading=!1;g(h)})})};X6.prototype.cancel=function(){this.originalEditableFieldValue=this.editableField=null};
var Uob=function(a,b){var c=a.editableField.type,d="TEXT"===c&&ksa(b)?b:void 0,e="DATE"===c&&b&&Yra(b)?b:void 0,g="ENUM"===c&&ksa(b)?b:void 0,h="NUMERIC"===c&&jsa(b)?b:void 0,l="REPEATED_TEXT"===c&&Hg(b)?{values:b}:void 0,q;if(q="REPEATED_DATE"===c)q=Array.isArray(b)&&b.every(Yra);q=q?{values:b}:void 0;var v="REPEATED_ENUM"===c&&Hg(b)?{values:b}:void 0;b="REPEATED_NUMERIC"===c&&lsa(b)?{values:b}:void 0;a.editableField.typedDefaultValue=new Og({customFieldId:a.editableField.customFieldId,textValue:d,
dateValue:e,enumValue:g,numericValue:h,repeatedTextValue:l,repeatedDateValue:q,repeatedEnumValue:v,repeatedNumericValue:b})};
X6.prototype.setType=function(a,b){var c=this.editableField.type;if(void 0===b?0:b)switch(a){case "TEXT":this.editableField.type="REPEATED_TEXT";break;case "DATE":this.editableField.type="REPEATED_DATE";break;case "ENUM":this.editableField.type="REPEATED_ENUM";break;case "NUMERIC":this.editableField.type="REPEATED_NUMERIC"}else this.editableField.type=a;a!=c&&(this.editableField.typedDefaultValue=null)};
var Rob=function(a,b){b=null===b?null:b.map(function(c){return c.toString()});a.editableField.allowedValue=b;a.allowedValues=b?b.map(function(c){return{value:c,displayText:c}}):[]};X6.prototype.hasUnsavedChanges=function(){return this.editableField&&!Fg(this.editableField,this.originalEditableFieldValue)?!0:!1};
X6.prototype.loadCustomFields=function(a){var b=this;a=void 0===a?!1:a;a||(this.isLoading=!0);return this.componentActions.get(this.componentId).then(function(c){var d,e=(null==(d=c.componentPathInfo)?void 0:d.allCustomField)||[];d=[];b.componentIdsToNames={};var g,h=(null==(g=c.componentPathInfo)?void 0:g.componentPathId)||[];for(g=0;g<h.length;g++)d.push(c.componentPathInfo.componentPathName[g]),b.componentIdsToNames[c.componentPathInfo.componentPathId[g]]=d.join(" > ");b.editableField=null;b.originalEditableFieldValue=
null;a||(b.isLoading=!1);c=function(l,q){return Hn(l.name,q.name)};b.customFields=e.filter(function(l){return b.componentId===l.componentId}).sort(c);b.inheritedCustomFields=e.filter(function(l){return b.componentId!==l.componentId}).sort(c);b.appEvents.customFieldsModified.next(e)})};var ipb=function(a,b){return a.fieldsEnabledOnParentComponent.has(b)?a.fieldsEnabledOnParentComponent.get(b):!0};X6.prototype.trackClick=function(a){this.analytics.trackEvent("editComponent","click",a)};
var Vob=function(a){var b,c;return null==(b=a.editableField)?void 0:null==(c=b.typedDefaultValue)?void 0:c.getValue()};X6.prototype.getListFieldValues=function(){var a,b,c,d;return null!=(d=null==(c=null==(a=this.editableField)?void 0:null==(b=a.typedDefaultValue)?void 0:b.getValue())?void 0:c.values)?d:null};X6.prototype.setFieldSignificance=function(a){this.editableField.fieldSignificance=a};
X6.\u0275fac=function(a){return new (a||X6)(D(fG),D(sP),D(VF),D(AH),D(qJ),D(mV),D(W6),D(NI),D(OG),D(OI),D(cG))};
X6.\u0275cmp=zc({type:X6,selectors:[["b-component-custom-fields"]],viewQuery:function(a,b){a&1&&jf(Rhd,5);if(a&2){var c;hf(c=lf())&&(b.fieldStateMenus=c)}},inputs:{editMode:"editMode",isSaving:"isSaving",component:"component",parentComponent:"parentComponent"},features:[xe,Mc],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),R(1,$ob,68,32,"div",1),R(2,apb,2,1,"div",2),R(3,opb,26,7,"div",3),J());a&2&&(C(1),G("ngIf",b.editableField&&!b.isLoading),C(1),G("ngIf",b.isLoading),C(1),G("ngIf",!b.isLoading))},dependencies:[Ru,Su,Tu,yy,Av,Af,tv,uv,Mv,zv,xv,LZ,HZ,$M,u1,QJ,RJ,VJ,SJ,gZ,
XA,PA,NA,OA,MA,jV,RZ,SL,IG,CJ,BJ,EJ],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 Y6=function(){};Y6.\u0275fac=function(a){return new (a||Y6)};Y6.\u0275mod=Bc({type:Y6});Y6.\u0275inj=oc({imports:[MF,Qv,MZ,IZ,vN,v1,cN,lZ,zC,QA,WB,DO,kV,SZ,HJ,yN,MG]});var Z6=function(){this.options=[];this.disabled=!1;this.removeAtIndex=new tu;this.addRow=new tu;this.optionsChange=new tu};Z6.prototype.valueChange=function(a,b){this.options[b].value=Number(a.target.value);this.optionsChange.emit(this.options)};Z6.prototype.drop=function(a){Fl(this.options,a.previousIndex,a.currentIndex);this.optionsChange.emit(this.options)};Z6.\u0275fac=function(a){return new (a||Z6)};
Z6.\u0275cmp=zc({type:Z6,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),S(3," Dropdown value "),J()(),H(4,"div",3)(5,"span",4),S(6," Average days "),J(),K(7,"mat-icon",5),J()(),H(8,"div",6),O("cdkDropListDropped",function(c){return b.drop(c)}),R(9,qpb,12,13,"div",7),J(),R(10,rpb,2,0,"button",8));a&2&&(C(2),Ie("muted",b.disabled),C(3),Ie("muted",b.disabled),C(2),G("matTooltip","All estimated effort types map to an average number of days."),C(2),G("ngForOf",b.options),C(1),G("ngIf",!b.disabled))},dependencies:[Su,Tu,yy,jz,Yy,
az,XA,$K,YK,TK],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 $6=function(){this.disabled=!1;this.valueChange=new tu};$6.prototype.onValueChange=function(a){this.valueChange.emit(Number(a.target.value))};$6.\u0275fac=function(a){return new (a||$6)};
$6.\u0275cmp=zc({type:$6,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),S(3," Time "),J(),H(4,"span",3),S(5,"1"),J()(),H(6,"div",1)(7,"div",4)(8,"span",5),S(9," Average days "),J(),K(10,"mat-icon",6),J(),H(11,"mat-form-field",
7)(12,"input",8,9),O("change",function(d){return b.onValueChange(d)}),J()()()());if(a&2){var c=Se(13);C(2);Ie("muted",b.disabled);C(6);Ie("muted",b.disabled);C(2);G("matTooltip","All estimated effort types map to an average number of days.");C(1);G("appearance",c.focused?"standard":"none");C(1);G("disabled",b.disabled)("value",b.value)}},dependencies:[jz,Yy,az,XA],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 b7=function(a){this.activeSession=a;this.disabled=!1;this.updateEffortSpec=new tu;this.configurationOptions=[Shd,Thd,a7];this.estimatedEffortFieldEnabled=this.inherit=!1;this.name="Estimated effort";this.numericSpecMultiplier=1;this.enumSpecOptions=[];this.aggregationRules=gdc;this.selectedAggregationRule=this.aggregationRules.SUM;this.enableAggregationRules=iE(this.activeSession,"enableAggregationRules")};
b7.prototype.ngOnInit=function(){(this.originalEffortSpec=this.effortSpec)&&this.effortSpec.numericSpec&&(this.originalSelectedEffortConfig=a7)};b7.prototype.ngOnChanges=function(a){a.effortSpec&&this.effortSpec&&(this.originalEffortSpec=Gg(this.effortSpec),this.setValues(this.effortSpec))};
b7.prototype.setValues=function(a){if(a.numericSpec){this.selectedEffortConfig=a7;var b,c,d;this.numericSpecMultiplier=null!=(d=null==(b=this.effortSpec)?void 0:null==(c=b.numericSpec)?void 0:c.multiplier)?d:1}if(a.enumSpec){this.selectedEffortConfig=void 0;var e,g;this.enumSpecOptions=(null!=(g=null==(e=a.enumSpec)?void 0:e.options)?g:[]).map(function(l){return{label:l.label,value:l.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 Uhd=function(a){var b,c,d;if((null==(b=a.effortSpec)?0:b.enumSpec)&&!a.selectedEffortConfig||(null==(c=a.selectedEffortConfig)?void 0:c.displayText)===Shd.displayText||(null==(d=a.selectedEffortConfig)?void 0:d.displayText)===Thd.displayText)return"enum";var e;return(null==(e=a.selectedEffortConfig)?void 0:e.displayText)===a7.displayText?"numeric":"empty"};b7.prototype.addRow=function(){this.enumSpecOptions.push({label:null,value:null})};
b7.prototype.isSaveButtonDisabled=function(){var a;if(!(a=this.disabled||void 0===this.selectedEffortConfig&&void 0===this.effortSpec&&this.estimatedEffortFieldEnabled&&!this.inherit||""===this.name)){a:{a=k(this.enumSpecOptions);for(var b=a.next();!b.done;b=a.next())if(b=b.value,!b.label||null===b.value){a=!1;break a}a=!0}a=!a}return a};var Vhd=function(a){a.selectedEffortConfig=void 0;a.enumSpecOptions=[];a.effortSpec=void 0;a.name="Estimated effort"};b7.\u0275fac=function(a){return new (a||b7)(D(rp))};
b7.\u0275cmp=zc({type:b7,selectors:[["b-estimated-effort-config"]],inputs:{effortSpec:"effortSpec",parentEffortSpec:"parentEffortSpec",disabled:"disabled"},outputs:{updateEffortSpec:"updateEffortSpec"},features:[Mc],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),O("cardTitleChange",function(c){return b.name=c})("dropdownSelectionChanged",function(c){b.selectedEffortConfig=
c;c.displayText===Shd.displayText?(b.enumSpecOptions=[].concat(Jc(Whd)),b.name="Story points"):c.displayText===Thd.displayText?(b.enumSpecOptions=[].concat(Jc(Xhd)),b.name="T-shirt sizes"):c.displayText===a7.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)===a7.displayText)c.numericSpec={multiplier:b.numericSpecMultiplier};else if(0<b.enumSpecOptions.length){d=[];for(var e=k(b.enumSpecOptions),g=e.next();!g.done;g=e.next())g=g.value,g.label&&null!==g.value&&d.push({label:g.label,value:g.value});c.enumSpec={options:d}}b.updateEffortSpec.emit(c)}else b.updateEffortSpec.emit({name:"",inherit:!1})})("selectedChange",
function(c){b.estimatedEffortFieldEnabled=c;b.estimatedEffortFieldEnabled||Vhd(b)})("onCancelButtonClicked",function(){b.effortSpec=b.originalEffortSpec;b.selectedEffortConfig=b.originalSelectedEffortConfig;b.effortSpec?b.setValues(b.effortSpec):(b.estimatedEffortFieldEnabled=!1,Vhd(b))})("isInheritedChange",function(c){(c=c.checked)?(b.setValues(b.parentEffortSpec?b.parentEffortSpec:{name:"Estimated effort"}),b.effortSpec=b.parentEffortSpec,b.effortSpec||Vhd(b)):b.effortSpec&&(b.setValues({}),Vhd(b));
b.inherit=c}),H(1,"div",1),R(2,tpb,2,1,"ng-container",2),R(3,upb,2,2,"ng-container",2),R(4,vpb,1,0,"ng-container",2),J(),R(5,wpb,23,13,"div",3),J(),R(6,xpb,1,2,"ng-template",null,4,of));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),
C(1),G("ngSwitch",Uhd(b)),C(1),G("ngSwitchCase","enum"),C(1),G("ngSwitchCase","numeric"),C(1),G("ngSwitchCase","empty"),C(1),G("ngIf",b.enableAggregationRules&&b.estimatedEffortFieldEnabled))},dependencies:function(){return[Tu,Yu,Uu,Vu,zy,jz,Yy,S6,XA,CO,BO,Ay,Z6,$6,c7]},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 Whd=[{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}],Xhd=[{label:"XS",value:1},{label:"S",value:3},{label:"M",value:5},{label:"L",value:10},{label:"XL",value:20}],Shd={displayText:"Story points",icon:"story-point-24px"},Thd={displayText:"T-shirt sizes",icon:"t-shirt-24px"},a7={displayText:"Time",icon:"time-24px"},c7=function(){};
c7.prototype.transform=function(a){switch(a){case "MAX":return"Max Point";default:return"Simple Sum"}};c7.\u0275fac=function(a){return new (a||c7)};c7.\u0275pipe=Dc({name:"aggregationRuleText",type:c7,pure:!0});var Yhd=function(){this.disabled=!1;this.updateComponent=new tu};Yhd.\u0275fac=function(a){return new (a||Yhd)};
Yhd.\u0275cmp=zc({type:Yhd,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),S(2,"Once activated, standard fields appear in the right panel of all issues."),J(),H(3,"b-estimated-effort-config",
2),O("updateEffortSpec",function(c){b.updateComponent.emit(c)}),J()());a&2&&(C(3),G("effortSpec",b.effortSpec)("parentEffortSpec",b.parentEffortSpec)("disabled",b.disabled))},dependencies:[b7],styles:[".field-container[_ngcontent-%COMP%]{max-width:1100px}"]});var d7=function(){};d7.\u0275fac=function(a){return new (a||d7)};d7.\u0275mod=Bc({type:d7});d7.\u0275inj=oc({imports:[MF,bz,WB,YA,zO,T6,zC,DO,aL]});var e7=function(){};e7.\u0275fac=function(a){return new (a||e7)};e7.\u0275mod=Bc({type:e7});e7.\u0275inj=oc({imports:[MF,T6,d7]});var Zhd={MISSING:"MISSING",DELETED:"DELETED",VALID:"VALID"};var f7=function(a,b,c,d,e,g,h,l,q,v){kE.call(this);var y=this;this.data=a;this.dialogRef=b;this.pathBuilder=c;this.teamsService=d;this.componentActions=e;this.userPreferencesManager=g;this.snackBar=h;this.analytics=l;this.errorHandler=q;this.componentFridge=v;this.teamSuggestionIds=[];this.header="";this.teamOptions=[];this.teamAction="CHANGE";this.WarningType=Zhd;this.warningType=a.warningType;this.componentId=a.componentId;this.parentComponentId=a.parentComponentId;this.teamSuggestionIds=a.teamSuggestionIds;
this.selectedTeam=new $hd(this.teamSuggestionIds[0]||"0",[]);this.componentSetting=this.pathBuilder.editComponent(this.componentId,"basic");this.suggestedTeams$=Lnc(this.teamsService,this.teamSuggestionIds).pipe(E(function(B){for(var I=[],N=k(y.teamSuggestionIds),Q=N.next();!Q.done;Q=N.next()){Q=Q.value;var Z=B.get(Q);Z&&I.push(new $hd(Q,Z.collapsedPathNames))}return I}),oe([]));this.myTeams$=$H(this.teamsService,"").pipe(E(function(B){return B.map(function(I){return new $hd(I.teamId,I.pathNames)})}));
(0,F.combineLatest)([this.suggestedTeams$,this.myTeams$]).pipe(E(function(B){var I=k(B);B=I.next().value;I=I.next().value;return[].concat(Jc(B),Jc(I))}),E(Kwa(function(B){return B.teamId})),qe(this.destroyed$)).subscribe(function(B){y.teamOptions=B;y.selectedTeam=B[0]})};V(f7,kE);f7.\u0275dir=kE.\u0275dir;f7.prototype.ngOnInit=function(){"MISSING"===this.warningType?this.header="Add team to the component":"DELETED"===this.warningType&&(this.header="Change team mapping for this component")};
f7.prototype.confirm=function(){var a=this;if("CHANGE"===this.teamAction)0<this.parentComponentId?this.componentActions.get(this.parentComponentId).then(function(c){var d;aid(a,(null==(d=c.team)?void 0:d.id)||"0",a.selectedTeam.teamId)}):aid(this,"0",this.selectedTeam.teamId);else{var b=Gg(this.userPreferencesManager.teamWarningPreferencesSubject$.value);b.componentTeamWarnings.push({componentId:this.componentId,dismissMillis:(new Date).getTime()});Cpc(this.userPreferencesManager,b).pipe(qe(this.destroyed$)).subscribe(function(){a.analytics.trackEvent(Yl.TEAM_WARNING,
"dismiss","componentId",a.componentId);var c;null==(c=a.dialogRef)||c.close()},function(){})}};var aid=function(a,b,c){a.componentActions.updateTeam(a.componentId,{inherit:c===b,id:c}).then(function(d){a.componentFridge.announce(d);a.analytics.trackEvent(Yl.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)})};
f7.prototype.selectOption=function(a){this.selectedTeam=a};f7.prototype.trackClick=function(a){this.analytics.trackEvent(Yl.TEAM_WARNING,"click",a)};f7.prototype.getMomaTeamLink=function(){return"https://moma.corp.google.com/team/"+this.selectedTeam.teamId};f7.\u0275fac=function(a){return new (a||f7)(D(Ky),D(Iy),D(uU),D(YH),D(mV),D(TI),D(TF),D(AH),D(ZF),D(xF))};
f7.\u0275cmp=zc({type:f7,selectors:[["b-team-warning-dialog"]],features:[xe],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),S(1),J(),R(2,zpb,5,1,"div",1),
R(3,Apb,5,1,"div",1),R(4,Bpb,7,1,"mat-radio-group",2),R(5,Fpb,6,6,"div",3),H(6,"mat-dialog-actions")(7,"button",4),S(8," Cancel "),J(),H(9,"button",5),O("click",function(){return b.confirm()}),S(10," Confirm "),J()());a&2&&(C(1),Ve(b.header),C(1),G("ngIf",b.warningType===b.WarningType.MISSING),C(1),G("ngIf",b.warningType===b.WarningType.DELETED),C(1),G("ngIf",b.warningType===b.WarningType.MISSING),C(1),G("ngIf",0<b.teamOptions.length))},dependencies:[Tu,yy,zy,jz,tv,zv,My,Ny,Oy,Py,XM,YM,XA,RY],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 $hd=function(a,b){this.teamId=a;this.teamPath=b.join(" > ")};var g7=function(a,b){kE.call(this);this.matDialogService=a;this.analytics=b;this.teamSuggestions=[];this.messageOnly=!1;this.updateTeam=new tu};V(g7,kE);g7.\u0275dir=kE.\u0275dir;g7.prototype.ngOnInit=function(){};g7.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")};
g7.prototype.openDialog=function(){var a=this;this.analytics.trackEvent(Yl.TEAM_WARNING,"open");Gy(this.matDialogService.open(f7,{width:"580px",data:{warningType:this.warningType,componentId:this.componentId,parentComponentId:this.parentComponentId,teamSuggestionIds:this.teamSuggestions.map(function(b){return String(b.teamId)})}})).pipe(qe(this.destroyed$)).subscribe(function(b){b&&a.updateTeam.emit(b)})};g7.\u0275fac=function(a){return new (a||g7)(D(Ly),D(AH))};
g7.\u0275cmp=zc({type:g7,selectors:[["b-team-warning"]],inputs:{warningType:"warningType",componentId:"componentId",parentComponentId:"parentComponentId",teamSuggestions:"teamSuggestions",messageOnly:"messageOnly"},outputs:{updateTeam:"updateTeam"},features:[xe,Mc],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"),S(2),J(),R(3,Gpb,3,1,"b-callout-actions",1),J());
a&2&&(C(2),Te(" ",b.warningMessage," "),C(1),G("ngIf",!b.messageOnly))},dependencies:[qP,rX,sX,Tu],encapsulation:2});var h7=function(a){var b=this;this.teamsService=a;this.anchorTarget="_blank";this.useInternalLink=this.isTopLevel=this.isAdmin=!1;this.modelChange=new tu;this.inherit=!1;this.selectedTeam$=new F.Subject;this.teamIdChanged$=new F.ReplaySubject(1);this.placeholder$=this.teamIdChanged$.pipe(E(function(c){return"0"===c?!b.isAdmin||!b.isTopLevel&&b.inherit?"No team selected":"Type to search for a team (leave blank to disable)":""}),oe(""));this.teamFromId$=this.teamIdChanged$.pipe(pe(function(c){return"0"===
c?(0,F.of)(new $lb([c],[""],"")):ZH(b.teamsService,c).pipe(E(function(d){return new $lb([],d.collapsedPathNames,d.description)}))}));this.displayedTeam$=(0,F.merge)(this.teamFromId$,this.selectedTeam$);this.warningType$=this.teamIdChanged$.pipe(pe(function(c){return"0"===c?(0,F.of)("MISSING"):b.teamsService.getTeam(c).pipe(E(function(d){return!d||d.deleted?"DELETED":"VALID"}))}))};
h7.prototype.updateSelectionOnChange=function(a){jl(Yl.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);bid(this)};var bid=function(a){a.inherit=a.model.inherit;a.teamIdChanged$.next(a.model.id)};h7.prototype.ngOnInit=function(){Object.assign({},this.model);bid(this)};var Kpb=function(a){return a.model.id&&"0"!==a.model.id};
h7.prototype.getMomaTeamLink=function(){return Kpb(this)?"https://moma.corp.google.com/team/"+this.model.id:null};h7.\u0275fac=function(a){return new (a||h7)(D(YH))};
h7.\u0275cmp=zc({type:h7,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"),R(1,Ipb,2,1,"ng-container",0),T(2,"async"),R(3,Jpb,3,2,"div",1),H(4,"div",2)(5,"label",3),S(6,"Team selection"),J(),H(7,"b-team-picker",4),O("onTeamSelect",
function(d){return b.updateSelectionOnChange(d)})("onEmptyQuery",function(){b.model.id="0";b.modelChange.emit(b.model);bid(b)}),T(8,"async"),T(9,"async"),J(),R(10,Mpb,2,1,"ng-container",5),J()(),R(11,Opb,1,1,"ng-template",null,6,of));if(a&2){var c=Se(12);C(1);G("ngIf",U(2,7,b.warningType$));C(2);G("ngIf",!b.isTopLevel);C(4);G("placeholder",U(8,9,b.placeholder$))("disabled",!b.isAdmin||!b.isTopLevel&&b.inherit)("teamSelected",U(9,11,b.displayedTeam$));C(3);G("ngIf",b.useInternalLink)("ngIfElse",c)}},
dependencies:[Tu,zy,jz,VN,XA,l6,g7,IG,Zu],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 i7=function(){};i7.\u0275fac=function(a){return new (a||i7)};i7.\u0275mod=Bc({type:i7});i7.\u0275inj=oc({imports:[HT,CX,MF,Qv,WB,Qy,YA,AN,SF,zC,cZ]});var j7=function(){};j7.\u0275fac=function(a){return new (a||j7)};j7.\u0275mod=Bc({type:j7});j7.\u0275inj=oc({imports:[MF,aP,zO,zC,o6,i7,Qv,YA,WB,MG]});var k7=function(){};k7.\u0275fac=function(a){return new (a||k7)};k7.\u0275mod=Bc({type:k7});k7.\u0275inj=oc({imports:[MF,Qv,WB,bz,Zy,Qy]});var l7=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},cid=function(a){a.fields.sort(function(b,c){return b.name.localeCompare(c.name)});a.detectChanges()};l7.prototype.drop=function(a){Fl(this.fields,a.previousIndex,a.currentIndex);this.detectChanges()};
var Ppb=function(a,b){return 0<b?(Fl(a.fields,b,b-1),a.detectChanges(),!0):!1},Qpb=function(a,b){return b<a.fields.length-1?(Fl(a.fields,b,b+1),a.detectChanges(),!0):!1};l7.prototype.trackByFn=function(){return-1};l7.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.")};
l7.prototype.onKeyDown=function(a,b){switch(a.key){case " ":a.preventDefault();did(this,b);break;case "Tab":this.grabbed&&did(this,b);break;case "ArrowUp":eid(this,a);break;case "ArrowDown":eid(this,a)}};
var did=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."))},eid=function(a,b){if(a.grabbed){var c=document.activeElement;if(c&&void 0!==a.grabbedIndex){if("ArrowUp"===b.key){if(Ppb(a,a.grabbedIndex)){var d=c.previousElementSibling;
a.grabbedIndex--}}else Qpb(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."))}}};l7.prototype.detectChanges=function(){this.hasChanges=!Fg(this.fields,this.originalFields)};l7.\u0275fac=function(a){return new (a||l7)(D(Ky),D(Iy),D(cx))};
l7.\u0275cmp=zc({type:l7,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),S(3," Reorder custom fields "),J(),H(4,"button",3),O("click",function(){return cid(b)}),K(5,"mat-icon",4),J()()(),H(6,"div",5)(7,"ol",6),O("cdkDropListDropped",function(c){return b.drop(c)}),R(8,Rpb,9,7,"li",7),J()(),H(9,"div",8)(10,"button",9),O("click",function(){return b.dialogRef.close()}),S(11," Cancel "),J(),H(12,"button",10),O("click",function(){return b.dialogRef.close(b.fields)}),S(13," Save "),J()());a&2&&(C(8),
G("ngForOf",b.fields)("ngForTrackBy",b.trackByFn),C(4),G("disabled","CUSTOMIZED"===b.fieldOrdering&&!b.hasChanges))},dependencies:[Su,yy,jz,Ny,Oy,Py,$K,YK,TK,XA],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 m7=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 tu;this.displayedColumn=["index","name","type","required","customFieldId"]},eqb=function(a){return Gy(a.matDialog.open(l7,{width:"500PX",autoFocus:!1,data:{fields:a.fields,orderingCustomized:a.fieldOrdering}})).subscribe(function(b){b&&fid(a,b)})},fqb=function(a){a.confirmationDialog.open({title:"Reset ordering?",content:yl("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()}})},fid=function(a,b){a.analytics.trackEvent(Yl.FIELD_ORDERING,"reorderFields");var c=b.map(function(d){return(new qh).setCustomFieldId(d.customFieldId)});a.componentId?(WF(a.butterBar,"Saving...",0),a.fieldConfigService.reorder(a.componentId,c).subscribe(function(){WF(a.butterBar,"Field ordering saved",5E3);a.fields=b.concat();a.fieldOrdering="CUSTOMIZED"},function(){XF(a.butterBar,"Saving ordering failed, please refresh the page.",5E3)})):XF(a.butterBar,"Saving ordering failed due to the undefined component id.")};
m7.prototype.reset=function(){var a=this;this.analytics.trackEvent(Yl.FIELD_ORDERING,"resetFields");this.componentId?(WF(this.butterBar,"Resetting orderings..."),this.fieldConfigService.executor.post({url:"action/components/"+this.componentId+"/unorder",body:null,responseConstructor:mE}).subscribe(function(){WF(a.butterBar,"Ordering reset");a.fieldOrdering="INHERITED";a.onReload.emit()},function(){XF(a.butterBar,"Reset failed.")})):XF(this.butterBar,"Reset failed due to the undefined component id.")};
m7.\u0275fac=function(a){return new (a||m7)(D(Ly),D(OI),D(W6),D(AH),D(VF))};
m7.\u0275cmp=zc({type:m7,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),L(3,3),R(4,Spb,2,0,"th",4),R(5,Tpb,2,1,"td",5),M(),L(6,6),R(7,Upb,2,0,"th",
4),R(8,Vpb,2,1,"td",5),M(),L(9,7),R(10,Wpb,2,0,"th",4),R(11,Xpb,3,3,"td",5),M(),L(12,8),R(13,Ypb,2,0,"th",4),R(14,Zpb,2,1,"td",5),M(),L(15,9),R(16,$pb,2,0,"th",4),R(17,aqb,2,1,"td",5),M(),R(18,bqb,1,0,"tr",10),R(19,cqb,1,0,"tr",11),J(),R(20,dqb,2,0,"div",12),J(),R(21,gqb,6,2,"div",13),J());a&2&&(C(2),G("dataSource",b.fields),C(16),G("matHeaderRowDef",b.displayedColumn),C(1),G("matRowDefColumns",b.displayedColumn),C(1),G("ngIf",0===b.fields.length),C(1),G("ngIf",b.isAdmin))},dependencies:[Tu,yy,FL,
xL,BL,yL,wL,CL,zL,AL,DL,EL,IO],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 n7=function(){};n7.\u0275fac=function(a){return new (a||n7)};n7.\u0275mod=Bc({type:n7});n7.\u0275inj=oc({providers:[OI],imports:[MF,WB,Qy]});var o7=function(){};o7.\u0275fac=function(a){return new (a||o7)};o7.\u0275mod=Bc({type:o7});o7.\u0275inj=oc({imports:[MF,WB,HT,Qy,MN,aL,zC,vN,YA,n7,KO]});var p7=function(a){this.analytics=a;this.filename=this.packageName=this.issueId="";this.lineNumbers=[];this.changeNumber=0},iqb=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="+gid+a.issueId+hid;a.changeNumber&&(c+="&rcl="+a.changeNumber);Array.isArray(b)?c+="&l="+b.join(","):b&&(c+="&l="+b);return c}};
p7.prototype.trackClick=function(a){this.analytics.trackEvent("codeMentions","clickCodeSearchLink",a)};p7.\u0275fac=function(a){return new (a||p7)(D(AH))};
p7.\u0275cmp=zc({type:p7,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),O("click",function(){return b.trackClick("fileName")}),S(2),J(),R(3,hqb,2,1,"span",2),R(4,kqb,5,1,"span",2),J());a&2&&(C(1),G("href",iqb(b,b.lineNumbers),vd),C(1),Te(" ",b.filename," "),C(1),G("ngIf",!(10>=b.lineNumbers.length&&"wiki"!=b.packageName)),C(1),G("ngIf",10>=b.lineNumbers.length&&"wiki"!=b.packageName))},dependencies:[Su,Tu],encapsulation:2});
var gid=encodeURIComponent("content:(https?://)?b(uganizer)?(\\.corp(\\.google\\.com)?)?/(issues/|issue\\?id=)?"),hid=encodeURIComponent("(\\b|$)");var q7=function(){};q7.\u0275fac=function(a){return new (a||q7)};q7.\u0275mod=Bc({type:q7});q7.\u0275inj=oc({imports:[MF]});var r7=function(){this.isReady=!1};r7.\u0275fac=function(a){return new (a||r7)};r7.\u0275cmp=zc({type:r7,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&&(Ne(),R(0,lqb,1,0,"div",0),R(1,mqb,2,0,"ng-container",1));a&2&&(G("ngIf",!b.isReady),C(1),G("ngIf",b.isReady))},dependencies:[Tu],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 iid=function(){this.warning=""};iid.\u0275fac=function(a){return new (a||iid)};
iid.\u0275cmp=zc({type:iid,selectors:[["onedev-warning-icon"]],hostVars:2,hostBindings:function(a,b){a&2&&Ie("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&&R(0,nqb,2,1,"svg",0);a&
2&&G("ngIf",b.warning)},dependencies:[Tu,XA],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 jid=["*",[["","actions",""]]],kid=[[["onedev-field-label"]],[["onedev-field-value"]]],lid=0,s7=function(){this.thinking=!1;this.warning=this.labelTooltip="";this.id="onedev-field-label-"+lid;lid++};s7.\u0275fac=function(a){return new (a||s7)};
s7.\u0275cmp=zc({type:s7,selectors:[["onedev-field-label"]],hostVars:1,hostBindings:function(a,b){a&2&&Ae("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&&(Ne(),H(0,"onedev-async-data-placeholder",0)(1,"span",1),Oe(2),J(),K(3,"onedev-warning-icon",2),J());a&2&&(G("isReady",!b.thinking),C(1),G("matTooltip",b.labelTooltip),C(2),G("warning",
b.warning))},dependencies:[r7,XA,iid],styles:["[_nghost-%COMP%]{line-height:29px;font-size:13px}span.label[_ngcontent-%COMP%]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}"]});var t7=function(){this.thinking=!1};t7.\u0275fac=function(a){return new (a||t7)};
t7.\u0275cmp=zc({type:t7,selectors:[["onedev-field-value"]],inputs:{thinking:"thinking"},ngContentSelectors:["*","[actions]"],decls:3,vars:1,consts:[[3,"isReady"]],template:function(a,b){a&1&&(Ne(jid),H(0,"onedev-async-data-placeholder",0),Oe(1),Oe(2,1),J());a&2&&G("isReady",!b.thinking)},dependencies:[r7],encapsulation:2});var u7=function(){this.labelPosition="left"};u7.prototype.ngAfterContentInit=function(){var a=this;setTimeout(function(){a.field&&a.label&&(a.field.labelledById=a.label.id)})};
u7.\u0275fac=function(a){return new (a||u7)};
u7.\u0275cmp=zc({type:u7,selectors:[["onedev-edit-field"]],contentQueries:function(a,b,c){a&1&&(kf(c,QY,5),kf(c,s7,7));if(a&2){var d;hf(d=lf())&&(b.field=d.first);hf(d=lf())&&(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&&(Ne(kid),H(0,"div",0),Oe(1),Oe(2,1),J());a&2&&Ie("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 mid=["popOverContent"],v7=function(a,b){this.overlay=a;this.viewContainerRef=b;this.newlineWithEnterKey=this.displayUnder=!1;this.hasBackdrop=!0;this.fitToViewport=!1;this.closedWithAction=new tu;this.isOpen=!1;this.destroyed$=new F.ReplaySubject(1);this.backdropClickSubscription=F.Subscription.EMPTY};v7.prototype.ngOnInit=function(){};v7.prototype.ngOnDestroy=function(){this.close();this.destroyed$.next();this.destroyed$.complete()};
v7.prototype.open=function(){var a=this;this.isOpen||(this.overlayRef=this.createOverlay(),this.attach(),this.isOpen=!0,this.backdropClickSubscription=this.overlayRef.backdropClick().pipe(qe(this.destroyed$)).subscribe(function(){qqb(a)}))};v7.prototype.close=function(){this.isOpen&&this.overlayRef&&(this.overlayRef.dispose(),this.overlayRef=void 0,this.isOpen=!1,this.backdropClickSubscription.unsubscribe())};
var pqb=function(a){a.closedWithAction.emit(0);a.close()},qqb=function(a){a.closedWithAction.emit(1);a.close()};f=v7.prototype;f.processKeydown=function(a){switch(a.key){case "Escape":qqb(this);a.stopPropagation();break;case "Enter":if(this.newlineWithEnterKey){if(a.metaKey||a.ctrlKey)pqb(this),a.stopPropagation(),a.preventDefault()}else a.shiftKey||(pqb(this),a.stopPropagation(),a.preventDefault())}};
f.createOverlay=function(){var a=this.getPositionStrategy(),b=this.getScrollStrategy();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+this.anchor.offsetWidth});a.overlayElement.setAttribute("role","dialog");return a};
f.attach=function(){var a=new dw(this.contentTemplateRef,this.viewContainerRef),b;null==(b=this.overlayRef)||b.attach(a);var c;null==(c=this.overlayRef)||c.updatePosition()};f.getPositionStrategy=function(){var a=b1b(Lx(Nx(this.overlay.position(),this.anchor),this.fitToViewport),this.fitToViewport);a._offsetX=-4;a._offsetY=this.displayUnder?this.anchor.offsetHeight:-4;return Jx(a,nid)};f.getScrollStrategy=function(){return this.overlay.scrollStrategies.reposition()};
v7.\u0275fac=function(a){return new (a||v7)(D(Ox),D(ff))};
v7.\u0275cmp=zc({type:v7,selectors:[["onedev-pop-over-edit-panel"]],viewQuery:function(a,b){a&1&&jf(mid,7);if(a&2){var c;hf(c=lf())&&(b.contentTemplateRef=c.first)}},inputs:{anchor:"anchor",editorTemplate:"editorTemplate",displayUnder:"displayUnder",newlineWithEnterKey:"newlineWithEnterKey",hasBackdrop:"hasBackdrop",fitToViewport:"fitToViewport"},outputs:{closedWithAction:"closedWithAction"},exportAs:["onedevPopOverEditPanel"],decls:2,vars:0,consts:[["popOverContent",""],["cdkTrapFocus","",1,"content",
"gmat-elevation-z2",3,"cdkTrapFocusAutoCapture","keydown"],[1,"edit-field"],[4,"ngTemplateOutlet"],[1,"actions"],["mat-button","","color","primary",1,"save",3,"click"],["mat-button","","color","primary",1,"cancel",3,"click"]],template:function(a){a&1&&R(0,rqb,8,2,"ng-template",null,0,of)},dependencies:[Yu,Wv,yy],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 nid=[{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 oid=["popOver"],tqb=function(a){return{$implicit:a}},w7=function(a){this.disabled=!1;this.displayEditIcon=!0;this.openPopOverOnInit=!1;this.valueChange=new tu;this.required=this.editing=this.headerFocused=!1;this.editingValue="";this.onChange=function(){};this.onTouched=function(){};if(""===a||"true"===a||"required"===a)this.required=!0};V(w7,QY);f=w7.prototype;f.ngOnInit=function(){};f.ngAfterViewInit=function(){var a=this;this.openPopOverOnInit&&setTimeout(function(){a.startEditing()})};
f.valueChanged=function(){return yqb(this.editingValue)!==this.value};f.startEditing=function(){this.disabled||(this.onTouched(),this.editing=!0,this.editingValue=null!=this.value?String(this.value):"",this.popOver.open())};f.stopEditing=function(a){this.editing=!1;0===a&&(this.onChange(this.editingValue),this.value=a=yqb(this.editingValue),this.valueChange.emit(a))};f.writeValue=function(a){var b=yqb(a);if(null!=a||this.val!==b)this.val=b,this.editingValue=null!=a?a:""};
f.isActive=function(){return this.headerFocused||this.editing};f.registerOnChange=function(a){this.onChange=a};f.registerOnTouched=function(a){this.onTouched=a};f.setDisabledState=function(a){this.disabled=a};gg.Object.defineProperties(w7.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(null!=a?String(a):null)}}});w7.\u0275fac=function(a){return new (a||w7)($c("required"))};
w7.\u0275cmp=zc({type:w7,selectors:[["onedev-numeric-field"]],viewQuery:function(a,b){a&1&&jf(oid,7);if(a&2){var c;hf(c=lf())&&(b.popOver=c.first)}},inputs:{value:"value",disabled:"disabled",displayEditIcon:"displayEditIcon",labelledById:"labelledById",openPopOverOnInit:"openPopOverOnInit",valueTemplate:"valueTemplate"},outputs:{valueChange:"valueChange"},features:[Xe([{provide:iv,useExisting:tc(function(){return w7}),multi:!0},{provide:QY,useExisting:tc(function(){return w7}),multi:!0}]),xe],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),O("click",function(){return b.startEditing()})("focus",function(){return b.headerFocused=!0})("blur",function(){return b.headerFocused=!1}),H(2,"span"),R(3,uqb,2,4,"ng-container",2),R(4,vqb,1,1,"ng-template",null,3,of),J(),R(6,wqb,2,0,"svg",4),J(),H(7,"onedev-pop-over-edit-panel",5,6),O("closedWithAction",function(g){return b.stopEditing(g)}),J(),R(9,xqb,1,1,"ng-template",null,7,of));if(a&2){var c=Se(1),
d=Se(5),e=Se(10);G("disabled",b.disabled);C(3);G("ngIf",b.valueTemplate)("ngIfElse",d);C(3);G("ngIf",!b.disabled&&b.displayEditIcon);C(1);G("anchor",c)("editorTemplate",e)}},dependencies:[Tu,Yu,Af,Bv,tv,zv,v7],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 Eqb=function(){return[]},x7=function(){this.disabled=this.thinking=!1;this.effortChange=new tu;this.isCompatibleValue=!0;this.fieldName="";this.fieldType="UNKNOWN";this.isNaN=isNaN};
x7.prototype.ngOnChanges=function(){if("DROPDOWN"===this.getFieldType()){var a;this.effortSpec&&null!=(a=this.effortSpec.enumSpec)&&a.options&&this.effort&&this.effort.estimate?(a=pid(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=qid(this)};x7.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=qid(this);this.effortChange.emit(this.effort)};x7.prototype.getFieldName=function(){return this.effortSpec?this.effortSpec.name||"":this.effort?"Estimate "+this.effort.specId:"Estimate"};
x7.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 qid=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"===pid(a))return!1;var e,g;return"NUMERIC"===a.getFieldType()&&isNaN(Number(null!=(g=null==(e=a.effort)?void 0:e.estimate)?g:""))?!1:!0},pid=function(a){var b;if(null==(b=a.effort)?0:b.estimate){var c,d,e,g;return null!=(g=null==(c=a.effortSpec)?void 0:null==(d=c.enumSpec)?void 0:null==(e=d.options)?
void 0:e.find(function(h){var l;return h.label===(null==(l=a.effort)?void 0:l.estimate)}))?g:"incompatible"}};x7.\u0275fac=function(a){return new (a||x7)};
x7.\u0275cmp=zc({type:x7,selectors:[["b-estimated-effort-row"]],inputs:{thinking:"thinking",effort:"effort",effortSpec:"effortSpec",disabled:"disabled"},outputs:{effortChange:"effortChange"},features:[Mc],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&&(R(0,Hqb,16,7,"onedev-edit-field",0),R(1,Kqb,3,2,"ng-template",null,1,of));a&2&&G("ngIf",b.effortSpec)},dependencies:[Tu,Uu,Vu,Wu,
jz,s7,t7,u7,RY,w7,QJ,VJ],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}\n/*# sourceMappingURL=estimated_effort_row.css.map */"]});var y7=function(){};y7.\u0275fac=function(a){return new (a||y7)};y7.\u0275mod=Bc({type:y7});y7.\u0275inj=oc({imports:[gv]});var z7=function(){};z7.\u0275fac=function(a){return new (a||z7)};z7.\u0275mod=Bc({type:z7});z7.\u0275inj=oc({imports:[gv,zC]});var A7=function(){};A7.\u0275fac=function(a){return new (a||A7)};A7.\u0275mod=Bc({type:A7});A7.\u0275inj=oc({imports:[y7,gv,zC,z7]});var B7=function(){};B7.\u0275fac=function(a){return new (a||B7)};B7.\u0275mod=Bc({type:B7});B7.\u0275inj=oc({imports:[gv,dx,Rx,iw,WB]});var C7=function(){};C7.\u0275fac=function(a){return new (a||C7)};C7.\u0275mod=Bc({type:C7});C7.\u0275inj=oc({imports:[gv,Qv,B7]});var D7=function(){};D7.\u0275fac=function(a){return new (a||D7)};D7.\u0275mod=Bc({type:D7});D7.\u0275inj=oc({imports:[MF,zC,YA,A7,cZ,C7,cN]});var E7=function(a){oF.call(this);this.observableSlosService=a;this.recordType="slo";this.idForRecord=function(b){return b.sloId}};V(E7,oF);f=E7.prototype;f.fetchOne=function(a){return this.observableSlosService.get(a)};f.getOwnedSlos=function(){return this.observableSlosService.getOwnedSlos()};f.search=function(a){return this.observableSlosService.search(a)};f.create=function(a){return this.observableSlosService.create(a)};f.update=function(a){return this.observableSlosService.update(a)};
E7.\u0275fac=function(a){return new (a||E7)(w(ST))};E7.\u0275prov=nc({token:E7,factory:E7.\u0275fac,providedIn:"root"});var F7=function(a,b,c,d,e){kE.call(this);var g=this;this.session=a;this.userPreferencesManager=b;this.sloStatusHelpersService=c;this.paths=d;this.sloFridge=e;this.onSnoozeChange=new tu;this.onSloEndTimeChange=new tu;this.providedSloId$=new F.ReplaySubject(1);this.slo$=this.providedSloId$.pipe(pe(function(h){return g.sloFridge.watchOne(h)}));this.hasClosureSlo=this.isSloEndEditTimePickerOpen=this.isSloStartEditTimePickerOpen=this.shouldShowSloEditButton=this.shouldShowSnoozeButton=this.isAccordionExpanded=
!1};V(F7,kE);F7.\u0275dir=kE.\u0275dir;F7.prototype.ngOnInit=function(){var a=this;rid(this);this.userPreferencesManager.layoutPreferences$.pipe(qe(this.destroyed$)).subscribe(function(b){a.isAccordionExpanded=!!b.expandIssueSlo})};F7.prototype.ngOnChanges=function(){this.sloId&&this.providedSloId$.next(this.sloId);rid(this)};
var rid=function(a){a.hasSlo=!!a.sloStatus&&uqc(a.sloStatus);a.shouldShowSnoozeButton=a.isEditable&&a.hasSlo;a.shouldShowSloEditButton=iE(a.session,"enableSloEndTime")&&a.isEditable;a.hasClosureSlo=!!a.sloStatus&&vqc(a.sloStatus,"CLOSURE");var b,c;(c=a.sloStatus)?(c=c.closureBounds,c=uJ(bh(c))?c.targetTime:void 0):c=void 0;a.closureSloTarget=null!=(b=null==c?void 0:c.seconds)?b:0;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},sid=function(a){a.isAccordionExpanded=!a.isAccordionExpanded;xpc(a.userPreferencesManager,{expandIssueSlo:a.isAccordionExpanded}).pipe(qe(a.destroyed$)).subscribe();jl(Yl.ISSUE_SLO,"toggle",a.isAccordionExpanded?"open":"close")};F7.prototype.updateSloEndTime=function(a){this.onSloEndTimeChange.next(a)};F7.prototype.trackOpenSlo=function(){jl(Yl.EDIT_SLO,"open","fromIssueSloBox")};F7.\u0275fac=function(a){return new (a||F7)(D(rp),D(TI),D(tJ),D(OG),D(E7))};
F7.\u0275cmp=zc({type:F7,selectors:[["b-issue-slo-box"]],inputs:{sloId:"sloId",componentId:"componentId",sloStatus:"sloStatus",sloSnoozeUntil:"sloSnoozeUntil",sloEndTime:"sloEndTime",isEditable:"isEditable",issueCreationTimestamp:"issueCreationTimestamp"},outputs:{onSnoozeChange:"onSnoozeChange",onSloEndTimeChange:"onSloEndTimeChange"},features:[xe,Mc],decls:17,vars:19,consts:[[1,"issue-slo-box-title",3,"click"],[1,"slo-body"],[1,"slo-status"],[3,"hidden"],[3,"sloStatus","sloSnoozeUntil","sloEndTime",
"includeSloMetric","includeObjective"],[3,"sloStatus","sloSnoozeUntil","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"],[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"],["href","http://go/buganizer/guides/defer-slos","mat-icon-button","","aria-label","View help page on deferring slos",
"matTooltip","View help page on deferring slos","target","_blank",1,"bv2-metadata-link","small","margin-xs-left"],["svgIcon","help-outline",1,"icon-s"],["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),O("click",function(){return sid(b)}),H(1,"label"),S(2,"SLO Status"),J()(),H(3,"div",1)(4,"div",2)(5,"div",3),K(6,"b-aggregated-slo-status-indicator",4),J(),H(7,"div",3),K(8,"b-slo-status-summary",5),J(),H(9,"button",6),O("click",function(){return sid(b)}),R(10,Lqb,1,0,"mat-icon",7),R(11,Mqb,1,0,"mat-icon",8),J()(),H(12,"div",9),R(13,Qqb,10,4,"div",10),R(14,Uqb,10,4,"div",11),R(15,Wqb,4,3,"div",12),R(16,Xqb,
3,1,"div",12),J()());a&2&&(C(5),G("hidden",b.isAccordionExpanded),C(1),G("sloStatus",b.sloStatus)("sloSnoozeUntil",b.sloSnoozeUntil)("sloEndTime",b.sloEndTime)("includeSloMetric",!0)("includeObjective",!0),C(1),G("hidden",!b.isAccordionExpanded),C(1),G("sloStatus",b.sloStatus)("sloSnoozeUntil",b.sloSnoozeUntil)("sloEndTime",b.sloEndTime)("includeNoSlo",!0),C(1),Ae("aria-expanded",b.isAccordionExpanded),C(1),G("ngIf",!b.isAccordionExpanded),C(1),G("ngIf",b.isAccordionExpanded),C(1),G("hidden",!b.isAccordionExpanded),
C(1),G("ngIf",b.shouldShowSnoozeButton),C(1),G("ngIf",b.shouldShowSloEditButton&&b.hasClosureSlo),C(1),G("ngIf",b.editSloLink),C(1),G("ngIf",!b.editSloLink&&b.componentSloLink))},dependencies:[Tu,yy,zy,jz,XA,XT,BK,VT,G_,Qx,Px,Zu],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-edit[_ngcontent-%COMP%]   b-icon[_ngcontent-%COMP%]{margin-left:4px;vertical-align:top}.slo-action[_ngcontent-%COMP%]   .slo-definition[_ngcontent-%COMP%]{vertical-align:middle;min-height:24px}.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 G7=function(){};G7.\u0275fac=function(a){return new (a||G7)};G7.\u0275mod=Bc({type:G7});G7.\u0275inj=oc({imports:[MF,zC,WB,YA,aU,bN,ZT,R1,Rx]});var tid=function(){return{width:400}},uid=function(){return[]},H7=function(a,b,c,d,e,g,h,l,q){var v=this;this.bLocation=c;this.paths=d;this.analytics=e;this.currentTracker=h;this.componentActions=l;this.cdr=q;this.includeArchived$=new F.BehaviorSubject(!1);this.rootComponent$=this.currentTracker.tracker$.pipe(pe(function(y){return y?v.componentActions.get(Number(y.componentId)):(0,F.of)(void 0)}));this.topLevelComponents$=(0,F.combineLatest)([this.rootComponent$,this.includeArchived$]).pipe(pe(function(y){var B=
k(y);y=B.next().value;B=B.next().value;var I;return v.componentActions.getChildren(null!=(I=null==y?void 0:y.parentComponentId)?I:0,B,ytc(v.currentTracker))}));this.createComponentPath=jp.COMPONENT_CREATE;a.setTitle("Browse Components");b.componentId&&$qb(this,Number(b.componentId),(0,F.firstValueFrom)(this.topLevelComponents$));this.isInternalSession=g.isInternalSession()};H7.prototype.viewComponent=function(a,b){b=void 0===b?null:b;a&&(b&&this.analytics.trackEvent("listComponents",b),this.bLocation.url(this.paths.manageComponent(a.componentId)))};
var $qb=function(a,b,c){a.componentActions.get(b).then(function(d){for(var e=Faa(d.componentPathInfo.componentPathId,0,d.componentPathInfo.componentPathId.length-1),g={0:c},h=k(e),l=h.next();!l.done;l=h.next())l=l.value,g[l]=a.componentActions.getChildren(l,a.includeArchived);return Ql(g).then(function(q){for(var v=q[0],y=0,B={},I=k(e),N=I.next();!N.done;B={$jscomp$loop$prop$parentId$2205$2374:B.$jscomp$loop$prop$parentId$2205$2374},N=I.next()){B.$jscomp$loop$prop$parentId$2205$2374=N.value;N=void 0;
var Q=null!=(N=v.find(function(Z){return function(Y){return Y.componentId===Z.$jscomp$loop$prop$parentId$2205$2374}}(B)))?N:null;Q&&(Q.children=q[B.$jscomp$loop$prop$parentId$2205$2374],Q.showChildren=!0,v=Q.children,y=Q.componentId)}d.archived&&!a.includeArchived&&(b=y);a.cdr.detectChanges();setTimeout(function(){a.componentTree.fireSelectionEvent(b)})})})};gg.Object.defineProperties(H7.prototype,{includeArchived:{configurable:!0,enumerable:!0,get:function(){return this.includeArchived$.value}}});
H7.\u0275fac=function(a){return new (a||H7)(D(SW),D(qJ),D(NG),D(OG),D(AH),D(rp),D(LK),D(mV),D(wH,2))};
H7.\u0275cmp=zc({type:H7,selectors:[["b-list-components-page"]],features:[Xe([wH])],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),S(1,"Browse Components"),J(),H(2,"div",1)(3,"div",2),
R(4,Yqb,2,1,"a",3),H(5,"button",4),S(6," Search Components "),J(),R(7,Zqb,4,6,"ng-template",null,5,of),R(9,arb,3,4,"div",6),J()(),H(10,"div",7),R(11,brb,2,0,"div",8),T(12,"async"),H(13,"component-tree-list",9),O("init",function(h){return b.componentTree=h}),T(14,"async"),T(15,"async"),J()());if(a&2){var c=Se(8),d,e,g;C(4);G("ngIf",b.isInternalSession);C(1);G("xapInlineDialogClick",c)("overlaySize",Ye(13,tid));C(4);G("ngIf",b.isInternalSession);C(2);G("ngIf",!(null!==(d=U(12,7,b.topLevelComponents$))&&
void 0!==d&&d));C(2);G("components",null!==(e=U(14,9,b.topLevelComponents$))&&void 0!==e?e:Ye(14,uid))("includeArchived",null!==(g=U(15,11,b.includeArchived$))&&void 0!==g?g:!1)}},dependencies:[Tu,yy,zy,SL,VX,UX,YX,DZ,AZ,sV,Zu],styles:[".component-picker-dialog[_ngcontent-%COMP%]{width:400px}.component-picker-dialog[_ngcontent-%COMP%]     input{box-sizing:border-box}"]});var I7=function(){};I7.\u0275fac=function(a){return new (a||I7)};I7.\u0275mod=Bc({type:I7});I7.\u0275inj=oc({imports:[MF,yN,GU,iY,kY,aP,EZ,WB,CZ,hX]});var vid=function(){this.issueId="";this.packageMentionSet={packageName:"",fileMentionSet:[]};this.displayPackageName=!1};vid.\u0275fac=function(a){return new (a||vid)};
vid.\u0275cmp=zc({type:vid,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),R(1,crb,2,1,"p",1),H(2,"ul"),R(3,drb,2,
5,"li",2),J()());a&2&&(C(1),G("ngIf",b.displayPackageName),C(2),G("ngForOf",b.packageMentionSet.fileMentionSet))},dependencies:[Su,Tu,p7],encapsulation:2});var J7=function(){};J7.\u0275fac=function(a){return new (a||J7)};J7.\u0275mod=Bc({type:J7});J7.\u0275inj=oc({imports:[MF,q7]});var K7=function(){};K7.\u0275fac=function(a){return new (a||K7)};K7.\u0275mod=Bc({type:K7});K7.\u0275inj=oc({imports:[MF,Qv,WB,Qy,bz,aT,Zy]});var L7=function(){};L7.prototype.ngOnInit=function(){};L7.\u0275fac=function(a){return new (a||L7)};
L7.\u0275cmp=zc({type:L7,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&&(K(0,"button",0),H(1,"mat-menu",1,2)(3,"a",3),S(4,"Sign out or switch accounts"),J()());if(a&2){var b=Se(2);G("matMenuTriggerFor",b);C(3);G("href","https://accounts.google.com/SignOutOptions?hl=en&continue="+encodeURIComponent(window.location.href),
vd)}},dependencies:[PA,OA],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 M7=function(){kE.apply(this,arguments);this.trackerCheckboxValues={}};V(M7,kE);M7.\u0275dir=kE.\u0275dir;M7.prototype.ngOnChanges=function(a){if(a.currentTrackerId){this.trackerCheckboxValues={};var b;a=k(null!=(b=this.availableTrackers)?b:[]);for(b=a.next();!b.done;b=a.next())b=b.value,this.currentTrackerId===b.trackerId?this.trackerCheckboxValues[b.trackerId]=!0:this.trackerCheckboxValues[b.trackerId]=!1}};var wid=function(a){return Object.keys(Ub(a.trackerCheckboxValues,function(b){return b}))};
M7.\u0275fac=function(){var a;return function(b){return(a||(a=dd(M7)))(b||M7)}}();
M7.\u0275cmp=zc({type:M7,selectors:[["b-tracker-search"]],inputs:{currentTrackerId:"currentTrackerId",availableTrackers:"availableTrackers"},features:[xe,Mc],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"),S(4,"Select a tracker"),J(),R(5,erb,2,0,"span",3),J(),H(6,"div",4),R(7,frb,3,2,"div",5),J()()());a&2&&(Ie("hidden",!(b.availableTrackers&&1<b.availableTrackers.length)),C(5),G("ngIf",0===wid(b).length),C(2),G("ngForOf",b.availableTrackers))},dependencies:[Su,Tu,VN],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 N7=function(a,b,c,d,e,g){kE.call(this);var h=this;this.analytics=b;this.location=c;this.prefsManager=e;this.domSafe=g;this.prefsManager.preferences$.pipe(qe(this.destroyed$)).subscribe(function(l){h.prefs=l});a.topBarEvents.browseComponents.pipe(qe(this.destroyed$)).subscribe(function(l){l=l.newTab;xid(h,d.listComponents(),l)});a.topBarEvents.manageHotlists.pipe(qe(this.destroyed$)).subscribe(function(l){xid(h,d.listHotlists(),l.newTab)});a.topBarEvents.manageSlos.pipe(qe(this.destroyed$)).subscribe(function(l){l=
l.newTab;xid(h,d.listSlos(),l)});a.topBarEvents.setDensity.pipe(qe(this.destroyed$)).subscribe(function(l){h.setDensity(l)});a.topBarEvents.openSettings.pipe(qe(this.destroyed$)).subscribe(function(l){var q=l.newTab;xid(h,d.settings(l.settingsTabName),q)})};V(N7,kE);N7.\u0275dir=kE.\u0275dir;var xid=function(a,b,c){c?a.domSafe.openInNewTab(b):a.location.url(b)};
N7.prototype.setDensity=function(a){this.prefs.themePreferences&&(this.prefs.themePreferences.density=a,this.prefsManager.save(this.prefs).pipe(ge(),qe(this.destroyed$)).subscribe(),this.analytics.trackEvent("preferences","setDisplayDensity",a))};N7.\u0275fac=function(a){return new (a||N7)(w(cG),w(AH),w(NG),w(OG),w(TI),w(rK))};N7.\u0275prov=nc({token:N7,factory:N7.\u0275fac,providedIn:"root"});var O7=function(a,b,c,d,e,g,h,l,q,v,y){kE.call(this);var B=this;this.activeSession=a;this.currentTracker=b;this.searchAcData=c;this.savedSearchApi=d;this.butterBar=e;this.bLocation=g;this.paths=h;this.analytics=l;this.appEvents=v;this.appSearchState=y;this.items=[];this.acHeader=null;this.currentQuery="";this.enableTrackersAccountHack=iE(this.activeSession,"enableTrackersAccountHack");this.frontendAccessMode=this.activeSession.getFrontendAccessMode();this.environmentType=this.activeSession.getEnvironmentType();
this.searchAcData.acRefreshed$.pipe(qe(this.destroyed$)).subscribe(function(){B.items=B.searchAcData.items;B.acHeader=B.searchAcData.acHeader})};V(O7,kE);O7.\u0275dir=kE.\u0275dir;var yid=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"}};
O7.prototype.ngOnInit=function(){var a=this;this.appSearchState.queryState$.pipe(qe(this.destroyed$)).subscribe(function(c){var d=a.searchAcData,e=c.cursorPosition;d.query=c.query;d.cursorIdx=e;if(null==d.cursorIdx)d.currentSearchContext=null;else{var g=d.query,h=d.cursorIdx;if(0>h||h>g.length)throw Error("ne");e=new FZc(g,h);if(g){var l=g.slice(0,h);for(var q=!1,v=-1,y=-1;-1<(v=l.indexOf('"',v+1));)q=!q,y=v;l=q?y:-1;if(-1<l)e.value={val:g.slice(l,h),idx:l};else if(l=g.slice(0,h),q=g.slice(h),v=q.search("\\s"),
q=-1<v?q.slice(0,v):q,(l=zeb(l+q,JZc))?(l={negated:!!l[1],val:l[2].toLowerCase(),operator:l[3],idx:l.index-l[1].length-l[2].length-l[3].length},Jg(l.val,"customfield")&&(l.customFieldId=l.val.slice(11),l.val="customfield")):l=null,l){q=l.idx+(l.negated?1:0)+l.val.length+l.operator.length+(l.customFieldId?l.customFieldId.length:0);g=g.slice(q);h=Math.max(h-q,0);v=l;if("("===g.charAt(0)){b:{v=[];y=/[()]/g;for(var B;null!=(B=y.exec(g));){var I=v[v.length-1];if(I&&I!==B[0]){if(v.pop(),!v.length){v=B.index>=
h;break b}}else v.push(B[0])}v=!0}v=v?2:0}else v=GZc.includes(v.val)&&-1===g.search("^\\d")?1:0;switch(v){case 2:g=GZc.includes(l.val)?Aeb(g,h,"([()|]\\s*|OR\\s+|AND\\s+|NOT\\s+|-|\\b\\d+\\s+)","[()|\\s-]"):Aeb(g,h,"[()|\\s-]");/(OR|AND|NOT|-)$/.test(g.val)&&(g.val="",g.idx=h);e.value=g;break;case 1:e.value=Aeb(g,h,"[()|]","[()|,\\s]");break;case 0:e.value=Aeb(g,h,"[\\s()|]");-1<g.slice(0,h).search("[\\s()|]")&&(l=null);break;default:og(v,"unknown ValueType.")}e.value.idx+=q;e.label=l}else e.value=
Aeb(g,h,"[\\s()]")}d.currentSearchContext=e}d.currentSearchContext&&(e=d.currentSearchContext,h=++d.requestIndex,d.refreshRequest$.next({currentRequestIndex:h,currentSearchContext:e}));a.currentQuery=c.query});var b=this.appSearchState.queryState$.pipe(E(function(c){return c.query}));this.appSearchState.searchTriggered$.pipe(se(b),qe(this.destroyed$)).subscribe(function(c){c=k(c);var d=c.next().value;c=c.next().value;var e=a.appSearchState;d=void 0===d?"":d;var g=M3a(c),h=g.filters,l=g.text,q=g.complexSyntax,
v=g.resourceIds;g=[h,l,v].reduce(N3a);h=[h?"filters":void 0,l?"text":void 0,v?"ids":void 0].filter(Boolean).join("-");q?e.track(d,"complex"):h?e.track(d,h,g):e.track(d,"UNHANDLED");d=na(e.searchHandlerStack);void 0===d?e.$log.warn("No search function installed."):d(c)})};O7.prototype.ngAfterViewInit=function(){nhd(this.advancedSearchCtrl,this.appSearchState.currentQuery)};var zid=function(a){if(a.advancedSearchCtrl)return"SUCCESS"!==a.advancedSearchCtrl.getState()?a.currentQuery:uhd(a.advancedSearchCtrl).trim()};
f=O7.prototype;f.onAdvancedSearchOpen=function(){this.advancedSearchCtrl&&(zid(this)!==this.currentQuery||"SUCCESS"!==this.advancedSearchCtrl.getState())&&nhd(this.advancedSearchCtrl,this.currentQuery)};f.onAdvancedSearchClose=function(){var a,b;this.appSearchState.selectedTrackerIds$.next(null!=(b=null==(a=this.trackerSearchCtrl)?void 0:wid(a))?b:[]);this.advancedSearchCtrl&&(a=zid(this),void 0!==a&&a!==this.currentQuery&&this.appSearchState.queryState$.next({query:a,cursorPosition:void 0,setViaInteraction:!1}))};
f.submitAdvancedSearch=function(){var a,b;this.appSearchState.selectedTrackerIds$.next(null!=(b=null==(a=this.trackerSearchCtrl)?void 0:wid(a))?b:[]);this.advancedSearchCtrl&&(a=zid(this),void 0!==a&&(this.appSearchState.queryState$.next({query:a,cursorPosition:void 0,setViaInteraction:!1}),this.appSearchState.searchTriggered$.next("ui-builder")))};
f.saveSearch=function(a){var b=this;if(this.advancedSearchCtrl){var c=zid(this);void 0!==c&&(WF(this.butterBar,"Saving saved search.",1E3),this.savedSearchApi.create(a,c).then(function(d){b.appEvents.savedSearchModified.next();d=d.searchId;WF(b.butterBar,"Created saved search '"+a+"' ID "+d+".");b.bLocation.url(b.paths.viewSavedSearch(d));b.analytics.trackEvent("savedSearches","create")}).catch(function(d){XF(b.butterBar,Ck(d))}))}};f.isSearchDisabled=function(){return this.inTracker()&&0===wid(this.trackerSearchCtrl).length};
f.inTracker=function(){return!!this.trackerSearchCtrl};O7.\u0275fac=function(a){return new (a||O7)(D(rp),D(LK),D(D1),D(iU),D(VF),D(NG),D(OG),D(AH),D(N7),D(cG),D(dY))};
O7.\u0275cmp=zc({type:O7,selectors:[["b-top-bar-outlet"]],viewQuery:function(a,b){a&1&&(jf(n6,5),jf(M7,5));if(a&2){var c;hf(c=lf())&&(b.advancedSearchCtrl=c.first);hf(c=lf())&&(b.trackerSearchCtrl=c.first)}},features:[xe],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),O("searchBoxOnAdvancedSearchOpen",function(){return b.onAdvancedSearchOpen()})("searchBoxOnAdvancedSearchClose",
function(){return b.onAdvancedSearchClose()})("searchBoxOnAdvancedSearchSubmit",function(){return b.submitAdvancedSearch()})("searchBoxOnSaveSearch",function(d){return b.saveSearch(d)}),T(1,"async"),R(2,grb,3,6,"b-tracker-search",1),T(3,"async"),K(4,"b-advanced-search",2),T(5,"async"),R(6,hrb,4,0,"div",3),R(7,krb,3,2,"div",4),R(8,lrb,2,0,"div",4),J(),R(9,mrb,1,0,"b-tracker-account-menu-hack",5),T(10,"async"));if(a&2){var c;G("logoFrontendAccessMode",b.frontendAccessMode)("logoEnvironmentType",b.environmentType)("searchBoxPlaceholder",
yid(b,U(1,12,b.currentTracker.tracker$)))("searchBoxAutoCompleteItems",b.items)("searchBoxAutoCompleteHeader",b.acHeader)("isSearchDisabled",b.isSearchDisabled());C(2);G("ngIf",null!==(c=U(3,14,b.currentTracker.inTracker$))&&void 0!==c?c:!1);C(2);G("isTrackerSearchEnabled",!U(5,16,b.currentTracker.inTracker$));C(2);G("ngIf","INIT"===(null==b.advancedSearchCtrl?null:b.advancedSearchCtrl.getState()));C(1);G("ngIf","NOT_REPRESENTABLE"===(null==b.advancedSearchCtrl?null:b.advancedSearchCtrl.getState())||
"SYNTAX_ERROR"===(null==b.advancedSearchCtrl?null:b.advancedSearchCtrl.getState()));C(1);G("ngIf","SERVER_ERROR"===(null==b.advancedSearchCtrl?null:b.advancedSearchCtrl.getState()));C(1);G("ngIf",b.enableTrackersAccountHack&&!b.activeSession.isAnonymous()&&U(10,18,b.currentTracker.inTracker$))}},dependencies:[Tu,jz,n6,M7,Phd,SL,L7,Zu],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 P7=function(){};P7.\u0275fac=function(a){return new (a||P7)};P7.\u0275mod=Bc({type:P7});P7.\u0275inj=oc({imports:[MF,zO]});var Q7=function(){};Q7.\u0275fac=function(a){return new (a||Q7)};Q7.\u0275mod=Bc({type:Q7});Q7.\u0275inj=oc({imports:[MF,q6,P7,P6,yN,YA,QA]});var R7=function(a,b){this.dialogRef=a;this.data=b;this.userToDisplay=Qg;this.updateDiffs=b.updateDiffs};R7.prototype.close=function(){this.dialogRef.close()};R7.\u0275fac=function(a){return new (a||R7)(D(Iy),D(Ky))};
R7.\u0275cmp=zc({type:R7,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),R(2,vrb,10,4,"li",2),J()(),H(3,"div",3)(4,"button",4),O("click",function(){return b.close()}),S(5," Close "),J()());a&2&&(C(2),G("ngForOf",b.updateDiffs))},dependencies:[Su,Tu,yy,Oy,Py,vK,uK,BK],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 S7=function(){};S7.\u0275fac=function(a){return new (a||S7)};S7.\u0275mod=Bc({type:S7});S7.\u0275inj=oc({imports:[MF,WB,Qy,TO,bN]});var T7=function(a,b){kE.call(this);this.$window=a;this.currentTracker=b;this.faviconUrl=this.defaultFaviconUrl=Nf("https://www.gstatic.com/buganizer/img/v4/favicon.png")};V(T7,kE);T7.\u0275dir=kE.\u0275dir;
var Aid=function(a){var b=a.$window.document.head.querySelector('link[rel="shortcut icon"]'),c=null==b?void 0:b.href;a.faviconUrl=c?Nf(c):a.defaultFaviconUrl;a.currentTracker.tracker$.pipe(E(function(d){var e;if(null==d?0:null==(e=d.branding)?0:e.logoUrl){var g;d=Nf(null==d?void 0:null==(g=d.branding)?void 0:g.logoUrl)}else d=a.faviconUrl;return d}),qe(a.destroyed$)).subscribe(function(d){if(b&&b.href!==d.toString())a:{if(d instanceof It)b.href=qg(d).toString();else{if(-1===Ccc.indexOf("icon"))throw Error("Sb`icon");
d=Poa(d);if(void 0===d)break a;b.href=d}b.rel="icon"}})};T7.\u0275fac=function(a){return new (a||T7)(w(jE),w(LK))};T7.\u0275prov=nc({token:T7,factory:T7.\u0275fac,providedIn:"root"});var Bid=/^\s*[^:/?#]+:/i,Cid=/^#/i,U7=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"))&&!Bid.test(d))if(Cid.test(d)){b.bLocation.hash(d.substring(1));var e;null==(e=document.getElementById(d.substring(1)))||e.scrollIntoView();
c.stopPropagation();c.preventDefault()}else c.preventDefault(),b.bLocation.url(d)}}};U7.prototype.install=function(){document.addEventListener("click",this.linkClickHandler)};U7.\u0275fac=function(a){return new (a||U7)(w(NG))};U7.\u0275prov=nc({token:U7,factory:U7.\u0275fac,providedIn:"root"});var Did=[],Eid=!1,V7=function(a,b,c,d,e,g,h,l){kE.call(this);this.hatsService=a;this.iconRegistry=b;this.session=c;this.appHistory=d;this.routePerformance=e;this.linkClickHandler=g;this.issueLru=h;this.faviconService=l};V(V7,kE);V7.\u0275dir=kE.\u0275dir;V7.prototype.tearDown=function(){kE.prototype.ngOnDestroy.call(this);document.removeEventListener("click",this.linkClickHandler.linkClickHandler)};V7.\u0275fac=function(a){return new (a||V7)(w(eP),w(hz),w(rp),w(V1),w(Y1),w(U7),w(LW),w(T7))};
V7.\u0275prov=nc({token:V7,factory:V7.\u0275fac,providedIn:"root"});
var Fid={provide:kWb,useFactory:function(a){return function(){Lra("app initializer starting");Eid||(a.iconRegistry._addSvgIconSetConfig("",new i3b(ptc)),Eid=!0);if(a.session.isInternalSession()){eyc(a.hatsService,"Y4qgAGETM0g6pPHSLo10T83aMF4T").pipe(ge(),qe(a.destroyed$)).subscribe();for(var b=k(Did),c=b.next();!c.done;c=b.next()){c=c.value;var d=c.hatsTriggerId;iE(a.session,c.flagName)&&eyc(a.hatsService,d).pipe(ge(),qe(a.destroyed$)).subscribe()}}a.appHistory.install();a.routePerformance.install();
a.linkClickHandler.install();b=a.issueLru;S_a(b.viewed,TPc());S_a(b.edited,RPc());b.appEvents.issueViewed.pipe(qe(b.stop$)).subscribe(b.addViewed);b.appEvents.issueEdited.pipe(qe(b.stop$)).subscribe(b.addEdited);Aid(a.faviconService)}},deps:[V7],multi:!0};var W7=function(a,b){this.paths=a;this.bLocation=b};W7.prototype.visit=function(a){a.event&&(a.event.preventDefault(),a.event.stopPropagation());var b=a.elementId;a=this.paths.editIssue(a.issueId)+(b?"#"+b:"");this.bLocation.url(a)};W7.\u0275fac=function(a){return new (a||W7)(w(OG),w(NG))};W7.\u0275prov=nc({token:W7,factory:W7.\u0275fac,providedIn:"root"});var Gid={provide:IL,useExisting:W7};var Hid=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 "cider-next.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 X7=function(a){ng.call(this);this.errorHandlerFn_=a};Cp(X7,ng);X7.prototype.wrap=function(a){return Iid(this,a)};var Y7=function(a,b){return(b?"__wrapper_":"__protected_")+ua(a)+"__"},Iid=function(a,b){var c=Y7(a,!0);b[c]||((b[c]=Jid(a,b))[Y7(a,!1)]=b);return b[c]},Jid=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[Y7(a,!1)]=b;return c};
X7.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 Kid(a);};
var Lid=function(a,b){var c=ca.window||ca.globalThis,d=c[b];if(!d)throw Error("Me`"+b);c[b]=function(e,g){"string"===typeof e&&(e=Bp(uLb,e));e&&(arguments[0]=e=Iid(a,e));if(d.apply)return d.apply(this,arguments);var h=e;if(2<arguments.length){var l=Array.prototype.slice.call(arguments,2);h=function(){e.apply(this,l)}}return d(h,g)};c[b][Y7(a,!1)]=d};
X7.prototype.disposeInternal=function(){var a=ca.window||ca.globalThis;var b=a.setTimeout;b=b[Y7(this,!1)]||b;a.setTimeout=b;b=a.setInterval;b=b[Y7(this,!1)]||b;a.setInterval=b;X7.superClass_.disposeInternal.call(this)};var Kid=function(a){aa.call(this,"Error in protected function: "+(a&&a.message?String(a.message):String(a)),a);(a=a&&a.stack)&&"string"===typeof a&&(this.stack=a)};Cp(Kid,aa);var Nid=function(a,b,c){Im.call(this);this.contextProvider_=b||null;this.additionalArguments_={};this.xhrSender_=Mid;this.handlerUrl_=a;if(!c){this.errorHandler_=null;this.errorHandler_=new X7(Ap(this.handleException,this));Lid(this.errorHandler_,"setTimeout");Lid(this.errorHandler_,"setInterval");a=this.errorHandler_;b=ca.window||ca.globalThis;c=["requestAnimationFrame","mozRequestAnimationFrame","webkitAnimationFrame","msRequestAnimationFrame"];for(var d=0;d<c.length;d++){var e=c[d];c[d]in b&&Lid(a,
e)}a=this.errorHandler_;x3b=!0;b=Ap(a.wrap,a);for(c=0;c<v3b.length;c++)v3b[c](b);w3b.push(a)}};Cp(Nid,Im);var Oid=function(a,b){rz.call(this,"F");this.error=a;this.context=b};Cp(Oid,rz);var Mid=function(a,b,c,d){if(d instanceof Map){var e={};d=k(d);for(var g=d.next();!g.done;g=d.next()){var h=k(g.value);g=h.next().value;h=h.next().value;e[g]=h}}else e=d;qra(a,null,b,c,e)};
Nid.prototype.handleException=function(a,b){a=a.error||a;b=b?Wb(b):{};a instanceof Error&&Gda(b,a.__closure__error__context__984382||{});var c=j_b(a);if(this.contextProvider_)try{this.contextProvider_(c,b)}catch(l){}var d=c.message.substring(0,1900);if(!(a instanceof aa)||a.reportErrorToServer){a=c.stack;try{var e=$z(this.handlerUrl_,"script",c.fileName,"error",d,"line",c.lineNumber);Cda(this.additionalArguments_)||(e=tya(e,this.additionalArguments_));d={};d.trace=a;if(b)for(var g in b)d["context."+
g]=b[g];var h=d6b(d);this.xhrSender_(e,"POST",h,this.extraHeaders_)}catch(l){}}try{this.dispatchEvent(new Oid(c,b))}catch(l){}};Nid.prototype.disposeInternal=function(){mg(this.errorHandler_);Nid.superClass_.disposeInternal.call(this)};var Z7=function(){this.jsBuild="536735881";this.buildLabel="buganizer.frontend_20230531.06_p0"};Z7.\u0275fac=function(a){return new (a||Z7)};Z7.\u0275prov=nc({token:Z7,factory:Z7.\u0275fac,providedIn:"root"});var $7=function(){};$7.prototype.reportingEnabled=function(){return 4!==Hid};$7.\u0275fac=function(a){return new (a||$7)};$7.\u0275prov=nc({token:$7,factory:$7.\u0275fac,providedIn:"root"});
var a8=function(a,b){var c=this;this.appContext=b;this.context={};this.reportingExtensions=[];this.jsDebugErrorReporter=new Nid("/jserror",function(d,e){e.js_build=a.jsBuild;e.buildLabel=a.buildLabel;e["build-label"]=a.buildLabel;d=k(c.reportingExtensions);for(var g=d.next();!g.done;g=d.next())g.value.enhanceContext(e)},!0)};
a8.prototype.reportError=function(a){console.error("ErrorReporter: ",(null==a?void 0:a.stack)||a);if(this.appContext.reportingEnabled()){a.stack&&(a.stack=a.stack.replace(/ \[angular\]/g,""));this.jsDebugErrorReporter.handleException(a);a=k(this.reportingExtensions);for(var b=a.next();!b.done;b=a.next())b.value.onReportedError()}};a8.\u0275fac=function(a){return new (a||a8)(w(Z7),w($7))};a8.\u0275prov=nc({token:a8,factory:a8.\u0275fac,providedIn:"root"});var b8=function(a){this._console=console;this.reporter=a};V(b8,yd);b8.prototype.handleError=function(a){this.reporter.reportError(a)};b8.\u0275fac=function(a){return new (a||b8)(w(a8))};b8.\u0275prov=nc({token:b8,factory:b8.\u0275fac,providedIn:"root"});var c8=function(a){this.activeSession=a};V(c8,$7);c8.prototype.reportingEnabled=function(){return iE(this.activeSession,"reportErrors")};c8.\u0275fac=function(a){return new (a||c8)(w(rp))};c8.\u0275prov=nc({token:c8,factory:c8.\u0275fac,providedIn:"root"});
var Pid={provide:yd,useClass:b8},Qid={provide:$7,useClass:c8},Rid={provide:Z7,useValue:{jsBuild:"536735881",buildLabel:"buganizer.frontend_20230531.06_p0"}};var d8=function(){};d8.\u0275fac=function(a){return new (a||d8)};d8.\u0275cmp=zc({type:d8,selectors:[["b-empty"]],decls:0,vars:0,template:function(){},encapsulation:2});var e8=function(){};e8.\u0275fac=function(a){return new (a||e8)};e8.\u0275mod=Bc({type:e8});e8.\u0275inj=oc({});var f8=function(){};V(f8,DG);f8.prototype.store=function(){};f8.prototype.shouldReuseRoute=function(a,b){return a.routeConfig===b.routeConfig&&Fg(a.params,b.params)};f8.\u0275fac=function(){var a;return function(b){return(a||(a=dd(f8)))(b||f8)}}();f8.\u0275prov=nc({token:f8,factory:f8.\u0275fac,providedIn:"root"});var g8=function(a){this.router=a};
g8.prototype.canActivate=function(a,b){if(b.url.includes("#ISSUE_HistoryHeader")){var c=k(b.url.split("#ISSUE_HistoryHeader"));a=c.next().value;c=c.next().value;return HG(this.router,[a],{fragment:c&&!isNaN(Number(c))?"comment"+c:void 0})}if(a.queryParamMap.has("showInsights")&&"1"===a.queryParamMap.get("showInsights")){b=k(b.url.split("?")).next().value;var d={};return HG(this.router,[b],{queryParams:Object.assign({},CAa(a.queryParamMap),(d.showInsights="deployments",d)),fragment:null!=(c=a.fragment)?
c:void 0})}return!0};g8.\u0275fac=function(a){return new (a||g8)(w(GG))};g8.\u0275prov=nc({token:g8,factory:g8.\u0275fac,providedIn:"root"});var Sid=/^(\d+)$/,h8=function(a){this.butterBar=a;this.paramNamesToCheck=new Set(Object.values(ugc))};h8.prototype.validate=function(a){for(var b=k(Object.keys(a)),c=b.next();!c.done;c=b.next())if(c=c.value,this.paramNamesToCheck.has(c)){var d=a[c],e=Mg(d);if(!Sid.test(d)||isNaN(e)||!Number.isInteger(e))return XF(this.butterBar,"The URL parameter "+c+' has the malformed value "'+d+'".'),!1}return!0};h8.\u0275fac=function(a){return new (a||h8)(w(VF))};
h8.\u0275prov=nc({token:h8,factory:h8.\u0275fac,providedIn:"root"});var i8=function(a){this.routeParamsValidator=a};i8.prototype.canActivate=function(a){return this.routeParamsValidator.validate(a.params)};i8.\u0275fac=function(a){return new (a||i8)(w(h8))};i8.\u0275prov=nc({token:i8,factory:i8.\u0275fac,providedIn:"root"});var j8=function(a,b){this.activeSession=a;this.router=b};j8.prototype.canActivate=function(){return this.activeSession.isInternalSession()?!0:HG(this.router,["issues"])};j8.\u0275fac=function(a){return new (a||j8)(w(rp),w(GG))};j8.\u0275prov=nc({token:j8,factory:j8.\u0275fac,providedIn:"root"});var k8=function(a,b){this.currentTracker=a;this.router=b};k8.prototype.canActivate=function(){return this.currentTracker.inTracker?HG(this.router,["issues"]):!0};k8.\u0275fac=function(a){return new (a||k8)(w(LK),w(GG))};k8.\u0275prov=nc({token:k8,factory:k8.\u0275fac,providedIn:"root"});var l8=function(a,b){this.router=a;this.activeSession=b};l8.prototype.canActivate=function(){var a=iE(this.activeSession,"enableHomepageVariantA");return HG(this.router,[wrb(a)])};l8.\u0275fac=function(a){return new (a||l8)(w(GG),w(rp))};l8.\u0275prov=nc({token:l8,factory:l8.\u0275fac,providedIn:"root"});var Tid={USER:"USER",DEVELOPER:"DEVELOPER",CONTRIBUTOR:"CONTRIBUTOR"},Uid={INPUT:"INPUT",TEXT:"TEXT",SELECT:"SELECT"},Vid=new Hc("CustomQuestionsConfig");var Wid=function(){this.persona="USER";this.categoryChange=new tu;var a={};this.options=(a.USER=[{title:"UI",description:"Problems with the user interface (e.g. tabs, context menus, etc...)",value:"UI",componentId:422198},{title:"Network / Downloading",description:"Problems with accessing remote content",value:"NETWORK_DOWNLOADING",componentId:421924},{title:"Audio / Video",description:"Problems playing back sound or movies",value:"AUDIO_VIDEO",componentId:421886},{title:"Content",description:"Problems with webpages not working correctly",
value:"CONTENT"},{title:"Apps",description:"Issues with Webstore apps",value:"APPS",componentId:422083},{title:"Extensions / Themes",description:"Issues with Webstore extensions and themes",value:"EXTENSIONS_THEMES",componentId:422130},{title:"Webstore",description:"Problems with the Chrome Webstore itself",value:"WEBSTORE",componentId:422443},{title:"Sync",description:"Problems syncing data to a Google account",value:"SYNC",componentId:422168},{title:"Enterprise",description:"Policy configuration and deployment issues",
value:"ENTERPRISE",componentId:421726},{title:"Installation",description:"Problem installing Chrome",value:"INSTALLATION",componentId:421863},{title:"Crashes",description:'The browser closes abruptly or I see "Aw, Snap!" pages',value:"CRASHES"},{title:"Security",description:"Problems with the browser security",value:"SECURITY"},{title:"Other",description:"Something not listed here",value:"OTHER"}],a.DEVELOPER=[{title:"API",description:"Problems with a browser API",value:"API"},{title:"JavaScript",
description:"Problems with the JavaScript interpreter",value:"JAVASCRIPT",componentId:421442},{title:"Developer Tools",description:"Problems with the Developer tool chain/inspector",value:"DEV_TOOLS",componentId:422123}],a.CONTRIBUTOR=[],a)};Wid.\u0275fac=function(a){return new (a||Wid)};
Wid.\u0275cmp=zc({type:Wid,selectors:[["wizard-category-select"]],inputs:{persona:"persona",category:"category"},outputs:{categoryChange:"categoryChange"},decls:5,vars:3,consts:[["appearance","outline"],["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),O("valueChange",function(d){b.category=d;b.categoryChange.emit(b.category)}),H(2,
"mat-select-trigger"),S(3),J(),R(4,xrb,5,3,"mat-option",2),J()());if(a&2){var c;C(1);G("value",b.category);C(2);Te(" ",null!==(c=null==b.category?null:b.category.title)&&void 0!==c?c:""," ");C(1);G("ngForOf",b.options[b.persona])}},dependencies:[Su,Yy,CO,BO,Ay],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 yrb=function(a){return{question:a}},m8=function(a){this.config=a;this.CustomQuestionType=Uid;this.responses=new tu;this.model=Object.assign({},a)};m8.prototype.ngOnInit=function(){};var Jrb=function(a){var b=a.model[a.category].filter(function(c){return!!c.response});a.responses.emit(b)};m8.\u0275fac=function(a){return new (a||m8)(D(Vid))};
m8.\u0275cmp=zc({type:m8,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&&(R(0,zrb,2,4,"ng-container",0),R(1,Drb,4,4,"ng-template",null,1,of),R(3,Erb,3,3,"ng-template",null,2,of),R(5,Frb,4,3,"ng-template",null,3,of),R(7,Krb,5,4,"ng-template",null,4,of));a&2&&G("ngForOf",b.model[b.category])},dependencies:[Su,Tu,Yu,Uu,Vu,Af,tv,zv,Yy,az,CO,Ay],styles:['[_nghost-%COMP%]   h2[_ngcontent-%COMP%]{font-family:Google Sans,Roboto,Arial,sans-serif;line-height:2rem;font-size:1.5rem;letter-spacing:0;font-weight:400}[_nghost-%COMP%]   h4[_ngcontent-%COMP%]{font-family:Google Sans,Roboto,Arial,sans-serif;line-height:1.5rem;font-size:1.125rem;letter-spacing:0;font-weight:400;font-weight:100;margin:0}[_nghost-%COMP%]   h4.required[_ngcontent-%COMP%]:after{content:" *";color:#ea4335;color:var(--bad)}[_nghost-%COMP%]   mat-form-field.textarea[_ngcontent-%COMP%]{min-width:90%}[_nghost-%COMP%]   textarea[_ngcontent-%COMP%]{min-height:4rem;padding:4px 1px 1px 7px}[_nghost-%COMP%]   mat-form-field[_ngcontent-%COMP%]{margin:4px 0}[_nghost-%COMP%]   mat-form-field.inline[_ngcontent-%COMP%]{margin:4px 8px}mat-form-field[_ngcontent-%COMP%]{min-width:500px}\n/*# sourceMappingURL=custom_questions.css.map */']});var Xid=function(){this.Persona=Tid;this.persona="USER";this.personaChange=new tu};Xid.\u0275fac=function(a){return new (a||Xid)};
Xid.\u0275cmp=zc({type:Xid,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),O("ngModelChange",function(c){b.persona=c;b.personaChange.emit(b.persona)}),H(2,"mat-radio-button",1),S(3," End User "),H(4,"div",2),S(5," I am trying to use a website. "),J()(),H(6,"mat-radio-button",
1),S(7," Web Developer "),H(8,"div",2),S(9," I am trying to build something on a website. "),J()(),H(10,"mat-radio-button",1),S(11," Chromium Contributor "),H(12,"div",2),S(13," I know about a problem in specific tests or code. "),J()()()());a&2&&(C(1),G("ngModel",b.persona),C(1),G("value",b.Persona.USER),C(4),G("value",b.Persona.DEVELOPER),C(4),G("value",b.Persona.CONTRIBUTOR))},dependencies:[tv,zv,XM,YM],styles:["[_nghost-%COMP%]{display:block}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:40px;padding:24px 12px}mat-radio-button[_ngcontent-%COMP%]   .subtext[_ngcontent-%COMP%]{font-family:Roboto,Arial,sans-serif;line-height:1.25rem;font-size:.875rem;letter-spacing:.0142857143em;font-weight:400;font-size:.8125rem;line-height:1.3846153846;margin-top:12px}\n/*# sourceMappingURL=persona_picker.css.map */"]});var Yid=["*",[["mat-card-footer"]]],Zid=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],$id=function(){};$id.\u0275fac=function(a){return new (a||$id)};$id.\u0275dir=Cc({type:$id,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]});var ajd=function(a){this._animationMode=a};
ajd.\u0275fac=function(a){return new (a||ajd)(D(Tt,8))};
ajd.\u0275cmp=zc({type:ajd,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(a,b){a&2&&Ie("_mat-animation-noopable","NoopAnimations"===b._animationMode)},exportAs:["matCard"],ngContentSelectors:["*","mat-card-footer"],decls:2,vars:0,template:function(a){a&1&&(Ne(Yid),Oe(0),Oe(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 bjd=function(){};bjd.\u0275fac=function(a){return new (a||bjd)};
bjd.\u0275cmp=zc({type:bjd,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n      [mat-card-title], [mat-card-subtitle],\n      [matCardTitle], [matCardSubtitle]","*"],decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(a){a&1&&(Ne(Zid),Oe(0),H(1,"div",0),Oe(2,1),J(),Oe(3,2))},encapsulation:2,changeDetection:0});var n8=function(a){this._elementRef=a};n8.prototype.focus=function(){this._elementRef.nativeElement.focus()};n8.\u0275fac=function(a){return new (a||n8)(D(fd))};n8.\u0275dir=Cc({type:n8,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]});var o8=function(a){this.template=a};o8.\u0275fac=function(a){return new (a||o8)(D(ef))};o8.\u0275dir=Cc({type:o8,selectors:[["","cdkStepLabel",""]]});var cjd=0,djd=new Hc("STEPPER_GLOBAL_OPTIONS"),p8=function(a,b){this._stepper=a;this.interacted=!1;this.interactedStream=new tu;this._editable=!0;this._optional=!1;this._customError=this._completedOverride=null;this._stepperOptions=b?b:{};this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType};f=p8.prototype;f._getDefaultCompleted=function(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted};
f._getDefaultError=function(){return this.stepControl&&this.stepControl.invalid&&this.interacted};f.select=function(){this._stepper.selected=this};f.reset=function(){this.interacted=!1;null!=this._completedOverride&&(this._completedOverride=!1);null!=this._customError&&(this._customError=!1);this.stepControl&&this.stepControl.reset()};f.ngOnChanges=function(){this._stepper._stateChanged()};f._markAsInteracted=function(){this.interacted||(this.interacted=!0,this.interactedStream.emit(this))};
f._showError=function(){var a;return null!=(a=this._stepperOptions.showError)?a:null!=this._customError};
gg.Object.defineProperties(p8.prototype,{editable:{configurable:!0,enumerable:!0,get:function(){return this._editable},set:function(a){this._editable=Ef(a)}},optional:{configurable:!0,enumerable:!0,get:function(){return this._optional},set:function(a){this._optional=Ef(a)}},completed:{configurable:!0,enumerable:!0,get:function(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride},set:function(a){this._completedOverride=Ef(a)}},hasError:{configurable:!0,enumerable:!0,
get:function(){return null==this._customError?this._getDefaultError():this._customError},set:function(a){this._customError=Ef(a)}}});p8.\u0275fac=function(a){return new (a||p8)(D(tc(function(){return q8})),D(djd,8))};
p8.\u0275cmp=zc({type:p8,selectors:[["cdk-step"]],contentQueries:function(a,b,c){a&1&&kf(c,o8,5);if(a&2){var d;hf(d=lf())&&(b.stepLabel=d.first)}},viewQuery:function(a,b){a&1&&jf(ef,7);if(a&2){var c;hf(c=lf())&&(b.content=c.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],state:"state",editable:"editable",optional:"optional",completed:"completed",hasError:"hasError"},outputs:{interactedStream:"interacted"},
exportAs:["cdkStep"],features:[Mc],ngContentSelectors:["*"],decls:1,vars:0,template:function(a){a&1&&(Ne(),R(0,Lrb,1,0,"ng-template"))},encapsulation:2,changeDetection:0});var q8=function(a,b,c){this._dir=a;this._changeDetectorRef=b;this._elementRef=c;this._destroyed=new F.Subject;this.steps=new mf;this._sortedHeaders=new mf;this._linear=!1;this._selectedIndex=0;this.selectionChange=new tu;this._orientation="horizontal";this._groupId=cjd++};f=q8.prototype;
f.ngAfterContentInit=function(){var a=this;this._steps.changes.pipe(oe(this._steps),qe(this._destroyed)).subscribe(function(b){a.steps.reset(b.filter(function(c){return c._stepper===a}));gf(a.steps)})};
f.ngAfterViewInit=function(){var a=this;this._stepHeader.changes.pipe(oe(this._stepHeader),qe(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}));gf(a._sortedHeaders)});this._keyManager=kx(mx(jx(new px(this._sortedHeaders))),"vertical"===this._orientation);(this._dir?this._dir.change:(0,F.of)()).pipe(oe(this._layoutDirection()),
qe(this._destroyed)).subscribe(function(b){return lx(a._keyManager,b)});nx(this._keyManager,this._selectedIndex);this.steps.changes.subscribe(function(){a.selected||(a._selectedIndex=Math.max(a._selectedIndex-1,0))});this._isValidIndex(this._selectedIndex)||(this._selectedIndex=0)};f.ngOnDestroy=function(){var a;null==(a=this._keyManager)||a.destroy();this.steps.destroy();this._sortedHeaders.destroy();this._destroyed.next();this._destroyed.complete()};
f.next=function(){this.selectedIndex=Math.min(this._selectedIndex+1,this.steps.length-1)};f.previous=function(){this.selectedIndex=Math.max(this._selectedIndex-1,0)};f.reset=function(){this._updateSelectedItemIndex(0);this.steps.forEach(function(a){return a.reset()});this._stateChanged()};f._getStepLabelId=function(a){return"cdk-step-label-"+this._groupId+"-"+a};f._getStepContentId=function(a){return"cdk-step-content-"+this._groupId+"-"+a};f._stateChanged=function(){this._changeDetectorRef.markForCheck()};
f._getAnimationDirection=function(a){a-=this._selectedIndex;return 0>a?"rtl"===this._layoutDirection()?"next":"previous":0<a?"rtl"===this._layoutDirection()?"previous":"next":"current"};f._getIndicatorType=function(a,b){b=void 0===b?"number":b;var c=this.steps.toArray()[a];a=this._isCurrentStep(a);return c._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(c,a):this._getGuidelineLogic(c,a,b)};
f._getDefaultIndicatorLogic=function(a,b){return a._showError()&&a.hasError&&!b?"error":!a.completed||b?"number":a.editable?"edit":"done"};f._getGuidelineLogic=function(a,b,c){c=void 0===c?"number":c;return a._showError()&&a.hasError&&!b?"error":a.completed&&!b?"done":a.completed&&b?c:a.editable&&b?"edit":c};f._isCurrentStep=function(a){return this._selectedIndex===a};f._getFocusIndex=function(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex};
f._updateSelectedItemIndex=function(a){var b=this.steps.toArray();this.selectionChange.emit({selectedIndex:a,previouslySelectedIndex:this._selectedIndex,selectedStep:b[a],previouslySelectedStep:b[this._selectedIndex]});this._containsFocus()?this._keyManager.setActiveItem(a):nx(this._keyManager,a);this._selectedIndex=a;this._stateChanged()};
f._onKeydown=function(a){var b=If(a),c=a.keyCode,d=this._keyManager;if(null==d.activeItemIndex||b||32!==c&&13!==c)G0b(d,"keyboard").onKeydown(a);else this.selectedIndex=d.activeItemIndex,a.preventDefault()};f._anyControlsInvalidOrPending=function(a){return this._linear&&0<=a?this.steps.toArray().slice(0,a).some(function(b){var c=b.stepControl;return(c?c.invalid||c.pending||!b.interacted:!b.completed)&&!b.optional&&!b._completedOverride}):!1};
f._layoutDirection=function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"};f._containsFocus=function(){var a=this._elementRef.nativeElement,b=noa();return a===b||a.contains(b)};f._isValidIndex=function(a){return-1<a&&(!this.steps||a<this.steps.length)};
gg.Object.defineProperties(q8.prototype,{linear:{configurable:!0,enumerable:!0,get:function(){return this._linear},set:function(a){this._linear=Ef(a)}},selectedIndex:{configurable:!0,enumerable:!0,get:function(){return this._selectedIndex},set:function(a){a=Hf(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&&kx(this._keyManager,"vertical"===a)}}});q8.\u0275fac=function(a){return new (a||q8)(D(qx,8),D(Lu),D(fd))};
q8.\u0275dir=Cc({type:q8,selectors:[["","cdkStepper",""]],contentQueries:function(a,b,c){a&1&&(kf(c,p8,5),kf(c,n8,5));if(a&2){var d;hf(d=lf())&&(b._steps=d);hf(d=lf())&&(b._stepHeader=d)}},inputs:{linear:"linear",selectedIndex:"selectedIndex",selected:"selected",orientation:"orientation"},outputs:{selectionChange:"selectionChange"},exportAs:["cdkStepper"]});var r8=function(a){this._stepper=a;this.type="submit"};r8.\u0275fac=function(a){return new (a||r8)(D(q8))};r8.\u0275dir=Cc({type:r8,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(a,b){a&1&&O("click",function(){return b._stepper.next()});a&2&&Me("type",b.type)},inputs:{type:"type"}});var s8=function(a){this._stepper=a;this.type="button"};s8.\u0275fac=function(a){return new (a||s8)(D(q8))};
s8.\u0275dir=Cc({type:s8,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(a,b){a&1&&O("click",function(){return b._stepper.previous()});a&2&&Me("type",b.type)},inputs:{type:"type"}});var t8=function(){r8.apply(this,arguments)};V(t8,r8);t8.\u0275fac=function(){var a;return function(b){return(a||(a=dd(t8)))(b||t8)}}();t8.\u0275dir=Cc({type:t8,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(a,b){a&2&&Me("type",b.type)},inputs:{type:"type"},features:[xe]});var u8=function(){s8.apply(this,arguments)};V(u8,s8);u8.\u0275fac=function(){var a;return function(b){return(a||(a=dd(u8)))(b||u8)}}();
u8.\u0275dir=Cc({type:u8,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(a,b){a&2&&Me("type",b.type)},inputs:{type:"type"},features:[xe]});var w8=function(a){this.templateRef=a};w8.\u0275fac=function(a){return new (a||w8)(D(ef))};w8.\u0275dir=Cc({type:w8,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:["matStepperIcon","name"]}});var ejd=function(a){this._template=a};ejd.\u0275fac=function(a){return new (a||ejd)(D(ef))};ejd.\u0275dir=Cc({type:ejd,selectors:[["ng-template","matStepContent",""]]});var x8=function(){o8.apply(this,arguments)};V(x8,o8);x8.\u0275fac=function(){var a;return function(b){return(a||(a=dd(x8)))(b||x8)}}();x8.\u0275dir=Cc({type:x8,selectors:[["","matStepLabel",""]],features:[xe]});var y8=function(){this.changes=new F.Subject;this.optionalLabel="Optional";this.completedLabel="Completed";this.editableLabel="Editable"};y8.\u0275fac=function(a){return new (a||y8)};y8.\u0275prov=nc({token:y8,factory:y8.\u0275fac,providedIn:"root"});new Ot;new Pt;var fjd=function(a){this._elementRef=a};V(fjd,n8);fjd.\u0275dir=n8.\u0275dir;fjd.\u0275fac=n8.\u0275fac;var gjd=hg(fjd,"primary"),z8=function(a,b,c,d){var e=gjd.call(this,c)||this;e._intl=a;e._focusMonitor=b;e._intlSubscription=a.changes.subscribe(function(){return d.markForCheck()});return e};V(z8,gjd);f=z8.prototype;f.ngAfterViewInit=function(){this._focusMonitor.monitor(this._elementRef,!0)};f.ngOnDestroy=function(){this._intlSubscription.unsubscribe();this._focusMonitor.stopMonitoring(this._elementRef)};
f.focus=function(a,b){a?$v(this._focusMonitor,this._elementRef,a,b):this._elementRef.nativeElement.focus(b)};f._stringLabel=function(){return this.label instanceof x8?null:this.label};f._templateLabel=function(){return this.label instanceof x8?this.label:null};f._getHostElement=function(){return this._elementRef.nativeElement};f._getIconContext=function(){return{index:this.index,active:this.active,optional:this.optional}};
f._getDefaultTextForState=function(a){return"number"==a?""+(this.index+1):"edit"==a?"create":"error"==a?"warning":a};z8.\u0275fac=function(a){return new (a||z8)(D(y8),D(Zv),D(fd),D(Lu))};
z8.\u0275cmp=zc({type:z8,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],inputs:{color:"color",state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple"},features:[xe],decls:10,vars:19,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content",3,"ngSwitch"],[3,
"ngTemplateOutlet","ngTemplateOutletContext",4,"ngSwitchCase"],[3,"ngSwitch",4,"ngSwitchDefault"],[1,"mat-step-label"],["class","mat-step-text-label",4,"ngIf"],["class","mat-step-optional",4,"ngIf"],["class","mat-step-sub-label-error",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngSwitch"],["aria-hidden","true",4,"ngSwitchCase"],["class","cdk-visually-hidden",4,"ngIf"],["aria-hidden","true",4,"ngSwitchDefault"],["aria-hidden","true"],[1,"cdk-visually-hidden"],[1,"mat-step-text-label"],
[3,"ngTemplateOutlet"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"]],template:function(a,b){a&1&&(K(0,"div",0),H(1,"div")(2,"div",1),R(3,Mrb,1,2,"ng-container",2),R(4,Rrb,5,4,"ng-container",3),J()(),H(5,"div",4),R(6,Srb,2,1,"div",5),R(7,Trb,2,1,"div",5),R(8,Urb,2,1,"div",6),R(9,Vrb,2,1,"div",7),J());a&2&&(G("matRippleTrigger",b._getHostElement())("matRippleDisabled",b.disableRipple),C(1),Je("mat-step-icon-state-",b.state," mat-step-icon"),Ie("mat-step-icon-selected",b.selected),C(1),G("ngSwitch",
!(!b.iconOverrides||!b.iconOverrides[b.state])),C(1),G("ngSwitchCase",!0),C(2),Ie("mat-step-label-active",b.active)("mat-step-label-selected",b.selected)("mat-step-label-error","error"==b.state),C(1),G("ngIf",b._templateLabel()),C(1),G("ngIf",b._stringLabel()),C(1),G("ngIf",b.optional&&"error"!=b.state),C(1),G("ngIf","error"==b.state))},dependencies:[Tu,Yu,Uu,Vu,Wu,jz,Zx],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:""}.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,.mat-step-sub-label-error{font-size:12px}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative}.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 .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}.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}\n'],
encapsulation:2,changeDetection:0});var hjd=Of("horizontalStepTransition",[Rf("previous",Qf({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),Rf("current",Qf({transform:"none",visibility:"inherit"})),Rf("next",Qf({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),Sf("* => *",Pf("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"),{params:{animationDuration:"500ms"}})]),ijd=Of("verticalStepTransition",[Rf("previous",Qf({height:"0px",visibility:"hidden"})),Rf("next",Qf({height:"0px",visibility:"hidden"})),Rf("current",
Qf({height:"*",visibility:"inherit"})),Sf("* <=> current",Pf("{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)"),{params:{animationDuration:"225ms"}})]);var Zrb=function(a,b){return{step:a,i:b}},bsb=function(a){return{animationDuration:a}},asb=function(a,b){return{value:a,params:b}},A8=function(a,b,c,d){p8.call(this,a,d);this._errorStateMatcher=b;this._viewContainerRef=c;this._isSelected=F.Subscription.EMPTY;this.stepLabel=void 0};V(A8,p8);
A8.prototype.ngAfterContentInit=function(){var a=this;this._isSelected=this._stepper.steps.changes.pipe(pe(function(){return a._stepper.selectionChange.pipe(E(function(b){return b.selectedStep===a}),oe(a._stepper.selected===a))})).subscribe(function(b){b&&a._lazyContent&&!a._portal&&(a._portal=new dw(a._lazyContent._template,a._viewContainerRef))})};A8.prototype.ngOnDestroy=function(){this._isSelected.unsubscribe()};
A8.prototype.isErrorState=function(a,b){var c=!!(a&&a.invalid&&this.interacted);return this._errorStateMatcher.isErrorState(a,b)||c};A8.\u0275fac=function(a){return new (a||A8)(D(tc(function(){return B8})),D(Xx,4),D(ff),D(djd,8))};
A8.\u0275cmp=zc({type:A8,selectors:[["mat-step"]],contentQueries:function(a,b,c){a&1&&(kf(c,x8,5),kf(c,ejd,5));if(a&2){var d;hf(d=lf())&&(b.stepLabel=d.first);hf(d=lf())&&(b._lazyContent=d.first)}},inputs:{color:"color"},exportAs:["matStep"],features:[Xe([{provide:Xx,useExisting:A8},{provide:p8,useExisting:A8}]),xe],ngContentSelectors:["*"],decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(a){a&1&&(Ne(),R(0,Xrb,2,1,"ng-template"))},dependencies:[hw],encapsulation:2,changeDetection:0});
var B8=function(a,b,c){q8.call(this,a,b,c);this._steps=this._stepHeader=void 0;this.steps=new mf;this.animationDone=new tu;this.labelPosition="end";this.headerPosition="top";this._iconOverrides={};this._animationDone=new F.Subject;this._animationDuration="";this.orientation="mat-vertical-stepper"===c.nativeElement.nodeName.toLowerCase()?"vertical":"horizontal"};V(B8,q8);B8.\u0275dir=q8.\u0275dir;
B8.prototype.ngAfterContentInit=function(){var a=this;q8.prototype.ngAfterContentInit.call(this);this._icons.forEach(function(b){return a._iconOverrides[b.name]=b.templateRef});this.steps.changes.pipe(qe(this._destroyed)).subscribe(function(){a._stateChanged()});this._animationDone.pipe(fe(function(b,c){return b.fromState===c.fromState&&b.toState===c.toState}),qe(this._destroyed)).subscribe(function(b){"current"===b.toState&&a.animationDone.emit()})};
B8.prototype._stepIsNavigable=function(a,b){return b.completed||this.selectedIndex===a||!this.linear};B8.prototype._getAnimationDuration=function(){return this.animationDuration?this.animationDuration:"horizontal"===this.orientation?"500ms":"225ms"};gg.Object.defineProperties(B8.prototype,{animationDuration:{configurable:!0,enumerable:!0,get:function(){return this._animationDuration},set:function(a){this._animationDuration=/^\d+$/.test(a)?a+"ms":a}}});
B8.\u0275fac=function(a){return new (a||B8)(D(qx,8),D(Lu),D(fd))};
B8.\u0275cmp=zc({type:B8,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(a,b,c){a&1&&(kf(c,A8,5),kf(c,w8,5));if(a&2){var d;hf(d=lf())&&(b._steps=d);hf(d=lf())&&(b._icons=d)}},viewQuery:function(a,b){a&1&&jf(z8,5);if(a&2){var c;hf(c=lf())&&(b._stepHeader=c)}},hostAttrs:["role","tablist","ngSkipHydration",""],hostVars:11,hostBindings:function(a,b){a&2&&(Ae("aria-orientation",b.orientation),Ie("mat-stepper-horizontal","horizontal"===
b.orientation)("mat-stepper-vertical","vertical"===b.orientation)("mat-stepper-label-position-end","horizontal"===b.orientation&&"end"==b.labelPosition)("mat-stepper-label-position-bottom","horizontal"===b.orientation&&"bottom"==b.labelPosition)("mat-stepper-header-position-bottom","bottom"===b.headerPosition))},inputs:{selectedIndex:"selectedIndex",disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition",headerPosition:"headerPosition",animationDuration:"animationDuration"},outputs:{animationDone:"animationDone"},
exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],features:[Xe([{provide:q8,useExisting:B8}]),xe],decls:5,vars:3,consts:[[3,"ngSwitch"],["class","mat-horizontal-stepper-wrapper",4,"ngSwitchCase"],[4,"ngSwitchCase"],["stepTemplate",""],[1,"mat-horizontal-stepper-wrapper"],[1,"mat-horizontal-stepper-header-container"],[4,"ngFor","ngForOf"],[1,"mat-horizontal-content-container"],["class","mat-horizontal-stepper-content","role","tabpanel",3,"id","mat-horizontal-stepper-content-inactive",
4,"ngFor","ngForOf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["class","mat-stepper-horizontal-line",4,"ngIf"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"],["class","mat-step",4,"ngFor","ngForOf"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],[3,"tabIndex","id","index","state","label","selected","active","optional","errorMessage",
"iconOverrides","disableRipple","color","click","keydown"]],template:function(a,b){a&1&&(L(0,0),R(1,dsb,5,2,"div",1),R(2,fsb,2,1,"ng-container",2),M(),R(3,gsb,1,23,"ng-template",null,3,of));a&2&&(G("ngSwitch",b.orientation),C(1),G("ngSwitchCase","horizontal"),C(1),G("ngSwitchCase","vertical"))},dependencies:[Su,Tu,Yu,Uu,Vu,z8],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block}.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}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative}.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}.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-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}.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}[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:[hjd,ijd]},changeDetection:0});var jjd=[Yg("chrome-security@google.com")],C8=function(a,b,c,d,e,g,h,l){this.activeSession=a;this.analytics=b;this.butterBar=c;this.currentUser=d;this.issueApi=e;this.paths=g;this.redirectUrl=h;this.userAccess=l;this.Persona=Tid;var q;a=window.navigator.platform;b=window.navigator.userAgent;c=["Win32","Win64","Windows","WinCE"];d=["iPhone","iPad","iPod"];a=["Macintosh","MacIntel","MacPPC","Mac68K"].includes(a)?"Mac OS":d.includes(a)?"iOS":c.includes(a)?"Windows":/Android/.test(b)?"Android":/Linux/.test(a)?
"Linux":/\bCrOS\b/.test(b)?"Chrome OS":"Unknown/Other";b=window.navigator.userAgent.match(/chrome\/(\d|\.)+/i)||[];if(0<b.length){var v;b=null==(v=b[0])?void 0:v.split("/")[1]}else b=void 0;this.model={persona:"USER",category:void 0,os:a,channel:"Not sure",version:null!=(q=b)?q:"",summary:"",reproSteps:"1. \n2. \n3. ",description:"",regression:"N/A",comments:"",customQuestionResponses:[]};this.ackDupes=!1;this.uploads=[];this.enableRecaptcha=iE(this.activeSession,"enableRecaptcha");this.recaptchaResponse=
""},hsb=function(a,b){switch(b){case 0:return!!a.model.category&&a.ackDupes;case 1:return""!==a.model.summary&&"1. \n2. \n3. "!==a.model.reproSteps&&""!==a.model.description;default:og(b)}};f=C8.prototype;f.isCaptchaValid=function(){return!this.enableRecaptcha||""!==this.recaptchaResponse};f.uploadFile=function(a){a=this.attachmentUploader.upload(a);this.addUpload(a)};f.addUpload=function(a){this.uploads.push(a)};f.removeUpload=function(a){qa(this.uploads,a)};
f.getAttachments=function(){for(var a=[],b=k(this.uploads),c=b.next();!c.done;c=b.next())c=c.value,2===c.state&&c.blobRef&&a.push(Gg(c.blobRef));return a};
f.submit=function(){var a=this,b,c,d,e,g;return Ld(function(h){switch(h.nextAddress){case 1:var l=a.model,q=a.currentUser.user,v=null,y=null,B;"SECURITY"===(null==(B=l.category)?void 0:B.value)&&(v="LIMIT_VIEW",y=jjd);var I;B=(null==(I=l.category)?void 0:I.componentId)||402888;I=l.summary;var N=[{customFieldId:199900,textValue:l.os},{customFieldId:199877,textValue:l.version},{customFieldId:199876,textValue:l.channel},{customFieldId:199878,textValue:l.regression}],Q;l="# Steps to reproduce the problem\n"+
l.reproSteps+"\n\n# Problem Description\n"+l.description+"\n\n# Additional Comments\n"+l.comments+"\n\n# Summary\n"+l.summary+"\n\n"+qsb(l.customQuestionResponses)+"\n\n# Additional Data\nCategory: "+(null==(Q=l.category)?void 0:Q.title);b={componentId:B,type:"BUG",status:"NEW",priority:"P2",severity:"S2",title:I,customField:N,comment:l,formattingMode:"MARKDOWN",inProd:!0,isArchived:!1,reporterUser:q,issueAccessLimitLevel:v,collaboratorsUsers:y,ccUsers:[q],authorUser:null,createdTimeMicros:null,version:null,
assigneeUser:null,verifierUser:null,attachmentId:null,duplicateOfIssueId:null,blockedByIssueId:null,blockingIssueId:null,changelist:null,postmortems:null,foundInVersion:null,targetedToVersion:null,verifiedInVersion:null,hotlistId:null,retention:null,isDeleted:null,deletionReason:null,significanceOverride:null,duplicateIssueId:null,sloSnoozeUntil:null,sloEndTime:null,sloSnoozeType:null};WF(a.butterBar,"Saving...",0);Md(h,2);return h.yield(a.issueApi.createIssueWithWizard({snapshot:b,attachments:a.getAttachments(),
recaptchaToken:a.enableRecaptcha?a.recaptchaResponse:void 0}),4);case 4:return c=h.yieldResult,d=c.issueId,a.butterBar.dismiss(),a.analytics.trackEvent(Yl.CREATE_ISSUE,"fileAndRedirect","wizard",!0),h.yield(JF(a.userAccess,"reader","issues/"+d),5);case 5:(e=h.yieldResult)?P_c(a.redirectUrl,a.paths.editIssue(d),String(d)):(WF(a.butterBar,"New issue created: "+d+" (view access not granted)",0),P_c(a.redirectUrl,a.paths.listIssues()));xp(h,0);break;case 2:g=Pd(h),WF(a.butterBar,"Failed to create issue: "+
g),Qd(h)}})};C8.\u0275fac=function(a){return new (a||C8)(D(rp),D(AH),D(VF),D(pI),D(FE),D(OG),D(X1),D(IF))};
C8.\u0275cmp=zc({type:C8,selectors:[["chrome-wizard"]],viewQuery:function(a,b){a&1&&jf(h_,5);if(a&2){var c;hf(c=lf())&&(b.attachmentUploader=c.first)}},decls:111,vars:20,consts:[["headerPosition","bottom","animationDuration","0","linear","",1,"bv2-view"],[3,"completed"],[1,"required"],[3,"persona","personaChange"],[4,"ngIf","ngIfElse"],["contributor",""],[1,"inline-block"],["appearance","outline",1,"inline"],[3,"ngModel","ngModelChange"],["value","Android"],["value","Chrome OS"],["value","iOS"],["value",
"Linux"],["value","Mac OS"],["value","Windows"],["value","Unknown/Other"],[1,"inline-block","channel"],["value","Not sure"],["value","Stable"],["value","Beta"],["value","Dev"],["value","Canary"],[1,"inline"],["matInput","","aria-label","Chrome version",3,"ngModel","ngModelChange"],[1,"textarea"],["matInput","","required","","aria-label","One line summary",3,"ngModel","ngModelChange"],["matInput","","required","","aria-label","Steps to reproduce problem",3,"ngModel","ngModelChange"],["matInput","",
"required","","aria-label","Describe the problem",3,"ngModel","ngModelChange"],["appearance","outline"],["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"],[3,"category","responses",4,"ngIf"],["matInput","","aria-label","Additional comments",3,"ngModel","ngModelChange"],[3,"uploads","onUploadCancel"],
[1,"attachment-selector"],[3,"includeTextLabel","onSelect"],["class","wizard-recaptcha",4,"ngIf"],["mat-raised-button","","color","primary",3,"disabled","click"],["matStepperIcon","number"],["matStepperIcon","edit"],["matStepperIcon","done"],[3,"persona","category","categoryChange"],[1,"dupes"],[1,"ack-dupes",3,"ngModel","ngModelChange"],["href","#"],[3,"href"],[3,"category","responses"],[1,"wizard-recaptcha"],[3,"onUpdate"]],template:function(a,b){a&1&&(H(0,"mat-stepper",0)(1,"mat-step",1)(2,"h2"),
S(3,"Report an issue with Chromium"),J(),H(4,"h3"),S(5," We want you to enter the best possible issue report so that the project team members can act on it effectively. The following steps will help route your issue to the correct people. "),J(),K(6,"br"),H(7,"h4",2),S(8,"Please select your following role:"),J(),H(9,"wizard-persona-picker",3),O("personaChange",function(d){return b.model.persona=d}),J(),R(10,isb,17,4,"ng-container",4),R(11,jsb,10,1,"ng-template",null,5,of),J(),H(13,"mat-step",1)(14,
"h2"),S(15),J(),H(16,"h3"),S(17,"Please confirm that the following version information is correct."),J(),H(18,"h4",6),S(19,"Operating System:"),J(),H(20,"mat-form-field",7)(21,"mat-select",8),O("ngModelChange",function(d){return b.model.os=d}),H(22,"mat-option",9),S(23,"Android"),J(),H(24,"mat-option",10),S(25,"Chrome OS"),J(),H(26,"mat-option",11),S(27,"iOS"),J(),H(28,"mat-option",12),S(29,"Linux"),J(),H(30,"mat-option",13),S(31,"Mac OS"),J(),H(32,"mat-option",14),S(33,"Windows"),J(),H(34,"mat-option",
15),S(35,"Unknown/Other"),J()()(),H(36,"h4",16),S(37,"Channel:"),J(),H(38,"mat-form-field",7)(39,"mat-select",8),O("ngModelChange",function(d){return b.model.channel=d}),H(40,"mat-option",17),S(41,"Not sure"),J(),H(42,"mat-option",18),S(43,"Stable"),J(),H(44,"mat-option",19),S(45,"Beta"),J(),H(46,"mat-option",20),S(47,"Dev"),J(),H(48,"mat-option",21),S(49,"Canary"),J()()(),K(50,"br"),H(51,"h4",6),S(52,"Chrome version:"),J(),H(53,"mat-form-field",22)(54,"input",23),O("ngModelChange",function(d){return b.model.version=
d}),J()(),H(55,"h4",2),S(56,"Please enter a one line summary (100 character limit)"),J(),H(57,"mat-form-field",24)(58,"textarea",25),O("ngModelChange",function(d){return b.model.summary=d}),S(59,"      "),J()(),H(60,"h4",2),S(61,"Steps to reproduce problem (5000 character limit)"),J(),H(62,"mat-form-field",24)(63,"textarea",26),O("ngModelChange",function(d){return b.model.reproSteps=d}),S(64,"      "),J()(),H(65,"h4",2),S(66,"Please describe the problem (5000 character limit)"),J(),H(67,"mat-form-field",
24)(68,"textarea",27),O("ngModelChange",function(d){return b.model.description=d}),S(69,"      "),J()(),H(70,"h4"),S(71,"Did this work before?"),J(),H(72,"mat-form-field",28)(73,"mat-select",8),O("ngModelChange",function(d){return b.model.regression=d}),H(74,"mat-option",29),S(75,"Not applicable or don't know"),J(),H(76,"mat-option",30),S(77,"Yes - This is a regression"),J(),H(78,"mat-option",31),S(79,"No - I think it never worked"),J()()(),H(80,"div",32)(81,"button",33),K(82,"mat-icon",34),S(83,
" Back "),J(),H(84,"button",35),S(85," Next "),K(86,"mat-icon",36),J()()(),H(87,"mat-step")(88,"h2"),S(89,"Extra information about the issue"),J(),R(90,ksb,1,1,"wizard-custom-questions",37),H(91,"h4"),S(92,"Additional comments"),J(),H(93,"mat-form-field",24)(94,"textarea",38),O("ngModelChange",function(d){return b.model.comments=d}),J()(),H(95,"h4"),S(96,"Upload any relevant screenshots"),J(),H(97,"b-attachment-uploader",39),O("onUploadCancel",function(d){return b.removeUpload(d)}),J(),H(98,"div",
40)(99,"b-attachment-selector",41),O("onSelect",function(d){return b.uploadFile(d)}),J(),S(100," You can include multiple attachments. "),J(),R(101,lsb,2,0,"div",42),H(102,"div",32)(103,"button",33),K(104,"mat-icon",34),S(105," Back "),J(),H(106,"button",43),O("click",function(){return b.submit()}),S(107," Submit "),J()()(),R(108,msb,0,0,"ng-template",44),R(109,nsb,0,0,"ng-template",45),R(110,osb,0,0,"ng-template",46),J());if(a&2){var c=Se(12);C(1);G("completed",hsb(b,0));C(8);G("persona",b.model.persona);
C(1);G("ngIf",b.model.persona!==b.Persona.CONTRIBUTOR)("ngIfElse",c);C(3);G("completed",hsb(b,1));C(2);Te("Details for problems with ",null==b.model.category?null:b.model.category.title,"");C(6);G("ngModel",b.model.os);C(18);G("ngModel",b.model.channel);C(15);G("ngModel",b.model.version);C(4);G("ngModel",b.model.summary);C(5);G("ngModel",b.model.reproSteps);C(5);G("ngModel",b.model.description);C(5);G("ngModel",b.model.regression);C(11);G("disabled",!hsb(b,1));C(6);G("ngIf",b.model.category);C(4);
G("ngModel",b.model.comments);C(3);G("uploads",b.uploads);C(2);G("includeTextLabel",!0);C(2);G("ngIf",b.enableRecaptcha);C(5);G("disabled",!b.isCaptchaValid())}},dependencies:[e_,h_,Tu,yy,jz,Af,tv,Mv,zv,ajd,bjd,$id,VN,Yy,az,CO,Ay,A8,B8,t8,u8,w8,eT,Wid,m8,Xid],styles:['[_nghost-%COMP%]   h2[_ngcontent-%COMP%]{font-family:Google Sans,Roboto,Arial,sans-serif;line-height:2rem;font-size:1.5rem;letter-spacing:0;font-weight:400}[_nghost-%COMP%]   h4[_ngcontent-%COMP%]{font-family:Google Sans,Roboto,Arial,sans-serif;line-height:1.5rem;font-size:1.125rem;letter-spacing:0;font-weight:400;font-weight:100;margin:0}[_nghost-%COMP%]   h4.required[_ngcontent-%COMP%]:after{content:" *";color:#ea4335;color:var(--bad)}[_nghost-%COMP%]   mat-form-field.textarea[_ngcontent-%COMP%]{min-width:90%}[_nghost-%COMP%]   textarea[_ngcontent-%COMP%]{min-height:4rem;padding:4px 1px 1px 7px}[_nghost-%COMP%]   mat-form-field[_ngcontent-%COMP%]{margin:4px 0}[_nghost-%COMP%]   mat-form-field.inline[_ngcontent-%COMP%]{margin:4px 8px}[_nghost-%COMP%]     .mat-radio-container{margin-right:4px}[_nghost-%COMP%]     .mat-step-header .mat-step-label{display:none}wizard-persona-picker[_ngcontent-%COMP%]{margin-bottom:16px}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 D8=function(a,b){kE.call(this);var c=this;this.componentFridge=a;this.currentTracker=b;this.componentId$=new F.ReplaySubject(1);this.hidePath=!1;this.error$=this.componentFridge.error$.pipe(Zd(function(d){return String(d.idOrKey)===c.componentIdInternal}));this.rawComponent$=this.componentId$.pipe(Zd(eh),pe(this.componentFridge.watch),Zd(eh));this.component$=(0,F.merge)(this.error$,this.rawComponent$).pipe(E(function(d){return d.componentId&&d.name?d:{componentId:Number(d.idOrKey),name:"(unknown)"}}));
this.isArchived$=this.component$.pipe(E(function(d){return d.archived}));this.componentPath$=this.component$.pipe(E(function(d){d=dp(c.currentTracker,d.componentPathInfo);return D5a(d)}));this.init=new F.ReplaySubject(1);this.routes$=this.componentId$.pipe(E(function(d){return{createIssue:wya(d),componentSettings:xya(d),recentIssues:vya(d)}}))};V(D8,kE);D8.\u0275dir=kE.\u0275dir;D8.prototype.ngOnInit=function(){var a=this;this.component$.pipe(ge(),qe(this.destroyed$)).subscribe(function(){a.init.next()})};
gg.Object.defineProperties(D8.prototype,{componentId:{configurable:!0,enumerable:!0,set:function(a){this.componentIdInternal=a=String(a);this.componentId$.next(a)}}});D8.\u0275fac=function(a){return new (a||D8)(D(xF),D(LK))};
D8.\u0275cmp=zc({type:D8,selectors:[["b-component-path-card"]],inputs:{componentId:"componentId",hidePath:"hidePath"},outputs:{init:"init"},features:[xe],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),R(2,usb,5,6,"div",2),R(3,vsb,9,3,"ng-container",3),T(4,"async"),R(5,wsb,7,3,"div",4),T(6,"async"),J()());a&2&&(C(2),G("ngIf",!b.hidePath),C(1),G("ngIf",U(4,3,b.component$)),C(2),G("ngIf",U(6,5,b.routes$)))},dependencies:[Su,Tu,zy,jz,sN,Zu],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 E8=function(a,b,c,d,e){var g=this;this.userResources=a;this.history=b;this.router=c;this.currentTracker=d;this.activeSession=e;this.viewIssues=vya;this.createIssue=wya;this.componentSettings=xya;this.trackerId=this.currentTracker.getTrackerId();this.includeArchived=!1;this.isThinking=!0;this.isInternalSession=this.activeSession.isInternalSession();this.placeholder$=this.currentTracker.inTracker$.pipe(E(function(h){return h||g.activeSession.isExternalSession()?"Find components by name or id":"Find components by name, team, or id"}));
this.recentComponents$=this.userResources.getRecentComponents().then(function(h){return h.filter(function(l){return g.filterTrackerComponents(l)})}).finally(function(){g.isThinking=!1})};E8.prototype.back=function(){W1(this.history)};E8.prototype.filterTrackerComponents=function(a){return yk(this.trackerId)||a.trackerId===this.trackerId};E8.\u0275fac=function(a){return new (a||E8)(D(hH),D(V1),D(GG),D(LK),D(rp))};
E8.\u0275cmp=zc({type:E8,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),O("click",function(){return b.back()}),K(4,"mat-icon",4),J(),H(5,"h2"),S(6,"Components"),J()(),H(7,"div",5),R(8,xsb,2,0,"a",6),H(9,"b-slide-toggle",7),O("modelChange",function(e){return b.includeArchived=e}),J()()(),H(10,"section",8)(11,"h3"),S(12,"Search"),J(),H(13,"b-team-component-picker",9),O("selectedComponentChange",function(e){null!=e&&ip(b.router,xya(e.componentId).path)}),T(14,"async"),T(15,"async"),J(),H(16,"h3",10),S(17,"Recent Components"),J(),
H(18,"div",11),R(19,Bsb,4,2,"ng-container",12),T(20,"async"),J(),H(21,"p",13)(22,"a",14),S(23,"See all Components"),J()()()());if(a&2){var c,d;C(8);G("ngIf",b.isInternalSession);C(1);G("model",b.includeArchived);C(4);G("includeArchived",b.includeArchived)("placeholder",null!==(c=U(14,6,b.placeholder$))&&void 0!==c?c:"")("ariaLabel",null!==(d=U(15,8,b.placeholder$))&&void 0!==d?d:"");C(6);G("ngIf",U(20,10,b.recentComponents$))}},dependencies:[yy,zy,jz,XA,Su,Tu,IG,sN,sV,D8,QJ,RJ,VJ,SJ,DZ,HO,OK,Zu],
encapsulation:2});var F8=function(){};F8.\u0275fac=function(a){return new (a||F8)};F8.\u0275mod=Bc({type:F8});F8.\u0275inj=oc({imports:[MF,YA,WB,MG,tN]});var kjd=["bookmarkGroupName"],ljd=function(a){return{"bv2-edit-resource-readonly":a}},G8=function(a,b,c,d,e,g,h,l,q,v){kE.call(this);var y=this;this.location=a;this.appHistory=b;this.snackBar=c;this.bookmarkGroupsApi=d;this.paths=e;this.analytics=g;this.errorHandler=l;this.appEvents=v;this.error="";this.isSaving=!1;this.bookmarkGroupUnderEdit=new wv({name:new yv("",FYb),description:new yv("")});h.setTitle("Create Bookmark Group");this.subscriptions.add(tP(q,function(){return!(!y.name()&&!y.description())},
!1))};V(G8,kE);G8.\u0275dir=kE.\u0275dir;f=G8.prototype;f.ngAfterViewInit=function(){this.bookmarkGroupName.nativeElement.focus()};
f.save=function(){var a=this;this.validate()&&(this.snackBar.open("Saving bookmark group...","dismiss",{duration:0}),this.isSaving=!0,this.bookmarkGroupsApi.create({name:this.name(),description:this.description()}).then(function(b){a.isSaving=!1;a.snackBar.open('Bookmark group "'+b.name+'" saved.',"dismiss",{duration:2E3});a.appEvents.bookmarkGroupModified.next({bookmarkGroupId:b.bookmarkGroupId});a.analytics.trackEvent("sidebarHotlists","createdBookmarkGroup");a.location.replaceUrl(a.paths.editBookmarkGroup(b.bookmarkGroupId));
a.revertChanges()}).catch(function(b){a.isSaving=!1;a.errorHandler.errorHandler(null,b)}))};f.validate=function(){if(""===this.name())return this.error="Error: You must fill out all required fields.",!1;this.error="";return!0};f.back=function(){W1(this.appHistory)};f.revertChanges=function(){this.bookmarkGroupUnderEdit.reset()};f.name=function(){var a,b=null==(a=this.bookmarkGroupUnderEdit.get("name"))?void 0:a.value;return b?b:""};
f.description=function(){var a,b=null==(a=this.bookmarkGroupUnderEdit.get("description"))?void 0:a.value;return b?b:""};G8.\u0275fac=function(a){return new (a||G8)(D(NG),D(V1),D(TF),D(KX),D(OG),D(AH),D(SW),D(ZF),D(sP),D(cG))};
G8.\u0275cmp=zc({type:G8,selectors:[["b-create-bookmark-group"]],viewQuery:function(a,b){a&1&&jf(kjd,5);if(a&2){var c;hf(c=lf())&&(b.bookmarkGroupName=c.first)}},features:[xe],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),O("click",function(){return b.back()}),K(3,"mat-icon",3),J(),H(4,"h2"),S(5,"Create a new bookmark group"),J()()(),H(6,"div",4)(7,"div",5)(8,"form",6),K(9,"b-error-banner",7),H(10,"div",8)(11,"label",9),S(12,"Name"),J(),K(13,"input",10,11),J(),H(15,"div",8)(16,"label",12),S(17,"Description"),J(),H(18,"textarea",13),S(19,"        "),J()(),H(20,"p",14),S(21," Advanced settings such as selected items and access controls may be defined once the bookmark group is created. "),
J(),H(22,"div",15)(23,"button",16),O("click",function(){return b.save()}),S(24," Save "),J(),H(25,"button",17),O("click",function(){return b.revertChanges()}),S(26," Revert changes "),J()()()()());a&2&&(C(8),G("formGroup",b.bookmarkGroupUnderEdit),C(1),G("error",b.error),C(1),G("ngClass",Ze(7,ljd,b.isSaving)),C(3),G("disabled",b.isSaving),C(2),G("ngClass",Ze(9,ljd,b.isSaving)),C(3),G("disabled",b.isSaving),C(5),G("disabled",b.isSaving))},dependencies:[Ru,yy,jz,XA,Av,Af,tv,uv,Mv,Gv,Hv,K0],encapsulation:2});var mjd=["form"],H8=function(a,b,c,d,e,g,h,l,q,v){kE.call(this);this.butterBar=a;this.paths=b;this.analytics=c;this.appHistory=d;this.bLocation=e;this.activeSession=g;this.documentationLinks=h;this.componentActions=v;this.parentComponentInternal=null;this.commentEditsEnabled=this.componentIsValid=this.retentionIsValid=this.isSaving=!1;this.component={componentId:0,parentComponentId:0,name:"",description:"",archived:!1,customFieldId:null,accessLimit:{accessLevel:"ACCESS_LEVEL_UNSPECIFIED"},emailAlias:"dummyemail@google.com",
componentPathInfo:{componentPathId:null,componentPathName:null,allCustomField:null},userHasEditAccess:void 0,commentEditState:"DISABLED",defaultTemplateId:0,slo:{inherit:!0,source:"BUGSCOPE",id:"0"},bugscopeSloId:"0"};this.sessionIsExternal=g.isExternalSession();l.parentId&&this.loadParentComponent(Ig(l.parentId));q.setTitle("Create component")};V(H8,kE);H8.\u0275dir=kE.\u0275dir;f=H8.prototype;f.ngAfterViewInit=function(){};
f.create=function(){var a=this;this.validate()&&(WF(this.butterBar,"Saving component...",0),this.isSaving=!0,this.component.parentComponentId=this.parentComponent.componentId,this.componentActions.create(this.component).then(function(b){WF(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){XF(a.butterBar,Ck(b),0);a.isSaving=!1}))};f.back=function(){W1(this.appHistory)};
f.validate=function(){if(this.createComponentForm.form.invalid)return this.error="Error: You must fill out all required fields.",!1;if(this.componentIsValid){if(this.retentionIsValid)return this.error="",!0;this.error="Error: Required retention settings are missing or invalid."}return!1};f.loadParentComponent=function(a){var b=this;this.componentActions.getUncached(a,!0).then(function(c){b.parentComponent=c})};
f.setCommentEditState=function(a){this.commentEditsEnabled=a;this.component.commentEditState=this.commentEditsEnabled?"ENABLED":"DISABLED"};f.onComponentSelect=function(a){this.parentComponent=a;njd(this)};f.accessCheckComplete=function(a){this.componentIsValid=a;njd(this)};
var njd=function(a){a.parentComponent?(a.component.commentEditState=a.parentComponent.commentEditState,a.commentEditsEnabled="ENABLED"===a.component.commentEditState):(a.component.commentEditState="DISABLED",a.commentEditsEnabled=!1)};gg.Object.defineProperties(H8.prototype,{parentComponent:{configurable:!0,enumerable:!0,get:function(){return this.parentComponentInternal},set:function(a){this.parentComponentInternal=a;njd(this)}}});
H8.\u0275fac=function(a){return new (a||H8)(D(VF),D(OG),D(AH),D(V1),D(NG),D(rp),D(NI),D(qJ),D(SW),D(mV))};
H8.\u0275cmp=zc({type:H8,selectors:[["create-component-page"]],viewQuery:function(a,b){a&1&&jf(mjd,5);if(a&2){var c;hf(c=lf())&&(b.createComponentForm=c.first)}},features:[xe],decls:55,vars:31,consts:[[1,"kd-appbar"],[1,"kd-buttonbar"],["format","icon","size","large","tooltip","Go back","b-aria-label","Go back",3,"onAction"],["name","arrow-backward","size","large"],[1,"bv2-view"],[1,"edit-resource-header"],[1,"edit-resource-panel"],["novalidate","",1,"create-component-form"],["form","ngForm"],[3,
"error"],[1,"edit-field"],["for","component-name",1,"required"],[1,"edit-field-header"],["type","text","id","component-name","placeholder","Component name","name","componentName","aria-label","Component name",3,"bFocus","ngModel","disabled","required","ngModelChange"],["for","component-description"],["id","component-description","placeholder","Component description","name","componentDescription","aria-label","Component description",3,"ngModel","disabled","ngModelChange"],["for","parent-component",
1,"required"],["id","parent-component","ariaLabel","Parent component",3,"selectedComponent","placeholder","isRequired","checkAdminAccess","selectedComponentChange","accessCheckComplete"],[1,"edit-field","permission-toggle"],[1,"permission-toggle-checkbox"],["ariaLabel","Editable comments",3,"checked","change"],[1,"edit-field-help"],[1,"permission-toggle-help","edit-field-help"],["target","_blank","class","keep-underline keep-focus-ring",3,"href",4,"ngIf"],["for","retention-settings",1,"required"],
["target","_blank",1,"keep-underline","keep-focus-ring",3,"href"],["id","retention-settings"],[3,"issueRetentionDisabled","isExternal","initialModel","modelChange","validChange"],[1,"advanced-settings-info"],[1,"bv2-component-button-bar"],["format","fill",3,"disabled","onAction"],["format","hairline",3,"disabled","onAction"]],template:function(a,b){a&1&&(H(0,"div",0)(1,"div",1)(2,"b-button",2),O("onAction",function(){return b.back()}),K(3,"b-icon",3),J()()(),H(4,"div",4)(5,"h2",5),S(6,"Create component"),
J(),H(7,"div",6)(8,"form",7,8),K(10,"b-error-banner",9),H(11,"div",10)(12,"label",11)(13,"span",12),S(14,"Name"),J()(),H(15,"input",13),O("ngModelChange",function(c){return b.component.name=c}),J()(),H(16,"div",10)(17,"label",14)(18,"span",12),S(19,"Description"),J()(),H(20,"textarea",15),O("ngModelChange",function(c){return b.component.description=c}),S(21,"        "),J()(),H(22,"div",10)(23,"label",16)(24,"span",12),S(25,"Parent Component"),J()(),H(26,"b-team-component-picker",17),O("selectedComponentChange",
function(c){return b.onComponentSelect(null!==c&&void 0!==c?c:null)})("accessCheckComplete",function(c){return b.accessCheckComplete(c)}),J()(),H(27,"div",18)(28,"div",19)(29,"mat-checkbox",20),O("change",function(c){return b.setCommentEditState(c.checked)}),J()(),H(30,"div")(31,"strong",21),S(32,"Editable Comments"),J(),H(33,"div",22),S(34," When checked, users with comment access can modify their own issue comments, and editors can modify the first issue comment. "),R(35,Dsb,2,1,"a",23),J()()(),
H(36,"div",10)(37,"label",24)(38,"span",12),S(39,"Retention Settings"),J()(),H(40,"div",21)(41,"p"),S(42,"Please choose a period of time to retain the data stored in this component."),K(43,"br"),H(44,"a",25),S(45," Learn more "),J()()(),H(46,"div",26)(47,"b-retention-settings-form",27),O("modelChange",function(c){return b.component.retentionSettings=c})("validChange",function(c){return b.retentionIsValid=c}),J()()(),H(48,"p",28),S(49," Advanced settings such as custom field and access controls may be defined once the component is created. "),
J(),H(50,"div",29)(51,"b-button",30),O("onAction",function(){return b.create()}),S(52," Save "),J(),H(53,"b-button",31),O("onAction",function(){return b.back()}),S(54," Discard "),J()()()()());a&2&&(C(8),Ie("show-errors",b.error),C(2),G("error",b.error),C(1),Ie("bv2-edit-resource-readonly",b.isSaving),C(4),G("bFocus",!0)("ngModel",b.component.name)("disabled",b.isSaving)("required",!0),C(1),Ie("bv2-edit-resource-readonly",b.isSaving),C(4),G("ngModel",b.component.description)("disabled",b.isSaving),
C(2),Ie("bv2-edit-resource-readonly",b.isSaving),C(4),G("selectedComponent",b.parentComponent)("placeholder","Choose Component")("isRequired",!0)("checkAdminAccess",!0),C(1),Ie("bv2-edit-resource-readonly",b.isSaving),C(2),G("checked",b.commentEditsEnabled),C(6),G("ngIf",!b.sessionIsExternal),C(9),G("href",qp(),vd),C(2),Ie("bv2-edit-resource-readonly",b.isSaving),C(1),G("issueRetentionDisabled",b.isSaving)("isExternal",wn(b.parentComponent))("initialModel",b.component.retentionSettings),C(4),G("disabled",
b.isSaving||!b.componentIsValid),C(2),G("disabled",b.isSaving))},dependencies:[qP,Tu,K0,jV,Av,Af,tv,uv,Mv,zv,xv,$M,VN,B1,sV],styles:["b-team-component-picker[_ngcontent-%COMP%]{display:block;width:600px}\n/*# sourceMappingURL=create_component_page.css.map */"]});var ojd=["hotlistName"],pjd=function(a){return{"bv2-edit-resource-readonly":a}},I8=function(a,b,c,d,e,g,h,l,q,v){kE.call(this);var y=this;this.location=a;this.appHistory=b;this.snackBar=c;this.hotlistApi=d;this.paths=e;this.analytics=g;this.errorHandler=l;this.appEvents=v;this.error="";this.isSaving=!1;this.hotlistUnderEdit=new wv({name:new yv("",FYb),description:new yv("")});h.setTitle("Create Hotlist");this.subscriptions.add(tP(q,function(){return!(!y.name()&&!y.description())},!1))};V(I8,kE);
I8.\u0275dir=kE.\u0275dir;f=I8.prototype;f.ngAfterViewInit=function(){this.hotlistName.nativeElement.focus()};
f.save=function(){var a=this;this.validate()&&(this.snackBar.open("Saving hotlist...","dismiss",{duration:0}),this.isSaving=!0,this.hotlistApi.createHotlist(this.name(),this.description()).then(function(b){a.isSaving=!1;a.snackBar.open('Hotlist "'+b.name+'" saved.',"dismiss",{duration:6E3});a.appEvents.hotlistChanged.next({hotlistId:b.hotlistId});a.analytics.trackEvent("hotlist","create");a.location.replaceUrl(a.paths.editHotlist(b.hotlistId));a.revertChanges()}).catch(function(b){a.isSaving=!1;a.errorHandler.errorHandler(null,
b)}))};f.validate=function(){if(""===this.name())return this.error="Error: You must fill out all required fields.",!1;this.error="";return!0};f.back=function(){W1(this.appHistory)};f.revertChanges=function(){this.hotlistUnderEdit.reset()};f.name=function(){var a,b=null==(a=this.hotlistUnderEdit.get("name"))?void 0:a.value;return b?b:""};f.description=function(){var a,b=null==(a=this.hotlistUnderEdit.get("description"))?void 0:a.value;return b?b:""};
I8.\u0275fac=function(a){return new (a||I8)(D(NG),D(V1),D(TF),D(ZG),D(OG),D(AH),D(SW),D(ZF),D(sP),D(cG))};
I8.\u0275cmp=zc({type:I8,selectors:[["b-create-hotlist"]],viewQuery:function(a,b){a&1&&jf(ojd,5);if(a&2){var c;hf(c=lf())&&(b.hotlistName=c.first)}},features:[xe],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),O("click",function(){return b.back()}),K(3,"mat-icon",3),J(),H(4,"h2"),S(5,"Create a new hotlist"),J()()(),H(6,"div",4)(7,"div",5)(8,"form",6),K(9,"b-error-banner",7),H(10,"div",8)(11,"label",9),S(12,"Name"),J(),K(13,"input",10,11),J(),H(15,"div",8)(16,"label",12),S(17,"Description"),J(),H(18,"textarea",13),S(19,"        "),J()(),H(20,"p",14),S(21," Advanced settings such as access controls may be defined once the hotlist is created. "),J(),H(22,"div",15)(23,"button",16),O("click",function(){return b.save()}),
S(24," Save "),J(),H(25,"button",17),O("click",function(){return b.revertChanges()}),S(26," Revert changes "),J()()()()());a&2&&(C(8),G("formGroup",b.hotlistUnderEdit),C(1),G("error",b.error),C(1),G("ngClass",Ze(7,pjd,b.isSaving)),C(3),G("disabled",b.isSaving),C(2),G("ngClass",Ze(9,pjd,b.isSaving)),C(3),G("disabled",b.isSaving),C(5),G("disabled",b.isSaving))},dependencies:[Ru,yy,jz,XA,Av,Af,tv,uv,Mv,Gv,Hv,K0],encapsulation:2});var J8=function(a,b,c){this.analytics=a;this.activeSession=b;this.hatsService=c;this.enableDupSearchControl=iE(this.activeSession,"enableDupSearchControl");this.enableDupSearchA=iE(this.activeSession,"enableDupSearchA");this.enableDupSearchB=iE(this.activeSession,"enableDupSearchB");this.enableDupSearchC=iE(this.activeSession,"enableDupSearchC");this.enableDupSearchMoma=iE(this.activeSession,"enableDupSearchMoma");this.enableSimilarIssues=this.activeSession.isInternalSession()&&(this.enableDupSearchControl||
this.enableDupSearchA||this.enableDupSearchB||this.enableDupSearchC||this.enableDupSearchMoma)};J8.prototype.triggerSimilarIssuesSurvey=function(){return eyc(this.hatsService,"HFPx18aEL0g6pPHSLo10YtkWxxH9",qjd(this)).pipe(E(function(){}))};J8.prototype.trackTitleHoverOver=function(){this.analytics.trackEvent(Yl.MAGIC_BOX,"titleHoverOver",this.getGroupName())};J8.prototype.trackTitleClick=function(){this.analytics.trackEvent(Yl.MAGIC_BOX,"titleClick",this.getGroupName())};
var qjd=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};
J8.prototype.getGroupName=function(){return this.enableDupSearchControl?"BaseVariant":this.enableDupSearchA?"VariantA":this.enableDupSearchB?"VariantB":this.enableDupSearchC?"VariantC":this.enableDupSearchMoma?"VariantMoma":"Control"};J8.\u0275fac=function(a){return new (a||J8)(w(AH),w(rp),w(eP))};J8.\u0275prov=nc({token:J8,factory:J8.\u0275fac,providedIn:"root"});var K8=function(a){r.call(this,a,0,K8.messageId)};V(K8,r);K8.prototype.getIssueIdsList=function(){return Bg(this,1)};K8.prototype.setIssueIdsList=function(a){return $h(this,1,a)};K8.prototype.addIssueIds=function(a){eb(this,1,a)};K8.repeatedFields_=[1];K8.prototype.toObject=function(){if(null!=this){t(this);var a={issueIdsList:p(Bg(this,1))}}else a=void 0;return a};K8.prototype.serializeBinary=u([K8,1,nq]);K8.messageId="b.BatchIssueDigestRequest";var L8=function(a){r.call(this,a,0,L8.messageId)};V(L8,r);L8.prototype.getIssueDigestsList=function(){return yg(this,DE,1)};L8.repeatedFields_=[1];L8.prototype.toObject=function(){if(null!=this){t(this);var a={issueDigestsList:Mb(this.getIssueDigestsList(),Lic)}}else a=void 0;return a};L8.prototype.serializeBinary=u([L8,1,Iq,Mic]);L8.messageId="b.BatchIssueDigestResponse";var M8=function(a,b){this.batchApiConfig=a;this.batchApiAdapter=b;this.adaptedGet=this.batchApiAdapter.adapt(this.batchApiConfig)};M8.prototype.get=function(a){return this.adaptedGet(a).pipe(E(vua))};M8.prototype.getAll=function(a){return this.batchApiConfig.call(a).pipe(E(Esb))};M8.\u0275fac=function(a){return new (a||M8)(w(N8),w(rF))};M8.\u0275prov=nc({token:M8,factory:M8.\u0275fac,providedIn:"root"});var N8=function(a){this.executor=a};
N8.prototype.call=function(a){var b=[].concat(Jc(a));b.sort();a=new K8;b=k(b);for(var c=b.next();!c.done;c=b.next())a.addIssueIds(c.value);return this.executor.post({url:"action/issues/digest",body:a,responseConstructor:L8})};N8.prototype.split=function(a,b){b=k(b.getIssueDigestsList());for(var c=b.next();!c.done;c=b.next())if(c=c.value,c.getIssueId()===a)return c;return(new DE).setIssueId(a)};N8.\u0275fac=function(a){return new (a||N8)(w(BC))};N8.\u0275prov=nc({token:N8,factory:N8.\u0275fac,providedIn:"root"});var O8=function(a){r.call(this,a,0,O8.messageId)};V(O8,r);f=O8.prototype;f.getTitle=function(){return mh(this,1)};f.setTitle=function(a){return n(this,1,a)};f.getComponentId=function(){return lh(this,2)};f.setComponentId=function(a){return n(this,2,a)};f.hasComponentId=function(){return kh(this,2)};f.toObject=function(){if(null!=this){t(this);var a={title:p(m(this,1)),componentId:p(m(this,2)),isRecursive:p(Db(this,3))}}else a=void 0;return a};f.serializeBinary=u([O8,1,Cq,2,mq,3,zq]);
O8.messageId="b.MomaIssueSearchRequest";var P8=function(a){r.call(this,a,0,P8.messageId)};V(P8,r);P8.prototype.getIssueId=function(a){return Yp(this,1,a)};P8.prototype.setIssueId=function(a){return $p(this,1,a)};P8.repeatedFields_=[1];P8.prototype.toObject=function(){if(null!=this){t(this);var a={issueIdList:p(Bg(this,1))}}else a=void 0;return a};P8.prototype.serializeBinary=u([P8,1,oq]);P8.messageId="b.MomaIssueSearchResponse";var Q8=function(a){this.executor=a},rjd=function(a,b){b=xi((new O8).setTitle(b.title).setComponentId(String(b.componentId)),3,!0);return a.executor.post({url:"action/issues/momasearch",body:b,responseConstructor:P8}).pipe(E(function(c){return Bg(c,1)}))};Q8.\u0275fac=function(a){return new (a||Q8)(w(BC))};Q8.\u0275prov=nc({token:Q8,factory:Q8.\u0275fac,providedIn:"root"});var R8=function(a,b,c,d,e){this.paths=a;this.relatedIssuesService=b;this.experimentSupport=c;this.momaSearchApi=d;this.issueDigests=e;this.enableDupSearchControl=this.experimentSupport.enableDupSearchControl;this.enableDupSearchA=this.experimentSupport.enableDupSearchA;this.enableDupSearchB=this.experimentSupport.enableDupSearchB;this.enableDupSearchC=this.experimentSupport.enableDupSearchC;this.enableDupSearchMoma=this.experimentSupport.enableDupSearchMoma},sjd=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)};R8.prototype.hasCustomFieldValue=function(a){return a.customField?0<a.customField.map(function(b){return new Og(b)}).filter(function(b){return!b.isEmpty()}).length:!1};
R8.prototype.searchAsync=function(a,b,c){var d=this;return(0,F.defer)(function(){return d.relatedIssuesService.get({query:a,nonParallelRequest:!0,sort:"modified_time:desc",count:b,page:null!=c?c:1}).then(function(e){var g,h;return{issues:(null!=(g=e.issueDigests)?g:[]).map(function(l){return{id:l.issueId,title:l.title,href:d.paths.editIssue(l.issueId)}}),numTotalResults:null!=(h=e.numTotalResults)?h:0,viewAllHref:d.paths.listIssues({q:a,s:"modified_time:desc"})}}).catch(function(){return{issues:[],
numTotalResults:0}})})};
R8.prototype.fetchIssues=function(a){if(this.enableDupSearchMoma&&a.issue.title)return tjd(this,a.issue.title,a.componentId);if(this.enableDupSearchControl||this.enableDupSearchA||this.enableDupSearchB||this.enableDupSearchC){var b=a.componentId;var c=a.customFieldMap,d=a.issue;if(sjd(this,c,d)){var e=Gsb(d.title||"");e=0<e.length?"title:("+e.join(" ")+")":"";var g=bh(d.componentId);e=(g?"componentid:"+g:"")+(e?" "+e:"");if(this.enableDupSearchControl)b=e;else if(g=Gsb(bh(d.comment)||""),g=0<g.length?
"comment:("+g.join(" ")+")":"",e+=g?" "+g:"",this.enableDupSearchA)b=e;else{g=bh(d.type);var h=bh(d.priority);e=e+(" "+(h?"priority:"+h:""))+(" "+(g?"type:"+g:""));this.enableDupSearchB?b=e:(g=bh(d.hotlistId),g=!g||1>(null==g?void 0:g.length)?"":"hotlistid:("+(g.join(" | ")+")"),e=e+(" "+g)+(" "+ujd(this,c,bh(d.customField))),b=this.enableDupSearchC?e:vjd(b))}}else b=vjd(b);return this.searchAsync(b,a.count,a.page)}return this.searchAsync(vjd(a.componentId),a.count,a.page)};
var vjd=function(a){return"componentid:"+a+" status:open"},ujd=function(a,b,c){return!c||1>(null==c?void 0:c.length)?"":c.map(function(d){return new Og(d)}).filter(function(d){return!d.isEmpty()}).map(function(d){return wjd(a,b,d)}).join(" ")},wjd=function(a,b,c){if(c.isEmpty())return"";var d="customfield"+c.customFieldId+":";switch(a.getCustomFieldType(b,c)){case "TEXT":var e='"'+c.textValue+'"';break;case "DATE":e=xjd(c.dateValue);break;case "ENUM":e='"'+c.enumValue+'"';break;case "NUMERIC":e=""+
c.numericValue;break;case "REPEATED_TEXT":e='("'+c.repeatedTextValue.values.join('" | "')+'")';break;case "REPEATED_DATE":e="("+c.repeatedDateValue.values.map(function(g){return xjd(g)}).join(" | ")+")";break;case "REPEATED_ENUM":e='("'+c.repeatedEnumValue.values.join('" | "')+'")';break;case "REPEATED_NUMERIC":e="("+c.repeatedNumericValue.values.join(" | ")+")"}return e?d+e:""},xjd=function(a){return a?a.year+"-"+("0"+a.month).slice(-2)+"-"+("0"+a.day).slice(-2):""};
R8.prototype.getCustomFieldType=function(a,b){var c,d;return null!=(d=null==(c=a[b.customFieldId])?void 0:c.type)?d:""};var tjd=function(a,b,c){return rjd(a.momaSearchApi,{title:b,componentId:c}).pipe(pe(function(d){return a.issueDigests.getAll(new Set(d))}),E(function(d){d=d.map(function(e){return{id:e.issueId,title:e.title,href:a.paths.editIssue(e.issueId)}});return{issues:d,numTotalResults:d.length}}))};R8.\u0275fac=function(a){return new (a||R8)(w(OG),w(WO),w(J8),w(Q8),w(M8))};
R8.\u0275prov=nc({token:R8,factory:R8.\u0275fac,providedIn:"root"});var Fsb=RegExp("\\w+","g");var S8=function(a,b,c,d){kE.call(this);this.cdr=a;this.analytics=b;this.relatedIssueFetcher=c;this.experimentSupport=d;this.refreshMagicBox=!1;this.refreshMagicBoxChange=new tu;this.hideHeader=this.showInline=!1;this.issueTitle="";this.issue={};this.customFieldMap={};this.numIssues=5;this.headerChange=new tu;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 F.Subject;this.CATEGORIES=Yl};V(S8,kE);S8.\u0275dir=kE.\u0275dir;f=S8.prototype;f.ngOnInit=function(){var a=this;this.fetchIssues();this.currentIssueData$.pipe(de(750),fe(Fg),qe(this.destroyed$)).subscribe(function(){a.refresh()})};
f.ngOnChanges=function(a){if(!Object.values(a).some(function(c){return c.isFirstChange()})){var b=!1;a.componentId&&(this.showInline&&(this.showInline=!1),b=!0);a.showInline&&(b=!0);this.enableSimilarIssues&&a.issue&&(this.showSuggestedDupes=sjd(this.relatedIssueFetcher,this.customFieldMap,this.issue),this.headerChange.emit(this.getHeader()),this.currentIssueData$.next({title:this.issue.title,component:this.issue.componentId}));b&&this.refresh()}};
f.refresh=function(){this.isRefreshing=!0;this.page=1;this.magicBoxIssues=[];this.fetchIssues()};
f.fetchIssues=function(a){var b=this;a&&(this.page=a);this.componentId&&(this.isRefreshing=!0,this.relatedIssueFetcher.fetchIssues({issue:this.issue,customFieldMap:this.customFieldMap,count:this.numIssues,page:this.page,componentId:this.componentId}).pipe(qe(this.destroyed$)).subscribe(function(c){var d=c.issues;1===b.page&&(b.magicBoxIssues=[]);b.magicBoxIssues=b.enableSimilarIssues?[].concat(Jc(b.magicBoxIssues),Jc(d)):d;d=b.numIssues;b.numTotalResults=c.numTotalResults;b.numPages=Math.ceil(b.numTotalResults/
d);b.startIndex=0===b.numTotalResults?0:((null!=a?a:1)-1)*d+1;b.endIndex=Math.min(b.startIndex+d-1,b.numTotalResults);b.viewAllHref=c.viewAllHref;b.totalText=b.getTotalText(b.numTotalResults,null!=a?a:1,d,1===a);b.isInitiallyLoading=!1;b.isRefreshing=!1;b.cdr.detectChanges()}))};f.getHeader=function(){return this.showSuggestedDupes?"Similar Issues":"Recent Issues"};f.getTotalText=function(a,b,c,d){return a<=b*c?a.toString():d?"many":a.toString()};f.triggerSimilarIssuesSurvey=function(){this.experimentSupport.triggerSimilarIssuesSurvey().pipe(qe(this.destroyed$)).subscribe()};
f.trackTitleHoverOver=function(){this.experimentSupport.trackTitleHoverOver()};f.trackTitleClick=function(){this.experimentSupport.trackTitleClick()};f.getGroupName=function(){return this.experimentSupport.getGroupName()};S8.\u0275fac=function(a){return new (a||S8)(D(wH,2),D(AH),D(R8),D(J8))};
S8.\u0275cmp=zc({type:S8,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:[Xe([WO,wH]),xe,Mc],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&&(R(0,Isb,2,2,"div",0),R(1,Wsb,9,8,"ng-template",null,1,of));a&2&&G("ngIf",b.componentId)},dependencies:[qP,$M,SL,Ru,Su,Tu,yy,jz,PO,QJ,RJ,VJ,SJ],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}\n/*# sourceMappingURL=magic-box.css.map */"]});var yjd=["popOver"],Ysb=function(a){return{$implicit:a}},ftb=function(a){return{editingValue:a}},T8=function(a){this.val="";this.allowMultipleLines=!0;this.disabled=this.centerEditIcon=this.newlineWithEnterKey=!1;this.hasBackdrop=!0;this.fitPopoverToViewport=!1;this.valueChange=new tu;this.editorOpen=new tu;this.required=this.editing=this.headerFocused=!1;this.editingValue=new yv("",{nonNullable:!0});this.onChange=function(){};this.onTouched=function(){};if(""===a||"true"===a||"required"===a)this.required=
!0};V(T8,QY);f=T8.prototype;f.ngOnInit=function(){};f.valueChanged=function(){return this.editingValue.value!==this.value};f.startEditing=function(){this.disabled||(this.onTouched(),this.editing=!0,this.editingValue.setValue(this.value),this.popOver.open(),this.editorOpen.emit({isOpen:!0}))};f.stopEditing=function(a){this.editing=!1;0===a&&(this.onChange(this.editingValue.value),this.value=this.editingValue.value,this.valueChange.emit(this.value));this.editorOpen.emit({isOpen:!1,closeAction:a})};
f.writeValue=function(a){null!=a&&(this.val=a,this.editing||this.editingValue.setValue(a))};f.isActive=function(){return this.headerFocused||this.editing};f.registerOnChange=function(a){this.onChange=a};f.registerOnTouched=function(a){this.onTouched=a};f.setDisabledState=function(a){this.disabled=a};gg.Object.defineProperties(T8.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(a)}}});
T8.\u0275fac=function(a){return new (a||T8)($c("required"))};
T8.\u0275cmp=zc({type:T8,selectors:[["onedev-text-field"]],viewQuery:function(a,b){a&1&&jf(yjd,7);if(a&2){var c;hf(c=lf())&&(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:[Xe([{provide:iv,useExisting:tc(function(){return T8}),multi:!0},{provide:QY,useExisting:tc(function(){return T8}),multi:!0}]),xe],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),O("click",function(){return b.startEditing()})("focus",function(){return b.headerFocused=!0})("blur",function(){return b.headerFocused=!1}),H(2,"span"),R(3,Zsb,2,4,"ng-container",
2),R(4,$sb,1,1,"ng-template",null,3,of),J(),R(6,atb,2,2,"svg",4),J(),H(7,"onedev-pop-over-edit-panel",5,6),O("closedWithAction",function(g){return b.stopEditing(g)}),J(),R(9,htb,2,2,"ng-template",null,7,of));if(a&2){var c=Se(1),d=Se(5),e=Se(10);Ae("aria-labelledby",b.labelledById);C(3);G("ngIf",b.valueTemplate)("ngIfElse",d);C(3);G("ngIf",!b.disabled);C(1);G("anchor",c)("editorTemplate",e)("newlineWithEnterKey",b.newlineWithEnterKey)("hasBackdrop",b.hasBackdrop)("fitToViewport",b.fitPopoverToViewport)}},
dependencies:[Tu,Yu,Af,tv,Sy,v7,Fv],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 zjd=Of("indicatorRotate",[Rf("collapsed, void",Qf({transform:"rotate(0deg)"})),Rf("expanded",Qf({transform:"rotate(180deg)"})),Sf("expanded <=> collapsed, void => collapsed",Pf("225ms cubic-bezier(0.4,0.0,0.2,1)"))]),Ajd=Of("bodyExpansion",[Rf("collapsed, void",Qf({height:"0px",visibility:"hidden"})),Rf("expanded",Qf({height:"*",visibility:"visible"})),Sf("expanded <=> collapsed, void => collapsed",Pf("225ms cubic-bezier(0.4,0.0,0.2,1)"))]);var Bjd=new Hc("CdkAccordion");var Cjd=0,U8=function(a,b,c){var d=this;this.accordion=a;this._changeDetectorRef=b;this._expansionDispatcher=c;this._openCloseAllSubscription=F.Subscription.EMPTY;this.closed=new tu;this.opened=new tu;this.destroyed=new tu;this.expandedChange=new tu;this.id="cdk-accordion-child-"+Cjd++;this._disabled=this._expanded=!1;this._removeUniqueSelectionListener=function(){};this._removeUniqueSelectionListener=c.listen(function(e,g){d.accordion&&!d.accordion.multi&&d.accordion.id===g&&d.id!==e&&(d.expanded=
!1)});this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())};f=U8.prototype;f.ngOnDestroy=function(){this.opened.complete();this.closed.complete();this.destroyed.emit();this.destroyed.complete();this._removeUniqueSelectionListener();this._openCloseAllSubscription.unsubscribe()};f.toggle=function(){this.disabled||(this.expanded=!this.expanded)};f.close=function(){this.disabled||(this.expanded=!1)};f.open=function(){this.disabled||(this.expanded=!0)};
f._subscribeToOpenCloseAllActions=function(){var a=this;return this.accordion._openCloseAllActions.subscribe(function(b){a.disabled||(a.expanded=b)})};
gg.Object.defineProperties(U8.prototype,{expanded:{configurable:!0,enumerable:!0,get:function(){return this._expanded},set:function(a){a=Ef(a);this._expanded!==a&&(this._expanded=a,this.expandedChange.emit(a),a?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}},disabled:{configurable:!0,enumerable:!0,get:function(){return this._disabled},set:function(a){this._disabled=Ef(a)}}});
U8.\u0275fac=function(a){return new (a||U8)(D(Bjd,12),D(Lu),D(zx))};U8.\u0275dir=Cc({type:U8,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[Xe([{provide:Bjd,useValue:void 0}])]});var V8=function(){};V8.\u0275fac=function(a){return new (a||V8)};V8.\u0275mod=Bc({type:V8});V8.\u0275inj=oc({});var Djd=new Hc("MAT_ACCORDION");var Ejd=new Hc("MAT_EXPANSION_PANEL");var Fjd=function(a,b){this._template=a;this._expansionPanel=b};Fjd.\u0275fac=function(a){return new (a||Fjd)(D(ef),D(Ejd,8))};Fjd.\u0275dir=Cc({type:Fjd,selectors:[["ng-template","matExpansionPanelContent",""]]});var Gjd=["body"],Hjd=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],Ijd=0,Jjd=new Hc("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),W8=function(a,b,c,d,e,g,h){U8.call(this,a,b,c);var l=this;this._viewContainerRef=d;this._animationMode=g;this._hideToggle=!1;this.afterExpand=new tu;this.afterCollapse=new tu;this._inputChanges=new F.Subject;this._headerId="mat-expansion-panel-header-"+Ijd++;this._bodyAnimationDone=new F.Subject;this.accordion=a;this._document=e;this._bodyAnimationDone.pipe(fe(function(q,
v){return q.fromState===v.fromState&&q.toState===v.toState})).subscribe(function(q){"void"!==q.fromState&&("expanded"===q.toState?l.afterExpand.emit():"collapsed"===q.toState&&l.afterCollapse.emit())});h&&(this.hideToggle=h.hideToggle)};V(W8,U8);W8.\u0275dir=U8.\u0275dir;f=W8.prototype;f._hasSpacing=function(){return this.accordion?this.expanded&&"default"===this.accordion.displayMode:!1};f._getExpandedState=function(){return this.expanded?"expanded":"collapsed"};
f.toggle=function(){this.expanded=!this.expanded};f.close=function(){this.expanded=!1};f.open=function(){this.expanded=!0};f.ngAfterContentInit=function(){var a=this;this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe(oe(null),Zd(function(){return a.expanded&&!a._portal}),ge()).subscribe(function(){a._portal=new dw(a._lazyContent._template,a._viewContainerRef)})};f.ngOnChanges=function(a){this._inputChanges.next(a)};
f.ngOnDestroy=function(){U8.prototype.ngOnDestroy.call(this);this._bodyAnimationDone.complete();this._inputChanges.complete()};f._containsFocus=function(){if(this._body){var a=this._document.activeElement,b=this._body.nativeElement;return a===b||b.contains(a)}return!1};
gg.Object.defineProperties(W8.prototype,{hideToggle:{configurable:!0,enumerable:!0,get:function(){return this._hideToggle||this.accordion&&this.accordion.hideToggle},set:function(a){this._hideToggle=Ef(a)}},togglePosition:{configurable:!0,enumerable:!0,get:function(){return this._togglePosition||this.accordion&&this.accordion.togglePosition},set:function(a){this._togglePosition=a}}});W8.\u0275fac=function(a){return new (a||W8)(D(Djd,12),D(Lu),D(zx),D(ff),D(eg),D(Tt,8),D(Jjd,8))};
W8.\u0275cmp=zc({type:W8,selectors:[["mat-expansion-panel"]],contentQueries:function(a,b,c){a&1&&kf(c,Fjd,5);if(a&2){var d;hf(d=lf())&&(b._lazyContent=d.first)}},viewQuery:function(a,b){a&1&&jf(Gjd,5);if(a&2){var c;hf(c=lf())&&(b._body=c.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(a,b){a&2&&Ie("mat-expanded",b.expanded)("_mat-animation-noopable","NoopAnimations"===b._animationMode)("mat-expansion-panel-spacing",b._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",
hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[Xe([{provide:Djd,useValue:void 0},{provide:Ejd,useExisting:W8}]),xe,Mc],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&&(Ne(Hjd),Oe(0),H(1,"div",0,1),O("@bodyExpansion.done",function(c){return b._bodyAnimationDone.next(c)}),H(3,"div",2),Oe(4,1),R(5,itb,0,0,"ng-template",3),J(),Oe(6,2),J());a&2&&(C(1),G("@bodyExpansion",b._getExpandedState())("id",b.id),Ae("aria-labelledby",b._headerId),C(4),G("cdkPortalOutlet",b._portal))},dependencies:[hw],styles:['.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;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}.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:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.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}.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}.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:[Ajd]},changeDetection:0});var Kjd=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],Ljd=kg(function(){}),X8=function(a,b,c,d,e,g,h){var l=Ljd.call(this)||this;l.panel=a;l._element=b;l._focusMonitor=c;l._changeDetectorRef=d;l._animationMode=g;l._parentChangeSubscription=F.Subscription.EMPTY;var q=a.accordion?a.accordion._stateChanges.pipe(Zd(function(v){return!(!v.hideToggle&&!v.togglePosition)})):F.EMPTY;l.tabIndex=parseInt(h||"")||0;l._parentChangeSubscription=(0,F.merge)(a.opened,a.closed,q,a._inputChanges.pipe(Zd(function(v){return!!(v.hideToggle||
v.disabled||v.togglePosition)}))).subscribe(function(){return l._changeDetectorRef.markForCheck()});a.closed.pipe(Zd(function(){return a._containsFocus()})).subscribe(function(){return $v(c,b,"program")});e&&(l.expandedHeight=e.expandedHeight,l.collapsedHeight=e.collapsedHeight);return l};V(X8,Ljd);f=X8.prototype;f._toggle=function(){this.disabled||this.panel.toggle()};f._isExpanded=function(){return this.panel.expanded};f._getExpandedState=function(){return this.panel._getExpandedState()};
f._getPanelId=function(){return this.panel.id};f._getTogglePosition=function(){return this.panel.togglePosition};f._showToggle=function(){return!this.panel.hideToggle&&!this.panel.disabled};f._getHeaderHeight=function(){var a=this.panel.expanded;return a&&this.expandedHeight?this.expandedHeight:!a&&this.collapsedHeight?this.collapsedHeight:null};f._keydown=function(a){switch(a.keyCode){case 32:case 13:If(a)||(a.preventDefault(),this._toggle());break;default:this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(a)}};
f.focus=function(a,b){a?$v(this._focusMonitor,this._element,a,b):this._element.nativeElement.focus(b)};f.ngAfterViewInit=function(){var a=this;this._focusMonitor.monitor(this._element).subscribe(function(b){b&&a.panel.accordion&&a.panel.accordion._handleHeaderFocus(a)})};f.ngOnDestroy=function(){this._parentChangeSubscription.unsubscribe();this._focusMonitor.stopMonitoring(this._element)};gg.Object.defineProperties(X8.prototype,{disabled:{configurable:!0,enumerable:!0,get:function(){return this.panel.disabled}}});
X8.\u0275fac=function(a){return new (a||X8)(D(W8,1),D(fd),D(Zv),D(Lu),D(Jjd,8),D(Tt,8),$c("tabindex"))};
X8.\u0275cmp=zc({type:X8,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(a,b){a&1&&O("click",function(){return b._toggle()})("keydown",function(c){return b._keydown(c)});a&2&&(Ae("id",b.panel._headerId)("tabindex",b.tabIndex)("aria-controls",b.panel.id)("aria-expanded",b.panel.expanded)("aria-disabled",b.panel.disabled),He("height",b._getHeaderHeight()),Ie("mat-expanded",b.panel.expanded)("mat-expansion-toggle-indicator-after",
"after"===b.panel.togglePosition)("mat-expansion-toggle-indicator-before","before"===b.panel.togglePosition)("_mat-animation-noopable","NoopAnimations"===b._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[xe],ngContentSelectors:["mat-panel-title","mat-panel-description","*"],decls:5,vars:3,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(a,b){a&1&&(Ne(Kjd),
H(0,"span",0),Oe(1),Oe(2,1),Oe(3,2),J(),R(4,jtb,1,1,"span",1));a&2&&(Ie("mat-content-hide-toggle",!b._showToggle()),C(4),G("ngIf",b._showToggle()))},dependencies:[Tu],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)}.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:not([aria-disabled=true]){cursor:pointer}.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,.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-description{flex-grow:2}.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}.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:[zjd]},changeDetection:0});var Y8=function(){};Y8.\u0275fac=function(a){return new (a||Y8)};Y8.\u0275dir=Cc({type:Y8,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]});var Z8=function(){};Z8.\u0275fac=function(a){return new (a||Z8)};Z8.\u0275mod=Bc({type:Z8});Z8.\u0275inj=oc({imports:[gv,Sx,V8,iw]});var Mjd=["descriptionConfirmDialog"],ltb=function(a,b){return{partner:a,"public":b}},hub=function(a){return{required:a}},oub=function(a){return{"bv2-upload-ongoing":a}},Njd=function(a){return{submitted:a}},$8=function(a,b,c,d,e,g,h,l,q,v,y,B,I,N,Q,Z,Y,ka,la,Da,za,Oa,Va,Ya,Xb,Bb,db,wa,Na,Qa,nb,ib,hd,pb,Ib,hb){kE.call(this);var Pb=this;this.ngZone=a;this.$log=b;this.reloadService=c;this.paths=d;this.redirectUrl=e;this.userAccess=g;this.accessPolicy=h;this.bLocation=l;this.appHistory=q;this.issueTemplate=
v;this.issueTypeDialog=y;this.componentActions=B;this.activeSession=I;this.draftStore=N;this.pageTitle=Q;this.analytics=Z;this.issueApi=Y;this.userApi=ka;this.hotlistApi=la;this.butterBar=Da;this.errorHandler=za;this.matDialogService=Oa;this.appEvents=Va;this.userPreferencesManager=Bb;this.cdr=Na;this.confirmationDialogService=Qa;this.issueRelationshipsFridge=nb;this.issueFridge=ib;this.componentFridge=hd;this.clearcut=pb;this.currentTracker=Ib;this.jspbPrincipalTypes=hb;this.ISSUE_ID_LIST_PATTERN=
/^[\s\d,]*$/;this.ISSUE_ID_LIST_DELIMITER=/[\s,]+/;this.userEmail=this.activeSession.getUserEmail();this.sessionIsExternal=this.activeSession.isExternalSession();this.enableRecaptcha=iE(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.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=ck;this.toIssueSeverity=Ewa;this.FieldType=ATc;this.initialized=!1;this.trackerComponent$=this.currentTracker.tracker$.pipe(pe(function(sb){return sb?
Pb.componentFridge.watch(Number(sb.componentId)).pipe(oe(void 0)):(0,F.of)(void 0)}));this.getSingleEditFieldType=Q6a;this.getListFieldType=J7a;this.fetchUserHotlists();this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(function(){Pb.fetchUserHotlists()}));this.subscriptions.add(this.appEvents.hotlistCreated.subscribe(function(){Pb.fetchUserHotlists()}));this.subscriptions.add(this.appEvents.bookmarkGroupModified.subscribe(function(){Pb.fetchUserHotlists()}));this.enableCreateIssueWithTemplate=
iE(I,"enableCreateIssueWithTemplate");this.enableIssueAccessLimits=iE(this.activeSession,"enableIssueAccessLimits");this.frontendIsInternalOrPartner=I.isInternalSession()||Hhc(I);this.priorityChoices=wa.priorities.map(function(sb){return{value:sb,displayText:sb}});this.severityChoices=wa.severities.map(function(sb){return{value:sb,displayText:sb}});this.issueTypeChoices=wa.editIssueTypes.map(function(sb){return{value:sb,displayText:Gwa(sb),altText:wa.issueTypesShortDescriptions.get(sb)}});this.urlTemplate=
new D_c(Ya,b);this.piiWarningMessage=I.isInternalSession()?"Please be sure you don't include sensitive information/data (PII, SPII, and other sensitive user data) in unrestricted issues (either in text or through attachments). If you do need to include sensitive information, please be sure to link to a secure doc (e.g. a drive file with proper sharing settings) and share only with those that have a business need for access. Please see http://go/buganizerpuppy.":void 0;this.descriptionBoxId="bv2-description";
this.componentRequestedInUrl=Ya.component;this.templateIssueRequestedInUrl=Ya.template_issue;Ya.template&&(a=Number(Ya.template))&&(this.preferredTemplateId=a);if(a=Ya.parentIssueId)this.parentIssueIds=Array.isArray(a)?a:[a];if(a=Ya.childrenIssueIds)this.childrenIssueIds=Array.isArray(a)?a:[a];if(a=Ya.afterIssueId)this.afterIssueId=Array.isArray(a)?a[0]:a;this.issue=Gg(vub);sub(this.issue,this);this.audience="EXTERNAL_AUDIENCE";Ya.description?this.comment=new oJ(Ya.description,!0):(a=this.draftStore.$window.sessionStorage.getItem(tl("0"))||
"",this.comment=new oJ(a));this.comment.formattingMode=Ojd(this);a=Pjd(Ya);this.isFormatInRoute=null!=a;a&&(this.comment.formattingMode=a);this.selectedComponentProcessedPromise=Promise.resolve(void 0);this.subscriptions.add(Bb.preferences$.subscribe(function(sb){var Yb;Pb.useCodefont=null!=(Yb=sb.useCodefont)?Yb:Pb.useCodefont}));this.hasAdvancedFieldsInUrlTemplate=F_c(this.urlTemplate)||!!this.parentIssueIds||!!this.childrenIssueIds;this.subscriptions.add(cM(Xb,{title:"Create Issue Page",hotkeys:[{keys:["h"],
displayAs:"h",description:"Edit hotlists",onPress:function(){var sb;null==(sb=Pb.hotlistPicker)||sb.open()}},{keys:["u"],displayAs:"u",description:"Back to previous page",onPress:function(){Pb.back()}}]}));this.componentRequestedInUrl?(this.newIssueStarted=!0,Qjd(this,Number(this.componentRequestedInUrl))):(K_c(this.urlTemplate,this.issue),this.updateSelectedHotlists());this.templateIssueRequestedInUrl&&(this.newIssueStarted=!0,Rjd(this));this.originalIssueCopy=Gg(this.issue);Ya.description&&(this.originalIssueCopy.comment=
this.comment.value,this.issue.comment=this.comment.value);this.isFormatInRoute&&(this.issue.formattingMode=this.comment.formattingMode,this.originalIssueCopy.formattingMode=this.issue.formattingMode);this.pageTitle.setTitle("New issue");this.createRestrictedResourcesComponentWhitelist=I.getCreateRestrictedSubresourcesComponentWhitelist();this.subscriptions.add(tP(db,function(){return Pb.hasUnsavedChanges()},!1))};V($8,kE);$8.\u0275dir=kE.\u0275dir;
$8.prototype.isCaptchaValid=function(){return!this.enableRecaptcha||""!==this.recaptchaResponse};var pub=function(a){return a.isSaving||a.isNavigatingAway||!a.canCreateNewIssuesInComponent||!a.isCaptchaValid()||!1};$8.prototype.ngOnDestroy=function(){kE.prototype.ngOnDestroy.call(this);Sjd(this)};
$8.prototype.ngOnInit=function(){var a=this;this.initialized=!0;this.subscriptions.add(this.trackerComponent$.subscribe(function(b){b&&(a.selectedComponent||a.componentRequestedInUrl||a.templateIssueRequestedInUrl||a.preferredTemplateId||a.selectComponent(b))}))};$8.prototype.unloadPageHandler=function(){Sjd(this)};var a9=function(a){a.initialized&&a.ngZone.run(function(){a.cdr.detectChanges()})};$8.prototype.back=function(){W1(this.appHistory)};
$8.prototype.onAccessLimitLevelSelected=function(a){this.selectedAccessLimitLevel=a};
$8.prototype.selectComponent=function(a){this.selectedComponent=a;this.enableIssueAccessLimits=iE(this.activeSession,"enableIssueAccessLimits");this.selectedComponent?(this.enableIssueAccessLimits||(this.enableIssueAccessLimits=this.activeSession.getIssueAccessLimitsComponentAllowlist().has(this.selectedComponent.componentId)),this.issue=Object.assign({},this.issue,{componentId:this.selectedComponent.componentId}),this.originalIssueCopy.componentId=this.selectedComponent.componentId,Tjd(this),this.audience=
wn(this.selectedComponent)?"EXTERNAL_AUDIENCE":"INTERNAL_AUDIENCE",this.createRestrictedResourcesComponentWhitelist.includes(this.selectedComponent.componentId)?(this.judgementForNewContent=new nh,this.judgementForNewContent.setSeverity(2),this.judgementForNewContent.setJudgementReason("None Specified")):this.judgementForNewContent=void 0):(Vb(this.issue,"componentId"),this.audience="EXTERNAL_AUDIENCE");this.submitRequested=!1;Ujd(this);return this.selectedComponentProcessedPromise=Promise.all([Vjd(this),
Wjd(this)]).then(function(){})};
var Xjd=function(a){a.assigneeText=a.assigneeText?a.assigneeText:null;a.verifierText=a.verifierText?a.verifierText:null;a.reporterText=a.reporterText?a.reporterText:null},otb=function(a){return g9a(a.selectedComponent)?"External Google partners may be able to see this issue.":xn(a.selectedComponent)?"Public users may be able to see this issue.":""},Rjd=function(a){var b=Number(a.templateIssueRequestedInUrl);Number.isNaN(b)?XF(a.butterBar,"Invalid template_issue specified"):(a.availableExistingIssueTemplate=
new Yjd(b,"issue","Issue "+b,!1),a.selectedTemplate=a.availableExistingIssueTemplate)},Vjd=function(a){a.availablePredefinedTemplates=[];a.selectedTemplate&&"predefined"===a.selectedTemplate.type&&(a.selectedTemplate=null);return a.selectedComponent?a.issueTemplate.templatesApi.query(a.selectedComponent.componentId).then(function(b){a.availablePredefinedTemplates=b.map(function(e){var g=e.name;nj(mj(g))&&(g=e.default?"(default template)":"(unnamed template)");return new Yjd(e.templateId,"predefined",
g,e.default)});if(a.preferredTemplateId&&!a.selectedTemplate){var c=a.preferredTemplateId;if(b=a.availablePredefinedTemplates.find(function(e){return e.id===c}))a.selectedTemplate=b,a.preferredTemplateId=null}if(!a.selectedTemplate){b=k(a.availablePredefinedTemplates);for(var d=b.next();!d.done;d=b.next())if(d=d.value,d.isDefault){a.selectedTemplate=d;break}}0<a.availablePredefinedTemplates.length&&!a.selectedTemplate&&(a.selectedTemplate=a.availablePredefinedTemplates[0]);a9(a)}).catch(function(){XF(a.butterBar,
"Unable to load templates for this component")}):Promise.resolve(void 0)},Wjd=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=JF(a.userAccess,"appender","components/"+b).then(function(g){a.canCreateNewIssuesInComponent=
g;a9(a)}),e=JF(a.userAccess,"writer",c).then(function(g){a.canEditIssuesInComponent=g;a9(a)});c=JF(a.userAccess,"reader",c).then(function(g){a.canViewIssuesInComponent=g;a9(a)});b=a.accessPolicy.checkComponentImplicitAccessEnabled(b).then(function(g){a.componentHasExpandedAccessEnabled=g;a9(a)});return Promise.all([d,e,c,b]).then(function(){Zjd(a);a9(a)}).catch(function(g){a.$log.warn(g)}).finally(function(){a.createAclLoading=!1})};
$8.prototype.getIssueTemplate=function(){var a=this;if(this.selectedTemplate){var b=function(c){var d=Object.assign(Gg(vub),c.snapshot);a.selectedComponent&&(d.componentId=a.selectedComponent.componentId);var e=Gg(d);Xjd(a);uub(a,a.issue);var g=Gg(a.issue);if(a.appliedTemplate)for(var h=k(Object.keys(a.appliedTemplate)),l=h.next();!l.done;l=h.next()){l=l.value;var q=a.appliedTemplate[l];if(Array.isArray(q)&&Array.isArray(g[l])){q=k(q);for(var v=q.next();!v.done;v=q.next())fsa(g[l],v.value)}else Fg(q,
g[l])&&delete g[l]}a.appliedTemplate=e;wub(d,g);g=e.comment||"";a.comment.value!==a.templateComment&&(kqc(a.comment)||""===g||a.comment.value===g||(a.templateComment=g,$jd(a,a.comment.value)),d.comment=a.comment.value,d.formattingMode=e.formattingMode);a.templateComment=g;var y;a.templateCommentFormattingMode=null!=(y=e.formattingMode)?y:void 0;a.templateTitle=e.title||"";d.reporterUser=Yg(a.userEmail);a.enableIssueAccessLimits&&(a.selectedAccessLimitLevel=d.issueAccessLimitLevel||"LIMIT_NONE");a.issue=
d;sub(a.issue,a);Zjd(a);Xjd(a);uub(a,a.issue);a.comment.value=a.issue.comment||"";a.issue.comment&&a.issue.formattingMode&&(a.comment.formattingMode=a.issue.formattingMode);K_c(a.urlTemplate,a.issue,a.customFieldMap);sub(a.issue,a);a.originalIssueCopy=Gg(a.issue);a.loadHotlists(a.issue.hotlistId).then(function(){a.updateSelectedHotlists();a.originalIssueCopy.hotlistId=Gg(a.issue.hotlistId);a9(a)});akd(a);return a.selectedComponent?null:c.snapshot.componentId};"predefined"===this.selectedTemplate.type&&
this.selectedComponent?this.issueTemplate.templatesApi.getIssueTemplate(this.selectedComponent.componentId,this.selectedTemplate.id).then(b).then(function(){a9(a)}):"issue"===this.selectedTemplate.type&&(tkc(this.issueTemplate,String(this.selectedTemplate.id)).then(function(c){if(a.currentTracker.inTracker&&a.currentTracker.getTrackerId()!==c.trackerId)throw Error("Ne");return b(c)}).then(function(c){c&&(Qjd(a,c),a9(a))}).catch(function(c){XF(a.butterBar,c.message)}),(0,F.firstValueFrom)(this.issueFridge.watch(String(this.selectedTemplate.id))).then(function(c){var d;
null!=(d=a.parentIssueIds)&&d.length||(a.parentIssueIds=null==c?void 0:c.parentIssueIds)}));this.selectedTemplate.id!==this.preferredTemplateId&&this.analytics.trackEvent(Yl.CREATE_ISSUE,"changeTemplate");Ujd(this)}};$8.prototype.isValid=function(){return!(0!==qtb(this).length||0!==rtb(this).length)&&!!(this.isBlockedByIssueIdValid&&this.isBlockingIssueIdValid&&this.isParentIssueIdsValid&&this.isCollaboratorsValid)&&!xtb(this.comment)&&!0};
var qtb=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})},rtb=function(a){return(a.issue.customField||[]).filter(function(b){return a.isCustomFieldRequired(b)&&(new Og(b)).isEmpty()}).map(function(b){return'custom field "'+a.getCustomFieldName(b)+'"'})},bkd=function(a){return 0===a.collaboratorsText.length?(a.isCollaboratorsValid=
!0,Promise.resolve(!0)):eqc(a.jspbPrincipalTypes,a.collaboratorsText,!1).then(function(b){a.invalidCollaboratorsInput=Object.entries(b).filter(function(c){c=k(c);c.next();c=c.next().value;return"USER"!==(null==c?void 0:c.principalType)}).map(function(c){return k(c).next().value});return 0===a.invalidCollaboratorsInput.length}).catch(function(b){XF(a.butterBar,b.message);return!1})},Xtb=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)},Ptb=function(a){return a.split(",").map(function(b){return b.trim()}).filter(Boolean)},ep=function(a){return a?a.join(", "):""},akd=function(a){if(xda(a.customFieldMap,function(c){return c.required||!1})||a.hasAdvancedFieldsInUrlTemplate){var b;null==(b=a.advancedFieldsZippy)||b.open()}};f=$8.prototype;f.getCustomFieldType=function(a){var b,c;return null!=(c=null==(b=this.customFieldMap[a.customFieldId])?void 0:b.type)?c:""};
f.getCustomFieldName=function(a){return(a=this.customFieldMap[a.customFieldId])?a.name:""};f.getCustomFieldAllowedValues=function(a){return(a=this.customFieldMap[a.customFieldId])&&a.allowedValue?a.allowedValue:null};f.getCustomFieldValue=function(a){return(new Og(a)).getValue()};f.getDateValue=function(a){return a};
f.setCustomFieldValue=function(a,b){var c=this.getCustomFieldType(a),d=this.issue.customField.map(function(e){if(e.customFieldId===a.customFieldId)switch(c){case "TEXT":e.textValue=b;break;case "DATE":e.dateValue=b;break;case "ENUM":e.enumValue=b;break;case "NUMERIC":e.numericValue=b;break;case "REPEATED_TEXT":e.repeatedTextValue={values:b};break;case "REPEATED_DATE":e.repeatedDateValue={values:b};break;case "REPEATED_ENUM":e.repeatedEnumValue={values:b};break;case "REPEATED_NUMERIC":e.repeatedNumericValue=
{values:b}}return e});this.analytics.trackEvent(Yl.CREATE_ISSUE,"changeCustomField",c);this.issue=Object.assign({},this.issue,{customField:d})};f.isCustomFieldRequired=function(a){return this.customFieldMap[a.customFieldId]?this.canEditIssuesInComponent&&!!this.customFieldMap[a.customFieldId].required:!1};f.getListFieldValues=function(a){var b,c;return null!=(c=null==(b=(new Og(a)).getValue())?void 0:b.values)?c:null};
f.saveCommentDraft=function(){var a=this.comment.value;a===this.templateComment&&(a="");this.draftStore.$window.sessionStorage.setItem(tl("0"),a);this.issue=Object.assign({},this.issue,{comment:a})};
f.handleHotlistPickerSave=function(a){var b=[];a=k(Object.entries(a.newSelectionMap));for(var c=a.next();!c.done;c=a.next()){var d=k(c.value);c=d.next().value;(d=d.next().value)&&b.push(Number(c))}this.issue=Object.assign({},this.issue,{hotlistId:b});this.updateSelectedHotlists();this.analytics.trackEvent(Yl.CREATE_ISSUE,"changeHotlists")};f.removeHotlist=function(a){var b;qa(null!=(b=this.issue.hotlistId)?b:null,a);this.updateSelectedHotlists()};
f.setTitle=function(a){this.issue=Object.assign({},this.issue,{title:a})};f.setPriority=function(a){this.issue=Object.assign({},this.issue,{priority:ck(a)});var b;this.analytics.trackEvent(Yl.CREATE_ISSUE,"changePriority",null!=(b=this.issue.priority)?b:void 0)};var Ktb=function(a,b){a.issue=Object.assign({},a.issue,{type:Dwa(b)});var c;a.analytics.trackEvent(Yl.CREATE_ISSUE,"changeType",null!=(c=a.issue.type)?c:void 0)};
$8.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)});Jaa(this.selectedHotlists,function(b,c){return Hn(b.name,c.name)})};
var ckd=function(a,b){var c,d,e,g,h,l,q,v,y,B,I;return Ld(function(N){switch(N.nextAddress){case 1:c=String(b.issueId);d=a.parentIssueIds;if(!d){N.jumpTo(2);break}e=[];return 1===d.length?N.yield(a.issueRelationshipsFridge.assignParentToIssues(d[0],[{issueId:c,afterIssueId:a.afterIssueId}]),6):N.yield(Dnc(a.issueRelationshipsFridge,c,d),5);case 5:h=N.yieldResult;e=h.notAdded;g=h.errors;N.jumpTo(4);break;case 6:l=N.yieldResult,e=l.notAdded,g=l.errors;case 4:e.length&&XF(a.butterBar,"Unable to add "+
e+" as parent(s). "+g);case 2:q=a.childrenIssueIds;if(null==(v=q)||!v.length){N.jumpTo(7);break}return N.yield(a.issueRelationshipsFridge.assignParentToIssues(c,q.map(function(Q){return{issueId:Q}})),8);case 8:y=N.yieldResult,B=y.notAdded,I=y.errors,B.length&&XF(a.butterBar,"Unable to add "+B+" as children. "+I);case 7:return N.return(b)}})},mub=function(a,b){var c,d,e,g,h,l,q,v;return Ld(function(y){switch(y.nextAddress){case 1:return c=a,y.yield(bkd(a),2);case 2:c.isCollaboratorsValid=y.yieldResult;
d=a.issue;a.submitRequested=!0;if(!a.isValid()){if(e=document.querySelector(".bv2-view"))e.scrollTop=0;return y.return()}a.enableIssueAccessLimits&&(d.issueAccessLimitLevel=a.selectedAccessLimitLevel,d.issueAccessLimitLevel&&"LIMIT_NONE"!==d.issueAccessLimitLevel&&a.analytics.trackEvent(Yl.ISSUE_ACCESS_LIMITS,"create","create_issue:"+d.issueAccessLimitLevel));d.comment=a.comment.value;d.formattingMode=a.comment.formattingMode;g={snapshot:d,attachments:a.comment.getAttachments()};a.enableRecaptcha&&
(g.recaptchaToken=a.recaptchaResponse);a.selectedTemplate&&"predefined"===a.selectedTemplate.type&&(g.templateId=a.selectedTemplate.id);a.judgementForNewContent&&1!==a.judgementForNewContent.getSeverity()&&(g.contentJudgement=Xsa(a.judgementForNewContent));a.canEditIssuesInComponent||(h={title:g.snapshot.title,componentId:g.snapshot.componentId,comment:g.snapshot.comment,formattingMode:g.snapshot.formattingMode,cc:!a.canViewIssuesInComponent&&!a.componentHasExpandedAccessEnabled||a.enableCreateIssueWithTemplate?
[]:[a.userEmail]},g.snapshot=h);g.snapshot=Ub(g.snapshot,function(B){return"string"!==typeof B||!nj(B)});g.snapshot.customField&&(g.snapshot.customField=g.snapshot.customField.filter(function(B){return!(new Og(B)).isEmpty()}));uub(a,g.snapshot);g.snapshot.assigneeUser&&(g.snapshot.status="ASSIGNED");l=function(){a.isSaving=!0;a.newIssueStarted=!1;WF(a.butterBar,"Creating...",0);a.issueApi.createIssue(g).then(function(B){return ckd(a,B)}).then(function(B){a.draftStore.$window.sessionStorage.removeItem(tl("0"));
a.originalIssueCopy=Gg(a.issue);a.analytics.trackEvent(Yl.CREATE_ISSUE,"create","MARKDOWN"===a.comment.formattingMode?"markdown":"non markdown");dkd(a);if(b){var I;a.analytics.trackEvent(Yl.CREATE_ISSUE,"fileAndRedirect","component",null!=(I=d.componentId)?I:void 0);a.butterBar.dismiss();a.isNavigatingAway=!0;a.isSaving=!1;JF(a.userAccess,"reader","issues/"+B.issueId).then(function(Z){a.componentPickerTouched=!1;Z?P_c(a.redirectUrl,a.paths.editIssue(B.issueId),String(B.issueId)):(WF(a.butterBar,"New issue created: "+
B.issueId+" (view access not granted)",0),P_c(a.redirectUrl,a.paths.listIssues()));a9(a)}).catch(function(Z){a.errorHandler.errorHandler(null,Z);a.isNavigatingAway=!1})}else{a.componentPickerTouched=!1;var N;a.analytics.trackEvent(Yl.CREATE_ISSUE,"fileAndNew","component",null!=(N=d.componentId)?N:void 0);I={};rkc(a.butterBar,Bl("New issue created: ",Al("A",(I.href=a.paths.editIssue(B.issueId),I),String(B.issueId))),0);d.title=a.templateTitle;a.comment=new oJ(a.templateComment);(d.comment=a.templateComment)&&
a.templateCommentFormattingMode&&(a.comment.formattingMode=a.templateCommentFormattingMode,d.formattingMode=a.templateCommentFormattingMode);a.isSaving=!1;a.submitRequested=!1;var Q;I=k(null!=(Q=a.magicBoxes)?Q:[]);for(Q=I.next();!Q.done;Q=I.next())Q.value.refresh();a.newIssueStarted=!0;a.originalIssueCopy=Gg(a.issue)}a9(a)}).catch(function(B){403===B.status&&Bk(B)?$F(a.errorHandler,Ck(B)):a.errorHandler.errorHandler(null,B);a.isSaving=!1;a.submitRequested=!1;a.newIssueStarted=!1})};return y.yield(ekd(a),
3);case 3:return(q=y.yieldResult)?y.yield(fkd(a),4):y.return();case 4:v=y.yieldResult;if(!v)return y.return();l();Qd(y)}})},ekd=function(a){var b=zk();!a.canEditIssuesInComponent&&!a.frontendIsInternalOrPartner&&a.selectedComponent&&a.selectedComponent.accessLimit&&"INTERNAL"!==a.selectedComponent.accessLimit.accessLevel?a.confirmationDialogService.open({title:"",content:Lt("Submitting this bug report means your email address will be shared with the team that works on this product."),onConfirm:function(){b.resolve(!0)},
onDismiss:function(){b.resolve(!1)}}):b.resolve(!0);return b.promise},fkd=function(a){var b=zk();!a.canEditIssuesInComponent||"VULNERABILITY"!==a.issue.type&&"PRIVACY_ISSUE"!==a.issue.type?b.resolve(!0):tpc(a.issueTypeDialog,a.issue.type,function(){b.resolve(!0)},function(){b.resolve(!1)});return b.promise},Qjd=function(a,b){a.isLoadingComponent=!0;a.componentActions.getUncached(b).then(function(c){if(a.currentTracker.inTracker&&a.currentTracker.getTrackerId()!==c.trackerId)throw Error("Oe");a.selectComponent(c);
a9(a)}).catch(function(){XF(a.butterBar,"Component ID "+b+" does not exist or you do not have access.")}).finally(function(){a.isLoadingComponent=!1})};$8.prototype.hasUnsavedChanges=function(){var a=xub(this.issue),b=xub(this.originalIssueCopy);return!Fg(a,b)||this.comment.value!==this.originalIssueCopy.comment};
var Gtb=function(a){a.showRecentIssuesInline=!a.showRecentIssuesInline;a.analytics.trackEvent(Yl.CREATE_ISSUE,"toggleRecentIssuesInline",a.showRecentIssuesInline.toString())},$jd=function(a,b){Gy(a.matDialogService.open(a.descriptionConfirmDialog,{data:b})).pipe(je()).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="")})},Ujd=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)))},mtb=function(a){return a.sessionIsExternal?!1:g9a(a.selectedComponent)},ntb=function(a){return Ihc(a.activeSession)?!1:xn(a.selectedComponent)},Tjd=function(a){if(a.selectedComponent&&a.selectedComponent.componentPathInfo&&a.selectedComponent.componentPathInfo.allCustomField){for(var b=a.selectedComponent.componentPathInfo.allCustomField,c={},d=k(b),e=d.next();!e.done;e=d.next())e=e.value,c[e.customFieldId]=e;a.customFieldMap=c;a.customFieldAllowedValuesMap=
yub(b);gkd(a)}},gkd=function(a){if(a.issue.customField){a.issue.customField=a.issue.customField.filter(function(e){return a.customFieldMap[e.customFieldId]&&a.customFieldMap[e.customFieldId].enabledOnIssues});for(var b=a.issue.customField.map(function(e){return e.customFieldId}),c=k(Object.values(a.customFieldMap)),d=c.next();!d.done;d=c.next())d=d.value,!b.includes(d.customFieldId)&&d.enabledOnIssues&&a.issue.customField.push(d.typedDefaultValue||new Og({customFieldId:d.customFieldId}));a.originalIssueCopy.customField=
a.issue.customField}},Zjd=function(a){if(a.canViewIssuesInComponent||a.componentHasExpandedAccessEnabled)void 0!==a.ccsText?a.ccsText.includes(a.userEmail)||(a.ccsText=[a.userEmail].concat(Jc(a.ccsText))):a.ccsText=[a.userEmail]};f=$8.prototype;f.fetchUserHotlists=function(){var a=this;this.userApi.getUserHotlists().then(function(b){b=k(b);for(var c=b.next();!c.done;c=b.next())a.addHotlist(c.value);a9(a)}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
f.addHotlist=function(a){var b=this.hotlistMap[a.hotlistId];b&&qa(this.hotlists,b);this.hotlistMap[a.hotlistId]=a;this.hotlists.push(a)};f.createHotlist=function(a){var b=this;this.analytics.trackEvent("baseIssue","createHotlist");WF(this.butterBar,"Creating hotlist "+a.name+"...",0);this.hotlistApi.createHotlist(a.name).then(function(c){WF(b.butterBar,"Hotlist "+a.name+" created successfully.");b.addHotlist(c);b.appEvents.hotlistCreated.next();a.successCallback(c);a9(b)}).catch(a.errorCallback)};
f.loadHotlist=function(a){var b=this,c=a.hotlistId;return this.hotlistMap[c]?Promise.resolve(this.hotlistMap[c]):this.hotlistApi.get(c).then(function(d){b.addHotlist(d);a.successCallback(d);a9(b);return d},function(){var d=b.hotlistMap[c];Vb(b.hotlistMap,c);qa(b.hotlists,d);a.errorCallback()})};f.loadHotlists=function(a){var b=this;a=a.map(function(c){return b.loadHotlist({hotlistId:c,successCallback:function(){},errorCallback:function(){}})});return Promise.all(a).then(function(){a9(b)})};
var Pjd=function(a){var b;switch((null==(b=a.format)?void 0:b.toLowerCase())||""){case "plain":return"PLAIN";case "markdown":return"MARKDOWN"}},Ojd=function(a){var b;return Sva(null==(b=UI(a.userPreferencesManager).textDisplayPreferences)?void 0:b.lastPublishMode)||"PLAIN"};
$8.prototype.showNewContentJudgementDialog=function(){var a=this,b,c,d=null!=(c=null==(b=this.judgementForNewContent)?void 0:b.getSeverity())?c:1;this.showContentJudgementDialog({severity:d,contentJudgement:this.judgementForNewContent,hasAclToCreate:!0}).pipe(qe(this.destroyed$)).subscribe(function(e){e&&(a.judgementForNewContent=e.contentJudgement)})};$8.prototype.showContentJudgementDialog=function(a){return Gy(this.matDialogService.open(RQ,{panelClass:"no-jitter",width:"500px",data:a}))};
var Sjd=function(a){a.componentPickerTouched&&(a.analytics.trackEvent(Yl.CREATE_ISSUE,"exit-after-component-picker-interaction","new-ui"),a.componentPickerTouched=!1);a.analytics.trackEvent(Yl.CREATE_ISSUE,"creation-abandon","new-ui")},dkd=function(a){var b=(new Date).getTime()-a.startTime.getTime();if(0<b){var c=Math.min(b,108E5);lnc("createIssue",c,"new-ui");a.analytics.trackEvent(Yl.CREATE_ISSUE,"createIssue","time-to-create-new-ui",c);pH(a.clearcut,b,"createIssue-fromNewIssuePage")}a.startTime=
new Date};gg.Object.defineProperties($8.prototype,{selectedTemplate:{configurable:!0,enumerable:!0,get:function(){return this.selectedTemplateInternal},set:function(a){var b=this;if(this.selectedTemplateInternal!==a){this.selectedTemplateInternal=a;var c;null==(c=this.selectedComponentProcessedPromise)||c.then(function(){b.getIssueTemplate()})}}}});
$8.\u0275fac=function(a){return new (a||$8)(D(te),D(YF),D(LX),D(OG),D(X1),D(IF),D(nG),D(NG),D(V1),D(bG),D(PI),D(mV),D(rp),D(MI),D(SW),D(AH),D(FE),D(hH),D(ZG),D(VF),D(ZF),D(Ly),D(cG),D(qJ),D(bM),D(TI),D(sP),D($I),D(wH,2),D(OI),D(PH),D(IH),D(xF),D(oH),D(LK),D(lJ))};
$8.\u0275cmp=zc({type:$8,selectors:[["b-create-issue-page"]],viewQuery:function(a,b){a&1&&(jf(K_,5),jf(C_,5),jf(Mjd,5),jf(W8,5),jf(S8,5));if(a&2){var c;hf(c=lf())&&(b.hotlistPicker=c.first);hf(c=lf())&&(b.commentBox=c.first);hf(c=lf())&&(b.descriptionConfirmDialog=c.first);hf(c=lf())&&(b.advancedFieldsZippy=c.first);hf(c=lf())&&(b.magicBoxes=c)}},hostBindings:function(a,b){a&1&&O("unload",function(){return b.unloadPageHandler()},!1,jd)},features:[Xe([wH]),xe],decls:30,vars:17,consts:[[1,"a11y-only"],
[1,"kd-appbar","bv2-create-issue-scroll-header"],[1,"kd-buttonbar","ltr"],["mat-icon-button","","matTooltip","Go back","aria-label","Go back",3,"click"],["svgIcon","arrow-backward","color","primary"],[3,"selectedHotlistIds","choices","onApply","onLoad","onCreate",4,"ngIf"],["cdkScrollable","",1,"bv2-view"],[1,"bv2-new-issue-main-content"],["novalidate","","name","createIssueForm",3,"ngClass"],["class","bv2-create-component-external-warning",3,"ngClass",4,"ngIf"],["class","bv2-validation-error-banner",
"role","alert",4,"ngIf"],["class","bv2-create-issue-hotlists",4,"ngIf"],[1,"bv2-create-issue-row"],[1,"bv2-create-field"],[1,"bv2-top-field-label"],["for","bv2-component",1,"required"],[1,"bv2-create-issue-component"],[3,"selectedComponent","shouldFocus","isRequired","selectedComponentChange","touched"],["class","bv2-create-field bv2-right-button",4,"ngIf"],["class","bv2-validation-error-banner",4,"ngIf"],[4,"ngIf"],[1,"bv2-new-issue-right-sidebar"],[3,"componentId","issueTitle","issue","customFieldMap",
"headerChange"],["descriptionConfirmDialog",""],[3,"selectedHotlistIds","choices","onApply","onLoad","onCreate"],[1,"bv2-create-component-external-warning",3,"ngClass"],[3,"name","size"],[3,"href"],["role","alert",1,"bv2-validation-error-banner"],["class","bv2-validation-error",4,"ngIf"],[1,"bv2-validation-error"],[1,"bv2-create-issue-hotlists"],["class","bv2-hotlist-chips",4,"ngFor","ngForOf"],[1,"bv2-hotlist-chips"],[3,"hotlist","removeHotlist"],[1,"bv2-create-field","bv2-right-button"],["for",
"bv2-template-chooser"],["mat-button","","color","primary","id","bv2-template-chooser","aria-label","Template","type","button",3,"matMenuTriggerFor"],["name","arrow-dropdown","size","small"],[3,"overlapTrigger"],["templateMenu","matMenu"],["mat-menu-item","",3,"click",4,"ngFor","ngForOf"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"],[1,"bv2-validation-error-banner"],["class","bv2-recent-issues-inline-container",4,"ngIf"],["for","bv2-title",1,"required"],[1,"bv2-create-issue-title"],
["type","text","name","title","aria-label","Issue Title","id","bv2-title","name","title","required","","aria-required","true","autocomplete","off",3,"ngModel","bFocus","ngModelChange"],["class","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","commentChange","onChange","onSubmit","onRestrict"],["additionalToolbarItems","",3,"initialValue","change"],["class","bv2-create-issue-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","onAction"],["format","fill","id","bv2-issue-create-start-button",
3,"disabled","onAction"],["format","hairline","id","bv2-issue-discard-button",3,"disabled","onAction"],[1,"bv2-recent-issues-inline-container"],[1,"bv2-recent-issues-toggle-container"],["tabindex","0",1,"bv2-recent-issues-toggle",3,"click","keydown.enter","keydown.space"],["class","bv2-recent-issues-inline",4,"ngIf"],[1,"bv2-recent-issues-inline"],[3,"componentId","hideHeader","showInline","issueTitle","issue","customFieldMap","headerChange"],["for","bv2-priority",1,"required"],["mat-button","","type",
"button","color","primary",3,"matMenuTriggerFor"],["priorityMenu","matMenu"],["mat-menu-item","","type","button",3,"click"],["mat-menu-item","","type","button",3,"click",4,"ngFor","ngForOf"],["for","bv2-type",1,"required"],["typeMenu","matMenu"],["mat-menu-item","","type","button",3,"title","click",4,"ngFor","ngForOf"],["mat-menu-item","","type","button",3,"title","click"],[1,"bv2-create-field","bv2-create-issue-assignee"],["for","bv2-assignee"],[1,"overflow-hidden"],["id","bv2-assignee","type","text",
"name","assignee","autocomplete","off",1,"bv2-create-issue-textfield",3,"ngModel","bContactAutocomplete","ngModelChange"],[1,"bv2-create-field","bv2-create-issue-collaborators"],["for","bv2-collaborators"],["matTooltip","Collaborators are people directly working on this issue. When expanded access is on, this field grants issue edit permissions","matTooltipPosition","above","svgIcon","help-outline","tabindex","0",1,"collaborators-tooltip-icon"],["id","bv2-collaborators","type","text","name","collaborators",
"autocomplete","off",1,"bv2-create-issue-textfield",3,"ngModel","bContactAutocomplete","ngModelChange"],[1,"bv2-create-field","bv2-create-issue-cc"],["for","bv2-cc"],["id","bv2-cc","type","text","name","cc","autocomplete","off",1,"bv2-create-issue-textfield",3,"ngModel","bContactAutocomplete","ngModelChange"],["for","bv2-access-limits","title","Set access level of this issue"],["id","bv2-access-limits",3,"disabled","implicitAccessEnabled","defaultAccessLimitLevel","updatedAccessLimitLevel"],[1,"mat-elevation-z0"],
[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"],["mat-dialog-title",""],[1,"bv2-create-issue-default-description"],["mat-button","",3,"mat-dialog-close"],["mat-button",
"","mat-dialog-close",""]],template:function(a,b){a&1&&(H(0,"h2",0),S(1,"Create issue"),J(),H(2,"div",1)(3,"div",2)(4,"button",3),O("click",function(){return b.back()}),K(5,"mat-icon",4),J(),H(6,"h2"),S(7,"Create Issue"),J(),R(8,ktb,1,2,"b-hotlist-picker",5),J()(),H(9,"div",6)(10,"div")(11,"div",7)(12,"form",8),R(13,ptb,6,8,"div",9),R(14,ytb,4,3,"div",10),R(15,Atb,2,1,"div",11),H(16,"div",12)(17,"div",13)(18,"div",14)(19,"label",15),S(20,"Component"),J()(),H(21,"div",16)(22,"b-team-component-picker",
17),O("selectedComponentChange",function(d){return b.selectComponent(null!==d&&void 0!==d?d:null)})("touched",function(){return b.componentPickerTouched=!0}),J()()(),R(23,Dtb,11,5,"div",18),J(),R(24,Etb,3,0,"div",19),R(25,qub,38,28,"div",20),J()(),H(26,"div",21)(27,"b-magic-box",22),O("headerChange",function(d){return b.magicBoxHeader=d}),J()()()(),R(28,rub,11,2,"ng-template",null,23,of));if(a&2){var c;C(8);G("ngIf",b.canEditIssuesInComponent);C(4);G("ngClass",Ze(15,Njd,b.submitRequested));C(1);G("ngIf",
mtb(b)||ntb(b));C(1);G("ngIf",b.submitRequested&&!b.isValid());C(1);G("ngIf",0<b.selectedHotlists.length);C(7);G("selectedComponent",b.selectedComponent)("shouldFocus",!b.componentRequestedInUrl&&!b.templateIssueRequestedInUrl)("isRequired",!0);C(1);G("ngIf",0<b.availablePredefinedTemplates.length||null!=b.availableExistingIssueTemplate);C(1);G("ngIf",!b.isLoadingComponent&&(null!=b.componentRequestedInUrl||null!=b.selectedComponent)&&!b.canCreateNewIssuesInComponent&&!b.createAclLoading&&b.selectedComponent);
C(1);G("ngIf",b.canCreateNewIssuesInComponent||b.createAclLoading||!b.selectedComponent);C(2);G("componentId",null!==(c=b.issue.componentId)&&void 0!==c?c:void 0)("issueTitle",b.issue.title)("issue",b.issue)("customFieldMap",b.customFieldMap)}},dependencies:[qP,C_,qO,$S,RY,w7,Vy,jV,Av,Af,tv,uv,Mv,Ov,zv,xv,vU,K_,$M,a0,LZ,S8,yy,My,Ny,Oy,Py,W8,X8,Y8,jz,xx,PA,NA,OA,eU,XA,T8,sV,Ru,Su,Tu,eT,b0,BJ],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}.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}\n/*# sourceMappingURL=create_issue_page.css.map */"]});
var vub={hotlistId:[],comment:"",severity:"S2",inProd:!1,customField:[]},Yjd=function(a,b,c,d){this.id=a;this.type=b;this.name=c;this.isDefault=d};var hkd=["form"],b9=function(a,b,c,d,e,g,h,l){this.bLocation=a;this.sloApi=b;this.errorHandler=c;this.paths=d;this.analytics=e;this.butterBar=g;this.appHistory=l;this.isSaving=this.elementPickerIsValid=!1;this.createSloForm=null;this.error="";this.sloUnderEdit={sloId:"0",parentId:"0",name:"",description:"",version:0,elements:[],effectiveElements:[],alertState:"OFF",isArchived:!1};h.setTitle("Create SLO")};f=b9.prototype;f.ngAfterViewInit=function(){};
f.save=function(){var a=this;if(!this.validate())return Promise.reject("Correct the errors in the form");WF(this.butterBar,"Saving SLO...",0);this.isSaving=!0;return this.sloApi.create(this.sloUnderEdit).then(function(b){WF(a.butterBar,"SLO "+b.name+" saved.",2E3);a.analytics.trackEvent("SLO","create");a.bLocation.replaceUrl(a.paths.editSlo(b.sloId))}).catch(function(b){a.errorHandler.errorHandler(null,b)}).finally(function(){a.isSaving=!1})};f.back=function(){W1(this.appHistory)};
f.revertChanges=function(){this.sloUnderEdit.name="";this.sloUnderEdit.description="";this.sloUnderEdit.elements=[]};f.updateCollection=function(a){this.sloUnderEdit.elements=a};f.validate=function(){if(this.createSloForm.invalid||!this.elementPickerIsValid)return this.error="Error: You must fill out all required fields and ensure the rules are valid.",!1;this.error="";return!0};b9.\u0275fac=function(a){return new (a||b9)(D(NG),D(TT),D(ZF),D(OG),D(AH),D(VF),D(SW),D(V1))};
b9.\u0275cmp=zc({type:b9,selectors:[["create-slo-page"]],viewQuery:function(a,b){a&1&&jf(hkd,5);if(a&2){var c;hf(c=lf())&&(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),O("onAction",function(){return b.back()}),K(3,"b-icon",3),J()()(),H(4,"div",4)(5,"h2",5)(6,"span",6),S(7,"Create a new SLO"),J()(),H(8,"div",7)(9,"form",8,9),K(11,"b-error-banner",10),H(12,"div",11)(13,"label",12),S(14,"Name"),J(),H(15,"input",13),O("ngModelChange",function(c){return b.sloUnderEdit.name=c}),J()(),H(16,"div",11)(17,"label",14),S(18,"Description"),J(),H(19,"textarea",15),O("ngModelChange",function(c){return b.sloUnderEdit.description=c}),S(20,"        "),J()(),H(21,
"div",11)(22,"slo-elements-picker",16),O("onCollectionUpdate",function(c){return b.updateCollection(c)})("onValidation",function(c){return b.elementPickerIsValid=c}),J()(),H(23,"p",17),S(24," Access controls may be defined once the slo is created. "),J(),H(25,"div",18)(26,"b-button",19),O("onAction",function(){return b.save()}),S(27," Save "),J(),H(28,"b-button",20),O("onAction",function(){return b.revertChanges()}),S(29," Revert changes "),J()()()()());a&2&&(C(9),Ie("show-errors",b.error),C(2),G("error",
b.error),C(1),Ie("bv2-edit-resource-readonly",b.isSaving),C(3),G("required",!0)("bFocus",!0)("ngModel",b.sloUnderEdit.name)("disabled",b.isSaving),C(1),Ie("bv2-edit-resource-readonly",b.isSaving),C(3),G("ngModel",b.sloUnderEdit.description)("disabled",b.isSaving),C(3),G("isDisabled",!1)("collection",b.sloUnderEdit.elements),C(4),G("disabled",b.isSaving||(null==b.createSloForm?null:b.createSloForm.pending)||(null==b.createSloForm?null:b.createSloForm.invalid)||!b.elementPickerIsValid),C(2),G("disabled",
!(""!==b.sloUnderEdit.name||""!==b.sloUnderEdit.description||0<b.sloUnderEdit.elements.length)))},dependencies:[qP,K0,jV,Av,Af,tv,uv,Mv,zv,xv,$M,J1],encapsulation:2});var c9=function(){this.nextPanelId=1};c9.\u0275fac=function(a){return new (a||c9)};c9.\u0275prov=nc({token:c9,factory:c9.\u0275fac,providedIn:"root"});var d9=function(a,b,c,d,e,g,h,l,q,v,y,B,I,N,Q,Z,Y,ka,la,Da,za){kE.call(this);this.cdr=a;this.paths=b;this.bLocation=c;this.$log=d;this.analytics=e;this.issueApi=g;this.userApi=h;this.bookmarkGroupsApi=l;this.hotlistApi=q;this.butterBar=v;this.pageTitle=y;this.dashboards=B;this.routeParams=I;this.appSearchState=Q;this.userAccess=Z;this.errorHandler=Y;this.statusMessages=ka;this.appEvents=la;this.hotlistFridge=Da;this.issueFridge=za;this.ANALYTICS_CATEGORY="dashboard";this.panels=[];this.hotlistChoices=
[];this.hotlistMap={};this.isStarred=!1;this.bookmarkGroup=null;this.isAdmin=!1;this.userEmail=N.getUserEmail();this.groupId=I.groupId||null};V(d9,kE);d9.\u0275dir=kE.\u0275dir;
d9.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){ikd(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){jkd(a,
b,function(c){return c+1})}));this.subscriptions.add(this.appEvents.dashboardPanels.moveUp.subscribe(function(b){jkd(a,b,function(c){return c-1})}));this.subscriptions.add(this.appEvents.dashboardPanels.moveToTop.subscribe(function(b){jkd(a,b,function(){return 0})}));this.subscriptions.add(this.appEvents.dashboardPanels.moveToBottom.subscribe(function(b){jkd(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 Dub=function(a,b){var c=b.selectedIssues;if(a=kkd(a,b.panelId))a.selectedIssues=null!=c?c:[]},Cub=function(a,b,c){b.focusedRowIndex=c;if(null!=c)for(a=k(a.panels),c=a.next();!c.done;c=a.next())c=c.value,c!==b&&(c.focusedRowIndex=null)},kkd=function(a,b){return a.panels.find(function(c){return c.panelId===b})},lkd=function(a,b){a=a.panels.findIndex(function(c){return c.panelId===b});return-1!==a?a:void 0};f=d9.prototype;
f.fetchUserHotlists=function(){var a=this;this.userApi.getUserHotlists().then(function(b){b=k(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;a.hotlistFridge.announce(c);var d=a.hotlistMap[c.hotlistId];Fg(d,c)||(d&&qa(a.hotlistChoices,d),a.hotlistChoices.push(c),a.hotlistMap[c.hotlistId]=c,a.cdr.detectChanges())}}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
f.createHotlist=function(a){var b=this,c=a.name,d=a.successCallback;a=a.errorCallback;this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"createHotlist");WF(this.butterBar,"Creating hotlist "+c+"...",0);this.hotlistApi.createHotlist(c).then(function(e){b.hotlistFridge.announce(e);WF(b.butterBar,"Hotlist "+c+" created successfully.");b.hotlistChoices.push(e);b.hotlistMap[e.hotlistId]=e;b.appEvents.hotlistCreated.next();d(e);b.cdr.detectChanges()}).catch(a)};
f.loadHotlist=function(a){var b=this,c=a.hotlistId,d=a.successCallback;a=a.errorCallback;WF(this.butterBar,"Loading hotlist "+c);this.hotlistMap[c]||this.hotlistApi.get(c).then(function(e){b.addHotlist(e);d(e);b.cdr.detectChanges()}).catch(a)};f.addHotlist=function(a){this.hotlistMap[a.hotlistId]||(this.hotlistMap[a.hotlistId]=a,this.hotlistChoices.push(a))};
f.loadHotlists=function(a){var b=this,c=new Map;a=k(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;Baa(d.hotlists);for(var e=k(d.hotlistId||[]),g=e.next();!g.done;g=e.next())g=g.value,this.hotlistMap[g]?d.hotlists.push(this.hotlistMap[g]):c.get(g)?c.get(g).push(d):c.set(g,[d])}a={};c=k(c);for(d=c.next();!d.done;a={$jscomp$loop$prop$issueRows$2376:a.$jscomp$loop$prop$issueRows$2376},d=c.next())e=k(d.value),d=e.next().value,e=e.next().value,a.$jscomp$loop$prop$issueRows$2376=e,this.hotlistApi.get(d).then(function(h){return function(l){b.hotlistFridge.announce(l);
for(var q=k(h.$jscomp$loop$prop$issueRows$2376),v=q.next();!v.done;v=q.next())v.value.hotlists.push(l);b.addHotlist(l);b.cdr.detectChanges()}}(a)).catch(function(h){403!==h.status&&b.errorHandler.errorHandler(null,h)})};
f.sendBulkEditRequest=function(a,b){var c=this;if(1===a.length&&1===a[0].actions.length&&"readState"===a[0].actions[0].fieldName){var d=!!a[0].actions[0].value;b=k(this.panels);for(var e=b.next();!e.done;e=b.next()){e=k(e.value.selectedIssues);for(var g=e.next();!g.done;g=e.next())g.value.isRead=d}this.cdr.detectChanges();WF(this.butterBar,"Marking "+a[0].issueIds.length+" issues  "+(d?"read":"unread")+"...",0);return KH(this.issueFridge,a[0].issueIds,{markRead:d}).then(function(l){WF(c.butterBar,
"Issues marked "+(d?"read":"unread")+".");for(var q=k(c.panels),v=q.next();!v.done;v=q.next()){v=k(v.value.selectedIssues);for(var y=v.next();!y.done;y=v.next()){var B=void 0;y.value.lastViewedTime=null!=(B=l)?B:null}}}).catch(function(l){for(var q=k(c.panels),v=q.next();!v.done;v=q.next()){v=k(v.value.selectedIssues);for(var y=v.next();!y.done;y=v.next())y=y.value,y.isRead=!!y.lastViewedTime&&y.lastViewedTime>=y.majorModifiedTime}c.errorHandler.errorHandler(null,l)}).finally(function(){c.cdr.detectChanges()})}e=
kCa(a).map(function(l){return l.fieldName});this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"bulkEdit",e.join(","));var h={bulkEditOps:a};WF(this.butterBar,"Saving changes...",0);return this.issueApi.issueBulkEdit(h,b).then(function(l){for(var q=k([].concat(Jc(c.searchPanels),Jc(c.hotlistPanels))),v=q.next();!v.done;v=q.next()){v=v.value;var y=l;if(v.searchResults){v.searchResults=v.searchResults.clone();for(var B=0,I=k(v.searchResults.issues),N=I.next();!N.done;N=I.next()){N=N.value;if(y.affectedIssues[N.issueId]){var Q=
y.affectedIssues[N.issueId];Q=r2a(Q,y.componentMap[Number(na(Q.snapshot).componentId)]);Q.selected=N.selected;v.searchResults.issues[B]=Q;v.resultsLoaded.emit([v.searchResults.issues[B]])}B++}}}l.errors&&l.errors.length?(q=rsa(l.errors,"issueId"),XF(c.butterBar,"Failed to update issue(s) "+q.join(", ")+"."),c.analytics.trackEvent(c.ANALYTICS_CATEGORY,"bulkEditError",""+l.errors.length)):(l=Zpc(c.statusMessages,h))?WF(c.butterBar,l):WF(c.butterBar,"Saved "+lCa(a).length+" issue(s).")}).catch(function(l){c.errorHandler.errorHandler(null,
l)})};f.loadBookmarkGroup=function(){var a=this;return this.bookmarkGroupsApi.get(this.groupId).then(function(b){JF(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 ikd=function(a,b){a.panels=(b.item||[]).map(function(c,d){return mkd(a,c,0===d?0:void 0)})};
d9.prototype.removePanel=function(a){var b=this,c=kkd(this,a);if(null!=c){WF(this.butterBar,"Saving changes...",0);a=Gg(this.bookmarkGroup);var d;a.item=(null!=(d=a.item)?d:[]).filter(function(e){return!nkd(b,c,e)});okd(this,a)}};
var jkd=function(a,b,c){b=lkd(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=Gg(a.bookmarkGroup);var e,g,h=null==(e=a.bookmarkGroup)?void 0:null==(g=e.item)?void 0:g.findIndex(function(l){return nkd(a,d,l)});void 0!==h&&(Maa(b.item,h,c),okd(a,b))}}},okd=function(a,b){a.bookmarkGroupsApi.update(b).then(function(c){a.bookmarkGroup=c;pkd(a,a.bookmarkGroup.item);WF(a.butterBar,"Bookmark group saved.",4E3);a.appEvents.bookmarkGroupModified.next({bookmarkGroupId:a.bookmarkGroup.bookmarkGroupId});
a.cdr.detectChanges()},function(c){a.errorHandler.errorHandler(null,c)})},nkd=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}},qkd=function(a,b){return a.panels.find(function(c){return nkd(a,c,b)})},mkd=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:[]}},pkd=function(a,b){a.panels=(null!=b?b:[]).map(function(c){var d;return null!=(d=qkd(a,c))?d:mkd(a,c)})};
d9.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,userLogin:this.userEmail}).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)})};
d9.prototype.editBookmarkGroup=function(){this.bLocation.url(this.paths.editBookmarkGroup(this.bookmarkGroup.bookmarkGroupId))};d9.\u0275fac=function(a){return new (a||d9)(D(wH),D(OG),D(NG),D(YF),D(AH),D(FE),D(hH),D(KX),D(ZG),D(VF),D(SW),D(c9),D(qJ),D(rp),D(dY),D(IF),D(ZF),D(cJ),D(cG),D(lH),D(IH))};
d9.\u0275cmp=zc({type:d9,selectors:[["dashboard-page"]],viewQuery:function(a,b){a&1&&(jf(n1,5),jf(l1,5));if(a&2){var c;hf(c=lf())&&(b.searchPanels=c);hf(c=lf())&&(b.hotlistPanels=c)}},features:[Xe([wH]),xe],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),S(1,"Dashboard"),J(),H(2,"div",1)(3,"div",2),S(4,"Bookmark groups dashboard"),J(),H(5,"b-dashboard-controls",3),O("onSave",function(c){return b.sendBulkEditRequest(c.bulkEditOps,c.recaptchaToken)})("onCreateHotlist",function(c){return b.createHotlist(c)})("onLoadHotlist",function(c){return b.loadHotlist(c)}),J()(),H(6,"div",4),R(7,Bub,8,3,"div",5),R(8,Gub,3,3,"div",6),J());a&2&&(C(5),G("hotlistChoices",b.hotlistChoices)("panels",b.panels),C(1),G("bFocus",!0),
C(1),G("ngIf",b.bookmarkGroup),C(1),G("ngForOf",b.panels))},dependencies:[Y_,yU,n1,l1,Su,Tu,Uu,Vu,jV,XA],encapsulation:2});var e9=function(){};e9.\u0275fac=function(a){return new (a||e9)};e9.\u0275mod=Bc({type:e9});e9.\u0275inj=oc({imports:[Z_,GU,o1,m1,MF,kV,zC]});var rkd=["editBookmarkGroupItemsContainer"],skd=["bookmarkGroupName"],fvb=function(a){return{"bv2-edit-resource-readonly":a}},hvb=function(a){return{displayText:"Admins",values:a}},gvb=function(a){return[a]},f9=function(a,b,c,d,e,g,h,l,q,v,y,B,I,N,Q,Z,Y,ka,la,Da){kE.call(this);var za=this;this.routeParams=a;this.location=b;this.butterBar=c;this.accessPolicyApi=d;this.userApi=e;this.bookmarkGroupsApi=g;this.hotlistApi=h;this.paths=l;this.appHistory=q;this.pageTitle=v;this.accessPolicyConverter=y;this.userAccess=
B;this.errorHandler=N;this.appEvents=Z;this.snackBar=Y;this.confirmationDialog=ka;this.cdr=la;this.documentationLinks=Da;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=Q.getUserEmail();this.accessPolicyUnderEdit=OR();this.flattenedAccessPolicy=OR();a=this.loadBookmarkGroup(this.routeParams.groupId);
b=this.loadUserAccess(this.routeParams.groupId);this.loadAccessPolicy(this.routeParams.groupId);tkd(this);ukd(this);Promise.all([a,b]).then(function(){var Oa;null==(Oa=za.bookmarkGroupNameInput)||Oa.nativeElement.focus()});this.subscriptions.add(tP(I,function(){return za.hasUnsavedChanges()},!1));I=function(){tkd(za)};this.subscriptions.add(this.appEvents.hotlistCreated.subscribe(I));this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(I));this.subscriptions.add(this.appEvents.savedSearchModified.subscribe(function(){ukd(za)}))};
V(f9,kE);f9.\u0275dir=kE.\u0275dir;f=f9.prototype;f.ngOnInit=function(){"access"===this.location.hash()&&(this.selectedTabIndex=1)};f.tabChange=function(a){this.selectedTabIndex=a;var b,c,d,e=null!=(d=null==(b=this.tabs)?void 0:null==(c=b.get(a))?void 0:c.nativeElement.id)?d:null;this.location.hash(e,!0)};f.back=function(){W1(this.appHistory)};f.isArchived=function(){return this.bookmarkGroup?this.bookmarkGroup.archived:!1};f.isSaving=function(){return this.isUpdating||this.isArchiving};
f.hasUnsavedChanges=function(){return this.hasUnsavedMetadataChanges()||this.hasUnsavedAccessPolicyChanges()};f.hasUnsavedMetadataChanges=function(){return!Fg(this.bookmarkGroup,this.bookmarkGroupUnderEdit)};f.hasUnsavedAccessPolicyChanges=function(){return!Fg(this.flattenedAccessPolicy,this.accessPolicyUnderEdit)};f.isEditDisabled=function(){return this.isSaving()||!this.isAdmin};
f.revertMetadataChanges=function(){this.bookmarkGroupUnderEdit=Gg(this.bookmarkGroup);this.error="";this.selectedHotlistIds=[vkd(this.bookmarkGroup.item.filter(function(a){return a.hasOwnProperty("hotlistId")}))];wkd(this)};f.revertAccessPolicyChanges=function(){this.accessPolicyUnderEdit=Gg(this.flattenedAccessPolicy);this.appEvents.contactChipsRevertChanges.next()};f.saveMetadata=function(){this.validate()&&this.doSaveMetadata()};
f.saveAccessPolicy=function(){var a=this;this.accessPolicyUnderEdit.admins.includes("USER:"+this.currentUserEmail)?this.doSaveAccessPolicy():this.openConfirmationDialog("Change bookmark group admins",yl("Are you sure you want to remove yourself from the admins?\n                  You may lose the permission to edit the access settings"),function(){a.doSaveAccessPolicy()})};
f.validate=function(){if(""===this.bookmarkGroupUnderEdit.name)return this.error="Error: You must fill out all required fields.",!1;this.error="";return!0};f.archive=function(){var a=this;this.openConfirmationDialog("Archive bookmark group",yl("Do you want to archive this bookmark group?"),function(){xkd(a,"archive")})};f.unarchive=function(){var a=this;this.openConfirmationDialog("Unarchive bookmark group",yl("Do you want to unarchive this bookmark group?"),function(){xkd(a,"unarchive")})};
f.doSaveMetadata=function(){var a=this,b=this.bookmarkGroupUnderEdit,c=this.bookmarkGroup.bookmarkGroupId;this.snackBar.open("Saving bookmark group ID "+c,"dismiss",{duration:0});this.isUpdating=!0;this.bookmarkGroupsApi.update(b).then(function(d){a.snackBar.open("Bookmark group ID "+c+" was saved as "+a.bookmarkGroupUnderEdit.name,"dismiss",{duration:2E3});ykd(a,d);a.appEvents.bookmarkGroupModified.next({bookmarkGroupId:c})}).catch(function(d){a.errorHandler.errorHandler(null,d)}).finally(function(){a.isUpdating=
!1})};
f.doSaveAccessPolicy=function(){var a=this;try{var b=QR(this.accessPolicyUnderEdit)}catch(c){b="An unknown problem occurred";c instanceof Error&&(b=c.message);XF(this.butterBar,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=PR(c);a.accessPolicyUnderEdit=Gg(a.flattenedAccessPolicy);
a.loadUserAccess(a.bookmarkGroup.bookmarkGroupId)},function(c){a.errorHandler.errorHandler(null,c)}).finally(function(){a.isUpdating=!1})};
var xkd=function(a,b){var c=Gg(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});ykd(a,d)}).catch(function(d){a.errorHandler.errorHandler(null,d)}).finally(function(){a.isArchiving=!1})};
f9.prototype.loadBookmarkGroup=function(a){var b=this;this.isLoading=!0;return this.bookmarkGroupsApi.get(a).then(function(c){ykd(b,c);b.selectedHotlistIds=[vkd(b.bookmarkGroup.item)];wkd(b);b.pageTitle.setTitle("Bookmark group: "+c.name);b.cdr.detectChanges()},function(c){b.errorHandler.errorHandler(null,c)}).finally(function(){b.isLoading=!1})};var ykd=function(a,b){a.bookmarkGroup=b;a.bookmarkGroup.item||(a.bookmarkGroup.item=[]);a.bookmarkGroupUnderEdit=Gg(a.bookmarkGroup)};
f9.prototype.loadAccessPolicy=function(a){var b=this;this.accessPolicyApi.get("BOOKMARK_GROUP",a).then(function(c){b.flattenedAccessPolicy=PR(c);b.accessPolicyUnderEdit=Gg(b.flattenedAccessPolicy);b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};f9.prototype.loadUserAccess=function(a){var b=this;return JF(this.userAccess,"admin","bookmarkGroups/"+a).then(function(c){b.isAdmin=c;b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};
var tkd=function(a){a.userApi.getUserHotlists().then(function(b){a.userHotlists=b;a.cdr.detectChanges()})},ukd=function(a){a.userSavedSearches=null;a.userApi.getUserSavedSearches().then(function(b){a.userSavedSearches=b;wkd(a);a.cdr.detectChanges()})},wkd=function(a){if(a.userSavedSearches&&null!=a.bookmarkGroupUnderEdit){var b=zkd(a.bookmarkGroupUnderEdit.item.filter(function(c){return c.hasOwnProperty("savedSearchId")}));a.savedSearchChoices=a.userSavedSearches.filter(function(c){return-1==b.indexOf(c.searchId)})}},
Kub=function(a,b){var c=Number(b);Daa(a.bookmarkGroupUnderEdit.item,function(e){return e.hotlistId===c});Akd(a,c);var d;null==(d=a.editBookmarkGroupItemsContainer)||d.nativeElement.focus()},Mub=function(a,b){Daa(a.bookmarkGroupUnderEdit.item,function(d){return d.savedSearchId===b});wkd(a);var c;null==(c=a.editBookmarkGroupItemsContainer)||c.nativeElement.focus()},Zub=function(a,b){switch(b.resourceType){case "SAVED_SEARCH":return a.paths.viewSavedSearch(b.savedSearchId);case "HOTLIST":return a.paths.viewHotlist(b.hotlistId);
default:og(b.resourceType)}},Uub=function(a,b){for(var c={},d=k(Object.entries(b.newSelectionMap)),e=d.next();!e.done;c={$jscomp$loop$prop$id$2379:c.$jscomp$loop$prop$id$2379},e=d.next()){var g=k(e.value);e=g.next().value;g=g.next().value;c.$jscomp$loop$prop$id$2379=Ig(e);g&&!b.oldSelectionMap[c.$jscomp$loop$prop$id$2379]?(Xub(a,c.$jscomp$loop$prop$id$2379),e=a.userHotlists.find(function(h){return function(l){return l.hotlistId===h.$jscomp$loop$prop$id$2379}}(c)),a.bookmarkGroupUnderEdit.item.push({hotlistId:e.hotlistId,
name:e.name,resourceType:"HOTLIST"})):b.oldSelectionMap[c.$jscomp$loop$prop$id$2379]&&!g&&(Akd(a,c.$jscomp$loop$prop$id$2379),Daa(a.bookmarkGroupUnderEdit.item,function(h){return function(l){return l.hotlistId===h.$jscomp$loop$prop$id$2379}}(c)))}},Xub=function(a,b){a.selectedHotlistIds[0].push(b);a.selectedHotlistIds=[a.selectedHotlistIds[0]]},Akd=function(a,b){qa(a.selectedHotlistIds[0],b);a.selectedHotlistIds=[a.selectedHotlistIds[0]]},Qub=function(a,b){-1===zkd(a.bookmarkGroupUnderEdit.item).indexOf(b.searchId)&&
a.bookmarkGroupUnderEdit.item.push({name:b.name,resourceType:"SAVED_SEARCH",savedSearchId:b.searchId});setTimeout(function(){wkd(a)})},zkd=function(a){return a?rsa(a,"savedSearchId"):[]},vkd=function(a){return a?rsa(a,"hotlistId"):[]},Vub=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)},
Wub=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)};f9.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:og(a.resourceType)}};
f9.prototype.openConfirmationDialog=function(a,b,c){this.confirmationDialog.open({title:a,content:b,onConfirm:function(){c()}})};f9.\u0275fac=function(a){return new (a||f9)(D(qJ),D(NG),D(VF),D(nG),D(hH),D(KX),D(ZG),D(OG),D(V1),D(SW),D(NR),D(IF),D(sP),D(ZF),D(rp),D(cG),D(TF),D(OI),D(wH,2),D(NI))};
f9.\u0275cmp=zc({type:f9,selectors:[["b-edit-bookmark-group"]],viewQuery:function(a,b){a&1&&(jf(rkd,5),jf(skd,5),jf(MM,5,fd));if(a&2){var c;hf(c=lf())&&(b.editBookmarkGroupItemsContainer=c.first);hf(c=lf())&&(b.bookmarkGroupNameInput=c.first);hf(c=lf())&&(b.tabs=c)}},features:[Xe([wH]),xe],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),O("click",function(){return b.back()}),K(4,"mat-icon",
4),J(),R(5,Hub,2,1,"button",5),R(6,Iub,2,1,"button",5),J()()(),H(7,"div",6),R(8,ivb,48,40,"ng-container",7),J());a&2&&(C(5),G("ngIf",b.isAdmin&&!b.isArchived()),C(1),G("ngIf",b.isAdmin&&b.isArchived()),C(2),G("ngIf",!b.isLoading&&b.bookmarkGroup.bookmarkGroupId))},dependencies:[Ru,Su,Tu,yy,jz,XA,NM,MM,K0,wU,K_,TX,Af,tv,Mv,zv,PA,NA,OA,MA,C0],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}\n/*# sourceMappingURL=edit_bookmark_group.css.map */"]});var Bkd=["savedSearchNameInput"],nvb=function(a){return{"bv2-edit-resource-readonly":a}},pvb=function(a){return{displayText:"Admins",values:a}},ovb=function(a){return[a]},g9=function(a,b,c,d,e,g,h,l,q,v,y,B,I,N,Q,Z,Y,ka){kE.call(this);var la=this;this.routeParams=a;this.location=b;this.accessPolicyApi=c;this.savedSearchApi=d;this.paths=e;this.appHistory=g;this.butterBar=h;this.pageTitle=l;this.documentationLinks=v;this.userAccess=B;this.errorHandler=I;this.snackBar=N;this.confirmationDialog=Q;this.cdr=
Z;this.accessPolicyConverter=Y;this.appEvents=ka;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=OR();this.flattenedAccessPolicy=OR();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 Da;null==(Da=la.savedSearchName)||Da.nativeElement.focus()});this.subscriptions.add(tP(y,function(){return la.hasUnsavedChanges()},!1))};V(g9,kE);g9.\u0275dir=kE.\u0275dir;f=g9.prototype;f.ngOnInit=function(){"access"===this.location.hash()&&(this.selectedTabIndex=1)};f.tabChange=function(a){this.selectedTabIndex=a;var b,c,d,e=null!=(d=null==(b=this.tabs)?void 0:null==(c=b.get(a))?void 0:c.nativeElement.id)?d:null;this.location.hash(e,!0)};
f.loadSavedSearch=function(a){var b=this;this.isLoading=!0;return this.savedSearchApi.get(a).then(function(c){b.savedSearch=c;b.savedSearchUnderEdit=Gg(b.savedSearch);b.pageTitle.setTitle("Saved search: "+c.name)}).catch(function(c){b.errorHandler.errorHandler(null,c)}).finally(function(){b.isLoading=!1;b.cdr.detectChanges()})};
f.loadAccessPolicy=function(a){var b=this;this.accessPolicyApi.get("SAVED_SEARCH",a).then(function(c){b.flattenedAccessPolicy=PR(c);b.accessPolicyUnderEdit=Gg(b.flattenedAccessPolicy);b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};f.loadUserAccess=function(a){var b=this;return JF(this.userAccess,"admin","savedSearches/"+a).then(function(c){b.isAdmin=c;b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};
f.isSaving=function(){return this.isUpdating||this.isDeleting};f.isEditDisabled=function(){return this.isSaving()||!this.isAdmin};f.back=function(){W1(this.appHistory)};f.revertMetadataChanges=function(){this.savedSearchUnderEdit=Gg(this.savedSearch);this.error=""};f.revertAccessPolicyChanges=function(){this.accessPolicyUnderEdit=Gg(this.flattenedAccessPolicy);this.appEvents.contactChipsRevertChanges.next()};f.hasUnsavedMetadataChanges=function(){return!Fg(this.savedSearch,this.savedSearchUnderEdit)};
f.hasUnsavedAccessPolicyChanges=function(){return!Fg(this.flattenedAccessPolicy,this.accessPolicyUnderEdit)};f.hasUnsavedChanges=function(){return this.hasUnsavedMetadataChanges()||this.hasUnsavedAccessPolicyChanges()};
f.saveMetadata=function(){var a=this;this.validate()&&(this.snackBar.open("Save saved search ID "+this.savedSearchUnderEdit.searchId,"dismiss",{duration:0}),this.isUpdating=!0,this.savedSearchApi.update(this.savedSearchUnderEdit.searchId,this.savedSearchUnderEdit).then(function(b){a.snackBar.open("Saved search ID "+b.searchId+' was saved as "'+b.name+'"',"dismiss",{duration:0});a.savedSearch=b;a.savedSearchUnderEdit=Gg(b);a.appEvents.savedSearchModified.next({savedSearchId:a.savedSearch.searchId})}).catch(function(b){a.errorHandler.errorHandler(null,
b)}).finally(function(){a.isUpdating=!1}))};f.validate=function(){if(""===this.savedSearchUnderEdit.name)return this.error="Error: You must fill out all required fields.",!1;this.error="";return!0};
f.saveAccessPolicy=function(){var a=this;this.accessPolicyUnderEdit.admins.includes("USER:"+this.currentUserEmail)?this.doSaveAccessPolicy():this.openConfirmationDialog("Change saved search admins",yl("Are you sure you want to remove yourself from the admins?\n                'You may lose the permission to edit the access settings"),function(){a.doSaveAccessPolicy()})};
f.doSaveAccessPolicy=function(){var a=this;try{var b=QR(this.accessPolicyUnderEdit)}catch(c){b="An unknown problem occurred";c instanceof Error&&(b=c.message);XF(this.butterBar,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=PR(c);a.accessPolicyUnderEdit=Gg(a.flattenedAccessPolicy);
a.loadUserAccess(String(a.savedSearch.searchId));a.appEvents.savedSearchModified.next({savedSearchId:a.savedSearch.searchId})},function(c){a.errorHandler.errorHandler(null,c);XF(a.butterBar,Ck(c),0)}).finally(function(){a.isUpdating=!1})};f.delete=function(){var a=this;this.openConfirmationDialog("Delete saved search",yl("Do you want to delete this saved search?"),function(){a.doDelete()})};
f.doDelete=function(){var a=this;this.snackBar.open("Deleting saved search "+this.savedSearch.name,"dismiss",{duration:0});this.isDeleting=!0;this.savedSearchApi.delete(this.savedSearch.searchId).then(function(){a.snackBar.open("Deleted saved search "+a.savedSearch.name,"dismiss",{duration:0});a.appEvents.savedSearchModified.next({savedSearchId:a.savedSearch.searchId,action:"delete"});fmc(a.location,"/")}).catch(function(b){a.errorHandler.errorHandler(null,b)}).finally(function(){a.isDeleting=!1})};
f.openConfirmationDialog=function(a,b,c){this.confirmationDialog.open({title:a,content:b,onConfirm:function(){c()}})};g9.\u0275fac=function(a){return new (a||g9)(D(qJ),D(NG),D(nG),D(iU),D(OG),D(V1),D(VF),D(SW),D(rp),D(NI),D(sP),D(IF),D(ZF),D(TF),D(OI),D(wH,2),D(NR),D(cG))};
g9.\u0275cmp=zc({type:g9,selectors:[["b-edit-saved-search"]],viewQuery:function(a,b){a&1&&(jf(Bkd,5),jf(MM,5,fd));if(a&2){var c;hf(c=lf())&&(b.savedSearchName=c.first);hf(c=lf())&&(b.tabs=c)}},features:[Xe([wH]),xe],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),O("click",function(){return b.back()}),K(4,"mat-icon",4),J(),R(5,jvb,2,1,"button",5),J()()(),H(6,"div",6),R(7,kvb,
4,0,"ng-container",7),R(8,qvb,51,38,"ng-container",7),J());a&2&&(C(5),G("ngIf",b.isAdmin),C(2),G("ngIf",!b.isLoading&&!b.savedSearch),C(1),G("ngIf",!b.isLoading&&b.savedSearch))},dependencies:[Ru,Tu,yy,jz,XA,NM,MM,K0,Af,tv,Mv,zv,C0],encapsulation:2});var Ckd=function(a){r.call(this,a)};V(Ckd,r);f=Ckd.prototype;f.getAuthor=function(){return W(this,Wg,1)};f.setAuthor=function(a){Oh(this,Wg,1,a)};f.getTimestamp=function(){return W(this,ug,2)};f.setTimestamp=function(a){return Oh(this,ug,2,a)};f.hasTimestamp=function(){return qi(this,ug,2)};f.getAdd=function(){return W(this,Sh,3)};f.getRemove=function(){return W(this,Sh,4)};f.getAddMask=function(){return W(this,sC,5)};f.getRemoveMask=function(){return W(this,sC,6)};f.toObject=function(){return Dkd(this)};
var Dkd=function(a){if(null!=a)return t(a),{author:OC(a.getAuthor()),timestamp:pr(a.getTimestamp()),add:tfc(a.getAdd()),remove:tfc(a.getRemove()),addMask:tC(a.getAddMask()),removeMask:tC(a.getRemoveMask())}},Ekd=[Ckd,1,X,PC,2,X,qr,3,X,ufc,4,X,ufc,5,X,uC,6,X,uC];Ckd.prototype.serializeBinary=u(Ekd);var h9=function(a){r.call(this,a,0,h9.messageId)};V(h9,r);h9.prototype.getUpdatesList=function(){return yg(this,Ckd,1)};h9.repeatedFields_=[1];h9.prototype.toObject=function(){if(null!=this){t(this);var a={updatesList:Mb(this.getUpdatesList(),Dkd)}}else a=void 0;return a};h9.prototype.serializeBinary=u([h9,1,Iq,Ekd]);h9.messageId="b.SloHistory";var i9=function(a,b){this.executor=b;this.sloHistories=a.get("slo_histories-second-level-cache")||a.create("slo_histories-second-level-cache",{capacity:25})};i9.prototype.get=function(a){var b=this.sloHistories.get(String(a));return void 0!==b?b:this.sloHistories.put(String(a),Fkd(this,a))};var Fkd=function(a,b){return a.executor.get({url:"action/slo_updates/"+b,responseConstructor:h9}).then(function(c){var d;return{updates:(null!=(d=c.getUpdatesList())?d:[]).map(Vta)}})};
i9.prototype.getUncached=function(a){this.invalidateCache(a);return this.get(a)};i9.prototype.invalidateCache=function(a){this.sloHistories.remove(String(a))};i9.\u0275fac=function(a){return new (a||i9)(w(XG),w(CC))};i9.\u0275prov=nc({token:i9,factory:i9.\u0275fac,providedIn:"root"});var j9=function(a,b,c,d,e,g,h,l,q,v,y,B,I,N,Q,Z,Y,ka,la,Da){kE.call(this);var za=this;this.routeParams=a;this.accessPolicyConverter=b;this.bLocation=c;this.appHistory=e;this.butterBar=g;this.pageTitle=h;this.documentationLinks=q;this.userAccess=y;this.accessPolicyApi=B;this.sloApi=I;this.sloUpdatesApi=N;this.sloUpdatesService=Q;this.errorHandler=Z;this.matDialogService=Y;this.analytics=ka;this.confirmationDialogService=la;this.appEvents=Da;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(za.validity).some(function(Oa){return!Oa})};this.editableAccessPolicy=OR();this.flattenedAccessPolicy=OR();this.subscriptions.add(tP(v,function(){return za.hasUnsavedChanges()},!1));a=this.routeParams.sloId;this.resourceName=Ek("SLO",Ig(a));if(this.sloEnabled=l.isInternalSession())this.pageTitle.setTitle("SLO Overview"),Gkd(this,a),
this.loadUserAccess(a),this.loadAccessPolicy(a),Hkd(this,a);this.alertState={getValue:function(){return za.editableCopy?"ON"===za.editableCopy.alertState:!1},getSavedValue:function(){return za.slo?"ON"===za.slo.alertState:!1},setValue:function(Oa){za.editableCopy&&(za.editableCopy.alertState=Oa?"ON":"OFF")}};this.currentUserEmail=l.getUserEmail()};V(j9,kE);j9.\u0275dir=kE.\u0275dir;
j9.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)};j9.prototype.ngOnInit=function(){"access"===this.bLocation.hash()&&(this.selectedTabIndex=1)};j9.prototype.updateCollection=function(a){this.editableCopy&&(this.editableCopy.elements=a)};
var Gkd=function(a,b){a.isLoading=!0;a.sloApi.get(b).then(function(c){a.slo=c;a.slo.elements||(a.slo.elements=[]);a.editableCopy=Gg(a.slo);a.pageTitle.setTitle("SLO: "+c.name)}).catch(function(c){a.errorHandler.errorHandler(null,c)}).finally(function(){a.isLoading=!1})};
j9.prototype.loadAccessPolicy=function(a){var b=this;this.accessPolicyApi.get("SLO",Number(a)).then(function(c){b.flattenedAccessPolicy=PR(c);b.editableAccessPolicy=Gg(b.flattenedAccessPolicy)}).catch(function(c){b.errorHandler.errorHandler(null,c)})};var Ikd=function(a,b){return a.sloUpdatesApi.get(b).then(function(c){a.historyDiffs=c.updates.map(function(d){return A_c(a.sloUpdatesService,d)})}).catch(function(c){a.errorHandler.errorHandler(null,c)})};f=j9.prototype;
f.loadUserAccess=function(a){var b=this;JF(this.userAccess,"admin",Ek("SLO",Ig(a))).then(function(c){b.isAdminInternal=c}).catch(function(c){b.errorHandler.errorHandler(null,c)})};f.hasUnsavedChanges=function(){return this.hasUnsavedMetadataChanges()||this.hasUnsavedAccessPolicyChanges()};f.hasUnsavedMetadataChanges=function(){return!Fg(this.slo,this.editableCopy)};f.hasUnsavedAccessPolicyChanges=function(){return!Fg(this.flattenedAccessPolicy,this.editableAccessPolicy)};
f.saveMetadata=function(){var a=this;Jkd(this.slo.elements,this.editableCopy.elements)?this.save():this.confirmationDialogService.open({title:"Save SLO changes?",content:Bl(yl("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."),Al("br"),Al("br"),yl("Please combine changes into as few updates as possible.")),onConfirm:function(){a.save()},onDismiss:Ht})};
var uvb=function(a,b){if(!a.hasUnsavedMetadataChanges()){var c=function(){a.editableCopy.isArchived=b;a.save()};b?a.confirmationDialogService.open({title:"Archive SLO?",content:yl("Archiving this SLO will prevent new usages of the SLO, and will hide the SLO from most searches."),onConfirm:c,onDismiss:Ht}):c()}},Jkd=function(a,b){if(a.length!==b.length)return!1;for(var c=0;c<a.length;c++){var d=a[c],e=b[c],g;if(g=d.metric===e.metric&&d.matcher===e.matcher)d=d.objective,e=e.objective,g=!d&&!e||!!d&&
!!e&&d.seconds===e.seconds;if(!g)return!1}return!0};
j9.prototype.save=function(){var a=this,b=this.editableCopy;WF(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.';Jkd(a.slo.elements,a.editableCopy.elements)||(d+=" Propagating this change may take several hours.");WF(a.butterBar,d);a.slo=c;a.slo.elements||(a.slo.elements=[]);a.editableCopy=Gg(c);a.sloUpdatesApi.invalidateCache(a.slo.sloId);a.analytics.trackEvent(Yl.EDIT_SLO,"update")}).catch(function(c){a.errorHandler.errorHandler(null,
c)}).finally(function(){a.isUpdating=!1})};j9.prototype.saveAccessPolicy=function(){var a=this;this.isRevokingAdmin()?this.confirmationDialogService.open({title:"Change SLO admins",content:yl("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:Ht}):this.doSaveAccessPolicy()};
j9.prototype.doSaveAccessPolicy=function(){var a=this;try{var b=QR(this.editableAccessPolicy)}catch(c){b="An unknown problem occurred";c instanceof Error&&(b=c.message);XF(this.butterBar,b);return}this.isUpdating=!0;WF(this.butterBar,"Saving access settings...");this.accessPolicyApi.update("SLO",this.slo.sloId,b).then(function(c){WF(a.butterBar,"Access settings saved.");a.flattenedAccessPolicy=PR(c);a.editableAccessPolicy=Gg(a.flattenedAccessPolicy);a.loadUserAccess(a.slo.sloId);a.analytics.trackEvent(Yl.EDIT_SLO,
"updateAccessPolicy")},function(c){XF(a.butterBar,Ck(c),0)}).finally(function(){a.isUpdating=!1})};j9.prototype.isRevokingAdmin=function(){return this.isRevokingDirectAdmin()};var Hkd=function(a,b){Ikd(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"===Ug(c.author)&&(a.isImportedFromBugScope=!0);d.author&&"buganizer-system@google.com"===Ug(d.author)&&(a.isUneditedFromBugScope=!0)}})};
f=j9.prototype;f.isRevokingDirectAdmin=function(){if(Fg(this.flattenedAccessPolicy.admins,this.editableAccessPolicy.admins))return!1;var a="USER:"+this.currentUserEmail;return this.flattenedAccessPolicy.admins.includes(a)&&!this.editableAccessPolicy.admins.includes(a)};
f.revertMetadataChanges=function(){var a=this;Jkd(this.slo.elements,this.editableCopy.elements)?this.editableCopy=Gg(this.slo):this.confirmationDialogService.open({title:"Revert SLO changes?",content:Bl(yl("Revert all changes to this SLO?")),onConfirm:function(){a.editableCopy=Gg(a.slo)},onDismiss:Ht})};f.revertAccessPolicyChanges=function(){this.editableAccessPolicy=Gg(this.flattenedAccessPolicy);this.appEvents.contactChipsRevertChanges.next()};f.isSaving=function(){return this.isUpdating};
f.back=function(){W1(this.appHistory)};f.isEditDisabled=function(){return!this.editableCopy||this.isSaving()||!this.isAdmin()};f.isAdmin=function(){return this.isAdminInternal};f.showUpdateHistoryModal=function(){var a=this;Ikd(this,this.slo.sloId).then(function(){a.matDialogService.open(R7,{width:"600px",data:{updateDiffs:a.historyDiffs}});a.analytics.trackEvent(Yl.UPDATE_HISTORY_MODAL,"open");a.analytics.trackEvent(Yl.EDIT_SLO,"viewHistory")})};
j9.\u0275fac=function(a){return new (a||j9)(D(qJ),D(NR),D(NG),D(OG),D(V1),D(VF),D(SW),D(rp),D(NI),D(sP),D(IF),D(nG),D(TT),D(i9),D(Q1),D(ZF),D(Ly),D(AH),D(OI),D(cG))};
j9.\u0275cmp=zc({type:j9,selectors:[["edit-slo-page"]],viewQuery:function(a,b){a&1&&jf(MM,5,fd);if(a&2){var c;hf(c=lf())&&(b.tabs=c)}},features:[xe],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),O("onAction",function(){return b.back()}),K(3,"b-icon",3),J()()(),H(4,"div",4),R(5,rvb,2,0,"div",5),R(6,zvb,55,31,"div",6),J());a&2&&(C(5),G("ngIf",b.isLoading),C(1),G("ngIf",!b.isLoading&&b.slo&&b.slo.sloId&&b.editableCopy))},dependencies:[qP,Tu,Av,Af,tv,uv,Mv,zv,xv,SM,$M,NM,MM,C0,VN,J1,SL],encapsulation:2});var k9=function(a,b,c,d){kE.call(this);var e=this;this.routeParams=a;this.issues=b;this.issuePicker=c;this.snackBar=d;this.TEA_DARK=wtc;this.TEA_LIGHT=vtc;this.getStatus=function(g){return g.snapshot[0].status};this.STATUS_FULL_TEXT=fF;this.STATUS_TERSE=bF;this.id$=this.routeParams.issueId$;this.searchUrl$=this.id$.pipe(E(function(g){return{path:"/issues",params:{q:"blockedbyid:"+g}}}));this.issue$=this.id$.pipe(pe(this.issues.watch));this.blockingIds$=this.issue$.pipe(E(function(g){var h;return null!=
(h=null==g?void 0:g.snapshot[0].blockingIssueId)?h:[]}));this.issuesBeingBlocked$=this.blockingIds$.pipe(pe(this.issues.watchSet));this.blockedAndOpen$=this.issuesBeingBlocked$.pipe(E(function(g){return g.filter(lk)}));this.blockedAndOpenIds$=this.blockedAndOpen$.pipe(E(function(g){return g.map(function(h){return String(h.issueId)})}));this.blockedAndClosed$=this.issuesBeingBlocked$.pipe(E(function(g){return g.filter(function(h){return dxa(h)})}));this.blockedAndClosedIds$=this.blockedAndClosed$.pipe(E(function(g){return g.map(function(h){return String(h.issueId)})}));
this.thinking$=this.issues.thinking$;this.getMenuItems=function(g){return[{type:"action",label:"Remove this relationship",action:function(){e.onClickRemove(g)},title:"Remove this relationship",icon:"clear"}]};this.didChooseBlocking=function(g){var h=ol(e.id$);null!=h&&JH(e.issues,"ADD","BLOCKING",h,g).catch(e.gotErr)};this.gotErr=function(g){e.snackBar.open(Ck(g)||"Error with network request","close",{panelClass:"error"})}};V(k9,kE);k9.\u0275dir=kE.\u0275dir;
k9.prototype.convertIssueStatusStrToTag=function(a){return Zh[a]};k9.prototype.onClickAdd=function(){this.issuePicker.open({title:"Add Blocking",allowMultipleIds:!0,edgeType:"blocking"},this.didChooseBlocking)};k9.prototype.onClickRemove=function(a){var b=ol(this.id$);null!=b&&JH(this.issues,"REMOVE","BLOCKING",b,[String(a)]).catch(this.gotErr)};k9.\u0275fac=function(a){return new (a||k9)(D(pJ),D(IH),D(fP),D(TF))};
k9.\u0275cmp=zc({type:k9,selectors:[["ng-component"]],features:[xe],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),R(1,Nvb,4,2,"ng-container",1),T(2,"async"),J(),R(3,Ovb,2,0,"aside",2),T(4,"async"));a&2&&(C(1),G("ngIf",U(2,2,b.blockingIds$)),C(2),G("ngIf",U(4,4,b.thinking$)))},dependencies:[Su,Tu,IG,yy,zy,XA,SL,LT,Zu],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 l9=function(){};l9.\u0275fac=function(a){return new (a||l9)};l9.\u0275mod=Bc({type:l9});l9.\u0275inj=oc({imports:[Hw,Uw,Qv,Rv,MG,WB,RM,zC,YA,VO,cN,yO,yN,NT]});var Kkd="focus-indicator title type team id assignee status menu".split(" "),Lkd=[].concat(Jc(Kkd)),Mkd="focus-indicator drag-handle title type id assignee status menu".split(" ");var fp=function(a){r.call(this,a)};V(fp,r);fp.prototype.getFilename=function(){return mh(this,1)};fp.prototype.setFilename=function(a){n(this,1,a)};fp.prototype.getLineNumber=function(a){return Xp(this,2,a)};fp.repeatedFields_=[2];fp.prototype.toObject=function(){return Nkd(this)};var Nkd=function(a){if(null!=a)return t(a),{filename:p(m(a,1)),lineNumberList:p(xg(a,2)),changeNumber:p(m(a,3))}},Okd=[fp,1,Cq,2,xq,3,pq];fp.prototype.serializeBinary=u(Okd);var gp=function(a){r.call(this,a)};V(gp,r);gp.prototype.getPackageName=function(){return mh(this,1)};gp.repeatedFields_=[2];gp.prototype.toObject=function(){return Pkd(this)};var Pkd=function(a){if(null!=a)return t(a),{packageName:p(m(a,1)),fileMentionSetList:Mb(yg(a,fp,2),Nkd)}},Qkd=[gp,1,Cq,2,Iq,Okd];gp.prototype.serializeBinary=u(Qkd);var m9=function(a){r.call(this,a,0,m9.messageId)};V(m9,r);m9.repeatedFields_=[3];m9.prototype.toObject=function(){if(null!=this){t(this);var a={totalMentions:p(Cb(this,1)),truncated:p(Db(this,2)),packageMentionSetList:Mb(yg(this,gp,3),Pkd)}}else a=void 0;return a};m9.prototype.serializeBinary=u([m9,1,wq,2,zq,3,Iq,Qkd]);m9.messageId="b.MentionSearchResult";var n9=function(a){this.executor=a};n9.\u0275fac=function(a){return new (a||n9)(w(CC))};n9.\u0275prov=nc({token:n9,factory:n9.\u0275fac,providedIn:"root"});var o9=function(a,b,c){this.mentionsApi=a;this.refreshMonitor=b;this.analytics=c},Rkd=function(a,b){var c="https://todo.corp.google.com/?issue="+b;a.cachedId===b&&a.cachedEntry||(a.cachedId=b,a.cachedEntry=onc(a.refreshMonitor,(0,F.defer)(function(){return a.mentionsApi.executor.get({url:"action/issues/"+b+"/mentions",responseConstructor:m9}).then(Svb).then(function(d){return{mentions:d,loadingState:"OK",link:c}}).catch(function(){return{loadingState:"ERROR",link:c}})}).pipe(oe({loadingState:"LOADING",
link:c}))).pipe(ne({refCount:!0,bufferSize:1})));return a.cachedEntry};o9.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)};o9.prototype.trackSqueegeeClick=function(){this.analytics.trackEvent("codeMentions","clickSqueegeeLink")};o9.\u0275fac=function(a){return new (a||o9)(w(n9),w(GH),w(AH))};o9.\u0275prov=nc({token:o9,factory:o9.\u0275fac,providedIn:"root"});var q9=function(a,b,c,d,e,g,h){var l=this;this.paramsService=a;this.issueRelationshipsFridge=b;this.issueFridge=c;this.codeMentions=d;this.issueApi=e;this.eventsForIssue=g;this.activeSession=h;this.id$=this.paramsService.issueId$.pipe(ee(1E3));this.issue$=this.id$.pipe(pe(this.issueFridge.watch));this.issueEvents$=this.id$.pipe(pe(this.eventsForIssue.watch),E(function(q){var v;return null!=(v=null==q?void 0:q.events)?v:[]}));this.blockerIssueIds$=this.issue$.pipe(E(function(q){var v;return null!=
(v=null==q?void 0:q.snapshot[0].blockedByIssueId)?v:[]}),fe(Fg));this.blockedIssueIds$=this.issue$.pipe(E(function(q){var v;return null!=(v=null==q?void 0:q.snapshot[0].blockingIssueId)?v:[]}),fe(Fg));this.parentIds$=this.issue$.pipe(E(function(q){var v;return null!=(v=null==q?void 0:q.parentIssueIds)?v:[]}),fe(Fg));this.childrenIds$=this.id$.pipe(pe(this.issueRelationshipsFridge.watch),E(function(q){var v;return null!=(v=null==q?void 0:q.relatedChildren.map(function(y){return y.targetIssueId}))?
v:[]}));this.duplicateIssueIds$=this.issue$.pipe(E(function(q){var v;return null!=(v=null==q?void 0:q.snapshot[0].duplicateIssueId)?v:[]}),fe(Fg));this.blockersDualCount$=(0,F.combineLatest)([this.id$,this.blockerIssueIds$]).pipe(pe(function(q){var v=k(q);q=v.next().value;v=v.next().value;return p9(l,q,v,["BLOCKED_BY"])}),ne({bufferSize:1,refCount:!0}));this.countBlockersDisplay$=this.blockersDualCount$.pipe(E(Uvb),ne({bufferSize:1,refCount:!0}));this.blockedDualCount$=(0,F.combineLatest)([this.id$,
this.blockedIssueIds$]).pipe(pe(function(q){var v=k(q);q=v.next().value;v=v.next().value;return p9(l,q,v,["BLOCKING"])}),ne({bufferSize:1,refCount:!0}));this.countBlockedDisplay$=this.blockedDualCount$.pipe(E(Uvb),ne({bufferSize:1,refCount:!0}));this.childrenDualCount$=(0,F.combineLatest)([this.id$,this.childrenIds$]).pipe(pe(function(q){var v=k(q);q=v.next().value;v=v.next().value;return p9(l,q,v,["CHILDREN"])}),ne({bufferSize:1,refCount:!0}));this.countChildrenDisplay$=this.childrenDualCount$.pipe(E(Uvb),
ne({bufferSize:1,refCount:!0}));this.parentsDualCount$=(0,F.combineLatest)([this.id$,this.parentIds$]).pipe(pe(function(q){var v=k(q);q=v.next().value;v=v.next().value;return p9(l,q,v,["PARENT"])}),ne({bufferSize:1,refCount:!0}));this.countParentsDisplay$=this.parentsDualCount$.pipe(E(Uvb),ne({bufferSize:1,refCount:!0}));this.dependenciesDualCount$=(0,F.combineLatest)([this.id$,this.blockerIssueIds$,this.childrenIds$]).pipe(pe(function(q){var v=k(q);q=v.next().value;var y=v.next().value;v=v.next().value;
return p9(l,q,[].concat(Jc(v),Jc(y)),["CHILDREN","BLOCKED_BY"])}));this.countDependenciesDisplay$=this.dependenciesDualCount$.pipe(E(Uvb),ne({bufferSize:1,refCount:!0}));this.duplicatesDualCount$=(0,F.combineLatest)([this.id$,this.duplicateIssueIds$]).pipe(pe(function(q){var v=k(q);q=v.next().value;v=v.next().value;return p9(l,q,v,["DUPLICATE"])}),ne({bufferSize:1,refCount:!0}));this.countDuplicateDisplay$=this.duplicatesDualCount$.pipe(E(function(q){return q.total}),E(Vvb),ne({bufferSize:1,refCount:!0}));
this.countResourcesDisplay$=this.issue$.pipe(E(function(q){var v;return null!=(v=null==q?void 0:q.relatedLinks)?v:[]}),E(function(q){return l.activeSession.isInternalSession()?q:q.filter(function(v){return!Dxa(v)})}),E(function(q){return hp(q.length)}),E(Vvb),ne({bufferSize:1,refCount:!0}));this.countTodosDisplay$=this.id$.pipe(Zd(eh),pe(function(q){return Rkd(l.codeMentions,q)}),E(function(q){var v,y;return hp(null!=(y=null==(v=q.mentions)?void 0:v.totalMentions)?y:0)}),E(Vvb),ne({bufferSize:1,refCount:!0}));
this.countCommentsDisplay$=this.issueEvents$.pipe(E(function(q){return hp(q.filter(ik).length)}),E(Vvb),ne({bufferSize:1,refCount:!0}))},p9=function(a,b,c,d){d=void 0===d?[]:d;c=gk(c);if(!b||0===c.length)return(0,F.of)({open:{count:0,exact:!0},total:{count:0,exact:!0}});d=d.map(function(e){return Wvb(b,e)}).filter(eh).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(lk).filter(exa).length;return{open:hp(e),
total:hp(c.length)}}):(0,F.combineLatest)(c.map(function(e){return a.issueFridge.watch(e)})).pipe(E(function(e){return{open:hp(e.filter(eh).filter(lk).filter(exa).length),total:hp(e.filter(function(g){return!g||exa(g)}).length)}}))};q9.\u0275fac=function(a){return new (a||q9)(w(pJ),w(PH),w(IH),w(o9),w(FE),w(pF),w(rp))};q9.\u0275prov=nc({token:q9,factory:q9.\u0275fac,providedIn:"root"});var r9=function(a,b,c,d,e,g,h,l,q){kE.call(this);var v=this;this.issueFridge=a;this.butterBar=b;this.analytics=c;this.refreshMonitor=d;this.paramsService=e;this.issuePermissionService=g;this.issuePicker=h;this.errorHandler=l;this.counts=q;this.issueId$=this.paramsService.issueId$;this.issue$=this.issueId$.pipe(pe(this.issueFridge.watchOne));this.filters=[];this.shouldResetFilters=new tu;this.tableColumns=Kkd;this.initialSort={active:"status",direction:"asc"};this.canEdit$=this.issuePermissionService.hasAclToEdit$;
this.blockerIds$=this.issue$.pipe(E(function(y){return null==y?void 0:y.snapshot[0]}),E(function(y){var B,I;return null!=(I=null==y?void 0:null==(B=y.blockedByIssueId)?void 0:B.map(String))?I:[]}));this.blockersCount$=this.blockerIds$.pipe(pe(function(y){return 0===y.length?(0,F.of)(0):v.counts.blockersDualCount$.pipe(E(function(B){return B.total.count}))}));this.showBlockersTable$=this.blockersCount$.pipe(E(function(y){return 0<y}),oe(!0));this.getMenuItems=function(y){return[{type:"action",label:"Remove blocker",
action:function(){Skd(v,y)},title:"Remove blocker",icon:"clear"}]};this.subscriptions.add(this.refreshMonitor.getObservable().subscribe(function(){var y=ol(v.blockerIds$);if(null!=y){y=k(y);for(var B=y.next();!B.done;B=y.next())v.issueFridge.poke(B.value)}}))};V(r9,kE);r9.\u0275dir=kE.\u0275dir;
var dwb=function(a){var b;return Ld(function(c){b=ol(a.issueId$);if(null==b)return c.return();a.analytics.trackEvent(Yl.EDIT_ISSUE,"update","add-blocker");return c.yield(a.issuePicker.open({title:"Add Blockers of "+b,allowMultipleIds:!0,edgeType:"blocker"},function(d){Tkd(a,b,d)}),0)})},Tkd=function(a,b,c){Ld(function(d){return 0===c.length?d.return():d.yield(JH(a.issueFridge,"ADD","BLOCKED_BY",b,c).catch(function(e){aG(a.errorHandler,e)}),0)})},Skd=function(a,b){var c,d;Ld(function(e){if(1==e.nextAddress){c=
ol(a.issueId$);if(null==c)return e.return();a.analytics.trackEvent(Yl.EDIT_ISSUE,"update","remove-blocker");Md(e,2);var g=e.yield;var h=JH(a.issueFridge,"REMOVE","BLOCKED_BY",c,[b]);return g.call(e,h,4)}if(2!=e.nextAddress)return xp(e,0);d=Pd(e);XF(a.butterBar,"Could not remove blocker "+b+". "+(Bk(d)?Ck(d):d));Qd(e)})};r9.\u0275fac=function(a){return new (a||r9)(D(IH),D(VF),D(AH),D(GH),D(pJ),D(zJ),D(fP),D(ZF),D(q9))};
r9.\u0275cmp=zc({type:r9,selectors:[["b-blockers-table"]],viewQuery:function(a,b){a&1&&jf(LT,5);if(a&2){var c;hf(c=lf())&&(b.issuesTable=c.first)}},inputs:{filters:"filters"},outputs:{shouldResetFilters:"shouldResetFilters"},features:[xe],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),K(3,"mat-icon",3),J(),S(4),T(5,"async"),J(),R(6,Yvb,2,1,"ng-container",4),T(7,"async"),J(),R(8,$vb,3,3,"ng-container",5),T(9,"async"),R(10,awb,4,2,"p",6),T(11,"async"),R(12,cwb,6,1,"ng-template",null,7,of),R(14,ewb,3,3,"ng-template",null,8,of));if(a&2){var c=Se(13);C(4);Te(" Blockers ",U(5,5,b.counts.countBlockersDisplay$)," ");C(2);G("ngIf",U(7,7,b.showBlockersTable$));C(2);G("ngIf",U(9,9,b.showBlockersTable$))("ngIfElse",c);C(2);G("ngIf",U(11,11,null==b.issuesTable?null:b.issuesTable.filteredRowCount$))}},
dependencies:[Tu,Yu,jz,XA,qP,LT,Zu],styles:["[_nghost-%COMP%] {\n      display: block;\n    }\n    b-issues-table[_ngcontent-%COMP%] {\n      display: block;\n      overflow-x: auto;\n    }"],changeDetection:0});var Ukd=function(){this.EMPTY_BLOCKER_LIGHT=qtc;this.EMPTY_BLOCKER_DARK=rtc;this.EMPTY_CHILD_LIGHT=stc;this.EMPTY_CHILD_DARK=ttc};Ukd.\u0275fac=function(a){return new (a||Ukd)};
Ukd.\u0275cmp=zc({type:Ukd,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),S(1,"About Dependencies"),J(),H(2,"div",1)(3,"div",2),K(4,"img",3)(5,"img",3)(6,"img",4)(7,"img",4),J(),H(8,"article")(9,"p",5),S(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),S(12,"Learn more"),J()()()(),H(13,"div",7)(14,
"button",8),S(15,"Ok"),J()());a&2&&(C(4),G("src",b.EMPTY_CHILD_LIGHT,vd),C(1),G("src",b.EMPTY_BLOCKER_LIGHT,vd),C(1),G("src",b.EMPTY_CHILD_DARK,vd),C(1),G("src",b.EMPTY_BLOCKER_DARK,vd))},dependencies:[yy,My,Ny,Oy,Py],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 Vkd=function(){return["focus-indicator","load-more-children"]},Wkd=Yl.EDIT_ISSUE,Xkd={type:"data",id:"",issue$:F.NEVER,hasChildren$:F.NEVER,ancestorChain:new hP([]),level:0,expandedCount:0},s9=function(a,b,c,d,e,g,h,l,q,v,y,B,I,N,Q){kE.call(this);var Z=this;this.issueRelationshipsFridge=a;this.router=b;this.butterBar=c;this.analytics=d;this.issueArchiveService=e;this.ngZone=g;this.elementRef=h;this.domSafe=q;this.reorderingSessionTracker=v;this.cdr=y;this.relationsTableModelFactory=B;this.liveAnnouncer=
I;this.clearcut=N;this.paths=Q;this.internalFilters=new IJ;this.isClosed=dxa;this.tableColumns=Mkd;this.trackBy=function(Y,ka){return ka.ancestorChain.hash()+ka.type};this.isLoadMoreRow=function(Y,ka){return"load-more-children"===ka.type};this.isDataRow=function(Y,ka){return"data"===ka.type};this.isDraftRow=function(Y,ka){return"draft-issue"===ka.type};this.selectionModel=new xP;this.hasLogged=!1;this.correctedDisplayedRows=new mf;this.TITLE_FIXED_OFFSET_PX=42;this.rowDirectiveMap=new Map;this.getRowIndex=
function(Y){var ka;return(null!=(ka=ol(Z.rows$))?ka:[]).findIndex(function(la){return $l(la,Y)})};this.showError=function(Y){return function(ka){XF(Z.butterBar,Y+". "+(Bk(ka)?Ck(ka):ka))}};this.subscriptions.add(tP(l,function(){return Z.tableModel.draftRows.isSaving()||Z.issueRelationshipsFridge.isSaving()},!1))};V(s9,kE);s9.\u0275dir=kE.\u0275dir;f=s9.prototype;
f.ngOnInit=function(){var a=this;this.tableModel=this.relationsTableModelFactory.create(this.rootIssueId,this.internalFilters);this.rows$=(0,F.scheduled)([this.tableModel.rows$,(0,F.of)([Xkd])],F.asyncScheduler).pipe(Wd(1),ne({refCount:!0,bufferSize:1}));var b=this.rows$.pipe(pe(function(c){return(0,F.combineLatest)(c.filter(function(d){return"data"===d.type}).map(function(d){return d.issue$}))}),de(0,F.asapScheduler));this.subscriptions.add(b.subscribe(function(c){a.cdr.detectChanges();a.trackRelationsData(c)}));
this.rowReorderingModel=new vP(this.elementRef.nativeElement,this.correctedDisplayedRows,this.ngZone,this.selectionModel);this.subscriptions.add(this.rowReorderingModel.onLongHover$.subscribe(function(c){var d=c.row;"load-more-children"===d.type?a.displayAllSiblings(d):"data"===d.type&&(c=a.tableModel.expansion,d=d.ancestorChain,kP(c,d)||lP(c,d,10))}));this.subscriptions.add(this.rowReorderingModel.onRowsMoved$.subscribe(function(c){var d;return Ld(function(e){if(1==e.nextAddress)return Enc(a.issueRelationshipsFridge,
c.insertAt,c.movedRows.map(function(g){return{issueId:g.nodeId,parentId:g.parentNodeId}})).then(function(){return a.liveAnnouncer.announce(c.actionMessage+" successfully.")}).catch(a.showError("Unable to reorder issues")),myc(a.tableModel.expansion,c.parentAncestorChain,c.movedRows),e.yield((0,F.firstValueFrom)(a.correctedDisplayedRows.changes.pipe(E(function(g){return g.find(function(h){return"data"===h.row.type&&h.row.ancestorChain.nodeId===c.movedRows[0].nodeId&&h.row.ancestorChain.parentNodeId===
c.insertAt.parentId})}),Zd(Boolean),ae(6E4))),2);d=e.yieldResult;d.focus();Qd(e)})}));this.subscriptions.add(this.rowReorderingModel.onRowsMoved$.subscribe(function(c){a.reorderingSessionTracker.onRowsMoved$.next(c)}))};
f.trackRelationsData=function(a){if(!this.hasLogged&&0!==a.length){this.hasLogged=!0;var b=a.length,c=0===document.querySelectorAll("b-issue-relations-table b-expandable-issue-title-cell .collapsed").length+document.querySelectorAll('b-issue-relations-table [data-type="load-more-children"]').length;qH(this.clearcut,"view-relations-"+(c?"all-loaded":"some-loaded"));this.analytics.trackEvent(Wkd,"view-relations","visible-count",b);c&&(a=a.filter(function(d){var e;return null!=(null==d?void 0:null==
(e=d.snapshot[0])?void 0:e.effort)}).length/b,qH(this.clearcut,"view-relations-"+(.5<a?"most-estimated":"most-unestimated")),this.analytics.trackEvent(Wkd,"view-relations","ratio-estimated",a))}};
f.ngAfterViewInit=function(){var a=this;this.selectionModel.init(this.displayedRows);(0,F.combineLatest)([this.rows$,this.displayedRows.changes]).pipe(qe(this.destroyed$)).subscribe(function(b){b=k(b).next().value;a.rowDirectiveMap=new Map(a.displayedRows.map(function(c){return[c.row.ancestorChain.hash(),c]}));b=b.map(function(c){return a.rowDirectiveMap.get(c.ancestorChain.hash())}).filter(Boolean);a.correctedDisplayedRows.reset(b);gf(a.correctedDisplayedRows)});this.focusManager=mx(new ovc(this.correctedDisplayedRows,
$l))};f.toggleExpansion=function(a){lP(this.tableModel.expansion,a.ancestorChain,a.expandedCount?0:10)};f.navigateToIssue=function(a,b){!b.id||a.defaultPrevented||"mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button||"A"===a.target.tagName||(this.analytics.trackEvent(Wkd,"navigate","to-child-issue"),b=Gk(b.id),a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button?this.domSafe.openInNewTab(b):a&&a.shiftKey?Wl(this.domSafe,b):ip(this.router,b))};
f.displayAllSiblings=function(a){var b=this,c;return Ld(function(d){if(1==d.nextAddress)return c=b.getRowIndex(a),lP(b.tableModel.expansion,a.ancestorChain.parentChain,500),d.yield(Rl(),2);b.focusManager.setActiveItem(c);Qd(d)})};f.getMenuItemsForDraft=function(a){var b=this;return[{type:"action",label:"Continue on the create issue page",action:function(c){return b.navigateToCreateIssuePage(c,a)},title:"Continue on the create issue page",icon:"arrow-forward"}]};
f.getMenuItems=function(a){var b=this;return[{type:"action",label:"Go to issue",action:function(c){b.navigateToIssue(c,a)},title:"Go to issue",icon:"arrow-forward"},{type:"action",label:"View Children",disabled:!ol(a.hasChildren$),action:function(){var c=Ik({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 Ld(function(c){if(1==c.nextAddress)return c.yield(Rl(),
2);b.createChildIssue(a);Qd(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 Ld(function(c){if(1==c.nextAddress)return c.yield(Rl(),2);b.createSiblingIssue(a);Qd(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(){Nyc(b.rowReorderingModel,b.rowDirectiveMap.get(a.ancestorChain.hash()))},title:"Indent",icon:"arrow-right",hintText:"shift+ctrl+right"},
{type:"action",label:"Unindent",action:function(){Myc(b.rowReorderingModel,b.rowDirectiveMap.get(a.ancestorChain.hash()))},title:"Unindent",icon:"arrow-left",hintText:"shift+ctrl+left"}]},{type:"action",label:"Unlink from parent",action:function(){b.unlinkFromParent(a)},title:"Unlink from parent",icon:"link-off"},{type:"action",label:"Archive",action:function(){b.archiveRow(a)},title:"Archive issue",icon:"archive_24px"}]};
f.saveDraft=function(a){var b=this,c,d;return Ld(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,F.firstValueFrom)(b.displayedRows.changes.pipe(E(function(g){return g.find(function(h){return"data"===h.row.type&&h.row.id===a.issueId})}),Zd(Boolean),ae(6E4))),2)}c=e.yieldResult;$l(null==(d=b.focusManager.activeItem)?void 0:d.row,a)&&b.focusManager.setActiveItem(c);Qd(e)})};
f.cancelDraft=function(a){if(!a.saving){this.tableModel.deleteDraftRow(a);var b;$l(null==(b=this.focusManager.activeItem)?void 0:b.row,a)&&this.focusManager.setPreviousItemActive()}};f.createChildIssue=function(a){this.tableModel.createChildOrDraft(null==a?void 0:a.ancestorChain,{afterIssueId:"-1"})};f.createSiblingIssue=function(a){"data"===a.type?this.tableModel.createChildOrDraft(a.ancestorChain.parentChain,{afterIssueId:a.id}):this.tableModel.createChildOrDraft(a.ancestorChain.parentChain,{afterDraftId:a.id})};
f.addExistingChild=function(a){this.tableModel.addExistingChild(a)};f.getDraftColumns=function(){return this.tableColumns.map(function(a){return"title"===a?"editable-title":"menu"===a?"save":"id"===a?"empty-id":a})};f.handleDragStart=function(a){this.reorderingSessionTracker.dragStarted$.next({origin:"mouse"});this.rowReorderingModel.handleDragStart(a)};
f.onRowKeydown=function(a,b){var c=this,d;return Ld(function(e){switch(e.nextAddress){case 1:switch(b.keyCode){case 39:case 37:if(b.ctrlKey)break;"data"===a.type&&(c.toggleExpansion(a),b.preventDefault());"load-more-children"===a.type&&(c.displayAllSiblings(a),b.preventDefault());break;case 13:return e.jumpTo(2)}e.jumpTo(3);break;case 2:return"BUTTON"!==b.target.tagName||b.shiftKey||b.metaKey?e.yield(c.tableModel.isOneLineCreationSupported(),4):e.return();case 4:d=e.yieldResult;if(!d)return e.return();
"data"===a.type&&(b.shiftKey?c.createChildIssue(a):c.createSiblingIssue(a));"draft-issue"===a.type&&a.saving&&c.createSiblingIssue(a);b.preventDefault();e.jumpTo(3);break;case 3:if("INPUT"===b.target.tagName)return e.return();c.focusManager.onKeydown(b);c.rowReorderingModel.onKeydown(b);Qd(e)}})};
f.navigateToCreateIssuePage=function(a,b){var c=this,d,e,g,h,l,q,v,y;return Ld(function(B){if(1==B.nextAddress)return a.defaultPrevented||"mouseup"===a.type&&a instanceof MouseEvent&&1!==a.button?B.return():B.yield((0,F.firstValueFrom)(b.issue$),2);d=B.yieldResult;v={};y=c.paths.createIssue((v.component=String(null==(e=d)?void 0:e.snapshot[0].componentId),v.parentIssueId=b.ancestorChain.parentChain.nodeId,v.redirectUrl=oya(c.rootIssueId),v.afterIssueId=b.afterIssueId,v.title=b.title,v.priority=null!=
(l=null==(g=d)?void 0:g.snapshot[0].priority)?l:void 0,v.type=null!=(q=null==(h=d)?void 0:h.snapshot[0].type)?q:void 0,v));if(a.ctrlKey||a.metaKey||a instanceof MouseEvent&&1===a.button)return c.cancelDraft(b),c.domSafe.openInNewTab(y),B.return();if(a&&a.shiftKey)return c.cancelDraft(b),Wl(c.domSafe,y),B.return();ip(c.router,y);Qd(B)})};
f.archiveRow=function(a){var b=this,c,d;Ld(function(e){if(1==e.nextAddress)return b.analytics.trackEvent(Wkd,"update","archive-child-issue"),c=b.getRowIndex(a),b.issueArchiveService.archive(a.id),e.yield((0,F.firstValueFrom)(b.rows$.pipe(E(function(g){return!g.find(function(h){return"data"===h.type&&h.id===a.id})}),Zd(Boolean),ae(6E4))),2);$l(null==(d=b.focusManager.activeItem)?void 0:d.row,a)&&b.focusManager.setActiveItem(c);Qd(e)})};
f.unlinkFromParent=function(a){var b=this,c,d;return Ld(function(e){c=a.ancestorChain.nodeId;d=a.ancestorChain.parentNodeId;b.analytics.trackEvent(Wkd,"update","unlink-child-issue");return e.yield(b.issueRelationshipsFridge.unlinkFromParent(c,d).then(function(){WF(b.butterBar,"Unlinked successfully.")}).catch(b.showError("Failed to unlink child "+c+" from parent "+d)),0)})};
gg.Object.defineProperties(s9.prototype,{filters:{configurable:!0,enumerable:!0,set:function(a){this.internalFilters.reset(null!=a?a:[])}},filteredRowCount$:{configurable:!0,enumerable:!0,get:function(){return this.tableModel.filteredRowCount$}}});s9.\u0275fac=function(a){return new (a||s9)(D(PH),D(GG),D(VF),D(AH),D(rP),D(te),D(fd),D(sP),D(rK),D(wP),D(wH),D(uP),D(cx),D(oH),D(OG))};
s9.\u0275cmp=zc({type:s9,selectors:[["b-issue-relations-table"]],viewQuery:function(a,b){a&1&&jf(uM,5);if(a&2){var c;hf(c=lf())&&(b.displayedRows=c)}},inputs:{rootIssueId:"rootIssueId",filters:"filters"},features:[Xe([wH]),xe],decls:46,vars:10,consts:[["mat-table","","multiTemplateDataRows","",1,"full-width",3,"dataSource","trackBy"],["matColumnDef","focus-indicator"],["mat-header-cell","",4,"matHeaderCellDef"],["tabindex","-1","mat-cell","",3,"click",4,"matCellDef"],["matColumnDef","drag-handle"],
["mat-cell","","draggable","true","tabindex","-1",3,"click","dragstart",4,"matCellDef"],["matColumnDef","id"],["mat-cell","",4,"matCellDef"],["matColumnDef","empty-id"],["matColumnDef","title"],["matColumnDef","type"],["matColumnDef","assignee"],["matColumnDef","status"],["matColumnDef","team"],["matColumnDef","menu"],["matColumnDef","save"],["mat-cell","","class","text-center",4,"matCellDef"],["matColumnDef","load-more-children"],["mat-cell","",3,"padding-left",4,"matCellDef"],["matColumnDef","editable-title"],
["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","selectionPreventsClick","","class","clickable",3,"row","selected","closed","click","mouseup","focusin","keydown",4,"matRowDef","matRowDefColumns","matRowDefWhen"],["mat-row","",3,"row","focusin","keydown",4,"matRowDef","matRowDefColumns","matRowDefWhen"],["mat-row","","class","draft","cdkTrapFocus","",3,"row","keydown","keydown.escape","keydown.backspace","focusin",4,"matRowDef","matRowDefColumns","matRowDefWhen"],[1,"drag-preview"],[1,"placeholder"],
[1,"insertion-bar"],["mat-header-cell",""],["tabindex","-1","mat-cell","",3,"click"],["focusIndicator",""],["mat-cell","","draggable","true","tabindex","-1",3,"click","dragstart"],["dragHandle",""],["svgIcon","drag-indicator",1,"icon-s"],["mat-cell",""],[3,"id"],[3,"issue","expandable","expanded","level","expansionChange"],[3,"issue"],["buttonLabel","More options",3,"menuItems","click"],["mat-cell","",1,"text-center"],["buttonLabel","More options",3,"menuItems","click",4,"ngIf","ngIfElse"],["saving",
""],[3,"isReady"],["format","flat",3,"onAction"],[1,"title-location"],[1,"flex-kids-x","align-items-center","gap-s"],["placeholder","Start typing the title...",1,"grow-1",3,"value","readonly","valueChange","commit"],["color","primary","format","fill","size","small","title","Create issue","matTooltip","(Shortcut: Enter)",3,"disabled","onAction"],["format","flat","size","small","title","Cancel","matTooltip","(Shortcut: Esc)",3,"disabled","onAction"],["mat-header-row",""],["mat-row","","selectionPreventsClick",
"",1,"clickable",3,"row","click","mouseup","focusin","keydown"],["mat-row","",3,"row","focusin","keydown"],["mat-row","","cdkTrapFocus","",1,"draft",3,"row","keydown","keydown.escape","keydown.backspace","focusin"]],template:function(a,b){a&1&&(H(0,"table",0),L(1,1),R(2,fwb,1,0,"th",2),R(3,gwb,2,0,"td",3),M(),L(4,4),R(5,hwb,1,0,"th",2),R(6,iwb,3,0,"td",5),M(),L(7,6),R(8,jwb,2,0,"th",2),R(9,kwb,2,1,"td",7),M(),L(10,8),R(11,lwb,2,0,"th",2),R(12,mwb,2,0,"td",7),M(),L(13,9),R(14,nwb,2,0,"th",2),R(15,
owb,4,8,"td",7),M(),L(16,10),R(17,pwb,2,0,"th",2),R(18,qwb,3,3,"td",7),M(),L(19,11),R(20,rwb,2,0,"th",2),R(21,swb,3,3,"td",7),M(),L(22,12),R(23,twb,2,0,"th",2),R(24,uwb,3,3,"td",7),M(),L(25,13),R(26,vwb,2,0,"th",2),R(27,wwb,3,3,"td",7),M(),L(28,14),R(29,xwb,1,0,"th",2),R(30,ywb,2,1,"td",7),M(),L(31,15),R(32,zwb,1,0,"th",2),R(33,Cwb,4,2,"td",16),M(),L(34,17),R(35,Dwb,6,7,"td",18),M(),L(36,19),R(37,Ewb,2,0,"th",2),R(38,Fwb,7,6,"td",18),M(),R(39,Gwb,1,0,"tr",20),R(40,Hwb,3,12,"tr",21),R(41,Iwb,1,4,"tr",
22),R(42,Jwb,1,2,"tr",23),J(),K(43,"div",24)(44,"div",25)(45,"div",26));a&2&&(G("dataSource",b.rows$)("trackBy",b.trackBy),C(39),G("matHeaderRowDef",b.tableColumns),C(1),G("matRowDefColumns",b.tableColumns)("matRowDefWhen",b.isDataRow),C(1),G("matRowDefColumns",Ye(9,Vkd))("matRowDefWhen",b.isLoadMoreRow),C(1),G("matRowDefColumns",b.getDraftColumns())("matRowDefWhen",b.isDraftRow))},dependencies:[Wv,Tu,jz,FL,xL,BL,yL,wL,CL,zL,AL,DL,EL,XA,RK,CK,qP,aN,DK,mM,GK,JK,QK,oN,SK,SL,uM,Zu],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 t9=function(a,b,c,d,e){kE.call(this);var g=this;this.issueFridge=a;this.butterBar=b;this.analytics=c;this.refreshMonitor=d;this.issueRelationshipsFridge=e;this.parentIssueIds$=new F.BehaviorSubject([]);this.filters=[];this.editIssueDependencies=oya;this.tableColumns=Lkd;this.getMenuItems=function(h){return[{type:"action",label:"Unlink parent",action:function(){return Ykd(g,h)},title:"Unlink parent",icon:"link"}]};this.showError=function(h){return function(l){XF(g.butterBar,h+". "+(Bk(l)?Ck(l):
l))}};this.subscriptions.add(this.refreshMonitor.getObservable().subscribe(function(){for(var h=k(g.parentIssueIds$.value),l=h.next();!l.done;l=h.next())g.issueFridge.poke(l.value)}))};V(t9,kE);t9.\u0275dir=kE.\u0275dir;t9.prototype.ngOnInit=function(){};
var Ykd=function(a,b){var c;return Ld(function(d){a.analytics.trackEvent(Yl.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)})};gg.Object.defineProperties(t9.prototype,{parentIds:{configurable:!0,enumerable:!0,set:function(a){this.parentIssueIds$.next(null!=a?a:[])}},filteredRowCount$:{configurable:!0,enumerable:!0,get:function(){return this.issuesTable.filteredRowCount$}}});
t9.\u0275fac=function(a){return new (a||t9)(D(IH),D(VF),D(AH),D(GH),D(PH))};
t9.\u0275cmp=zc({type:t9,selectors:[["b-parents-table"]],viewQuery:function(a,b){a&1&&jf(LT,5);if(a&2){var c;hf(c=lf())&&(b.issuesTable=c.first)}},inputs:{parentIds:"parentIds",filters:"filters",issueId:"issueId"},features:[xe],decls:2,vars:3,consts:[[4,"ngIf"],[3,"issueIds","tableColumns","filters","issueUrlFactory","menuItemFactory"]],template:function(a,b){a&1&&(R(0,Kwb,2,5,"ng-container",0),T(1,"async"));a&2&&G("ngIf",U(1,1,b.parentIssueIds$))},dependencies:[Tu,LT,Zu],encapsulation:2,changeDetection:0});var u9=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 tu;this.onConfirm=new tu;this.onCancel=new tu;this.internalSelectedOptions=new IJ};u9.prototype.confirm=function(a){this.onConfirm.emit(new Set(this.internalSelectedOptions));a.close()};u9.prototype.cancel=function(a){this.onCancel.emit();a.close()};
gg.Object.defineProperties(u9.prototype,{selectedOptions:{configurable:!0,enumerable:!0,set:function(a){this.internalSelectedOptions.reset(a)}}});u9.\u0275fac=function(a){return new (a||u9)};
u9.\u0275cmp=zc({type:u9,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=x();H(0,"button",0,1);O("click",function(){z(c);var e=Se(1),g;null!=(g=e.isOpen)&&g?e.close():e.open();return A()});T(2,"async");K(3,"mat-icon",2);R(4,Mwb,3,3,"ng-container",3);J();H(5,"onedev-popup-panel",
4,5)(7,"div",6);R(8,Nwb,2,1,"h1",7);R(9,Qwb,7,5,"div",8);R(10,Rwb,7,2,"ng-container",3);J()()}if(a&2){var d=Se(6);Ie("large","large"===b.buttonSize)("small","small"===b.buttonSize);G("onedevPopupPanelTriggerFor",d)("color",b.showActiveState&&U(2,13,b.internalSelectedOptions.size$)?"primary":null)("matTooltip",b.buttonTooltip);Ae("aria-label",b.buttonAriaLabel);C(3);G("svgIcon",b.buttonSvgIcon);C(1);G("ngIf",b.showActiveState);C(4);G("ngIf",b.overlayTitle);C(1);G("ngForOf",b.options);C(1);G("ngIf",
b.showActionButtons)}},dependencies:[Su,Tu,yy,jz,VN,TL,XA,hM,iM,Zu],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 Xwb=function(a){return{filteredCount:a}},Zkd=function(){return[]},v9=function(a,b,c,d,e,g,h,l,q,v,y,B,I){kE.call(this);var N=this;this.brain=a;this.issuePicker=b;this.issueRelationshipsFridge=c;this.issueFridge=d;this.router=e;this.routePerformance=g;this.element=h;this.analytics=l;this.issuePermissionService=q;this.activeSession=v;this.counts=y;this.matDialog=B;this.butterBar=I;this.recallFilters=nH("deps-filters");this.saveFilters=Zm("deps-filters");this.isThinking$=(0,F.combineLatest)([this.issueFridge.saving$,
this.issueRelationshipsFridge.saving$]).pipe(E(function(Q){return Q.some(Boolean)}));this.issueId$=this.brain.id$.pipe(Zd(eh),E(Cl));this.issue$=this.brain.issueJs$.pipe(Zd(eh));this.parentIds$=this.issue$.pipe(E(function(Q){var Z;return null!=(Z=Q.issue.parentIssueIds)?Z:[]}));this.parentIssues$=this.parentIds$.pipe(pe(this.issueFridge.watchSet));this.parentsCount$=this.parentIssues$.pipe(E(function(Q){return Q.filter(exa).length}));this.childrenIds$=this.issueId$.pipe(pe(this.issueRelationshipsFridge.watch),
E(function(Q){var Z;return null!=(Z=null==Q?void 0:Q.relatedChildren.map(function(Y){return Y.targetIssueId}))?Z:[]}));this.totalDaysOpen$=this.issue$.pipe(E(function(Q){var Z,Y;return(null==(Z=Xwa(Q))?void 0:null==(Y=Z.effort)?void 0:Y.totalOpen)||0}));this.totalDaysComplete$=this.issue$.pipe(E(function(Q){var Z,Y;return(null==(Z=Xwa(Q))?void 0:null==(Y=Z.effort)?void 0:Y.totalComplete)||0}));this.unarchivedChildIssueCount$=this.childrenIds$.pipe(E(function(Q){return Q.length}));this.isTotalEstimatesEnabled=
iE(this.activeSession,"enableAggregationRules");this.isNonPublicSession=this.activeSession.isNonPublicSession();this.totalDaysCount$=(0,F.combineLatest)([this.totalDaysOpen$,this.totalDaysComplete$]).pipe(E(function(Q){var Z=k(Q);Q=Z.next().value;Z=Z.next().value;return Q+Z}));this.totalDaysDisplayPercent$=pxb(this.totalDaysComplete$,this.totalDaysCount$);this.progressHovercardContent$=(0,F.combineLatest)([this.totalDaysComplete$,this.totalDaysOpen$,this.totalDaysDisplayPercent$]).pipe(E(function(Q){var Z=
k(Q);Q=Z.next().value;var Y=Z.next().value;Z=Z.next().value;return qxb(Math.round(100*Q)/100)+" completed | "+qxb(Math.round(100*Y)/100)+" open | "+Z+"% completed"}));this.canEdit$=this.issuePermissionService.hasAclToEdit$;this.rowCreated$=new F.Subject;this.issueFilters=new IJ;this.ISSUE_FILTER_OPTIONS=[{key:Zl.OPEN.key,title:Zl.OPEN.displayAs,description:"Hides closed issues"},{key:Zl.ASSIGNED_TO_ME.key,title:Zl.ASSIGNED_TO_ME.displayAs,description:"Hides issues not assigned to me"}];(0,F.firstValueFrom)(E$a("b-issue-relations-table tr .mat-column-title a",
this.element.nativeElement).pipe(qe((0,F.merge)(this.destroyed$,this.rowCreated$)))).then(function(){var Q=function(){Q_c(N.routePerformance,"issue-details-w-tree")};requestAnimationFrame(Q);setTimeout(Q)}).catch(function(){});try{this.issueFilters.reset(this.recallFilters().filter(lLa))}catch(Q){}this.subscriptions.add(this.issueFilters.value$.subscribe(function(Q){N.saveFilters([].concat(Jc(Q)))}))};V(v9,kE);v9.\u0275dir=kE.\u0275dir;
var lxb=function(a){var b,c;return Ld(function(d){if(1==d.nextAddress)return a.analytics.trackEvent(Yl.EDIT_ISSUE,"update","add-parent"),d.yield((0,F.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){$kd(a,c,e)}),0)})},$kd=function(a,b,c){var d=k(c).next().value,e,g,h,l;Ld(function(q){if(1==q.nextAddress)return(e=d)?q.yield(a.issueRelationshipsFridge.assignParentToOneIssue(e,
b),2):q.return();g=q.yieldResult;h=g.errors;return(null==(l=h)?0:l.length)?(XF(a.butterBar,"Could not add parent"),q.return()):q.yield(a.issueFridge.poke(b),0)})};v9.prototype.shouldResetFilters=function(){this.issueFilters.reset([])};v9.prototype.addChild=function(){this.rowCreated$.next();var a;null==(a=this.relationsTable)||a.addExistingChild()};v9.prototype.createChild=function(){this.rowCreated$.next();var a;null==(a=this.relationsTable)||a.createChildIssue()};
v9.\u0275fac=function(a){return new (a||v9)(D(xJ),D(fP),D(PH),D(IH),D(GG),D(Y1),D(fd),D(AH),D(zJ),D(rp),D(q9),D(Ly),D(VF))};
v9.\u0275cmp=zc({type:v9,selectors:[["b-issue-dependencies"]],viewQuery:function(a,b){a&1&&(jf(s9,5),jf(r9,5),jf(t9,5));if(a&2){var c;hf(c=lf())&&(b.relationsTable=c.first);hf(c=lf())&&(b.blockersTable=c.first);hf(c=lf())&&(b.parentsTable=c.first)}},features:[xe],decls:15,vars:13,consts:[[1,"status","flex-kids-x","gap-s","align-items-center","justify-flex-end"],[4,"ngIf"],["buttonSize","small","buttonSvgIcon","filter-alt","buttonTooltip","Filter issues","buttonAriaLabel","Filter issues","overlayTitle",
"Only show issues that are",3,"options","selectedOptions","showActionButtons","showActiveState","onChange"],["mat-icon-button","","matTooltip","Learn more","aria-label","Open dialog to learn more about the Dependencies tab",1,"small",3,"click"],["svgIcon","info",1,"icon-s"],["class","pos-rel carded margined-s bg-main flex-kids-y gap-l",4,"ngIf"],["filterInfo",""],["addParent",""],["addChildren",""],[1,"pos-rel","carded","margined-s","bg-main","flex-kids-y","gap-l"],[1,"parents"],[1,"table-header",
"flex-kids-x","align-items-center"],[1,"muted","margin-s-y","flex-kids-x","align-items-center"],["role","status",1,"b-chip","nowrap","squared","xs","keep-focus-ring"],["svgIcon","arrow_upward_24px",1,"icon-xxs"],[3,"issueId","parentIds","filters",4,"ngIf","ngIfElse"],["noParentsState",""],[3,"filters","shouldResetFilters"],[1,"table-header","child-issue-header","flex-kids-x","align-items-center"],["role","status","tabindex","0","matTooltip","Use child issues to break down this issue into smaller units of work.",
1,"b-chip","nowrap","squared","xs","keep-focus-ring"],["svgIcon","account_tree_24px",1,"icon-xxs"],["class","progress-header",4,"ngIf"],[3,"rootIssueId","filters"],[4,"ngTemplateOutlet"],[3,"issueId","parentIds","filters"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"muted"],[1,"progress-header"],[1,"flex-kids-x","align-items-center"],[1,"margin-s-right"],[1,"label"],[1,"progress","margin-s-right",3,"onedevHovercardTrigger"],[1,"completion"],["progressHovercard","onedevHovercard"],["role",
"dialog",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body","progress-hover-card"],["svgIcon","info","aria-hidden","false","aria-label","The progress of child issues takes into consideration all child issues and descendant issues\n                  which have estimation data. If a child issue doesn\u2019t have an estimate, their progress is\n                  not reflected in the progress bar.",1,"icon-s",3,"onedevHovercardTrigger"],["effortHovercard","onedevHovercard"],[1,"onedev-hovercard-body"],
["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),R(1,Swb,1,0,"b-spinner",
1),T(2,"async"),H(3,"select-menu",2),O("onChange",function(d){return b.issueFilters.reset(d)}),T(4,"async"),J(),H(5,"button",3),O("click",function(){b.matDialog.open(Ukd,{maxWidth:"1300px",width:"90%"})}),K(6,"mat-icon",4),J()(),R(7,ixb,40,45,"div",5),T(8,"async"),R(9,kxb,1,1,"ng-template",null,6,of),R(11,mxb,3,3,"ng-template",null,7,of),R(13,oxb,4,4,"ng-template",null,8,of));if(a&2){var c;C(1);G("ngIf",U(2,6,b.isThinking$));C(2);G("options",b.ISSUE_FILTER_OPTIONS)("selectedOptions",null!==(c=U(4,
8,b.issueFilters.value$))&&void 0!==c?c:Ye(12,Zkd))("showActionButtons",!1)("showActiveState",!0);C(4);G("ngIf",U(8,10,b.issueId$))}},dependencies:[Tu,Yu,yy,jz,QJ,VJ,XA,qP,u9,SL,r9,s9,t9,Zu,ev],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 ald=function(){};ald.\u0275fac=function(a){return new (a||ald)};ald.\u0275mod=Bc({type:ald});ald.\u0275inj=oc({imports:[MF,WB,zO,mU,YA,zC,jM]});var bld=function(){};bld.\u0275fac=function(a){return new (a||bld)};bld.\u0275mod=Bc({type:bld});bld.\u0275inj=oc({imports:[dx,Uw,Hw,MF,Qv,cN,WB,Qy,YA,MT,MN,RM,zC,Rv,MG,mT,uN,HT,VO,NT,wN,ald,yO,yN,vM]});var cld={BLOCKED_BY_ISSUES:"blocked_by",PARENT_ISSUES:"parent"},w9=function(a,b){kE.call(this);var c=this;this.issueFridge=a;this.router=b;this.STATUS_TERSE=bF;this.URLS=jp;this.ListIssuesHovercardMode=cld;this.mode="blocked_by";this.currentIssueId="";this.issueIds$=new F.ReplaySubject(1);this.init=new F.ReplaySubject(1);this.issues$=this.issueIds$.pipe(Zd(eh),pe(this.issueFridge.watchSet),E(function(d){return"parent"===c.mode?d.filter(exa):d.filter(lk)}))};V(w9,kE);w9.\u0275dir=kE.\u0275dir;
w9.prototype.convertIssueStatusStrToTag=function(a){return Zh[a]};w9.prototype.priorityClass=function(a){switch(a){case "P0":return"high p0";case "P1":return"high";default:return"low"}};var wxb=function(a){var b;null==(b=a.hovercardInstance)||b.closeHovercard$.next();a.issueIds$.subscribe(function(c){c=null!=c?c:[];for(var d="id:(",e=k(c.entries()),g=e.next();!g.done;g=e.next()){var h=k(g.value);g=h.next().value;h=h.next().value;d+=h;d=g<c.length-1?d+"|":d+")"}a.router.navigate([jp.ISSUE_LIST],{queryParams:{q:d}})})};
w9.prototype.ngOnInit=function(){var a=this;this.issues$.pipe(qe(this.destroyed$)).subscribe(function(){a.init.next()})};gg.Object.defineProperties(w9.prototype,{issueIds:{configurable:!0,enumerable:!0,set:function(a){this.issueIds$.next(a)}}});w9.\u0275fac=function(a){return new (a||w9)(D(IH),D(GG))};
w9.\u0275cmp=zc({type:w9,selectors:[["b-list-issues-card"]],inputs:{mode:"mode",currentIssueId:"currentIssueId",issueIds:"issueIds",hovercardInstance:"hovercardInstance"},outputs:{init:"init"},features:[xe],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),R(1,rxb,5,3,"div",1),R(2,sxb,5,3,"div",1),R(3,zxb,4,3,"div",2),T(4,"async"),
J());a&2&&(C(1),G("ngIf",b.mode===b.ListIssuesHovercardMode.PARENT_ISSUES),C(1),G("ngIf",b.mode===b.ListIssuesHovercardMode.BLOCKED_BY_ISSUES),C(1),G("ngIf",U(4,3,b.issues$)))},dependencies:[Ru,Su,Tu,yy,jz,IG,Zu],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 x9=function(a,b){this.issueDigestsApi=a;this.paths=b;this.ancestors=new Map;this.issueId="";this.ListIssuesHovercardMode=cld;this.reorderedAncestors=[];this.issueIdToTitle=new Map;this.multiParentIssueIds=[]};x9.prototype.ngOnChanges=function(a){var b=this;a.ancestors&&dld(this).then(function(c){b.issueIdToTitle=c})};x9.prototype.getIssueLink=function(a){return this.paths.editIssue(a)};
var dld=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,F.firstValueFrom)(a.issueDigestsApi.getAll(new Set(a.reorderedAncestors)).pipe(E(function(c){var d=new Map;c=k(c);for(var e=c.next();!e.done;e=c.next())e=e.value,d.set(e.issueId,e.title);return d})))};
x9.\u0275fac=function(a){return new (a||x9)(D(M8),D(OG))};
x9.\u0275cmp=zc({type:x9,selectors:[["ancestors-breadcrumbs"]],inputs:{ancestors:"ancestors",issueId:"issueId"},features:[Mc],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&&(K(0,"mat-icon",0),R(1,Cxb,7,4,"ng-container",1),R(2,Dxb,4,5,"ng-container",2));a&2&&(C(1),G("ngIf",1<b.multiParentIssueIds.length),C(1),G("ngForOf",b.reorderedAncestors))},dependencies:[Su,Tu,jz,KL,QJ,RJ,VJ,SJ,w9],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 y9=function(a,b,c){var d=this;this.componentFridge=a;this.issueEditComponentService=b;this.currentTracker=c;this.componentId$=new F.ReplaySubject(1);this.viewOnly=!1;this.compactMode$=new F.BehaviorSubject(!1);this.editing=!1;this.component$=this.componentId$.pipe(pe(function(e){return d.componentFridge.watch(e).pipe(oe(void 0))}));this.isArchived$=this.component$.pipe(E(function(e){return null==e?void 0:e.archived}));this.componentPath$=(0,F.combineLatest)([this.componentId$,this.component$,
this.compactMode$]).pipe(E(function(e){var g=k(e);e=g.next().value;var h=g.next().value;g=g.next().value;if(null==h)return D5a({componentPathId:[Number(e)]});e=dp(d.currentTracker,h.componentPathInfo);e=D5a(e);if(g){g=[];h=0;for(var l=e.length-1;0<=l;l--){var q=e[l],v=l===e.length-1?48:32;if(h>=v)break;var y=String(q.name),B=void 0;if(h+[].concat(Jc(y)).length>v){var I=v-h;v="";y=void 0===y?"":y;I=void 0===I?48:I;v=void 0===v?"...":v;B=[].concat(Jc(y));B.length<=I||(y=I-[].concat(Jc(v)).length,y=
B.slice(-y).join(""),null!=String.prototype.trimStart&&(y=y.trimStart()),y=v+y);B=!0}h+=[].concat(Jc(y)).length;g.unshift(Object.assign({},q,{name:y,isTruncated:B}));if(B)break}e.length>g.length&&(g[0].isSpliced=!0);e=g}return e}));this.isEmpty$=this.component$.pipe(E(function(e){return!e}));this.isThinkingAndEmpty$=(0,F.combineLatest)([this.componentFridge.thinking$,this.isEmpty$]).pipe(E(function(e){var g=k(e);e=g.next().value;g=g.next().value;return e&&g}));this.isReady$=this.isThinkingAndEmpty$.pipe(E(function(e){return!e}))};
y9.prototype.ngOnInit=function(){};gg.Object.defineProperties(y9.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)}}});y9.\u0275fac=function(a){return new (a||y9)(D(xF),D(LQ),D(LK))};
y9.\u0275cmp=zc({type:y9,selectors:[["b-component-breadcrumb-chip"]],inputs:{componentId:"componentId",issueId:"issueId",viewOnly:"viewOnly",popoutLink:"popoutLink",compactMode:"compactMode"},decls:3,vars:2,consts:[[3,"isReady",4,"ngIf","ngIfElse"],["componentPicker",""],[3,"isReady"],[1,"b-chip","squared","s"],["title","Component folder path",1,"icon-xs",3,"svgIcon"],["class","component-path",4,"ngIf"],[4,"ngIf"],["mat-icon-button","","class","edit-btn","aria-label","Change Component","matTooltip",
"Change Component",3,"click",4,"ngIf"],["mat-icon-button","","class","gmat-button small pop-out-btn","aria-label","View Component (Link opens in a new window)","matTooltip","View Component","target","_blank",3,"routerLinkObj",4,"ngIf"],[1,"component-path"],[4,"ngFor","ngForOf"],["href","javascript:void(0);","title","Show all Components","class","subtle-link",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",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&&(R(0,Qxb,10,12,"b-async-data-placeholder",0),R(1,Sxb,2,5,"ng-template",null,1,of));if(a&2){var c=Se(2);G("ngIf",!b.editing)("ngIfElse",c)}},dependencies:[CK,Su,Tu,yy,zy,jz,sV,QJ,RJ,VJ,SJ,XA,D8,sN,Zu],styles:["[_nghost-%COMP%]     b-async-data-placeholder{display:inline-block;height:22px}a[_ngcontent-%COMP%], .view-only-component[_ngcontent-%COMP%], mat-icon[_ngcontent-%COMP%], .edit-btn[_ngcontent-%COMP%], .pop-out-btn[_ngcontent-%COMP%]{vertical-align:middle}mat-icon[_ngcontent-%COMP%]:first-of-type{margin-right:3px}.b-chip[_ngcontent-%COMP%]{margin-right:0}.edit-btn[_ngcontent-%COMP%], .pop-out-btn[_ngcontent-%COMP%]{height:22px;width:22px;line-height:22px;margin-right:-4px;margin-left:4px;border-radius:4px;border-top-left-radius:0;border-bottom-left-radius:0;border-left:1px solid;border-left-color:#fff;border-left-color:var(--background)}.edit-btn[_ngcontent-%COMP%]:hover, .pop-out-btn[_ngcontent-%COMP%]:hover{background-color:rgba(0,0,0,.12);background-color:var(--focus-bg)}.edit-btn[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%], .pop-out-btn[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{margin-top:-3px}.issue-editor-false   [_nghost-%COMP%]     .edit-btn{display:none}"],
changeDetection:0});var z9=function(a,b,c){this.issueFridge=a;this.hotlistFridge=b;this.hotlistPicker=c;this.issueId$=new F.ReplaySubject(1);this.issue$=this.issueId$.pipe(pe(this.issueFridge.watch));this.hotlistsOnIssue$=this.issue$.pipe(E(function(d){var e;return null!=(e=null==d?void 0:d.snapshot[0].hotlistId)?e:[]}));this.count$=this.hotlistsOnIssue$.pipe(E(function(d){return null==d?void 0:d.length}),oe(0));this.label$=this.count$.pipe(E(function(d){return 0<d?"Hotlists ("+d+")":"Hotlists"}));this.isDisabled$=this.hotlistFridge.saving$;
this.HOTKEYS=eM};z9.prototype.onClick=function(){sMc(this.hotlistPicker,this.issue$)};gg.Object.defineProperties(z9.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(String(a))}}});z9.\u0275fac=function(a){return new (a||z9)(D(IH),D(lH),D(CU))};
z9.\u0275cmp=zc({type:z9,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),O("onHotkey",function(){return b.onClick()})("click",function(){return b.onClick()}),T(1,"async"),S(2),T(3,"async"),J());a&2&&(G("hotkey",b.HOTKEYS.OPEN_HOTLIST_PICKER)("disabled",U(1,3,b.isDisabled$)),C(2),Te(" ",U(3,5,b.label$),"\n"))},dependencies:[yy,
dM,Zu],encapsulation:2});var eld=function(){this.availablePanels=new Set;this.iconOnly=!1;this.buttonClassname="";this.openSidebar=new tu};eld.\u0275fac=function(a){return new (a||eld)};
eld.\u0275cmp=zc({type:eld,selectors:[["b-insights-graph-menu"]],inputs:{availablePanels:"availablePanels",iconOnly:"iconOnly",buttonClassname:"buttonClassname"},outputs:{openSidebar:"openSidebar"},decls:14,vars:5,consts:[["mat-button","",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),O("click",function(){b.openSidebar.emit({panel:void 0})}),Xc(),H(1,"svg",1)(2,"g",2),K(3,"path",3)(4,"path",4)(5,"path",5)(6,"circle",6)(7,"circle",7)(8,"circle",8)(9,"circle",9)(10,"circle",10)(11,"circle",11)(12,"circle",12),J()(),R(13,Txb,2,0,"ng-container",13),J());a&2&&(Ie("icon-only-mode",b.iconOnly),
G("ngClass",b.buttonClassname)("disabled",0===b.availablePanels.size),C(13),G("ngIf",!b.iconOnly))},dependencies:[Ru,Tu,yy],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 fld=new Hc("DevopsGraphLogger",{providedIn:"root",factory:function(){return rg}}),gld=new Hc("DEV_GRAPH",{providedIn:"root",factory:function(){var a;return Ld(function(b){switch(b.nextAddress){case 1:return Md(b,2),b.yield(Uxb(),4);case 4:a=b.yieldResult;xp(b,3);break;case 2:return Pd(b),b.return();case 3:return Md(b,5),b.yield(a.loadGraph(),7);case 7:xp(b,6);break;case 5:return Pd(b),b.return();case 6:return b.return(google.corp.devops.tools.graph)}})}});var A9=function(a,b,c,d){var e=this;this.session=a;this.theme=b;this.logger=c;this.graphBuilder=d;this.open$=new F.Subject;this.close$=new F.Subject;this.getContainer=function(){return document.getElementById("graph-sidebar-host")};this.onGraphClose=function(){var g=e.getContainer();null!=g&&(g.classList.remove("open"),e.close$.next())};this.onGraphOpen=function(){var g=e.getContainer();null!=g&&(g.classList.add("open"),e.open$.next())};this.init()};
A9.prototype.init=function(){var a=this,b,c,d,e,g;return Ld(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=Vxb(a.session.getEnvironmentType());if(e=c.createService({environment:d}))g=a.theme.clientDarkmodeSubject.getValue(),a.graphService=e,a.graphController=e.createController({element:b,onClose:a.onGraphClose,onOpen:a.onGraphOpen,theme:g?"dark":void 0}),a.theme.clientDarkmode$.subscribe(function(l){var q;
null==(q=a.graphController)||q.setTheme(l?"dark":"light")});Qd(h)})};var hld=function(a,b){var c;return Ld(function(d){switch(d.nextAddress){case 1:return Md(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:xp(d,0);break;case 2:return c=Pd(d),a.logger(c),d.return(new Set)}})};
A9.prototype.openSidebar=function(a,b){var c=this,d;return Ld(function(e){switch(e.nextAddress){case 1:return e.yield(c.init(),2);case 2:if(!c.graphController)return e.return();Md(e,3);return e.yield(c.graphController.openIssueContext(Number(a),b),5);case 5:xp(e,0);break;case 3:d=Pd(e),c.logger(d),Qd(e)}})};
A9.prototype.close=function(){var a=this,b;return Ld(function(c){switch(c.nextAddress){case 1:return c.yield(a.init(),2);case 2:if(!a.graphController)return c.return();Md(c,3);return c.yield(a.graphController.close(),5);case 5:xp(c,0);break;case 3:b=Pd(c),a.logger(b),Qd(c)}})};A9.\u0275fac=function(a){return new (a||A9)(w(rp),w(vQ),w(fld),w(gld))};A9.\u0275prov=nc({token:A9,factory:A9.\u0275fac,providedIn:"root"});var B9=function(a,b,c,d,e,g,h){kE.call(this);var l=this;this.devopsGraph=a;this.paramsService=b;this.analytics=c;this.butterBar=d;this.router=e;this.route=g;this.activeSession=h;this.id$=this.paramsService.issueId$;this.contexts$=this.id$.pipe(pe(function(q){return Ld(function(v){return null!=l.devopsGraph.getContainer()&&q?v.return(hld(l.devopsGraph,q).then(function(y){return{issueId:q,availablePanels:y}})):v.return(void 0)})}),ne({refCount:!1,bufferSize:1}));this.availablePanels$=this.contexts$.pipe(E(function(q){return q?
q.availablePanels:new Set}));this.shouldShowInsightsGraphMenu$=this.contexts$.pipe(E(function(q){return!!q&&0<q.availablePanels.size&&l.activeSession.isInternalSession()&&null!=l.devopsGraph.getContainer()}));this.shouldShowInsightsGraphButton$=this.contexts$.pipe(E(function(q){return!!q&&0<q.availablePanels.size&&l.activeSession.isInternalSession()&&null!=l.devopsGraph.getContainer()&&q.availablePanels.has("deployments")}));this.openSidebar.bind(this);this.subscriptions.add(this.contexts$.subscribe(function(q){if(q){q=
q.availablePanels;l.track("ingress-view-"+(0<q.size?"enabled":"disabled"));q.has("deployments")&&l.track("ingress-view-deployments-enabled");var v=l.paramsService.params.showInsights;v&&("default"===v?0<q.size?l.openSidebar():XF(l.butterBar,"Could not open Insights Sidebar: no data for this issue. See go/g3g-guide-buganizer."):q.has(v)?l.openSidebar(v):XF(l.butterBar,"Could not open "+v+" Insights Sidebar: no data for this issue. See go/g3g-guide-buganizer."))}else l.devopsGraph.close()}));this.subscriptions.add(this.devopsGraph.close$.subscribe(function(){ild(l,
null)}))};V(B9,kE);B9.\u0275dir=kE.\u0275dir;B9.prototype.openSidebar=function(a){var b=this,c,d,e,g;return Ld(function(h){c=ol(b.contexts$);if(!c)return h.return();d=c;e=d.issueId;ild(b,null!=(g=a)?g:"default");return h.return(b.devopsGraph.openSidebar(e,{panel:a}))})};B9.prototype.track=function(a){this.analytics.trackEvent("sidebar",a)};var ild=function(a,b){a.router.navigate([],{relativeTo:a.route,queryParams:{showInsights:b},queryParamsHandling:"merge",replaceUrl:!0,preserveFragment:!0})};
B9.\u0275fac=function(a){return new (a||B9)(w(A9),w(pJ),w(AH),w(VF),w(GG),w(Sk),w(rp))};B9.\u0275prov=nc({token:B9,factory:B9.\u0275fac,providedIn:"root"});var jld=function(a){this.issueInsightsSidebarService=a;this.iconOnly=!1;this.buttonClassname="";this.availablePanels$=this.issueInsightsSidebarService.availablePanels$;this.shouldShowInsightsGraphMenu$=this.issueInsightsSidebarService.shouldShowInsightsGraphMenu$};jld.prototype.openSidebar=function(a){this.issueInsightsSidebarService.openSidebar(a)};jld.\u0275fac=function(a){return new (a||jld)(D(B9))};
jld.\u0275cmp=zc({type:jld,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&&(R(0,Xxb,3,3,"ng-container",0),T(1,"async"));a&2&&G("ngIf",U(1,1,b.availablePanels$))},dependencies:[Tu,eld,Zu],encapsulation:2,changeDetection:0});var kld=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()}}}},lld=function(a,b){return b.isInternal?{type:"action",label:"Request issue deletion...",title:"Request issue deletion",action:function(){a.requestIssueDeletion()}}:void 0},mld=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)}}},nld=function(a,b){if(b.isInternal&&!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 C9=function(){this.label=""};C9.prototype.toggle=function(){this.hovercardTrigger&&this.hovercardTrigger.toggle(!this.hovercardTrigger.isExpanded())};C9.\u0275fac=function(a){return new (a||C9)};
C9.\u0275cmp=zc({type:C9,selectors:[["help-hover"]],viewQuery:function(a,b){a&1&&jf(VJ,5);if(a&2){var c;hf(c=lf())&&(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),R(4,Zxb,2,1,"ng-container",3),J()()(),K(5,"mat-icon",4));if(a&2){var c=Se(1);C(2);Ae("aria-label",b.label);C(2);G("ngIf",b.content);C(1);G("onedevHovercardTrigger",c)}},dependencies:[Tu,Yu,jz,QJ,VJ],encapsulation:2});var old=function(){};old.\u0275fac=function(a){return new (a||old)};old.\u0275mod=Bc({type:old});old.\u0275inj=oc({imports:[MF,YA,cN]});var D9=function(a,b,c,d,e,g,h,l,q){kE.call(this);this.issueFridge=a;this.issuePermissionService=b;this.activeSession=c;this.appEvents=d;this.issueArchiveService=e;this.domSafe=g;this.editIssueService=h;this.matDialogService=l;this.analytics=q;this.issueId$=new F.ReplaySubject(1);this.retentionEnabled=this.activeSession.isInternalSession();this.HOTKEYS=eM;this.issue$=this.issueId$.pipe(pe(this.issueFridge.watch));this.issueDerivedProperties$=this.issue$.pipe(E(function(v){var y,B,I,N,Q,Z,Y;return{modifiedTimeMilliseconds:null!=
(null==v?void 0:null==(y=v.aggregatedData)?void 0:y.modifiedTimeMicros)?v.aggregatedData.modifiedTimeMicros/1E3:void 0,voted:null!=(Z=null==v?void 0:null==(B=v.userData)?void 0:B.voted)?Z:!1,voteCount:null!=(Y=null==v?void 0:null==(I=v.aggregatedData)?void 0:I.voteCount)?Y:0,notificationSubscription:bh(null==v?void 0:null==(N=v.userData)?void 0:N.notificationSubscription),retentionState:null==v?void 0:null==(Q=v.aggregatedData)?void 0:Q.retentionState}}));this.menuItems$=pld(this);this.state$=(0,F.combineLatest)([this.issueId$,
this.issueDerivedProperties$,this.menuItems$]).pipe(E(function(v){var y=k(v);v=y.next().value;var B=y.next().value;y=y.next().value;return Object.assign({},{issueId:v},B,{menuItems:y})}))};V(D9,kE);D9.\u0275dir=kE.\u0275dir;f=D9.prototype;f.updateSubscription=function(a){var b=this,c;return Ld(function(d){if(1==d.nextAddress)return(c=ol(b.issueId$))?d.yield(b.editIssueService.updateSubscription(c,a),2):d.return();b.analytics.trackEvent(Yl.EDIT_ISSUE,"updateSubscription",a);Qd(d)})};
f.showNotificationSettings=function(a){this.appEvents.topBarEvents.openSettings.next({newTab:a.ctrlKey||a.metaKey,settingsTabName:"notifications"})};f.showIndefiniteRetentionDialog=function(a){var b=this,c;return Ld(function(d){return 1==d.nextAddress?b.editIssueService.savingState(a).get("retention")?d.return():d.yield((0,F.firstValueFrom)(Gy(b.matDialogService.open(yBc,{maxWidth:560}))),2):(c=d.yieldResult)?d.yield(b.editIssueService.updateIssueRetention(a,"INDEFINITE"),0):d.jumpTo(0)})};
f.showComponentRetentionDialog=function(a){var b=this,c;return Ld(function(d){return 1==d.nextAddress?b.editIssueService.savingState(a).get("retention")?d.return():d.yield((0,F.firstValueFrom)(Gy(b.matDialogService.open(uBc,{maxWidth:560}))),2):(c=d.yieldResult)?d.yield(b.editIssueService.updateIssueRetention(a,"COMPONENT_DEFAULT"),0):d.jumpTo(0)})};
f.showFlagAsSpamDialog=function(a){var b=this,c;return Ld(function(d){return 1==d.nextAddress?d.yield((0,F.firstValueFrom)(Gy(b.matDialogService.open(xBc,{maxWidth:560}))),2):(c=d.yieldResult)?d.yield(crc(b.editIssueService,String(a)),0):d.jumpTo(0)})};
var pld=function(a){var b={requestIssueDeletion:function(){a.domSafe.openInNewTab(ONa(a.activeSession.isInternalSession()))},showIndefiniteRetentionDialog:function(){var c=ol(a.issueId$);c&&a.showIndefiniteRetentionDialog(c)},showComponentRetentionDialog:function(){var c=ol(a.issueId$);c&&a.showComponentRetentionDialog(c)},submitArchivalState:function(c){var d=ol(a.issueId$);d&&a.issueArchiveService.submitArchivalState(d,c)},showFlagAsSpamDialog:function(){var c=ol(a.issueId$);c&&a.showFlagAsSpamDialog(c)}};
return(0,F.combineLatest)([a.issue$,a.issuePermissionService.userIsComponentAdmin$,a.issuePermissionService.issuePermissions$]).pipe(E(function(c){var d=k(c);c=d.next().value;var e=d.next().value,g;d={permissions:d.next().value,accessLevel:YCa(c),isArchived:null!=(g=null==c?void 0:c.isArchived)?g:!1,isDeleted:WCa(c),isInternal:a.activeSession.isInternalSession(),isComponentAdmin:e,retentionOverride:aDa(c),retentionState:dDa(c)};return[mld(b,d),nld(b,d),lld(b,d),kld(b,d)].filter(eh)}))};
gg.Object.defineProperties(D9.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a)}}});D9.\u0275fac=function(a){return new (a||D9)(D(IH),D(zJ),D(rp),D(cG),D(rP),D(rK),D(MJ),D(Ly),D(AH))};
D9.\u0275cmp=zc({type:D9,selectors:[["issue-actions"]],viewQuery:function(a,b){a&1&&jf(C9,5);if(a&2){var c;hf(c=lf())&&(b.helpHover=c.first)}},inputs:{issueId:"issueId"},features:[xe],decls:2,vars:3,consts:[[4,"ngIf"],[3,"issueId","voteCount","upvoted"],[3,"issueId"],[3,"issueId","hotkey","onHotkey"],["smartDupeBtn",""],["matTooltip","Notification menu","aria-label","Notification menu",3,"subscription","issueId","iconOnly","subscriptionChange","showNotificationSettings"],["buttonClassname","small",
3,"iconOnly"],["mat-icon-button","","aria-label","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&&(R(0,dyb,15,13,"ng-container",0),T(1,"async"));a&2&&G("ngIf",U(1,1,b.state$))},dependencies:[OO,Su,Tu,yy,jz,C9,dM,jld,PA,NA,OA,XA,x1,s0,r0,KU,z9,Zu],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 E9=function(a,b,c,d,e,g,h,l,q){kE.call(this);var v=this;this.issueDetailsBrain=a;this.issuePagination=b;this.issueFridge=c;this.componentFridge=d;this.issueInteractionsTracking=e;this.bLocation=g;this.paths=h;this.refreshMonitor=l;this.butterBar=q;this.internalSearchResults$=new F.BehaviorSubject(null);this.searchResults$=this.internalSearchResults$.pipe(fe(),pe(function(y){return y?y.changed$:(0,F.of)(null)}));this.issueIds$=this.searchResults$.pipe(E(function(y){var B;return null!=(B=null==
y?void 0:y.issues.map(function(I){return I.id}).map(Cl))?B:[]}),fe(Fg));this.issues$=this.issueIds$.pipe(pe(function(y){return(0,F.combineLatest)(y.map(function(B){return v.issueFridge.watch(B,{trustUncertainMemory:!0})}))}),pe(function(y){return(0,F.combineLatest)(y.map(function(B){return v.componentFridge.watch(String(null==B?void 0:B.snapshot[0].componentId),{trustUncertainMemory:!0}).pipe(E(function(I){return{issue:B,component:I}}))}))}));this.issueId$=this.issueDetailsBrain.id$;this.totalText$=
this.searchResults$.pipe(E(function(y){var B;return null!=(B=null==y?void 0:y.totalText)?B:""}));this.backNavigationLabel$=this.searchResults$.pipe(E(function(y){return(null==y?0:y.params.returnUrl)?"Back to previous search":"Go home"}));this.issueIndex$=(0,F.combineLatest)([this.searchResults$,this.issueId$]).pipe(E(function(y){var B=k(y);y=B.next().value;B=B.next().value;var I;return null!=(I=B&&(null==y?void 0:xX(y,B)))?I:-1}));this.hasPreviousIssue$=(0,F.combineLatest)([this.searchResults$,this.issueId$]).pipe(E(function(y){var B=
k(y);y=B.next().value;B=B.next().value;var I;if(I=B)null==y?y=0:(B=xX(y,B),y=null==B||-1===B?!1:B>y.startIndex||1<y.params.page),I=y;return!!I}));this.hasNextIssue$=(0,F.combineLatest)([this.searchResults$,this.issueId$]).pipe(E(function(y){var B=k(y);y=B.next().value;B=B.next().value;var I;if(I=B)null==y?y=0:(B=xX(y,B),y=null==B||-1===B?!1:B<y.endIndex||y.params.page<y.numPages),I=y;return!!I}));this.subscriptions.add(this.refreshMonitor.getObservable().subscribe(function(){qld(v)}));this.subscriptions.add(this.issueDetailsBrain.id$.subscribe(function(y){v.issueId=
y;qld(v)}));this.subscriptions.add(this.issues$.subscribe(function(y){var B=v.internalSearchResults$.value;B&&NQc(B,y.filter(function(I){var N=I.component;return I.issue&&N}))}))};V(E9,kE);E9.\u0275dir=kE.\u0275dir;
var rld=function(a){var b,c,d=null!=(c=null==(b=a.internalSearchResults$.value)?void 0:b.params.returnUrl)?c:"";a.issueInteractionsTracking.trackNavigation(""===d?"home":"up");a.bLocation.hash("");a.bLocation.url(d)},hyb=function(a){var b=ol(a.hasNextIssue$),c=ol(a.issueIndex$);b&&c&&sld(a,c+1)},gyb=function(a){var b=ol(a.hasPreviousIssue$),c=ol(a.issueIndex$);b&&c&&sld(a,c-1)},qld=function(a){var b,c,d;Ld(function(e){if(1==e.nextAddress)return e.yield(VQc(a.issuePagination).catch(eyb),2);b=e.yieldResult;
a.internalSearchResults$.next(null!=(c=b)?c:null);if(!b||!a.issueId)return e.return();d=xX(b,a.issueId);return-1===d?e.jumpTo(0):e.yield(WQc(a.issuePagination,d).catch(eyb),0)})},sld=function(a,b){WQc(a.issuePagination,b).then(function(c){a.bLocation.url(a.paths.editIssue(c))},function(){XF(a.butterBar,"Can't find issue id for index '"+b+"'")})};E9.\u0275fac=function(a){return new (a||E9)(w(xJ),w(yX),w(IH),w(xF),w(wJ),w(NG),w(OG),w(GH),w(VF))};E9.\u0275prov=nc({token:E9,factory:E9.\u0275fac,providedIn:"root"});var iyb=function(a){return{"invisible zero-width":a}},tld=function(a){this.currentSearchResults=a;this.HOTKEYS=eM};tld.\u0275fac=function(a){return new (a||tld)(D(E9))};
tld.\u0275cmp=zc({type:tld,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&&(R(0,jyb,9,12,"ng-container",0),T(1,"async"));a&2&&G("ngIf",U(1,1,b.currentSearchResults.issueIndex$))},dependencies:[Ru,Tu,yy,jz,dM,XA,Zu],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}\n/*# sourceMappingURL=pagination_one_issue.css.map */"],
changeDetection:0});var F9=function(a,b,c,d,e,g,h,l,q,v){kE.call(this);var y=this;this.errorHandler=a;this.issueApi=b;this.issueFridge=c;this.issuePermissionService=d;this.snackBar=e;this.dialogRef=g;this.data=h;this.analytics=l;this.activeSession=q;this.confirmationDialogService=v;this.defaultAccessLimitLevel="LIMIT_NONE";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(E(function(B){var I;return null!=(I=null==B?void 0:B.snapshot[0].issueAccessLimitLevel)?I:y.defaultAccessLimitLevel}));this.updatedAccessLimitLevel$=new F.BehaviorSubject(this.defaultAccessLimitLevel);this.hasSelectionChanged$=(0,F.combineLatest)([this.currentAccessLimitLevel$,this.updatedAccessLimitLevel$]).pipe(E(function(B){var I=k(B);B=I.next().value;I=I.next().value;
return B!==I}));this.expandedAccessTooltip$=this.isImplicitAccessEnabled$.pipe(E(function(B){return B?"This component has expanded access enabled. Assignees, verifiers, and collaborators can edit issues, and CC'd users can add comments.":"This component has expanded access disabled. Being listed on the issue does not confer any additional access privileges."}));this.didSave=function(){y.snackBar.open("Successfully saved access level",void 0,{duration:2500});y.issueFridge.poke(y.issueId)};this.currentUserEmail=
q.getUserEmail()};V(F9,kE);F9.\u0275dir=kE.\u0275dir;F9.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.currentAccessLimitLevel$.subscribe(function(b){a.updatedAccessLimitLevel$.next(b);uld(a,b)}));this.analytics.trackEvent(Yl.ISSUE_ACCESS_LIMITS,"view","issue_access_limits_dialog:"+this.issueId)};
var vld=function(a){return a?"Expanded access on":"Expanded access off"},wld=function(a,b){return b&&(iE(a.activeSession,"enableIssueAccessLimits")||a.activeSession.getIssueAccessLimitsComponentAllowlist().has(a.data.componentId))},uld=function(a,b){a.issueApi.getRetainedAccessPrincipals(a.issueId,b).then(function(c){a.writers=ih(c.writers);a.appenders=ih(c.appenders);a.readers=ih(c.readers)},function(c){aG(a.errorHandler,c)})};f=F9.prototype;
f.manageComponentAccessRouterLink=function(a){return{path:"/components/"+a+"/manage",fragment:"access"}};f.closeDialog=function(){this.dialogRef.close()};f.onEnter=function(){this.onPressSave()};f.onEscape=function(){this.dialogRef.close()};
f.onPressSave=function(){var a=this,b=Qsa({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:yl(c),onConfirm:function(){a.save()}})}};f.save=function(){var a=this;this.dialogRef.close();this.issueApi.updateAccessLimit(this.issueId,bh(this.updatedAccessLimitLevel$.value)).then(function(b){a.didSave(b);a.analytics.trackEvent(Yl.ISSUE_ACCESS_LIMITS,"update","issue_access_limits_dialog:"+a.updatedAccessLimitLevel$.value)},function(b){aG(a.errorHandler,b)})};f.onPressCancel=function(){this.dialogRef.close()};
F9.\u0275fac=function(a){return new (a||F9)(D(ZF),D(FE),D(IH),D(zJ),D(TF),D(Iy),D(Ky),D(AH),D(rp),D(OI))};
F9.\u0275cmp=zc({type:F9,selectors:[["b-issue-access-limits-dialog"]],hostBindings:function(a,b){a&1&&O("keydown.escape",function(){return b.onEscape()})},features:[xe],decls:35,vars:40,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"],[1,"limit-users-title"],["idForInputBox","Issue Editors","ariaLabel","Issue Editors",3,"users","includeAliases","includeViewAliases"],["idForInputBox","Issue Contributors","ariaLabel","Issue Contributors",3,"users","includeAliases","includeViewAliases"],["idForInputBox","Issue Viewers","ariaLabel","Issue Viewers",3,"users","includeAliases","includeViewAliases"],
["mat-dialog-actions",""],[4,"ngIf","ngIfElse"],["closeButton",""],["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),K(2,"mat-icon",2),J(),H(3,"h1",3),S(4,"Issue access level"),J()(),H(5,"div"),K(6,"b-component-breadcrumb-chip",4),H(7,"span",5),T(8,"async"),H(9,"span",6),S(10),
T(11,"async"),J(),K(12,"mat-icon",7),T(13,"async"),J()(),H(14,"b-issue-access-limits-dropdown",8),O("updatedAccessLimitLevel",function(l){b.updatedAccessLimitLevel$.next(l);uld(b,l)}),T(15,"async"),T(16,"async"),T(17,"async"),J(),H(18,"div")(19,"div",9),S(20,"Users who can edit, comment, and view"),J(),K(21,"b-multi-user-input",10),J(),H(22,"div")(23,"div",9),S(24,"Users who can comment and view"),J(),K(25,"b-multi-user-input",11),J(),H(26,"div")(27,"div",9),S(28,"Users who can only view"),J(),K(29,
"b-multi-user-input",12),J(),H(30,"div",13),R(31,kyb,6,3,"ng-container",14),T(32,"async"),R(33,lyb,2,0,"ng-template",null,15,of),J());if(a&2){var c=Se(34),d,e,g,h;C(6);G("issueId",b.issueId)("componentId",b.data.componentId)("compactMode",!0)("popoutLink",b.manageComponentAccessRouterLink)("viewOnly",!0);C(1);Ie("expanded-access-on",U(8,26,b.isImplicitAccessEnabled$));C(3);Ve(vld(null!==(d=U(11,28,b.isImplicitAccessEnabled$))&&void 0!==d?d:!1));C(2);G("matTooltip",null!==(e=U(13,30,b.expandedAccessTooltip$))&&
void 0!==e?e:"");C(2);G("disabled",!wld(b,U(15,32,b.hasAclToAdmin$)))("defaultAccessLimitLevel",null!==(g=U(16,34,b.currentAccessLimitLevel$))&&void 0!==g?g:b.defaultAccessLimitLevel)("implicitAccessEnabled",null!==(h=U(17,36,b.isImplicitAccessEnabled$))&&void 0!==h?h:!1);C(7);G("users",b.writers)("includeAliases",!1)("includeViewAliases",!1);Ae("disabled",!0);C(4);G("users",b.appenders)("includeAliases",!1)("includeViewAliases",!1);Ae("disabled",!0);C(4);G("users",b.readers)("includeAliases",!1)("includeViewAliases",
!1);Ae("disabled",!0);C(2);G("ngIf",wld(b,U(32,38,b.hasAclToAdmin$)))("ngIfElse",c)}},dependencies:[b0,Tu,yy,jz,y9,Py,XA,C0,Zu],styles:[".issue-limits-dialog-title-txt[_ngcontent-%COMP%]{padding:0 20px;font-size:1.4rem;line-height:2rem}.limit-users-title[_ngcontent-%COMP%]{font-weight:400;color:#202124;color:var(--text-default);padding-bottom:5px}.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}.expanded-access-txt[_ngcontent-%COMP%], .issue-limits-component-id[_ngcontent-%COMP%]{padding:5px}\n/*# sourceMappingURL=issue_access_limits_dialog.css.map */"]});
var G9=function(a){this.dialog=a};G9.prototype.open=function(a){this.dialog.open(F9,{panelClass:"no-jitter",data:a,ariaLabel:"Issue access level"})};G9.\u0275fac=function(a){return new (a||G9)(w(Ly))};G9.\u0275prov=nc({token:G9,factory:G9.\u0275fac,providedIn:"root"});var H9=function(a,b,c){this.documentationLinks=a;this.issueLimits=b;this.accessPolicyApi=c;this.implicitAccessEnabled=!1};H9.prototype.ngOnInit=function(){var a=this;this.accessPolicyApi.checkComponentImplicitAccessEnabled(Number(this.componentId)).then(function(b){return a.implicitAccessEnabled=b})};H9.prototype.toggleAccessLimits=function(){var a=this;return Ld(function(b){a.issueLimits.open({componentId:Number(a.componentId),issueId:a.issueId});Qd(b)})};
H9.prototype.toggleAccessLimitsWithKeystroke=function(a){this.toggleAccessLimits();a.stopPropagation();a.preventDefault()};H9.prototype.getAccessLimitLevelDisplay=function(a){return"LIMIT_APPEND"===a?"Commenting":"LIMIT_VIEW"===a||"LIMIT_VIEW_TRUSTED"===a?"Visibility":""};
var xld=function(a,b){if(b)a:if(a=a.implicitAccessEnabled,b===rXc.accessLevel)b=a?"Only added users + Googlers may access. The assignee, verifier and collaborators may edit. CCs can comment. Googler access is according to their component-level permissions.":"Only added users + Googlers may access. They have their normal access as defined by the component-level permissions.";else{for(var c=k(M9a),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?N9a.descriptionWithExpandedAccess:N9a.descriptionNoExpandedAccess}else b="";return b};H9.\u0275fac=function(a){return new (a||H9)(D(NI),D(G9),D(nG))};
H9.\u0275cmp=zc({type:H9,selectors:[["b-access-limits-chip"]],inputs:{issueId:"issueId",componentId:"componentId",accessLimitLevel:"accessLimitLevel"},decls:12,vars:4,consts:[["role","button",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),O("click",function(){return b.toggleAccessLimits()})("keydown.enter",function(d){return b.toggleAccessLimitsWithKeystroke(d)})("keydown.space",function(d){return b.toggleAccessLimitsWithKeystroke(d)}),K(1,"mat-icon",1),H(2,"span",2),S(3),J()(),H(4,"onedev-hovercard",null,3)(6,"div",4)(7,"div",5)(8,"span",6),S(9),H(10,"a",7),S(11," Learn more"),J()()()()());if(a&2){var c=Se(5);G("onedevHovercardTrigger",
c);C(3);Ve(b.getAccessLimitLevelDisplay(b.accessLimitLevel));C(6);Te(" Issue access is limited. ",xld(b,b.accessLimitLevel)," ");C(1);G("href",b.documentationLinks.getIssueAccessLimit(),vd)}},dependencies:[jz,QJ,VJ],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 yld=function(a){this.brain=a;this.INTERNAL="INTERNAL";this.issue$=this.brain.issueJs$.pipe(E(function(b){return null==b?void 0:b.issue}),Zd(eh));this.retentionState$=this.issue$.pipe(E(function(b){var c;return null==(c=b.aggregatedData)?void 0:c.retentionState}));this.modifiedTime$=this.issue$.pipe(E(function(b){var c;return(null==(c=b.aggregatedData)?0:c.modifiedTimeMicros)?b.aggregatedData.modifiedTimeMicros/1E3:void 0}),Zd(eh));this.accessLevel$=this.issue$.pipe(E(function(b){var c;return null==
(c=b.accessLimit)?void 0:c.accessLevel}),Zd(eh));this.issueAccessLimitLevel$=this.issue$.pipe(E(function(b){return b.snapshot[0].issueAccessLimitLevel}));this.issueId$=this.issue$.pipe(E(function(b){return b.issueId}));this.state$=(0,F.combineLatest)([this.retentionState$,this.issueAccessLimitLevel$,this.modifiedTime$,this.accessLevel$,this.issueId$,this.brain.componentId$]).pipe(E(function(b){var c=k(b);b=c.next().value;var d=c.next().value,e=c.next().value,g=c.next().value,h=c.next().value;c=c.next().value;
return{retentionState:b,isAccessLimited:"LIMIT_VIEW"===d||"LIMIT_APPEND"===d||"LIMIT_VIEW_TRUSTED"===d,isShowingRetention:null==(null==b?void 0:b.scheduledDeletionTime)?!1:jab(b),isShowingPublicPartner:"INTERNAL"!==g,modifiedTime:e,accessLevel:g,issueId:h,componentId:c,issueAccessLimitLevel:d}}))};yld.\u0275fac=function(a){return new (a||yld)(D(xJ))};
yld.\u0275cmp=zc({type:yld,selectors:[["issue-chip-indicators"]],decls:2,vars:3,consts:[[4,"ngIf"],["class","flex-kids-x gap-s margin-xs-right",4,"ngIf"],[1,"flex-kids-x","gap-s","margin-xs-right"],[3,"accessLevel",4,"ngIf"],[3,"issueId","componentId","accessLimitLevel",4,"ngIf"],[3,"retentionState","compactMode","modifiedTime",4,"ngIf"],[3,"accessLevel"],[3,"issueId","componentId","accessLimitLevel"],[3,"retentionState","compactMode","modifiedTime"]],template:function(a,b){a&1&&(R(0,qyb,2,1,"ng-container",
0),T(1,"async"));a&2&&G("ngIf",U(1,1,b.state$))},dependencies:[H9,Tu,HO,t0,Zu],encapsulation:2});var I9=function(a,b,c,d,e,g,h){kE.call(this);var l=this;this.issueFridge=a;this.issuePermissionService=b;this.router=c;this.refreshMonitor=d;this.currentSearchResults=e;this.currentTracker=g;this.eventsForIssueFridge=h;this.editTitleDisabled=this.starToggleDisabled=!1;this.issueId$=new F.ReplaySubject(1);this.internalIssueId="";this.isTeamLoaded=!1;this.ListIssuesHovercardMode=cld;this.blockedIdsToUrlQuery=function(q){if(!(2>q.length))return{q:"blockingid:"+l.issueId}};this.HOTKEYS=eM;this.issue$=
this.issueId$.pipe(pe(this.issueFridge.watch));this.issueTitle$=this.issue$.pipe(E(function(q){return null==q?void 0:q.snapshot[0].title}));this.starred$=this.issue$.pipe(E(function(q){var v;return bh(null==q?void 0:null==(v=q.userData)?void 0:v.starred)}));this.componentId$=this.issue$.pipe(E(function(q){return bh(null==q?void 0:q.snapshot[0].componentId)}));this.ancestors$=this.issue$.pipe(E(function(q){return bh(null==q?void 0:q.ancestors)}));this.hasAncestors$=this.ancestors$.pipe(E(function(q){return!!(q&&
0<q.size)}));this.teamId$=this.issue$.pipe(E(function(q){var v;return bh(null==q?void 0:null==(v=q.aggregatedData)?void 0:v.teamId)}));this.blockedByids$=this.issue$.pipe(E(function(q){var v;return null!=(v=null==q?void 0:q.snapshot[0].blockedByIssueId)?v:[]}));this.issuesBlockedByCount$=this.blockedByids$.pipe(pe(this.issueFridge.watchSet),E(function(q){return q.filter(lk)}),E(function(q){return q.length}));nl(this.issuesBlockedByCount$.pipe(E(Byb),qe(this.destroyed$)),"Blocked");this.blockedByids$.pipe(E(Cyb));
this.blockedByids$.pipe(E(this.blockedIdsToUrlQuery));this.isWithinExternalComponent$=this.issuePermissionService.isWithinExternalComponent$;this.status$=this.issue$.pipe(E(function(q){return(null==q?void 0:q.snapshot[0].status)||void 0}));this.statusCssClass$=this.status$.pipe(E(function(q){return l.computeStatusCssClass(q)}));this.prettyStatus$=this.status$.pipe(Zd(eh),E(function(q){return dk[q]}));this.statusIsFeatured$=this.status$.pipe(E(function(q){return!!Zic[q]}));this.toggleStar=function(){var q=
!!ol(l.starred$);l.starToggleDisabled=!0;pnc(l.issueFridge,l.issueId,!q).pipe(je(),qe(l.destroyed$)).subscribe(function(){l.starToggleDisabled=!1})};this.toggleStarDebounced=DUb(this.toggleStar,1E3)};V(I9,kE);I9.\u0275dir=kE.\u0275dir;var zld=function(a,b){a.editTitleDisabled=!0;qnc(a.issueFridge,a.issueId,b).pipe(qe(a.destroyed$)).subscribe(function(){a.editTitleDisabled=!1;a.eventsForIssueFridge.poke(a.issueId)})};
I9.prototype.computeStatusCssClass=function(a){return null===a||void 0===a?"":"status-"+Zh[a]};I9.prototype.refresh=function(){this.refreshMonitor.refreshRequest.next()};gg.Object.defineProperties(I9.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.internalIssueId=a;this.issueId$.next(a)},get:function(){return this.internalIssueId}}});I9.\u0275fac=function(a){return new (a||I9)(D(IH),D(zJ),D(GG),D(GH),D(E9),D(LK),D(pF))};
I9.\u0275cmp=zc({type:I9,selectors:[["issue-header"]],inputs:{issueId:"issueId"},features:[xe],decls:40,vars:46,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"],[3,"title","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),T(1,"async"),T(2,"async"),T(3,"async"),K(4,"aside",1),T(5,"async"),T(6,"async"),H(7,"div",2)(8,"div",3),R(9,syb,2,1,"ng-container",4),T(10,"async"),R(11,vyb,4,7,"ng-template",null,5,of),R(13,xyb,4,7,"ng-template",
null,6,of),J(),H(15,"div",7),K(16,"b-pagination-one-issue"),J()(),H(17,"div",8)(18,"div",9)(19,"div",10)(20,"button",11),O("onHotkey",function(){return rld(b.currentSearchResults)})("click",function(){return rld(b.currentSearchResults)}),T(21,"async"),T(22,"async"),K(23,"mat-icon",12),J(),H(24,"button",13),O("onHotkey",function(){return b.refresh()})("click",function(){return b.refresh()}),K(25,"mat-icon",14),J(),H(26,"b-star-toggle",15),O("starClicked",function(){return b.toggleStar()})("onHotkey",
function(){return b.toggleStarDebounced()}),T(27,"async"),J()(),K(28,"issue-chip-indicators"),J(),H(29,"div",16)(30,"issue-title",17),O("updateTitle",function(e){return zld(b,e)}),T(31,"async"),T(32,"async"),J(),R(33,zyb,3,2,"div",18),T(34,"async"),H(35,"onedev-hovercard",null,19),R(37,Ayb,4,7,"ng-container",20),J(),K(38,"issue-actions",21)(39,"issue-actions",22),J()()());if(a&2){var c=Se(14),d;Ie("overline",U(1,22,b.statusIsFeatured$))("color-field",U(2,24,b.statusIsFeatured$));Qe("ngClass",U(3,
26,b.statusCssClass$));C(4);Re("title","[",U(5,28,b.prettyStatus$),"] ",U(6,30,b.issueTitle$),"");C(5);G("ngIf",U(10,32,b.hasAncestors$))("ngIfElse",c);C(11);G("hotkey",b.HOTKEYS.GO_UP_TO_LIST)("matTooltip",null!==(d=U(21,34,b.currentSearchResults.backNavigationLabel$))&&void 0!==d?d:"");Ae("aria-label",U(22,36,b.currentSearchResults.backNavigationLabel$));C(4);G("hotkey",b.HOTKEYS.REFRESH_ISSUE);C(2);G("starred",U(27,38,b.starred$))("disabled",b.starToggleDisabled)("hotkey",b.HOTKEYS.TOGGLE_STAR);
C(4);G("title",U(31,40,b.issueTitle$))("disabled",b.editTitleDisabled)("hasAclToEdit",U(32,42,b.issuePermissionService.hasAclToEdit$));C(3);G("ngIf",U(34,44,b.issuesBlockedByCount$));C(5);G("issueId",b.issueId);C(1);G("issueId",b.issueId)}},dependencies:[x9,Ru,Tu,Yu,yy,jz,y9,dM,QJ,RJ,VJ,SJ,lM,IU,w9,XA,yU,OW,tld,D9,yld,Zu],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 Ald=function(a,b){var c=this;this.currentTracker=a;this.trackerFridge=b;this.issueTrackerId$=new F.BehaviorSubject("");this.showTrackerBanner$=(0,F.combineLatest)([this.issueTrackerId$,this.currentTracker.trackerId$]).pipe(E(function(d){var e=k(d);d=e.next().value;e=e.next().value;return!!yk(e)&&!yk(d)}));this.tracker$=this.issueTrackerId$.pipe(pe(function(d){return yk(d)?(0,F.of)(void 0):c.trackerFridge.watch(d)}));this.trackerRedirectUrl$=this.tracker$.pipe(E(function(d){return MK(c.currentTracker,
String(c.issueId),d)}))};gg.Object.defineProperties(Ald.prototype,{trackerId:{configurable:!0,enumerable:!0,set:function(a){this.issueTrackerId$.next(null!=a?a:"")}}});Ald.\u0275fac=function(a){return new (a||Ald)(D(LK),D(gI))};
Ald.\u0275cmp=zc({type:Ald,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&&(R(0,Dyb,7,6,"div",0),T(1,"async"),T(2,"async"));a&2&&G("ngIf",U(1,1,b.showTrackerBanner$)&&U(2,3,b.tracker$))},dependencies:[Tu,zy,Zu],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 J9=function(a,b,c){var d=this;this.currentTracker=a;this.trackerFridge=b;this.activeSession=c;this.trackerId$=new F.BehaviorSubject("");this.tracker$=this.trackerId$.pipe(pe(function(e){return yk(e)?(0,F.of)(void 0):d.trackerFridge.watch(e)}));this.trackerName$=this.tracker$.pipe(E(function(e){return e?e.name:d.activeSession.getAppName()}));this.currentTrackerLogo$=this.currentTracker.tracker$.pipe(E(function(e){return d.getLogoUrl(e)}));this.trackerLogo$=this.tracker$.pipe(E(function(e){return d.getLogoUrl(e)}));
this.trackerRedirectUrl$=this.tracker$.pipe(E(function(e){var g="";d.issue&&(g=String(d.issueId));d.component&&(g="components/"+d.componentId);return e?MK(d.currentTracker,g,e):ztc(d.currentTracker,g)}))};J9.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:""};
J9.prototype.ngOnChanges=function(a){a.issue&&this.issue&&this.trackerId$.next(this.issue.trackerId||"");a.component&&this.component&&this.trackerId$.next(this.component.trackerId||"")};
gg.Object.defineProperties(J9.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 cjc[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 dk[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}}});J9.\u0275fac=function(a){return new (a||J9)(D(LK),D(gI),D(rp))};
J9.\u0275cmp=zc({type:J9,selectors:[["b-tracker-redirect"]],inputs:{issue:"issue",component:"component"},features:[Mc],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&&R(0,Fyb,15,13,"div",0);a&2&&G("ngIf",b.showResourceContainer)},dependencies:[Tu,zy,jz,XA,Zu],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 Bld=[[["",8,"value-action"]]],K9=function(a){kE.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 tu;this.additionAllowed=!0;this.ListFieldType=ITc;this.userPrincipalValidator=function(c){var d,e,g;return Ld(function(h){if(1==h.nextAddress){if(!c)return h.return("This field is required");d=c.split(",").map(function(l){return l.trim()}).filter(Boolean);
return h.yield(eqc(b.jspbPrincipalTypes,d,!1),2)}e=h.yieldResult;g=d.find(function(l){var q;return"USER"!==(null==(q=e[l])?void 0:q.principalType)});return h.return(g?"You can only add users to collaborators.":"")})}};V(K9,kE);K9.\u0275dir=kE.\u0275dir;K9.prototype.getAriaLabel=function(){var a="Collaborators are people directly working on this issue.";this.additionAllowed||(a+=" You cannot add collaborators under this component.");return a};K9.\u0275fac=function(a){return new (a||K9)(D(lJ))};
K9.\u0275cmp=zc({type:K9,selectors:[["b-collaborators-field"]],inputs:{readonly:"readonly",collaborators:"collaborators",collaboratorsUsers:"collaboratorsUsers",listFieldDisabled:"listFieldDisabled",teamId:"teamId",isCollapsible:"isCollapsible",additionAllowed:"additionAllowed"},outputs:{valuesChange:"valuesChange"},features:[Xe([wH]),xe],ngContentSelectors:[".value-action"],decls:3,vars:17,consts:[[1,"full-width",3,"defaultLineCount","readonly","additionAllowed","title","type","isUser","values",
"users","inputValidator","listFieldDisabled","teamId","isExpanded","collapsiblePanelTitle","isCollapsible","iconName","valuesChange"],[1,"value-action"]],template:function(a,b){a&1&&(Ne(Bld),H(0,"b-list-field",0),O("valuesChange",function(c){return b.valuesChange.emit(c)}),H(1,"div",1),Oe(2),J()());a&2&&(Re("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":""),Ae("aria-label",b.getAriaLabel()))},dependencies:[LZ],encapsulation:2});var Cld=function(){};Cld.\u0275fac=function(a){return new (a||Cld)};Cld.\u0275mod=Bc({type:Cld});
Cld.\u0275inj=oc({imports:[MZ,MF,zC]});var Dld=function(){var a=this;this.pressed=new tu;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"}};Dld.\u0275fac=function(a){return new (a||Dld)};
Dld.\u0275cmp=zc({type:Dld,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),O("click",function(){return b.pressed.emit()}),S(1,"Insights "),Xc(),H(2,"svg",1)(3,"g",2),K(4,"path",3)(5,"path",4)(6,"path",5)(7,"circle",6)(8,"circle",7)(9,"circle",8)(10,"circle",9)(11,"circle",10)(12,"circle",11)(13,"circle",12),J()()());a&2&&(G("title",b.getTooltip())("disabled",b.disabled),Ae("aria-label",b.getTooltip()))},dependencies:[yy],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}\n/*# sourceMappingURL=insights_graph_btn.css.map */"],
changeDetection:0});var Eld=new Hc("PeoplekitClientConfig"),Fld=function(a){this.matcher=a};Fld.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};Fld.prototype.reset=function(){};var L9=function(a,b){null!=b||(b=wc(te));var c=new W8c;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 T8c;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 SGc(c.getPeopleApiEnv(),new TGc(""))}});this.peopleStore=b.peopleStore;this.environmentConfig=b.environmentConfig};L9.\u0275fac=function(a){return new (a||L9)(w(Eld),w(te))};L9.\u0275prov=nc({token:L9,factory:L9.\u0275fac});var M9=function(a,b,c,d,e,g){this.clientConfig=a;this.document=b;this.peopleKitService=c;this.inputEl=d;this.zone=e;this.renderer=g;this.selectionChange=new tu;this.sessionOptions=(new no).setFilter(Gld);this.inputSearchDelay=200;this.destroyed$=new F.ReplaySubject(1);this.inputChanged$=new F.ReplaySubject(1)};M9.prototype.ngOnDestroy=function(){this.destroyed$.next();this.destroyed$.complete();this.autocomplete.dispose()};
M9.prototype.ngOnInit=function(){var a=this,b=this.clientConfig.autocompleteFactory.createConfig(this.peopleKitService.environmentConfig);Gyb(b,this.config);this.zone.runOutsideAngular(function(){var c;if(null==(c=a.clientConfig.autocompleteFactory))c=void 0;else{var d=c.create;if(!a.peopleKitService.autocompleteAnchor){var e=a.renderer.createElement("div");a.peopleKitService.autocompleteAnchor=e;a.renderer.addClass(e,"peoplekit-autocomplete-anchor");var g;(null!=(g=HDa(a.inputEl.nativeElement))?
g:a.document.body).append(e)}c=d.call(c,a.peopleKitService.autocompleteAnchor,a.inputEl.nativeElement,a.peopleKitService.peopleStore,b,a.sessionOptions)}a.autocomplete=c});T4c(this.autocomplete,function(c){a.selectionChange.emit(c);a.autocomplete.report(4)});this.inputChanged$.pipe(de(this.inputSearchDelay)).subscribe(function(){a.search()})};M9.prototype.search=function(){var a=this;this.zone.runOutsideAngular(function(){a.autocomplete.search(a.inputEl.nativeElement.value,a.inputEl.nativeElement)})};
M9.prototype.cancel=function(){var a=this;this.zone.runOutsideAngular(function(){a.autocomplete.cancel()})};M9.\u0275fac=function(a){return new (a||M9)(D(Eld),D(eg),D(L9),D(fd),D(te),D(Ut))};
M9.\u0275dir=Cc({type:M9,selectors:[["input","peoplekitAutocomplete",""]],hostBindings:function(a,b){a&1&&O("input",function(){return b.inputChanged$.next()})("focus",function(){return b.search()})("blur",function(){return b.cancel()})},inputs:{config:["peoplekitAutocompleteConfig","config"],sessionOptions:["peoplekitSearchSessionOptions","sessionOptions"],inputSearchDelay:["peoplekitAutocompleteInputSearchDelay","inputSearchDelay"]},outputs:{selectionChange:"peoplekitAutocompleteSelectionChange"},
exportAs:["peoplekitAutocomplete"]});var Gld=flb(1);var Hld=["popOver"],Ild=["inputBox"],N9=function(a){this.defaultAutocompleteConfig=a;this.mergedAutocompleteConfig=Object.assign({},Jld,this.defaultAutocompleteConfig);this.displayUnder=!1;this.initialInputValue="";this.openPopOverOnInit=!1;this.closed=new tu;this.inputValue="";this.sessionOptions=Kld};N9.prototype.ngAfterViewInit=function(){this.openPopOverOnInit&&this.openPopOver(this.initialInputValue)};
N9.prototype.ngOnChanges=function(a){a.autocompleteConfig&&(this.mergedAutocompleteConfig=Object.assign({},Jld,this.defaultAutocompleteConfig,this.autocompleteConfig))};N9.prototype.openPopOver=function(a){var b=this;this.inputValue=a;this.popOver.open();setTimeout(function(){var c;null==(c=b.inputBox)||c.nativeElement.select()})};N9.prototype.onPopOverClose=function(a){this.closed.emit(0===a?this.inputValue:void 0);this.inputValue=""};N9.\u0275fac=function(a){return new (a||N9)(D(Lld,8))};
N9.\u0275cmp=zc({type:N9,selectors:[["onedev-user-picker-panel","anchor",""]],viewQuery:function(a,b){a&1&&(jf(Hld,7),jf(Ild,5));if(a&2){var c;hf(c=lf())&&(b.popOver=c.first);hf(c=lf())&&(b.inputBox=c.first)}},inputs:{anchor:"anchor",autocompleteConfig:"autocompleteConfig",displayUnder:"displayUnder",initialInputValue:"initialInputValue",openPopOverOnInit:"openPopOverOnInit"},outputs:{closed:"closed"},features:[Mc],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),O("closedWithAction",function(d){return b.onPopOverClose(d)}),J(),R(2,Hyb,2,3,"ng-template",null,2,of));if(a&2){var c=Se(3);G("anchor",b.anchor)("displayUnder",b.displayUnder)("editorTemplate",
c)}},dependencies:[Af,tv,zv,v7,M9],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 Lld=new Hc("user-picker-autocomplete-config"),Jld={showSuggestions:!0,moveAutocompleteAboveAnchorIfOffscreen:!0,density:2},Kld=(new no).setFilter(jlb(flb(1),new Fld(function(a){return 0<=a.indexOf("-pager")||0<=a.indexOf("+pager")||0<=a.indexOf("lifeguard-ng")})));var Jyb=function(a){return{$implicit:a}},Mld=0,O9=function(){this.val="";this.disabled=!1;this.emailChange=new tu;this.popOverOpen=this.active=!1;this.contentId="onedev-user-picker-"+Mld;this.onChange=function(){};this.onTouched=function(){};Mld++};V(O9,QY);f=O9.prototype;f.openPopOver=function(){this.disabled||(this.onTouched(),this.popOver.openPopOver(this.email),this.popOverOpen=!0)};
f.onPopOverClose=function(a){null!=a&&a!==this.email&&(this.onChange(a),this.emailChange.emit(a),this.email=a);this.popOverOpen=!1};f.contentAriaLabelledBy=function(){if(this.labelledById)return this.labelledById+" "+this.contentId};f.writeValue=function(a){null!=a&&(this.val=a)};f.isActive=function(){return this.active||this.popOverOpen};f.registerOnChange=function(a){this.onChange=a};f.registerOnTouched=function(a){this.onTouched=a};f.setDisabledState=function(a){this.disabled=a};
gg.Object.defineProperties(O9.prototype,{email:{configurable:!0,enumerable:!0,get:function(){return this.val},set:function(a){a!==this.val&&this.writeValue(a)}}});O9.\u0275fac=function(a){return new (a||O9)};
O9.\u0275cmp=zc({type:O9,selectors:[["onedev-user-picker"]],viewQuery:function(a,b){a&1&&jf(N9,7);if(a&2){var c;hf(c=lf())&&(b.popOver=c.first)}},inputs:{email:"email",disabled:"disabled",labelledById:"labelledById",selectedUserTemplate:"selectedUserTemplate",autocompleteConfig:"autocompleteConfig"},outputs:{emailChange:"emailChange"},exportAs:["onedevUserPicker"],features:[Xe([{provide:QY,useExisting:tc(function(){return O9}),multi:!0},{provide:iv,useExisting:tc(function(){return O9}),multi:!0}]),
xe],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),O("focus",function(){return b.active=!0})("blur",function(){return b.active=!1})("click",function(){return b.openPopOver()}),R(2,Kyb,2,4,"ng-container",2),R(3,Lyb,1,1,"ng-template",null,3,of),R(5,Myb,2,0,"svg",4),J(),H(6,"onedev-user-picker-panel",5),O("closed",function(e){return b.onPopOverClose(e)}),J());if(a&2){var c=Se(1),d=Se(4);Ie("active",b.isActive());Ae("id",b.contentId)("aria-labelledby",b.contentAriaLabelledBy());C(2);G("ngIf",b.selectedUserTemplate)("ngIfElse",
d);C(3);G("ngIf",!b.disabled);C(1);G("anchor",c)("autocompleteConfig",b.autocompleteConfig)}},dependencies:[Tu,Yu,N9],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 Nld=["picker"],P9=function(){this.disabled=!1;this.emailChange=new tu;this.userEmail=""};V(P9,QY);P9.prototype.openPopOver=function(){this.picker.openPopOver()};P9.prototype.isActive=function(){return this.picker.isActive()};gg.Object.defineProperties(P9.prototype,{user:{configurable:!0,enumerable:!0,set:function(a){this.userEmail=Ug(a)||""}}});P9.\u0275fac=function(){var a;return function(b){return(a||(a=dd(P9)))(b||P9)}}();
P9.\u0275cmp=zc({type:P9,selectors:[["b-user-picker"]],viewQuery:function(a,b){a&1&&jf(Nld,7);if(a&2){var c;hf(c=lf())&&(b.picker=c.first)}},inputs:{user:"user",teamId:"teamId",disabled:"disabled",labelledById:"labelledById"},outputs:{emailChange:"emailChange"},exportAs:["bUserPicker"],features:[Xe([{provide:QY,useExisting:tc(function(){return P9}),multi:!0}]),xe],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),O("emailChange",function(d){return b.emailChange.emit(d)}),J(),R(2,Oyb,1,1,"ng-template",null,2,of));if(a&2){var c=Se(3);G("email",b.userEmail)("disabled",b.disabled)("labelledById",b.labelledById)("selectedUserTemplate",c)}},dependencies:[Tu,SO,O9],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}\n/*# sourceMappingURL=user_picker.css.map */"]});var Ryb=function(a){return[a]},Uyb=function(){return[]},Kzb=function(a){return{$implicit:a}},Q9=function(a,b,c,d,e,g,h,l,q,v,y,B,I,N,Q){var Z=this;this.activeSession=a;this.editIssueService=b;this.issueFridge=c;this.issuePermissionService=d;this.issueDetailsBrain=e;this.constants=g;this.refreshMonitor=h;this.userPreferencesManager=l;this.documentationLinks=q;this.workspaceService=v;this.changelistApi=y;this.issueMarkAsDuplicateDialogService=B;this.analytics=I;this.issueInsightsSidebarService=N;this.issueLimits=
Q;this.issueId$=new F.ReplaySubject(1);this.distinctIssueId$=this.issueId$.pipe(fe());this.issue$=this.distinctIssueId$.pipe(pe(function(Y){return Z.editIssueService.editableIssue$(Y)}));this.enablePeoplekitAc=iE(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=eM;this.trackCustomField=function(Y,ka){return"{"+ka.componentId+", "+ka.customFieldId+"}"};this.FieldType=ATc;this.ListFieldType=ITc;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(E(function(Y){return!Z.activeSession.isExternalSession()&&!Y}));this.teamSuggestions$=this.issueDetailsBrain.teamSuggestions$;this.effortSpec$=this.issueDetailsBrain.effortSpec$;this.isEffortEnabled$=this.issueDetailsBrain.isEffortEnabled$;this.canonicalIssueId$=
this.issueDetailsBrain.canonicalIssueId$;this.sloId$=this.issueDetailsBrain.sloId$;this.sloStatus$=this.issueDetailsBrain.sloStatus$;this.createdTimeMicros$=this.issueDetailsBrain.createdTimeMicros$;this.teamId$=this.issueDetailsBrain.teamId$;this.teamWarningType$=this.issueDetailsBrain.team$.pipe(E(ypb));this.component$=this.issueDetailsBrain.component$;this.effort$=this.issueDetailsBrain.effort$;this.accessLimitLevel$=this.issueDetailsBrain.accessLimitLevel$;this.issueFields$=this.distinctIssueId$.pipe(E(function(Y){return Z.editIssueService.issueFields(Y)}),
ne({refCount:!0,bufferSize:1}));this.isForgottenFourPrimary$=this.issueFields$.pipe(pe(function(Y){return Y.isForgottenFourPrimary$}));this.showHiddenFieldsLabel$=this.issueFields$.pipe(pe(function(Y){return Y.showHiddenFieldsLabel$}));this.hasHiddenFields$=this.issueFields$.pipe(pe(function(Y){return Y.hasHiddenFields$}));this.isChangelistPrimary$=this.issueFields$.pipe(pe(function(Y){return Y.isChangelistPrimary$}));this.isSeverityPrimary$=this.issueFields$.pipe(pe(function(Y){return Y.isSeverityPrimary$}));
this.isSloStatusPrimary$=this.issueFields$.pipe(pe(function(Y){return Y.isSloStatusPrimary$}));this.hiddenCustomFields$=this.issueFields$.pipe(pe(function(Y){return Y.hiddenCustomFields$}));this.visibleCustomFields$=this.issueFields$.pipe(pe(function(Y){return Y.visibleCustomFields$}));this.issueQuickActions$=this.distinctIssueId$.pipe(E(function(Y){return Z.editIssueService.issueQuickActions(Y)}),ne({refCount:!0,bufferSize:1}));this.issueAssigneeQuickAction$=this.issueQuickActions$.pipe(pe(function(Y){return Y.issueAssigneeQuickAction$}));
this.issueStatusQuickAction$=this.issueQuickActions$.pipe(pe(function(Y){return Y.issueStatusQuickAction$}));this.priorityChoices=this.constants.priorities.map(function(Y){return{value:Y,displayText:Y}});this.severityChoices=this.constants.severities.map(function(Y){return{value:Y,displayText:Y}});this.typeChoices=this.constants.editIssueTypeChoices;this.teamHovercardInputs$=(0,F.combineLatest)([this.issueDetailsBrain.componentId$,this.teamId$]).pipe(E(function(Y){var ka=k(Y);Y=ka.next().value;ka=
ka.next().value;return{teamId:ka?String(ka):"0",componentId:Y?String(Y):"0"}}));this.isTeamWarningDismissed$=(0,F.combineLatest)([this.issue$,this.userPreferencesManager.preferences$]).pipe(E(function(Y){Y=k(Y);var ka=Y.next().value,la,Da;return null==(la=Y.next().value.teamWarningPreferences)?void 0:null==(Da=la.componentTeamWarnings)?void 0:Da.some(function(za){return za.componentId===ka.componentId})}));this.shouldDisplayTeamSuggestions$=(0,F.combineLatest)([this.issuePermissionService.userIsComponentAdmin$,
this.isTeamWarningDismissed$,this.teamWarningType$]).pipe(E(function(Y){var ka=k(Y);Y=ka.next().value;var la=ka.next().value;ka=ka.next().value;return iE(Z.activeSession,"enableTeamSuggestions")&&Y&&!la&&("MISSING"===ka||"DELETED"===ka)}));this.statusChoices$=this.canonicalIssueId$.pipe(E(function(Y){return[].concat(Jc(gjc.filter(function(ka){return"DUPLICATE"!==ka.value})),[{value:"DUPLICATE",displayText:Y?"Duplicate of "+Y:"Duplicate"}])}));this.workspaces$=this.distinctIssueId$.pipe(pe(function(Y){return PAc(Z.workspaceService,
Y)}),ne({refCount:!0,bufferSize:1}));this.pendingChangelists$=onc(this.refreshMonitor,this.distinctIssueId$).pipe(pe(function(Y){return Z.changelistApi.getPendingChangelistsForIssue(Y)}),E(function(Y){return Y.changelistNumbers}),E(function(Y){return{cls:Y,hasError:!1}}),ce(function(){return(0,F.of)({cls:[],hasError:!0})}),ne({refCount:!0,bufferSize:1}));this.COLLABORATORS_HOVERCARD_CONFIG=Object.assign({},new TJ,{position:[urc]});this.ACCESS_LIMITS_HOVERCARD_CONFIG=Object.assign({},new TJ,{position:[{originX:"start",
originY:"center",overlayX:"end",overlayY:"center",offsetX:-30}]});this.reconcileView={assignee:function(Y){var ka,la;Y.value=null!=(la=null==(ka=ol(Z.issue$))?void 0:ka.assignee)?la:""},reporter:function(Y){var ka,la;Y.value=null!=(la=null==(ka=ol(Z.issue$))?void 0:ka.reporter)?la:""},verifier:function(Y){var ka,la;Y.value=null!=(la=null==(ka=ol(Z.issue$))?void 0:ka.verifier)?la:""},ccs:function(Y){var ka,la;Y.values=null!=(la=null==(ka=ol(Z.issue$))?void 0:ka.cc)?la:[]},collaborators:function(Y){var ka,
la;Y.collaborators=null!=(la=null==(ka=ol(Z.issue$))?void 0:ka.collaborators)?la:[]}}};Q9.prototype.ngOnChanges=function(){this.issueId$.next(this.issueId)};
var Dzb=function(a){var b=a.issuePermissionService.isCurrentUserCCd();a.analytics.trackEvent(Yl.EDIT_ISSUE,"toggleCC (appbar)",(!b).toString());var c=a.editIssueService.editableIssue(a.issueId),d=[];d=b?c.cc.filter(function(e){return!yJ(a.issuePermissionService,e)}):[].concat(Jc(c.cc),[a.activeSession.getUserEmail()]);return arc(a.editIssueService,a.issueId,d)},zzb=function(a){var b=a.issuePermissionService.isCurrentUserCollaborator();a.analytics.trackEvent(Yl.EDIT_ISSUE,"toggleCollaborators (appbar)",
(!b).toString());var c=a.editIssueService.editableIssue(a.issueId),d=[];d=b?c.collaborators.filter(function(e){return!yJ(a.issuePermissionService,e)}):[].concat(Jc(c.collaborators),[a.activeSession.getUserEmail()]);return brc(a.editIssueService,a.issueId,d)};Q9.prototype.toggleAccessLimits=function(){var a=this;return Ld(function(b){a.issueLimits.open({componentId:Number(ol(a.issueDetailsBrain.componentId$)),issueId:a.issueId});Qd(b)})};
Q9.prototype.toggleAccessLimitsWithKeystroke=function(a){this.toggleAccessLimits();a.stopPropagation();a.preventDefault()};
var mzb=function(a,b,c){return ozb(a.editIssueService,a.issueId,c).finally(function(){a.reconcileView.assignee(b)})},Xyb=function(a,b,c){return Zyb(a.editIssueService,a.issueId,c).finally(function(){a.reconcileView.reporter(b)})},tzb=function(a,b,c){return vzb(a.editIssueService,a.issueId,c).finally(function(){a.reconcileView.verifier(b)})},zAb=function(a,b,c){return arc(a.editIssueService,a.issueId,c).finally(function(){a.reconcileView.ccs(b)})},yAb=function(a,b,c){return brc(a.editIssueService,
a.issueId,c).finally(function(){a.reconcileView.collaborators(b)})},kp=function(a,b){a.analytics.trackEvent(Yl.EDIT_ISSUE,"quickAction (sidebar)",null==b?void 0:b.displayText);return Zqc(a.editIssueService,a.issueId,b)},xAb=function(a,b){var c;return Ld(function(d){return(c=Fwa(b))?"DUPLICATE"===c?d.return(fLc(a.issueMarkAsDuplicateDialogService,a.issueId)):d.return(Yqc(a.editIssueService,a.issueId,c)):d.return()})};
Q9.prototype.isSaving$=function(a){var b=this;return this.distinctIssueId$.pipe(E(function(c){return b.editIssueService.savingState(c)}),pe(function(c){return Sl(c.propertiesBeingSaved,Cl(String(a)))}))};Q9.prototype.getAccessLimitLevelDisplay=function(a){return O9a(a)};Q9.\u0275fac=function(a){return new (a||Q9)(D(rp),D(MJ),D(IH),D(zJ),D(xJ),D($I),D(GH),D(TI),D(NI),D(tQ),D(JC),D(iT),D(AH),D(B9),D(G9))};
Q9.\u0275cmp=zc({type:Q9,selectors:[["edit-issue-metadata"]],inputs:{issueId:"issueId"},features:[Mc],decls:2,vars:3,consts:[[4,"ngIf"],[4,"ngIf","ngIfElse"],["peoplekitReporter",""],[3,"name","title","type","value","choices","readonly","disabled","valueChange"],[1,"flex-wrappable","flex-kids-y"],[1,"flex-1",3,"name","title","type","tooltip","value","choices","hotkey","readonly","disabled","onHotkey","valueChange"],[1,"status-field-row"],[3,"name","title","type","value","choices","readonly","disabled",
"onedevHovercardActive","onedevHovercardTrigger","valueChange"],["canonicalHovercard","onedevHovercard"],[3,"onedevIsHovercardReady","issueId",4,"onedevHovercardLazyBody"],[3,"effort","effortSpec","disabled","effortChange",4,"ngIf"],[1,"bv2-issue-metadata-field"],["tabindex","0",1,"bv2-issue-metadata-field-inner","bv2-readonly",3,"onedevHovercardTrigger","onedevHovercardActive","onedevHovercardConfig"],[1,"bv2-editable-title","access-level-title"],[1,"bv2-editable-value","access-level-info"],[1,"access-level-current-val"],
["tabindex","0","role","button",1,"bv2-metadata-tool","bv2-metadata-link",3,"matTooltip","click","keydown.enter","keydown.space"],["ialCard","onedevHovercard"],[1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[1,"hovertext"],["mat-button","","target","_blank","aria-label","Learn more about issue access limits",1,"gmat-button","primary",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","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","collapsiblePanelTitle","teamId","valuesChange"],["ccsField",""],[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","sloSnoozeUntil","sloEndTime","sloId","componentId","isEditable","issueCreationTimestamp","onSnoozeChange","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&&(R(0,AAb,126,156,"ng-container",0),T(1,"async"));a&2&&G("ngIf",U(1,1,b.issue$))},dependencies:[JZ,Su,Tu,Yu,zy,jz,NZ,HZ,x7,s7,t7,u7,dM,QJ,RJ,VJ,SJ,Dld,PO,F7,LZ,K9,XA,AI,g7,P9,GO,ZX,Pqc,Zu],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}\n/*# sourceMappingURL=edit_issue_metadata.css.map */"]});var Old={},Pld=(Old.COMFORTABLE=330,Old.COZY=300,Old.COMPACT=270,Old),R9=function(a){kE.call(this);var b=this;this.userPreferencesManager=a;this.RIGHT_SIDEBAR_MIN_WIDTH=245;this.density$=this.userPreferencesManager.preferences$.pipe(E(function(c){var d;return null==(d=c.themePreferences)?void 0:d.density}));this.sidebarWidthPreference$=this.userPreferencesManager.preferences$.pipe(E(function(c){var d;return null==(d=c.layoutPreferences)?void 0:d.rightSidebarWidth}));this.rightSidebarWidthChanged$=
new F.Subject;this.currentSidebarWidth$=(0,F.combineLatest)([this.density$,this.sidebarWidthPreference$,this.rightSidebarWidthChanged$.pipe(oe(void 0))]).pipe(E(function(c){var d=k(c);c=d.next().value;var e=d.next().value;d=d.next().value;return null!=d?d:null!=e?e:Pld[null!=c?c:"COMFORTABLE"]}));(0,F.combineLatest)([this.rightSidebarWidthChanged$.pipe(fe()),this.sidebarWidthPreference$]).pipe(Zd(function(c){c=k(c);var d=c.next().value;return c.next().value!==d}),pe(function(c){c=k(c);var d=c.next().value;
c.next();return xpc(b.userPreferencesManager,{rightSidebarWidth:d})}),qe(this.destroyed$)).subscribe()};V(R9,kE);R9.\u0275dir=kE.\u0275dir;R9.prototype.ngOnInit=function(){};R9.\u0275fac=function(a){return new (a||R9)(D(TI))};
R9.\u0275cmp=zc({type:R9,selectors:[["issue-metadata-sidebar"]],inputs:{issueId:"issueId"},features:[xe],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),S(1,"Issue metadata"),J(),H(2,"b-resizable-sidebar",1),O("widthChanged",function(d){return b.rightSidebarWidthChanged$.next(d)}),T(3,"async"),
H(4,"div",2)(5,"div",3),R(6,BAb,1,1,"edit-issue-metadata",4),J()()());if(a&2){var c;C(2);G("disableToggleBtn",!1)("hideToggleBtnOnOpen",!0)("minWidth",b.RIGHT_SIDEBAR_MIN_WIDTH)("size",null!==(c=U(3,5,b.currentSidebarWidth$))&&void 0!==c?c:0);C(4);G("ngIf",b.issueId)}},dependencies:[Tu,wO,Q9,Zu],styles:["[_nghost-%COMP%] {\n      display: inherit;\n    }"],changeDetection:0});var S9=function(){};S9.prototype.watch=function(a,b){b=void 0===b?document.documentElement:b;return(0,F.concat)((0,F.defer)(function(){return(0,F.of)(document.getElementById(a))}),D$a(b,{attributes:!0,attributeFilter:["id"],childList:!0,subtree:!0}).pipe(E(function(){return document.getElementById(a)}))).pipe(Zd(eh),ge())};S9.\u0275fac=function(a){return new (a||S9)};S9.\u0275prov=nc({token:S9,factory:S9.\u0275fac,providedIn:"root"});var T9=function(a){this.idWatch=a},Qld=function(a,b){var c=b.scrollableContainerId,d=void 0===b.scrollPadding?0:b.scrollPadding;return a.idWatch.watch(b.elementId,b.parentElement).pipe(ge(),E(function(e){e.scrollIntoView();if(e=document.getElementById(c))e.scrollTop-=d}))};T9.\u0275fac=function(a){return new (a||T9)(w(S9))};T9.\u0275prov=nc({token:T9,factory:T9.\u0275fac,providedIn:"root"});var U9=function(a,b,c,d){this.dynamicScrollIntoView=a;this.paths=b;this.routeParams=c;this.baseIssueReferenceResolver=d;this.destroyed$=new F.ReplaySubject(1);var e;this.issueId=null!=(e=this.routeParams.issueId)?e:""};
U9.prototype.visit=function(a){a.event&&(a.event.preventDefault(),a.event.stopPropagation());a.issueId&&a.issueId!==this.issueId||!a.elementId?this.baseIssueReferenceResolver.visit(a):(Qld(this.dynamicScrollIntoView,{elementId:a.elementId,parentElement:document.body,scrollableContainerId:"bv2-edit-issue-details-scroll",scrollPadding:60}).pipe(qe(this.destroyed$)).subscribe(),history&&history.pushState(null,"",this.paths.editIssue(this.issueId)+"#"+a.elementId))};U9.prototype.ngOnDestroy=function(){this.destroyed$.next()};
U9.\u0275fac=function(a){return new (a||U9)(w(T9),w(OG),w(qJ),w(W7))};U9.\u0275prov=nc({token:U9,factory:U9.\u0275fac});var Rld=function(a,b){kE.call(this);var c=this;this.el=a;this.router=b;this.router.events.pipe(Zd(uBa),qe(this.destroyed$)).subscribe(function(){var d=["scrollY",c.rememberScroll,c.router.url.toString()].join("-"),e,g=null==(e=c.el.nativeElement)?void 0:e.scrollTop;g?window.sessionStorage.setItem(d,String(g)):window.sessionStorage.removeItem(d)});this.router.events.pipe(Zd(tBa),qe(this.destroyed$)).subscribe(function(d){d=["scrollY",c.rememberScroll,d.url].join("-");CAb(c.el.nativeElement,d)})};
V(Rld,kE);Rld.\u0275fac=function(a){return new (a||Rld)(D(fd),D(GG))};Rld.\u0275dir=Cc({type:Rld,selectors:[["","rememberScroll",""]],inputs:{rememberScroll:"rememberScroll"},features:[xe]});var Sld=function(){};Sld.\u0275fac=function(a){return new (a||Sld)};Sld.\u0275mod=Bc({type:Sld});Sld.\u0275inj=oc({imports:[MF,MG]});var QAb=function(){return{exact:!0}},V9=function(a,b,c,d,e,g,h,l,q,v,y,B,I,N,Q,Z,Y,ka,la,Da,za){kE.call(this);var Oa=this;this.routeParams=a;this.issueFridge=b;this.activeSession=c;this.permissions=d;this.editIssueService=e;this.counts=g;this.appEvents=h;this.issueInteractionsTracking=l;this.checkBeforeExit=q;this.butterBar=v;this.routerEvents=y;this.devopsGraph=B;this.refreshMonitor=I;this.eventsForIssueFridge=N;this.issueFetchResponseFridge=Q;this.hotlistFridge=Z;this.permissionsFridge=Y;this.issueRelationshipsFridge=
ka;this.issueService=la;this.errorHandler=Da;this.currentTracker=za;this.id$=this.routeParams.issueId$;this.issue$=this.id$.pipe(pe(this.issueFridge.watch));this.issue404$=(0,F.combineLatest)([this.id$,this.issueFetchResponseFridge.error$]).pipe(E(function(Va){var Ya=k(Va);Va=Ya.next().value;Ya=Ya.next().value;return Ya.idOrKey===Va&&404===Ya.status}),oe(!1));this.issueTrackerId$=this.issue$.pipe(E(function(Va){return null==Va?void 0:Va.trackerId}));this.showTrackerRedirect$=(0,F.combineLatest)([this.currentTracker.trackerId$,
this.issueTrackerId$]).pipe(E(function(Va){var Ya=k(Va);Va=Ya.next().value;Ya=Ya.next().value;return Oa.shouldShowTrackerRedirect(Va,dh("")(Ya))}));this.snapshot$=this.issue$.pipe(E(function(Va){return null==Va?void 0:Va.snapshot[0]}));this.archived$=this.snapshot$.pipe(E(function(Va){return null==Va?void 0:Va.isArchived}));this.deleted$=this.snapshot$.pipe(E(function(Va){return null==Va?void 0:Va.isDeleted}));this.undeleteButtonTooltip$=this.permissions.canUndeleteIssue$.pipe(E(function(Va){return Va?
void 0:"Only issue admins can undelete issues"}));this.inArchivedComponent$=this.issue$.pipe(E(function(Va){return(null==Va?void 0:Va.isArchived)&&!(null==Va?0:Va.snapshot[0].isArchived)}));this.status$=this.issue$.pipe(E(function(Va){return(null==Va?void 0:Va.snapshot[0].status)||void 0}));this.prettyStatus$=this.status$.pipe(Zd(eh),E(function(Va){return dk[Va]}));this.issue$.pipe(E(function(Va){var Ya;return null!=(Ya=null==Va?void 0:Va.snapshot[0].title)?Ya:""}));this.issuesBeingBlocked$=this.issue$.pipe(E(function(Va){var Ya;
return null!=(Ya=null==Va?void 0:Va.snapshot[0].blockingIssueId)?Ya:[]}),ee(1E3),pe(this.issueFridge.watchSet));this.issue$.pipe(E(function(Va){var Ya;return null!=(Ya=null==Va?void 0:Va.snapshot[0].duplicateIssueId)?Ya:[]}),ee(1E3),pe(this.issueFridge.watchSet));this.userHasReadAccess$=this.issueFetchResponseFridge.error$.pipe(E(function(Va){if(403===Va.status&&Oa.activeSession.isInternalSession())return!1;Oa.errorHandler.errorHandler(null,Va);return!0}),oe(!0),ne({refCount:!0,bufferSize:1}));this.issueMetadata$=
(0,F.defer)(function(){return Oa.id$}).pipe(Zd(eh),pe(function(Va){return Oa.issueService.getMetadata(Va)}),ne({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(Jc(iE(this.activeSession,"enableCodeMentionsUi")?[{link:"./todos",title:"TODOs",count$:this.counts.countTodosDisplay$}]:[]))};V(V9,kE);V9.\u0275dir=kE.\u0275dir;V9.prototype.shouldShowTrackerRedirect=function(a,b){return""!==a&&a!==b};
V9.prototype.ngOnInit=function(){var a=this,b,c,d;return Ld(function(e){if(1==e.nextAddress)return b=mz,c=b.assertExists,e.yield((0,F.firstValueFrom)(a.id$),2);d=c.call(b,e.yieldResult);a.appEvents.issueViewed.next(d);a.issueInteractionsTracking.getState(d);a.subscriptions.add(tP(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(Zd(eh),
ge()).subscribe(function(g){KH(a.issueFridge,[g.issueId])}));a.subscriptions.add(a.refreshMonitor.getObservable().subscribe(function(){a.issueInteractionsTracking.trackNavigation("refresh");a.permissionsFridge.poke("issues/"+d);a.issueRelationshipsFridge.poke(d);NH(a.issueFetchResponseFridge,d);a.eventsForIssueFridge.poke(d);a.hotlistFridge.pokeMany(Kmc);KH(a.issueFridge,[d])}));a.destroyed$.subscribe(function(){a.devopsGraph.close();var g=a.issueInteractionsTracking,h=g.getState(d);g.trackDestroy("edit-count",
h.editCount);var l=Date.now()-h.startTime;yqc(g,l,"idp-time-on-page",h.variations);g.resetState(d);a.editIssueService.clear(d)});Qd(e)})};V9.\u0275fac=function(a){return new (a||V9)(D(pJ),D(IH),D(rp),D(zJ),D(MJ),D(q9),D(cG),D(wJ),D(sP),D(VF),D(zH),D(A9),D(GH),D(pF),D(LH),D(lH),D(QH),D(PH),D(FH),D(ZF),D(LK))};
V9.\u0275cmp=zc({type:V9,selectors:[["issue-details-wrapper"]],features:[Xe([wH,NJ,{provide:IL,useClass:U9}]),xe],decls:10,vars:8,consts:[["class","a11y-only",4,"ngIf"],[4,"ngIf","ngIfThen","ngIfElse"],["showIssueDetails",""],["showTrackerRedirect",""],["showNoAccessScreen",""],[1,"a11y-only"],[4,"ngIf"],["class","flex-kids-y pos-fill",3,"issue-editor-false",4,"ngIf","ngIfElse"],[1,"flex-kids-y","pos-fill"],["class","border-bottom",3,"messageType","format","iconOverride",4,"ngIf"],["messageType",
"caution","class","border-bottom",3,"format","iconOverride",4,"ngIf"],["messageType","error","format","app","class","border-bottom",4,"ngIf"],["class","issue-header",4,"ngIf"],[1,"flex-1","flex-kids-x","overflow","overflow-on-print-media"],["role","main","rememberScroll","center","cdkScrollable","",1,"flex-1","pos-rel","bg-off-main","overflow","overflow-on-print-media"],[3,"issueId",4,"ngIf"],[1,"border-bottom",3,"messageType","format","iconOverride"],["href","http://go/buganizer-issue-archive","target",
"_blank",4,"ngIf"],["mat-button","","aria-label","Unarchive issue",3,"click",4,"ngIf"],["href","http://go/buganizer-issue-archive","target","_blank"],["mat-button","","aria-label","Unarchive issue",3,"click"],["messageType","caution",1,"border-bottom",3,"format","iconOverride"],["href","http://go/buganizer/guides/manage-component#archiving-a-component","target","_blank",4,"ngIf"],["href","http://go/buganizer/guides/manage-component#archiving-a-component","target","_blank"],["messageType","error",
"format","app",1,"border-bottom"],["href","http://go/issue-retention","target","_blank",4,"ngIf"],["mat-button","","aria-label","Undelete issue",3,"matTooltip","disabled","click",4,"ngIf"],["href","http://go/issue-retention","target","_blank"],["mat-button","","aria-label","Undelete issue",3,"matTooltip","disabled","click"],[1,"issue-header"],[3,"issueId","trackerId"],[3,"issueId"],["mat-tab-nav-bar","","gmat-tabs",""],["mat-tab-link","","routerLinkActive","",3,"routerLink","active","routerLinkActiveOptions",
4,"ngFor","ngForOf"],["mat-tab-link","","routerLinkActive","",3,"routerLink","active","routerLinkActiveOptions"],["rla","routerLinkActive"],["style","margin-left: 4px;",4,"ngIf"],[2,"margin-left","4px"],[1,"bv2-limited-issue-view"],[3,"issue"],[3,"issueMetadata"]],template:function(a,b){a&1&&(R(0,DAb,2,1,"h2",0),T(1,"async"),R(2,EAb,1,0,"div",1),T(3,"async"),R(4,WAb,2,3,"ng-template",null,2,of),R(6,XAb,3,3,"ng-template",null,3,of),R(8,YAb,3,3,"ng-template",null,4,of));if(a&2){var c=Se(5),d=Se(9);
G("ngIf",U(1,4,b.id$));C(2);G("ngIf",U(3,6,b.userHasReadAccess$))("ngIfThen",c)("ngIfElse",d)}},dependencies:[Su,Tu,xG,IG,JG,yy,PM,QM,SM,xx,XA,rX,sX,I9,R5,R9,Rld,J9,Ald,Zu],styles:["[mat-tab-nav-bar][_ngcontent-%COMP%]{padding-left:8px}"]});var W9=function(a,b){kE.call(this);var c=this;this.issueFridge=a;this.butterBar=b;this.duplicateIssueIds$=new F.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"}]}};V(W9,kE);W9.\u0275dir=kE.\u0275dir;W9.prototype.ngOnInit=function(){};
W9.prototype.removeDuplicate=function(a){var b=this,c;return Ld(function(d){if(1==d.nextAddress)return Md(d,2),d.yield(b.issueFridge.removeDuplicate(b.issueId,a),4);if(2!=d.nextAddress)return xp(d,0);c=Pd(d);XF(b.butterBar,"Could not remove duplicate "+a+". "+c);Qd(d)})};gg.Object.defineProperties(W9.prototype,{duplicateIds:{configurable:!0,enumerable:!0,set:function(a){this.duplicateIssueIds$.next((null!=a?a:[]).map(function(b){return String(b)}))}}});
W9.\u0275fac=function(a){return new (a||W9)(D(IH),D(VF))};W9.\u0275cmp=zc({type:W9,selectors:[["b-duplicates-table"]],inputs:{duplicateIds:"duplicateIds",issueId:"issueId"},features:[xe],decls:2,vars:3,consts:[[4,"ngIf"],[3,"issueIds","menuItemFactory","tableColumns","initialSort"]],template:function(a,b){a&1&&(R(0,ZAb,2,4,"ng-container",0),T(1,"async"));a&2&&G("ngIf",U(1,1,b.duplicateIssueIds$))},dependencies:[Tu,LT,Zu],encapsulation:2,changeDetection:0});var X9=function(a,b,c,d,e){kE.call(this);var g=this;this.paramsService=a;this.issues=b;this.issuePicker=c;this.snackBar=d;this.counts=e;this.ROBOT_SLEEPING=utc;this.id$=this.paramsService.issueId$;this.dupeUrl$=this.id$.pipe(E(function(h){return{path:"/issues",params:{q:"canonicalid:"+h}}}));this.issue$=this.id$.pipe(pe(this.issues.watch));this.duplicateIds$=this.issue$.pipe(E(function(h){var l;return null!=(l=null==h?void 0:h.snapshot[0].duplicateIssueId)?l:[]}));this.duplicatesCount$=this.duplicateIds$.pipe(pe(function(h){return 0===
h.length?(0,F.of)(0):g.counts.duplicatesDualCount$.pipe(E(function(l){return l.total.count}))}));this.showTable$=this.duplicatesCount$.pipe(E(function(h){return 0<h}),oe(!0));this.didChooseDupes=function(h){var l=ol(g.id$);null!=l&&snc(g.issues,l,h[0]).catch(g.gotErr)};this.gotErr=function(h){g.snackBar.open(Ck(h)||"Error with network request","close",{panelClass:"error"})}};V(X9,kE);X9.\u0275dir=kE.\u0275dir;X9.prototype.isThinking=function(){return this.issues.isThinking()};
var $Ab=function(a){a.issuePicker.open({title:"Add Duplicate",allowMultipleIds:!1,edgeType:"duplicate"},a.didChooseDupes)};X9.\u0275fac=function(a){return new (a||X9)(D(pJ),D(IH),D(fP),D(TF),D(q9))};
X9.\u0275cmp=zc({type:X9,selectors:[["ng-component"]],features:[xe],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),
R(1,eBb,5,4,"ng-container",1),T(2,"async"),J(),R(3,fBb,2,0,"aside",2));a&2&&(C(1),G("ngIf",U(2,2,b.duplicateIds$)),C(2),G("ngIf",b.isThinking()))},dependencies:[Tu,yy,zy,IG,XA,SL,W9,Zu],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 Tld=function(){};Tld.\u0275fac=function(a){return new (a||Tld)};Tld.\u0275mod=Bc({type:Tld});Tld.\u0275inj=oc({imports:[MF,Hw,Uw,Qv,Rv,MG,WB,RM,zC,YA,cN,VO,yO,yN,NT]});var Y9=function(a,b,c,d){kE.call(this);this.preferences=a;this.activeSession=b;this.clearcut=c;this.analytics=d;this.enableCommentFilters=iE(this.activeSession,"enableCommentFiltering");this.selectedFilter=null;a=this.activeSession.isInternalSession();lBb.description=a?"Including CLs, Blunderbuss, etc.":"Including all automated comments";this.filters=Uld;this.showRecentEventsFirst=!1};V(Y9,kE);Y9.\u0275dir=kE.\u0275dir;
Y9.prototype.ngOnInit=function(){var a=this;this.preferences.showRecentEventsFirst$.pipe(Zd(eh),qe(this.destroyed$)).subscribe(function(b){a.showRecentEventsFirst=b});this.preferences.commentFilterPreferences$.pipe(qe(this.destroyed$)).subscribe(function(b){b.commentFilter?a.selectedFilter=oBb(b.commentFilter):(a.selectedFilter=UI(a.preferences).showFullHistory?kBb:lBb,a.preferences.save({commentFilterPreferences:{commentFilter:a.selectedFilter.commentFilterType}}).pipe(qe(a.destroyed$)).subscribe())})};
Y9.\u0275fac=function(a){return new (a||Y9)(D(TI),D(rp),D(oH),D(AH))};
Y9.\u0275cmp=zc({type:Y9,selectors:[["b-event-stream-header"]],features:[xe],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),S(2,"Comments"),J(),H(3,"div",2),R(4,hBb,5,3,"mat-form-field",3),H(5,"button",4),O("click",function(){UAa("hasClickedCommentSortBtn")(!0);var c=!b.showRecentEventsFirst;qH(b.clearcut,"click_recentFirst_"+c);b.preferences.save({showRecentEventsFirst:c}).pipe(qe(b.destroyed$)).subscribe()}),
R(6,iBb,4,0,"ng-container",5),R(7,jBb,4,0,"ng-container",5),J()()());a&2&&(C(4),G("ngIf",b.enableCommentFilters),C(2),G("ngIf",!b.showRecentEventsFirst),C(1),G("ngIf",b.showRecentEventsFirst))},dependencies:[Su,Tu,yy,jz,Yy,CO,BO,Ay],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 kBb={name:"Full history",description:"Including everything with audit trail",displayName:"Full history",commentFilterType:"FULL_HISTORY"},lBb={name:"All comments and updates",description:"Including CLs, Blunderbuss, etc.",displayName:"All comments",commentFilterType:"ALL_COMMENTS"},mBb={name:"Users' comments",description:"All human generated comments",displayName:"Users",commentFilterType:"HUMAN_ONLY"},nBb={name:"Team and assignee comments",description:"Issue's owning team and assignee",displayName:"Team and assignee",
commentFilterType:"TEAM_AND_ASSIGNEE"},Uld=[kBb,lBb,mBb,nBb];var Vld=function(a){this.matDialogService=a;this.reactionState$=new F.ReplaySubject(1);this.issueId="";this.emails$=this.reactionState$.pipe(Zd(eh),E(function(b){return b.recentResponders.map(function(c){return c.emailAddress||c.obfuscatedEmailAddress||""}).filter(function(c){return""!==c}).slice(0,5)}));this.isOverflowReactionCount$=this.reactionState$.pipe(Zd(eh),E(function(b){return 5<b.count}));this.overflowReactionCount$=this.reactionState$.pipe(Zd(eh),Zd(function(b){return 5<b.count}),E(function(b){return b.count-
5}))};gg.Object.defineProperties(Vld.prototype,{reactionState:{configurable:!0,enumerable:!0,set:function(a){a&&this.reactionState$.next(a)}}});Vld.\u0275fac=function(a){return new (a||Vld)(D(Ly))};
Vld.\u0275cmp=zc({type:Vld,selectors:[["b-comment-reaction-responders-card"]],inputs:{reactionState:"reactionState",issueId:"issueId",commentNumber:"commentNumber"},decls:6,vars:6,consts:[["role","dialog","tabindex","0","aria-label","Comment Reactions Hovercard",1,"onedev-hovercard-content"],[1,"onedev-hovercard-body"],[4,"ngFor","ngForOf"],[4,"ngIf"],[1,"normal-link","hover-link","unstyled-button",3,"click"]],template:function(a,b){a&1&&(H(0,"div",0)(1,"div",1),R(2,rBb,6,5,"ng-container",2),T(3,
"async"),R(4,tBb,6,3,"span",3),T(5,"async"),J()());a&2&&(C(2),G("ngForOf",U(3,2,b.emails$)),C(2),G("ngIf",U(5,4,b.isOverflowReactionCount$)))},dependencies:[Su,Tu,Zu],styles:[".onedev-hovercard-content[_ngcontent-%COMP%]{width:auto;max-width:400px}.normal-link.unstyled-button[_ngcontent-%COMP%]{color:#1a73e8;color:var(--link)}"]});var Wld=function(){};Wld.\u0275fac=function(a){return new (a||Wld)};Wld.\u0275cmp=zc({type:Wld,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&&R(0,vBb,7,2,"ng-container",0);a&2&&G("ngIf",b.event.commentLastModifiedAtDate)},dependencies:[Tu,BK],encapsulation:2,changeDetection:0});var Z9=function(){this.texts=[]};Z9.prototype.getIssueId=function(a){return a.text};Z9.prototype.trackByIndex=function(a){return a};Z9.\u0275fac=function(a){return new (a||Z9)};
Z9.\u0275cmp=zc({type:Z9,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&&R(0,zBb,5,3,"ng-container",0);a&2&&G("ngForOf",b.texts)("ngForTrackBy",b.trackByIndex)},dependencies:[KL,Su,Uu,Vu,Wu,Hxc],encapsulation:2,changeDetection:0});var Xld=function(a){this.hotlists=a;this.HOTLIST_SEARCH=jp.HOTLIST_SEARCH};Xld.\u0275fac=function(a){return new (a||Xld)(D(lH))};Xld.\u0275cmp=zc({type:Xld,selectors:[["hotlist-link"]],inputs:{id:"id"},decls:3,vars:4,consts:[[3,"href"]],template:function(a,b){a&1&&(H(0,"a",0),S(1),T(2,"async"),J());if(a&2){var c;G("href",b.HOTLIST_SEARCH(b.id),vd);C(1);Ve((null==(c=U(2,2,b.hotlists.watch(b.id)))?null:c.name)||b.id)}},dependencies:[Zu],encapsulation:2,changeDetection:0});var Yld=function(a){var b=this;this.componentFridge=a;this.id$=new F.ReplaySubject(1);this.name$=this.id$.pipe(fe(),pe(function(c){return b.componentFridge.watchOne(c).pipe(E(function(d){var e;return d?h9a(null==(e=d.componentPathInfo)?void 0:e.componentPathName,c):c}))}))};Yld.prototype.ngOnChanges=function(){this.id$.next(this.id)};Yld.\u0275fac=function(a){return new (a||Yld)(D(xF))};
Yld.\u0275cmp=zc({type:Yld,selectors:[["plain-component-path"]],inputs:{id:"id"},features:[Mc],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),S(1),T(2,"async"),J(),H(3,"onedev-hovercard",null,1),R(5,ABb,3,2,"ng-container",2),J());if(a&2){var c=Se(4);G("onedevHovercardTrigger",c);C(1);Ve(U(2,2,b.name$)||b.id)}},dependencies:[QJ,
RJ,VJ,SJ,gZ,Zu],encapsulation:2,changeDetection:0});var YBb=function(a){return{"bv2-diff-newvalue-nextline":a}},rCb=function(a,b,c){return{diff:a,change:b,isLast:c}},$9=function(a,b){kE.call(this);this.activeSession=a;this.preferences=b;this.customFieldMap={};this.effortEnabled=!0;this.isStringArray=Hg;this.isLinkedItemArray=Cwa;this.isIssueDiff=zwa;this.isHotlistDiff=Awa};V($9,kE);$9.\u0275dir=kE.\u0275dir;$9.prototype.getAccessLimitLevel=function(a){return O9a(a)};
var Zld=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)},$ld=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)};$9.prototype.ngOnInit=function(){var a=this;this.preferences.showRecentEventsFirst$.pipe(Zd(eh),qe(this.destroyed$)).subscribe(function(b){2>a.internalDiffs.length||(b&&Zld(a)||!b&&$ld(a))&&a.internalDiffs.reverse()})};$9.prototype.trackByIndex=function(a){return a};
var DCb=function(a,b,c){return"<none>"===Eda(b,c)?!1:b.customFieldId&&a.customFieldMap[b.customFieldId]&&"DATE"===a.customFieldMap[b.customFieldId].type?!0:!1},ECb=function(a,b,c){return"<none>"===Eda(b,c)?!1:b.customFieldId&&a.customFieldMap[b.customFieldId]&&"REPEATED_DATE"===a.customFieldMap[b.customFieldId].type?!0:!1};$9.prototype.asNumber=function(a){return Number(a)};
$9.prototype.customFieldName=function(a){if(a.customFieldId){var b;return(null==(b=this.customFieldMap[a.customFieldId])?void 0:b.customFieldName)||"customfield"+a.customFieldId}return""};gg.Object.defineProperties($9.prototype,{diffs:{configurable:!0,enumerable:!0,set:function(a){this.internalDiffs=[].concat(Jc(a))}}});$9.\u0275fac=function(a){return new (a||$9)(D(rp),D(TI))};
$9.\u0275cmp=zc({type:$9,selectors:[["b-issue-event-details"]],inputs:{diffs:"diffs",customFieldMap:"customFieldMap",effortSpecName:"effortSpecName",effortEnabled:"effortEnabled"},features:[xe],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),R(1,UCb,2,1,"div",1),J(),R(2,cDb,1,1,"ng-template",null,2,of),R(4,dDb,2,0,"ng-template",null,3,of));a&2&&(C(1),G("ngForOf",b.internalDiffs)("ngForTrackBy",b.trackByIndex))},dependencies:[Ru,Su,Tu,Yu,Uu,Vu,Wu,BK,uK,KL,Xld,Yld,cv],styles:["\n/*# sourceMappingURL=issue_event_details.css.map */"],changeDetection:0});var a$=function(a){kE.call(this);var b=this;a.textDisplayPreferencesSubject$.pipe(qe(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:og(c.commentDisplayOverride)}})};V(a$,kE);a$.\u0275dir=kE.\u0275dir;
a$.prototype.ngOnInit=function(){};a$.prototype.ngOnChanges=function(){this.rawComment=this.note.unlinkifiedComment||"";amd(this);this.audience=this.issueAccessLevel&&"INTERNAL"===this.issueAccessLevel?"INTERNAL_AUDIENCE":"EXTERNAL_AUDIENCE";this.idPrefix="b"+this.issueId+"-c"+this.note.commentNumber};
var amd=function(a){if(2>a.rawComment.split("\n").slice(0,3).filter(Boolean).length)a.rawComment=zDa(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")}};a$.\u0275fac=function(a){return new (a||a$)(D(TI))};
a$.\u0275cmp=zc({type:a$,selectors:[["b-summarized-note-container"]],inputs:{note:"note",issueId:"issueId",formattingMode:"formattingMode",issueAccessLevel:"issueAccessLevel"},features:[xe,Mc],decls:1,vars:5,consts:[[3,"comment","issueId","audience","formattingMode","idPrefix"]],template:function(a,b){a&1&&K(0,"b-live-preview",0);a&2&&G("comment",b.rawComment)("issueId",b.issueId)("audience",b.audience)("formattingMode",b.formattingModeOverride||b.formattingMode)("idPrefix",b.idPrefix)},dependencies:[pO],
styles:["[_nghost-%COMP%]     b-live-preview .md-preview{background-color:#fff;background-color:var(--background);padding:0}"]});var bmd=["commentActionsMenu"],cmd=["commentReactionButton"],nDb=function(){return[]},DDb=function(a){return{"no-upvote-reactions":a}},b$=function(a,b,c,d,e,g,h,l,q,v,y,B,I,N,Q,Z,Y,ka,la){kE.call(this);var Da=this;this.documentationLinks=a;this.activeSession=b;this.issueReferenceResolver=c;this.commentService=d;this.el=e;this.userAccess=g;this.butterBar=h;this.errorHandler=l;this.analytics=q;this.userPreferencesManager=v;this.issueDetailsBrain=y;this.editIssueService=B;this.issuePermissionService=
I;this.commentHistoryDialogService=N;this.issueCommentDialogsService=Q;this.dateFormatter=Z;this.paths=Y;this.domSafe=ka;this.eventsForIssueFridge=la;this.isSummarized=!1;this.issueId$=new F.ReplaySubject(1);this.distinctIssueId$=this.issueId$.pipe(fe());this.event$=new F.ReplaySubject(1);this.isCommentEvent=ik;this.isNonObfuscatedEmail=xl;this.commentActionMenuItems$=new F.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(){Da.formattingMode="PLAIN";Da.initializeActionsMenu()},label:"Classic",selected:!0},a.MARKDOWN={type:"select",action:function(){Da.formattingMode="MARKDOWN";Da.initializeActionsMenu()},label:"Markdown",selected:!1},a.LITERAL={type:"select",action:function(){Da.formattingMode="LITERAL";Da.initializeActionsMenu()},label:"Source",selected:!1},
a);this.isFormattingOverrideEnabled=!1;this.canEditComment$=this.event$.pipe(pe(function(za){return Da.issuePermissionService.canEditComment$(za)}),ne({refCount:!0,bufferSize:1}));this.canEditComment=function(){return!!ol(Da.canEditComment$)};this.commentHistoryEnabled=iE(this.activeSession,"enableCommentHistoryUi");this.commentReactionsEnabled=iE(this.activeSession,"enableCommentReaction");this.effortSpec$=this.issueDetailsBrain.effortSpec$;this.isEffortEnabled$=this.issueDetailsBrain.isEffortEnabled$;
this.teamId$=this.issueDetailsBrain.teamId$;this.issue$=this.distinctIssueId$.pipe(pe(function(za){return Da.editIssueService.editableIssue$(za)}));this.modifiedDateDisplay$=this.event$.pipe(E(function(za){return new Date(za.modifiedDate)}),pe(function(za){return dtc(Da.dateFormatter,za)}));this.ariaLabelHeading$=(0,F.combineLatest)([this.event$,this.modifiedDateDisplay$]).pipe(E(function(za){var Oa=k(za);za=Oa.next().value;Oa=Oa.next().value;if(null==za)za="";else{var Va=[];za.commentNumber&&Va.push("Comment #"+
za.commentNumber);za.userPerformingActionUser&&Va.push(Qg(za.userPerformingActionUser));Va.push("Modified: "+Oa);za=Va.join(", ")}return za}));this.ReactionType=Wcc;this.upvoteReactionCount$=this.event$.pipe(E(function(za){var Oa,Va,Ya;return null!=(Ya=null==(Oa=za.commentReactions)?void 0:null==(Va=Oa.get("UPVOTE"))?void 0:Va.count)?Ya:0}));this.upvoteReactionCountDisplayString$=this.upvoteReactionCount$.pipe(E(function(za){return za&&0!==za?999<za?"999+":String(za):null}));this.noUpvoteReactions$=
this.upvoteReactionCount$.pipe(E(function(za){return 0===za}));this.commentReactionsHovercardConfig=Object.assign({},new TJ,{position:[vrc]});this.commentReactionIsSaving=!1;this.showRecentEventsFirst$=this.userPreferencesManager.showRecentEventsFirst$;this.showFullHistoryFromFiltering$=this.userPreferencesManager.commentFilterPreferences$.pipe(E(function(za){var Oa;return null!=(Oa=za.commentFilter)?Oa:""}));this.isFullHistoryPreference$=this.showFullHistoryFromFiltering$.pipe(E(function(za){return"FULL_HISTORY"===
za}));this.preEventDiffs$=(0,F.combineLatest)([this.event$,this.showRecentEventsFirst$]).pipe(E(function(za){za=k(za);var Oa=za.next().value;return za.next().value?Oa.postDiffs:Oa.preDiffs}));this.postEventDiffs$=(0,F.combineLatest)([this.event$,this.showRecentEventsFirst$]).pipe(E(function(za){za=k(za);var Oa=za.next().value;return za.next().value?Oa.preDiffs:Oa.postDiffs}));this.hasAclToUpvoteReact$=(0,F.combineLatest)([this.event$,this.issuePermissionService.hasAclToComment$]).pipe(E(function(za){var Oa=
k(za);za=Oa.next().value;Oa=Oa.next().value;var Va,Ya;return(null==(Va=za.commentReactions)?void 0:null==(Ya=Va.get("UPVOTE"))?void 0:Ya.hasReacted)||Oa}));this.showCommentReactionHovercard$=(0,F.combineLatest)([this.issuePermissionService.hasAclToEdit$,this.upvoteReactionCount$]).pipe(E(function(za){var Oa=k(za);za=Oa.next().value;Oa=Oa.next().value;return za&&0<Oa&&5>=Oa}));this.isShowingCommentTimestamp$=this.isFullHistoryPreference$.pipe(E(function(za){return za&&LDb(Da)&&(0<Da.event.preDiffs.length||
0<Da.event.postDiffs.length)}));this.getCommentNumberLink=function(za){return uya(Da.issueId,{comment:za})}};V(b$,kE);b$.\u0275dir=kE.\u0275dir;
b$.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(qe(this.destroyed$)).subscribe(function(){ik(a.event)&&a.isRestricted()?a.mayReadPii$=a.mayReadPii():a.mayReadPii$=(0,F.of)(void 0)});dmd(this);this.userPreferencesManager.textDisplayPreferencesSubject$.pipe(qe(this.destroyed$)).subscribe(function(b){a.isFormattingOverrideEnabled=
null!=b.commentDisplayOverride;a.initializeActionsMenu()});this.issueDetailsBrain.canonicalIssueId$.pipe(qe(this.destroyed$)).subscribe(function(b){a.canonicalIssueId=b;a.initializeActionsMenu()});this.canEditComment$.pipe(qe(this.destroyed$)).subscribe(function(){a.initializeActionsMenu()});this.issuePermissionService.canChangeCommentRetention$.pipe(qe(this.destroyed$)).subscribe(function(){a.initializeActionsMenu()})};
var dmd=function(a){if(a.formattingMode){for(var b=k(Object.values(a.formattingModeMenuItems)),c=b.next();!c.done;c=b.next())c.value.selected=!1;a.formattingModeMenuItems[a.formattingMode].selected=!0}};f=b$.prototype;
f.updateCommentRetention=function(a){var b=this;this.event.commentNumber||$F(this.errorHandler,"Comment number is missing");this.analytics.trackEvent(Yl.RESTRICTED_CONTENT,"updateRetention","comment");this.commentService.updateRetention(this.issueId,this.event.commentNumber||0,a).pipe(qe(this.destroyed$)).subscribe({next:function(c){var d;b.event=Object.assign({},b.event,{commentRetention:c.piiRetention,commentRetentionState:null!=(d=c.piiRetentionState)?d:null});WF(b.butterBar,"Comment retention updated",
4E3);b.commentRetentionOverride=2===a?"INDEFINITE":"COMPONENT_DEFAULT";b.initializeActionsMenu()},error:function(){$F(b.errorHandler,"Comment retention update failed")}})};
f.ngOnChanges=function(a){a.issueId&&this.issueId$.next(String(this.issueId));a=a.event;var b;if(b=a&&this.deobfuscatedEvent)b=a.previousValue,a=a.currentValue,b=(null==b?void 0:b.commentVersion)!==(null==a?void 0:a.commentVersion)||(null==b?void 0:b.commentContentVerdict)!==(null==a?void 0:a.commentContentVerdict);b&&(this.deobfuscatedEvent=void 0);this.event.formattingMode&&("UNSPECIFIED_FORMATTING_MODE"===this.event.formattingMode?this.formattingMode="PLAIN":this.formattingMode=this.event.formattingMode);
this.initializeActionsMenu()};f.scrollCommentIntoView=function(a,b){this.issueReferenceResolver.visit({issueId:this.issueId,elementId:"comment"+b,event:a})};f.getRestrictedLabel=function(){return Wsa(jh(this.event.commentContentVerdict))};f.isRestricted=function(){if(!this.isInternalSession)return!1;var a=jh(this.event.commentContentVerdict);switch(a){case "NONE_DETECTED":case "PII_SEVERITY_UNSPECIFIED":return!1;case "PII":case "SPII":return!0;default:og(a)}};
f.isDeleted=function(){return"DELETED"===this.event.commentDeletionStatus};var lp=function(a){var b;return(null==(b=a.event)?void 0:b.commentRedacted)&&!a.deobfuscatedEvent};
b$.prototype.loadRestrictedComment=function(){var a=this;this.analytics.trackEvent(Yl.RESTRICTED_CONTENT,"viewRestrictedContent","comment");var b=String(this.issueId),c=this.event.commentNumber||0,d=Usa(jh(this.event.commentContentVerdict));this.commentService.get(b,c,d).pipe(ge()).subscribe(function(e){a.deobfuscatedEvent=Object.assign({},a.event,uva(e));a.initializeActionsMenu()},function(e){var g;XF(a.butterBar,"Error showing comment "+c+": "+(null==(g=e.error)?void 0:g.message))})};
b$.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]}),dmd(this)),this.canEditComment()&&b.push({type:"action",action:function(){kDb(a.issueCommentDialogsService,String(a.issueId),a.deobfuscatedEvent||a.event).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},
label:"Edit comment",disabled:lp(this)}),this.commentHistoryEnabled&&0<(this.event.commentVersion||0)&&!lp(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:lp(this)}),this.isDeleted()||this.activeSession.isAnonymous()||b.push({type:"action",action:function(){VKc(a.issueCommentDialogsService,String(a.issueId),a.event.commentNumber).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Copy comment to",disabled:lp(this)}),Cqc(this.issuePermissionService,
this.event)&&b.push({type:"action",action:function(){$Kc(a.issueCommentDialogsService,String(a.issueId),a.event.commentNumber,a.event.commentEtag).then(function(){a.commentActionsMenu.actionsMenuIconButton.focus()})},label:"Delete comment"}),Bqc(this.issuePermissionService,this.event)&&b.push({type:"action",action:function(){XKc(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(){aLc(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?2:1;bLc(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)};b$.prototype.getUserEmailIfAvailable=function(){return Ug(this.event.userPerformingActionUser)};var LDb=function(a){return ik(a.event)&&!!a.event.unlinkifiedComment};b$.prototype.showCommentHistoryDialog=function(a){return this.commentHistoryDialogService.show(this.issueId,a,-1)};
b$.prototype.mayReadPii=function(){var a=JF(this.userAccess,"reader","issues/"+this.issueId+"/comments/"+this.event.commentNumber);a.catch(function(b){rg("error: ",b);return!1});return(0,F.from)(a)};
var BDb=function(a){if(ol(a.hasAclToUpvoteReact$)){a.commentReactionIsSaving=!0;var b=EDb(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);nF(a.eventsForIssueFridge,a.issueId,function(g){var h;g.events=Wwa(g.events,null!=(h=a.event.commentNumber)?h:2,{commentReactions:d})});a.analytics.trackEvent(Yl.EDIT_ISSUE,
"click",b?"removeUpvoteReaction":"addUpvoteReaction")}})}},EDb=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},CDb=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};
gg.Object.defineProperties(b$.prototype,{event:{configurable:!0,enumerable:!0,set:function(a){this.internalEvent=a;this.event$.next(a)},get:function(){return this.internalEvent}}});b$.\u0275fac=function(a){return new (a||b$)(D(NI),D(rp),D(IL),D(zQ),D(fd),D(IF),D(VF),D(ZF),D(AH),D(TI),D(xJ),D(MJ),D(zJ),D(yQ),D(hT),D(AK),D(OG),D(rK),D(pF))};
b$.\u0275cmp=zc({type:b$,selectors:[["b-history-event"]],viewQuery:function(a,b){a&1&&(jf(bmd,5),jf(cmd,5));if(a&2){var c;hf(c=lf())&&(b.commentActionsMenu=c.first);hf(c=lf())&&(b.commentReactionButton=c.first)}},inputs:{issueId:"issueId",issueAccessLevel:"issueAccessLevel",isSummarized:"isSummarized",event:"event"},features:[xe,Mc],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",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&&(R(0,MDb,43,33,"ng-container",0),T(1,"async"));a&2&&G("ngIf",U(1,1,b.issue$))},dependencies:[RK,jT,rO,Ru,Su,Tu,Yu,yy,jz,BK,QJ,VJ,$9,tK,GQ,lT,sN,vK,NL,SO,
XA,a$,Vld,Wld,Z9,Zu],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}\n/*# sourceMappingURL=history_event.css.map */"],
changeDetection:0});var emd={FULL:"full",SUMMARIZED:"summarized",FOLDED:"folded",HIDDEN:"hidden"},c$=function(a,b,c,d,e,g,h,l,q,v){kE.call(this);var y=this;this.formattedCommentsForIssueFridge=a;this.preferences=b;this.eventsForIssue=c;this.editIssueService=d;this.dynamicScrollIntoView=e;this.bLocation=g;this.elementRef=h;this.activeSession=l;this.routerEvents=q;this.analytics=v;this.issueId$=new F.ReplaySubject(1);this.internalIssueId="";this.eventDisplayModes=emd;this.internalEvents=[];this.showRecentEventsFirst=null;
this.currentFilterLevel="FULL_HISTORY";this.enableCommentFiltering=iE(this.activeSession,"enableCommentFiltering");this.issue$=this.issueId$.pipe(pe(function(B){return y.editIssueService.editableIssue$(B)}));this.events$=new F.ReplaySubject(1);this.commentsToFormat$=new F.ReplaySubject(1);this.eventDisplayMode=new Map;this.commentNumbersDisplayed=new Set;this.foldedCommentsCounts=new Map;this.sendAnalytics=DUb(function(){var B=[].concat(Jc(document.querySelectorAll(".bv2-event-note, .bv2-event-major-status"))).map(function(I){return I.innerText}).join("").length;
y.analytics.trackEvent(Yl.EDIT_ISSUE,"updateCommentThread","visibleCharCount",B)},200);this.scrollToCommentOrAttachment=DUb(function(){var B=y.bLocation.hash();if(B&&y.internalEvents){var I,N=k(null!=(I=B.match(RegExp("(comment|attachment)([0-9]+)")))?I:[]);N.next();I=N.next().value;var Q=N.next().value;N=I;var Z=Q;if("lastcomment"===B){N=bxa(y.internalEvents);if(-1===N)return;Z=String(N);N="comment"}N&&Z&&(B=y.internalEvents.findIndex(function(Y){return Y.commentNumber===Number(Z)}),I=-1<B,Q=y.internalEvents.flatMap(function(Y){return Y.attachments}).some(function(Y){return Y.attachmentId===
Number(Z)}),I||Q)&&(I&&"folded"===y.eventDisplayMode.get(B)&&(y.eventDisplayMode.set(B,"full"),fmd(y,B)),Q&&(B=y.internalEvents.findIndex(function(Y){return-1<Y.attachments.findIndex(function(ka){return ka.attachmentId===Number(Z)})}),y.eventDisplayMode.get(B)||(y.eventDisplayMode.set(B,"full"),fmd(y,B))),Qld(y.dynamicScrollIntoView,{elementId:N+Z,parentElement:y.elementRef.nativeElement,scrollableContainerId:"bv2-edit-issue-details-scroll",scrollPadding:60}).pipe(qe(y.destroyed$)).subscribe())}},
200)};V(c$,kE);c$.\u0275dir=kE.\u0275dir;
c$.prototype.ngOnInit=function(){var a=this;this.preferences.showRecentEventsFirst$.pipe(Zd(eh),qe(this.destroyed$),fe()).subscribe(function(b){a.showRecentEventsFirst!==b&&(a.showRecentEventsFirst=b,gmd(a))});(0,F.combineLatest)([this.events$,this.preferences.commentFilterPreferences$]).subscribe(function(b){b=k(b);var c=b.next().value,d=b.next().value;b=[];if(a.enableCommentFiltering&&d.commentFilter)for(a.currentFilterLevel=d.commentFilter,hmd(a,c,d.commentFilter),imd(a),c=k(a.commentNumbersDisplayed.values()),
d=c.next();!d.done;d=c.next())b.push(a.internalIssueId+"-"+d.value);else for(c=k(c),d=c.next();!d.done;d=c.next())(d=d.value)&&d.commentNumber&&b.push(a.internalIssueId+"-"+d.commentNumber);a.commentsToFormat$.next(b)});this.commentsToFormat$.pipe(Zd(eh),qe(this.destroyed$),pe(this.formattedCommentsForIssueFridge.watchSet)).subscribe(function(b){jmd(a,b)});this.routerEvents.navigationEnd$.pipe(qe(this.destroyed$)).subscribe(function(){a.internalEvents&&0!==a.internalEvents.length&&a.scrollToCommentOrAttachment()})};
var jmd=function(a,b){for(var c={$jscomp$loop$prop$i$2381:0};c.$jscomp$loop$prop$i$2381<a.internalEvents.length;c={$jscomp$loop$prop$i$2381:c.$jscomp$loop$prop$i$2381},c.$jscomp$loop$prop$i$2381++)if(RDb(a.eventDisplayMode.get(c.$jscomp$loop$prop$i$2381))&&ik(a.internalEvents[c.$jscomp$loop$prop$i$2381])){var d=b.find(function(g){return function(h){return h.id.commentId===a.internalEvents[g.$jscomp$loop$prop$i$2381].commentNumber}}(c));if(d){var e=a.internalEvents[c.$jscomp$loop$prop$i$2381];e.formattedComment=
d.formattedComment.formattedComment;e.formattingMode=d.formattedComment.formattingMode;a.internalEvents[c.$jscomp$loop$prop$i$2381]=Object.assign({},e)}}gmd(a)},hmd=function(a,b,c){a.eventDisplayMode.clear();a.commentNumbersDisplayed.clear();a.foldedCommentsCounts.clear();switch(c){case "FULL_HISTORY":for(c=0;c<b.length;c++){var d=kmd(b[c]);a.eventDisplayMode.set(c,d?"full":"hidden");ik(b[c])&&b[c].commentNumber&&d&&(d=void 0,a.commentNumbersDisplayed.add(null!=(d=b[c].commentNumber)?d:0))}break;
case "ALL_COMMENTS":for(c=0;c<b.length;c++)d=lmd(b[c]),a.eventDisplayMode.set(c,d?"full":"hidden"),ik(b[c])&&b[c].commentNumber&&d&&(d=void 0,a.commentNumbersDisplayed.add(null!=(d=b[c].commentNumber)?d:0));break;case "HUMAN_ONLY":mmd(a,b,function(e){var g;return null!=(g=e.isHumanAuthor&&e.isMajorEvent)?g:!0});break;case "TEAM_AND_ASSIGNEE":mmd(a,b,function(e){var g;return null!=(g=e.isCollaboratorAuthor&&e.isMajorEvent)?g:!0});break;default:for(c=0;c<b.length;c++)a.eventDisplayMode.set(c,"full"),
ik(b[c])&&b[c].commentNumber&&(d=void 0,a.commentNumbersDisplayed.add(null!=(d=b[c].commentNumber)?d:0))}a.sendAnalytics()},imd=function(a){if("FULL_HISTORY"!==a.currentFilterLevel)for(var b=0;b<a.internalEvents.length;b++)ik(a.internalEvents[b])&&pk(a.internalEvents[b])&&(a.eventDisplayMode.set(b,"summarized"),fmd(a,b))},mmd=function(a,b,c){for(var d=0,e=0,g=0,h=0;h<b.length;h++){var l=c(b[h]);a.eventDisplayMode.set(h,l?"full":"folded");if(l){if(0<d||0<e)a.foldedCommentsCounts.has(g)||a.foldedCommentsCounts.set(g,
{commentFoldedCount:d,eventFoldedCount:e});e=d=0;ik(b[h])&&b[h].commentNumber&&(l=void 0,a.commentNumbersDisplayed.add(null!=(l=b[h].commentNumber)?l:0))}else{if(ik(b[h])&&b[h].commentNumber||jk(b[h]))d++,g=h;e++}}if(0<d||0<e)b=1===bxa(a.internalEvents)?a.showRecentEventsFirst?0:a.internalEvents.length:nmd(a),a.foldedCommentsCounts.set(b,{commentFoldedCount:d,eventFoldedCount:e})},nmd=function(a){return zaa(a.internalEvents,function(b){var c;return null!=(c=b.isMajorEvent)?c:!1})},kmd=function(a){return ik(a)&&
!!a.unlinkifiedComment||jk(a)||0<a.preDiffs.length||0<a.postDiffs.length},lmd=function(a){var b;return(null!=(b=a.isMajorEvent)?b:!1)&&(ik(a)&&!!a.unlinkifiedComment||jk(a)||0<a.preDiffs.length||0<a.postDiffs.length)},gmd=function(a){if(!(2>a.internalEvents.length)){if(a.showRecentEventsFirst&&a.internalEvents[0].modifiedDate<=omd(a,a.internalEvents).modifiedDate||!a.showRecentEventsFirst&&a.internalEvents[0].modifiedDate>=omd(a,a.internalEvents).modifiedDate)if(a.internalEvents.reverse(),a.enableCommentFiltering){var b;
hmd(a,a.internalEvents,null!=(b=a.currentFilterLevel)?b:"FULL_HISTORY");imd(a)}a.internalEvents&&0!==a.internalEvents.length&&a.scrollToCommentOrAttachment()}},omd=function(a,b){var c;return null!=(c=b.find(function(d){return a.internalEvents[0].modifiedDate!==d.modifiedDate}))?c:b[1]};c$.prototype.isLoading=function(){return this.formattedCommentsForIssueFridge.isThinking()||this.eventsForIssue.isThinking(this.internalIssueId)};c$.prototype.trackEventByVersion=function(a,b){return b.version};
var fmd=function(a,b){if(a.foldedCommentsCounts.has(b)){var c,d,e=null!=(d=null==(c=a.foldedCommentsCounts.get(b))?void 0:c.commentFoldedCount)?d:0,g,h;c=null!=(h=null==(g=a.foldedCommentsCounts.get(b))?void 0:g.eventFoldedCount)?h:0;1<e&&a.foldedCommentsCounts.set(b-1,{commentFoldedCount:e-1,eventFoldedCount:c-1});a.foldedCommentsCounts.delete(b)}else for(e=new Map([].concat(Jc(a.foldedCommentsCounts.entries())).sort(function(l,q){return l[0]-q[0]})),e=k(e.entries()),g=e.next();!g.done;g=e.next())if(h=
k(g.value),g=h.next().value,h=h.next().value,g>b){if(0===h.commentFoldedCount-(g-b))a.foldedCommentsCounts.set(g,{commentFoldedCount:h.commentFoldedCount-1,eventFoldedCount:h.eventFoldedCount-1});else{e=0;for(c=b;c<g;c++)(ik(a.internalEvents[c])||jk(a.internalEvents[c]))&&e++;a.foldedCommentsCounts.set(g,{commentFoldedCount:e,eventFoldedCount:g-b});a.foldedCommentsCounts.set(b-1,{commentFoldedCount:h.commentFoldedCount-e-1,eventFoldedCount:h.eventFoldedCount-(g-b)-1});a.foldedCommentsCounts.delete(b)}break}},
RDb=function(a){return"summarized"===a||"full"===a};gg.Object.defineProperties(c$.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(Jc(b));b=Object.assign({},b[0],{attachments:[],commentNumber:null,formattedComment:void 0,taggedSummary:[],isMajorEvent:!1});a[0]=b}a&&!Pwa(this.internalEvents,a)&&(this.internalEvents=a,this.events$.next(a))}}});
c$.\u0275fac=function(a){return new (a||c$)(D(lG),D(TI),D(pF),D(MJ),D(T9),D(NG),D(fd),D(rp),D(zH),D(AH))};
c$.\u0275cmp=zc({type:c$,selectors:[["b-event-stream"]],inputs:{issueAccessLevel:"issueAccessLevel",showFullHistory:"showFullHistory",issueId:"issueId",events:"events"},features:[xe],decls:4,vars:4,consts:[["class","padded margined",4,"ngIf"],[1,"bv2-edit-issue-history-stream"],[4,"ngFor","ngForOf","ngForTrackBy"],[1,"padded","margined"],[4,"ngIf"],["class","bv2-event",4,"ngIf"],[1,"fold-indication"],["mat-stroked-button","","color","primary",1,"gmat-button",3,"click"],[1,"horizontal-divider"],[1,
"bv2-event"],[3,"issueId","issueAccessLevel","event","isSummarized"]],template:function(a,b){a&1&&(R(0,NDb,2,0,"aside",0),H(1,"div",1),R(2,SDb,3,2,"ng-container",2),J(),R(3,TDb,2,0,"aside",0));a&2&&(G("ngIf",b.isLoading()&&b.showRecentEventsFirst),C(2),G("ngForOf",b.internalEvents)("ngForTrackBy",b.trackEventByVersion),C(1),G("ngIf",b.isLoading()&&!b.showRecentEventsFirst))},dependencies:[Su,Tu,yy,b$,SL],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 pmd=function(a,b){this.message=a;this.snackbarRef=b;this.DEFAULT_MESSAGE="New data is available. Click to refresh."};pmd.prototype.onDismiss=function(a){this.snackbarRef.dismiss();a.stopPropagation()};pmd.\u0275fac=function(a){return new (a||pmd)(D(jkc),D(NF))};
pmd.\u0275cmp=zc({type:pmd,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),O("click",function(){return jya(b.snackbarRef)}),
K(1,"mat-icon",1),H(2,"p",2),S(3),J()(),H(4,"button",3),O("click",function(c){return b.onDismiss(c)}),K(5,"mat-icon",4),J());a&2&&(C(3),Te(" ",b.message||b.DEFAULT_MESSAGE," "))},dependencies:[yy,jz],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 qmd=function(a){this.snackbar=a},rmd=function(a){var b=eM.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(pmd,c);return a.currentSnackBar};qmd.\u0275fac=function(a){return new (a||qmd)(w(TF))};qmd.\u0275prov=nc({token:qmd,factory:qmd.\u0275fac,providedIn:"root"});var d$=function(a,b,c,d,e,g,h,l,q,v,y){kE.call(this);var B=this;this.eventsForIssue=a;this.issueFetchResponseFridge=b;this.preferences=c;this.activeSession=d;this.commentHistoryDialogService=e;this.issueDetailsBrain=g;this.errorHandler=h;this.refreshDataNotification=l;this.eventsForIssueWatcher=q;this.analytics=v;this.appEvents=y;this.id$=new F.ReplaySubject(1);this.events$=this.id$.pipe(pe(this.eventsForIssue.watch),E(function(I){var N;return null!=(N=null==I?void 0:I.events)?N:[]}));this.issue$=
this.id$.pipe(pe(function(I){return MH(B.issueFetchResponseFridge,I)}));this.accessLevel$=this.issue$.pipe(E(function(I){var N,Q;return null==I?void 0:null==(N=I.issue)?void 0:null==(Q=N.accessLimit)?void 0:Q.accessLevel}));this.enableInlineScreenshots$=this.preferences.showInlineImages$.pipe(E(function(I){return I&&iE(B.activeSession,"enableImageSummary")}),oe(!0))};V(d$,kE);d$.\u0275dir=kE.\u0275dir;
d$.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=ol(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(CEc(this.eventsForIssueWatcher,ol(this.id$)).subscribe(function(){smd(a)}));this.subscriptions.add(this.events$.subscribe(function(){var b;
null==(b=a.refreshDataNotification.currentSnackBar)||b.dismiss()}));this.destroyed$.pipe(ge()).subscribe(function(){var b;null==(b=a.refreshDataNotification.currentSnackBar)||b.dismiss()})};
var smd=function(a){a.analytics.trackEvent(Yl.PUSH_UPDATE,"display","comment");rmd(a.refreshDataNotification)._afterDismissed.subscribe(function(b){b.dismissedByAction?(a.analytics.trackEvent(Yl.PUSH_UPDATE,"fetchResource","comment"),NH(a.issueFetchResponseFridge,ol(a.id$)),a.eventsForIssue.poke(ol(a.id$)),a.appEvents.scrollToCommentBox.next()):a.analytics.trackEvent(Yl.PUSH_UPDATE,"dismiss","comment")})};gg.Object.defineProperties(d$.prototype,{id:{configurable:!0,enumerable:!0,set:function(a){this.id$.next(a)}}});
d$.\u0275fac=function(a){return new (a||d$)(D(pF),D(LH),D(TI),D(rp),D(yQ),D(xJ),D(ZF),D(qmd),D(LR),D(AH),D(cG))};
d$.\u0275cmp=zc({type:d$,selectors:[["issue-event-list"]],inputs:{id:"id"},features:[xe],decls:6,vars:15,consts:[[3,"issueId","events","issueAccessLevel","showFullHistory"]],template:function(a,b){a&1&&(K(0,"b-event-stream",0),T(1,"async"),T(2,"async"),T(3,"async"),T(4,"async"),T(5,"async"));a&2&&(G("issueId",U(2,7,b.id$))("events",U(3,9,b.events$))("issueAccessLevel",U(4,11,b.accessLevel$))("showFullHistory",U(5,13,b.preferences.showFullHistory$)),Ae("data-will-inline-screenshots",U(1,5,b.enableInlineScreenshots$)?
!0:null))},dependencies:[c$,Zu],styles:["[_nghost-%COMP%]     .bv2-edit-issue-history-stream {\n      padding-left: 0;\n    }"]});var bEb=function(a,b){return{empty:a,"never-focused":b}},e$=function(a,b,c,d,e,g,h,l,q){var v=this;this.issuePermissionService=a;this.userPreferencesManager=b;this.editIssueService=c;this.analytics=d;this.draftStore=e;this.activeSession=g;this.issueDetailsBrain=h;this.issueCommentDialogsService=l;this.appEvents=q;this.issueId$=new F.ReplaySubject(1);this.distinctIssueId$=this.issueId$.pipe(fe());this.issue$=this.distinctIssueId$.pipe(pe(function(y){return v.editIssueService.editableIssue$(y)}));this.wasFocused=
!1;this.commentButtonStyle="fill";this.enableRecaptcha=iE(this.activeSession,"enableRecaptcha");this.recaptchaResponse$=new F.BehaviorSubject("");this.commentSubmitted=new tu;this.HOTKEYS=eM;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(E(function(y){return y.autoCcOnComment}));this.issueCommentDraft$=this.issueId$.pipe(E(function(y){return v.editIssueService.issueCommentDraft(y)}));this.judgementForNewContent$=this.issueCommentDraft$.pipe(pe(function(y){return y.judgementForNewContent$}));this.comment$=this.issueCommentDraft$.pipe(pe(function(y){return y.comment$}));this.events$=this.issueDetailsBrain.eventsJs$;this.savingState$=this.issueId$.pipe(E(function(y){return v.editIssueService.savingState(y)}));
this.isSaving$=this.savingState$.pipe(pe(function(y){return Sl(y.propertiesBeingSaved,Cl("comment"))}));this.commentLimitReached$=this.events$.pipe(E(function(y){var B=v.activeSession.getCommentNumberLimit();return bxa(y)>=B}));this.commentPlaceholderText$=this.commentLimitReached$.pipe(E(function(y){return y?"The comment limit has been reached and no additional comments are permitted.":v.activeSession.isAnonymous()?"Sign in to use full features.":v.issuePermissionService.hasAclToComment()?"Add a comment.":
"You do not have access to comment on this issue."}));this.commentBoxEnabled$=(0,F.combineLatest)([this.hasAclToComment$,this.commentLimitReached$,this.isSaving$]).pipe(E(function(y){var B=k(y);y=B.next().value;var I=B.next().value;B=B.next().value;return y&&!I&&!B}));this.showRecaptcha$=(0,F.combineLatest)([this.hasAclToComment$,this.commentLimitReached$]).pipe(E(function(y){var B=k(y);y=B.next().value;B=B.next().value;return y&&!B&&v.enableRecaptcha}));this.commentDraftUpdated$=new F.BehaviorSubject(!0);
this.commentButtonEnabled$=(0,F.combineLatest)([this.hasAclToComment$,this.comment$,this.isSaving$,this.recaptchaResponse$,this.commentDraftUpdated$]).pipe(E(function(y){var B=k(y);y=B.next().value;var I=B.next().value,N=B.next().value;B=B.next().value;return y&&lqc(I)&&!N&&(!v.enableRecaptcha||""!==B)}));this.empty$=(0,F.combineLatest)([this.comment$,this.commentDraftUpdated$]).pipe(E(function(y){var B,I;return null!=(I=null==(B=k(y).next().value)?void 0:B.value)?I:""}),E(function(y){return 0===
y.length}))},VDb=function(a){var b;return Ld(function(c){b=!UI(a.userPreferencesManager).autoCcOnComment;a.analytics.trackEvent(Yl.EDIT_ISSUE,"toggleAutoCcOnComment",String(b));return c.yield((0,F.firstValueFrom)(a.userPreferencesManager.save({autoCcOnComment:b})),0)})};
e$.prototype.saveCommentDraft=function(){var a=this,b;return Ld(function(c){if(1==c.nextAddress)return c.yield((0,F.firstValueFrom)(a.comment$),2);b=c.yieldResult;a.draftStore.$window.sessionStorage.setItem(tl(a.internalIssueId),b.value);a.commentDraftUpdated$.next(!0);Qd(c)})};
e$.prototype.submitCommentBox=function(){var a=this,b;return Ld(function(c){if(1==c.nextAddress)return b=a.enableRecaptcha?a.recaptchaResponse$.getValue():void 0,c.yield(a.issueCommentDialogsService.submitCommentBox(a.internalIssueId,b),2);a.commentSubmitted.emit();a.appEvents.recaptchaSubmitted.next();Qd(c)})};e$.prototype.showNewContentJudgementDialog=function(){var a=this;return Ld(function(b){return b.yield(a.issueCommentDialogsService.showNewContentJudgementDialog(a.internalIssueId),0)})};
e$.prototype.isPlusOneCalloutEnabled=function(){return this.activeSession.isInternalSession()&&iE(this.activeSession,"enableReducePlusOneComments")&&!ol(this.issueDetailsBrain.voted$)};gg.Object.defineProperties(e$.prototype,{issueId:{configurable:!0,enumerable:!0,set:function(a){this.issueId$.next(a);this.internalIssueId=a},get:function(){return this.internalIssueId}}});e$.\u0275fac=function(a){return new (a||e$)(D(zJ),D(TI),D(MJ),D(AH),D(MI),D(rp),D(xJ),D(hT),D(cG))};
e$.\u0275cmp=zc({type:e$,selectors:[["b-post-comment"]],inputs:{issueId:"issueId"},outputs:{commentSubmitted:"commentSubmitted"},decls:2,vars:3,consts:[[4,"ngIf"],[1,"a11y-only"],[1,"bv2-edit-issue-add-comment",3,"ngClass"],["id","AddCommentBox",3,"hotkey","supportsPreview","issueId","comment","componentId","placeholder","judgementForNewContent","audience","disabled","isPlusOneCalloutEnabled","onHotkey","onChange","onFocusEvent","onSubmit","onRestrict","onPlusOneTextEntered"],["commentBox",""],["recaptchaContainer",
"",4,"ngIf"],["additionalToolbarItems","",1,"goog-inline-block"],[3,"format","disabled","onAction","click"],[1,"goog-inline-block"],["class","goog-inline-block vertical-centered",4,"ngIf"],[3,"initialValue","change",4,"ngIf"],[3,"accessLevel"],["recaptchaContainer",""],[3,"onUpdate"],[3,"checked","disabled","change"],[1,"goog-inline-block","vertical-centered"],["matTooltip","(issuePermissionService.addMeToCcDisabledReason$ | async) || ''",3,"checked","disabled",4,"ngIf"],["matTooltip","(issuePermissionService.addMeToCcDisabledReason$ | async) || ''",
3,"checked","disabled"],[3,"initialValue","change"]],template:function(a,b){a&1&&(R(0,dEb,2,1,"ng-container",0),T(1,"async"));a&2&&G("ngIf",U(1,1,b.issue$))},dependencies:[qP,C_,qO,Ru,Tu,HO,dM,VN,eT,Zu],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%}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}\n/*# sourceMappingURL=post_comment.css.map */"]});var tmd=[[["","mainSegment",""]],[["","dropdownSegment",""]]],umd=function(){this.mainSegment=!0};umd.\u0275fac=function(a){return new (a||umd)};umd.\u0275dir=Cc({type:umd,selectors:[["button","mainSegment",""]],hostVars:2,hostBindings:function(a,b){a&2&&Ie("main-segment",b.mainSegment)}});var f$=function(){this.dropdownAriaLabel=this.dropdownTooltip="";this.disabled=!1;this.dialogClosed=new tu;this.dialogOpened=new tu};f$.prototype.ngAfterContentInit=function(){};
f$.prototype.ngOnChanges=function(a){a.dropdownTooltip&&!this.dropdownAriaLabel&&(this.dropdownAriaLabel=this.dropdownTooltip)};gg.Object.defineProperties(f$.prototype,{expanded:{configurable:!0,enumerable:!0,get:function(){var a,b;return null!=(b=null==(a=this.trigger)?void 0:a.isOpen)?b:!1}}});f$.\u0275fac=function(a){return new (a||f$)};
f$.\u0275cmp=zc({type:f$,selectors:[["split-button"]],contentQueries:function(a,b,c){a&1&&kf(c,umd,5);if(a&2){var d;hf(d=lf())&&(b.mainSegment=d.first)}},viewQuery:function(a,b){a&1&&jf(iM,5);if(a&2){var c;hf(c=lf())&&(b.trigger=c.first)}},hostVars:2,hostBindings:function(a,b){a&2&&Ie("expanded",b.expanded)},inputs:{dropdownTooltip:"dropdownTooltip",dropdownAriaLabel:"dropdownAriaLabel",disabled:"disabled"},outputs:{dialogClosed:"dialogClosed",dialogOpened:"dialogOpened"},exportAs:["splitButton"],
features:[Mc],ngContentSelectors:["[mainSegment]","[dropdownSegment]"],decls:8,vars:4,consts:[["mat-icon-button","","onedevPopupPanelTrigger","",1,"dropdown-button",3,"onedevPopupPanelTriggerFor","matTooltip","disabled","click","onedevPopupPanelTriggerOpened","onedevPopupPanelTriggerClosed"],["trigger","onedevPopupPanelTrigger"],["svgIcon","arrow-dropdown"],["role","region"],["contentPanel","onedevPopupPanel"],[1,"dropdown-container"]],template:function(a,b){a&1&&(Ne(tmd),Oe(0),H(1,"button",0,1),
O("click",function(){var d,e;if(null!=(e=null==(d=b.trigger)?void 0:d.isOpen)&&e){var g;null==(g=b.trigger)||g.close()}else{var h;null==(h=b.trigger)||h.open()}})("onedevPopupPanelTriggerOpened",function(){return b.dialogOpened.emit()})("onedevPopupPanelTriggerClosed",function(){return b.dialogClosed.emit()}),K(3,"mat-icon",2),J(),H(4,"onedev-popup-panel",3,4)(6,"div",5),Oe(7,1),J()());if(a&2){var c=Se(5);C(1);G("onedevPopupPanelTriggerFor",c)("matTooltip",b.dropdownTooltip)("disabled",b.disabled);
Ae("aria-label",b.dropdownAriaLabel)}},dependencies:[yy,jz,XA,hM,iM],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}\n/*# sourceMappingURL=split_button.css.map */"],
changeDetection:0});var lEb=function(a){return{voteCount:a}},vmd={},wmd=(vmd.REJECTION_REASON_UNSPECIFIED="Unspecified",vmd.REVERSED="The relationship is reversed",vmd.SIMILAR="The issues are similar, but not duplicate",vmd.NOT_SIMILAR="The issues are not similar",vmd.OTHER="Other",vmd),xmd=new Set(["VERY_HIGH","HIGH"]),g$=function(a,b,c,d,e,g,h,l,q,v){kE.call(this);var y=this;this.issueFridge=a;this.eventsForIssueFridge=b;this.paths=c;this.recommendationsService=d;this.errorHandler=e;this.editIssueService=g;this.analytics=
h;this.scrolledOnScreenService=l;this.elementRef=q;this.issueRecommendationsFridge=v;this.STATUS_FULL_TEXT=fF;this.STATUS_TERSE=bF;this.REJECT_REASON_TO_DISPLAY=wmd;this.currentIssueId$=new F.ReplaySubject(1);this.currentIssue$=this.currentIssueId$.pipe(pe(function(B){return y.issueFridge.watch(B)}));this.isAlreadyADuplicate$=this.currentIssue$.pipe(E(function(B){return"DUPLICATE"===(null==B?void 0:B.snapshot[0].status)}));this.recommendation$=this.currentIssueId$.pipe(pe(function(B){return y.issueRecommendationsFridge.watch(B+
"-ISSUE_DEDUPLICATION",void 0)}),E(function(B){return null==B?void 0:B.recommendations.filter(function(I){return xmd.has(I.confidence)})}),E(function(B){return null==B?void 0:B[0]}));this.canonicalIssue$=this.recommendation$.pipe(E(function(B){var I;return null==B?void 0:null==(I=B.content)?void 0:I.recommendedIssue}));this.canonicalIssueId$=this.canonicalIssue$.pipe(E(function(B){return null==B?void 0:B.issueId}));this.canonicalComponentId$=this.canonicalIssue$.pipe(E(function(B){var I;return null!=
(I=null==B?void 0:B.snapshot[0].componentId)?I:void 0}));this.canonicalAccessLevel$=this.canonicalIssue$.pipe(E(function(B){var I;return null==B?void 0:null==(I=B.accessLimit)?void 0:I.accessLevel}));this.isCanonicalInExternalComponent$=this.canonicalAccessLevel$.pipe(E(function(B){return!(!B||"INTERNAL"===B)}));this.canonicalTitle$=this.canonicalIssue$.pipe(E(function(B){return null==B?void 0:B.snapshot[0].title}));this.canonicalPriority$=this.canonicalIssue$.pipe(E(function(B){return null==B?void 0:
B.snapshot[0].priority}));this.canonicalVoteCount$=this.canonicalIssue$.pipe(E(function(B){var I;return null==B?void 0:null==(I=B.aggregatedData)?void 0:I.voteCount}));this.canonicalCreateMicros$=this.canonicalIssue$.pipe(E(function(B){var I;return null==B?void 0:null==(I=B.aggregatedData)?void 0:I.createdTimeMicros}));this.canonicalDuplicates$=this.canonicalIssue$.pipe(E(function(B){var I;return null!=(I=null==B?void 0:B.snapshot[0].duplicateIssueId)?I:[]}));this.statusForChip$=this.canonicalIssue$.pipe(E(function(B){return null==
B?void 0:B.snapshot[0].status}),E(function(B){return Zh[B]}));this.canonicalEvents$=this.canonicalIssueId$.pipe(pe(function(B){return y.eventsForIssueFridge.watch(B)}),E(function(B){var I;return null!=(I=null==B?void 0:B.events)?I:[]}));this.canonicalDescription$=this.canonicalEvents$.pipe(E(function(B){return B[0]}),E(function(B){var I;return{formattedComment:null==B?void 0:B.formattedComment,commentNumber:1,unlinkifiedComment:(null==B?void 0:B.unlinkifiedComment)||"",formattingMode:null!=(I=null==
B?void 0:B.formattingMode)?I:"UNSPECIFIED_FORMATTING_MODE"}}));this.canonicalComments$=this.canonicalEvents$.pipe(E(function(B){return B.filter(ik)}));this.wasRejected$=new F.BehaviorSubject(!1);this.show$=(0,F.combineLatest)([this.isAlreadyADuplicate$,this.canonicalIssue$,this.wasRejected$]).pipe(E(function(B){var I=k(B);B=I.next().value;var N=I.next().value;I=I.next().value;return!B&&!!N&&!I}));this.isSaving=!1;this.REJECT_REASONS=["NOT_SIMILAR","SIMILAR","REVERSED","OTHER"]};V(g$,kE);
g$.\u0275dir=kE.\u0275dir;g$.prototype.ngOnInit=function(){var a=this;this.subscriptions.add(this.canonicalIssue$.subscribe(function(b){a.issueFridge.announce(b)}));this.subscriptions.add((0,F.combineLatest)([this.show$.pipe(Zd(Boolean)),pxc(this.scrolledOnScreenService,this.elementRef.nativeElement)]).pipe(ge()).subscribe(function(){a.analytics.trackEvent(Yl.EDIT_ISSUE,"view","canonical-recommendation");ymd(a,"VIEWED")}))};
g$.prototype.accept=function(){var a=this,b,c;return Ld(function(d){switch(d.nextAddress){case 1:return a.isSaving=!0,b=ol(a.canonicalIssueId$),Md(d,2,3),d.yield(Xqc(a.editIssueService,a.currentIssueId,b),5);case 5:return a.analytics.trackEvent(Yl.EDIT_ISSUE,"accept","canonical-recommendation"),d.yield(ymd(a,"ACCEPTED"),3);case 3:Nd(d);a.isSaving=!1;Od(d,0);break;case 2:c=Pd(d),aG(a.errorHandler,c),d.jumpTo(3)}})};
g$.prototype.reject=function(a){var b=this;return Ld(function(c){b.wasRejected$.next(!0);b.analytics.trackEvent(Yl.EDIT_ISSUE,"reject","canonical-recommendation");return c.yield(ymd(b,"REJECTED",a),0)})};
var ymd=function(a,b,c){var d,e;return Ld(function(g){if(1==g.nextAddress){Md(g,2);d=ol(a.recommendation$).name;var h=g.yield,l=F.firstValueFrom;var q=a.recommendationsService;var v=[{parent:d,userEngagement:{type:b,rejectionReason:c}}];v=(new pM).setRequestsList(v.map(kIa));q=q.executor.post({url:"action/recommendations/engagements/batch",body:v,responseConstructor:null});return h.call(g,l.call(F,q),4)}if(2!=g.nextAddress)return xp(g,0);e=Pd(g);aG(a.errorHandler,e);Qd(g)})};
g$.prototype.getIssueLink=function(a){return this.paths.editIssue(a)};gg.Object.defineProperties(g$.prototype,{currentIssueId:{configurable:!0,enumerable:!0,set:function(a){this.currentIssueId$.next(a)},get:function(){return ol(this.currentIssueId$)}}});g$.\u0275fac=function(a){return new (a||g$)(D(IH),D(pF),D(OG),D(rM),D(ZF),D(MJ),D(AH),D(xO),D(fd),D(sM))};
g$.\u0275cmp=zc({type:g$,selectors:[["canonical-recommendation"]],inputs:{currentIssueId:"currentIssueId"},features:[xe],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),K(1,"mat-icon",1),H(2,"span"),S(3,"Close as duplicate of:"),J(),H(4,"a",2),
K(5,"mat-icon",3),J()(),R(6,mEb,37,42,"div",4),T(7,"async"));a&2&&(C(6),G("ngIf",U(7,1,b.canonicalIssueId$)))},dependencies:[rO,Su,Tu,yy,zy,jz,BK,lM,vI,NA,XA,f$,umd,Zu],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 h$=function(a,b,c,d,e,g,h,l,q,v,y){kE.call(this);var B=this;this.brain=a;this.preferences=b;this.scrollTiming=c;this.analytics=d;this.element=e;this.editIssueService=g;this.appEvents=h;this.routePerformance=l;this.clearcut=q;this.activeSession=v;this.issuePermissionService=y;this.id$=this.brain.id$;this.issueAndEvents$=(0,F.combineLatest)([this.brain.issueJs$.pipe(Zd(Boolean)),this.brain.eventsJs$]);this.enableSummarySection=iE(this.activeSession,"enableSummarySection");this.enableIDPCanonicalRecommendation=
iE(this.activeSession,"enableIDPCanonicalRecommendation");this.showRecentEventsFirst=!1;this.comment$=this.id$.pipe(Zd(eh),pe(function(I){return B.editIssueService.issueCommentDraft(I).comment$}));this.finishedRendering$=(0,F.combineLatest)([this.brain.eventsJs$.pipe(ee(0)),E$a("#AddCommentBox textarea",this.element.nativeElement)]).pipe(ge())};V(h$,kE);h$.\u0275dir=kE.\u0275dir;
h$.prototype.ngOnInit=function(){var a=this;this.preferences.showRecentEventsFirst$.pipe(Zd(eh),qe(this.destroyed$)).subscribe(function(b){a.showRecentEventsFirst=b});this.destroyed$.subscribe(function(){zmd(a)});E$a("#comment1 .critical-feature",this.element.nativeElement).pipe(qe(this.destroyed$)).subscribe(function(){var b=function(){Q_c(a.routePerformance,"issue-details-w-comments")};requestAnimationFrame(b);setTimeout(b)});this.subscriptions.add(this.issueAndEvents$.pipe(je()).subscribe(function(b){var c=
k(b);b=c.next().value;c=c.next().value;Amd(a,b,c)}));this.subscriptions.add(this.finishedRendering$.pipe(se(this.comment$)).subscribe(function(b){b=k(b);b.next();b.next().value.hasContent()&&a.appEvents.scrollToCommentBox.next()}))};
var Amd=function(a,b,c){var d=b.issue,e=c.map(function(g){return g.unlinkifiedComment});b=lxa(d,c).length;d=mxa(d,c);e=e.filter(Boolean).length;b=5<=b||10<=e||10<=d?"collab":"other";qH(a.clearcut,"view_idp_"+b);kl("dimension10",b);c=c.some(function(g){var h,l,q;return 0<(null!=(q=null==(h=g.commentReactions)?void 0:null==(l=h.get("UPVOTE"))?void 0:l.count)?q:0)});a.analytics.trackEvent(Yl.EDIT_ISSUE,"view",c?"hasUpvoteReaction":"noUpvoteReaction")};h$.prototype.unloadPageHandler=function(){zmd(this)};
var zmd=function(a){var b=a.scrollTiming;if((b=b.scrollTimingMap.has("flex-1 pos-rel bg-off-main overflow overflow-on-print-media")?b.scrollTimingMap.get("flex-1 pos-rel bg-off-main overflow overflow-on-print-media"):[])&&!(2>b.length)){for(var c=b[0],d=b[0],e=0,g=1;g<b.length;g++)2E3>b[g]-d||(e+=d-c,c=b[g]),d=b[g],g===b.length-1&&(e+=b[g]-c);a.analytics.trackEvent(Yl.EDIT_ISSUE,"scroll","commentThread",e);pH(a.clearcut,e,"idp-time-scrolling-comments-recentFirst-"+a.showRecentEventsFirst)}};
h$.\u0275fac=function(a){return new (a||h$)(D(xJ),D(TI),D(BY),D(AH),D(fd),D(MJ),D(cG),D(Y1),D(oH),D(rp),D(zJ))};
h$.\u0275cmp=zc({type:h$,selectors:[["ng-component"]],hostBindings:function(a,b){a&1&&O("unload",function(){return b.unloadPageHandler()},!1,jd)},features:[xe],decls:7,vars:10,consts:[["id","bv2-edit-issue-details-scroll","tabindex","-1",3,"bFocus"],[4,"ngIf"],["class","carded margined-s bg-main",3,"issueId","hidden",4,"ngIf"],["class","carded margined-s bg-main",3,"recent-first",4,"ngIf"],[1,"margin-s-sides","margin-s-top","padded-left",3,"id"],["class","rounded margined-s",3,"hidden","currentIssueId",
4,"ngIf"],[3,"issueId"],[1,"carded","margin-s-sides","margin-s-bottom","bg-main","highlighted-left",3,"id"],[1,"rounded","margined-s",3,"currentIssueId"],["canonicalRecommendation",""],[1,"carded","margined-s","bg-main",3,"issueId"],["issueSummaryCard",""],[1,"carded","margined-s","bg-main"],[3,"id",4,"ngIf"],[3,"id"]],template:function(a,b){a&1&&(H(0,"div",0),R(1,oEb,6,6,"ng-container",1),T(2,"async"),R(3,pEb,3,5,"issue-summary-card",2),T(4,"async"),R(5,sEb,5,5,"div",3),T(6,"async"),J());a&2&&(G("bFocus",
!0),C(1),G("ngIf",U(2,4,b.id$)),C(2),G("ngIf",b.enableSummarySection&&U(4,6,b.id$)),C(2),G("ngIf",U(6,8,b.id$)))},dependencies:[Tu,g$,Y9,jV,DU,nT,d$,CT,e$,fV,Zu],styles:["issue-summary-card[_ngcontent-%COMP%]{padding:8px}"]});var Bmd=function(){};Bmd.\u0275fac=function(a){return new (a||Bmd)};Bmd.\u0275mod=Bc({type:Bmd});Bmd.\u0275inj=oc({imports:[MF,YA,WB,Zy,DO]});var Cmd=function(){};Cmd.\u0275fac=function(a){return new (a||Cmd)};Cmd.\u0275mod=Bc({type:Cmd});Cmd.\u0275inj=oc({imports:[MF]});var i$=function(){};i$.\u0275fac=function(a){return new (a||i$)};i$.\u0275mod=Bc({type:i$});i$.\u0275inj=oc({imports:[MF,cN,VO,bN,TO,lZ,EO]});var Dmd=function(){};Dmd.\u0275fac=function(a){return new (a||Dmd)};Dmd.\u0275mod=Bc({type:Dmd});Dmd.\u0275inj=oc({imports:[MF,EO]});var Emd=function(){};Emd.\u0275fac=function(a){return new (a||Emd)};Emd.\u0275mod=Bc({type:Emd});Emd.\u0275inj=oc({imports:[mT,rU,EO,MF,bN,cN,i$,sO,qU,tN,TO,zC,Dmd,WB,YA,Cmd]});var Fmd=function(){};Fmd.\u0275fac=function(a){return new (a||Fmd)};Fmd.\u0275mod=Bc({type:Fmd});Fmd.\u0275inj=oc({imports:[MF,Emd,i$,WB,YA,yN]});var Gmd=function(){};Gmd.\u0275fac=function(a){return new (a||Gmd)};Gmd.\u0275mod=Bc({type:Gmd});Gmd.\u0275inj=oc({imports:[MF,YA,WB,SF]});var Hmd=function(){};Hmd.\u0275fac=function(a){return new (a||Hmd)};Hmd.\u0275mod=Bc({type:Hmd});Hmd.\u0275inj=oc({imports:[EO,MF,Fmd,sU,nN,JU,WB,YA,zC,yN,GU,Gmd,TO,SF]});var Imd=function(){};Imd.\u0275fac=function(a){return new (a||Imd)};Imd.\u0275mod=Bc({type:Imd});Imd.\u0275inj=oc({imports:[HT,U_,EO,MF,MO,Qv,fM,WB,zO,YA,V_]});var Jmd=function(){};Jmd.\u0275fac=function(a){return new (a||Jmd)};Jmd.\u0275mod=Bc({type:Jmd});Jmd.\u0275inj=oc({imports:[MF,WB,YA,zC,jM]});var Kmd=function(){};Kmd.\u0275fac=function(a){return new (a||Kmd)};Kmd.\u0275mod=Bc({type:Kmd});Kmd.\u0275inj=oc({imports:[EO,MF,bN,nN,mN,WB,YA,QA,zC,Jmd]});var Lmd=function(){};Lmd.\u0275fac=function(a){return new (a||Lmd)};Lmd.\u0275mod=Bc({type:Lmd});Lmd.\u0275inj=oc({imports:[Uw,Hw,Qv,WB,RM,Rv,MG,YA,Kmd,Bmd,kV,OU,sU,Hmd,VU,SU,Imd,yO,gV,TO]});var Mmd=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(pe(this.issueFridge.watch),Zd(eh));this.commentNumberToEventMap$=this.issue$.pipe(E(function(g){return g.issueId}),pe(function(g){return e.eventsForIssueFridge.watch(g)}),E(function(g){var h;return null!=(h=null==g?void 0:g.events)?h:[]}),E(function(g){return new Map(g.filter(function(h){return!!h.commentNumber}).map(function(h){return[h.commentNumber,
h]}))}));this.relatedLinks$=(0,F.combineLatest)([this.issue$,this.commentNumberToEventMap$]).pipe(E(function(g){g=k(g);var h=g.next().value,l=g.next().value,q;return(null==(q=h.relatedLinks)?void 0:q.map(function(v){return Object.assign({},v,{comment:l.get(v.sourceCommentNumber)})}))||[]}));this.issueReferences$=this.relatedLinks$.pipe(E(function(g){return g.filter(Hxa)}));this.imageLinks$=this.relatedLinks$.pipe(E(function(g){return g.filter(Dxa)}));this.otherLinks$=this.relatedLinks$.pipe(E(function(g){return g.filter(Ixa)}))};
Mmd.\u0275fac=function(a){return new (a||Mmd)(D(rp),D(IH),D(xJ),D(pF))};
Mmd.\u0275cmp=zc({type:Mmd,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),R(1,AEb,7,9,"ng-container",1),T(2,"async"),J());a&2&&(C(1),G("ngIf",U(2,1,b.issue$)))},dependencies:[Tu,
jz,tT,qT,vT,Zu],styles:["[_nghost-%COMP%]{display:block;padding:8px}h4[_ngcontent-%COMP%]{margin:16px 0}mat-icon[_ngcontent-%COMP%]{vertical-align:text-bottom}"]});var Nmd=function(){};Nmd.\u0275fac=function(a){return new (a||Nmd)};Nmd.\u0275mod=Bc({type:Nmd});Nmd.\u0275inj=oc({imports:[MF,SU,QU,TU,YA]});var j$=function(a,b){var c=this;this.brain=a;this.codeMentions=b;this.ROBOT_SLEEPING=utc;this.id$=this.brain.id$.pipe(Zd(eh));this.codeMentionsState$=this.id$.pipe(pe(function(d){return Rkd(c.codeMentions,d)}))};j$.prototype.displayPackageNames=function(a){return this.codeMentions.displayPackageNames(a)};j$.prototype.trackSqueegeeClick=function(){this.codeMentions.trackSqueegeeClick()};j$.\u0275fac=function(a){return new (a||j$)(D(xJ),D(o9))};
j$.\u0275cmp=zc({type:j$,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),R(1,GEb,3,3,"ng-container",1),T(2,"async"),J());a&2&&(C(1),G("ngIf",U(2,1,b.id$)))},dependencies:[Su,Tu,vid,Zu],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 k$=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()};k$.prototype.ngOnInit=function(){this.pageTitle.setTitle("All of my hotlists");this.fetchUserHotlists()};
k$.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)})};k$.\u0275fac=function(a){return new (a||k$)(D(wH,2),D(SW),D(hH),D(OG),D(ZF))};
k$.\u0275cmp=zc({type:k$,selectors:[["list-hotlists-page"]],features:[Xe([wH])],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),S(1,"Browse Hotlists"),J(),H(2,"div",1)(3,"a",2),S(4," Create Hotlist "),J()(),H(5,"div",3),R(6,HEb,1,1,"b-spinner",4),R(7,IEb,1,1,"b-hotlist-grid",5),J());
a&2&&(C(3),G("href",b.createHotlistPath,vd),C(3),G("ngIf",b.isLoading),C(1),G("ngIf",!b.isLoading))},dependencies:[Tu,zy,S0,SL],encapsulation:2});var Omd=new Set(["issueId","modifiedTime","createdTime"]),l$=function(a,b,c,d,e,g,h,l,q,v,y,B,I,N,Q,Z,Y,ka,la,Da,za,Oa,Va,Ya,Xb){kE.call(this);var Bb=this;this.cdr=a;this.routerEvents=b;this.window=c;this.bLocation=d;this.$log=e;this.issueApi=g;this.userApi=h;this.hotlistApi=l;this.activeSession=q;this.butterBar=v;this.analytics=y;this.appSearchState=B;this.issuePagination=I;this.userPreferencesManager=N;this.urlPreferences=Q;this.gridPreferencesFetcher=Z;this.paths=Y;this.timeout=ka;this.errorHandler=
la;this.statusMessages=Da;this.domSafe=za;this.appEvents=Oa;this.hotlistFridge=Va;this.issueFridge=Ya;this.batchIssueRelationshipsService=Xb;this.focusedRowIndex=this.displayColumns=null;this.isInitializing=!0;this.currentUserEmail=this.activeSession.getUserEmail();this.searchResults=null;this.hotlistChoices=[];this.hotlistMap={};this.customFieldMap={};this.gridControls=this.cachedSort=null;this.issueColumnsInternal=[];this.metaColumns=[];this.sortPreferences=[];this.BASE_HOTKEYS=[{keys:["j"],displayAs:"j",
description:"Move to the next issue",onPress:function(){var db;null==(db=Bb.resultsGrid)||iYc(db)}},{keys:["k"],displayAs:"k",description:"Move to the previous issue",onPress:function(){var db;null==(db=Bb.resultsGrid)||jYc(db)}},{keys:["x"],displayAs:"x",description:"Select/Deselect the current issue",onPress:function(){var db;null==(db=Bb.resultsGrid)||hYc(db)}},{keys:["s"],displayAs:"s",description:"Star/Unstar the current issue",onPress:function(){var db;null==(db=Bb.resultsGrid)||mYc(db)}},{keys:[Kl("i")],
displayAs:"Shift+i",description:"Mark as read",onPress:function(){var db;null==(db=Bb.resultsGrid)||nYc(db,!0)}},{keys:[Kl("u")],displayAs:"Shift+u",description:"Mark as unread",onPress:function(){var db;null==(db=Bb.resultsGrid)||nYc(db,!1)}},{keys:[Ll("*","a")],displayAs:"* then a",description:"Select all issues on this page",onPress:function(){var db;null==(db=Bb.resultsGrid)||db.selectAll()}},{keys:[Ll("*","n")],displayAs:"* then n",description:"Deselect all issues on this page",onPress:function(){var db;
null==(db=Bb.resultsGrid)||fYc(db)}},{keys:["a"],displayAs:"a",description:"Change assignee",onPress:function(){var db;null==(db=Bb.gridControls)||N_(db,null,0)}},{keys:["d"],displayAs:"d",description:"Mark as duplicate",onPress:function(){var db;null==(db=Bb.gridControls)||N_(db,kk.DUPLICATE,3)}},{keys:["h"],displayAs:"h",description:"Edit hotlists",onPress:function(){var db;if(null!=(db=Bb.gridControls)&&db.hasSelectedIssues()){var wa;null==(wa=db.hotlistPicker)||wa.open()}}},{keys:["r"],displayAs:"r",
description:"Add comment",onPress:function(){var db;null==(db=Bb.gridControls)||eXc(db)}},{keys:["u",Kl("r")],displayAs:"u / Shift+r",description:"Refresh search results",onPress:function(){return Bb.refreshResults()}},{keys:[Ll("p","0"),Ll("p","1"),Ll("p","2"),Ll("p","3"),Ll("p","4")],displayAs:"p <n>",description:"Mark selected issues as priority n",onPress:function(db){Bb.resultsGrid&&Bb.sendBulkEditRequest([{actions:[{fieldName:"priority",value:"P"+db}],issueIds:Bb.resultsGrid.getSelectedIssues().map(function(wa){return wa.issueId})}])}},
{keys:["o","ENTER",NHa("ENTER")],displayAs:"o / Enter",description:"Open the current issue",onPress:function(db){var wa=c.document.activeElement;if(1===db&&"A"===wa.tagName)if(wa.href)db=Bb.paths.getBaseUrl(),Jg(wa.href,db)?Bb.bLocation.url(wa.href.slice(db.length)):Bb.domSafe.openInNewTab(wa.href);else{var Na;null==(Na=Bb.resultsGrid)||kYc(Na)}else if(2===db){var Qa;null==(Qa=Bb.resultsGrid)||kYc(Qa,{openInNewTab:!0})}else{var nb;null==(nb=Bb.resultsGrid)||kYc(nb)}}}]};V(l$,kE);
l$.prototype.ngOnInit=function(){var a=this;Pmd(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(qe(this.destroyed$)).subscribe(function(){Pmd(a)})};
var Qmd=function(a){var b=["priority","type","title","assignee","status"];a.activeSession.isInternalSession()&&b.push("minSlo");b.push("issueId","modifiedTime");return b.map(lj)};
l$.prototype.fetchUserHotlists=function(){var a=this;this.userApi.getUserHotlists().then(function(b){b=k(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;a.hotlistFridge.announce(c);var d=a.hotlistMap[c.hotlistId];Fg(d,c)||(d&&qa(a.hotlistChoices,d),a.hotlistChoices.push(c),a.hotlistMap[c.hotlistId]=c,a.cdr.detectChanges())}}).catch(function(b){a.errorHandler.errorHandler(null,b)})};
var Pmd=function(a){return Rmd(a).then(function(){return a.getIssues()}).then(function(){return a.searchResults?Smd(a,a.searchResults.startIndex,a.searchResults.endIndex):Promise.resolve()}).finally(function(){a.cdr.detectChanges()})},Tmd=function(a){return null!=a.window.document.activeElement&&a.window.document.activeElement!==a.window.document.body},Umd=function(a){var b,c;return null!=(c=null==(b=a.window.document.activeElement)?void 0:b.classList.contains("search-box"))?c:!1},Rmd=function(a){var b=
zk();Tmd(a)&&Umd(a)&&a.window.document.activeElement.blur();a.timeout.schedule(function(){b.resolve()});return b.promise},Smd=function(a,b,c){var d=zk();Tmd(a)||Vmd(a,b,c);a.timeout.schedule(function(){d.resolve()});return d.promise},Wmd=function(a,b){var c=a.activeSession.getMaxAccurateSearchResults();b.numResults>c&&!b.isPreSort&&(b=Bl("Number of search results exceeds "+c+" ; some matching issues may be omitted.",Al("BR"),"Please try to restrict your search further or change the sort column to either CREATED or LAST MODIFIED. "),
c={},c=Al("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=Bl(Al("BR"),"See ",c," for more details."),b=a.activeSession.isInternalSession()?Bl(b,c):b,rkc(a.butterBar,b))};f=l$.prototype;
f.setSort=function(a,b,c){c=void 0===c?!0:c;var d=lj(a);if(d){var e=new oj(d,"ASC"===b?"ASCENDING":"DESCENDING");Daa(this.sortPreferences,function(g){return Fg(g.fieldId,e.fieldId)});!c||Omd.has(a)?this.sortPreferences=[e]:this.sortPreferences=[e].concat(this.sortPreferences.slice(0,2));this.saveSortColumns(this.sortPreferences)}else this.$log.warn("WARNING: Invalid field name specified "+a)};
f.getSort=function(){if(!this.sortPreferences.length)return null;var a=this.sortPreferences[0];a={field:"CUSTOM_FIELD"===a.fieldId.type?String(a.fieldId.customFieldId):nsa(a.fieldId.type),direction:"ASCENDING"===a.direction?"ASC":"DESC"};Fg(a,this.cachedSort)||(this.cachedSort=a);return this.cachedSort};f.saveSortColumns=function(a){V0(this.urlPreferences,{sortColumns:a,page:1})};
f.initColumns=function(a,b){var c=this;b=void 0===b?Xmd:b;a.then(function(d){c.displayColumns=d;c.metaColumns=b;c.isColumnSaveEnabled=!0;c.issueColumnsInternal=[].concat(Jc(b),Jc(A$a(d)));c.cdr.detectChanges()})};f.saveColumns=function(a){this.displayColumns=a.map(function(b){return lj(b.name)});V0(this.urlPreferences,{displayColumns:this.displayColumns})};
f.goToIssue=function(a,b,c){var d;c&&"A"===(null==(d=c.target)?void 0:d.tagName)||(this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"viewIssue",b?"read":"unread"),a=this.paths.editIssue(a),c&&(c.ctrlKey||c.metaKey||1===c.button)?this.domSafe.openInNewTab(a):c&&c.shiftKey?Wl(this.domSafe,a):this.bLocation.url(a))};f.goToPage=function(a){this.bLocation.search("p",a)};var mp=function(a,b,c){void 0!==b&&a.goToPage(b+c)};f=l$.prototype;f.refreshResults=function(){zX(this.issuePagination);return Pmd(this)};
f.hasResults=function(){return this.searchResults&&0<this.searchResults.issues.length};
f.sendBulkEditRequest=function(a,b){var c=this;if(1===a.length&&1===a[0].actions.length&&"readState"===a[0].actions[0].fieldName){var d=!!a[0].actions[0].value;b=k(a[0].issueIds);for(var e=b.next();!e.done;e=b.next()){e=e.value;var g=void 0;null==(g=this.searchResults)||OQc(g,e,d)}this.cdr.detectChanges();WF(this.butterBar,"Saving changes...",0);return KH(this.issueFridge,a[0].issueIds,{markRead:d}).then(function(l){for(var q=k(a[0].issueIds),v=q.next();!v.done;v=q.next()){v=v.value;var y=void 0,
B=void 0;null==(y=c.searchResults)||OQc(y,v,void 0,null!=(B=l)?B:null)}WF(c.butterBar,"Successfully marked issues "+(d?"read.":"unread."))}).catch(function(l){for(var q=k(a[0].issueIds),v=q.next();!v.done;v=q.next()){v=v.value;var y=void 0;null==(y=c.searchResults)||OQc(y,v)}c.errorHandler.errorHandler(null,l)}).finally(function(){c.cdr.detectChanges()})}e=kCa(a).map(function(l){return l.fieldName});this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"bulkEdit",e.join(","));var h={bulkEditOps:a};WF(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(l){if(c.searchResults){c.searchResults=c.searchResults.clone();for(var q=k(c.searchResults.issues.entries()),v=q.next();!v.done;v=q.next()){var y=k(v.value);v=y.next().value;y=y.next().value;l.finishedIssues[y.issueId]&&(v=c.searchResults.issues[v],q2a(v,l.finishedIssues[y.issueId],null),c.loadHotlists(v),Object.assign(c.customFieldMap,
v.customFieldMap))}}y=a[0];q=l.notFinishedIssueIds;v=String(y.actions[0].value);y=y.actions[0].actionType;if("ADD"!==y&&"REMOVE"!==y)throw Error("oe");q.length?(l="Failed to update issue(s) "+q.join(", ")+".",XF(c.butterBar,l),c.analytics.trackEvent(c.ANALYTICS_CATEGORY,"bulkEditError",""+q.length)):WF(c.butterBar,("ADD"===y?"Added child issue(s) to parent ["+v+"]":"Removed child issue(s) from parent ["+v+"]")+" on "+String(Object.keys(l.finishedIssues).length)+" issues.");c.cdr.detectChanges()}).catch(function(l){c.errorHandler.errorHandler(null,
l)}):this.issueApi.issueBulkEdit(h,b).then(function(l){if(c.searchResults){c.searchResults=c.searchResults.clone();for(var q=k(c.searchResults.issues.entries()),v=q.next();!v.done;v=q.next()){var y=k(v.value);v=y.next().value;y=y.next().value;l.affectedIssues[y.issueId]&&(y=l.affectedIssues[y.issueId],v=c.searchResults.issues[v],q2a(v,y,l.componentMap[na(y.snapshot).componentId]),c.loadHotlists(v),Object.assign(c.customFieldMap,v.customFieldMap))}}l.errors&&l.errors.length?(q="Failed to update issue(s) "+
(rsa(l.errors,"issueId").join(", ")+"."),XF(c.butterBar,q),c.analytics.trackEvent(c.ANALYTICS_CATEGORY,"bulkEditError",""+l.errors.length)):(l=Zpc(c.statusMessages,h,c.customFieldMap))?WF(c.butterBar,l):WF(c.butterBar,"Saved "+lCa(h.bulkEditOps).length+" issue(s).");c.cdr.detectChanges()}).catch(function(l){c.errorHandler.errorHandler(null,l)})};
f.loadHotlists=function(a){var b=this;var c=a?[a]:this.searchResults?this.searchResults.issues:[];a=new Set;for(var d=k(c),e=d.next();!e.done;e=d.next())if(e=e.value,e.hotlistId){e=k(e.hotlistId);for(var g=e.next();!g.done;g=e.next())g=g.value,this.hotlistMap[g]||a.add(g)}0!==a.size&&this.hotlistApi.bulkLoad([].concat(Jc(a))).then(function(){for(var h={},l=k(c),q=l.next();!q.done;h={$jscomp$loop$prop$loadedHotlists$2383:h.$jscomp$loop$prop$loadedHotlists$2383},q=l.next()){q=q.value;if(!q.hotlistId)return;
h.$jscomp$loop$prop$loadedHotlists$2383=[];q.hotlists=h.$jscomp$loop$prop$loadedHotlists$2383;q=k(q.hotlistId);for(var v=q.next();!v.done;v=q.next())v=v.value,b.hotlistMap[v]?h.$jscomp$loop$prop$loadedHotlists$2383.push(b.hotlistMap[v]):b.hotlistApi.get(v).then(function(y){return function(B){b.hotlistFridge.announce(B);b.addHotlist(B);y.$jscomp$loop$prop$loadedHotlists$2383.push(B)}}(h))}b.cdr.detectChanges()})};
f.addHotlist=function(a){this.hotlistMap[a.hotlistId]||(this.hotlistMap[a.hotlistId]=a,this.hotlistChoices.push(a))};
f.createHotlist=function(a){var b=this,c=a.name,d=a.successCallback;a=a.errorCallback;this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"createHotlist");WF(this.butterBar,"Creating hotlist "+c+"...",0);this.hotlistApi.createHotlist(c).then(function(e){b.hotlistFridge.announce(e);WF(b.butterBar,"Hotlist "+c+" created successfully.");b.hotlistChoices.push(e);b.hotlistMap[e.hotlistId]=e;b.appEvents.hotlistCreated.next();d(e);b.cdr.detectChanges()}).catch(a)};
f.loadHotlist=function(a){var b=this,c=a.hotlistId,d=a.successCallback;a=a.errorCallback;WF(this.butterBar,"Loading hotlist "+c);this.hotlistMap[c]||this.hotlistApi.get(c).then(function(e){b.hotlistFridge.announce(e);b.addHotlist(e);d(e);b.cdr.detectChanges()}).catch(a)};f.exportCsv=function(){this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"exportCsv");rsc(this.domSafe,this.getCsvUrl())};
var Ymd=function(a,b){a.userPreferencesManager.save({resultsPerPage:b}).pipe(qe(a.destroyed$)).subscribe(function(){a.resultsPerPage=b;V0(a.urlPreferences,{page:1});a.analytics.trackEvent(a.ANALYTICS_CATEGORY,"resultsPerPageSave",b.toString());a.refreshResults();a.cdr.detectChanges()},function(c){Lra(c)})},Vmd=function(a,b,c){var d=a.issuePagination.focusedIssueIndex_;a.timeout.schedule(function(){if(d>=b&&d<=c)a.focusedRowIndex=d-b;else{XQc(a.issuePagination);a.focusedRowIndex=0;var e=document.querySelector(".bv2-view");
e&&(e.scrollTop=0)}a.cdr.detectChanges()})},QEb=function(){setTimeout(function(){var a=document.querySelector(".b-select-all-toggle");a&&a.focus()})};
gg.Object.defineProperties(l$.prototype,{issueColumns:{configurable:!0,enumerable:!0,get:function(){return this.issueColumnsInternal},set:function(a){Fg(this.issueColumnsInternal,a)||(this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"columnModification",BBa(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 Xmd=[w0,x0,y0];
l$.\u0275fac=function(a){return new (a||l$)(D(wH),D(zH),D(Window),D(NG),D(YF),D(FE),D(hH),D(ZG),D(rp),D(VF),D(AH),D(dY),D(yX),D(TI),D(U0),D(W0),D(OG),D(EF),D(ZF),D(cJ),D(rK),D(cG),D(lH),D(IH),D(U1))};l$.\u0275dir=Cc({type:l$,features:[xe]});var MEb=function(){return{q:"status:open"}},m$=function(a,b,c,d,e,g,h,l,q,v,y,B,I,N,Q,Z,Y,ka,la,Da,za,Oa,Va,Ya,Xb,Bb,db,wa,Na,Qa){l$.call(this,a,b,c,d,g,h,l,q,e,v,y,B,I,N,Q,Z,Y,ka,Va,la,Da,Xb,db,wa,Qa);this.hotkeys=za;this.pageTitle=Oa;this.routePerformance=Ya;this.element=Bb;this.currentTracker=Na;this.ANALYTICS_CATEGORY=Yl.LIST_ISSUES;this.isLoading=!0;this.showHotlists=!1;this.SPACE_EMPTY_STATE=xtc};V(m$,l$);m$.\u0275dir=l$.\u0275dir;f=m$.prototype;
f.ngOnInit=function(){var a=this;l$.prototype.ngOnInit.call(this);this.subscriptions.add(cM(this.hotkeys,{title:"Issue List",hotkeys:this.BASE_HOTKEYS}));this.subscriptions.add(this.userPreferencesManager.listViewPreferences$.subscribe(function(b){a.showHotlists=b.showHotlists}))};
f.getIssues=function(){var a=this,b=this.bLocation.search().warning;b&&(Array.isArray(b)&&(b=b[0]),XF(this.butterBar,b));this.query=this.urlPreferences.getQuery();if(!this.query)return this.activeSession.isAnonymous()?(this.query="",eY(this.appSearchState,this.query),this.searchResults=null,this.setPageTitle(),this.isLoading=!1):(this.routePerformance.ignoringNextNav=!0,V0(this.urlPreferences,{query:"assignee:"+this.currentUserEmail+" status:open"},!0)),Promise.resolve(void 0);eY(this.appSearchState,
this.query);b=eSc(this.appSearchState);if(0<b)return fmc(this.bLocation,this.paths.viewHotlist(b)),V0(this.urlPreferences,{query:null},!0),Promise.resolve(void 0);b=fSc(this.appSearchState);if(0<b)return fmc(this.bLocation,this.paths.viewSavedSearch(b)),V0(this.urlPreferences,{query:null},!0),Promise.resolve(void 0);this.searchResults=null;this.isLoading=!0;this.setPageTitle();this.subscriptions.add((0,F.concat)((0,F.timer)(0).pipe(kka()),E$a("b-issues-grid, #no-results",this.element.nativeElement)).subscribe(function(){var c=
function(){Q_c(a.routePerformance,"issue-list-w-results")};requestAnimationFrame(c);setTimeout(c)}));return this.doSearch().finally(function(){a.isLoading=!1;a.cdr.detectChanges()})};
f.doSearch=function(){var a=this,b=this.gridPreferencesFetcher.fetch({resultsPerPage:25,page:1,query:"",sortColumns:[],displayColumns:Qmd(this)}),c=b.searchPreferences.then(function(g){g=Gg(g);g.query=a.computeQuery(g);g.returnUrl=a.bLocation.url();g.trackerIds=a.appSearchState.currentTrackerScope;return TQc(a.issuePagination,g)}),d;(null==(d=this.query)?0:d.includes("teamid:"))&&this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"searchByTeam");var e;(null==(e=this.query)?0:e.includes("componentid:"))&&
this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"searchByComponent");c.then(function(g){Wmd(a,g)}).catch(function(g){"number"===typeof g?V0(a.urlPreferences,{page:g}):a.errorHandler.errorHandler(null,g)});b=b.displayColumns;this.initColumns(b);return Ql({searchResultsPage:c,displayColumns:b}).then(function(g){var h=g.searchResultsPage;a.searchResults=a.processSearchResults(h);a.page=h.params.page;a.sortPreferences=h.params.sortColumns||[];a.cdr.detectChanges();a.loadHotlists();g=g.displayColumns.join("|");
h=a.sortPreferences.join("|");a.analytics.trackEvent(a.ANALYTICS_CATEGORY,"issueSearch",g+" ("+h+")")})};f.processSearchResults=function(a){return a};f.computeQuery=function(){return this.query};f.saveColumns=function(a){this.displayColumns=a.map(function(b){return lj(b.name)});Bpc(this.userPreferencesManager,B$a(a)).pipe(qe(this.destroyed$)).subscribe()};
f.setPageTitle=function(){this.appSearchState.currentQuery===cSc(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===dSc(this.currentUserEmail)?this.pageTitle.setTitle("To be verified"):this.pageTitle.setTitle(this.query)};
f.saveSortColumns=function(a){var b=this;this.isLoading=!0;a=a.map(function(c){return{column:c.fieldId,order:c.direction}});this.userPreferencesManager.saveSortColumns(a).pipe(qe(this.destroyed$)).subscribe(function(){V0(b.urlPreferences,{page:1,sortColumns:null});b.refreshResults().finally(function(){b.isLoading=!1;b.cdr.detectChanges();QEb()})})};f.getCsvUrl=function(){return this.paths.issuesCsvAction(this.query,this.appSearchState.currentTrackerScope,this.sortPreferences,this.displayColumns,this.showHotlists)};
m$.\u0275fac=function(a){return new (a||m$)(D(wH),D(zH),D(jE),D(NG),D(rp),D(YF),D(FE),D(hH),D(ZG),D(VF),D(AH),D(dY),D(yX),D(TI),D(U0),D(W0),D(OG),D(EF),D(cJ),D(rK),D(bM),D(SW),D(ZF),D(Y1),D(cG),D(fd),D(lH),D(IH),D(LK),D(U1))};
m$.\u0275cmp=zc({type:m$,selectors:[["list-issues-page"]],features:[Xe([wH]),xe],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","init","columnsChange","sortChange","rowClick","onNextPage","onPrevPage"]],template:function(a,b){a&1&&(H(0,"h2",0),S(1,"Issue search results"),J(),H(2,"div",1)(3,"b-grid-controls",2),O("init",function(c){return b.gridControls=c})("onRefresh",function(){return b.refreshResults()})("onSave",function(c){return b.sendBulkEditRequest(c.bulkEditOps,c.recaptchaToken)})("onCreateHotlist",function(c){return b.createHotlist(c)})("onLoadHotlist",function(c){return b.loadHotlist(c)})("onExportCsv",
function(){return b.exportCsv()}),J(),H(4,"div",3)(5,"b-pagination",4),O("pageChange",function(c){return b.goToPage(c.page)})("resultsPerPageChange",function(c){return Ymd(b,c.option)}),J()()(),H(6,"div",5),R(7,JEb,4,1,"div",6),R(8,PEb,9,8,"div",7),R(9,REb,2,5,"div",8),J());a&2&&(C(3),G("grid",b.resultsGrid)("hotlistChoices",b.hotlistChoices),C(2),G("searchResults",b.searchResults),C(1),Ae("aria-busy",b.isLoading),C(1),G("ngIf",b.isLoading),C(1),G("ngIf",!b.isLoading&&!b.hasResults()),C(1),G("ngIf",
!b.isLoading&&b.hasResults()))},dependencies:[B0,i1,u0,Tu,SL,jV,IG,Zu],styles:[".empty-state-img[_ngcontent-%COMP%]{max-width:320px;max-height:320px;padding-bottom:56px}\n/*# sourceMappingURL=list_issues.css.map */"]});var Zmd=function(){};Zmd.\u0275fac=function(a){return new (a||Zmd)};Zmd.\u0275mod=Bc({type:Zmd});Zmd.\u0275inj=oc({imports:[R0,k1,f1,CX,MF,yN,kV,MG]});var n$=function(a,b,c,d,e,g,h,l,q,v,y,B,I,N,Q,Z,Y,ka,la,Da,za,Oa,Va,Ya,Xb,Bb,db,wa,Na,Qa,nb){m$.call(this,a,b,c,d,e,g,h,l,q,v,y,B,I,N,Q,Z,Y,ka,la,Da,za,Oa,Va,Ya,Xb,Bb,wa,Na,Qa,nb);this.issueLru=db;this.ANALYTICS_CATEGORY="recentIssues";this.recentIds=Array.from(this.issueLru.viewed.keys());this.initialLoad=!0};V(n$,m$);n$.\u0275dir=m$.\u0275dir;n$.prototype.ngOnInit=function(){m$.prototype.ngOnInit.call(this);this.pageTitle.setTitle("Recent Issues");this.appSearchState.clear();this.initialLoad=!0};
n$.prototype.getIssues=function(){var a=this;this.searchResults=null;this.isLoading=!0;return 0===this.recentIds.length?(this.isLoading=!1,Promise.resolve()):this.doSearch().finally(function(){a.isLoading=!1;a.initialLoad=!1;a.cdr.detectChanges()})};n$.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("|")};
n$.prototype.processSearchResults=function(a){this.initialLoad&&(a.params.sortColumns=[]);var b;null!=(b=a.params.sortColumns)&&b.length||(a.issues=VEb(this.recentIds,a.issues));return a};n$.\u0275fac=function(a){return new (a||n$)(D(wH),D(zH),D(jE),D(NG),D(rp),D(YF),D(FE),D(hH),D(ZG),D(VF),D(AH),D(dY),D(yX),D(TI),D(U0),D(W0),D(OG),D(EF),D(cJ),D(rK),D(bM),D(SW),D(ZF),D(Y1),D(cG),D(fd),D(LW),D(lH),D(IH),D(LK),D(U1))};
n$.\u0275cmp=zc({type:n$,selectors:[["list-issues-recent"]],features:[Xe([wH]),xe],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),S(1,"Recent Issues"),J(),H(2,"div",1)(3,"b-grid-controls",2),O("init",function(d){return b.gridControls=d})("onRefresh",function(){return b.refreshResults()})("onSave",function(d){return b.sendBulkEditRequest(d.bulkEditOps)})("onCreateHotlist",
function(d){return b.createHotlist(d)})("onLoadHotlist",function(d){return b.loadHotlist(d)})("onExportCsv",function(){return b.exportCsv()}),J(),H(4,"div",3)(5,"b-pagination",4),O("pageChange",function(d){return b.goToPage(d.page)})("resultsPerPageChange",function(d){return Ymd(b,d.option)}),J()()(),H(6,"div",5),R(7,SEb,3,0,"div",6),R(8,TEb,2,0,"div",7),R(9,UEb,2,5,"div",8),J());if(a&2){var c;C(3);G("grid",null!==(c=b.resultsGrid)&&void 0!==c?c:void 0)("hotlistChoices",b.hotlistChoices);C(2);G("searchResults",
b.searchResults);C(1);Ae("aria-busy",b.isLoading);C(1);G("ngIf",b.isLoading);C(1);G("ngIf",!b.isLoading&&!b.hasResults());C(1);G("ngIf",!b.isLoading&&b.hasResults())}},dependencies:[SL,B0,i1,u0,Tu],encapsulation:2});var $md=function(a,b,c,d,e,g){this.cdr=a;this.pageTitle=b;this.paths=c;this.sloApi=d;this.errorHandler=e;this.activeSession=g;this.isLoading=!1;this.activeSlos=[];this.archivedSlos=[];this.createSloPath=this.paths.createSlo();this.sloEnabled=this.activeSession.isInternalSession();this.areArchivedSlosExpanded=!1};$md.prototype.ngOnInit=function(){this.sloEnabled&&(this.pageTitle.setTitle("Manage SLOs"),and(this))};
var and=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)})};$md.\u0275fac=function(a){return new (a||$md)(D(wH,2),D(SW),D(OG),D(TT),D(ZF),D(rp))};
$md.\u0275cmp=zc({type:$md,selectors:[["list-slos-page"]],features:[Xe([wH])],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),S(2," Create SLO "),J()(),H(3,"div",2),R(4,WEb,5,0,"div",3),R(5,XEb,1,1,"b-spinner",4),R(6,$Eb,3,2,"ng-container",5),R(7,dFb,6,5,"ng-container",5),J());a&2&&(C(1),G("href",b.createSloPath,vd),C(3),G("ngIf",b.sloEnabled),C(1),G("ngIf",b.isLoading),C(1),G("ngIf",!b.isLoading),C(1),G("ngIf",!b.isLoading))},dependencies:[Tu,
zy,jz,O1,SL],encapsulation:2});var bnd=function(a){r.call(this,a)};V(bnd,r);f=bnd.prototype;f.getAuthor=function(){return W(this,Wg,1)};f.setAuthor=function(a){Oh(this,Wg,1,a)};f.getTimestamp=function(){return W(this,ug,2)};f.setTimestamp=function(a){return Oh(this,ug,2,a)};f.hasTimestamp=function(){return qi(this,ug,2)};f.getAdd=function(){return W(this,Gi,3)};f.getRemove=function(){return W(this,Gi,4)};f.getAddMask=function(){return W(this,sC,5)};f.getRemoveMask=function(){return W(this,sC,6)};f.toObject=function(){return cnd(this)};
var cnd=function(a){if(null!=a)return t(a),{author:OC(a.getAuthor()),timestamp:pr(a.getTimestamp()),add:$D(a.getAdd()),remove:$D(a.getRemove()),addMask:tC(a.getAddMask()),removeMask:tC(a.getRemoveMask())}},dnd=[bnd,1,X,PC,2,X,qr,3,X,aE,4,X,aE,5,X,uC,6,X,uC];bnd.prototype.serializeBinary=u(dnd);var o$=function(a){r.call(this,a,0,o$.messageId)};V(o$,r);o$.prototype.getUpdatesList=function(){return yg(this,bnd,1)};o$.repeatedFields_=[1];o$.prototype.toObject=function(){if(null!=this){t(this);var a={updatesList:Mb(this.getUpdatesList(),cnd)}}else a=void 0;return a};o$.prototype.serializeBinary=u([o$,1,Iq,dnd]);o$.messageId="b.ComponentHistory";var p$=function(a,b){this.executor=b;this.componentHistoriesCache=a.get("component_histories-second-level-cache")||a.create("component_histories-second-level-cache",{capacity:25})};p$.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:o$}).then($ua))};p$.prototype.getUncached=function(a){this.invalidateCache(a);return this.get(a)};
p$.prototype.invalidateCache=function(a){this.componentHistoriesCache.remove(String(a))};p$.\u0275fac=function(a){return new (a||p$)(w(XG),w(CC))};p$.\u0275prov=nc({token:p$,factory:p$.\u0275fac,providedIn:"root"});var end=function(){};end.prototype.ngOnInit=function(){};end.\u0275fac=function(a){return new (a||end)};
end.\u0275cmp=zc({type:end,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&&(R(0,eFb,4,1,"ng-container",0),R(1,fFb,4,1,"ng-container",0));a&2&&(G("ngIf",b.teamPath),C(1),G("ngIf",b.componentPath))},dependencies:[Tu,uZ,p1],styles:["b-component-breadcrumb[_ngcontent-%COMP%], b-team-breadcrumb[_ngcontent-%COMP%]{display:inline-block}"]});var fnd=function(a){this.documentationLinks=a;this.helpLink="http://goto.google.com/buganizer-ml"};fnd.prototype.ngOnInit=function(){};fnd.\u0275fac=function(a){return new (a||fnd)(D(NI))};
fnd.\u0275cmp=zc({type:fnd,selectors:[["recommendation-settings"]],inputs:{componentId:"componentId"},decls:13,vars:2,consts:[[1,"flex-kids-y","gap-s"],["id","ml-features-subtitle",1,"muted"],["target","_blank","aria-describedby","ml-features-subtitle",1,"keep-focus-ring",3,"href"],[1,"link-button","keep-focus-ring",3,"click"],[3,"checked","change"]],template:function(a,b){a&1&&(H(0,"div",0)(1,"h4"),S(2,"ML Features"),J(),H(3,"span",1),S(4," Buganizer collects data in this component to improve ML features. "),
H(5,"a",2),S(6,"Learn more"),J(),S(7," or "),H(8,"button",3),O("click",function(){}),S(9,"opt out"),J(),S(10,". "),J(),H(11,"mat-slide-toggle",4),O("change",function(){}),S(12," Show ML-suggested duplicates for issues "),J()());a&2&&(C(5),G("href",b.helpLink,vd),C(6),G("checked",!0))},dependencies:[eU],styles:["h4[_ngcontent-%COMP%]{margin:0}\n/*# sourceMappingURL=recommendation_settings.css.map */"]});var np=function(a){r.call(this,a)};V(np,r);np.prototype.toObject=function(){return gnd(this)};var gnd=function(a){if(null!=a)return t(a),{groupEmail:p(m(a,1)),approximateSize:p(m(a,2)),sizeCategory:p(m(a,3)),permissionCategory:p(m(a,5))}},hnd=[np,1,Cq,2,pq,3,Nq,5,Nq];np.prototype.serializeBinary=u(hnd);var q$=function(a){r.call(this,a,0,q$.messageId)};V(q$,r);q$.repeatedFields_=[1];q$.prototype.toObject=function(){if(null!=this){t(this);var a={groupMetadataList:Mb(yg(this,np,1),gnd)}}else a=void 0;return a};q$.prototype.serializeBinary=u([q$,1,Iq,hnd]);q$.messageId="b.BatchGroupMetadataResult";var r$=function(a,b){var c=this;this.groupMetadataResources=a;this.bulkGetter=b.adapt(function(d){return c.groupMetadataResources.bulkGet(d).then(function(e){var g=gFb(e);return RLb(d,function(h){return g[h]||null})})})};r$.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"}})};r$.\u0275fac=function(a){return new (a||r$)(w(s$),w(FF))};
r$.\u0275prov=nc({token:r$,factory:r$.\u0275fac,providedIn:"root"});var s$=function(a){this.executor=a};s$.prototype.bulkGet=function(a){a=[].concat(Jc(new Set(a)));a=Dk(a.join(","));return this.executor.get({url:"action/group_metadata/"+a,responseConstructor:q$}).then(kFb)};s$.\u0275fac=function(a){return new (a||s$)(w(CC))};s$.\u0275prov=nc({token:s$,factory:s$.\u0275fac,providedIn:"root"});var lFb=[{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 t$=function(a,b,c,d,e){var g=this;this.accessPolicyConverter=a;this.activeSession=b;this.confirmationDialogService=c;this.documentationLinks=d;this.groupMetadata=e;this.componentReaders=[];this.enableComponentAutomationCheck=this.enableRostersChecks=!1;this.isPublic=function(){return xn(g.component)};this.hasUnsavedAccessLimitChanges=function(){return g.originalComponent&&g.component?g.originalComponent.accessLimit.accessLevel!==g.component.accessLimit.accessLevel:!1};this.performAccessLimitCheck=
function(){return new Promise(function(h){g.hasUnsavedAccessLimitChanges()&&"INTERNAL"===g.component.accessLimit.accessLevel?g.confirmationDialogService.open({title:"Component Visibility Changed",content:yl("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(){h(!0)},onDismiss:function(){h(!1)}}):h(!0)})};
this.performDeletedAccountsCheck=function(){return new Promise(function(h){g.componentReaders.includes("GROUP:nobody@google.com")?g.confirmationDialogService.open({title:'"nobody@google.com" is on the access policy',content:yl('"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: '+[g.componentAccessPolicyUnderEdit.admins.includes("GROUP:nobody@google.com")?'"Component Admins"':
null,g.componentAccessPolicyUnderEdit.appenders.includes("GROUP:nobody@google.com")?'"Create Issues"':null,g.issueDefaultAccessPolicyUnderEdit.admins.includes("GROUP:nobody@google.com")?'"Issue Admins"':null,g.issueDefaultAccessPolicyUnderEdit.editors.includes("GROUP:nobody@google.com")?'"Edit Issues"':null,g.issueDefaultAccessPolicyUnderEdit.appenders.includes("GROUP:nobody@google.com")?'"Comment on Issues"':null,g.issueDefaultAccessPolicyUnderEdit.readers.includes("GROUP:nobody@google.com")?'"View Issues"':
null,g.issueDefaultAccessPolicyUnderEdit.restrictedPlusReaders.includes("GROUP:nobody@google.com")?'"View restricted+ content"':null,g.issueDefaultAccessPolicyUnderEdit.restrictedReaders.includes("GROUP:nobody@google.com")?'"View restricted content"':null].filter(function(l){return!!l}).join(", ")+". Do you want to proceed?"),onConfirm:function(){h(!0)},onDismiss:function(){h(!1)}}):h(!0)})};this.performAdminAccessRemovalCheck=function(){return new Promise(function(h){var l=g.activeSession.getUserEmail();
vFb(l,g.componentFlattenedAccessPolicy,g.componentAccessPolicyUnderEdit)?g.confirmationDialogService.open({title:"Component Administrators Changed",content:yl("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(){h(!0)},onDismiss:function(){h(!1)}}):h(!0)})};this.performRestrictedPlusGroupRemovalCheck=
function(){return new Promise(function(h){uFb(g.issueDefaultFlattenedAccessPolicy,g.issueDefaultAccessPolicyUnderEdit)?g.confirmationDialogService.open({title:"Group Removed from Restricted+ Readers",content:yl("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(){h(!0)},onDismiss:function(){h(!1)}}):h(!0)})};this.retrieveGroupMetadata=function(h){h=g.accessPolicyConverter.stringToAccessPolicyPrincipal(h);
return void 0!==h.group&&h.group.emailAddress?g.groupMetadata.get(h.group.emailAddress):Promise.resolve({approximateSize:0,groupEmail:"",sizeCategory:"UNKNOWN",permissionCategory:"UNKNOWN_PERMISSION"})};this.evaluateNewGroups=function(){var h=gk([].concat(Jc(Kg(g.componentAccessPolicyUnderEdit.admins,g.componentFlattenedAccessPolicy.admins)),Jc(Kg(g.issueDefaultAccessPolicyUnderEdit.admins,g.issueDefaultFlattenedAccessPolicy.admins)),Jc(Kg(g.issueDefaultAccessPolicyUnderEdit.editors,g.issueDefaultFlattenedAccessPolicy.editors)),
Jc(Kg(g.issueDefaultAccessPolicyUnderEdit.appenders,g.issueDefaultFlattenedAccessPolicy.appenders)),Jc(Kg(g.issueDefaultAccessPolicyUnderEdit.readers,g.issueDefaultFlattenedAccessPolicy.readers)),Jc(Kg(g.issueDefaultAccessPolicyUnderEdit.restrictedReaders,g.issueDefaultFlattenedAccessPolicy.restrictedReaders)),Jc(Kg(g.issueDefaultAccessPolicyUnderEdit.restrictedPlusReaders,g.issueDefaultFlattenedAccessPolicy.restrictedPlusReaders))));return Promise.all(h.map(function(l){return g.retrieveGroupMetadata(l)}))};
this.performAddedLargeOrOpenGroupCheck=function(){return g.enableRostersChecks?g.evaluateNewGroups().then(function(h){var l=pFb(h);h=tFb(h);if(0===l.size&&0===h.size)return Promise.resolve(!0);var q=qFb(l.size,h.size);l=rFb(l);h=sFb(h);var v=Bl(l,l===op?op:Al("BR"),h);l={};v=Bl(v,Al("P",{},Bl("Please review the ",Al("A",(l.href=npc(g.documentationLinks)+"#fully-public-component",l.target="_blank",l),"recommended practices")," and be sure you know what you are doing. Are you  sure that you want to do this?")));
return new Promise(function(y){g.confirmationDialogService.open({title:q,content:v,onConfirm:function(){y(!0)},onDismiss:function(){y(!1)},confirmButtonText:"Add Group"})})}):Promise.resolve(!0)};this.performAddedNewInternalAliasesCheck=function(){return new Promise(function(h){if(g.isPublic()&&oFb(g.issueDefaultAccessPolicyUnderEdit,g.issueDefaultFlattenedAccessPolicy)){var l={};l=Bl(Al("P",{},"You are about to give a broad category of users permissions on a public component."),Al("P",{},Bl("Please review the ",
Al("A",(l.href=npc(g.documentationLinks)+"#recommended-access-settings",l.target="_blank",l),"recommended practices")," and be sure you know what you are doing. Are you  sure that you want to do this?")));g.confirmationDialogService.open({title:"Adding an broad category of users to a public component",content:l,onConfirm:function(){h(!0)},onDismiss:function(){h(!1)},confirmButtonText:"Add Group Alias"})}else h(!0)})};this.performChangedImplicitAccessCheck=function(){g.implicitAccess={getValue:function(){return g.componentAccessPolicyUnderEdit?
"ALLOW"===g.componentAccessPolicyUnderEdit.implicitAccess:!1},getSavedValue:function(){return g.componentFlattenedAccessPolicy?"ALLOW"===g.componentFlattenedAccessPolicy.implicitAccess:!1},setValue:function(q){g.componentAccessPolicyUnderEdit&&(g.componentAccessPolicyUnderEdit=Object.assign({},g.componentAccessPolicyUnderEdit,{implicitAccess:q?"ALLOW":"DENY"}))}};var h={},l=Al("A",(h.href=Xl(g.documentationLinks)+"#expanded-access",h),"Learn more.");return new Promise(function(q){g.implicitAccess.getValue()===
g.implicitAccess.getSavedValue()?q(!0):g.implicitAccess.getValue()?g.confirmationDialogService.open({title:"Turn on expanded access for component "+g.component.componentId+"?",content:Bl("When expanded access is on, assignees and verifiers can edit issues in this component, and CC'd users can comment. ",l),onConfirm:function(){q(!0)},onDismiss:function(){q(!1)}}):g.confirmationDialogService.open({title:"Turn off expanded access for component "+g.component.componentId+"?",content:Bl("Some users may lose the ability to edit or comment on issues in this component. ",
l),onConfirm:function(){q(!0)},onDismiss:function(){q(!1)}})})};this.getAddedAutomationInPolicyChange=function(){var h=[].concat(Jc(mFb(g.issueDefaultFlattenedAccessPolicy,g.issueDefaultAccessPolicyUnderEdit)),Jc(mFb(g.componentFlattenedAccessPolicy,g.componentAccessPolicyUnderEdit))),l=new Set;h=k(h);for(var q=h.next();!q.done;q=h.next()){q=k(q.value.addedPrincipals);for(var v=q.next();!v.done;v=q.next())v=g.accessPolicyConverter.stringToAccessPolicyPrincipal(v.value),(Asa(v)?oDa(v.user.emailAddress):
void 0!==v.group&&oDa(v.group.emailAddress))&&l.add(v)}return[].concat(Jc(l))};this.performAutomationUserAccessCheck=function(){if(!g.enableComponentAutomationCheck)return Promise.resolve(!0);var h=g.getAddedAutomationInPolicyChange();return new Promise(function(l){if(h.length){var q={};q=Al("A",(q.href=mpc(g.documentationLinks),q)," automation account documentation");g.confirmationDialogService.open({title:"Adding automation accounts",content:Bl(yl("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"),
Al("wbr"),q,yl("."),Al.apply(Nm,["OL",{}].concat(Jc(h.map(function(v){if(Asa(v)){var y;return Al("LI",{},yl(null!=(y=v.user.emailAddress)?y:""))}if(void 0!==v.group){var B;return Al("LI",{},yl(null!=(B=v.group.emailAddress)?B:""))}throw Error("Pe`"+JSON.stringify(v));})))),Al("BR",{}),yl("Are you sure you wish to allow automation to access data in this component?")),onConfirm:function(){l(!0)},onDismiss:function(){l(!1)}})}else l(!0)})};this.runValidation=function(h){var l,q,v;return Ld(function(y){switch(y.nextAddress){case 1:l=
k(h),q=l.next();case 2:if(q.done){y.jumpTo(4);break}v=q.value;return y.yield(v(),5);case 5:if(!y.yieldResult)return y.return(!1);q=l.next();y.jumpTo(2);break;case 4:return y.return(!0)}})};this.enableRostersChecks=iE(this.activeSession,"enableRostersChecks");this.enableComponentAutomationCheck=iE(this.activeSession,"enableComponentAutomationCheck")},ind=function(a,b){var c=b.component,d=b.originalComponent,e=b.componentReaders,g=b.componentAccessPolicyUnderEdit,h=b.componentFlattenedAccessPolicy,
l=b.issueDefaultAccessPolicyUnderEdit,q=b.issueDefaultFlattenedAccessPolicy,v,y;return Ld(function(B){if(1==B.nextAddress)return a.component=c,a.originalComponent=d,a.componentReaders=e,a.componentAccessPolicyUnderEdit=g,a.componentFlattenedAccessPolicy=h,a.issueDefaultAccessPolicyUnderEdit=l,a.issueDefaultFlattenedAccessPolicy=q,v=[a.performAccessLimitCheck,a.performDeletedAccountsCheck,a.performAdminAccessRemovalCheck,a.performRestrictedPlusGroupRemovalCheck,a.performAddedLargeOrOpenGroupCheck,
a.performAddedNewInternalAliasesCheck,a.performChangedImplicitAccessCheck,a.performAutomationUserAccessCheck],B.yield(a.runValidation(v),2);y=B.yieldResult;return B.return(y)})};t$.\u0275fac=function(a){return new (a||t$)(w(NR),w(rp),w(OI),w(NI),w(r$))};t$.\u0275prov=nc({token:t$,factory:t$.\u0275fac});var u$=function(a){kE.call(this);this.principalTypes=a;this.componentReaders=[];this.templates=[]};V(u$,kE);u$.\u0275dir=kE.\u0275dir;
u$.prototype.ngOnChanges=function(){var a=this.componentAccessPolicy,b=this.issueAccessPolicy,c=new Set([].concat(Jc(this.componentReaders))),d=new Set([].concat(Jc(a.admins),Jc(a.inheritedAdmins)));a=new Set([].concat(Jc(d),Jc(a.appenders)));var e=new Set([].concat(Jc(b.admins))),g=new Set([].concat(Jc(e),Jc(b.editors))),h=new Set([].concat(Jc(g),Jc(b.appenders))),l=new Set([].concat(Jc(b.restrictedPlusReaders))),q=new Set([].concat(Jc(l),Jc(b.restrictedReaders)));b=new Set([].concat(Jc(q),Jc(h),
Jc(b.readers)));this.templates=[{permission:"Admin Components",principals:[].concat(Jc(d)).map(pp)},{permission:"Create Issues",principals:[].concat(Jc(a)).map(pp)},{permission:"Admin Issues",principals:[].concat(Jc(e)).map(pp)},{permission:"Edit Issues",principals:[].concat(Jc(g)).map(pp)},{permission:"Comment Issues",principals:[].concat(Jc(h)).map(pp)},{permission:"View Issues",principals:[].concat(Jc(b)).map(pp)},{permission:"View Components",principals:[].concat(Jc(c)).map(pp)},{permission:"View Restricted",
principals:[].concat(Jc(q)).map(pp)},{permission:"View Restricted+",principals:[].concat(Jc(l)).map(pp)}];jnd(this,this.templates)};
var jnd=function(a,b){b=k(b);for(var c=b.next();!c.done;c=b.next()){var d={};c=k(c.value.principals);for(var e=c.next();!e.done;d={$jscomp$loop$prop$principal$2385:d.$jscomp$loop$prop$principal$2385},e=c.next())d.$jscomp$loop$prop$principal$2385=e.value,"ALIAS"===d.$jscomp$loop$prop$principal$2385.principalType?d.$jscomp$loop$prop$principal$2385.detailedUserType="NO_DETAILED_TYPE":kJ(a.principalTypes,d.$jscomp$loop$prop$principal$2385.value,!0).then(function(g){return function(h){g.$jscomp$loop$prop$principal$2385.detailedUserType=
h.detailedUserType}}(d))}};u$.\u0275fac=function(a){return new (a||u$)(D(jJ))};
u$.\u0275cmp=zc({type:u$,selectors:[["permissions-view"]],inputs:{issueAccessPolicy:"issueAccessPolicy",componentAccessPolicy:"componentAccessPolicy",componentReaders:"componentReaders",accessLevel:"accessLevel"},features:[xe,Mc],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),S(3,"Permission"),J(),H(4,"th",1),S(5,"Users With Permission"),J()(),R(6,xFb,6,2,"ng-container",2),J());a&2&&(C(6),G("ngForOf",b.templates))},dependencies:[Su,O0],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}\n/*# sourceMappingURL=permissions_view.css.map */"]});var knd=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"}),v$={},lnd=(v$.issueAdmin=new Set(["issueEditor"]),v$.issueEditor=new Set(["issueAppender"]),v$.issueAppender=new Set(["issueReader"]),v$.issueRestrictedReader=
new Set(["issueReader"]),v$.issueRestrictedPlusReader=new Set(["issueRestrictedReader"]),v$.issueReader=new Set(["componentReader"]),v$.componentAdmin=new Set(["componentAppender"]),v$.componentAppender=new Set(["componentReader"]),v$.componentReader=new Set,v$),IFb=yCa(knd,function(a){return lnd[a]}),GFb=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"}),w$={},mnd=(w$.componentAdmin=new Set(["componentAdmin","issueAdmin"]),w$.issueAdmin=new Set(["issueAdmin","componentAppender"]),w$.issueEditor=new Set(["issueEditor","componentAppender"]),w$.issueContributor=new Set(["issueAppender","componentAppender"]),w$.componentAdminOnly=new Set(["componentAdmin"]),
w$.issueCreator=new Set(["componentAppender"]),w$.issueAdminOnly=new Set(["issueAdmin"]),w$.issueEditorExisting=new Set(["issueEditor"]),w$.issueCommenter=new Set(["issueAppender"]),w$.restrictedPlusViewer=new Set(["issueRestrictedPlusReader"]),w$.restrictedViewer=new Set(["issueRestrictedReader"]),w$.issueViewer=new Set(["issueReader"]),w$),FFb=yCa(GFb,function(a){return mnd[a]}),nnd=JFb(),EFb=yCa(GFb,function(a){a=[].concat(Jc(FFb.get(a))).flatMap(function(b){return[].concat(Jc(nnd.get(b)))});return new Set(a)}),
HFb=yCa(GFb,function(a){return new Set(GFb.filter(function(b){return b!==a&&csa(EFb.get(b),EFb.get(a))}))});var MFb={componentAdmin:[],componentAdminOnly:[],issueAdminOnly:[],inheritedComponentAdmin:[],issueAdmin:[],editor:[],contributor:[],viewer:[],editExistingIssuesOnly:[],createIssuesOnly:[],commentOnly:[],viewRestricted:[],viewRestrictedPlus:[]},ond={admins:[],editors:[],appenders:[],readers:[],restrictedReaders:[],restrictedPlusReaders:[],inheritedAdmins:[],implicitAccess:null};var x$=function(a,b,c,d,e,g,h,l){var q=this;this.accessPolicyApi=a;this.accessPolicyConverter=b;this.errorHandler=c;this.butterBar=d;this.userAccess=e;this.componentActions=g;this.componentValidator=h;this.analytics=l;this.isAdmin=!1;this.rolesMap=MFb;this.originalComponent=this.parentComponent=this.component=null;this.isUpdatingAccessLimit=this.isUpdatingAccessPolicy=this.isSaving=!1;this.implicitAccess={getValue:function(){return q.componentAccessPolicyUnderEdit?"ALLOW"===q.componentAccessPolicyUnderEdit.implicitAccess:
!1},getSavedValue:function(){return q.componentFlattenedAccessPolicy?"ALLOW"===q.componentFlattenedAccessPolicy.implicitAccess:!1},setValue:function(v){q.componentAccessPolicyUnderEdit&&(q.componentAccessPolicyUnderEdit=Object.assign({},q.componentAccessPolicyUnderEdit,{implicitAccess:v?"ALLOW":"DENY"}))},isUpdated:function(){var v;return q.componentAccessPolicyUnderEdit.implicitAccess!==(null==(v=q.componentFlattenedAccessPolicy)?void 0:v.implicitAccess)}};this.componentReaders=[];this.issueDefaultFlattenedAccessPolicy=
this.componentFlattenedAccessPolicy=ond;this.componentAccessPolicyUnderEdit=OR();this.issueDefaultAccessPolicyUnderEdit=OR();this.restrictedPlusReadersValidators={noRestrictedPlusGroups:function(v){a:{var y=q.issueDefaultFlattenedAccessPolicy;if(v&&y){y=y.restrictedPlusReaders;v=k(v);for(var B=v.next();!B.done;B=v.next())if(B=B.value,0===B.indexOf("GROUP:")&&-1===y.indexOf(B)){y=!1;break a}}y=!0}return y}}};
x$.prototype.hasUnsavedAccessLimitChanges=function(){var a=this.originalComponent,b=this.component;return a&&b?a.accessLimit.accessLevel!==b.accessLimit.accessLevel:!1};
var pnd=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;WF(a.butterBar,"Changed access level.")},function(b){a.component.accessLimit.accessLevel=a.originalComponent.accessLimit.accessLevel;
var c="Could not change access level. ";Bk(b)&&(c+=Ck(b));XF(a.butterBar,c)}).finally(function(){a.isUpdatingAccessLimit=!1;a.isSaving=a.isUpdatingAccessPolicy||a.isUpdatingAccessLimit})};x$.prototype.updateComponentAndOriginalComponent=function(a){this.component=Gg(a);this.originalComponent=Gg(a)};
x$.prototype.loadComponent=function(){var a=this;return this.componentActions.getUncached(this.componentId,!0).then(function(b){a.updateComponentAndOriginalComponent(b);0<b.parentComponentId&&a.loadParentComponent(b.parentComponentId)}).catch(function(b){a.errorHandler.errorHandler(null,b)})};x$.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)})};
x$.prototype.initialize=function(a){var b=this;a=void 0===a?this.componentId:a;if(!a&&!this.componentId)return XF(this.butterBar,"No component found!"),Promise.resolve();this.componentId=a;return Promise.all([this.accessPolicyApi.get("COMPONENT",this.componentId).then(function(c){b.componentFlattenedAccessPolicy=PR(c);b.componentAccessPolicyUnderEdit=Gg(b.componentFlattenedAccessPolicy)}).catch(function(c){b.errorHandler.errorHandler(null,c)}),this.accessPolicyApi.get("ISSUE_DEFAULTS",this.componentId).then(function(c){b.issueDefaultFlattenedAccessPolicy=
PR(c);b.issueDefaultAccessPolicyUnderEdit=Gg(b.issueDefaultFlattenedAccessPolicy)}).catch(function(c){b.errorHandler.errorHandler(null,c)}),this.loadComponent(),this.loadUserAccess(this.componentId)]).then(function(){})};
var qnd=function(a){a.rolesMap=NFb({componentAccessPolicy:a.componentAccessPolicyUnderEdit,issueAccessPolicy:a.issueDefaultAccessPolicyUnderEdit})},rnd=function(a,b){var c=a.issueDefaultFlattenedAccessPolicy;return c&&PFb(c,a.issueDefaultAccessPolicyUnderEdit)?a.accessPolicyApi.update("ISSUE_DEFAULTS",a.componentId,b):Promise.resolve(void 0)},snd=function(a){var b=OFb(a.componentAccessPolicyUnderEdit,a.componentFlattenedAccessPolicy),c=a.issueDefaultFlattenedAccessPolicy;a=!(!c||!PFb(c,a.issueDefaultAccessPolicyUnderEdit));
return b||a},tnd=function(a,b){return OFb(a.componentAccessPolicyUnderEdit,a.componentFlattenedAccessPolicy)?a.accessPolicyApi.get("COMPONENT",a.componentId).then(function(c){var d=PR(c);if(OFb(d,a.componentAccessPolicyUnderEdit)){if(OFb(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)};x$.prototype.loadUserAccess=function(a){var b=this;return JF(this.userAccess,"admin","components/"+String(a)).then(function(c){b.isAdmin=c;return b.isAdmin?Promise.resolve(!0):JF(b.userAccess,"writer","components/"+String(a))}).catch(function(c){b.errorHandler.errorHandler(null,c);return Promise.resolve(!1)})};
x$.prototype.doSaveAccessPolicy=function(){var a=this;try{var b=QR(this.componentAccessPolicyUnderEdit);var c=QR(this.issueDefaultAccessPolicyUnderEdit)}catch(d){return c="An unknown problem occurred",d instanceof Error&&(c=d.message),XF(this.butterBar,c),Promise.resolve()}if(snd(this))return this.isSaving=this.isUpdatingAccessPolicy=!0,WF(this.butterBar,"Saving access settings...",0),rnd(this,c).then(function(d){d&&(b.readers=[].concat(Jc(d.admins||[]),Jc(d.editors||[]),Jc(d.appenders||[]),Jc(d.readers||
[]),Jc(d.restrictedPlusReaders||[]),Jc(d.restrictedReaders||[])));return tnd(a,b).catch(function(e){var g;return Ld(function(h){if(1==h.nextAddress)return g=QR(a.issueDefaultFlattenedAccessPolicy),h.yield(rnd(a,g),2);throw e;})})}).then(function(){return pnd(a)}).then(function(){return a.initialize()}).then(function(){var d=a.rolesMap;qnd(a);var e=a.rolesMap,g={componentAdminOnly:d.componentAdminOnly,issueAdminOnly:d.issueAdminOnly,viewer:d.viewer,editExistingIssuesOnly:d.editExistingIssuesOnly,createIssuesOnly:d.createIssuesOnly,
commentOnly:d.commentOnly,viewRestricted:d.viewRestricted,viewRestrictedPlus:d.viewRestrictedPlus},h={componentAdminOnly:e.componentAdminOnly,issueAdminOnly:e.issueAdminOnly,viewer:e.viewer,editExistingIssuesOnly:e.editExistingIssuesOnly,createIssuesOnly:e.createIssuesOnly,commentOnly:e.commentOnly,viewRestricted:e.viewRestricted,viewRestrictedPlus:e.viewRestrictedPlus};d=QFb({componentAdmin:d.componentAdmin,issueAdmin:d.issueAdmin,editor:d.editor,contributor:d.contributor},{componentAdmin:e.componentAdmin,
issueAdmin:e.issueAdmin,editor:e.editor,contributor:e.contributor});g=QFb(g,h);switch(d&&g?2:d?0:g?1:3){case 0:a.analytics.trackEvent(Yl.ROLE_BASED_PERMISSIONS,"update","roles:standard");break;case 1:a.analytics.trackEvent(Yl.ROLE_BASED_PERMISSIONS,"update","roles:advanced");break;case 2:a.analytics.trackEvent(Yl.ROLE_BASED_PERMISSIONS,"update","roles:both");break;default:a.analytics.trackEvent(Yl.ROLE_BASED_PERMISSIONS,"update","roles:neither")}WF(a.butterBar,"Access settings saved",0)}).catch(function(d){XF(a.butterBar,
Ck(d),0)}).finally(function(){return Ld(function(d){if(1==d.nextAddress)return d.yield(a.loadUserAccess(a.componentId),2);a.isUpdatingAccessPolicy=!1;a.isSaving=a.isUpdatingAccessPolicy||a.isUpdatingAccessLimit;Qd(d)})});qnd(this);return pnd(this)};
var und=function(a,b){b=KFb(b);a.issueDefaultAccessPolicyUnderEdit=Object.assign({},a.issueDefaultAccessPolicyUnderEdit,b.issuesPermissions);a.componentAccessPolicyUnderEdit=Object.assign({},a.componentAccessPolicyUnderEdit,b.componentPermissions)},bGb=function(a,b){a.component&&a.originalComponent&&a.componentFlattenedAccessPolicy&&a.componentAccessPolicyUnderEdit&&a.issueDefaultFlattenedAccessPolicy&&a.issueDefaultAccessPolicyUnderEdit?(und(a,b),ind(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();WF(a.butterBar,"Update failed: Invalid changes to component permissions",0);return Promise.resolve()})):Promise.resolve()};
gg.Object.defineProperties(x$.prototype,{componentAccessPolicyUnderEdit:{configurable:!0,enumerable:!0,set:function(a){Fg(a,this.componentAccessPolicyUnderEditInternal)||(this.componentAccessPolicyUnderEditInternal=a,this.componentReaders=LFb({componentAccessPolicy:this.componentAccessPolicyUnderEdit,issueAccessPolicy:this.issueDefaultAccessPolicyUnderEdit}))},get:function(){return this.componentAccessPolicyUnderEditInternal}},issueDefaultAccessPolicyUnderEdit:{configurable:!0,enumerable:!0,set:function(a){Fg(a,
this.issueDefaultAccessPolicyUnderEditInternal)||(this.issueDefaultAccessPolicyUnderEditInternal=a,this.componentReaders=LFb({componentAccessPolicy:this.componentAccessPolicyUnderEdit,issueAccessPolicy:this.issueDefaultAccessPolicyUnderEdit}))},get:function(){return this.issueDefaultAccessPolicyUnderEditInternal}}});x$.\u0275fac=function(a){return new (a||x$)(w(nG),w(NR),w(ZF),w(VF),w(IF),w(mV),w(t$),w(AH))};x$.\u0275prov=nc({token:x$,factory:x$.\u0275fac});var y$=function(a,b,c){this.activeSession=a;this.documentationLinks=b;this.rolesEditor=c;this.AccessLevelStrings=Occ};y$.prototype.getRecentIssuesLink=function(){return vya(this.rolesEditor.component.componentId,{includeArchived:this.rolesEditor.component?this.rolesEditor.component.archived:!1})};y$.prototype.isParentPartner=function(){return!(!this.rolesEditor.parentComponent||!g9a(this.rolesEditor.parentComponent))};
y$.prototype.isParentPublic=function(){return!(!this.rolesEditor.parentComponent||!xn(this.rolesEditor.parentComponent))};y$.\u0275fac=function(a){return new (a||y$)(D(rp),D(NI),D(x$))};
y$.\u0275cmp=zc({type:y$,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&&(R(0,UFb,20,7,"div",0),H(1,"div",1)(2,"p"),S(3," Access to issues is granted per component using the settings below. All settings provide access to view the component. "),H(4,"a",2),S(5,"Learn more"),J()()());if(a&2){a:if(b.activeSession.isExternalSession())a=!1;else{if(b.rolesEditor.component)if(b.rolesEditor.component.parentComponentId){if(b.rolesEditor.parentComponent){a=wn(b.rolesEditor.parentComponent)||
wn(b.rolesEditor.component);break a}}else{a=!1;break a}a=void 0}G("ngIf",a);C(4);Pe("href","",Xl(b.documentationLinks),"#recommended-role-based-permissions-configurations",vd)}},dependencies:[Tu,Af,Cv,tv,zv],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}\n/*# sourceMappingURL=access_limit_settings.css.map */"]});var z$=function(a,b){this.documentationLinks=a;this.rolesEditor=b};z$.prototype.isAccessEditDisabled=function(){return this.rolesEditor.isSaving||!this.rolesEditor.isAdmin};z$.prototype.setImplicitAccess=function(a){this.rolesEditor.implicitAccess.setValue(a)};z$.\u0275fac=function(a){return new (a||z$)(D(NI),D(x$))};
z$.\u0275cmp=zc({type:z$,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),O("change",function(c){return b.setImplicitAccess(c.checked)}),J()(),H(3,"div",3)(4,"strong",4),S(5,"Expanded access"),J(),H(6,"div",5),S(7," When checked, assignees, verifiers, and collaborators can edit issues for this component, and CC'd users can add comments. "),H(8,"a",6),S(9,"Learn more"),J()()()());a&2&&(Ie("bv2-edit-resource-readonly",b.isAccessEditDisabled()),C(2),G("checked",
b.rolesEditor.implicitAccess.getValue())("disabled",b.isAccessEditDisabled()),C(6),Pe("href","",Xl(b.documentationLinks),"#expanded-access",vd))},dependencies:[VN],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}\n/*# sourceMappingURL=expanded_access_settings.css.map */"]});var VFb=function(){return{}},XFb=function(a,b){return{displayText:a,values:b}},WFb=function(a){return[a]},YFb=function(){return[]},A$=function(){this.rolesTableData=[];this.canEdit=!1;this.rolesMapUpdated=new tu;this.formIsValid=new tu;this.aclFormValidity=new Map};A$.prototype.getIconName=function(a,b){return a.grantedPermissions[b]?"done":"issue-status-wont-fix"};A$.prototype.updateRolesMap=function(a,b){this.rolesMapUpdated.emit({role:a,assignees:b})};A$.\u0275fac=function(a){return new (a||A$)};
A$.\u0275cmp=zc({type:A$,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),S(4,"Role Assignments"),J(),H(5,"th",0)(6,"h6"),S(7,"Admin Components"),J()(),H(8,"th",0)(9,"h6"),S(10,"Create Issues"),J()(),H(11,"th",0)(12,"h6"),S(13,"Admin Issues"),J()(),H(14,"th",0)(15,"h6"),S(16,"Edit Issues"),J()(),H(17,"th",0)(18,"h6"),S(19,"Comment Issues"),J()(),H(20,"th",0)(21,"h6"),S(22,"View Issues"),J()(),H(23,
"th",0)(24,"h6"),S(25,"View Restricted"),J()(),H(26,"th",0)(27,"h6"),S(28,"View Restricted+"),J()()()(),H(29,"tbody"),R(30,ZFb,26,29,"ng-container",1),J()());a&2&&(C(30),G("ngForOf",b.rolesTableData))},dependencies:[Su,yy,jz,C0,$M,XA],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}\n/*# sourceMappingURL=roles_view_table.css.map */"]});var vnd=function(a){this.documentationLinks=a};vnd.\u0275fac=function(a){return new (a||vnd)(D(NI))};
vnd.\u0275cmp=zc({type:vnd,selectors:[["use-standard-roles-banner"]],inputs:{rolesMap:"rolesMap"},decls:1,vars:1,consts:[["class","use-standard-roles-banner",4,"ngIf"],[1,"use-standard-roles-banner"],["aria-label","Learn more about roles","target","_blank",1,"keep-underline","keep-focus-ring",3,"href"]],template:function(a,b){a&1&&R(0,$Fb,5,1,"div",0);if(a&2){if(b.rolesMap){var c=b.rolesMap,d=c.issueAdmin,e=c.editor,g=c.contributor;a=c.componentAdminOnly;b=c.viewer;var h=c.editExistingIssuesOnly,
l=c.createIssuesOnly,q=c.commentOnly,v=c.viewRestricted,y=c.viewRestrictedPlus;c=[].concat(Jc(c.componentAdmin),Jc(d),Jc(e),Jc(g));a=[].concat(Jc(a),Jc(b),Jc(h),Jc(l),Jc(q),Jc(v),Jc(y));a=0===c.length&&0<a.length}else a=!1;G("ngIf",a)}},dependencies:[Tu],styles:[".use-standard-roles-banner[_ngcontent-%COMP%]{background-color:#feefc3;background-color:var(--warn-bg);width:100%;margin:-15px 0 15px;border-radius:4px}.use-standard-roles-banner[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin:4px;padding:8px}\n/*# sourceMappingURL=use_standard_roles_banner.css.map */"]});var wnd=function(){this.rolesMap=MFb;this.isSaving=!1;this.saveRolesMap=new tu;this.rolesUnderEdit=MFb;this.formIsValid=!0;this.displayedTableColumns="role componentAdmin createIssues issueAdmin issueEditor issueCommenter issueReader restrictedReader restrictedPlusReader".split(" ");this.standardRolesTableData=[];this.advancedRolesTableData=[]},xnd=function(a){var b=a.rolesUnderEdit,c;var d=[{ariaLabel:"Component Admin role",label:"Component Admins",users:null==b?void 0:b.componentAdmin,roleType:"componentAdmin",
grantedPermissions:{componentAdmin:!0,createIssues:!0,issueAdmin:!0,issueEditor:!0,issueCommenter:!0,issueReader:!0,restrictedReader:!1,restrictedPlusReader:!1},includeAliases:!1,includeViewAliases:!1,tooltip:"Component Admins are granted all the permissions to manage the component and all issues in this component. They can't view restricted content. Typical Component Admins are team leads."},{ariaLabel:"Issue Admin role",label:"Issue Admins",users:null==b?void 0:b.issueAdmin,roleType:"issueAdmin",
grantedPermissions:{componentAdmin:!1,createIssues:!0,issueAdmin:!0,issueEditor:!0,issueCommenter:!0,issueReader:!0,restrictedReader:!1,restrictedPlusReader:!1},includeAliases:!1,includeViewAliases:!1,tooltip:"Issue Admins are granted all permissions to manage issues, but can't edit component settings. They can't view restricted content. Typical Issue Admins are team members."},{ariaLabel:"Issue Editor role",label:"Issue Editors",users:null==b?void 0:b.editor,roleType:"editor",grantedPermissions:{componentAdmin:!1,
createIssues:!0,issueAdmin:!1,issueEditor:!0,issueCommenter:!0,issueReader:!0,restrictedReader:!1,restrictedPlusReader:!1},includeAliases:"EXTERNAL_PUBLIC"!==(null==(c=a.component.accessLimit)?void 0:c.accessLevel),includeViewAliases:!1,tooltip:"Issue Editors are granted all issue-related permissions except for admin permissions such as delete an issue or comment, or change restrictions. They can't view restricted content. Typical Issue Editors are collaborating team members."},{ariaLabel:"Issue Contributor role",
label:"Issue Contributors",users:null==b?void 0:b.contributor,roleType:"contributor",grantedPermissions:{componentAdmin:!1,createIssues:!0,issueAdmin:!1,issueEditor:!1,issueCommenter:!0,issueReader:!0,restrictedReader:!1,restrictedPlusReader:!1},includeAliases:!0,includeViewAliases:!1,tooltip:"Issue Contributors can read, comment, and create issues, but they can't edit issues. They can't view restricted content. Typical Issue Contributors are external partners or public users."}];a.standardRolesTableData=
d;b=a.rolesUnderEdit;var e,g;d=[{ariaLabel:"Component Admin Only role",label:"Component Admins Only",users:null==b?void 0:b.componentAdminOnly,roleType:"componentAdminOnly",grantedPermissions:{componentAdmin:!0,createIssues:!0,issueAdmin:!1,issueEditor:!1,issueCommenter:!1,issueReader:!1,restrictedReader:!1,restrictedPlusReader:!1},includeAliases:!1,includeViewAliases:!1,tooltip:"Users with the Component Admin Only role can edit the component settings and create issues, but otherwise have no issue-related permissions.",
chips:{displayText:"Inherited Admins",values:null!=(g=b.inheritedComponentAdmin)?g:[]}},{ariaLabel:"Issue Creators Only role",label:"Issue Creators Only",users:null==b?void 0:b.createIssuesOnly,roleType:"createIssuesOnly",grantedPermissions:{componentAdmin:!1,createIssues:!0,issueAdmin:!1,issueEditor:!1,issueCommenter:!1,issueReader:!1,restrictedReader:!1,restrictedPlusReader:!1},includeAliases:!0,includeViewAliases:!1,tooltip:"Users with the issue Issue Creators Only role can create issues, but have no other permissions. For example, they are not able to view issues they have created."},
{ariaLabel:"Issue Admin Only role",label:"Issue Admins Only",users:null==b?void 0:b.issueAdminOnly,roleType:"issueAdminOnly",grantedPermissions:{componentAdmin:!1,createIssues:!1,issueAdmin:!0,issueEditor:!0,issueCommenter:!0,issueReader:!0,restrictedReader:!1,restrictedPlusReader:!1},includeAliases:!1,includeViewAliases:!1,tooltip:"Users with the Issue Admin Only role have all issue permissions but cannot create new issues."},{ariaLabel:"Issue Editors (existing issues only) role",label:"Issue Editors (existing issues only)",
users:null==b?void 0:b.editExistingIssuesOnly,roleType:"editExistingIssuesOnly",grantedPermissions:{componentAdmin:!1,createIssues:!1,issueAdmin:!1,issueEditor:!0,issueCommenter:!0,issueReader:!0,restrictedReader:!1,restrictedPlusReader:!1},includeAliases:"EXTERNAL_PUBLIC"!==(null==(e=a.component.accessLimit)?void 0:e.accessLevel),includeViewAliases:!1,tooltip:"Issue Editors (existing issues only) have the issue editor's permission on existing issues, but they can't create new issues in this component."},
{ariaLabel:"Issue Commenter Only role",label:"Issue Commenter Only",users:null==b?void 0:b.commentOnly,roleType:"commentOnly",grantedPermissions:{componentAdmin:!1,createIssues:!1,issueAdmin:!1,issueEditor:!1,issueCommenter:!0,issueReader:!0,restrictedReader:!1,restrictedPlusReader:!1},includeAliases:!0,includeViewAliases:!1,tooltip:"Users with the Issue Commenter Only role may view and comment on issues on this component"},{ariaLabel:"Restricted Plus Content Viewer role",label:"Restricted+ Content Viewer",
users:null==b?void 0:b.viewRestrictedPlus,roleType:"viewRestrictedPlus",grantedPermissions:{componentAdmin:!1,createIssues:!1,issueAdmin:!1,issueEditor:!1,issueCommenter:!1,issueReader:!0,restrictedReader:!0,restrictedPlusReader:!0},includeAliases:!1,includeViewAliases:!1,tooltip:"Only Restricted+ Content Viewers can view Restricted+ content on an issue.",customValidators:a.rolesEditor.restrictedPlusReadersValidators},{ariaLabel:"Restricted Content Viewer role",label:"Restricted Content Viewer",users:null==
b?void 0:b.viewRestricted,roleType:"viewRestricted",grantedPermissions:{componentAdmin:!1,createIssues:!1,issueAdmin:!1,issueEditor:!1,issueCommenter:!1,issueReader:!0,restrictedReader:!0,restrictedPlusReader:!1},includeAliases:!1,includeViewAliases:!1,tooltip:"Only Restricted Content Viewers can view restricted content on an issue."},{ariaLabel:"Issue Viewer role",label:"Issue Viewers",users:null==b?void 0:b.viewer,roleType:"viewer",grantedPermissions:{componentAdmin:!1,createIssues:!1,issueAdmin:!1,
issueEditor:!1,issueCommenter:!1,issueReader:!0,restrictedReader:!1,restrictedPlusReader:!1},includeAliases:!0,includeViewAliases:!0,tooltip:"Issue Viewers can only view issues in this component, but can't comment or edit issues."}];a.advancedRolesTableData=d},ynd=function(a){return a.advancedRolesTableData.some(function(b){return 0<b.users.length})},znd=function(a){a.rolesUnderEdit=Object.assign({},a.rolesMap)};f=wnd.prototype;f.ngOnInit=function(){znd(this);xnd(this)};
f.ngOnChanges=function(a){a.rolesMap&&znd(this);xnd(this)};f.updateRolesMap=function(a){var b={};this.rolesUnderEdit=Object.assign({},this.rolesUnderEdit,(b[a.role]=a.assignees,b))};f.getComponentAccessLevel=function(){if(this.component.accessLimit)return this.component.accessLimit.accessLevel};f.hasUnsavedAccessLimitChanges=function(){return this.rolesEditor.hasUnsavedAccessLimitChanges()};f.canEdit=function(){return!this.isSaving&&this.rolesEditor.isAdmin};
f.canSave=function(){return this.canEdit()&&(!Fg(this.rolesMap,this.rolesUnderEdit)||this.rolesEditor.implicitAccess.isUpdated()||this.hasUnsavedAccessLimitChanges())&&this.formIsValid};wnd.\u0275fac=function(a){return new (a||wnd)};
wnd.\u0275cmp=zc({type:wnd,selectors:[["roles-view"]],inputs:{rolesMap:"rolesMap",isSaving:"isSaving",component:"component",rolesEditor:"rolesEditor"},outputs:{saveRolesMap:"saveRolesMap"},features:[Mc],decls:13,vars:12,consts:[[3,"rolesMap"],[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&&(K(0,"access-limit-settings")(1,"use-standard-roles-banner",0),H(2,"roles-view-table",1),O("rolesMapUpdated",function(c){return b.updateRolesMap(c)})("formIsValid",function(c){return b.formIsValid=c}),J(),H(3,"mat-expansion-panel",2)(4,"mat-expansion-panel-header")(5,"mat-panel-title"),S(6," Advanced Roles "),J()(),H(7,"roles-view-table",1),O("rolesMapUpdated",function(c){return b.updateRolesMap(c)})("formIsValid",
function(c){return b.formIsValid=c}),J()(),K(8,"expanded-access-settings"),H(9,"button",3),O("click",function(){b.canSave()&&b.saveRolesMap.emit(b.rolesUnderEdit)}),S(10,"Update"),J(),H(11,"button",4),O("click",function(){znd(b);xnd(b)}),S(12," Revert Changes\n"),J());a&2&&(C(1),G("rolesMap",b.rolesMap),C(1),G("rolesTableData",b.standardRolesTableData)("displayedTableColumns",b.displayedTableColumns)("canEdit",b.canEdit())("accessLevel",b.getComponentAccessLevel()),C(1),G("expanded",ynd(b)),C(4),
G("rolesTableData",b.advancedRolesTableData)("displayedTableColumns",b.displayedTableColumns)("canEdit",b.canEdit())("accessLevel",b.getComponentAccessLevel()),C(2),G("disabled",!b.canSave()),C(2),G("disabled",!!Fg(b.rolesMap,b.rolesUnderEdit)))},dependencies:[yy,W8,X8,Y8,A$,y$,z$,vnd],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}\n/*# sourceMappingURL=roles_view.css.map */"]});var B$=function(a,b){kE.call(this);this.rolesEditor=a;this.route=b};V(B$,kE);B$.\u0275dir=kE.\u0275dir;B$.prototype.ngOnInit=function(){var a=this;this.route.paramMap.pipe(E(function(b){return b.get("componentId")}),Zd(eh),pe(function(b){return a.rolesEditor.initialize(Number(b))}),qe(this.destroyed$)).subscribe(function(){qnd(a.rolesEditor)})};B$.prototype.isSaving=function(){return this.rolesEditor.isSaving};B$.\u0275fac=function(a){return new (a||B$)(D(x$),D(Sk))};
B$.\u0275cmp=zc({type:B$,selectors:[["role-based-permissions"]],features:[Xe([x$,t$]),xe],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&&(R(0,aGb,2,0,"div",0),R(1,cGb,7,8,"div",1));a&2&&(G("ngIf",!(null==b.rolesEditor.component?
0:b.rolesEditor.component.componentId)),C(1),G("ngIf",null==b.rolesEditor.component?null:b.rolesEditor.component.componentId))},dependencies:[Tu,NM,MM,SL,u$,wnd],styles:["\n/*# sourceMappingURL=role_based_permissions.css.map */"]});var And=new Hc("GMAT_LEGACY_CHECKBOX_OPTION");var Bnd=new Map([["primary","mat-primary"],["accent","mat-accent"],["warn","mat-warn"]]),C$=function(a,b){this.elementRef=a;this.gmatCheckboxOption=b;this.color="primary";this.hasGmatAttribute=a.nativeElement.hasAttribute("gmat-checkbox")};C$.prototype.ngOnInit=function(){this.isEnabled()&&(this.elementRef.nativeElement.classList.remove.apply(this.elementRef.nativeElement.classList,Jc(Bnd.values())),this.elementRef.nativeElement.classList.add(Bnd.get(this.color)))};
C$.prototype.isEnabled=function(){return this.gmatCheckboxOption?this.hasGmatAttribute||this.gmatCheckboxOption.enabled:this.hasGmatAttribute};C$.\u0275fac=function(a){return new (a||C$)(D(fd),D(And,8))};C$.\u0275dir=Cc({type:C$,selectors:[["mat-checkbox","gmat-checkbox",""],["mat-checkbox"]],hostVars:2,hostBindings:function(a,b){a&2&&Ie("gmat-checkbox",b.isEnabled())},inputs:{color:"color"}});var Cnd=["archiveDialog"],Dnd=["archiveButton"],End=["metadataForm"],Fnd={BASIC:"basic",CUSTOM_FIELDS:"customFields",FIELD_ORDERING:"fieldOrdering",TEMPLATES:"templates",ACCESS:"access"},D$=function(a,b,c,d,e,g,h,l,q,v,y,B,I,N,Q,Z,Y,ka,la,Da,za,Oa,Va,Ya,Xb){kE.call(this);var Bb=this;this.route=a;this.cdr=b;this.routeParams=c;this.bLocation=d;this.templatesApi=e;this.paths=g;this.appHistory=h;this.butterBar=l;this.pageTitle=q;this.activeSession=v;this.documentationLinks=y;this.matDialogService=B;this.analytics=
I;this.checkBeforeExit=N;this.userAccess=Q;this.componentActions=Z;this.errorHandler=Y;this.componentUpdates=ka;this.componentUpdatesApi=la;this.confirmationDialogService=Da;this.appEvents=za;this.teamsService=Oa;this.sloApi=Va;this.sloService=Ya;this.currentTracker=Xb;this.componentId$=new F.ReplaySubject(1);this.Tab=Fnd;this.componentListRoute=yya;this.showSloInheritancePath=!1;this.component$=new F.BehaviorSubject(null);this.componentTrackerId$=this.component$.pipe(E(function(db){return null==
db?void 0:db.trackerId}));this.showTrackerRedirect$=(0,F.combineLatest)([this.currentTracker.trackerId$,this.componentTrackerId$]).pipe(E(function(db){var wa=k(db);db=wa.next().value;wa=wa.next().value;return Bb.shouldShowTrackerRedirect(db,dh("")(wa))}));this.parentComponent$=new F.BehaviorSubject(null);this.componentTeam$=new F.BehaviorSubject(null);this.team$=this.componentTeam$.pipe(pe(function(db){return(db=null==db?void 0:db.id)&&"0"!==db?ZH(Bb.teamsService,db):(0,F.of)(null)}));this.parentComponentTeam$=
this.parentComponent$.pipe(pe(function(db){var wa;return(db=null==db?void 0:null==(wa=db.team)?void 0:wa.id)&&"0"!==db?ZH(Bb.teamsService,db):(0,F.of)(null)}));this.inheritedSloMetadata$=(0,F.combineLatest)([this.component$,this.parentComponent$,this.team$]).pipe(E(function(db){var wa=k(db);db=wa.next().value;var Na=wa.next().value;wa=wa.next().value;if((null==db?0:db.team)&&!db.team.inherit&&"0"!==db.team.id){var Qa,nb=null!=(Qa=null==wa?void 0:wa.slo)?Qa:null;if(nb)return{containerType:"TEAM",content:nb}}else if(Qa=
null!=(nb=null==Na?void 0:Na.slo)?nb:null)return{containerType:"COMPONENT",content:Qa};return null}));this.inheritedSlo$=this.inheritedSloMetadata$.pipe(fe(),pe(function(db){var wa="0";db&&("TEAM"===db.containerType?wa=db.content.sloId:"COMPONENT"===db.containerType&&(wa=db.content.id));return"0"===wa?(0,F.of)({id:"0"}):Bb.sloService.get(wa).then(function(Na){return{id:wa,slo:Na}})}));this.sloPolicySource$=this.inheritedSloMetadata$.pipe(fe(),pe(function(db){if(!db)return(0,F.of)({name:"None",type:"none"});
db=wHb(db);var wa=db.sourceTeamId,Na=db.sourceComponentId;return wa&&"0"!==wa?Bb.teamsService.getTeam(wa).pipe(E(function(Qa){var nb;return{name:null!=(nb=null==Qa?void 0:Qa.name)?nb:wa,type:"team",link:{path:"/teams/"+wa+"/edit",fragment:"slo"}}})):Na?Bb.componentActions.get(Number(Na)).then(function(Qa){var nb;return{name:null!=(nb=Qa.name)?nb:Na,type:"component",link:{path:"/components/"+Na+"/edit"}}}):(0,F.of)(null)}));this.policySourcePath$=(0,F.combineLatest)([this.component$,this.team$,this.parentComponentTeam$,
this.inheritedSloMetadata$]).pipe(E(function(db){var wa=k(db);db=wa.next().value;var Na=wa.next().value,Qa=wa.next().value;wa=wa.next().value;if(!db||!db.componentPathInfo||!wa)return null;var nb=wHb(wa);wa=nb.sourceComponentId;Na=yHb(Na,nb.sourceTeamId,db.team,Qa);return null===wa?{componentPath:null,teamPath:Na}:{componentPath:xHb(db,wa),teamPath:Na}}));this.enableSloLockingCheck=iE(this.activeSession,"enableSloLockingCheck");this.enableRecommendationSettingsPage=iE(this.activeSession,"enableRecommendationSettingsPage");
this.component=null;this.effectiveCustomFields=[];this.parentComponent=null;this.descendants=[];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=iE(this.activeSession,"enableSloLockingUi");this.enableTeamLeadSloEditingUi=iE(this.activeSession,"enableTeamLeadSloEditingUi");this.sloLocked$=this.componentId$.pipe(Zd(Boolean),pe(function(db){return Bb.sloApi.executor.get({url:"action/components/"+db+"/slo_edit_policy",responseConstructor:OT}).pipe(E(Ita))}));this.getSloManagementLink=zya};V(D$,kE);D$.\u0275dir=kE.\u0275dir;
D$.prototype.shouldShowTrackerRedirect=function(a,b){return""!==a&&a!==b};D$.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)};
D$.prototype.ngOnInit=function(){var a=this;this.componentId=Ig(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(tP(this.checkBeforeExit,function(){return a.hasUnsavedChanges()},!1));this.loadUserAccess(this.componentId);this.enableSloLockingCheck&&Gnd(this);this.componentHistoryUiEnabled=this.activeSession.isInternalSession();
Hnd(this);this.subscriptions.add(this.appEvents.customFieldsModified.subscribe(function(b){a.effectiveCustomFields=Ind(b)}));this.hasInitialized=!0;this.route.fragment.pipe(qe(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 Hnd=function(a){a=[Jnd(a,a.componentId),a.loadComponent(a.componentId),a.loadTemplates(a.componentId)];return Promise.all(a).then(function(){})};D$.prototype.isAdmin=function(){return this.isAdminInternal};var LGb=function(a){return a.enableSloLockingCheck?a.isComponentSloEditor:a.isAdmin()};f=D$.prototype;f.isSaving=function(){return this.isUpdating||this.isArchiving};f.isArchived=function(){return this.component?this.component.archived:!1};f.isPublic=function(){return xn(this.component)};
f.isExternal=function(){return wn(this.component)};f.isParentPublic=function(){return!(!this.parentComponent||!xn(this.parentComponent))};f.isParentPartner=function(){return!(!this.parentComponent||!g9a(this.parentComponent))};var OGb=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};
D$.prototype.hasUnsavedMetadataChanges=function(){return!(Fg(this.component,this.originalComponent)&&Fg(this.parentComponent,this.originalParentComponent))};D$.prototype.hasUnsavedChanges=function(){return this.hasUnsavedMetadataChanges()};
var Knd=function(a){var b=zk();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:yl("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},Lnd=function(a){var b=zk();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:Bl(yl('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.'),Al("BR",{}),Al("BR",{}),yl('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.'),
Al("BR",{}),Al("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};D$.prototype.saveMetadata=function(){var a=this;return Mnd(this)?Lnd(this).then(function(b){return b?Knd(a):Promise.resolve(!1)}).then(function(b){b&&a.doSaveMetadata().then(function(){return Hnd(a)})}):Promise.resolve()};
D$.prototype.doSaveMetadata=function(){var a=this;this.isUpdating=!0;WF(this.butterBar,"Saving changes ...",0);return Nnd(this).then(function(){a.parentComponent&&(a.component.parentComponentId=a.parentComponent.componentId)}).then(function(){return Ond(a)}).then(function(){return Pnd(a)}).then(function(){return Qnd(a)}).then(function(){WF(a.butterBar,"Save complete.")}).catch(function(b){a.errorHandler.errorHandler(null,b)}).finally(function(){a.componentUpdatesApi.invalidateCache(a.componentId);
a.isUpdating=!1})};
var Nnd=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)},Ond=function(a){return a.component.slo&&!Fg(a.originalComponent.slo,a.component.slo)?a.componentActions.updateSlo(a.component.componentId,a.component.slo).then(function(){a.analytics.trackEvent(Yl.MANAGE_COMPONENT,
"updateSlo");return!0}).catch(function(b){a.component.slo=a.originalComponent.slo;return Promise.reject(b)}):Promise.resolve(!1)},Pnd=function(a){return a.component.team&&!Fg(a.originalComponent.team,a.component.team)?a.componentActions.updateTeam(a.component.componentId,a.component.team).then(function(){a.analytics.trackEvent(Yl.MANAGE_COMPONENT,"updateTeam");return!0}).catch(function(b){a.component.team=a.originalComponent.team;return Promise.reject(b)}):Promise.resolve(!1)},Qnd=function(a){return Rnd(a)?
a.componentActions.update(a.component).then(function(){a.analytics.trackEvent(Yl.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)},Rnd=function(a){var b=Gg(a.component);b.team=a.originalComponent.team;b.slo=a.originalComponent.slo;b.parentComponentId=a.originalComponent.parentComponentId;return!Fg(a.originalComponent,b)},Mnd=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};D$.prototype.getComponentAccessLevel=function(){if(this.component&&this.component.accessLimit)return this.component.accessLimit.accessLevel};var Jnd=function(a,b){return a.componentActions.getChildren(b).then(function(c){a.childComponents=c}).catch(function(c){a.errorHandler.errorHandler(null,c)})};
D$.prototype.revertMetadataChanges=function(){this.updateComponentAndOriginalComponent(this.originalComponent);this.error="";this.parentComponent=Gg(this.originalParentComponent);this.parentComponent$.next(this.parentComponent);this.commentEditsEnabled="ENABLED"==this.component.commentEditState};
var hHb=function(a){a.componentActions.getUncached(a.componentId).then(function(b){a.effectiveCustomFields=Ind(b.componentPathInfo.allCustomField)})},Ind=function(a){return a?a.filter(function(b){return b.enabledOnIssues}):[]};
D$.prototype.loadComponent=function(a){var b=this;this.isLoading=!0;return this.componentActions.getUncached(a,!0).then(function(c){b.updateComponentAndOriginalComponent(c);b.currentName=c.name;0<c.parentComponentId&&b.loadParentComponent(c.parentComponentId);b.effectiveCustomFields=Ind(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()})};D$.prototype.loadUserAccess=function(a){var b=this,c=Ek("COMPONENT",a);JF(this.userAccess,"admin",c).then(function(d){b.isAdminInternal=d;return b.isAdminInternal?!0:JF(b.userAccess,"writer",c)}).then(function(d){b.isEditorInternal=d}).catch(function(d){b.errorHandler.errorHandler(null,d)})};
var Gnd=function(a){JF(a.userAccess,"writer",Ek("COMPONENT_SLO",a.componentId)).then(function(b){a.isComponentSloEditor=b})},oGb=function(a){var b,c=dp(a.currentTracker,null==(b=a.parentComponent)?void 0:b.componentPathInfo);return a.currentTracker.inTracker&&(!c||!c.componentPathId||0===c.componentPathId.length)},ZGb=function(a){return a.isSaving()||!a.isEditorInternal};f=D$.prototype;f.isAccessEditDisabled=function(){return this.isSaving()||!this.isAdmin()};
f.loadParentComponent=function(a){var b=this;this.componentActions.get(a).then(function(c){b.parentComponent=c;b.parentComponent$.next(b.parentComponent);b.originalParentComponent=Gg(c);return c}).catch(function(c){b.errorHandler.errorHandler(null,c)})};f.getRecentIssuesLink=function(){var a=this.isArchived();return vya(this.componentId,{includeArchived:a})};f.componentPermissions=function(a){return{path:"/components/"+a,fragment:"access"}};
f.createIssue=function(){this.trackClick("createIssue");var a={};this.bLocation.url(this.paths.createIssue((a.component=String(this.component.componentId),a)))};f.createChild=function(){this.bLocation.url(this.paths.createComponent({parentId:this.component.componentId}))};f.trackClick=function(a){this.analytics.trackEvent("editComponent","click",a)};
var dGb=function(a){a.butterBar.dismiss();a.retentionIsValid?a.hasUnsavedChanges()?XF(a.butterBar,"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,WF(a.butterBar,"Looking up subcomponents...",0),a.componentActions.getDescendants(a.component.componentId).then(function(b){a.butterBar.dismiss();a.descendants=b;Gy(a.matDialogService.open(a.confirmArchiveDialog,{restoreFocus:!1})).pipe(qe(a.destroyed$)).subscribe(function(){a.archiveButton.focus()})}).catch(function(b){a.errorHandler.errorHandler(null,
b)})):XF(a.butterBar,"Required retention settings are missing or invalid. Please set retention settings before "+a.archiveAction.slice(0,-1)+"ing.")};
D$.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 gCa(a);case "UNSPECIFIED_RETENTION":return"Retention period unspecified";default:og(b,"unexpected value "+b+"!")}};
D$.prototype.archive=function(){var a=this;this.isArchiving=!0;WF(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);WF(a.butterBar,a.archiveAction+'d component "'+a.component.name+'"',4E3);a.analytics.trackEvent("component","archive");b.userHasEditAccess=a.component.userHasEditAccess;a.updateComponentAndOriginalComponent(b);a.archiveAction=
b.archived?"Unarchive":"Archive";a.isArchiving=!1}).catch(function(b){a.component.archived=!a.component.archived;WF(a.butterBar,"Could not "+a.archiveAction.toLowerCase()+" component: "+(Bk(b)?Ck(b):b));a.isArchiving=!1})};
D$.prototype.loadTemplates=function(a){var b=this;return this.templatesApi.query(a).then(function(c){b.templates=c.map(function(d){var e=d.name;e||(e=d.default?"(default template)":"(unnamed template)");var g={};g=b.paths.getBaseUrl()+"/"+b.paths.createIssue((g.component=a?String(a):void 0,g.template=d.templateId?String(d.templateId):void 0,g));return{name:e,description:d.description||"",url:g}})}).catch(function(c){b.errorHandler.errorHandler(null,c)})};
D$.prototype.setCommentEditState=function(a){this.commentEditsEnabled=a;this.component.commentEditState=this.commentEditsEnabled?"ENABLED":"DISABLED"};
var Snd=function(a,b){return a.componentHistoryUiEnabled?a.componentUpdatesApi.get(b).then(function(c){a.updateDiffs=c.updates.map(function(d){var e=a.componentUpdates,g=i5a(d.addMask.paths),h=i5a(d.removeMask.paths),l={author:d.author||null,timestamp:d.timestamp||null,diffs:[]},q=d.add;d=d.remove;for(var v=k(new Set([].concat(Jc(g),Jc(h)))),y=v.next();!y.done;y=v.next()){var B=y.value;if(y=cTc.get(B))if("name"===B){var I=pn(h,B,d.name);B=pn(g,B,q.name);l.diffs.push(qn(y,I,B))}else if("description"===
B)I=pn(h,B,d.description),B=pn(g,B,q.description),l.diffs.push(qn(y,I,B));else if("parentComponentId"===B)I=pn(h,B,String(d.parentComponentId)),B=pn(g,B,String(q.parentComponentId)),l.diffs.push(qn(y,I,B));else if("isArchived"===B)I=pn(h,B,String(d.archived)),B=pn(g,B,String(q.archived)),l.diffs.push(qn(y,I,B));else if("commentEditState"===B){var N=dTc.get(d.commentEditState);I=dTc.get(q.commentEditState);N&&I&&(N=pn(h,B,N),B=pn(g,B,I),l.diffs.push(qn(y,N,B)))}else"defaultTemplateId"===B?(I=pn(h,
B,String(d.defaultTemplateId)),B=pn(g,B,String(q.defaultTemplateId)),l.diffs.push(qn(y,I,B))):"slo"===B?e.sessionIsInternal&&(I=pn(h,B,o5a(d.slo)),B=pn(g,B,o5a(q.slo)),l.diffs.push(qn(y,I,B))):"team"===B?e.sessionIsInternal&&(I=pn(h,B,p5a(d.team)),B=pn(g,B,p5a(q.team)),l.diffs.push(qn(y,I,B))):"retentionSettings"===B?(I=pn(h,B,m5a(d.retentionSettings)),B=pn(g,B,m5a(q.retentionSettings)),l.diffs.push(qn(y,I,B))):e.$log.error("Unsupported diff field "+B)}return l}).filter(function(d){return d.diffs.length})}).catch(function(c){a.errorHandler.errorHandler(null,
c)}):Promise.reject()};D$.prototype.showUpdateHistoryModal=function(){var a=this;Snd(this,this.componentId).then(function(){a.matDialogService.open(R7,{width:"600px",data:{updateDiffs:a.updateDiffs}});a.analytics.trackEvent(Yl.UPDATE_HISTORY_MODAL,"open");a.analytics.trackEvent(Yl.MANAGE_COMPONENT,"viewHistory")})};D$.prototype.onSloChange=function(a){this.component.slo.id=a?a.sloId:"0";a&&Tnd(this)};
var JGb=function(a){var b=!!a.parentComponent,c="0"!==a.component.team.id;return LGb(a)&&(c||b)},QGb=function(a){var b=!a.component.team||"0"===a.component.team.id,c=!a.parentComponent;return LGb(a)&&(!a.component.slo.inherit||c&&b)},sGb=function(a){var b,c,d,e;Ld(function(g){b=0===a.component.parentComponentId;c="0"!==a.component.team.id;return(0===a.component.parentComponentId?"0"!==a.component.team.id:!a.component.team.inherit&&"0"!==a.component.team.id)||b&&c?g.yield((0,F.firstValueFrom)(a.team$.pipe(E(function(h){a.component.slo.id=
h.slo.sloId;Tnd(a)}))),0):(d=Und(a),e=d.id,a.component.slo.id=e,Tnd(a),g.jumpTo(0))})},PGb=function(a){var b=a.parentComponent||a.isParentComponentRequired;return"0"!==a.component.team.id||b?!0:!1},Und=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}},bHb=function(a,b){WF(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(Yl.MANAGE_COMPONENT,"updateEffort");var d,e;if(null==(d=a.component)?0:null==(e=d.effortSpec)?0:e.name){var g;WF(a.butterBar,(null==(g=a.component.effortSpec)?void 0:g.name)+" saved")}else WF(a.butterBar,"Estimated Effort saved")}).catch(function(c){a.errorHandler.errorHandler(null,c)}))};
D$.prototype.updateComponentAndOriginalComponent=function(a){this.component=Gg(a);this.component$.next(this.component);this.originalComponent=Gg(a);var b;this.componentTeam$.next(null!=(b=this.component.team)?b:null);Tnd(this)};D$.prototype.back=function(){W1(this.appHistory)};var Tnd=function(a){var b;(null==(b=a.component)?0:b.slo)?a.isEnableSloChecked="0"!==a.component.slo.id:a.isEnableSloChecked=!1};
D$.\u0275fac=function(a){return new (a||D$)(D(Sk),D(wH,2),D(qJ),D(NG),D(Zjc),D(OG),D(V1),D(VF),D(SW),D(rp),D(NI),D(Ly),D(AH),D(sP),D(IF),D(mV),D(ZF),D(fZ),D(p$),D(OI),D(cG),D(YH),D(ST),D(TT),D(LK))};
D$.\u0275cmp=zc({type:D$,selectors:[["manage-component-page"]],viewQuery:function(a,b){a&1&&(jf(Cnd,5),jf(Dnd,5),jf(End,5),jf(MM,5,fd));if(a&2){var c;hf(c=lf())&&(b.confirmArchiveDialog=c.first);hf(c=lf())&&(b.archiveButton=c.first);hf(c=lf())&&(b.metadataForm=c.first);hf(c=lf())&&(b.tabs=c)}},features:[Xe([wH]),xe],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",4,"ngIf"],[1,"edit-button-row"],["class","edit-button-group",4,"ngIf"],[1,"edit-button-group"],["format","hairline","title","View history for 'Basic Information'",3,"onAction",4,"ngIf"],[1,"edit-field","bv2-edit-resource-readonly"],[3,"children","onVisit",4,"ngIf"],["tabindex","0","aria-label","Parent component",1,"edit-field"],
["aria-describedby","edit-parent-help-bubble","for","component-parent-id",1,"help-label"],["id","edit-parent-help-bubble",1,"help-bubble","jfk-bubble"],["id","component-parent-id",3,"selectedComponent","placeholder","isRequired","selectedComponentChange"],["target","_blank","aria-label","Learn more about editable comments",1,"keep-underline","keep-focus-ring",3,"href"],["role","region","aria-label","Retention Settings",1,"edit-field"],["for","retention-settings",1,"required"],[1,"edit-field-help"],
["target","_blank","aria-label","Learn more about choosing a period of time to retain the data stored in this component.",1,"keep-underline","keep-focus-ring",3,"href"],["id","retention-settings"],[3,"issueRetentionDisabled","isExternal","initialModel","modelChange","validChange"],["role","region","tabindex","0","aria-label","Team Configuration",1,"edit-field"],["for","team-picker"],["id","team-picker",4,"ngIf"],["id","team-picker"],[3,"isAdmin","isTopLevel","parentModel","useInternalLink","anchorTarget",
"model","modelChange"],["role","region","tabindex","0","aria-label","SLO Configuration",1,"edit-field"],["aria-describedby","edit-slo-help-bubble",1,"help-label"],["id","edit-slo-help-bubble",1,"help-bubble","jfk-bubble"],[1,"metadata","muted"],["class","slo-policy-link",4,"ngIf"],["class","slo-policy-source-link",4,"ngIf"],["class","slo-admins-link",4,"ngIf"],[1,"lock-state"],["class","edit-field less-margin",4,"ngIf"],[1,"slo-policy-link"],[3,"routerLinkObj",4,"ngIf","ngIfElse"],["noInheritedSlo",
""],[3,"routerLinkObj"],[1,"slo-policy-source-link"],["class","keep-focus-ring slo-inheritance-link",3,"routerLinkObj",4,"ngIf","ngIfElse"],["noPolicySource",""],["mat-stroked-button","","type","button","aria-label","Display the full SLO inheritance path below",1,"gmat-button","slo-inheritance-path","small",3,"click"],[1,"keep-focus-ring","slo-inheritance-link",3,"routerLinkObj"],["class","slo-breadcrumbs",4,"ngIf"],[1,"slo-breadcrumbs"],[3,"componentPath","teamPath"],[1,"slo-admins-link"],["target",
"_blank",1,"keep-focus-ring",3,"routerLinkObj"],["unlocked",""],["svgIcon","lock-outline"],["svgIcon","lock-open"],[1,"edit-field","less-margin"],["gmat-checkbox","",1,"slo-override",3,"checked","disabled","change"],["class","edit-field component-slo-justification-text",4,"ngIf"],["name","slo-enable","labelPosition","before",1,"slo-enable",3,"ngModel","disabled","ngModelChange","change"],[1,"edit-field","component-slo-id-select"],["for","component-slo-id"],["id","component-slo-id","aria-describedby",
"edit-slo-help-bubble","tabindex","-1",1,"bv2-slo-picker","bv2-picker",3,"bv2Disabled","boundId","bv2Placeholder","onSloSelect"],["mat-icon-button","","class","gmat-button small","aria-label","Go to SLO management page","matTooltip","Go to SLO management page.",3,"routerLinkObj","target",4,"ngIf"],[1,"edit-field","component-slo-justification-text"],["for","component-slo-justification","id","component-settings-slo-justification-label",1,"required"],["svgIcon","help-outline","tabindex","0","aria-hidden",
"false","matTooltip","Justification is required to override the org SLO.","aria-label","Justification is required to override the org SLO.",1,"slo-info","icon-s","valign-middle"],["name","comment","aria-labelledby","component-settings-slo-justification-label","required","",3,"ngModel","disabled","ngModelChange"],["mat-icon-button","","aria-label","Go to SLO management page","matTooltip","Go to SLO management page.",1,"gmat-button","small",3,"routerLinkObj","target"],["svgIcon","pop-out",1,"icon-s"],
[3,"componentId"],["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&&(R(0,uHb,12,3,"ng-container",0),T(1,"async"),R(2,vHb,2,1,"ng-template",null,1,of));if(a&2){var c=Se(3);G("ngIf",!U(1,2,b.showTrackerRedirect$))("ngIfElse",
c)}},dependencies:[qP,Su,Tu,Yu,yy,zy,jz,HO,uZ,kZ,X6,Yhd,h7,c0,K0,m7,Av,Af,tv,uv,Mv,zv,xv,C$,SM,$M,VN,My,Ny,Oy,Py,xx,eU,NM,MM,XA,fnd,B1,B$,sN,end,z1,SL,sV,OK,J9,Zu,av],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 VHb=function(a){return[a]},WHb=function(){return[]},eIb=function(a){return{value:a}},Vnd={BASIC:"basic",SLO:"slo",MAPPINGS:"componentMapping"},E$=function(a,b,c,d,e,g,h,l,q,v,y,B,I,N){kE.call(this);var Q=this;this.activeSession=a;this.accessPolicyApi=b;this.appHistory=c;this.butterBar=d;this.checkBeforeExit=e;this.componentActions=g;this.errorHandler=h;this.location=l;this.pageTitle=q;this.routeParams=v;this.teamsService=y;this.userAccess=B;this.sloApi=I;this.sloService=N;this.originalSloLock=
!1;this.canEditSloLock=!0;this.sloJustification$=new F.BehaviorSubject("");this.error="";this.justificationRequiredText="Justification is required to override the org SLO.";this.selectedTabIndex=0;this.teamId=this.routeParams.teamId;this.team$=new F.ReplaySubject(1);this.teamSlo$=this.team$.pipe(E(function(Y){return Y.slo}));this.isSloLeadValid=!1;this.sloLeadEmail$=new F.BehaviorSubject("");this.sloLead$=new F.BehaviorSubject("");this.sloLeadUserValidators={sloLeadNotUser:function(Y){if(Y){Y=k(Y);
for(var ka=Y.next();!ka.done;ka=Y.next())if(0!==ka.value.indexOf("USER:"))return!1}return!0}};this.sloLeadGooglerValidators={sloLeadNotGoogler:function(Y){if(Y){Y=k(Y);for(var ka=Y.next();!ka.done;ka=Y.next())if(0!==ka.value.indexOf("UNRESTRICTED_GOOGLER:"))return!1}return!0}};this.teamAdmins$=(0,F.from)(this.accessPolicyApi.get("TEAM",this.teamId)).pipe(E(function(Y){return Y.admins.filter(Asa).map(Qsa)}));this.teamLeads$=this.team$.pipe(E(function(Y){return Y.members.filter(function(ka){return ka.isLead}).map(function(ka){var la,
Da;return"USER:"+(null!=(Da=null==(la=ka.user)?void 0:la.emailAddress)?Da:"")})}));this.adminsAndLeads$=(0,F.combineLatest)([this.teamAdmins$,this.teamLeads$]).pipe(E(function(Y){var ka=k(Y);Y=ka.next().value;ka=ka.next().value;var la=new Set(Y);ka=ka.filter(function(Da){return!la.has(Da)});return[].concat(Jc(Y),Jc(ka))}));this.associatedComponents$=(0,F.from)(this.componentActions.search("directteamid:"+this.teamId));this.teamPath$=this.team$.pipe(E(function(Y){var ka=Y.pathNames;return Y.pathIds.map(function(la,
Da){return{id:la,name:ka[Da]}})}));this.isRootTeam$=this.teamPath$.pipe(E(function(Y){return 1>=Y.length?!0:!1}));this.parentTeam$=(0,F.combineLatest)([this.isRootTeam$,this.teamPath$]).pipe(pe(function(Y){var ka=k(Y);Y=ka.next().value;ka=ka.next().value;return Y?(0,F.of)(null):Q.teamsService.getTeam(ka[ka.length-2].id)}));this.parentTeam=null;this.inheritedSlo$=this.parentTeam$.pipe(pe(function(Y){var ka,la=null==Y?void 0:null==(ka=Y.slo)?void 0:ka.sloId;return la&&"0"!==la?Q.sloService.get(la).then(function(Da){return{id:la,
link:zya(la),slo:Da}}):(0,F.of)({id:"0"})}));this.sloPolicySource$=(0,F.combineLatest)([this.parentTeam$,this.teamPath$]).pipe(E(function(Y){var ka=k(Y);Y=ka.next().value;ka=ka.next().value;var la,Da=null==Y?void 0:null==(la=Y.slo)?void 0:la.sourceTeamId;la=ka.find(function(za){return za.id===Da});return Da&&la?{name:la.name,link:{path:"/teams/"+Da+"/edit",fragment:"slo"}}:null}));this.Tab=Vnd;this.enableSloLockingUi=iE(this.activeSession,"enableSloLockingUi");this.enableSloLead=iE(this.activeSession,
"enableSloLead");this.isSloInheritEnabled$=new F.BehaviorSubject(!0);this.sloId$=new F.BehaviorSubject("0");this.enableSloCheckedInternal=!1;this.sloLocked$=new F.BehaviorSubject(!1);this.hasSloReadAccess$=this.sloId$.pipe(pe(function(Y){return JF(Q.userAccess,"reader","slos/"+Y)}),oe(!1));this.sloPickerLink$=(0,F.combineLatest)([this.sloId$,this.hasSloReadAccess$]).pipe(E(function(Y){var ka=k(Y);Y=ka.next().value;ka=ka.next().value;return Y&&0<Number(Y)&&ka?zya(Y):null}));this.hasUnsavedChanges$=
(0,F.combineLatest)([this.team$,this.sloId$,this.isSloInheritEnabled$,this.sloLocked$,this.sloJustification$,this.sloLeadEmail$]).pipe(E(function(Y){var ka=k(Y),la=ka.next().value;Y=ka.next().value;var Da=ka.next().value,za=ka.next().value,Oa=ka.next().value;ka=ka.next().value;var Va=la.slo,Ya,Xb;la=null!=(Xb=null==(Ya=la.sloLead)?void 0:Ya.emailAddress)?Xb:"";return Va.inherit!==Da||Va.sloId!==Y||za!==Q.originalSloLock||Va.comment!==Oa||la!==ka}));this.hasEditAccess=!1;this.pageTitle.setTitle("Team Overview");
this.team$.pipe(qe(this.destroyed$)).subscribe(function(Y){Q.pageTitle.setTitle("Team: "+Y.name)});a=iE(this.activeSession,"enableSloLockingCheck")?"teams/"+this.teamId+"/slo":"teams/"+this.teamId;JF(this.userAccess,"writer",a).then(function(Y){Q.hasEditAccess=Y});this.childTeams$=this.teamsService.getChildTeams([this.teamId]).pipe(E(function(Y){return Y.values().next().value}));this.sloLock$=this.sloApi.executor.get({url:"action/teams/"+this.teamId+"/slo_edit_policy",responseConstructor:PT}).pipe(E(Hta));
var Z=nl(this.hasUnsavedChanges$.pipe(qe(this.destroyed$)),!1);this.subscriptions.add(tP(this.checkBeforeExit,function(){return Z.getValue()},!1))};V(E$,kE);E$.\u0275dir=kE.\u0275dir;
E$.prototype.ngOnInit=function(){var a=this,b,c,d;return Ld(function(e){if(1==e.nextAddress)return b=a.location.hash(),"basic"===b?a.selectedTabIndex=0:"slo"===b?a.selectedTabIndex=1:"componentMapping"===b&&(a.selectedTabIndex=2),e.yield((0,F.firstValueFrom)(a.teamsService.getTeam(a.teamId)),2);if(3!=e.nextAddress)return(c=e.yieldResult)?a.team$.next(c):XF(a.butterBar,"Unable to fetch team ID '"+a.teamId+"'"),ZHb(a),d=a,e.yield((0,F.firstValueFrom)(a.parentTeam$),3);d.parentTeam=e.yieldResult||null;
Qd(e)})};E$.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)};E$.prototype.onSloChange=function(a){a&&(this.sloId=a.sloId)};
var YHb=function(a,b){var c,d,e,g,h,l;return Ld(function(q){switch(q.nextAddress){case 1:if(!a.validate())return q.return();WF(a.butterBar,"Saving changes...",0);Md(q,2);if(!a.enableSloLead||(null==(c=b.sloLead)?void 0:c.emailAddress)===a.sloLeadEmail){q.jumpTo(4);break}return q.yield((0,F.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 v=
q.yield,y=F.firstValueFrom;var B=a.sloApi;var I=a.teamId,N=a.sloLocked,Q=new GD;N=Dh(Q,2,N?1:2).setTeamId(Number(I));B=B.executor.post({url:"action/teams/"+I+"/slo_edit_policy",responseConstructor:RT,body:N}).pipe(E(Hta));return v.call(q,y.call(F,B),7);case 7:e=q.yieldResult,a.originalSloLock=e;case 6:g=b.slo;if(g.inherit===a.isSloInheritEnabled&&g.sloId===a.sloId&&a.originalSloLock===a.sloLocked&&g.comment===a.sloJustification){q.jumpTo(8);break}v=q.yield;y=F.firstValueFrom;N={sloId:a.sloId,inherit:a.isSloInheritEnabled,
comment:a.isSloInheritEnabled?"":a.sloJustification$.getValue(),sourceTeamId:""};B=a.teamsService;I=a.teamId;N=Uua(N);Q=(new XH).setTeamId(I);N=Oh(Q,yi,2,N);B=B.executor.post({url:"/action/teams/"+I+"/update_slo",body:N,responseConstructor:XD}).pipe(E(Sua));return v.call(q,y.call(F,B),9);case 9:h=q.yieldResult,a.team$.next(h);case 8:WF(a.butterBar,"Save complete.");xp(q,0);break;case 2:l=Pd(q),aG(a.errorHandler,l),Qd(q)}})};
E$.prototype.validate=function(){if(!this.isSloInheritEnabled&&""===this.sloJustification$.getValue())return this.error="Justification is required",!1;if(this.enableSloLead&&!this.isSloLeadValid)return this.error="Please provide a valid SLO lead",!1;this.error="";return!0};
var Wnd=function(a){(0,F.firstValueFrom)(a.team$).then(function(b){var c;b=null==(c=b.sloLead)?void 0:c.emailAddress;a.sloLead=b?"USER:"+b:""})},Xnd=function(a){(0,F.firstValueFrom)(a.teamSlo$).then(function(b){a.sloId=b.sloId;a.isSloInheritEnabled=b.inherit;a.sloJustification$.next(b.comment)})},Ynd=function(a){(0,F.firstValueFrom)(a.sloLock$).then(function(b){a.originalSloLock=b;a.sloLocked=b})},ZHb=function(a){a.error="";Wnd(a);Xnd(a);a.enableSloLockingUi&&Ynd(a)};E$.prototype.back=function(){W1(this.appHistory)};
gg.Object.defineProperties(E$.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()}}});E$.\u0275fac=function(a){return new (a||E$)(D(rp),D(nG),D(V1),D(VF),D(sP),D(mV),D(ZF),D(NG),D(SW),D(qJ),D(YH),D(IF),D(ST),D(TT))};
E$.\u0275cmp=zc({type:E$,selectors:[["manage-team-page"]],viewQuery:function(a,b){a&1&&jf(MM,5,fd);if(a&2){var c;hf(c=lf())&&(b.tabs=c)}},features:[xe],decls:8,vars:3,consts:[[1,"kd-appbar"],[1,"kd-buttonbar"],[1,"bv2-appbar-left"],["type","button","mat-icon-button","","aria-label","Go back","color","primary","ngClass","large","matTooltip","Go back",1,"gmat-button",3,"click"],["svgIcon","arrow-backward",1,"icon-m"],["cdkScrollable","",1,"bv2-view"],[4,"ngIf"],[1,"edit-resource-header"],["target",
"_blank",3,"href"],["svgIcon","pop-out",1,"icon-s"],["class","team-hierarchy-container",4,"ngIf"],["gmat-tabs","","mat-align-tabs","start",3,"selectedIndex","selectedIndexChange"],["label","Basic Information",3,"id"],[1,"edit-resource-panel"],[1,"edit-field"],[1,"field-label"],[1,"edit-field-header"],[1,"description"],[4,"ngIf","ngIfElse"],["emptyDescription",""],[1,"field-label-with-help"],[1,"help-label"],[1,"help-container"],[1,"help-bubble","jfk-bubble"],[1,"jfk-bubble-arrow","jfk-bubble-arrowleft"],
[1,"jfk-bubble-arrowimplbefore"],[1,"jfk-bubble-arrowimplafter"],["label","Team SLO",3,"id"],["id","edit-slo-help-bubble",1,"help-bubble","jfk-bubble"],[1,"metadata","muted"],["class","slo-policy-link",4,"ngIf"],[1,"slo-policy-source-link"],["class","slo-inheritance-link",3,"routerLinkObj",4,"ngIf","ngIfElse"],["noPolicySource",""],[1,"lock-state"],[3,"error"],["class","edit-field",4,"ngIf"],["class","edit-button-row",4,"ngIf"],["label","Component mapping",3,"id"],[1,"team-hierarchy-container"],[3,
"teamPath"],[3,"users"],["childTeamsLinks",""],[4,"ngFor","ngForOf"],[3,"routerLink"],[1,"slo-policy-link"],[3,"routerLinkObj",4,"ngIf","ngIfElse"],["noInheritedSlo",""],[3,"routerLinkObj"],[1,"slo-inheritance-link",3,"routerLinkObj"],["unlocked",""],["svgIcon","lock-outline"],["svgIcon","lock-open"],["class","edit-field less-margin",4,"ngIf"],[1,"edit-field","less-margin"],["gmat-checkbox","",1,"override-slo",3,"disabled","checked","change"],["class","edit-field slo-justification",4,"ngIf"],["name",
"slo-enable","labelPosition","before",1,"slo-enable",3,"ngModel","disabled","ngModelChange","change"],[1,"team-slo-id-select",3,"boundId","bv2Disabled","bv2Placeholder","onSloSelect"],["mat-icon-button","","class","gmat-button small slo-link","matTooltip","Go to SLO management page",3,"routerLinkObj","target",4,"ngIf"],[1,"edit-field","slo-justification"],["id","team-slo-justification-label",1,"required"],["svgIcon","help-outline",1,"icon-s","valign-middle",3,"matTooltip"],["aria-labelledby","team-slo-justification-label",
"required","",1,"slo-justification-text",3,"ngModel","disabled","ngModelChange"],["mat-icon-button","","matTooltip","Go to SLO management page",1,"gmat-button","small","slo-link",3,"routerLinkObj","target"],["gmat-checkbox","",1,"slo-lock",3,"checked","disabled","change"],["idForInputBox","team-slo-lead","ariaLabel","Team SLO lead email",3,"users","customValidators","detailedUserValidators","maxUserAllowed","usersChange","isValid"],[1,"edit-button-row"],[1,"edit-button-group"],["gmat-button","","mat-flat-button",
"","color","primary",3,"disabled","click"],["gmat-button","","mat-stroked-button","","color","primary",3,"disabled","click"],["associatedComponentLinks",""]],template:function(a,b){a&1&&(H(0,"div",0)(1,"div",1)(2,"div",2)(3,"button",3),O("click",function(){return b.back()}),K(4,"mat-icon",4),J()()()(),H(5,"div",5),R(6,fIb,86,39,"ng-container",6),T(7,"async"),J());a&2&&(C(6),G("ngIf",U(7,1,b.team$)))},dependencies:[Ru,Su,Tu,yy,zy,jz,K0,Af,tv,Mv,zv,C$,SM,VN,NM,MM,XA,xx,eU,C0,IG,sN,z1,p1,Zu],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}\n/*# sourceMappingURL=manage_team.css.map */"]});var F$=function(){this.selectedSignals$=(0,F.of)([]);this.selected=new tu;this.ALL_SIGNAL_TYPES=$Xa();this.isOpen=!1};F$.prototype.openMenu=function(){this.isOpen=!0};F$.prototype.closeMenu=function(){this.isOpen=!1};F$.prototype.emitSelection=function(){var a=this.checkboxes.filter(function(b){return b.checked}).map(function(b){return b.value});this.selected.emit(a);this.closeMenu()};F$.\u0275fac=function(a){return new (a||F$)};
F$.\u0275cmp=zc({type:F$,selectors:[["select-signals-menu"]],viewQuery:function(a,b){a&1&&jf(VN,5);if(a&2){var c;hf(c=lf())&&(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),O("click",function(){return b.openMenu()}),K(2,"mat-icon",2),J(),R(3,kIb,13,3,"ng-template",3),O("detach",function(){return b.closeMenu()})("backdropClick",
function(){return b.closeMenu()}));if(a&2){var c=Se(1);Ie("menu-open",b.isOpen);C(3);G("cdkConnectedOverlayOrigin",c)("cdkConnectedOverlayOpen",b.isOpen)}},dependencies:[Su,Tu,yy,jz,VN,TL,Qx,Px,Wv,Zu],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 G$=function(a){this.dateFormatter=a;this.iconOnly=this.isSelected=this.generalDescriptionOnly=!1;this.count=-1;this.matTooltipShowDelay=0;this.removable=!1;this.onRemove=new tu};
G$.prototype.getSignalTypeTooltip=function(){var a=this;if(this.generalDescriptionOnly)return this.signal.signalType?(0,F.of)(bYa(this.signal)):(0,F.of)("");var b;return null!=(b=this.signal.timestamp)&&b.seconds?this.dateFormatter.formatUserCalendar(new Date(1E3*this.signal.timestamp.seconds)).pipe(E(function(c){return aYa(a.signal,c)})):(0,F.of)(aYa(this.signal))};G$.prototype.onClickRemove=function(){this.onRemove.emit(this.signal.signalType)};G$.\u0275fac=function(a){return new (a||G$)(D(AK))};
G$.\u0275cmp=zc({type:G$,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&&R(0,oIb,5,14,"span",0);a&2&&(a=b.signal.signalType?fOc.has(b.signal.signalType)?fOc.get(b.signal.signalType):null:null,G("ngIf",a))},dependencies:[Tu,yy,jz,XA,Zu],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 qIb=function(a){return{signalType:a}},tIb=function(){return[]},H$=function(a,b,c,d,e,g,h,l,q,v,y,B,I,N,Q){kE.call(this);this.appSearchState=a;this.pageTitle=b;this.paths=c;this.userPreferencesManager=d;this.needsAttentionApi=e;this.cdr=g;this.analytics=h;this.bLocation=l;this.domSafe=q;this.issueFridge=v;this.errorHandler=y;this.snackbar=B;this.currentTracker=I;this.appEvents=N;this.issuePagination=Q;this.issues=[];this.columns=[w0,x0,y0,new zn({name:"alerts",sortable:!1,draggable:!1,fullLabel:"Alerts",
label:"ALERTS"}),Object.assign({},An("priority"),{draggable:!1}),Object.assign({},An("title"),{draggable:!1}),Object.assign({},An("assignee"),{draggable:!1}),Object.assign({},An("status"),{draggable:!1}),Object.assign({},An("issueId"),{draggable:!1}),new zn({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.STATUS_ICON=djc;this.STATUS_FULL_TEXT=fF;this.STATUS_TERSE=bF;this.ALL_SIGNAL_TYPES=$Xa();this.selectedSignals$=new F.BehaviorSubject([]);this.sortConfig={field:"priority",direction:"ASC"};this.HOTKEYS=eM;this.SPACE_EMPTY_STATE=xtc};V(H$,kE);H$.\u0275dir=kE.\u0275dir;
H$.prototype.ngOnInit=function(){var a=this;this.pageTitle.setTitle("Needs attention");setTimeout(function(){a.appSearchState.clear()});this.userPreferencesManager.needsAttentionPreferences$.pipe(ge()).subscribe(function(b){var c;a.selectedSignals$.next(null!=(c=b.selectedSignals)?c:[])});this.selectedSignals$.pipe(qe(this.destroyed$)).subscribe(function(){a.fetchIssues()});this.destroyed$.pipe(ge()).subscribe(function(){var b;null==(b=a.snackBarRefForUndo)||b.dismiss()})};
var sIb=function(a,b){a.selectedSignals$.next(b);a.userPreferencesManager.save({needsAttentionPreferences:{selectedSignals:b}}).pipe(ge()).subscribe()};H$.prototype.convertIssueStatusStrToTag=function(a){return Zh[a]};H$.prototype.hasResults=function(){return 0<this.issues.length-this.lastDismissedRowIssueIds.size};H$.prototype.issueDescription=function(a){return"Needs attention Issue ID "+a.id+" titled: "+a.title};
H$.prototype.goToIssue=function(a,b,c){var d;c&&"A"===(null==(d=c.target)?void 0:d.tagName)||(IIb(this,a),a=this.paths.editIssue(a),c&&(c.ctrlKey||c.metaKey||1===c.button)?this.domSafe.openInNewTab(a):c&&c.shiftKey?Wl(this.domSafe,a):this.bLocation.url(a))};
var IIb=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(Yl.NEEDS_ATTENTION,"viewIssue",d)},CIb=function(a){return 0===a.issues.length?!1:a.issues.every(function(b){return b.selected})};f=H$.prototype;f.someIssuesSelected=function(){return this.issues.some(function(a){return a.selected})};
f.getHeaderCheckboxState=function(){if(0===this.issues.length)return"unchecked";for(var a=!0,b=!1,c=k(this.issues),d=c.next();!d.done;d=c.next())d.value.selected?b=!0:a=!1;return a?"checked":b?"indeterminate":"unchecked"};f.toggleAllIssueSelection=function(){if(0!==this.issues.length){for(var a=!this.someIssuesSelected(),b=k(this.issues),c=b.next();!c.done;c=b.next())c.value.selected=a;this.cdr.detectChanges()}};
f.onCheckboxClicked=function(a,b,c){if(a.shiftKey&&(a=c.selected,null!==this.lastCheckedIndex&&0<this.issues.length)){if(b<this.lastCheckedIndex){var d=b+1;var e=this.lastCheckedIndex+1}else d=this.lastCheckedIndex,e=b;d=this.issues.slice(d,e);d=k(d);for(e=d.next();!e.done;e=d.next())e.value.selected=!a}c.selected=!c.selected;this.lastCheckedIndex=b};
f.toggleStar=function(a){var b=this;a&&!this.starInProgress[a.issueId]&&(a.starred=!a.starred,this.starInProgress[a.issueId]=!0,pnc(this.issueFridge,String(a.issueId),a.starred).pipe(ge(),qe(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 vIb=function(a){a.dismissSelectedInProgress=!0;for(var b=[],c=k(a.issues),d=c.next();!d.done;d=c.next())d=d.value,d.selected&&(b.push(d.issueId),a.dismissInProgress[d.issueId]=!0);eOc(a.needsAttentionApi,b,!0).then(function(){return void Znd(a,b)},function(e){return void a.errorHandler.errorHandler(null,e)}).finally(function(){a.dismissSelectedInProgress=!1;for(var e=k(b),g=e.next();!g.done;g=e.next())a.dismissInProgress[g.value]=!1})};
H$.prototype.dismissIssue=function(a){var b=this;this.dismissInProgress[a.issueId]||(this.dismissInProgress[a.issueId]=!0,eOc(this.needsAttentionApi,[a.issueId],!0).then(function(){return void Znd(b,[a.issueId])},function(c){return void b.errorHandler.errorHandler(null,c)}).finally(function(){b.dismissInProgress[a.issueId]=!1}))};
var Znd=function(a,b){a.analytics.trackEvent(Yl.NEEDS_ATTENTION,"dismissIssue","numberOfIssues",b.length);for(var c=k(b),d=c.next();!d.done;d=c.next())a.lastDismissedRowIssueIds.add(d.value);c=k(a.issues);for(d=c.next();!d.done;d=c.next())d=d.value,b.includes(d.issueId)&&(d.selected=!1);a.appEvents.needsAttentionIssueCount.next(a.issues.length-b.length);a.cdr.detectChanges();a.snackBarRefForUndo=a.snackbar.open({message:1===b.length?'Issue dismissed from "Needs attention" list':'All selected issues dismissed from "Needs attention" list',
actionLabel:"Undo"});a.snackBarRefForUndo._afterDismissed.pipe(ge()).subscribe(function(e){e.dismissedByAction&&$nd(a,b)})},$nd=function(a,b){eOc(a.needsAttentionApi,b,!1).then(function(){a.analytics.trackEvent(Yl.NEEDS_ATTENTION,"unDismissIssue","numberOfIssues",b.length);for(var c=k(b),d=c.next();!d.done;d=c.next())a.lastDismissedRowIssueIds.delete(d.value);a.appEvents.needsAttentionIssueCount.next(a.issues.length);a.cdr.detectChanges();a.snackbar.open({message:"Issue"+(1<b.length?"s":"")+' un-dismissed from "Needs attention" list'})},
function(c){return void a.errorHandler.errorHandler(null,c)})};f=H$.prototype;f.isLowPriority=function(a){return 2<=Number(a.priority)};f.isHighPriority=function(a){return 2>Number(a.priority)};f.isP0Priority=function(a){return 0===Number(a.priority)};f.selectAllSignals=function(){this.selectedSignals$.next([].concat(Jc(this.ALL_SIGNAL_TYPES)))};
f.fetchIssues=function(){var a=this,b;null==(b=this.snackBarRefForUndo)||b.dismiss();this.lastDismissedRowIssueIds.clear();this.isLoading=!0;b=aod(this);b={page:1,resultsPerPage:this.needsAttentionApi.COUNT,sortColumns:b?[b]:[],returnUrl:this.paths.needsAttention(),trackerIds:ytc(this.currentTracker),fromNeedsAttention:!0,selectedSignals:this.selectedSignals$.value};zX(this.issuePagination);TQc(this.issuePagination,b).then(function(c){a.issues=c.issues;a.isLoading=!1;a.cdr.detectChanges()})};
var aJb=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})};H$.prototype.toggleSignal=function(a){var b=this.selectedSignals$.value,c=b.indexOf(a);-1===c?b.push(a):b.splice(c,1);sIb(this,[].concat(Jc(b)))};var aod=function(a){var b=lj(a.sortConfig.field);a="ASC"===a.sortConfig.direction?"ASCENDING":"DESCENDING";return b?new oj(b,a):null};
H$.prototype.onSortChange=function(a){this.sortConfig=a;this.fetchIssues()};H$.\u0275fac=function(a){return new (a||H$)(D(dY),D(SW),D(OG),D(TI),D(TV),D(wH,2),D(AH),D(NG),D(rK),D(IH),D(ZF),D(UF),D(LK),D(cG),D(yX))};
H$.\u0275cmp=zc({type:H$,selectors:[["ng-component"]],features:[Xe([wH]),xe],decls:9,vars:6,consts:[[1,"a11y-only"],[1,"border-bottom","padded-xs-y"],["class","applied-signals flex-kids-x",4,"ngIf"],[4,"ngIf"],[1,"needs-attention-table","overflow"],["class","bv2-view-loading",4,"ngIf"],["class","bv2-view-loading layout-centered-column gap","tabindex","-1",4,"ngIf"],["class","bv2-grid-container",4,"ngIf"],[1,"applied-signals","flex-kids-x"],[1,"attention-actions","flex-kids-x","align-items-center"],
["mat-icon-button","","color","primary","matTooltip","Refresh","aria-label","Refresh",1,"gmat-button","large",3,"hotkey","click","onHotkey"],["svgIcon","refresh"],[1,"heading-s","margin-xs-y"],["href","http://go/b-needs-attention-guide","matTooltip","Needs attention signals guide","aria-label","Needs attention signals guide","mat-icon-button","","target","_blank",1,"small","margin-xs-x"],["svgIcon","help-outline",1,"icon-s"],[1,"padded-s-left","border-left","signal-chips","flex-kids-x","flex-wrap",
"align-items-center"],[1,"margin-s-right",3,"selectedSignals$","selected"],["class","chippy rounded",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"chippy","rounded"],[3,"removable","generalDescriptionOnly","iconOnly","isSelected","matTooltipShowDelay","signal","onRemove"],["mat-button","","color","primary",3,"disabled","click"],[1,"bv2-view-loading"],["tabindex","-1",1,"bv2-view-loading","layout-centered-column","gap"],["draggable","false","aria-hidden","true","alt","",1,"empty-state-img","padded-y",3,"src"],
[1,"type-l"],["class","muted",4,"ngIf","ngIfElse"],["noResults",""],[1,"muted"],[1,"bv2-grid-container"],["scrollContainer",".needs-attention-table",1,"keep-focus-ring",3,"list","columns","focusedRowIndex","enableDragDropHeader","rowLabelRenderer","sort","focusedRowIndexChange","rowClick","sortChange"],["class","focus-indicator",4,"forHeaderCell"],["class","selected-box",4,"forHeaderCell"],[4,"forHeaderCellDefault"],["class","focus-indicator",4,"forViewCell"],["class","selected-box",4,"forViewCell"],
["class","star-cell",4,"forViewCell"],["data-template","issueId","class","clickable",4,"forViewCell"],["class","clickable signal-cell",4,"forViewCell"],[4,"forViewCell"],["class","clickable title-cell",3,"bv2-grid-cell-variable-height",4,"forViewCell"],["class","priority-cell clickable",4,"forViewCell"],["data-stable-cell","status","class","clickable",4,"forViewCell"],["class","clickable",4,"forViewCell"],[1,"focus-indicator"],[1,"selected-box"],["tabindex","0","aria-label","Select all issues","role",
"checkbox",1,"keep-focus-ring","b-select-all-toggle",3,"state","click","keydown.enter","keydown.space"],[3,"column"],["tabindex","-1","role","checkbox",3,"state","click"],[1,"star-cell"],["tabindex","-1",3,"starred","disabled","starMessage","unStarMessage","starClicked"],["data-template","issueId",1,"clickable"],["tabindex","-1",1,"row-issue-id",3,"href","click"],[1,"clickable","signal-cell"],[3,"signal","iconOnly","isSelected"],[1,"clickable","title-cell"],[1,"bv2-grid-cell-container"],[3,"accessLevel",
"compactMode"],[3,"retentionState","showOnlyInDangerZone","compactMode","modifiedTime"],[1,"bv2-grid-cell-text"],[1,"row-issue-title",3,"href","click"],["class","bv2-hotlist-chips",4,"ngIf"],[1,"bv2-hotlist-chips"],[3,"id","removable",4,"ngFor","ngForOf"],[3,"id","removable"],[1,"priority-cell","clickable"],[1,"bv2-priority"],["data-stable-cell","status",1,"clickable"],[3,"ngSwitch","title"],["class","icon-s",3,"svgIcon",4,"ngSwitchCase"],[4,"ngSwitchCase"],[3,"class",4,"ngSwitchDefault"],[1,"icon-s",
3,"svgIcon"],[1,"clickable"],[3,"email",4,"ngIf"],[3,"email"]],template:function(a,b){a&1&&(H(0,"h2",0),S(1,"Issues which need your attention"),J(),H(2,"div",1),R(3,uIb,14,9,"div",2),R(4,wIb,3,1,"div",3),J(),H(5,"div",4),R(6,xIb,4,0,"div",5),R(7,AIb,8,6,"div",6),R(8,bJb,15,18,"div",7),J());a&2&&(C(3),G("ngIf",!b.someIssuesSelected()),C(1),G("ngIf",b.someIssuesSelected()),C(1),Ae("aria-busy",b.isLoading),C(1),G("ngIf",b.isLoading),C(1),G("ngIf",!b.isLoading&&!b.hasResults()),C(1),G("ngIf",!b.isLoading&&
b.hasResults()))},dependencies:[Su,Tu,Uu,Vu,Wu,yy,zy,jz,ay,h0,m0,i0,j0,k0,SL,yU,o0,HO,t0,wU,qK,XA,dM,G$,F$,Zu,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)}\n/*# sourceMappingURL=needs_attention.css.map */"],
changeDetection:0});var dJb=function(a){return{feature:a}},bod=function(a){this.beapService=a;this.beapFeaturesTF$=xhd(this.beapService,"TEAM_FOOD");this.beapFeaturesEA$=xhd(this.beapService,"EARLY_ACCESS");this.hasFeatures$=(0,F.combineLatest)([this.beapFeaturesTF$,this.beapFeaturesEA$]).pipe(E(function(b){var c=k(b);b=c.next().value;c=c.next().value;return 0<b.length+c.length}));this.hasFeaturesTF$=this.beapFeaturesTF$.pipe(E(function(b){return 0<b.length}));this.hasFeaturesEA$=this.beapFeaturesEA$.pipe(E(function(b){return 0<
b.length}));this.linkClicked={}};bod.\u0275fac=function(a){return new (a||bod)(D(v6))};
bod.\u0275cmp=zc({type:bod,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&&(R(0,jJb,5,6,"ng-container",0),T(1,"async"),R(2,kJb,2,0,"ng-template",null,1,of),R(4,nJb,20,16,"ng-template",null,2,of));if(a&2){var c=Se(3);G("ngIf",U(1,2,b.hasFeatures$))("ngIfElse",c)}},dependencies:function(){return[x6,rX,sX,Su,Tu,Yu,zy,jz,eU,XA,Zu,cod]},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}\n/*# sourceMappingURL=beap_settings.css.map */'],
changeDetection:0});var cod=function(){};cod.prototype.transform=function(a){return"STATE_ENABLED"===a?!0:!1};cod.\u0275fac=function(a){return new (a||cod)};cod.\u0275pipe=Dc({name:"featureState",type:cod,pure:!0});var dod=function(a,b){this.name=a;this.resourceType=void 0===b?null:b;this.options=[]};dod.prototype.shouldDisplay=function(){return!0};dod.prototype.hasOptions=function(){return!1};dod.prototype.getDefaultOptionId=function(){return null};var eod=function(a,b){this.name=a;this.resourceType=b;this.options=[]};eod.prototype.shouldDisplay=function(){return 0<this.options.length};eod.prototype.hasOptions=function(){return 0<this.options.length};
eod.prototype.getDefaultOptionId=function(){return this.hasOptions()?this.options[0].id:null};
var fod=function(a,b){this.id=a;this.name=b},hod=function(a,b,c,d,e,g){var h=this;this.butterBar=a;this.sidebar=b;this.userPreferencesManager=c;this.cdr=d;this.appEvents=e;this.activeSession=g;this.selectedOptionId=null;this.subscriptions=new F.Subscription;this.hotlistMainOption=new eod("Hotlist","HOTLIST");this.savedSearchMainOption=new eod("Saved search","SAVED_SEARCH");this.bookmarkGroupMainOption=new eod("Bookmark group","BOOKMARK_GROUP");this.needsAttentionMainOption=new dod("Needs attention",
"NEEDS_ATTENTION");this.experimentalHomepageMainOption=new dod("Home","EXPERIMENTAL_HOMEPAGE");this.mainOptions=[new dod("Assigned issues"),this.hotlistMainOption,this.savedSearchMainOption,this.bookmarkGroupMainOption];iE(this.activeSession,"showNeedsAttentionUI")&&this.activeSession.isInternalSession()&&this.mainOptions.push(this.needsAttentionMainOption);iE(this.activeSession,"enableHomepageVariantA")&&this.activeSession.isInternalSession()&&this.mainOptions.push(this.experimentalHomepageMainOption);
a={};this.resourceMainOptions=(a.HOTLIST=this.hotlistMainOption,a.SAVED_SEARCH=this.savedSearchMainOption,a.BOOKMARK_GROUP=this.bookmarkGroupMainOption,a.NEEDS_ATTENTION=this.needsAttentionMainOption,a.EXPERIMENTAL_HOMEPAGE=this.experimentalHomepageMainOption,a);this.selectedMainOption=this.mainOptions[0];god(this);this.subscriptions.add(this.appEvents.sidebarUpdated.subscribe(function(){god(h);h.cdr.detectChanges()}));this.subscriptions.add(this.userPreferencesManager.preferences$.subscribe(function(l){l.homepagePreferences&&
(l=l.homepagePreferences,l.resourceType?(h.selectedMainOption=h.resourceMainOptions[l.resourceType]||h.mainOptions[0],h.selectedOptionId=l.resourceId||null,god(h)):(h.selectedMainOption=h.mainOptions[0],h.selectedOptionId=null))}))};hod.prototype.destroy=function(){this.subscriptions.unsubscribe()};
var rJb=function(a){WF(a.butterBar,"Saving preferences...",0);if(null===a.selectedMainOption.resourceType||a.selectedMainOption.hasOptions()&&null===a.selectedOptionId)var b=a.userPreferencesManager.clearHomepagePreferences();else b={resourceType:a.selectedMainOption.resourceType},a.selectedMainOption.hasOptions()&&a.selectedOptionId&&(b.resourceId=a.selectedOptionId),b=ypc(a.userPreferencesManager,b);b.subscribe(function(){WF(a.butterBar,"Preferences saved.",4E3)})},god=function(a){function b(c){return new fod(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 fod(String(a.selectedOptionId),a.selectedMainOption.name+" "+a.selectedOptionId)))};var iod=Rva[3],I$=function(a,b,c,d,e,g,h,l,q){kE.call(this);this.cdr=a;this.userPreferencesManager=b;this.butterBar=c;this.activeSession=d;this.documentationLinks=e;this.analytics=g;this.sidebar=l;this.appEvents=q;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,Jc(h.supportedTimeZones.map(function(v){return{value:v.id,label:v.name}})));this.sloEnabled=d.isInternalSession();this.showBugScreensaverSetting=d.isInternalSession();this.showShowInlineImagesSetting=d.isInternalSession()&&iE(this.activeSession,"enableImageSummary")};V(I$,kE);
I$.\u0275dir=kE.\u0275dir;I$.prototype.ngOnInit=function(){var a=this;this.destroyed$.subscribe(function(){var b;null==(b=a.preferredHomepage)||b.destroy()});this.preferredHomepage=new hod(this.butterBar,this.sidebar,this.userPreferencesManager,this.cdr,this.appEvents,this.activeSession);this.userPreferencesManager.preferences$.pipe(qe(this.destroyed$)).subscribe(function(b){a.userPreferences=b;a.cdr.detectChanges()})};
I$.prototype.save=function(a,b,c){var d=this;WF(this.butterBar,"Saving preferences...",0);this.userPreferencesManager.save(this.userPreferences).subscribe(function(){WF(d.butterBar,"Preferences saved.",4E3)});this.analytics.trackEvent("preferences",a,b,c)};var jod=function(a){var b;return(null==(b=a.userPreferences.textDisplayPreferences)?void 0:b.commentDisplayOverride)===iod};I$.prototype.getShowInlineImages=function(){var a;return null!=(a=this.userPreferences.showInlineImages)?a:!1};
I$.\u0275fac=function(a){return new (a||I$)(D(wH,2),D(TI),D(VF),D(rp),D(NI),D(AH),D($I),D(MX),D(cG))};
I$.\u0275cmp=zc({type:I$,selectors:[["b-general-settings"]],features:[Xe([wH]),xe],decls:69,vars:15,consts:[[1,"flex-kids-x","gap-l","margin-bottom"],[1,"settings-main-left","margin-right"],[1,"heading-s"],[1,"muted","type-s"],["target","_blank",3,"href"],["appearance","outline"],["matTooltip","Current selection for preferred homepage"],["id","bv2-homepage-pref-selection",3,"ngModel","ngModelChange","selectionChange"],[4,"ngFor","ngForOf"],["appearance","outline",4,"ngIf"],[1,"margin-y"],["id","bv2-datetime-pref-date-formatting",
"appearance","outline"],["matTooltip","Date/time formatting - Use this format for calendar dates."],[3,"ngModel","ngModelChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],["id","bv2-datetime-pref-time-formatting","appearance","outline"],["matTooltip","Date/time formatting - Use this format for times."],["id","bv2-datetime-pref-timezone","appearance","outline"],["matTooltip","Date/time formatting - Format dates and times with respect to this time zone."],["id","bv2-enable-all-hotkeys",3,"checked",
"change"],[1,"margin-bottom"],["id","bv2-force-plain-text",3,"checked","change"],["id","bv2-force-code-font"],["class","margin-bottom",4,"ngIf"],[4,"ngIf"],["class","bv2-settings-preferred-homepage-main-option-select-item",3,"value",4,"ngIf"],[1,"bv2-settings-preferred-homepage-main-option-select-item",3,"value"],["id","bv2-homepage-pref-suboption-selection",1,"homepage-option-select",3,"ngModel","ngModelChange","selectionChange"],["class","bv2-settings-preferred-homepage-option-select-item",3,"value",
4,"ngFor","ngForOf"],[1,"bv2-settings-preferred-homepage-option-select-item",3,"value"],[3,"value"],["id","bv2-show-inline-images",3,"checked","change"],["id","bv2-bug-screensaver",3,"checked","change"]],template:function(a,b){a&1&&(H(0,"div")(1,"div",0)(2,"div",1)(3,"p",2),S(4,"Preferred homepage"),J(),H(5,"p",3),S(6," Select your preferred homepage when first opening the app. "),H(7,"a",4),S(8," Learn more "),J()()(),H(9,"div")(10,"div")(11,"mat-form-field",5)(12,"mat-label",6),S(13," Current selection "),
J(),H(14,"mat-select",7),O("ngModelChange",function(c){return b.preferredHomepage.selectedMainOption=c})("selectionChange",function(){var c=b.preferredHomepage;c.selectedOptionId=c.selectedMainOption.getDefaultOptionId();rJb(c);c.cdr.detectChanges()}),R(15,pJb,2,1,"ng-container",8),J()(),R(16,sJb,3,2,"mat-form-field",9),J()()(),K(17,"hr",10),H(18,"div",0)(19,"div",1)(20,"p",2),S(21,"Date/time formatting settings"),J(),H(22,"p",3),S(23," Select how you want dates and times to be formatted. "),H(24,
"a",4),S(25," Learn more "),J()()(),H(26,"div")(27,"div")(28,"mat-form-field",11)(29,"mat-label",12),S(30," Dates "),J(),H(31,"mat-select",13),O("ngModelChange",function(c){return b.userPreferences.dateTimePreferences.calendarFormat=c})("selectionChange",function(){return b.save("saveDateTimePreferences")}),R(32,tJb,2,2,"mat-option",14),J()()(),H(33,"div")(34,"mat-form-field",15)(35,"mat-label",16),S(36," Times "),J(),H(37,"mat-select",13),O("ngModelChange",function(c){return b.userPreferences.dateTimePreferences.timeFormat=
c})("selectionChange",function(){return b.save("saveDateTimePreferences")}),R(38,uJb,2,2,"mat-option",14),J()()(),H(39,"div")(40,"mat-form-field",17)(41,"mat-label",18),S(42," Time Zones "),J(),H(43,"mat-select",13),O("ngModelChange",function(c){return b.userPreferences.dateTimePreferences.timeZone=c})("selectionChange",function(){return b.save("saveDateTimePreferences")}),R(44,vJb,2,2,"mat-option",14),J()()()()(),K(45,"hr",10),H(46,"div",0)(47,"div",1)(48,"p",2),S(49,"Keyboard settings"),J()(),H(50,
"div")(51,"div")(52,"mat-slide-toggle",19),O("change",function(c){b.userPreferences.keyboardPreferences.enableAllHotkeys=c.checked;return b.save("saveKeyboardPreferences")}),S(53," Enable all hotkeys "),J()()()(),K(54,"hr",10),H(55,"div",0)(56,"div",1)(57,"p",2),S(58,"Display settings"),J()(),H(59,"div")(60,"div",20)(61,"mat-slide-toggle",21),O("change",function(c){b.userPreferences.textDisplayPreferences&&(b.userPreferences.textDisplayPreferences.commentDisplayOverride=c.checked?iod:void 0,b.save("saveTextDisplayPreferences.commentDisplayOverride"))}),
S(62," Force comments to display as plain text "),J()(),H(63,"div",20)(64,"b-toggle-code-font",22),S(65," Force comments to display with code font "),J()(),R(66,wJb,3,1,"div",23),J()(),K(67,"hr",10),R(68,xJb,9,1,"ng-container",24),J());a&2&&(C(7),G("href",b.documentationLinks.baseDocumentationUrl+"/guides/set-a-homepage",vd),C(7),G("ngModel",b.preferredHomepage.selectedMainOption),C(1),G("ngForOf",b.preferredHomepage.mainOptions),C(1),G("ngIf",b.preferredHomepage.selectedMainOption.hasOptions()),
C(8),G("href",b.documentationLinks.baseDocumentationUrl+"/guides/set-date-time-formatting",vd),C(7),G("ngModel",b.userPreferences.dateTimePreferences.calendarFormat),C(1),G("ngForOf",b.dateFormats),C(5),G("ngModel",b.userPreferences.dateTimePreferences.timeFormat),C(1),G("ngForOf",b.timeFormats),C(5),G("ngModel",b.userPreferences.dateTimePreferences.timeZone),C(1),G("ngForOf",b.timeZones),C(8),G("checked",b.userPreferences.keyboardPreferences.enableAllHotkeys),C(9),G("checked",jod(b)),C(5),G("ngIf",
b.showShowInlineImagesSetting),C(2),G("ngIf",b.showBugScreensaverSetting))},dependencies:[Su,Tu,tv,zv,Yy,Xy,CO,Ay,eU,XA,LU],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}\n/*# sourceMappingURL=settings.css.map */"]});var J$=function(a,b,c,d){kE.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(qe(this.destroyed$)).subscribe(function(g){e.userPreferences=g})};V(J$,kE);J$.\u0275dir=kE.\u0275dir;
J$.prototype.save=function(a,b,c){var d=this;WF(this.butterBar,"Saving preferences...",0);this.userPreferencesManager.save(this.userPreferences).subscribe(function(){WF(d.butterBar,"Preferences saved.",4E3)});this.analytics.trackEvent("preferences",a,b,c)};J$.\u0275fac=function(a){return new (a||J$)(D(TI),D(VF),D(NI),D(AH))};
J$.\u0275cmp=zc({type:J$,selectors:[["b-notification-settings"]],features:[xe],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),S(3,"Notification settings"),J(),H(4,"p",3),S(5," Select the level of email you want to receive for each issue role. "),H(6,"a",4),S(7," Learn more "),J()()(),H(8,"div")(9,"div")(10,"mat-form-field",5)(11,"mat-label",6),S(12," Assignee "),J(),H(13,"mat-select",
7),O("ngModelChange",function(c){return b.userPreferences.notificationPreferences.assignedPriority=c})("selectionChange",function(){return b.save("saveNotificationPreferences")}),R(14,yJb,3,4,"mat-option",8),J()()(),H(15,"div")(16,"mat-form-field",9)(17,"mat-label",10),S(18," Reporter "),J(),H(19,"mat-select",7),O("ngModelChange",function(c){return b.userPreferences.notificationPreferences.reportedPriority=c})("selectionChange",function(){return b.save("saveNotificationPreferences")}),R(20,zJb,3,
4,"mat-option",8),J()()(),H(21,"div")(22,"mat-form-field",11)(23,"mat-label",12),S(24," Verifier "),J(),H(25,"mat-select",7),O("ngModelChange",function(c){return b.userPreferences.notificationPreferences.verifiedPriority=c})("selectionChange",function(){return b.save("saveNotificationPreferences")}),R(26,AJb,3,4,"mat-option",8),J()()(),H(27,"div")(28,"mat-form-field",13)(29,"mat-label",14),S(30," Collaborator "),J(),H(31,"mat-select",7),O("ngModelChange",function(c){return b.userPreferences.notificationPreferences.collaboratorPriority=
c})("selectionChange",function(){return b.save("saveNotificationPreferences")}),R(32,BJb,3,4,"mat-option",8),J()()(),H(33,"div")(34,"mat-form-field",15)(35,"mat-label",16),S(36," CC'd "),J(),H(37,"mat-select",7),O("ngModelChange",function(c){return b.userPreferences.notificationPreferences.ccdPriority=c})("selectionChange",function(){return b.save("saveNotificationPreferences")}),R(38,CJb,3,4,"mat-option",8),J()()(),H(39,"div")(40,"mat-form-field",17)(41,"mat-label",18),S(42," Starred "),J(),H(43,
"mat-select",7),O("ngModelChange",function(c){return b.userPreferences.notificationPreferences.starredPriority=c})("selectionChange",function(){return b.save("saveNotificationPreferences")}),R(44,DJb,3,4,"mat-option",8),J()()(),H(45,"div")(46,"mat-slide-toggle",19),O("change",function(c){b.userPreferences.notificationPreferences.excludeChangesByMe=c.checked;return b.save("saveNotificationPreferences")}),S(47," Exclude edits made by you "),J()()()());a&2&&(C(6),G("href",b.documentationLinks.baseDocumentationUrl+
"/concepts/settings#email",vd),C(7),G("ngModel",b.userPreferences.notificationPreferences.assignedPriority),C(1),G("ngForOf",b.priorities),C(5),G("ngModel",b.userPreferences.notificationPreferences.reportedPriority),C(1),G("ngForOf",b.priorities),C(5),G("ngModel",b.userPreferences.notificationPreferences.verifiedPriority),C(1),G("ngForOf",b.priorities),C(5),G("ngModel",b.userPreferences.notificationPreferences.collaboratorPriority),C(1),G("ngForOf",b.priorities),C(5),G("ngModel",b.userPreferences.notificationPreferences.ccdPriority),
C(1),G("ngForOf",b.priorities),C(5),G("ngModel",b.userPreferences.notificationPreferences.starredPriority),C(1),G("ngForOf",b.priorities),C(2),G("checked",b.userPreferences.notificationPreferences.excludeChangesByMe))},dependencies:[Su,tv,zv,Yy,Xy,CO,Ay,eU,XA,Lqc],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}\n/*# sourceMappingURL=settings.css.map */"]});var K$=function(a){r.call(this,a,0,K$.messageId)};V(K$,r);K$.repeatedFields_=[1];K$.prototype.toObject=function(){if(null!=this){t(this);var a={subscriptionsList:Mb(yg(this,Nh,1),jfc)}}else a=void 0;return a};K$.prototype.serializeBinary=u([K$,1,Iq,kfc]);K$.messageId="b.ListSloReportSubscriptionsResponse";var L$=function(a){r.call(this,a,0,L$.messageId)};V(L$,r);L$.prototype.getSubscription=function(){return W(this,Nh,1)};L$.prototype.setSubscription=function(a){return Oh(this,Nh,1,a)};L$.prototype.toObject=function(){if(null!=this){t(this);var a={subscription:jfc(this.getSubscription())}}else a=void 0;return a};L$.prototype.serializeBinary=u([L$,1,X,kfc]);L$.messageId="b.SloReportSubscriptionRequest";var M$=function(a){r.call(this,a,0,M$.messageId)};V(M$,r);M$.prototype.getSubscription=function(){return W(this,Nh,1)};M$.prototype.setSubscription=function(a){return Oh(this,Nh,1,a)};M$.prototype.toObject=function(){if(null!=this){t(this);var a={subscription:jfc(this.getSubscription())}}else a=void 0;return a};M$.prototype.serializeBinary=u([M$,1,X,kfc]);M$.messageId="b.SloReportSubscriptionResponse";var N$=function(a){this.executor=a};f=N$.prototype;f.get=function(a){return this.executor.get({url:"action/slo_report_subscriptions/"+a,responseConstructor:M$}).pipe(E(function(b){if(b=b.getSubscription())return Jta(b);throw Error("Qe");}))};f.list=function(){return this.executor.get({url:"action/slo_report_subscriptions",responseConstructor:K$}).pipe(E(function(a){return yg(a,Nh,1).map(Jta)}))};
f.create=function(a){if(0!==a.id)throw Error("Re");return this.executor.post({url:"action/slo_report_subscriptions",body:(new L$).setSubscription(Lta(a)),responseConstructor:M$}).pipe(E(function(b){if(b=b.getSubscription())return Jta(b);throw Error("Se");}))};
f.update=function(a){if(0===a.id)throw Error("Te");return this.executor.post({url:"action/slo_report_subscriptions/"+a.id,body:(new L$).setSubscription(Lta(a)),responseConstructor:M$}).pipe(E(function(b){if(b=b.getSubscription())return Jta(b);throw Error("Se");}))};f.delete=function(a){return this.executor.delete({url:"action/slo_report_subscriptions/"+a,responseConstructor:mE}).pipe(E(function(){}))};N$.\u0275fac=function(a){return new (a||N$)(w(BC))};
N$.\u0275prov=nc({token:N$,factory:N$.\u0275fac,providedIn:"root"});var kod=function(a){this.timeZones=a;this.label="Time zone";this.timezoneId="";this.fullWidth=this.disabled=!1;this.timezoneIdChange=new tu;this.timeZoneOptions$=vpc(this.timeZones)};kod.\u0275fac=function(a){return new (a||kod)(D(RI))};
kod.\u0275cmp=zc({type:kod,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"),S(2),J(),H(3,"mat-select",1),O("ngModelChange",function(c){b.timezoneId!==c&&
(b.timezoneId=c,b.timezoneIdChange.emit(b.timezoneId))}),R(4,EJb,2,2,"mat-option",2),T(5,"async"),J()());a&2&&(Ie("full-width",b.fullWidth),C(2),Te(" ",b.label," "),C(1),G("disabled",b.disabled)("ngModel",b.timezoneId),C(1),G("ngForOf",U(5,6,b.timeZoneOptions$)))},dependencies:[Yy,Xy,CO,Ay,Su,tv,zv,Zu],styles:["[_nghost-%COMP%]     .mat-form-field-infix { width: fit-content; }","mat-form-field[_ngcontent-%COMP%] { font-size: 16px; }"]});var lod=["sloSubscriptionDialog"],O$=function(a,b,c,d,e,g,h,l){kE.call(this);var q=this;this.dateFormatter=a;this.api=b;this.currentUser=c;this.dialog=d;this.timeZones=e;this.confirmationDialogService=g;this.principalTypes=h;this.analytics=l;this.subscriptions$=new F.BehaviorSubject([]);this.isBasicMode$=this.subscriptions$.pipe(E(function(v){return 0===v.length||1===v.length&&v[0].lead.emailAddress===q.currentUser.email}));this.userSubscription$=this.subscriptions$.pipe(E(function(v){v=k(v);for(var y=
v.next();!y.done;y=v.next())if(y=y.value,y.lead.emailAddress===q.currentUser.email)return y;return{id:0,lead:q.currentUser.user,frequency:"weekly",ordinal:1,timeZone:{id:"America/Los_Angeles"},timeOfDay:mod[9].timeOfDay}}));this.isThinking$=new F.BehaviorSubject(!1);this.inputHasFocus=!1;this.frequencyOptions=nod;this.repeatOnOptions=new Map([["daily",[]],["weekly",WJb],["monthly",ood]]);this.DAILY="daily";this.repeatAtOptions$=(0,F.combineLatest)(mod.map(function(v){return q.dateFormatter.formatUserTime(v.date).pipe(E(function(y){return{timeOfDay:v.timeOfDay,
display:y}}))}));this.ceoSelected=this.dialogInvalidEmailFormat=!1;this.emailToUser=Yg;this.columns=["scope","frequency","actions"];this.frequencyDisplayMap=new Map(nod.map(function(v){return[v.frequency,v.display]}));this.timeZoneDisplayMap$=vpc(this.timeZones).pipe(ge(),E(function(v){return new Map(v.map(function(y){return[y.id,y.displayName]}))}),ne({bufferSize:1,refCount:!0}));this.hourOfDayDisplayMap$=this.repeatAtOptions$.pipe(ge(),E(function(v){return new Map(v.map(function(y){return[y.timeOfDay.hours,
y.display]}))}),ne({bufferSize:1,refCount:!0}));this.compareTimeOfDay=function(v,y){return v.hours===y.hours&&v.minutes===y.minutes&&v.seconds===y.seconds&&v.nanos===y.nanos}};V(O$,kE);O$.\u0275dir=kE.\u0275dir;O$.prototype.ngOnInit=function(){pod(this)};
var PJb=function(a){a.userSubscription$.pipe(ge(),pe(function(b){if(0===b.id)return a.analytics.trackEvent(Yl.SLO_REPORTS,"enableOwnSubscription"),a.api.create(b);a.analytics.trackEvent(Yl.SLO_REPORTS,"disableOwnSubscription");return a.api.delete(b.id)})).subscribe(function(){pod(a)})},pod=function(a){a.isThinking$.next(!0);a.api.list().pipe(ge()).subscribe(function(b){a.isThinking$.next(!1);a.subscriptions$.next(b)})},JJb=function(a,b){a.isThinking$.next(!0);a.api.update(b).subscribe(function(){a.analytics.trackEvent(Yl.SLO_REPORTS,
"editSubscription");pod(a)})},qod=function(a,b){a.isThinking$.next(!0);a.api.delete(b.id).subscribe(function(){a.analytics.trackEvent(Yl.SLO_REPORTS,"deleteSubscription");pod(a)})},$Jb=function(a,b){a.confirmationDialogService.open({title:"Delete a subscription",content:yl("You will no longer receive reports from '"+b.lead.emailAddress+"'."),confirmButtonText:"Delete",isDestructive:!0,onConfirm:function(){qod(a,b)}})};O$.prototype.setFrequency=function(a,b){b.frequency=a;mKb(a,b);JJb(this,b)};
var mKb=function(a,b){"daily"!==a?b.ordinal="weekly"===a?WJb[0].ordinal:ood[0].ordinal:delete b.ordinal};O$.prototype.setTimeZone=function(a,b){JJb(this,Object.assign({},b,{timeZone:Object.assign({},b.timeZone,{id:a})}))};
O$.prototype.openDialog=function(a){this.sloSubscriptionDialog&&(a||(a={id:0,frequency:"weekly",ordinal:1,timeZone:{id:"America/Los_Angeles"},timeOfDay:mod[9].timeOfDay}),this.ceoSelected=this.dialogInvalidEmailFormat=!1,this.dialogRef=this.dialog.open(this.sloSubscriptionDialog,{data:Gg(a),panelClass:"slo-report-subscription-dialog",width:"500px"}))};
var nKb=function(a,b){return Ld(function(c){if(1==c.nextAddress)return a.dialogRef&&void 0!==b.lead?c.yield(rod(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(Yl.SLO_REPORTS,"createSubscription");pod(a)}):JJb(a,b);a.dialogRef.close();Qd(c)})},rod=function(a,
b){var c;return Ld(function(d){if(1==d.nextAddress)return xl(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))})};O$.\u0275fac=function(a){return new (a||O$)(D(AK),D(N$),D(pI),D(Ly),D(RI),D(OI),D(jJ),D(AH))};
O$.\u0275cmp=zc({type:O$,selectors:[["b-slo-reports-settings"]],viewQuery:function(a,b){a&1&&jf(lod,7);if(a&2){var c;hf(c=lf())&&(b.sloSubscriptionDialog=c.first)}},features:[xe],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&&(R(0,RJb,12,3,"ng-container",0),T(1,"async"),H(2,"div",1)(3,"div",2)(4,"p",3),S(5,"Advanced settings"),J(),H(6,"p",4),S(7," Add subscriptions to receive other user's reports. "),H(8,"a",5),
S(9,"Learn more"),J()()(),H(10,"div",6)(11,"div",7)(12,"button",8),O("click",function(){return b.openDialog()}),T(13,"async"),S(14," Create subscription "),J()(),R(15,SJb,2,0,"ng-container",0),T(16,"async"),R(17,dKb,13,3,"ng-container",0),T(18,"async"),T(19,"async"),J()(),R(20,oKb,33,15,"ng-template",null,9,of));a&2&&(G("ngIf",U(1,4,b.isBasicMode$)),C(12),G("disabled",U(13,6,b.isThinking$)),C(3),G("ngIf",U(16,8,b.isThinking$)),C(2),G("ngIf",!U(18,10,b.isBasicMode$)&&!U(19,12,b.isThinking$)))},dependencies:[Su,
Tu,yy,jz,Af,tv,Mv,zv,My,Ny,Oy,Py,Vy,Yy,Wy,Xy,CO,Ay,az,eU,FL,xL,BL,yL,wL,CL,zL,AL,DL,EL,PA,NA,OA,kod,SL,$S,Zu],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}\n/*# 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}\n/*# sourceMappingURL=slo_reports_settings.css.map */"]});
var nod=[{frequency:"daily",display:"Daily"},{frequency:"weekly",display:"Weekly"},{frequency:"monthly",display:"Monthly"}],WJb=[{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"}],ood=[].concat(Jc(Array.from({length:31}).fill(0).keys())).map(function(a){return{ordinal:a+1,display:XJb(a+1)}}),mod=[].concat(Jc(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 P$=function(a,b,c,d){this.activeSession=a;this.location=b;this.routeParams=c;this.beapEnabled=iE(this.activeSession,"enableBeap");this.enableSloReportEmail=this.activeSession.isInternalSession()&&iE(this.activeSession,"enableSloReportEmail");this.selectedTabIndex=0;d.setTitle("Settings")};P$.prototype.ngAfterViewInit=function(){this.selectedTabIndex=sod(this,this.routeParams.settingsTab)};
P$.prototype.tabChange=function(a){var b,c,d=null==(b=this.tabs)?void 0:null==(c=b.get(a))?void 0:c.nativeElement.id;this.location.url(sya(d))};var sod=function(a,b){a=a.tabs.toArray().findIndex(function(c){return c.nativeElement.id===b});return 0>a?0:a};P$.\u0275fac=function(a){return new (a||P$)(D(rp),D(NG),D(qJ),D(SW))};
P$.\u0275cmp=zc({type:P$,selectors:[["b-settings"]],viewQuery:function(a,b){a&1&&jf(MM,5,fd);if(a&2){var c;hf(c=lf())&&(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),S(1,"Settings"),J(),H(2,"mat-tab-group",1),O("selectedIndexChange",function(c){return b.tabChange(c)}),H(3,"mat-tab",2)(4,"div",3),K(5,"b-general-settings"),J()(),H(6,"mat-tab",4)(7,"div",3),K(8,"b-notification-settings"),J()(),R(9,pKb,3,0,"mat-tab",5),R(10,qKb,3,0,"mat-tab",6),J());a&2&&(C(2),G("selectedIndex",b.selectedTabIndex),C(7),G("ngIf",b.enableSloReportEmail),C(1),G("ngIf",b.beapEnabled))},dependencies:[Tu,SM,NM,MM,bod,I$,J$,O$],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}\n/*# sourceMappingURL=settings.css.map */"],
changeDetection:0});var Q$=function(a,b,c,d,e,g,h,l,q){kE.call(this);this.cdr=a;this.routeParams=b;this.bLocation=c;this.pageTitle=d;this.userApi=e;this.bookmarkGroupsApi=g;this.paths=h;this.appEvents=q;this.isStarred=!1;this.bookmarkGroup=null;this.userEmail=l.getUserEmail()};V(Q$,kE);Q$.\u0275dir=kE.\u0275dir;f=Q$.prototype;
f.ngOnInit=function(){var a=this,b=function(c){a.bookmarkGroup=c;a.userIsAdmin=c.adminUsers.some(function(d){return d.emailAddress===a.userEmail});a.pageTitle.setTitle(c.name);a.cdr.detectChanges()};this.bookmarkGroupsApi.get(this.routeParams.groupId).then(b);this.userApi.getFavorite("BOOKMARK_GROUP",this.routeParams.groupId).then(function(){a.isStarred=!0;a.cdr.detectChanges()}).catch(function(){});this.subscriptions.add(this.appEvents.bookmarkGroupModified.subscribe(function(c){c&&a.bookmarkGroup&&
c.bookmarkGroupId==a.bookmarkGroup.bookmarkGroupId&&a.bookmarkGroupsApi.get(a.routeParams.groupId).then(b)}))};f.toggleStar=function(){var a=this;this.isStarred=!this.isStarred;var b=function(){a.appEvents.bookmarkGroupModified.next()};this.isStarred?this.userApi.saveFavorite({resourceType:"BOOKMARK_GROUP",resourceId:this.bookmarkGroup.bookmarkGroupId,userLogin:this.userEmail}).then(b):this.userApi.deleteFavorite({resourceType:"BOOKMARK_GROUP",resourceId:this.bookmarkGroup.bookmarkGroupId}).then(b)};
f.openEditBookmarkGroup=function(){this.bLocation.url(this.paths.editBookmarkGroup(this.bookmarkGroup.bookmarkGroupId))};f.getUserEmail=function(){return this.userEmail};f.isEditable=function(){return!!this.bookmarkGroup&&!!this.userIsAdmin};f.getUrl=function(a){switch(a.resourceType){case "SAVED_SEARCH":return this.paths.viewSavedSearch(a.savedSearchId);case "HOTLIST":return this.paths.viewHotlist(a.hotlistId);default:throw Error("Ue`"+a.resourceType);}};
f.getDisplayName=function(a){if(a.name)return a.name;switch(a.resourceType){case "SAVED_SEARCH":return"(Saved Search ID "+a.savedSearchId+")";case "HOTLIST":return"(Hotlist ID "+a.hotlistId+")";default:throw Error("Ue`"+a.resourceType);}};Q$.\u0275fac=function(a){return new (a||Q$)(D(wH,2),D(qJ),D(NG),D(SW),D(hH),D(KX),D(OG),D(rp),D(cG))};
Q$.\u0275cmp=zc({type:Q$,selectors:[["view-bookmark-group-page"]],features:[Xe([wH]),xe],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),S(1),J(),K(2,"div",1),H(3,"div",2),R(4,uKb,12,5,"div",3),J());a&2&&(C(1),Te("View Bookmark Group ",null==b.bookmarkGroup?null:b.bookmarkGroup.name,""),C(2),Ae("aria-busy",
!b.bookmarkGroup),C(1),G("ngIf",b.bookmarkGroup))},dependencies:[Su,Tu,yU,XA],encapsulation:2});var tod=function(){};tod.\u0275fac=function(a){return new (a||tod)};tod.\u0275mod=Bc({type:tod});tod.\u0275inj=oc({imports:[MF,GU,zC]});var R$=function(a,b,c,d,e,g,h,l,q,v,y,B,I,N,Q,Z,Y,ka,la,Da,za,Oa,Va,Ya,Xb,Bb,db,wa,Na,Qa,nb){l$.call(this,b,c,d,e,h,l,q,v,g,y,B,I,Q,Z,Y,ka,la,Da,Xb,za,Oa,wa,Na,Qa,nb);this.ngZone=a;this.hotlists=N;this.hotkeys=Va;this.pageTitle=Ya;this.userAccess=db;this.ANALYTICS_CATEGORY="hotlistIssues";this.canAppend=this.isAdmin=this.isStarred=!1;this.hotlist=null;this.isLoading=!0;this.repositioning=this.showHotlists=!1;this.hotlistId=Bb.hotlistId};V(R$,l$);R$.\u0275dir=l$.\u0275dir;
R$.prototype.ngOnInit=function(){var a=this;l$.prototype.ngOnInit.call(this);this.subscriptions.add(cM(this.hotkeys,{title:"Hotlist",hotkeys:[].concat(Jc(this.BASE_HOTKEYS),[{keys:[Kl("j")],displayAs:"Shift+j",description:"Move the current issue down (when sorting by POS)",onPress:function(){uod(a,1)}},{keys:[Kl("k")],displayAs:"Shift+k",description:"Move the current issue up (when sorting by POS)",onPress:function(){uod(a,-1)}}])}));this.subscriptions.add(this.appEvents.hotlistChanged.subscribe(function(b){b&&
Number(b.hotlistId)===Number(a.hotlistId)&&"view-hotlist"!==b.origin&&vod(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)};
R$.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)}};
R$.prototype.loadUserAccess=function(a){var b=this;JF(this.userAccess,"admin","hotlists/"+a).then(function(c){b.isAdmin=c},function(c){b.errorHandler.errorHandler(null,c)});JF(this.userAccess,"appender","hotlists/"+a).then(function(c){b.canAppend=c},function(c){b.errorHandler.errorHandler(null,c)})};
R$.prototype.getIssues=function(){var a=this;this.searchResults=null;this.isLoading=!0;eY(this.appSearchState,"hotlistid:"+this.hotlistId);var b=this.hotlist?Promise.resolve(this.hotlist):vod(this);return this.doSearch(b).finally(function(){a.isLoading=!1;a.cdr.detectChanges()})};
var vod=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};
R$.prototype.doSearch=function(a){var b=this,c="priority type title assignee status issueId modifiedTime".split(" ").map(lj),d="hotlistid:"+this.hotlistId,e=this.gridPreferencesFetcher.fetch({resultsPerPage:25,page:1,sortColumns:[],displayColumns:c,query:d},a.then(function(g){return{query:null,displayColumn:g.displayColumn,sortOrder:g.sortOrder}}));a=e.searchPreferences.then(function(g){g=Gg(g);g.query=d;g.returnUrl=b.bLocation.url();g.hotlistId=b.hotlistId;g.trackerIds=b.appSearchState.currentTrackerScope;
return TQc(b.issuePagination,g)});a.then(function(g){Wmd(b,g)}).catch(function(g){"number"===typeof g?V0(b.urlPreferences,{page:g}):b.errorHandler.errorHandler(null,g)});return Ql({searchResultsPage:a,displayColumns:e.displayColumns}).then(function(g){g=g.searchResultsPage;b.searchResults=g;b.page=g.params.page;b.sortPreferences=g.params.sortColumns||[];b.initColumns(e.displayColumns,wod(b)?xod:yod);b.loadHotlists()}).catch(function(){})};
var wod=function(a){return 0===a.sortPreferences.length||1===a.sortPreferences.length&&"POSITION"===a.sortPreferences[0].fieldId.type};R$.prototype.getCsvUrl=function(){return this.paths.hotlistIssuesCsvAction(this.hotlistId,this.appSearchState.currentTrackerScope,this.sortPreferences,this.displayColumns,this.showHotlists)};
R$.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 uod=function(a,b){if(a.searchResults&&!a.repositioning&&wod(a)){var c,d,e=null!=(d=null==(c=a.resultsGrid)?void 0:c.focusedRowIndex)?d:void 0;if(null!=e&&(c=e+b,d=a.searchResults.issues.length,0<=c&&c<d)){if(1===b){var g;null==(g=a.resultsGrid)||iYc(g)}else if(-1===b){var h;null==(h=a.resultsGrid)||jYc(h)}a.repositionIssue(e,c,!0)}}};f=R$.prototype;
f.save=function(){var a=this;if(this.hotlist){var b=this.hotlist,c=this.urlPreferences.getDisplayColumns();if(c){var d=BBa(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}});WF(this.butterBar,"Saving changes to hotlist...");zod(this,b).then(function(e){WF(a.butterBar,'Saved changes to hotlist "'+
e.name+'".');V0(a.urlPreferences,{query:null,sortColumns:null,page:null,displayColumns:null});a.analytics.trackEvent(a.ANALYTICS_CATEGORY,"savedParams",d)})}};f.discardChanges=function(){this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"discardChanges");V0(this.urlPreferences,{query:null,sortColumns:null,page:null,displayColumns:null})};f.hasParamChanges=function(){return this.hotlist&&this.isEditable()?!(!this.urlPreferences.getSortColumns()&&!this.urlPreferences.getDisplayColumns()):!1};
f.isEditable=function(){return null!=this.hotlist&&this.isAdmin};f.isDirectAdmin=function(){return this.hotlist?Rg(this.hotlist.adminUsers).includes(this.currentUserEmail):!1};f.setSort=function(a,b){var c=this.getSort();"position"===a||c&&"position"===c.field?l$.prototype.setSort.call(this,a,b,!1):l$.prototype.setSort.call(this,a,b)};
var zod=function(a,b){return a.hotlistApi.updateMetadata(b.hotlistId,b).then(function(c){a.hotlist=c;Aod(a,c.hotlistId);return c},function(c){a.errorHandler.errorHandler(null,c);return Promise.reject(c)})},Aod=function(a,b){a.appEvents.hotlistChanged.next({hotlistId:b,origin:"view-hotlist"})};
R$.prototype.toggleStar=function(){var a=this;this.isStarred=!this.isStarred;var b=Mg(this.hotlistId),c=function(){Aod(a,b)};this.isStarred?this.userApi.saveFavorite({resourceType:"HOTLIST",resourceId:b,userLogin:this.currentUserEmail}).then(c):this.userApi.deleteFavorite({resourceType:"HOTLIST",resourceId:b}).then(c)};R$.prototype.openEditHotlist=function(){this.bLocation.url(this.paths.editHotlist(this.hotlistId))};var yod=[w0,x0,y0,pYc],xod=[w0,oYc,x0,y0,pYc];
R$.\u0275fac=function(a){return new (a||R$)(D(te),D(wH),D(zH),D(jE),D(NG),D(rp),D(YF),D(FE),D(hH),D(ZG),D(VF),D(AH),D(dY),D(g1),D(yX),D(TI),D(U0),D(W0),D(OG),D(EF),D(cJ),D(rK),D(bM),D(SW),D(ZF),D(qJ),D(IF),D(cG),D(lH),D(IH),D(U1))};
R$.\u0275cmp=zc({type:R$,selectors:[["view-hotlist-page"]],features:[Xe([wH]),xe],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","init","focusedRowIndexChange","columnsChange","sortChange","rowClick","onRowDragDrop",
"onNextPage","onPrevPage"]],template:function(a,b){a&1&&(H(0,"div",0)(1,"b-grid-controls",1),O("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()}),J(),H(2,"div",2)(3,"b-pagination",3),O("pageChange",function(c){return b.goToPage(c.page)})("resultsPerPageChange",
function(c){return Ymd(b,c.option)}),J()()(),H(4,"div",4),R(5,EKb,9,7,"div",5),R(6,FKb,4,1,"div",6),R(7,GKb,2,2,"div",7),R(8,HKb,2,5,"div",8),J());a&2&&(C(1),G("grid",b.resultsGrid)("hotlistChoices",b.hotlistChoices)("showHotlistButtons",b.canAppend)("currentHotlistId",b.hotlistId)("isHotlistAdmin",b.isAdmin),C(2),G("searchResults",b.searchResults),C(1),Ae("aria-busy",b.isLoading),C(1),G("ngIf",!b.isInitializing),C(1),G("ngIf",b.isLoading),C(1),G("ngIf",!b.isLoading&&!b.hasResults()),C(1),G("ngIf",
!b.isLoading&&b.hasResults()))},dependencies:[B0,i1,yU,u0,XA,Tu,yy,SL,jV],encapsulation:2});var Bod=function(){};Bod.\u0275fac=function(a){return new (a||Bod)};Bod.\u0275mod=Bc({type:Bod});Bod.\u0275inj=oc({imports:[R0,k1,GU,f1,zC,MF,yN,kV,WB]});var S$=function(a,b,c,d,e,g,h,l,q,v,y,B,I,N,Q,Z,Y,ka,la,Da,za,Oa,Va,Ya,Xb,Bb,db,wa,Na,Qa){l$.call(this,a,b,c,d,g,h,l,v,e,y,B,I,N,Q,Z,Y,ka,la,Ya,Da,za,db,wa,Na,Qa);this.savedSearchApi=q;this.hotkeys=Oa;this.pageTitle=Va;this.userAccess=Bb;this.ANALYTICS_CATEGORY="savedSearchIssues";this.isAdmin=!1;this.savedSearch=null;this.isLoading=!0;this.showHotlists=!1;this.savedSearchId=Xb.savedSearchId};V(S$,l$);S$.\u0275dir=l$.\u0275dir;f=S$.prototype;
f.ngOnInit=function(){var a=this;l$.prototype.ngOnInit.call(this);this.subscriptions.add(cM(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(gSc(this.appSearchState,function(b){a.savedSearch?V0(a.urlPreferences,{query:b}):(b=a.paths.listIssues({q:b}),a.bLocation.url(b))}));this.loadUserAccess(this.savedSearchId)};f.loadUserAccess=function(a){var b=this;JF(this.userAccess,"admin","savedSearches/"+a).then(function(c){b.isAdmin=c;b.cdr.detectChanges()}).catch(function(c){b.errorHandler.errorHandler(null,c)})};
f.loadSavedSearch=function(){var a=this;this.savedSearch=null;var b=this.savedSearchApi.get(this.savedSearchId);b.then(function(c){a.savedSearch=c;a.pageTitle.setTitle(c.name)}).catch(function(c){a.errorHandler.errorHandler(null,c);a.savedSearch=null}).finally(function(){a.cdr.detectChanges()});return b};
f.getIssues=function(){var a=this,b=this.urlPreferences.getQuery()||"savedsearchid:"+this.savedSearchId;eY(this.appSearchState,b);this.searchResults=null;this.isLoading=!0;this.isInitializing=!1;b=this.savedSearch?Promise.resolve(this.savedSearch):this.loadSavedSearch();return this.doSearch(b).finally(function(){a.isLoading=!1;a.cdr.detectChanges()})};
f.doSearch=function(a){var b=this;a=this.gridPreferencesFetcher.fetch({resultsPerPage:25,page:1,query:"",sortColumns:[],displayColumns:Qmd(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;eY(b.appSearchState,d.query);b.exitLink=b.paths.listIssues({q:d.query});b.cdr.detectChanges();d=Gg(d);d.returnUrl=b.bLocation.url();d.trackerIds=b.appSearchState.currentTrackerScope;
return TQc(b.issuePagination,d)});c.then(function(d){Wmd(b,d)}).catch(function(d){"number"===typeof d?V0(b.urlPreferences,{page:d}):d&&b.errorHandler.errorHandler(null,d)});this.initColumns(a.displayColumns);return Ql({searchResultsPage:c,displayColumns:a.displayColumns}).then(function(d){d=d.searchResultsPage;b.searchResults=d;b.page=d.params.page;b.sortPreferences=d.params.sortColumns||[];b.loadHotlists();b.cdr.detectChanges()}).catch(function(){})};
f.isEditable=function(){return!!this.savedSearch&&this.isAdmin};f.getCsvUrl=function(){return this.paths.issuesCsvAction(this.searchParams.query,this.appSearchState.currentTrackerScope,this.sortPreferences,this.displayColumns,this.showHotlists)};
f.save=function(){var a=this,b=this.urlPreferences.getDisplayColumns();b&&(this.savedSearch.displayColumn=b);if(b=this.urlPreferences.getSortColumns())this.savedSearch.sortOrder=b.map(function(c){return{direction:c.direction,field:c.fieldId}});this.savedSearch.query=this.urlPreferences.getQuery()||this.savedSearch.query;WF(this.butterBar,"Saving changes to search...");this.savedSearchApi.update(this.savedSearch.searchId,this.savedSearch).then(function(c){WF(a.butterBar,'Saved changes to search "'+
c.name+'".');a.savedSearch=c;V0(a.urlPreferences,{query:null,sortColumns:null,page:null,displayColumns:null});a.analytics.trackEvent(a.ANALYTICS_CATEGORY,"savedParams");a.cdr.detectChanges()}).catch(function(c){a.errorHandler.errorHandler(null,c)})};f.discardChanges=function(){this.analytics.trackEvent(this.ANALYTICS_CATEGORY,"discardChanges");V0(this.urlPreferences,{query:null,sortColumns:null,page:null,displayColumns:null})};
f.hasParamChanges=function(){return this.savedSearch&&this.isEditable()?!!(this.urlPreferences.getQuery()&&this.urlPreferences.getQuery()!==this.savedSearch.query||this.urlPreferences.getSortColumns()||this.urlPreferences.getDisplayColumns()):!1};f.openEditSavedSearch=function(){this.bLocation.url(this.paths.editSavedSearch(this.savedSearchId))};
S$.\u0275fac=function(a){return new (a||S$)(D(wH),D(zH),D(jE),D(NG),D(rp),D(YF),D(FE),D(hH),D(iU),D(ZG),D(VF),D(AH),D(dY),D(yX),D(TI),D(U0),D(W0),D(OG),D(EF),D(cJ),D(rK),D(bM),D(SW),D(ZF),D(qJ),D(IF),D(cG),D(lH),D(IH),D(U1))};
S$.\u0275cmp=zc({type:S$,selectors:[["view-saved-search-page"]],features:[Xe([wH]),xe],decls:9,vars:7,consts:[[1,"kd-appbar","kd-buttonbar"],[1,"bv2-edit-controls",3,"grid","hotlistChoices","init","onRefresh","onSave","onCreateHotlist","onLoadHotlist","onExportCsv"],[1,"bv2-appbar-right"],[3,"searchResults","pageChange","resultsPerPageChange"],[1,"bv2-view","bv2-view-savedsearch-grid"],[1,"bv2-view-savedsearch-title"],["class","bv2-view-savedsearch-title-text",4,"ngIf"],["class","bv2-view-savedsearch-save-form",
4,"ngIf"],[4,"ngIf"],[1,"bv2-view-savedsearch-title-text"],["role","heading","aria-level","3",4,"ngIf"],["role","heading","aria-level","3"],[3,"matTooltip"],["aria-label","Saved search settings","matTooltip","Saved search settings",1,"bv2-edit-icon","bv2-view-resource-edit-button",3,"click"],["matTooltip","Display preferences or search query have changed",4,"ngIf"],["matTooltip","Display preferences or search query have changed"],[1,"bv2-view-savedsearch-save-form"],["type","button","mat-flat-button",
"","matTooltip","Save changes to display preferences and search query",1,"gmat-button","medium",3,"click"],["type","button","mat-stroked-button","","matTooltip","Discard changes to display preferences and search query",1,"gmat-button","medium",3,"click"],[1,"bv2-view-savedsearch-exit-link"],["matTooltip","Show this search with your default display preferences",3,"href","click"],["class","bv2-view-loading",4,"ngIf"],["class","bv2-view-loading","tabindex","-1",3,"bFocus",4,"ngIf"],["class","bv2-grid-container",
4,"ngIf"],[1,"bv2-view-loading"],["tabindex","-1",1,"bv2-view-loading",3,"bFocus"],[1,"bv2-grid-container"],[3,"searchResults","focusedRowIndex","columns","enableColumnSaving","sort","init","focusedRowIndexChange","columnsChange","sortChange","rowClick","onNextPage","onPrevPage"]],template:function(a,b){a&1&&(H(0,"div",0)(1,"b-grid-controls",1),O("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()}),J(),H(2,"div",2)(3,"b-pagination",3),O("pageChange",function(c){return b.goToPage(c.page)})("resultsPerPageChange",function(c){return Ymd(b,c.option)}),J()()(),H(4,"div",4)(5,"div",5),R(6,MKb,4,3,"div",6),R(7,NKb,8,1,"div",7),J(),R(8,SKb,4,3,"div",8),J());a&2&&(C(1),G("grid",b.resultsGrid)("hotlistChoices",b.hotlistChoices),C(2),G("searchResults",b.searchResults),
C(1),Ae("aria-busy",b.isLoading),C(2),G("ngIf",!b.isInitializing),C(1),G("ngIf",b.hasParamChanges()),C(1),G("ngIf",b.savedSearch))},dependencies:[B0,i1,u0,Tu,yy,XA,SL,jV],encapsulation:2});var Cod=function(){};Cod.\u0275fac=function(a){return new (a||Cod)};Cod.\u0275mod=Bc({type:Cod});Cod.\u0275inj=oc({imports:[R0,k1,f1,MF,zC,yN,kV,WB]});var Dod=function(){};Dod.\u0275fac=function(a){return new (a||Dod)};
Dod.\u0275cmp=zc({type:Dod,selectors:[["tp-landing-page"]],decls:12,vars:2,consts:[[1,"tp-landing-page"],[1,"tp-title"],[1,"tp-title-text","gmat-headline-5"],[1,"tp-cta"],["href","http://go/task-mission-control","target","_blank",1,"tp-about-link"],["href","http://go/task-mission-control-feedback","mat-stroked-button","","color","primary","target","_blank",1,"tp-feedback"],[1,"tp-content"],[3,"isMyWork"]],template:function(a){a&1&&(H(0,"div",0)(1,"div",1)(2,"div",2),S(3,"My Work"),J(),H(4,"div",3)(5,
"a",4),S(6,"Learn more at go/task-mission-control"),J(),H(7,"a",5),S(8,"Give feedback"),J()()(),H(9,"div",6),K(10,"tp-task-section",7)(11,"tp-task-section",7),J()());a&2&&(C(10),G("isMyWork",!0),C(1),G("isMyWork",!1))},dependencies:[bX,UW,iy],styles:['.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-text-button-label-text-color:#000}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button.mat-primary[_ngcontent-%COMP%]{--mdc-text-button-label-text-color:#2196f3}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button.mat-accent[_ngcontent-%COMP%]{--mdc-text-button-label-text-color:#ff9800}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button.mat-warn[_ngcontent-%COMP%]{--mdc-text-button-label-text-color:#f44336}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-text-button-disabled-label-text-color:rgba(0,0,0,.38);--mdc-text-button-label-text-color:rgba(0,0,0,.38)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-filled-button-container-color:#fff;--mdc-filled-button-label-text-color:#000}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button.mat-primary[_ngcontent-%COMP%]{--mdc-filled-button-container-color:#2196f3;--mdc-filled-button-label-text-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button.mat-accent[_ngcontent-%COMP%]{--mdc-filled-button-container-color:#ff9800;--mdc-filled-button-label-text-color:#000}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button.mat-warn[_ngcontent-%COMP%]{--mdc-filled-button-container-color:#f44336;--mdc-filled-button-label-text-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-filled-button-disabled-container-color:rgba(0,0,0,.12);--mdc-filled-button-disabled-label-text-color:rgba(0,0,0,.38);--mdc-filled-button-container-color:rgba(0,0,0,.12);--mdc-filled-button-label-text-color:rgba(0,0,0,.38)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-protected-button-container-color:#fff;--mdc-protected-button-label-text-color:#000}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button.mat-primary[_ngcontent-%COMP%]{--mdc-protected-button-container-color:#2196f3;--mdc-protected-button-label-text-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button.mat-accent[_ngcontent-%COMP%]{--mdc-protected-button-container-color:#ff9800;--mdc-protected-button-label-text-color:#000}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button.mat-warn[_ngcontent-%COMP%]{--mdc-protected-button-container-color:#f44336;--mdc-protected-button-label-text-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-protected-button-disabled-container-color:rgba(0,0,0,.12);--mdc-protected-button-disabled-label-text-color:rgba(0,0,0,.38);--mdc-protected-button-container-color:rgba(0,0,0,.12);--mdc-protected-button-label-text-color:rgba(0,0,0,.38);--mdc-protected-button-container-elevation:0}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button[_ngcontent-%COMP%]{--mdc-outlined-button-outline-color:rgba(0,0,0,.12)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:#000}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button.mat-primary[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:#2196f3}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button.mat-accent[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:#ff9800}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button.mat-warn[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:#f44336}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:rgba(0,0,0,.38);--mdc-outlined-button-disabled-label-text-color:rgba(0,0,0,.38);--mdc-outlined-button-outline-color:rgba(0,0,0,.12);--mdc-outlined-button-disabled-outline-color:rgba(0,0,0,.12)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#000;--mat-mdc-button-ripple-color:rgba(0,0,0,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.04}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button.cdk-keyboard-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button.cdk-program-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button.cdk-keyboard-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button.cdk-program-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button.mat-primary[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#2196f3;--mat-mdc-button-ripple-color:rgba(33,150,243,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button.mat-accent[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#ff9800;--mat-mdc-button-ripple-color:rgba(255,152,0,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button.mat-warn[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#f44336;--mat-mdc-button-ripple-color:rgba(244,67,54,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#000;--mat-mdc-button-ripple-color:rgba(0,0,0,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.04}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button.cdk-keyboard-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button.cdk-program-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button.cdk-keyboard-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button.cdk-program-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button.mat-primary[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#fff;--mat-mdc-button-ripple-color:hsla(0,0%,100%,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button.mat-accent[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#000;--mat-mdc-button-ripple-color:rgba(0,0,0,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button.mat-warn[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#fff;--mat-mdc-button-ripple-color:hsla(0,0%,100%,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button.mat-mdc-button-base[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button.mat-mdc-button-base[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button.mat-mdc-button-base[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button.mat-mdc-button-base[_ngcontent-%COMP%]{height:28px;margin-top:0;margin-bottom:0}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mdc-button__touch[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mdc-button__touch[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mdc-button__touch[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mdc-button__touch[_ngcontent-%COMP%]{height:100%}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mat-mdc-button-touch-target[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-outlined-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mat-mdc-button-touch-target[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-raised-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mat-mdc-button-touch-target[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-unelevated-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mat-mdc-button-touch-target[_ngcontent-%COMP%]{display:none}.tp-landing-page[_ngcontent-%COMP%]   .mdc-button[_ngcontent-%COMP%]{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family,var(--mdc-typography-font-family,Roboto,"Helvetica Neue",sans-serif));font-size:var(--mdc-typography-button-font-size,14px);line-height:var(--mdc-typography-button-line-height,14px);font-weight:var(--mdc-typography-button-font-weight,500);letter-spacing:var(--mdc-typography-button-letter-spacing,normal);-webkit-text-decoration:var(--mdc-typography-button-text-decoration,none);-moz-text-decoration:var(--mdc-typography-button-text-decoration,none);text-decoration:var(--mdc-typography-button-text-decoration,none);text-transform:var(--mdc-typography-button-text-transform,none)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:inherit;--mat-mdc-button-persistent-ripple-color:#000;--mat-mdc-button-ripple-color:rgba(0,0,0,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.04}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button.cdk-keyboard-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button.cdk-program-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#6200ee;--mat-mdc-button-ripple-color:rgba(98,0,238,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#018786;--mat-mdc-button-ripple-color:rgba(1,135,134,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#b00020;--mat-mdc-button-ripple-color:rgba(176,0,32,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button.mat-primary[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:#2196f3;--mat-mdc-button-persistent-ripple-color:#2196f3;--mat-mdc-button-ripple-color:rgba(33,150,243,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button.mat-accent[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:#ff9800;--mat-mdc-button-persistent-ripple-color:#ff9800;--mat-mdc-button-ripple-color:rgba(255,152,0,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button.mat-warn[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:#f44336;--mat-mdc-button-persistent-ripple-color:#f44336;--mat-mdc-button-ripple-color:rgba(244,67,54,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button[disabled][disabled][_ngcontent-%COMP%]{--mdc-icon-button-icon-color:rgba(0,0,0,.38);--mdc-icon-button-disabled-icon-color:rgba(0,0,0,.38)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button.mat-mdc-button-base[_ngcontent-%COMP%]{--mdc-icon-button-state-layer-size:40px;width:var(--mdc-icon-button-state-layer-size);height:var(--mdc-icon-button-state-layer-size);padding:8px}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-icon-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mat-mdc-button-touch-target[_ngcontent-%COMP%]{display:none}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-fab[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-mini-fab[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#000;--mat-mdc-button-ripple-color:rgba(0,0,0,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-fab[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-mini-fab[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.04}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-fab.cdk-keyboard-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-fab.cdk-program-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-mini-fab.cdk-keyboard-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-mini-fab.cdk-program-focused[_ngcontent-%COMP%]   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-fab[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-mini-fab[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.12}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-fab.mat-primary[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-mini-fab.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#fff;--mat-mdc-button-ripple-color:hsla(0,0%,100%,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-fab.mat-accent[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-mini-fab.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#000;--mat-mdc-button-ripple-color:rgba(0,0,0,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-fab.mat-warn[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-mini-fab.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#fff;--mat-mdc-button-ripple-color:hsla(0,0%,100%,.1)}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-fab.mat-unthemed[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-mini-fab.mat-unthemed[_ngcontent-%COMP%]{--mdc-fab-container-color:#fff;--mdc-fab-icon-color:#000;--mat-mdc-fab-color:#000}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-fab.mat-primary[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-mini-fab.mat-primary[_ngcontent-%COMP%]{--mdc-fab-container-color:#2196f3;--mdc-fab-icon-color:#fff;--mat-mdc-fab-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-fab.mat-accent[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-mini-fab.mat-accent[_ngcontent-%COMP%]{--mdc-fab-container-color:#ff9800;--mdc-fab-icon-color:#000;--mat-mdc-fab-color:#000}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-fab.mat-warn[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-mini-fab.mat-warn[_ngcontent-%COMP%]{--mdc-fab-container-color:#f44336;--mdc-fab-icon-color:#fff;--mat-mdc-fab-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-fab[disabled][disabled][_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .mat-mdc-mini-fab[disabled][disabled][_ngcontent-%COMP%]{--mdc-fab-container-color:rgba(0,0,0,.12);--mdc-fab-icon-color:rgba(0,0,0,.38);--mat-mdc-fab-color:rgba(0,0,0,.38)}.tp-landing-page[_ngcontent-%COMP%]   .mdc-fab--extended[_ngcontent-%COMP%]{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family,var(--mdc-typography-font-family,Roboto,"Helvetica Neue",sans-serif));font-size:var(--mdc-typography-button-font-size,14px);line-height:var(--mdc-typography-button-line-height,14px);font-weight:var(--mdc-typography-button-font-weight,500);letter-spacing:var(--mdc-typography-button-letter-spacing,normal);-webkit-text-decoration:var(--mdc-typography-button-text-decoration,none);-moz-text-decoration:var(--mdc-typography-button-text-decoration,none);text-decoration:var(--mdc-typography-button-text-decoration,none);text-transform:var(--mdc-typography-button-text-transform,none)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-button-base[_ngcontent-%COMP%]{font-family:Google Sans,Roboto,Arial,sans-serif;font-size:.875rem;letter-spacing:.0107142857em;font-weight:500;text-transform:none}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-button-base[_ngcontent-%COMP%]   .mdc-button__ripple[_ngcontent-%COMP%]{height:100%;position:absolute;overflow:hidden;width:100%;z-index:0}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:hover   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.16}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:focus   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:focus   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.24}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:active   .mat-mdc-button-persistent-ripple[_ngcontent-%COMP%]:before{opacity:.2}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-button[_ngcontent-%COMP%]:not(:disabled):hover{color:var(--mdc-text-button-hover-label-text-color,#202124)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-button[_ngcontent-%COMP%]:not(:disabled).mdc-ripple-upgraded--background-focused, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-button[_ngcontent-%COMP%]:not(:disabled):not(.mdc-ripple-upgraded):focus{color:var(--mdc-text-button-focus-label-text-color,#202124)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-button.mat-unthemed[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#5f6368;--mat-mdc-button-ripple-color:rgba(95,99,104,.1);--mdc-text-button-label-text-color:#5f6368}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#1e88e5;--mat-mdc-button-ripple-color:rgba(30,136,229,.1);--mdc-text-button-label-text-color:#1e88e5;--mdc-text-button-focus-label-text-color:#0d47a1;--mdc-text-button-hover-label-text-color:#0d47a1}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#fb8c00;--mat-mdc-button-ripple-color:rgba(251,140,0,.1);--mdc-text-button-label-text-color:#fb8c00;--mdc-text-button-focus-label-text-color:#e65100;--mdc-text-button-hover-label-text-color:#e65100}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#e53935;--mat-mdc-button-ripple-color:rgba(229,57,53,.1);--mdc-text-button-label-text-color:#e53935;--mdc-text-button-focus-label-text-color:#b71c1c;--mdc-text-button-hover-label-text-color:#b71c1c}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-button[disabled][_ngcontent-%COMP%]{--mdc-text-button-disabled-label-text-color:rgba(60,64,67,.38);--mdc-text-button-label-text-color:rgba(60,64,67,.38)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]{-webkit-transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1);transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix){padding:0 24px 0 24px}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:not([disabled]):hover{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 1px 3px 1px rgba(60,64,67,.15)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:not([disabled]):hover   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:not([disabled]):active{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 2px 6px 2px rgba(60,64,67,.15)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button[_ngcontent-%COMP%]:not([disabled]):active   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button.mat-unthemed[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#5f6368;--mat-mdc-button-ripple-color:rgba(95,99,104,.1);--mdc-filled-button-container-color:#fff;--mdc-filled-button-label-text-color:#5f6368}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#202124;--mat-mdc-button-ripple-color:rgba(32,33,36,.1);--mdc-filled-button-container-color:#1e88e5;--mdc-filled-button-label-text-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#202124;--mat-mdc-button-ripple-color:rgba(32,33,36,.1);--mdc-filled-button-container-color:#fb8c00;--mdc-filled-button-label-text-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#202124;--mat-mdc-button-ripple-color:rgba(32,33,36,.1);--mdc-filled-button-container-color:#e53935;--mdc-filled-button-label-text-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button[disabled][_ngcontent-%COMP%]{--mdc-filled-button-disabled-label-text-color:rgba(60,64,67,.38);--mdc-filled-button-label-text-color:rgba(60,64,67,.38);--mdc-filled-button-disabled-container-color:rgba(60,64,67,.12);--mdc-filled-button-container-color:rgba(60,64,67,.12)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]{-webkit-transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1);transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix){padding:0 24px 0 24px}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]){box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 1px 3px 1px rgba(60,64,67,.15)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled])   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]):hover{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 1px 3px 1px rgba(60,64,67,.15)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]):hover   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]):active, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]):focus{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 2px 6px 2px rgba(60,64,67,.15)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]):active   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]):focus   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button.mat-unthemed[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#5f6368;--mat-mdc-button-ripple-color:rgba(95,99,104,.1);--mdc-protected-button-container-color:#fff;--mdc-protected-button-label-text-color:#5f6368}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#202124;--mat-mdc-button-ripple-color:rgba(32,33,36,.1);--mdc-protected-button-container-color:#1e88e5;--mdc-protected-button-label-text-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#202124;--mat-mdc-button-ripple-color:rgba(32,33,36,.1);--mdc-protected-button-container-color:#fb8c00;--mdc-protected-button-label-text-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#202124;--mat-mdc-button-ripple-color:rgba(32,33,36,.1);--mdc-protected-button-container-color:#e53935;--mdc-protected-button-label-text-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[disabled][_ngcontent-%COMP%]{--mdc-protected-button-disabled-label-text-color:rgba(60,64,67,.38);--mdc-protected-button-label-text-color:rgba(60,64,67,.38);--mdc-protected-button-disabled-container-color:rgba(60,64,67,.12);--mdc-protected-button-container-color:rgba(60,64,67,.12)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]{-webkit-transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1);transition:border .28s cubic-bezier(.4,0,.2,1),box-shadow .28s cubic-bezier(.4,0,.2,1);--mat-mdc-button-persistent-ripple-color:#5f6368;--mat-mdc-button-ripple-color:rgba(95,99,104,.1);--mdc-outlined-button-outline-color:#dadce0;--mdc-outlined-button-label-text-color:#5f6368}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(:disabled):hover{color:var(--mdc-outlined-button-hover-label-text-color,#202124)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(:disabled).mdc-ripple-upgraded--background-focused, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(:disabled):not(.mdc-ripple-upgraded):focus{color:var(--mdc-outlined-button-focus-label-text-color,#202124)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(:disabled).mdc-ripple-upgraded--background-focused, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(:disabled):not(.mdc-ripple-upgraded):focus{border-color:var(--mdc-outlined-button-focus-outline-color,#202124)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix){padding:0 23px 0 23px;border-width:1px}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix).mdc-button--icon-trailing{padding:0 11px 0 23px}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix).mdc-button--icon-leading{padding:0 23px 0 11px}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix)   .mdc-button__ripple[_ngcontent-%COMP%]{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:1px}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button[_ngcontent-%COMP%]:not(.gmat-mdc-button-with-prefix)   .mdc-button__touch[_ngcontent-%COMP%]{left:-1px;width:calc(100% + 2px)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#1e88e5;--mat-mdc-button-ripple-color:rgba(30,136,229,.1);--mdc-outlined-button-label-text-color:#1e88e5;--mdc-outlined-button-focus-label-text-color:#0d47a1;--mdc-outlined-button-hover-label-text-color:#0d47a1;--mdc-outlined-button-focus-outline-color:#0d47a1}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button.mat-accent[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#fb8c00;--mat-mdc-button-ripple-color:rgba(251,140,0,.1);--mdc-outlined-button-label-text-color:#fb8c00;--mdc-outlined-button-focus-label-text-color:#e65100;--mdc-outlined-button-hover-label-text-color:#e65100;--mdc-outlined-button-focus-outline-color:#e65100}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:#e53935;--mat-mdc-button-ripple-color:rgba(229,57,53,.1);--mdc-outlined-button-label-text-color:#e53935;--mdc-outlined-button-focus-label-text-color:#b71c1c;--mdc-outlined-button-hover-label-text-color:#b71c1c;--mdc-outlined-button-focus-outline-color:#b71c1c}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button[disabled][_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:rgba(60,64,67,.38);--mdc-outlined-button-disabled-label-text-color:rgba(60,64,67,.38);--mdc-outlined-button-outline-color:rgba(60,64,67,.12);--mdc-outlined-button-disabled-outline-color:rgba(60,64,67,.12)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-icon-button[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:#3c4043;--mat-mdc-button-persistent-ripple-color:#3c4043;--mat-mdc-button-ripple-color:rgba(60,64,67,.1)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-icon-button.mat-primary[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:#1e88e5;--mat-mdc-button-persistent-ripple-color:#1e88e5;--mat-mdc-button-ripple-color:rgba(30,136,229,.1)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-icon-button.mat-accent[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:#fb8c00;--mat-mdc-button-persistent-ripple-color:#fb8c00;--mat-mdc-button-ripple-color:rgba(251,140,0,.1)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-icon-button.mat-warn[_ngcontent-%COMP%]{--mdc-icon-button-icon-color:#e53935;--mat-mdc-button-persistent-ripple-color:#e53935;--mat-mdc-button-ripple-color:rgba(229,57,53,.1)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-icon-button[disabled][_ngcontent-%COMP%]{--mdc-icon-button-icon-color:rgba(60,64,67,.38);--mdc-icon-button-disabled-icon-color:rgba(60,64,67,.38)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-extended-fab[_ngcontent-%COMP%]{padding-left:24px;padding-right:24px}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-extended-fab[_ngcontent-%COMP%]   .mdc-fab__icon[_ngcontent-%COMP%]{margin-left:-8px;margin-right:16px}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-extended-fab[_ngcontent-%COMP%]   .mdc-fab__icon[dir=rtl][_ngcontent-%COMP%], [dir=rtl][_ngcontent-%COMP%]   .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-extended-fab[_ngcontent-%COMP%]   .mdc-fab__icon[_ngcontent-%COMP%]{margin-left:16px;margin-right:-8px}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-extended-fab[_ngcontent-%COMP%]   .mdc-fab__label[_ngcontent-%COMP%] + .mdc-fab__icon[_ngcontent-%COMP%]{margin-left:16px;margin-right:-8px}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-extended-fab[_ngcontent-%COMP%]   .mdc-fab__label[_ngcontent-%COMP%] + .mdc-fab__icon[dir=rtl][_ngcontent-%COMP%], [dir=rtl][_ngcontent-%COMP%]   .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-extended-fab[_ngcontent-%COMP%]   .mdc-fab__label[_ngcontent-%COMP%] + .mdc-fab__icon[_ngcontent-%COMP%]{margin-left:-8px;margin-right:16px}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]), .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):focus, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]), .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):focus{box-shadow:0 1px 3px 0 rgba(60,64,67,.3),0 4px 8px 3px rgba(60,64,67,.15)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled])   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):focus   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled])   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):focus   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):hover, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):hover{box-shadow:0 2px 3px 0 rgba(60,64,67,.3),0 6px 10px 4px rgba(60,64,67,.15)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):hover   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):hover   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):active, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):focus:active, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):active, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):focus:active{box-shadow:0 4px 4px 0 rgba(60,64,67,.3),0 8px 12px 6px rgba(60,64,67,.15)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):active   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]):focus:active   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):active   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]):focus:active   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 1px 3px 1px rgba(60,64,67,.15)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:hover, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:hover{box-shadow:0 1px 2px 0 rgba(60,64,67,.3),0 2px 6px 2px rgba(60,64,67,.15)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:hover   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:hover   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:active, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus:active, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:active, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus:active{box-shadow:0 1px 3px 0 rgba(60,64,67,.3),0 4px 8px 3px rgba(60,64,67,.15)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:active   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus:active   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:active   .mdc-elevation-overlay[_ngcontent-%COMP%], .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-lowered:focus:active   .mdc-elevation-overlay[_ngcontent-%COMP%]{opacity:0}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-unthemed.gmat-mdc-fab-outline, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-unthemed.gmat-mdc-fab-outline{--mdc-fab-container-color:#fff;--mat-mdc-button-persistent-ripple-color:#3c4043;--mat-mdc-button-ripple-color:rgba(60,64,67,.1)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill{--mdc-fab-container-color:#1e88e5;--mdc-fab-icon-color:#fff;--mat-mdc-button-persistent-ripple-color:rgba(0,0,0,.87);--mat-mdc-button-ripple-color:rgba(0,0,0,.1);--mat-mdc-fab-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline{--mdc-fab-container-color:#fff;--mdc-fab-icon-color:#1e88e5;--mat-mdc-button-persistent-ripple-color:#1e88e5;--mat-mdc-button-ripple-color:rgba(30,136,229,.1);--mat-mdc-fab-color:#1e88e5}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-accent.gmat-mdc-fab-fill, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-accent.gmat-mdc-fab-fill{--mdc-fab-container-color:#fb8c00;--mdc-fab-icon-color:#fff;--mat-mdc-button-persistent-ripple-color:rgba(0,0,0,.87);--mat-mdc-button-ripple-color:rgba(0,0,0,.1);--mat-mdc-fab-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-accent.gmat-mdc-fab-outline, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-accent.gmat-mdc-fab-outline{--mdc-fab-container-color:#fff;--mdc-fab-icon-color:#fb8c00;--mat-mdc-button-persistent-ripple-color:#fb8c00;--mat-mdc-button-ripple-color:rgba(251,140,0,.1);--mat-mdc-fab-color:#fb8c00}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-warn.gmat-mdc-fab-fill, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-warn.gmat-mdc-fab-fill{--mdc-fab-container-color:#e53935;--mdc-fab-icon-color:#fff;--mat-mdc-button-persistent-ripple-color:rgba(0,0,0,.87);--mat-mdc-button-ripple-color:rgba(0,0,0,.1);--mat-mdc-fab-color:#fff}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-warn.gmat-mdc-fab-outline, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-warn.gmat-mdc-fab-outline{--mdc-fab-container-color:#fff;--mdc-fab-icon-color:#e53935;--mat-mdc-button-persistent-ripple-color:#e53935;--mat-mdc-button-ripple-color:rgba(229,57,53,.1);--mat-mdc-fab-color:#e53935}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded{--mdc-fab-container-color:#fff;--mdc-fab-icon-color:#424242;--mat-mdc-button-persistent-ripple-color:#1a73e8;--mat-mdc-button-ripple-color:rgba(26,115,232,.1);--mat-mdc-fab-color:#424242;padding-top:2px;padding-right:24px;padding-bottom:2px;padding-left:24px}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled).mdc-ripple-upgraded--background-focused, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled):not(.mdc-ripple-upgraded):focus, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled).mdc-ripple-upgraded--background-focused, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled):not(.mdc-ripple-upgraded):focus{border-style:solid;border-width:2px;padding-top:2px;padding-right:22px;padding-bottom:2px;padding-left:22px}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled).mdc-ripple-upgraded--background-focused, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled):not(.mdc-ripple-upgraded):focus, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled).mdc-ripple-upgraded--background-focused, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:not(:disabled):not(.mdc-ripple-upgraded):focus{border-color:#4285f4}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:focus, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:hover, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:focus, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).gmat-mdc-fab-branded:hover{--mat-mdc-fab-color:#174ea6}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-button.mat-unthemed[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:var(--text-default);--mdc-text-button-label-text-color:var(--text-default);--mdc-text-button-focus-label-text-color:var(--text-default);--mdc-text-button-hover-label-text-color:var(--text-default)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:var(--primary-default);--mdc-text-button-label-text-color:var(--primary-default);--mdc-text-button-focus-label-text-color:var(--primary-default);--mdc-text-button-hover-label-text-color:var(--primary-default)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:var(--warn-default);--mdc-text-button-label-text-color:var(--warn-default);--mdc-text-button-focus-label-text-color:var(--warn-default);--mdc-text-button-hover-label-text-color:var(--warn-default)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-button[disabled][_ngcontent-%COMP%]{--mdc-text-button-disabled-label-text-color:var(\n    --button-disabled-text\n  );--mdc-text-button-label-text-color:var(--button-disabled-text)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:var(--text-default);--mdc-outlined-button-focus-label-text-color:var(--text-default);--mdc-outlined-button-hover-label-text-color:var(--text-default);--mdc-outlined-button-outline-color:var(--hairline);--mdc-outlined-button-focus-outline-color:var(--text-default)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button.mat-primary[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:var(--primary-default);--mdc-outlined-button-label-text-color:var(--primary-default);--mdc-outlined-button-focus-label-text-color:var(--primary-default);--mdc-outlined-button-hover-label-text-color:var(--primary-default);--mdc-outlined-button-outline-color:var(--hairline);--mdc-outlined-button-focus-outline-color:var(--primary-default)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button.mat-warn[_ngcontent-%COMP%]{--mat-mdc-button-persistent-ripple-color:var(--warn-default);--mdc-outlined-button-label-text-color:var(--warn-default);--mdc-outlined-button-focus-label-text-color:var(--warn-default);--mdc-outlined-button-hover-label-text-color:var(--warn-default);--mdc-outlined-button-outline-color:var(--hairline);--mdc-outlined-button-focus-outline-color:var(--warn-default)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-outlined-button[disabled][_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:var(--button-disabled-text);--mdc-outlined-button-disabled-label-text-color:var(\n    --button-disabled-text\n  );--mdc-outlined-button-outline-color:var(--button-disabled-text);--mdc-outlined-button-disabled-outline-color:var(\n    --button-disabled-text\n  )}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-filled-button-container-color:var(--button-raised-bg);--mdc-filled-button-label-text-color:var(--text-default)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button.mat-primary[_ngcontent-%COMP%]{--mdc-filled-button-container-color:var(--primary-default);--mdc-filled-button-label-text-color:var(--text-inverse)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button.mat-warn[_ngcontent-%COMP%]{--mdc-filled-button-container-color:var(--warn-default);--mdc-filled-button-label-text-color:var(--text-inverse)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-unelevated-button[disabled][_ngcontent-%COMP%]{--mdc-filled-button-disabled-label-text-color:var(\n    --button-disabled-text\n  );--mdc-filled-button-label-text-color:var(--button-disabled-text);--mdc-filled-button-disabled-container-color:var(--button-disabled-bg);--mdc-filled-button-container-color:var(--button-disabled-bg)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button.mat-unthemed[_ngcontent-%COMP%]{--mdc-protected-button-container-color:var(--button-raised-bg);--mdc-protected-button-label-text-color:var(--text-default)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button.mat-primary[_ngcontent-%COMP%]{--mdc-protected-button-container-color:var(--primary-default);--mdc-protected-button-label-text-color:var(--text-inverse)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button.mat-warn[_ngcontent-%COMP%]{--mdc-protected-button-container-color:var(--warn-default);--mdc-protected-button-label-text-color:var(--text-inverse)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[disabled][_ngcontent-%COMP%]{--mdc-protected-button-disabled-label-text-color:var(\n    --button-disabled-text\n  );--mdc-protected-button-label-text-color:var(--button-disabled-text);--mdc-protected-button-disabled-container-color:var(\n    --button-disabled-bg\n  );--mdc-protected-button-container-color:var(--button-disabled-bg)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button.mat-primary[_ngcontent-%COMP%]:not([disabled]), .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button.mat-unthemed[_ngcontent-%COMP%]:not([disabled]), .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-raised-button[_ngcontent-%COMP%]:not([disabled]){box-shadow:0 1px 2px 0 var(--elevation),0 1px 3px 1px var(--elevation)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-icon-button[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{color:var(--text-default)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-icon-button.mat-primary[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{color:var(--primary-default)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-icon-button.mat-warn[_ngcontent-%COMP%]   .mat-icon[_ngcontent-%COMP%]{color:var(--warn-default)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-icon-button[_ngcontent-%COMP%]:disabled   .mat-icon[_ngcontent-%COMP%]{color:var(--button-disabled-text)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline.mat-mdc-extended-fab, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline{color:var(--primary-default);background-color:var(--button-raised-bg);box-shadow:0 1px 2px 0 var(--elevation),0 2px 6px 2px var(--elevation)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline.mat-mdc-extended-fab:hover, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline:hover, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline:hover{box-shadow:0 2px 3px 0 var(--elevation),0 6px 10px 4px var(--elevation)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline.mat-mdc-extended-fab:active, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline.mat-mdc-extended-fab:not(.gm-focus-hidden):focus, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline:active, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline:not(.gm-focus-hidden):focus, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline:active, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-outline:not(.gm-focus-hidden):focus{box-shadow:0 1px 2px 0 var(--elevation),0 2px 6px 2px var(--elevation)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill.mat-mdc-extended-fab{color:var(--text-inverse);background-color:var(--primary-default);box-shadow:0 1px 2px 0 var(--elevation),0 2px 6px 2px var(--elevation)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill.mat-mdc-extended-fab:hover, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill:hover{box-shadow:0 2px 3px 0 var(--elevation),0 6px 10px 4px var(--elevation)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill.mat-mdc-extended-fab:active, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill.mat-mdc-extended-fab:not(.gm-focus-hidden):focus, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill:active, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-fill:not(.gm-focus-hidden):focus{box-shadow:0 1px 2px 0 var(--elevation),0 2px 6px 2px var(--elevation)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered{box-shadow:0 1px 2px 0 var(--elevation),0 1px 3px 1px var(--elevation)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered:hover, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered:hover{box-shadow:0 1px 2px 0 var(--elevation),0 2px 6px 2px var(--elevation)}.tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered:active, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered:not(.gm-focus-hidden):focus, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered:active, .tp-landing-page[_ngcontent-%COMP%]   .gmat-mdc-button.mat-mdc-mini-fab[_ngcontent-%COMP%]:not([disabled]).mat-primary.gmat-mdc-fab-lowered:not(.gm-focus-hidden):focus{box-shadow:0 1px 2px 0 var(--elevation),0 2px 6px 2px var(--elevation)}.tp-landing-page[_ngcontent-%COMP%]   .tp-title[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-moz-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;border-bottom:1px solid var(--hairline);height:2.25rem}.tp-landing-page[_ngcontent-%COMP%]   .tp-title[_ngcontent-%COMP%]   .tp-title-text[_ngcontent-%COMP%]{margin:0}.tp-landing-page[_ngcontent-%COMP%]   .tp-title[_ngcontent-%COMP%]   .tp-cta[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;gap:1.5rem}.tp-landing-page[_ngcontent-%COMP%]   .tp-title[_ngcontent-%COMP%]   .tp-cta[_ngcontent-%COMP%]   .tp-about-link[_ngcontent-%COMP%]{font-size:.8125rem}.tp-landing-page[_ngcontent-%COMP%]   .tp-title[_ngcontent-%COMP%]   .tp-cta[_ngcontent-%COMP%]   .tp-feedback[_ngcontent-%COMP%]{--mdc-outlined-button-label-text-color:var(--primary-high-contrast)}.tp-landing-page[_ngcontent-%COMP%]   .tp-content[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;gap:1rem}.tp-landing-page[_ngcontent-%COMP%]   .tp-content[_ngcontent-%COMP%]   tp-task-section[_ngcontent-%COMP%]{width:50%}']});var Eod={path:"issues/:issueId",component:V9,children:[{path:"",pathMatch:"full",component:h$},{path:"dependencies",component:v9},{path:"dupes",component:X9},{path:"blocking",component:k9},{path:"resources",component:Mmd}].concat(Jc(TKb("enableCodeMentionsUi",{path:"todos",component:j$})))},Fod=[{path:"",component:d8,canActivateGuards:[l8]},{path:"issues",component:m$},{path:"recent",component:n$}].concat(Jc(TKb("enableTaskPrioritization",{path:"work",component:Dod,canActivateGuards:[j8,k8]})),Jc(TKb("showNeedsAttentionUI",
{path:"attention",component:H$,canActivateGuards:[j8,k8]})),[{path:"issues/new",component:$8}],Jc(TKb("enableChromeWizard",{path:"issues/wizard",component:C8})),[Eod,{path:"components/all",component:H7},{path:"components",component:E8},{path:"components/new",component:H8},{path:"components/:componentId/edit",component:D$},{path:"components/:componentId",component:D$},{path:"components/:componentId/manage",component:D$},{path:"teams/:teamId/edit",component:E$},{path:"teams/:teamId",component:E$},{path:"bookmark-groups/new",
component:G8},{path:"bookmark-groups/:groupId",component:Q$},{path:"bookmark-groups/:groupId/edit",component:f9},{path:"hotlists/new",component:I8},{path:"hotlists/:hotlistId",component:R$},{path:"hotlists/:hotlistId/edit",component:J0},{path:"slos/new",component:b9},{path:"slos/:sloId",component:j9},{path:"slos/:sloId/edit",component:j9},{path:"savedsearches/:savedSearchId/edit",component:g9},{path:"hotlists",component:k$},{path:"slos",component:$md},{path:"savedsearches/:savedSearchId",component:S$},
{path:"dashboard/:groupId",component:d9},{path:"settings/:settingsTab?",component:P$},{path:"settings",component:P$}],Jc(TKb("enableHomepageVariantA",{path:"dash",component:fX})),[{path:"**",component:d8,canActivateGuards:[l8]}]);var T$=function(){};T$.\u0275fac=function(a){return new (a||T$)};T$.\u0275mod=Bc({type:T$});T$.\u0275inj=oc({imports:[MF,YA,mN,MG,WB]});var God=function(){};God.\u0275fac=function(a){return new (a||God)};God.\u0275mod=Bc({type:God});God.\u0275inj=oc({imports:[MF,YA,EO,cN,VO,T$]});var Hod=function(){};Hod.\u0275fac=function(a){return new (a||Hod)};Hod.\u0275mod=Bc({type:Hod});Hod.\u0275inj=oc({imports:[uN,MF,WB,YA,hX,cN,zC,F8,MG,tN]});var Iod=function(){};Iod.\u0275fac=function(a){return new (a||Iod)};Iod.\u0275mod=Bc({type:Iod});Iod.\u0275inj=oc({imports:[MF,fM,WB,Qy]});var U$=function(){};U$.\u0275fac=function(a){return new (a||U$)};U$.\u0275mod=Bc({type:U$});U$.\u0275inj=oc({imports:[MF,WB,QA,YA,MG]});var Jod=function(){};Jod.\u0275fac=function(a){return new (a||Jod)};Jod.\u0275mod=Bc({type:Jod});Jod.\u0275inj=oc({imports:[UO,MF,old,fM,U$,WB,mU,YA,QA,zC,y1,e1,NU,Iod]});var Kod=function(){};Kod.\u0275fac=function(a){return new (a||Kod)};Kod.\u0275mod=Bc({type:Kod});Kod.\u0275inj=oc({imports:[MF,fM,WB,YA,zC]});var Lod=function(){};Lod.\u0275fac=function(a){return new (a||Lod)};Lod.\u0275mod=Bc({type:Lod});Lod.\u0275inj=oc({imports:[MF,YA,KO,cN]});var Mod=function(){};Mod.\u0275fac=function(a){return new (a||Mod)};Mod.\u0275mod=Bc({type:Mod});Mod.\u0275inj=oc({imports:[Lod,MF,zC,zO,MU,YA,WB,yN,MO,e1]});var Nod=function(){};Nod.\u0275fac=function(a){return new (a||Nod)};Nod.\u0275mod=Bc({type:Nod});Nod.\u0275inj=oc({imports:[God,uN,MF,Hod,lZ,fM,cN,nN,JU,T$,WB,mU,YA,zC,MG,GU,pN,iX,Kod,Jod,Mod]});var Ood=function(){};Ood.\u0275fac=function(a){return new (a||Ood)};Ood.\u0275mod=Bc({type:Ood});Ood.\u0275inj=oc({imports:[MF,WB]});var V$=function(){};V$.\u0275fac=function(a){return new (a||V$)};V$.\u0275mod=Bc({type:V$});V$.\u0275inj=oc({imports:[MF,bN,WB,YA,zC]});var W$=function(){};W$.\u0275fac=function(a){return new (a||W$)};W$.\u0275mod=Bc({type:W$});W$.\u0275inj=oc({imports:[gv]});var Pod=function(){};Pod.\u0275fac=function(a){return new (a||Pod)};Pod.\u0275mod=Bc({type:Pod});Pod.\u0275inj=oc({imports:[gv,Qv,B7,W$]});var Qod=function(){};Qod.\u0275fac=function(a){return new (a||Qod)};Qod.\u0275mod=Bc({type:Qod});Qod.\u0275inj=oc({imports:[MF,TO,Pod]});var Rod=function(){};Rod.\u0275fac=function(a){return new (a||Rod)};Rod.\u0275mod=Bc({type:Rod});Rod.\u0275inj=oc({imports:[HJ,KZ,MF,OZ,IZ,D7,A7,fM,cN,U$,VO,G7,MZ,Cld,YA,zC,yO,i7,Qod,LO,kY,XB]});var X$=function(){};X$.\u0275fac=function(a){return new (a||X$)};X$.\u0275mod=Bc({type:X$});X$.\u0275inj=oc({imports:[Hw,Uw,Qv,Rv,MG,WB,Qy,RM,zN,Dx,zC,CX,yO,Nod,T5,e1,MO,EO,Rod,Sld,V$,Ood]});var Sod=function(){};Sod.\u0275fac=function(a){return new (a||Sod)};Sod.\u0275mod=Bc({type:Sod});Sod.\u0275inj=oc({imports:[MF,J7]});var Tod=function(){};Tod.\u0275fac=function(a){return new (a||Tod)};Tod.\u0275mod=Bc({type:Tod});Tod.\u0275inj=oc({imports:[Hw,Uw,Qv,Rv,MG,WB,RM,zN,yO,UO,X$,Lmd,bld,l9,Tld,Sod,Nmd]});var Uod=Fod.map(function(a){return{path:a.path,component:a.component,canDeactivate:[sP],canActivate:[g8,i8].concat(Jc(a.canActivateGuards||[])),children:a.children,isRootRoute:!0}});Uod.push({path:"**",canActivate:["dontActivate"],component:d8,isRootRoute:!0});var Vod=bk().appBaseHref,Wod,Y$={initialNavigation:"disabled"},Xod={provide:cmc,useFactory:function(){return"guarded"},deps:[[GG,new Ot,new Pt]]},Yod;
Yod=(null==Y$?0:Y$.preloadingStrategy)?BAa(0,[{provide:bmc,useExisting:KG},{provide:Slc,useExisting:Y$.preloadingStrategy}]).\u0275providers:[];var Zod;
(null==Y$?0:Y$.initialNavigation)?Zod=["disabled"===Y$.initialNavigation?BAa(3,[{provide:kWb,multi:!0,useFactory:function(){var a=wc(GG);return function(){Glc(a)}}},{provide:amc,useValue:2}]).\u0275providers:[],"enabledBlocking"===Y$.initialNavigation?BAa(2,[{provide:amc,useValue:0},{provide:kWb,multi:!0,deps:[Qt],useFactory:function(a){var b=a.get(tYb,Promise.resolve());return function(){return b.then(function(){return new Promise(function(c){var d=a.get(GG),e=a.get($lc);yAa(d,function(){c(!0)});
a.get(AG).afterPreactivation=function(){c(!0);return e.closed?(0,F.of)(void 0):e};d.initialNavigation()})})}}}]).\u0275providers:[]]:Zod=[];
Wod={ngModule:MG,providers:[dmc,[],{provide:slc,multi:!0,useValue:[]},Xod,{provide:Clc,useValue:Y$?Y$:{}},(null==Y$?0:Y$.useHash)?{provide:lv,useClass:nv}:{provide:lv,useClass:mv},{provide:Wlc,useFactory:function(){var a=wc(xYb),b=wc(te),c=wc(Clc),d=wc(AG),e=wc(sG);c.scrollOffset&&a.setOffset(c.scrollOffset);return new LG(e,d,a,b,c)}},Yod,{provide:HXb,multi:!0,useFactory:function(){return new HXb("Router",GG)}},Zod,(null==Y$?0:Y$.bindToComponentInputs)?BAa(8,[yG,{provide:Skc,useExisting:yG}]).\u0275providers:
[],[{provide:emc,useFactory:function(){var a=wc(Qt);return function(b){var c=a.get(Ju);if(b===c.components[0]){b=a.get(GG);var d=a.get($lc);1===a.get(amc)&&b.initialNavigation();var e;null==(e=a.get(bmc,null,8))||Tlc(e);var g;null==(g=a.get(Wlc,null,8))||g.init();c=c.componentTypes[0];b.routerState.root.component=c;b.navigationTransitions.rootComponentType=c;d.closed||(d.next(),d.complete(),d.unsubscribe())}}}},{provide:GXb,multi:!0,useExisting:emc}]]};
var $od=function(a,b){a.config=Uod.map(Fza);a.navigated=!1;a.lastSuccessfulId=-1;a.initialNavigation();oqc(b)};$od.\u0275fac=function(a){return new (a||$od)(w(GG),w(pJ))};$od.\u0275mod=Bc({type:$od});$od.\u0275inj=oc({providers:[{provide:"dontActivate",useValue:function(){return!1}},{provide:DG,useClass:f8},{provide:wYb,useValue:Vod},i8,g8],imports:[Wod,e8,Tod,MG]});var apd=function(){};apd.\u0275fac=function(a){return new (a||apd)};apd.\u0275mod=Bc({type:apd});apd.\u0275inj=oc({providers:[{provide:iOc,useFactory:UKb},{provide:rPc,useValue:{prodApiKey:"AIzaSyB9Ljnt9FDyfTnTH2yeDn6lGM40PQm6Gsk",stagingApiKey:"AIzaSyCYqhU0fWA9T487wYfx1ogB9z2mNJ9AQco",autopushApiKey:"AIzaSyBEveljwBki0sKCHdprNdJJPZrqTnIwIcM"}},{provide:hOc,useValue:"AIzaSyAVSCxcE30nYSaySrZXBXCTumqIjorZA2c"}]});var bpd=function(){};bpd.\u0275fac=function(a){return new (a||bpd)};bpd.\u0275mod=Bc({type:bpd});bpd.\u0275inj=oc({imports:[MF,WB,zC,YA,SF,Qv,Rv,L0]});var cpd=function(){};cpd.\u0275fac=function(a){return new (a||cpd)};cpd.\u0275mod=Bc({type:cpd});cpd.\u0275inj=oc({imports:[HT,MF,L0,kV,Qv,vN,zC,zO,C1,hX]});var dpd=function(){};dpd.\u0275fac=function(a){return new (a||dpd)};dpd.\u0275mod=Bc({type:dpd});dpd.\u0275inj=oc({imports:[MF,WB,zC,YA,SF,Qv,Rv,L0]});var epd=function(){};epd.\u0275fac=function(a){return new (a||epd)};epd.\u0275mod=Bc({type:epd});epd.\u0275inj=oc({imports:[HT,vN,yN,MF,VO,cN,WB,YA]});var fpd=function(){};fpd.\u0275fac=function(a){return new (a||fpd)};fpd.\u0275mod=Bc({type:fpd});fpd.\u0275inj=oc({imports:[gv,Qv,Ty,B7,Rv]});var gpd=function(){};gpd.\u0275fac=function(a){return new (a||gpd)};gpd.\u0275mod=Bc({type:gpd});gpd.\u0275inj=oc({imports:[HT,U_,EO,aT,cZ,C7,Zy,kV,Qv,FU,X_,vN,d0,MZ,epd,WB,Qy,Z8,YA,QA,MU,zC,C7,HJ,Rv,fpd,hX,MF,Ex,V_,e0]});var hpd=function(){};hpd.\u0275fac=function(a){return new (a||hpd)};hpd.\u0275mod=Bc({type:hpd});hpd.\u0275inj=oc({imports:[HT,MF,L0,kV,Qv,vN,zC,N1]});var ipd=function(){};ipd.\u0275fac=function(a){return new (a||ipd)};ipd.\u0275mod=Bc({type:ipd});ipd.\u0275inj=oc({imports:[MF,zC,WB,RM,L0,FU,X_,lY,SF,Qy,YA,Qv,Rv,QA,P0]});var jpd=function(){};jpd.\u0275fac=function(a){return new (a||jpd)};jpd.\u0275mod=Bc({type:jpd});jpd.\u0275inj=oc({imports:[Qy,zO,MF,Rx,YA,WB,EO,WU,V_]});var kpd=function(){};kpd.\u0275fac=function(a){return new (a||kpd)};kpd.\u0275mod=Bc({type:kpd});kpd.\u0275inj=oc({imports:[MF,zC,WB,RM,L0,SF,Qy,YA,Qv,Rv,QA,P0]});var lpd=function(){};lpd.\u0275fac=function(a){return new (a||lpd)};lpd.\u0275mod=Bc({type:lpd});lpd.\u0275inj=oc({imports:[HT,MF,L0,Qv,zN,vN,RM,zC,P0,zO,N1,yN]});var mpd=function(){};mpd.\u0275fac=function(a){return new (a||mpd)};mpd.\u0275mod=Bc({type:mpd});mpd.\u0275inj=oc({imports:[MF,T0,yN,WB]});var npd=function(){};npd.\u0275fac=function(a){return new (a||npd)};npd.\u0275mod=Bc({type:npd});npd.\u0275inj=oc({imports:[MF,WB,YA,P1,yN]});var opd=function(){};opd.\u0275fac=function(a){return new (a||opd)};opd.\u0275mod=Bc({type:opd});opd.\u0275inj=oc({imports:[MF,vZ,q1]});var ppd=function(){};ppd.\u0275fac=function(a){return new (a||ppd)};ppd.\u0275mod=Bc({type:ppd});ppd.\u0275inj=oc({imports:[MU]});var qpd=function(){};qpd.\u0275fac=function(a){return new (a||qpd)};qpd.\u0275mod=Bc({type:qpd});qpd.\u0275inj=oc({imports:[MF,MO,Qv,RM,TO,P0,vN,Z8,WB,zO,YA,zC,Qy,tN,yN]});var Z$=function(){};Z$.\u0275fac=function(a){return new (a||Z$)};Z$.\u0275mod=Bc({type:Z$});Z$.\u0275inj=oc({});var rpd=function(){};rpd.\u0275fac=function(a){return new (a||rpd)};rpd.\u0275mod=Bc({type:rpd});rpd.\u0275inj=oc({imports:[HT,MF,MO,vZ,nZ,Y6,e7,j7,f0,L0,o7,Qv,Z$,zN,vN,YA,WB,zO,Qy,DO,MU,RM,zC,P0,ppd,C1,qpd,tN,MG,Ex,opd,A1,yN,hX,rN,V$]});var spd=function(){};spd.\u0275fac=function(a){return new (a||spd)};spd.\u0275mod=Bc({type:spd});spd.\u0275inj=oc({imports:[MF,L0,Qv,Z$,zN,WB,zO,YA,RM,zC,MU,P0,MG,tN,Ex,A1,q1]});var tpd=function(){};tpd.\u0275fac=function(a){return new (a||tpd)};tpd.\u0275mod=Bc({type:tpd});tpd.\u0275inj=oc({imports:[DO,MF,Qv]});var upd=function(){};upd.\u0275fac=function(a){return new (a||upd)};upd.\u0275mod=Bc({type:upd});upd.\u0275inj=oc({providers:[{provide:pvc,useValue:{enabled:!0}}],imports:[z6,CX,MF,Qv,zN,zO,WB,WB,Qy,YA,DO,bz,MU,MN,QA,RM,zC,zC,EZ,HJ,NU,tpd,yN,aT]});var vpd=function(){};vpd.\u0275fac=function(a){return new (a||vpd)};vpd.\u0275mod=Bc({type:vpd});vpd.\u0275inj=oc({imports:[MF,Qv,zC,Zy,bz]});var wpd=function(){};wpd.\u0275fac=function(a){return new (a||wpd)};wpd.\u0275mod=Bc({type:wpd});wpd.\u0275inj=oc({imports:[MF,SF,WB,YA]});var xpd=function(){};xpd.prototype.send=function(a,b){aCa(a);return this.makeRequest(a).then(function(c){return b?XBa(b,c):c})};var sp=function(a,b,c,d,e){this.gapiUrl=a;this.gapiKey=b;this.gapiConfigUpdates=c||{};this.gapiAuthParams=d||{};this.defaultApiId=e};V(sp,xpd);sp.prototype.getGapi=function(){var a=this;return tJa().then(function(b){b=b||window.gapi;a.setGapiConfig(b);return zJa(b,{apiKey:a.gapiKey,clientId:a.gapiAuthParams.clientId,scope:a.gapiAuthParams.scope,hostedDomain:a.gapiAuthParams.hostedDomain,fetchBasicProfile:a.gapiAuthParams.fetchBasicProfile}).then(function(){return b})})};
sp.prototype.makeRequest=function(a){var b=this;return this.getGapi().then(function(c){return Ld(function(d){if(1==d.nextAddress)return void 0===b.gapiAuthParams.minAuthTokenTimeRemaining?d.jumpTo(2):d.yield(yJa(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})))})})};
sp.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)})})};sp.prototype.setGapiConfig=function(a){for(var b in this.gapiConfigUpdates)this.gapiConfigUpdates.hasOwnProperty(b)&&wJa(a,b,this.gapiConfigUpdates[b])};sp.$inject=["gapiUrl","gapiKey","gapiConfigUpdates","gapiAuthParams","defaultApiId"];var ypd={disableCheatSheet:!0};ypd=void 0===ypd?{}:ypd;
var zpd=[MF,DY,QO,Hw,Uw,ZY,d0,YY,tX,vN,mY,EZ,vX,C1,GU,oY,nN,HT,a1,QZ,nX,P6,Q7,qU,IZ,MZ,OZ,qZ,UO,hpd,lpd,npd,mpd,e9,Zmd,Bod,Cod,cpd,rpd,spd,tod,T0,P1,f0,q7,J7,c1,GZ,R0,Z_,S7,Q6,k7,R6,K7,m1,o1,MQ,k1,W_,uY,CX,EO,WU,jpd,gP,mX,v1,lY,KZ,y1,S1,d1,e1,I7,q6,yN,GY,mT,vpd,pN,o6,j7,wpd,o7,T5,TO,MO,bN,upd,z6,kU,lN,YT,aU,N1,A1,ZT,L0,T6,bpd,dpd,d7,F1,CZ,vZ,wZ,nZ,$T,f1,SZ,N0,D7,X_,L1,R1,G7,e7,$Y,dZ,P0,Q0,U_,Y6,ipd,DX,kpd,gpd,eZ,X$,e2,apd,YA,Dw,{ngModule:AC,providers:[{provide:g9b,useFactory:function(){var a=bk().config.environmentType||
"QA";return"PROD"===a||"NIGHTLY"===a?{apikey:"AIzaSyB9Ljnt9FDyfTnTH2yeDn6lGM40PQm6Gsk",environment:"prod"}:{apikey:"AIzaSyBEveljwBki0sKCHdprNdJJPZrqTnIwIcM",environment:"nonprod"}},deps:[Qt]}]},{ngModule:jN,providers:[HI,{provide:bpc,useFactory:function(a){return new VKb(new xwc("https://appswaldo-pa.clients6.google.com",a.waldoApiKey,a.globalApiKey,Object.assign({},zwc,a.gapiConfig),{scope:"https://www.googleapis.com/auth/calendar.readonly"}))},deps:[ywc]},{provide:ywc,useFactory:function(){return{waldoApiKey:"AIzaSyDvxpDVHooCQawPUQkmQxwrtt-Xdp3Q3so",
globalApiKey:"AIzaSyBuUpn1wi2-0JpM3S-tq2csYx0z2_m_pqc",gapiConfig:{withCredentials:!0}}}}]},{ngModule:W$,providers:[L9,{provide:Eld,useFactory:function(){return{authRealm:1,peopleApiEnv:4,peopleStoreClient:ngd,autocompleteFactory:S7c}}}]},{ngModule:YL,providers:[XL,{provide:Ruc,useValue:ypd}]}],Apd=[Fid,V_c,W_c,X_c,Y_c,GQc,fnc,{provide:vvc,useValue:{animationDuration:"0ms"}},{provide:M8b,useValue:{productName:"Buganizer",cooldownMilliseconds:864E5,enableUsageTracking:!0}},{provide:b9b,useValue:{disableTooltipInteractivity:!0}},
{provide:$xc,useValue:"AIzaSyCBj23e6C2MNif_tvceM-CPTXcVDK3sarY"},{provide:cyc,useValue:"92912"},{provide:Jrc,useFactory:WKb},Gid,Pid,Qid,Rid],Iu=function(){};Iu.prototype.ngDoBootstrap=function(){Lra("bootstrapping AppModule")};Iu.\u0275fac=function(a){return new (a||Iu)};Iu.\u0275mod=Bc({type:Iu,bootstrap:[CY,O7]});Iu.\u0275inj=oc({providers:[].concat(Jc(Apd)),imports:[zpd,$od,FX]});vz(document,"DOMContentLoaded",function(){KXb()});
__._ModuleManager_initialize=function(){};
__._ModuleManager_initialize('c/nJ4XF/b96Luc/M79aPc/ZGAB2e/n90YA/dSirkf',[]);
}catch(e){__._DumpException(e)}
}).call(this,this.default_b);
// Google Inc.
